From 6ca0e8416947fb1fd28d4634a4167ec08fab8390 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Fri, 15 Dec 2023 20:03:45 +0000 Subject: [PATCH 1/2] feat: added proxy support for Attached Clusters feat: added Binary Authorization support which is a deploy-time security control that ensures only trusted container images are deployed feat: added support for a new admin-groups flag in the create and update APIs feat: added Surge Update and Rollback support for AWS Node Pools feat: added support for per-node-pool subnet security group rules for AWS Node Pools feat: added support for EC2 Spot instance types for AWS Node Pools feat: added force-deletion support for AWS Clusters & Node Pools feat: expanded Kubernetes version info docs: updated comments of existing fields PiperOrigin-RevId: 591286857 Source-Link: https://github.com/googleapis/googleapis/commit/91bd79262abf9788b671e3e6716f6b0b3e793150 Source-Link: https://github.com/googleapis/googleapis-gen/commit/afb34ad26ec637c1d5f983dd1d92ee5d4b5bd64f Copy-Tag: eyJwIjoiamF2YS1na2UtbXVsdGktY2xvdWQvLk93bEJvdC55YW1sIiwiaCI6ImFmYjM0YWQyNmVjNjM3YzFkNWY5ODNkZDFkOTJlZTVkNGI1YmQ2NGYifQ== --- .../v1/AttachedClustersGrpc.java | 1348 ------- .../gkemulticloud/v1/AwsClustersGrpc.java | 1784 --------- .../gkemulticloud/v1/AzureClustersGrpc.java | 2333 ------------ .../v1/AttachedClusterErrorOrBuilder.java | 50 - .../v1/AttachedClustersAuthorization.java | 1117 ------ ...ttachedClustersAuthorizationOrBuilder.java | 112 - .../AttachedPlatformVersionInfoOrBuilder.java | 50 - .../v1/AttachedResourcesProto.java | 240 -- .../v1/AttachedServiceProto.java | 300 -- .../gkemulticloud/v1/AwsAuthorization.java | 1105 ------ .../v1/AwsAuthorizationOrBuilder.java | 112 - .../v1/AwsClusterErrorOrBuilder.java | 50 - .../v1/AwsInstancePlacementOrBuilder.java | 54 - .../gkemulticloud/v1/AwsK8sVersionInfo.java | 624 ---- .../v1/AwsK8sVersionInfoOrBuilder.java | 50 - .../v1/AwsNodePoolErrorOrBuilder.java | 50 - .../gkemulticloud/v1/AwsResourcesProto.java | 585 --- .../gkemulticloud/v1/AwsServiceProto.java | 393 -- .../gkemulticloud/v1/AzureAuthorization.java | 1107 ------ .../v1/AzureAuthorizationOrBuilder.java | 112 - .../v1/AzureClusterErrorOrBuilder.java | 50 - .../v1/AzureDiskTemplateOrBuilder.java | 41 - .../gkemulticloud/v1/AzureK8sVersionInfo.java | 625 ---- .../v1/AzureK8sVersionInfoOrBuilder.java | 50 - .../v1/AzureNodePoolErrorOrBuilder.java | 50 - .../gkemulticloud/v1/AzureResourcesProto.java | 631 ---- .../gkemulticloud/v1/AzureServiceProto.java | 498 --- .../v1/CommonResourcesProto.java | 210 -- .../v1/LoggingComponentConfigOrBuilder.java | 99 - .../v1/ManagedPrometheusConfigOrBuilder.java | 38 - .../v1/MaxPodsConstraintOrBuilder.java | 38 - .../v1/AttachedClustersClient.java | 93 +- .../v1/AttachedClustersSettings.java | 16 + .../gkemulticloud/v1/AwsClustersClient.java | 428 ++- .../gkemulticloud/v1/AwsClustersSettings.java | 64 + .../gkemulticloud/v1/AzureClustersClient.java | 335 +- .../v1/AzureClustersSettings.java | 39 + .../gkemulticloud/v1/gapic_metadata.json | 24 + .../cloud/gkemulticloud/v1/package-info.java | 0 .../v1/stub/AttachedClustersStub.java | 9 + .../v1/stub/AttachedClustersStubSettings.java | 38 +- .../v1/stub/AwsClustersStub.java | 32 + .../v1/stub/AwsClustersStubSettings.java | 167 + .../v1/stub/AzureClustersStub.java | 22 + .../v1/stub/AzureClustersStubSettings.java | 90 + .../GrpcAttachedClustersCallableFactory.java | 0 .../v1/stub/GrpcAttachedClustersStub.java | 50 + .../stub/GrpcAwsClustersCallableFactory.java | 0 .../v1/stub/GrpcAwsClustersStub.java | 163 + .../GrpcAzureClustersCallableFactory.java | 0 .../v1/stub/GrpcAzureClustersStub.java | 118 + ...tpJsonAttachedClustersCallableFactory.java | 0 .../v1/stub/HttpJsonAttachedClustersStub.java | 83 + .../HttpJsonAwsClustersCallableFactory.java | 0 .../v1/stub/HttpJsonAwsClustersStub.java | 277 ++ .../HttpJsonAzureClustersCallableFactory.java | 0 .../v1/stub/HttpJsonAzureClustersStub.java | 200 + .../reflect-config.json | 513 +++ .../AttachedClustersClientHttpJsonTest.java | 90 + .../v1/AttachedClustersClientTest.java | 89 + .../v1/AwsClustersClientHttpJsonTest.java | 333 ++ .../v1/AwsClustersClientTest.java | 313 ++ .../v1/AzureClustersClientHttpJsonTest.java | 272 ++ .../v1/AzureClustersClientTest.java | 248 ++ .../v1/MockAttachedClusters.java | 0 .../v1/MockAttachedClustersImpl.java | 22 + .../gkemulticloud/v1/MockAwsClusters.java | 0 .../gkemulticloud/v1/MockAwsClustersImpl.java | 85 + .../gkemulticloud/v1/MockAzureClusters.java | 0 .../v1/MockAzureClustersImpl.java | 64 + .../v1/AttachedClustersGrpc.java | 1103 ++++++ .../gkemulticloud/v1/AwsClustersGrpc.java | 1759 +++++++++ .../gkemulticloud/v1/AzureClustersGrpc.java | 2061 ++++++++++ .../gkemulticloud/v1/AttachedCluster.java | 3197 +++++++--------- .../v1/AttachedClusterError.java | 322 +- .../v1/AttachedClusterErrorOrBuilder.java | 29 + .../v1/AttachedClusterGroup.java | 577 +++ .../v1/AttachedClusterGroupOrBuilder.java | 29 + .../gkemulticloud/v1/AttachedClusterName.java | 0 .../v1/AttachedClusterOrBuilder.java | 405 +- .../gkemulticloud/v1/AttachedClusterUser.java | 322 +- .../v1/AttachedClusterUserOrBuilder.java | 27 +- .../v1/AttachedClustersAuthorization.java | 1531 ++++++++ ...ttachedClustersAuthorizationOrBuilder.java | 147 + .../gkemulticloud/v1/AttachedOidcConfig.java | 352 +- .../v1/AttachedOidcConfigOrBuilder.java | 30 +- .../v1/AttachedPlatformVersionInfo.java | 332 +- .../AttachedPlatformVersionInfoOrBuilder.java | 29 + .../gkemulticloud/v1/AttachedProxyConfig.java | 666 ++++ .../v1/AttachedProxyConfigOrBuilder.java | 42 + .../v1/AttachedResourcesProto.java | 241 ++ .../v1/AttachedServerConfig.java | 581 ++- .../v1/AttachedServerConfigName.java | 0 .../v1/AttachedServerConfigOrBuilder.java | 56 +- .../v1/AttachedServiceProto.java | 326 ++ .../gkemulticloud/v1/AwsAuthorization.java | 1531 ++++++++ .../v1/AwsAuthorizationOrBuilder.java | 147 + .../AwsAutoscalingGroupMetricsCollection.java | 472 +-- ...calingGroupMetricsCollectionOrBuilder.java | 45 +- .../cloud/gkemulticloud/v1/AwsCluster.java | 3009 ++++++--------- .../gkemulticloud/v1/AwsClusterError.java | 319 +- .../v1/AwsClusterErrorOrBuilder.java | 29 + .../gkemulticloud/v1/AwsClusterGroup.java | 577 +++ .../v1/AwsClusterGroupOrBuilder.java | 29 + .../gkemulticloud/v1/AwsClusterName.java | 0 .../v1/AwsClusterNetworking.java | 738 ++-- .../v1/AwsClusterNetworkingOrBuilder.java | 105 +- .../gkemulticloud/v1/AwsClusterOrBuilder.java | 385 +- .../gkemulticloud/v1/AwsClusterUser.java | 319 +- .../v1/AwsClusterUserOrBuilder.java | 27 +- .../gkemulticloud/v1/AwsConfigEncryption.java | 322 +- .../v1/AwsConfigEncryptionOrBuilder.java | 27 +- .../gkemulticloud/v1/AwsControlPlane.java | 2184 ++++------- .../v1/AwsControlPlaneOrBuilder.java | 274 +- .../v1/AwsDatabaseEncryption.java | 322 +- .../v1/AwsDatabaseEncryptionOrBuilder.java | 27 +- .../v1/AwsInstancePlacement.java | 422 +-- .../v1/AwsInstancePlacementOrBuilder.java | 28 + .../gkemulticloud/v1/AwsJsonWebKeys.java | 882 +++++ .../v1/AwsJsonWebKeysOrBuilder.java | 58 + .../gkemulticloud/v1/AwsK8sVersionInfo.java | 1257 +++++++ .../v1/AwsK8sVersionInfoOrBuilder.java | 117 + .../cloud/gkemulticloud/v1/AwsNodeConfig.java | 2592 ++++++------- .../v1/AwsNodeConfigOrBuilder.java | 340 +- .../gkemulticloud/v1/AwsNodeManagement.java | 510 +++ .../v1/AwsNodeManagementOrBuilder.java | 22 + .../cloud/gkemulticloud/v1/AwsNodePool.java | 2526 ++++++------- .../v1/AwsNodePoolAutoscaling.java | 315 +- .../v1/AwsNodePoolAutoscalingOrBuilder.java | 24 +- .../gkemulticloud/v1/AwsNodePoolError.java | 319 +- .../v1/AwsNodePoolErrorOrBuilder.java | 29 + .../gkemulticloud/v1/AwsNodePoolName.java | 0 .../v1/AwsNodePoolOrBuilder.java | 307 +- .../gkemulticloud/v1/AwsOpenIdConfig.java | 1948 ++++++++++ .../v1/AwsOpenIdConfigOrBuilder.java | 254 ++ .../gkemulticloud/v1/AwsProxyConfig.java | 391 +- .../v1/AwsProxyConfigOrBuilder.java | 36 +- .../gkemulticloud/v1/AwsResourcesProto.java | 591 +++ .../gkemulticloud/v1/AwsServerConfig.java | 689 ++-- .../gkemulticloud/v1/AwsServerConfigName.java | 0 .../v1/AwsServerConfigOrBuilder.java | 88 +- .../gkemulticloud/v1/AwsServiceProto.java | 470 +++ .../v1/AwsServicesAuthentication.java | 394 +- .../AwsServicesAuthenticationOrBuilder.java | 36 +- .../cloud/gkemulticloud/v1/AwsSshConfig.java | 312 +- .../v1/AwsSshConfigOrBuilder.java | 27 +- .../gkemulticloud/v1/AwsVolumeTemplate.java | 648 ++-- .../v1/AwsVolumeTemplateOrBuilder.java | 56 +- .../gkemulticloud/v1/AzureAuthorization.java | 1531 ++++++++ .../v1/AzureAuthorizationOrBuilder.java | 147 + .../cloud/gkemulticloud/v1/AzureClient.java | 1180 +++--- .../gkemulticloud/v1/AzureClientName.java | 0 .../v1/AzureClientOrBuilder.java | 145 +- .../cloud/gkemulticloud/v1/AzureCluster.java | 3309 ++++++----------- .../gkemulticloud/v1/AzureClusterError.java | 319 +- .../v1/AzureClusterErrorOrBuilder.java | 29 + .../gkemulticloud/v1/AzureClusterGroup.java | 577 +++ .../v1/AzureClusterGroupOrBuilder.java | 29 + .../gkemulticloud/v1/AzureClusterName.java | 0 .../v1/AzureClusterNetworking.java | 736 ++-- .../v1/AzureClusterNetworkingOrBuilder.java | 106 +- .../v1/AzureClusterOrBuilder.java | 429 +-- .../v1/AzureClusterResources.java | 447 +-- .../v1/AzureClusterResourcesOrBuilder.java | 44 +- .../gkemulticloud/v1/AzureClusterUser.java | 319 +- .../v1/AzureClusterUserOrBuilder.java | 27 +- .../v1/AzureConfigEncryption.java | 394 +- .../v1/AzureConfigEncryptionOrBuilder.java | 36 +- .../gkemulticloud/v1/AzureControlPlane.java | 1927 ++++------ .../v1/AzureControlPlaneOrBuilder.java | 242 +- .../v1/AzureDatabaseEncryption.java | 322 +- .../v1/AzureDatabaseEncryptionOrBuilder.java | 27 +- .../gkemulticloud/v1/AzureDiskTemplate.java | 281 +- .../v1/AzureDiskTemplateOrBuilder.java | 22 + .../gkemulticloud/v1/AzureJsonWebKeys.java | 882 +++++ .../v1/AzureJsonWebKeysOrBuilder.java | 58 + .../gkemulticloud/v1/AzureK8sVersionInfo.java | 1257 +++++++ .../v1/AzureK8sVersionInfoOrBuilder.java | 117 + .../gkemulticloud/v1/AzureNodeConfig.java | 1733 ++++----- .../v1/AzureNodeConfigOrBuilder.java | 220 +- .../gkemulticloud/v1/AzureNodeManagement.java | 510 +++ .../v1/AzureNodeManagementOrBuilder.java | 22 + .../cloud/gkemulticloud/v1/AzureNodePool.java | 2362 +++++------- .../v1/AzureNodePoolAutoscaling.java | 315 +- .../v1/AzureNodePoolAutoscalingOrBuilder.java | 24 +- .../gkemulticloud/v1/AzureNodePoolError.java | 319 +- .../v1/AzureNodePoolErrorOrBuilder.java | 29 + .../gkemulticloud/v1/AzureNodePoolName.java | 0 .../v1/AzureNodePoolOrBuilder.java | 291 +- .../gkemulticloud/v1/AzureOpenIdConfig.java | 1948 ++++++++++ .../v1/AzureOpenIdConfigOrBuilder.java | 254 ++ .../gkemulticloud/v1/AzureProxyConfig.java | 391 +- .../v1/AzureProxyConfigOrBuilder.java | 36 +- .../gkemulticloud/v1/AzureResourcesProto.java | 575 +++ .../gkemulticloud/v1/AzureServerConfig.java | 698 ++-- .../v1/AzureServerConfigName.java | 0 .../v1/AzureServerConfigOrBuilder.java | 85 +- .../gkemulticloud/v1/AzureServiceProto.java | 550 +++ .../v1/AzureServicesAuthentication.java | 404 +- .../AzureServicesAuthenticationOrBuilder.java | 36 +- .../gkemulticloud/v1/AzureSshConfig.java | 319 +- .../v1/AzureSshConfigOrBuilder.java | 27 +- .../gkemulticloud/v1/BinaryAuthorization.java | 689 ++++ .../v1/BinaryAuthorizationOrBuilder.java | 30 + .../v1/CommonResourcesProto.java | 211 ++ .../v1/CreateAttachedClusterRequest.java | 623 ++-- ...CreateAttachedClusterRequestOrBuilder.java | 67 +- .../v1/CreateAwsClusterRequest.java | 598 ++- .../v1/CreateAwsClusterRequestOrBuilder.java | 67 +- .../v1/CreateAwsNodePoolRequest.java | 599 ++- .../v1/CreateAwsNodePoolRequestOrBuilder.java | 67 +- .../v1/CreateAzureClientRequest.java | 599 ++- .../v1/CreateAzureClientRequestOrBuilder.java | 67 +- .../v1/CreateAzureClusterRequest.java | 600 ++- .../CreateAzureClusterRequestOrBuilder.java | 67 +- .../v1/CreateAzureNodePoolRequest.java | 631 ++-- .../CreateAzureNodePoolRequestOrBuilder.java | 73 +- .../v1/DeleteAttachedClusterRequest.java | 546 ++- ...DeleteAttachedClusterRequestOrBuilder.java | 53 +- .../v1/DeleteAwsClusterRequest.java | 593 ++- .../v1/DeleteAwsClusterRequestOrBuilder.java | 61 +- .../v1/DeleteAwsNodePoolRequest.java | 593 ++- .../v1/DeleteAwsNodePoolRequestOrBuilder.java | 61 +- .../v1/DeleteAzureClientRequest.java | 418 +-- .../v1/DeleteAzureClientRequestOrBuilder.java | 41 +- .../v1/DeleteAzureClusterRequest.java | 494 +-- .../DeleteAzureClusterRequestOrBuilder.java | 50 +- .../v1/DeleteAzureNodePoolRequest.java | 506 +-- .../DeleteAzureNodePoolRequestOrBuilder.java | 50 +- .../google/cloud/gkemulticloud/v1/Fleet.java | 381 +- .../gkemulticloud/v1/FleetOrBuilder.java | 36 +- ...erateAttachedClusterAgentTokenRequest.java | 1881 ++++++++++ ...chedClusterAgentTokenRequestOrBuilder.java | 189 + ...rateAttachedClusterAgentTokenResponse.java | 743 ++++ ...hedClusterAgentTokenResponseOrBuilder.java | 39 + ...AttachedClusterInstallManifestRequest.java | 832 +++-- ...lusterInstallManifestRequestOrBuilder.java | 80 +- ...ttachedClusterInstallManifestResponse.java | 442 +-- ...usterInstallManifestResponseOrBuilder.java | 27 +- .../v1/GenerateAwsAccessTokenRequest.java | 373 +- ...enerateAwsAccessTokenRequestOrBuilder.java | 35 +- .../v1/GenerateAwsAccessTokenResponse.java | 494 +-- ...nerateAwsAccessTokenResponseOrBuilder.java | 47 +- .../GenerateAwsClusterAgentTokenRequest.java | 2045 ++++++++++ ...eAwsClusterAgentTokenRequestOrBuilder.java | 209 ++ .../GenerateAwsClusterAgentTokenResponse.java | 743 ++++ ...AwsClusterAgentTokenResponseOrBuilder.java | 39 + .../v1/GenerateAzureAccessTokenRequest.java | 398 +- ...erateAzureAccessTokenRequestOrBuilder.java | 39 +- .../v1/GenerateAzureAccessTokenResponse.java | 506 +-- ...rateAzureAccessTokenResponseOrBuilder.java | 47 +- ...GenerateAzureClusterAgentTokenRequest.java | 2045 ++++++++++ ...zureClusterAgentTokenRequestOrBuilder.java | 209 ++ ...enerateAzureClusterAgentTokenResponse.java | 743 ++++ ...ureClusterAgentTokenResponseOrBuilder.java | 39 + .../v1/GetAttachedClusterRequest.java | 350 +- .../GetAttachedClusterRequestOrBuilder.java | 35 +- .../v1/GetAttachedServerConfigRequest.java | 376 +- ...tAttachedServerConfigRequestOrBuilder.java | 35 +- .../v1/GetAwsClusterRequest.java | 350 +- .../v1/GetAwsClusterRequestOrBuilder.java | 35 +- .../v1/GetAwsJsonWebKeysRequest.java | 597 +++ .../v1/GetAwsJsonWebKeysRequestOrBuilder.java | 33 + .../v1/GetAwsNodePoolRequest.java | 350 +- .../v1/GetAwsNodePoolRequestOrBuilder.java | 35 +- .../v1/GetAwsOpenIdConfigRequest.java | 593 +++ .../GetAwsOpenIdConfigRequestOrBuilder.java | 33 + .../v1/GetAwsServerConfigRequest.java | 350 +- .../GetAwsServerConfigRequestOrBuilder.java | 35 +- .../v1/GetAzureClientRequest.java | 350 +- .../v1/GetAzureClientRequestOrBuilder.java | 35 +- .../v1/GetAzureClusterRequest.java | 350 +- .../v1/GetAzureClusterRequestOrBuilder.java | 35 +- .../v1/GetAzureJsonWebKeysRequest.java | 597 +++ .../GetAzureJsonWebKeysRequestOrBuilder.java | 33 + .../v1/GetAzureNodePoolRequest.java | 350 +- .../v1/GetAzureNodePoolRequestOrBuilder.java | 35 +- .../v1/GetAzureOpenIdConfigRequest.java | 593 +++ .../GetAzureOpenIdConfigRequestOrBuilder.java | 33 + .../v1/GetAzureServerConfigRequest.java | 360 +- .../GetAzureServerConfigRequestOrBuilder.java | 35 +- .../v1/ImportAttachedClusterRequest.java | 849 +++-- ...ImportAttachedClusterRequestOrBuilder.java | 92 +- .../google/cloud/gkemulticloud/v1/Jwk.java | 1889 ++++++++++ .../cloud/gkemulticloud/v1/JwkOrBuilder.java | 189 + .../gkemulticloud/v1/KubernetesSecret.java | 741 ++++ .../v1/KubernetesSecretOrBuilder.java | 49 + .../v1/ListAttachedClustersRequest.java | 463 +-- .../ListAttachedClustersRequestOrBuilder.java | 47 +- .../v1/ListAttachedClustersResponse.java | 489 +-- ...ListAttachedClustersResponseOrBuilder.java | 42 +- .../v1/ListAwsClustersRequest.java | 453 +-- .../v1/ListAwsClustersRequestOrBuilder.java | 47 +- .../v1/ListAwsClustersResponse.java | 480 +-- .../v1/ListAwsClustersResponseOrBuilder.java | 45 +- .../v1/ListAwsNodePoolsRequest.java | 453 +-- .../v1/ListAwsNodePoolsRequestOrBuilder.java | 47 +- .../v1/ListAwsNodePoolsResponse.java | 477 +-- .../v1/ListAwsNodePoolsResponseOrBuilder.java | 45 +- .../v1/ListAzureClientsRequest.java | 453 +-- .../v1/ListAzureClientsRequestOrBuilder.java | 47 +- .../v1/ListAzureClientsResponse.java | 477 +-- .../v1/ListAzureClientsResponseOrBuilder.java | 45 +- .../v1/ListAzureClustersRequest.java | 453 +-- .../v1/ListAzureClustersRequestOrBuilder.java | 47 +- .../v1/ListAzureClustersResponse.java | 460 +-- .../ListAzureClustersResponseOrBuilder.java | 45 +- .../v1/ListAzureNodePoolsRequest.java | 453 +-- .../ListAzureNodePoolsRequestOrBuilder.java | 47 +- .../v1/ListAzureNodePoolsResponse.java | 472 +-- .../ListAzureNodePoolsResponseOrBuilder.java | 45 +- .../cloud/gkemulticloud/v1/LocationName.java | 0 .../v1/LoggingComponentConfig.java | 544 +-- .../v1/LoggingComponentConfigOrBuilder.java | 58 + .../cloud/gkemulticloud/v1/LoggingConfig.java | 357 +- .../v1/LoggingConfigOrBuilder.java | 26 +- .../v1/ManagedPrometheusConfig.java | 287 +- .../v1/ManagedPrometheusConfigOrBuilder.java | 19 + .../gkemulticloud/v1/MaxPodsConstraint.java | 284 +- .../v1/MaxPodsConstraintOrBuilder.java | 19 + .../gkemulticloud/v1/MonitoringConfig.java | 401 +- .../v1/MonitoringConfigOrBuilder.java | 38 +- .../cloud/gkemulticloud/v1/NodeTaint.java | 549 ++- .../gkemulticloud/v1/NodeTaintOrBuilder.java | 50 +- .../gkemulticloud/v1/OperationMetadata.java | 824 ++-- .../v1/OperationMetadataOrBuilder.java | 91 +- .../gkemulticloud/v1/ReplicaPlacement.java | 391 +- .../v1/ReplicaPlacementOrBuilder.java | 36 +- .../v1/RollbackAwsNodePoolUpdateRequest.java | 720 ++++ ...backAwsNodePoolUpdateRequestOrBuilder.java | 56 + .../cloud/gkemulticloud/v1/SpotConfig.java | 654 ++++ .../gkemulticloud/v1/SpotConfigOrBuilder.java | 50 + .../cloud/gkemulticloud/v1/SurgeSettings.java | 589 +++ .../v1/SurgeSettingsOrBuilder.java | 32 + .../v1/UpdateAttachedClusterRequest.java | 675 ++-- ...UpdateAttachedClusterRequestOrBuilder.java | 82 +- .../v1/UpdateAwsClusterRequest.java | 602 ++- .../v1/UpdateAwsClusterRequestOrBuilder.java | 70 +- .../v1/UpdateAwsNodePoolRequest.java | 651 ++-- .../v1/UpdateAwsNodePoolRequestOrBuilder.java | 82 +- .../v1/UpdateAzureClusterRequest.java | 568 ++- .../UpdateAzureClusterRequestOrBuilder.java | 61 +- .../v1/UpdateAzureNodePoolRequest.java | 590 ++- .../UpdateAzureNodePoolRequestOrBuilder.java | 64 +- .../gkemulticloud/v1/UpdateSettings.java | 686 ++++ .../v1/UpdateSettingsOrBuilder.java | 36 + .../v1/WorkloadIdentityConfig.java | 466 +-- .../v1/WorkloadIdentityConfigOrBuilder.java | 45 +- .../gkemulticloud/v1/attached_resources.proto | 48 +- .../gkemulticloud/v1/attached_service.proto | 70 +- .../gkemulticloud/v1/aws_resources.proto | 175 +- .../cloud/gkemulticloud/v1/aws_service.proto | 173 +- .../gkemulticloud/v1/azure_resources.proto | 104 +- .../gkemulticloud/v1/azure_service.proto | 123 +- .../gkemulticloud/v1/common_resources.proto | 52 +- .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateAttachedCluster.java | 0 .../AsyncCreateAttachedClusterLRO.java | 0 .../SyncCreateAttachedCluster.java | 0 ...sterLocationnameAttachedclusterString.java | 0 ...hedClusterStringAttachedclusterString.java | 0 .../AsyncDeleteAttachedCluster.java | 0 .../AsyncDeleteAttachedClusterLRO.java | 0 .../SyncDeleteAttachedCluster.java | 0 ...eteAttachedClusterAttachedclustername.java | 0 .../SyncDeleteAttachedClusterString.java | 0 ...syncGenerateAttachedClusterAgentToken.java | 60 + ...SyncGenerateAttachedClusterAgentToken.java | 57 + ...enerateAttachedClusterInstallManifest.java | 2 + ...enerateAttachedClusterInstallManifest.java | 2 + ...sterInstallManifestLocationnameString.java | 0 ...hedClusterInstallManifestStringString.java | 0 .../AsyncGetAttachedCluster.java | 0 .../SyncGetAttachedCluster.java | 0 ...GetAttachedClusterAttachedclustername.java | 0 .../SyncGetAttachedClusterString.java | 0 .../AsyncGetAttachedServerConfig.java | 0 .../SyncGetAttachedServerConfig.java | 0 ...dServerConfigAttachedserverconfigname.java | 0 .../SyncGetAttachedServerConfigString.java | 0 .../AsyncImportAttachedCluster.java | 2 + .../AsyncImportAttachedClusterLRO.java | 2 + .../SyncImportAttachedCluster.java | 2 + ...portAttachedClusterLocationnameString.java | 0 ...SyncImportAttachedClusterStringString.java | 0 .../AsyncListAttachedClusters.java | 0 .../AsyncListAttachedClustersPaged.java | 0 .../SyncListAttachedClusters.java | 0 .../SyncListAttachedClustersLocationname.java | 0 .../SyncListAttachedClustersString.java | 0 .../AsyncUpdateAttachedCluster.java | 0 .../AsyncUpdateAttachedClusterLRO.java | 0 .../SyncUpdateAttachedCluster.java | 0 ...tachedClusterAttachedclusterFieldmask.java | 0 .../SyncGetAttachedCluster.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateAwsCluster.java | 0 .../AsyncCreateAwsClusterLRO.java | 0 .../SyncCreateAwsCluster.java | 0 ...wsClusterLocationnameAwsclusterString.java | 0 ...reateAwsClusterStringAwsclusterString.java | 0 .../AsyncCreateAwsNodePool.java | 0 .../AsyncCreateAwsNodePoolLRO.java | 0 .../SyncCreateAwsNodePool.java | 0 ...dePoolAwsclusternameAwsnodepoolString.java | 0 ...ateAwsNodePoolStringAwsnodepoolString.java | 0 .../AsyncDeleteAwsCluster.java | 1 + .../AsyncDeleteAwsClusterLRO.java | 1 + .../SyncDeleteAwsCluster.java | 1 + .../SyncDeleteAwsClusterAwsclustername.java | 0 .../SyncDeleteAwsClusterString.java | 0 .../AsyncDeleteAwsNodePool.java | 1 + .../AsyncDeleteAwsNodePoolLRO.java | 1 + .../SyncDeleteAwsNodePool.java | 1 + .../SyncDeleteAwsNodePoolAwsnodepoolname.java | 0 .../SyncDeleteAwsNodePoolString.java | 0 .../AsyncGenerateAwsAccessToken.java | 0 .../SyncGenerateAwsAccessToken.java | 0 .../AsyncGenerateAwsClusterAgentToken.java | 60 + .../SyncGenerateAwsClusterAgentToken.java | 57 + .../getawscluster/AsyncGetAwsCluster.java | 0 .../getawscluster/SyncGetAwsCluster.java | 0 .../SyncGetAwsClusterAwsclustername.java | 0 .../SyncGetAwsClusterString.java | 0 .../AsyncGetAwsJsonWebKeys.java | 51 + .../SyncGetAwsJsonWebKeys.java | 47 + .../getawsnodepool/AsyncGetAwsNodePool.java | 0 .../getawsnodepool/SyncGetAwsNodePool.java | 0 .../SyncGetAwsNodePoolAwsnodepoolname.java | 0 .../SyncGetAwsNodePoolString.java | 0 .../AsyncGetAwsOpenIdConfig.java | 51 + .../SyncGetAwsOpenIdConfig.java | 47 + .../AsyncGetAwsServerConfig.java | 0 .../SyncGetAwsServerConfig.java | 0 ...GetAwsServerConfigAwsserverconfigname.java | 0 .../SyncGetAwsServerConfigString.java | 0 .../listawsclusters/AsyncListAwsClusters.java | 0 .../AsyncListAwsClustersPaged.java | 0 .../listawsclusters/SyncListAwsClusters.java | 0 .../SyncListAwsClustersLocationname.java | 0 .../SyncListAwsClustersString.java | 0 .../AsyncListAwsNodePools.java | 0 .../AsyncListAwsNodePoolsPaged.java | 0 .../SyncListAwsNodePools.java | 0 .../SyncListAwsNodePoolsAwsclustername.java | 0 .../SyncListAwsNodePoolsString.java | 0 .../AsyncRollbackAwsNodePoolUpdate.java | 53 + .../AsyncRollbackAwsNodePoolUpdateLRO.java | 54 + .../SyncRollbackAwsNodePoolUpdate.java | 49 + ...lbackAwsNodePoolUpdateAwsnodepoolname.java | 43 + .../SyncRollbackAwsNodePoolUpdateString.java | 44 + .../AsyncUpdateAwsCluster.java | 0 .../AsyncUpdateAwsClusterLRO.java | 0 .../SyncUpdateAwsCluster.java | 0 ...ncUpdateAwsClusterAwsclusterFieldmask.java | 0 .../AsyncUpdateAwsNodePool.java | 0 .../AsyncUpdateAwsNodePoolLRO.java | 0 .../SyncUpdateAwsNodePool.java | 0 ...UpdateAwsNodePoolAwsnodepoolFieldmask.java | 0 .../getawscluster/SyncGetAwsCluster.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateAzureClient.java | 0 .../AsyncCreateAzureClientLRO.java | 0 .../SyncCreateAzureClient.java | 0 ...reClientLocationnameAzureclientString.java | 0 ...ateAzureClientStringAzureclientString.java | 0 .../AsyncCreateAzureCluster.java | 0 .../AsyncCreateAzureClusterLRO.java | 0 .../SyncCreateAzureCluster.java | 0 ...ClusterLocationnameAzureclusterString.java | 0 ...eAzureClusterStringAzureclusterString.java | 0 .../AsyncCreateAzureNodePool.java | 0 .../AsyncCreateAzureNodePoolLRO.java | 0 .../SyncCreateAzureNodePool.java | 0 ...olAzureclusternameAzurenodepoolString.java | 0 ...zureNodePoolStringAzurenodepoolString.java | 0 .../AsyncDeleteAzureClient.java | 0 .../AsyncDeleteAzureClientLRO.java | 0 .../SyncDeleteAzureClient.java | 0 .../SyncDeleteAzureClientAzureclientname.java | 0 .../SyncDeleteAzureClientString.java | 0 .../AsyncDeleteAzureCluster.java | 0 .../AsyncDeleteAzureClusterLRO.java | 0 .../SyncDeleteAzureCluster.java | 0 ...yncDeleteAzureClusterAzureclustername.java | 0 .../SyncDeleteAzureClusterString.java | 0 .../AsyncDeleteAzureNodePool.java | 0 .../AsyncDeleteAzureNodePoolLRO.java | 0 .../SyncDeleteAzureNodePool.java | 0 ...cDeleteAzureNodePoolAzurenodepoolname.java | 0 .../SyncDeleteAzureNodePoolString.java | 0 .../AsyncGenerateAzureAccessToken.java | 0 .../SyncGenerateAzureAccessToken.java | 0 .../AsyncGenerateAzureClusterAgentToken.java | 60 + .../SyncGenerateAzureClusterAgentToken.java | 57 + .../getazureclient/AsyncGetAzureClient.java | 0 .../getazureclient/SyncGetAzureClient.java | 0 .../SyncGetAzureClientAzureclientname.java | 0 .../SyncGetAzureClientString.java | 0 .../getazurecluster/AsyncGetAzureCluster.java | 0 .../getazurecluster/SyncGetAzureCluster.java | 0 .../SyncGetAzureClusterAzureclustername.java | 0 .../SyncGetAzureClusterString.java | 0 .../AsyncGetAzureJsonWebKeys.java | 51 + .../SyncGetAzureJsonWebKeys.java | 47 + ...ncGetAzureJsonWebKeysAzureclustername.java | 43 + .../SyncGetAzureJsonWebKeysString.java | 43 + .../AsyncGetAzureNodePool.java | 0 .../SyncGetAzureNodePool.java | 0 ...SyncGetAzureNodePoolAzurenodepoolname.java | 0 .../SyncGetAzureNodePoolString.java | 0 .../AsyncGetAzureOpenIdConfig.java | 51 + .../SyncGetAzureOpenIdConfig.java | 47 + ...cGetAzureOpenIdConfigAzureclustername.java | 43 + .../SyncGetAzureOpenIdConfigString.java | 43 + .../AsyncGetAzureServerConfig.java | 0 .../SyncGetAzureServerConfig.java | 0 ...zureServerConfigAzureserverconfigname.java | 0 .../SyncGetAzureServerConfigString.java | 0 .../AsyncListAzureClients.java | 0 .../AsyncListAzureClientsPaged.java | 0 .../SyncListAzureClients.java | 0 .../SyncListAzureClientsLocationname.java | 0 .../SyncListAzureClientsString.java | 0 .../AsyncListAzureClusters.java | 0 .../AsyncListAzureClustersPaged.java | 0 .../SyncListAzureClusters.java | 0 .../SyncListAzureClustersLocationname.java | 0 .../SyncListAzureClustersString.java | 0 .../AsyncListAzureNodePools.java | 0 .../AsyncListAzureNodePoolsPaged.java | 0 .../SyncListAzureNodePools.java | 0 ...yncListAzureNodePoolsAzureclustername.java | 0 .../SyncListAzureNodePoolsString.java | 0 .../AsyncUpdateAzureCluster.java | 0 .../AsyncUpdateAzureClusterLRO.java | 0 .../SyncUpdateAzureCluster.java | 0 ...dateAzureClusterAzureclusterFieldmask.java | 0 .../AsyncUpdateAzureNodePool.java | 0 .../AsyncUpdateAzureNodePoolLRO.java | 0 .../SyncUpdateAzureNodePool.java | 0 ...teAzureNodePoolAzurenodepoolFieldmask.java | 0 .../getazureclient/SyncGetAzureClient.java | 0 .../SyncGetAttachedCluster.java | 0 .../getawscluster/SyncGetAwsCluster.java | 0 .../getazureclient/SyncGetAzureClient.java | 0 552 files changed, 77519 insertions(+), 57232 deletions(-) delete mode 100644 java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersGrpc.java delete mode 100644 java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java delete mode 100644 java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java delete mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterErrorOrBuilder.java delete mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersAuthorization.java delete mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersAuthorizationOrBuilder.java delete mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedPlatformVersionInfoOrBuilder.java delete mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedResourcesProto.java delete mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServiceProto.java delete mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorization.java delete mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorizationOrBuilder.java delete mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterErrorOrBuilder.java delete mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacementOrBuilder.java delete mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfo.java delete mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfoOrBuilder.java delete mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolErrorOrBuilder.java delete mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java delete mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java delete mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorization.java delete mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorizationOrBuilder.java delete mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterErrorOrBuilder.java delete mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplateOrBuilder.java delete mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfo.java delete mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfoOrBuilder.java delete mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolErrorOrBuilder.java delete mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java delete mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java delete mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java delete mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfigOrBuilder.java delete mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ManagedPrometheusConfigOrBuilder.java delete mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraintOrBuilder.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClient.java (94%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersSettings.java (95%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java (83%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersSettings.java (85%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java (89%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersSettings.java (92%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/gapic_metadata.json (85%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/package-info.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AttachedClustersStub.java (92%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AttachedClustersStubSettings.java (95%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStub.java (81%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStubSettings.java (84%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStub.java (89%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStubSettings.java (93%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAttachedClustersCallableFactory.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAttachedClustersStub.java (90%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersCallableFactory.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersStub.java (77%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersCallableFactory.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersStub.java (86%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAttachedClustersCallableFactory.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAttachedClustersStub.java (89%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersCallableFactory.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersStub.java (77%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersCallableFactory.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersStub.java (86%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/main/resources/META-INF/native-image/com.google.cloud.gkemulticloud.v1/reflect-config.json (85%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClientHttpJsonTest.java (90%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClientTest.java (89%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientHttpJsonTest.java (79%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientTest.java (77%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientHttpJsonTest.java (87%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientTest.java (86%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAttachedClusters.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAttachedClustersImpl.java (89%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClusters.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClustersImpl.java (77%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClusters.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClustersImpl.java (85%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersGrpc.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedCluster.java (62%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterError.java (66%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterErrorOrBuilder.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterGroup.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterGroupOrBuilder.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterName.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterOrBuilder.java (68%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterUser.java (67%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterUserOrBuilder.java (51%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersAuthorization.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersAuthorizationOrBuilder.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedOidcConfig.java (71%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedOidcConfigOrBuilder.java (62%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedPlatformVersionInfo.java (64%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedPlatformVersionInfoOrBuilder.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedProxyConfig.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedProxyConfigOrBuilder.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedResourcesProto.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServerConfig.java (67%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServerConfigName.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServerConfigOrBuilder.java (62%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServiceProto.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorization.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorizationOrBuilder.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAutoscalingGroupMetricsCollection.java (69%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAutoscalingGroupMetricsCollectionOrBuilder.java (75%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsCluster.java (64%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterError.java (66%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterErrorOrBuilder.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterGroup.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterGroupOrBuilder.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterName.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworking.java (65%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworkingOrBuilder.java (68%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterOrBuilder.java (68%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUser.java (66%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUserOrBuilder.java (51%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryption.java (66%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryptionOrBuilder.java (52%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlane.java (65%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlaneOrBuilder.java (73%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryption.java (66%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryptionOrBuilder.java (52%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacement.java (63%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacementOrBuilder.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsJsonWebKeys.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsJsonWebKeysOrBuilder.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfo.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfoOrBuilder.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfig.java (60%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfigOrBuilder.java (66%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeManagement.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeManagementOrBuilder.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePool.java (60%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscaling.java (68%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscalingOrBuilder.java (58%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolError.java (66%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolErrorOrBuilder.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolName.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolOrBuilder.java (68%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsOpenIdConfig.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsOpenIdConfigOrBuilder.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfig.java (71%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfigOrBuilder.java (67%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfig.java (65%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigName.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigOrBuilder.java (61%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthentication.java (70%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthenticationOrBuilder.java (65%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfig.java (67%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfigOrBuilder.java (52%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplate.java (66%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplateOrBuilder.java (67%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorization.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorizationOrBuilder.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClient.java (70%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientName.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientOrBuilder.java (78%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureCluster.java (65%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterError.java (66%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterErrorOrBuilder.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterGroup.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterGroupOrBuilder.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterName.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworking.java (73%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworkingOrBuilder.java (76%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterOrBuilder.java (69%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResources.java (65%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResourcesOrBuilder.java (53%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUser.java (67%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUserOrBuilder.java (51%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryption.java (72%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryptionOrBuilder.java (72%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlane.java (66%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlaneOrBuilder.java (71%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryption.java (70%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryptionOrBuilder.java (65%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplate.java (66%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplateOrBuilder.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureJsonWebKeys.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureJsonWebKeysOrBuilder.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfo.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfoOrBuilder.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfig.java (62%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfigOrBuilder.java (67%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeManagement.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeManagementOrBuilder.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePool.java (65%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscaling.java (69%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscalingOrBuilder.java (58%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolError.java (67%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolErrorOrBuilder.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolName.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolOrBuilder.java (71%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureOpenIdConfig.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureOpenIdConfigOrBuilder.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfig.java (72%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfigOrBuilder.java (71%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfig.java (67%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigName.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigOrBuilder.java (66%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthentication.java (68%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthenticationOrBuilder.java (60%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfig.java (68%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfigOrBuilder.java (58%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/BinaryAuthorization.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/BinaryAuthorizationOrBuilder.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAttachedClusterRequest.java (68%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAttachedClusterRequestOrBuilder.java (68%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequest.java (68%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequestOrBuilder.java (68%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequest.java (68%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequestOrBuilder.java (69%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequest.java (69%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequestOrBuilder.java (68%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequest.java (68%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequestOrBuilder.java (68%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequest.java (66%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequestOrBuilder.java (65%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequest.java (72%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequestOrBuilder.java (74%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequest.java (67%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequestOrBuilder.java (71%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequest.java (67%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequestOrBuilder.java (72%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequest.java (70%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequestOrBuilder.java (66%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequest.java (71%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequestOrBuilder.java (72%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequest.java (71%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequestOrBuilder.java (72%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Fleet.java (72%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/FleetOrBuilder.java (69%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenRequest.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenRequestOrBuilder.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenResponse.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenResponseOrBuilder.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequest.java (58%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequestOrBuilder.java (74%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestResponse.java (53%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestResponseOrBuilder.java (55%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequest.java (63%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequestOrBuilder.java (56%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponse.java (61%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponseOrBuilder.java (53%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenRequest.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenRequestOrBuilder.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenResponse.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenResponseOrBuilder.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequest.java (61%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequestOrBuilder.java (50%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponse.java (60%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponseOrBuilder.java (54%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenRequest.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenRequestOrBuilder.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenResponse.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenResponseOrBuilder.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequest.java (67%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequestOrBuilder.java (57%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedServerConfigRequest.java (64%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedServerConfigRequestOrBuilder.java (56%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequest.java (65%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequestOrBuilder.java (56%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsJsonWebKeysRequest.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsJsonWebKeysRequestOrBuilder.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequest.java (65%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequestOrBuilder.java (57%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsOpenIdConfigRequest.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsOpenIdConfigRequestOrBuilder.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequest.java (65%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequestOrBuilder.java (55%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequest.java (66%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequestOrBuilder.java (57%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequest.java (66%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequestOrBuilder.java (56%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureJsonWebKeysRequest.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureJsonWebKeysRequestOrBuilder.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequest.java (66%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequestOrBuilder.java (57%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureOpenIdConfigRequest.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureOpenIdConfigRequestOrBuilder.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequest.java (65%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequestOrBuilder.java (56%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ImportAttachedClusterRequest.java (61%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ImportAttachedClusterRequestOrBuilder.java (70%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Jwk.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/JwkOrBuilder.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/KubernetesSecret.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/KubernetesSecretOrBuilder.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequest.java (70%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequestOrBuilder.java (68%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponse.java (74%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponseOrBuilder.java (76%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequest.java (70%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequestOrBuilder.java (68%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponse.java (73%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponseOrBuilder.java (72%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequest.java (70%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequestOrBuilder.java (68%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponse.java (73%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponseOrBuilder.java (73%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequest.java (70%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequestOrBuilder.java (68%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponse.java (73%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponseOrBuilder.java (74%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequest.java (70%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequestOrBuilder.java (68%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponse.java (75%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponseOrBuilder.java (74%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequest.java (71%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequestOrBuilder.java (69%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponse.java (73%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponseOrBuilder.java (73%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LocationName.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfig.java (64%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfigOrBuilder.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfig.java (66%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfigOrBuilder.java (62%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ManagedPrometheusConfig.java (65%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ManagedPrometheusConfigOrBuilder.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraint.java (66%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraintOrBuilder.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MonitoringConfig.java (64%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MonitoringConfigOrBuilder.java (56%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaint.java (68%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaintOrBuilder.java (56%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadata.java (71%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadataOrBuilder.java (76%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacement.java (71%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacementOrBuilder.java (67%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/RollbackAwsNodePoolUpdateRequest.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/RollbackAwsNodePoolUpdateRequestOrBuilder.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SpotConfig.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SpotConfigOrBuilder.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SurgeSettings.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SurgeSettingsOrBuilder.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAttachedClusterRequest.java (67%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAttachedClusterRequestOrBuilder.java (71%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequest.java (73%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequestOrBuilder.java (81%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequest.java (70%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequestOrBuilder.java (77%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequest.java (73%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequestOrBuilder.java (78%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequest.java (67%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequestOrBuilder.java (69%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateSettings.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateSettingsOrBuilder.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfig.java (70%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfigOrBuilder.java (62%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/attached_resources.proto (84%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/attached_service.proto (89%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_resources.proto (76%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_service.proto (78%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_resources.proto (87%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_service.proto (88%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/common_resources.proto (85%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/create/SyncCreateSetEndpoint.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/AsyncCreateAttachedCluster.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/AsyncCreateAttachedClusterLRO.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/SyncCreateAttachedCluster.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/SyncCreateAttachedClusterLocationnameAttachedclusterString.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/SyncCreateAttachedClusterStringAttachedclusterString.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/AsyncDeleteAttachedCluster.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/AsyncDeleteAttachedClusterLRO.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/SyncDeleteAttachedCluster.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/SyncDeleteAttachedClusterAttachedclustername.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/SyncDeleteAttachedClusterString.java (100%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusteragenttoken/AsyncGenerateAttachedClusterAgentToken.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusteragenttoken/SyncGenerateAttachedClusterAgentToken.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/AsyncGenerateAttachedClusterInstallManifest.java (95%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/SyncGenerateAttachedClusterInstallManifest.java (94%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/SyncGenerateAttachedClusterInstallManifestLocationnameString.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/SyncGenerateAttachedClusterInstallManifestStringString.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/AsyncGetAttachedCluster.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/SyncGetAttachedCluster.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/SyncGetAttachedClusterAttachedclustername.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/SyncGetAttachedClusterString.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/AsyncGetAttachedServerConfig.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/SyncGetAttachedServerConfig.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/SyncGetAttachedServerConfigAttachedserverconfigname.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/SyncGetAttachedServerConfigString.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/AsyncImportAttachedCluster.java (94%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/AsyncImportAttachedClusterLRO.java (95%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/SyncImportAttachedCluster.java (94%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/SyncImportAttachedClusterLocationnameString.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/SyncImportAttachedClusterStringString.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/AsyncListAttachedClusters.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/AsyncListAttachedClustersPaged.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/SyncListAttachedClusters.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/SyncListAttachedClustersLocationname.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/SyncListAttachedClustersString.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/AsyncUpdateAttachedCluster.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/AsyncUpdateAttachedClusterLRO.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/SyncUpdateAttachedCluster.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/SyncUpdateAttachedClusterAttachedclusterFieldmask.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusterssettings/getattachedcluster/SyncGetAttachedCluster.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/create/SyncCreateSetEndpoint.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/AsyncCreateAwsCluster.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/AsyncCreateAwsClusterLRO.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/SyncCreateAwsCluster.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/SyncCreateAwsClusterLocationnameAwsclusterString.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/SyncCreateAwsClusterStringAwsclusterString.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/AsyncCreateAwsNodePool.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/AsyncCreateAwsNodePoolLRO.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/SyncCreateAwsNodePool.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/SyncCreateAwsNodePoolAwsclusternameAwsnodepoolString.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/SyncCreateAwsNodePoolStringAwsnodepoolString.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/AsyncDeleteAwsCluster.java (98%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/AsyncDeleteAwsClusterLRO.java (98%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/SyncDeleteAwsCluster.java (98%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/SyncDeleteAwsClusterAwsclustername.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/SyncDeleteAwsClusterString.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/AsyncDeleteAwsNodePool.java (98%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/AsyncDeleteAwsNodePoolLRO.java (98%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/SyncDeleteAwsNodePool.java (98%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/SyncDeleteAwsNodePoolAwsnodepoolname.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/SyncDeleteAwsNodePoolString.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsaccesstoken/AsyncGenerateAwsAccessToken.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsaccesstoken/SyncGenerateAwsAccessToken.java (100%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsclusteragenttoken/AsyncGenerateAwsClusterAgentToken.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsclusteragenttoken/SyncGenerateAwsClusterAgentToken.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/AsyncGetAwsCluster.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/SyncGetAwsCluster.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/SyncGetAwsClusterAwsclustername.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/SyncGetAwsClusterString.java (100%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsjsonwebkeys/AsyncGetAwsJsonWebKeys.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsjsonwebkeys/SyncGetAwsJsonWebKeys.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/AsyncGetAwsNodePool.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/SyncGetAwsNodePool.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/SyncGetAwsNodePoolAwsnodepoolname.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/SyncGetAwsNodePoolString.java (100%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsopenidconfig/AsyncGetAwsOpenIdConfig.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsopenidconfig/SyncGetAwsOpenIdConfig.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/AsyncGetAwsServerConfig.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/SyncGetAwsServerConfig.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/SyncGetAwsServerConfigAwsserverconfigname.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/SyncGetAwsServerConfigString.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/AsyncListAwsClusters.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/AsyncListAwsClustersPaged.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/SyncListAwsClusters.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/SyncListAwsClustersLocationname.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/SyncListAwsClustersString.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/AsyncListAwsNodePools.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/AsyncListAwsNodePoolsPaged.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/SyncListAwsNodePools.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/SyncListAwsNodePoolsAwsclustername.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/SyncListAwsNodePoolsString.java (100%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/AsyncRollbackAwsNodePoolUpdate.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/AsyncRollbackAwsNodePoolUpdateLRO.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/SyncRollbackAwsNodePoolUpdate.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/SyncRollbackAwsNodePoolUpdateAwsnodepoolname.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/SyncRollbackAwsNodePoolUpdateString.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/AsyncUpdateAwsCluster.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/AsyncUpdateAwsClusterLRO.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/SyncUpdateAwsCluster.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/SyncUpdateAwsClusterAwsclusterFieldmask.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/AsyncUpdateAwsNodePool.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/AsyncUpdateAwsNodePoolLRO.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/SyncUpdateAwsNodePool.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/SyncUpdateAwsNodePoolAwsnodepoolFieldmask.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusterssettings/getawscluster/SyncGetAwsCluster.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/create/SyncCreateSetEndpoint.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/AsyncCreateAzureClient.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/AsyncCreateAzureClientLRO.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/SyncCreateAzureClient.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/SyncCreateAzureClientLocationnameAzureclientString.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/SyncCreateAzureClientStringAzureclientString.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/AsyncCreateAzureCluster.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/AsyncCreateAzureClusterLRO.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/SyncCreateAzureCluster.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/SyncCreateAzureClusterLocationnameAzureclusterString.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/SyncCreateAzureClusterStringAzureclusterString.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/AsyncCreateAzureNodePool.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/AsyncCreateAzureNodePoolLRO.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/SyncCreateAzureNodePool.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/SyncCreateAzureNodePoolAzureclusternameAzurenodepoolString.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/SyncCreateAzureNodePoolStringAzurenodepoolString.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/AsyncDeleteAzureClient.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/AsyncDeleteAzureClientLRO.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/SyncDeleteAzureClient.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/SyncDeleteAzureClientAzureclientname.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/SyncDeleteAzureClientString.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/AsyncDeleteAzureCluster.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/AsyncDeleteAzureClusterLRO.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/SyncDeleteAzureCluster.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/SyncDeleteAzureClusterAzureclustername.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/SyncDeleteAzureClusterString.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/AsyncDeleteAzureNodePool.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/AsyncDeleteAzureNodePoolLRO.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/SyncDeleteAzureNodePool.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/SyncDeleteAzureNodePoolAzurenodepoolname.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/SyncDeleteAzureNodePoolString.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureaccesstoken/AsyncGenerateAzureAccessToken.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureaccesstoken/SyncGenerateAzureAccessToken.java (100%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureclusteragenttoken/AsyncGenerateAzureClusterAgentToken.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureclusteragenttoken/SyncGenerateAzureClusterAgentToken.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/AsyncGetAzureClient.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/SyncGetAzureClient.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/SyncGetAzureClientAzureclientname.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/SyncGetAzureClientString.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/AsyncGetAzureCluster.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/SyncGetAzureCluster.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/SyncGetAzureClusterAzureclustername.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/SyncGetAzureClusterString.java (100%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/AsyncGetAzureJsonWebKeys.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/SyncGetAzureJsonWebKeys.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/SyncGetAzureJsonWebKeysAzureclustername.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/SyncGetAzureJsonWebKeysString.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/AsyncGetAzureNodePool.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/SyncGetAzureNodePool.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/SyncGetAzureNodePoolAzurenodepoolname.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/SyncGetAzureNodePoolString.java (100%) create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/AsyncGetAzureOpenIdConfig.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/SyncGetAzureOpenIdConfig.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/SyncGetAzureOpenIdConfigAzureclustername.java create mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/SyncGetAzureOpenIdConfigString.java rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/AsyncGetAzureServerConfig.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/SyncGetAzureServerConfig.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/SyncGetAzureServerConfigAzureserverconfigname.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/SyncGetAzureServerConfigString.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/AsyncListAzureClients.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/AsyncListAzureClientsPaged.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/SyncListAzureClients.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/SyncListAzureClientsLocationname.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/SyncListAzureClientsString.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/AsyncListAzureClusters.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/AsyncListAzureClustersPaged.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/SyncListAzureClusters.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/SyncListAzureClustersLocationname.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/SyncListAzureClustersString.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/AsyncListAzureNodePools.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/AsyncListAzureNodePoolsPaged.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/SyncListAzureNodePools.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/SyncListAzureNodePoolsAzureclustername.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/SyncListAzureNodePoolsString.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/AsyncUpdateAzureCluster.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/AsyncUpdateAzureClusterLRO.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/SyncUpdateAzureCluster.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/SyncUpdateAzureClusterAzureclusterFieldmask.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/AsyncUpdateAzureNodePool.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/AsyncUpdateAzureNodePoolLRO.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/SyncUpdateAzureNodePool.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/SyncUpdateAzureNodePoolAzurenodepoolFieldmask.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusterssettings/getazureclient/SyncGetAzureClient.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/attachedclustersstubsettings/getattachedcluster/SyncGetAttachedCluster.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/awsclustersstubsettings/getawscluster/SyncGetAwsCluster.java (100%) rename {java-gke-multi-cloud => owl-bot-staging/java-gke-multi-cloud/v1}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/azureclustersstubsettings/getazureclient/SyncGetAzureClient.java (100%) diff --git a/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersGrpc.java b/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersGrpc.java deleted file mode 100644 index 61fa49f5b2c0..000000000000 --- a/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersGrpc.java +++ /dev/null @@ -1,1348 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.gkemulticloud.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * The AttachedClusters API provides a single centrally managed service
- * to register and manage Anthos attached clusters that run on customer's owned
- * infrastructure.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/gkemulticloud/v1/attached_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class AttachedClustersGrpc { - - private AttachedClustersGrpc() {} - - public static final java.lang.String SERVICE_NAME = - "google.cloud.gkemulticloud.v1.AttachedClusters"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest, - com.google.longrunning.Operation> - getCreateAttachedClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateAttachedCluster", - requestType = com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest, - com.google.longrunning.Operation> - getCreateAttachedClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest, - com.google.longrunning.Operation> - getCreateAttachedClusterMethod; - if ((getCreateAttachedClusterMethod = AttachedClustersGrpc.getCreateAttachedClusterMethod) - == null) { - synchronized (AttachedClustersGrpc.class) { - if ((getCreateAttachedClusterMethod = AttachedClustersGrpc.getCreateAttachedClusterMethod) - == null) { - AttachedClustersGrpc.getCreateAttachedClusterMethod = - getCreateAttachedClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateAttachedCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AttachedClustersMethodDescriptorSupplier("CreateAttachedCluster")) - .build(); - } - } - } - return getCreateAttachedClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest, - com.google.longrunning.Operation> - getUpdateAttachedClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateAttachedCluster", - requestType = com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest, - com.google.longrunning.Operation> - getUpdateAttachedClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest, - com.google.longrunning.Operation> - getUpdateAttachedClusterMethod; - if ((getUpdateAttachedClusterMethod = AttachedClustersGrpc.getUpdateAttachedClusterMethod) - == null) { - synchronized (AttachedClustersGrpc.class) { - if ((getUpdateAttachedClusterMethod = AttachedClustersGrpc.getUpdateAttachedClusterMethod) - == null) { - AttachedClustersGrpc.getUpdateAttachedClusterMethod = - getUpdateAttachedClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateAttachedCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AttachedClustersMethodDescriptorSupplier("UpdateAttachedCluster")) - .build(); - } - } - } - return getUpdateAttachedClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest, - com.google.longrunning.Operation> - getImportAttachedClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportAttachedCluster", - requestType = com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest, - com.google.longrunning.Operation> - getImportAttachedClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest, - com.google.longrunning.Operation> - getImportAttachedClusterMethod; - if ((getImportAttachedClusterMethod = AttachedClustersGrpc.getImportAttachedClusterMethod) - == null) { - synchronized (AttachedClustersGrpc.class) { - if ((getImportAttachedClusterMethod = AttachedClustersGrpc.getImportAttachedClusterMethod) - == null) { - AttachedClustersGrpc.getImportAttachedClusterMethod = - getImportAttachedClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ImportAttachedCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AttachedClustersMethodDescriptorSupplier("ImportAttachedCluster")) - .build(); - } - } - } - return getImportAttachedClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest, - com.google.cloud.gkemulticloud.v1.AttachedCluster> - getGetAttachedClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAttachedCluster", - requestType = com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.AttachedCluster.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest, - com.google.cloud.gkemulticloud.v1.AttachedCluster> - getGetAttachedClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest, - com.google.cloud.gkemulticloud.v1.AttachedCluster> - getGetAttachedClusterMethod; - if ((getGetAttachedClusterMethod = AttachedClustersGrpc.getGetAttachedClusterMethod) == null) { - synchronized (AttachedClustersGrpc.class) { - if ((getGetAttachedClusterMethod = AttachedClustersGrpc.getGetAttachedClusterMethod) - == null) { - AttachedClustersGrpc.getGetAttachedClusterMethod = - getGetAttachedClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAttachedCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.AttachedCluster - .getDefaultInstance())) - .setSchemaDescriptor( - new AttachedClustersMethodDescriptorSupplier("GetAttachedCluster")) - .build(); - } - } - } - return getGetAttachedClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest, - com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse> - getListAttachedClustersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAttachedClusters", - requestType = com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest, - com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse> - getListAttachedClustersMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest, - com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse> - getListAttachedClustersMethod; - if ((getListAttachedClustersMethod = AttachedClustersGrpc.getListAttachedClustersMethod) - == null) { - synchronized (AttachedClustersGrpc.class) { - if ((getListAttachedClustersMethod = AttachedClustersGrpc.getListAttachedClustersMethod) - == null) { - AttachedClustersGrpc.getListAttachedClustersMethod = - getListAttachedClustersMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListAttachedClusters")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AttachedClustersMethodDescriptorSupplier("ListAttachedClusters")) - .build(); - } - } - } - return getListAttachedClustersMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest, - com.google.longrunning.Operation> - getDeleteAttachedClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAttachedCluster", - requestType = com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest, - com.google.longrunning.Operation> - getDeleteAttachedClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest, - com.google.longrunning.Operation> - getDeleteAttachedClusterMethod; - if ((getDeleteAttachedClusterMethod = AttachedClustersGrpc.getDeleteAttachedClusterMethod) - == null) { - synchronized (AttachedClustersGrpc.class) { - if ((getDeleteAttachedClusterMethod = AttachedClustersGrpc.getDeleteAttachedClusterMethod) - == null) { - AttachedClustersGrpc.getDeleteAttachedClusterMethod = - getDeleteAttachedClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteAttachedCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AttachedClustersMethodDescriptorSupplier("DeleteAttachedCluster")) - .build(); - } - } - } - return getDeleteAttachedClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest, - com.google.cloud.gkemulticloud.v1.AttachedServerConfig> - getGetAttachedServerConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAttachedServerConfig", - requestType = com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.AttachedServerConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest, - com.google.cloud.gkemulticloud.v1.AttachedServerConfig> - getGetAttachedServerConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest, - com.google.cloud.gkemulticloud.v1.AttachedServerConfig> - getGetAttachedServerConfigMethod; - if ((getGetAttachedServerConfigMethod = AttachedClustersGrpc.getGetAttachedServerConfigMethod) - == null) { - synchronized (AttachedClustersGrpc.class) { - if ((getGetAttachedServerConfigMethod = - AttachedClustersGrpc.getGetAttachedServerConfigMethod) - == null) { - AttachedClustersGrpc.getGetAttachedServerConfigMethod = - getGetAttachedServerConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetAttachedServerConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.AttachedServerConfig - .getDefaultInstance())) - .setSchemaDescriptor( - new AttachedClustersMethodDescriptorSupplier("GetAttachedServerConfig")) - .build(); - } - } - } - return getGetAttachedServerConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest, - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse> - getGenerateAttachedClusterInstallManifestMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GenerateAttachedClusterInstallManifest", - requestType = - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest.class, - responseType = - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest, - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse> - getGenerateAttachedClusterInstallManifestMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest, - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse> - getGenerateAttachedClusterInstallManifestMethod; - if ((getGenerateAttachedClusterInstallManifestMethod = - AttachedClustersGrpc.getGenerateAttachedClusterInstallManifestMethod) - == null) { - synchronized (AttachedClustersGrpc.class) { - if ((getGenerateAttachedClusterInstallManifestMethod = - AttachedClustersGrpc.getGenerateAttachedClusterInstallManifestMethod) - == null) { - AttachedClustersGrpc.getGenerateAttachedClusterInstallManifestMethod = - getGenerateAttachedClusterInstallManifestMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName( - SERVICE_NAME, "GenerateAttachedClusterInstallManifest")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1 - .GenerateAttachedClusterInstallManifestRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1 - .GenerateAttachedClusterInstallManifestResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AttachedClustersMethodDescriptorSupplier( - "GenerateAttachedClusterInstallManifest")) - .build(); - } - } - } - return getGenerateAttachedClusterInstallManifestMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static AttachedClustersStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AttachedClustersStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AttachedClustersStub(channel, callOptions); - } - }; - return AttachedClustersStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static AttachedClustersBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AttachedClustersBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AttachedClustersBlockingStub(channel, callOptions); - } - }; - return AttachedClustersBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static AttachedClustersFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AttachedClustersFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AttachedClustersFutureStub(channel, callOptions); - } - }; - return AttachedClustersFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * The AttachedClusters API provides a single centrally managed service
-   * to register and manage Anthos attached clusters that run on customer's owned
-   * infrastructure.
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * Creates a new
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
-     * on a given Google Cloud Platform project and region.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - default void createAttachedCluster( - com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateAttachedClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates an
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
-     * 
- */ - default void updateAttachedCluster( - com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateAttachedClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Imports creates a new
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
-     * by importing an existing Fleet Membership resource.
-     * Attached Clusters created before the introduction of the Anthos Multi-Cloud
-     * API can be imported through this method.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - default void importAttachedCluster( - com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getImportAttachedClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Describes a specific
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
-     * 
- */ - default void getAttachedCluster( - com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetAttachedClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
-     * resources on a given Google Cloud project and region.
-     * 
- */ - default void listAttachedClusters( - com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListAttachedClustersMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a specific
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - default void deleteAttachedCluster( - com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteAttachedClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns information, such as supported Kubernetes versions, on a given
-     * Google Cloud location.
-     * 
- */ - default void getAttachedServerConfig( - com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetAttachedServerConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Generates the install manifest to be installed on the target cluster.
-     * 
- */ - default void generateAttachedClusterInstallManifest( - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGenerateAttachedClusterInstallManifestMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service AttachedClusters. - * - *
-   * The AttachedClusters API provides a single centrally managed service
-   * to register and manage Anthos attached clusters that run on customer's owned
-   * infrastructure.
-   * 
- */ - public abstract static class AttachedClustersImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return AttachedClustersGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service AttachedClusters. - * - *
-   * The AttachedClusters API provides a single centrally managed service
-   * to register and manage Anthos attached clusters that run on customer's owned
-   * infrastructure.
-   * 
- */ - public static final class AttachedClustersStub - extends io.grpc.stub.AbstractAsyncStub { - private AttachedClustersStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AttachedClustersStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AttachedClustersStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
-     * on a given Google Cloud Platform project and region.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public void createAttachedCluster( - com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateAttachedClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates an
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
-     * 
- */ - public void updateAttachedCluster( - com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAttachedClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Imports creates a new
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
-     * by importing an existing Fleet Membership resource.
-     * Attached Clusters created before the introduction of the Anthos Multi-Cloud
-     * API can be imported through this method.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public void importAttachedCluster( - com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportAttachedClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Describes a specific
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
-     * 
- */ - public void getAttachedCluster( - com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAttachedClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
-     * resources on a given Google Cloud project and region.
-     * 
- */ - public void listAttachedClusters( - com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAttachedClustersMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a specific
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public void deleteAttachedCluster( - com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAttachedClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns information, such as supported Kubernetes versions, on a given
-     * Google Cloud location.
-     * 
- */ - public void getAttachedServerConfig( - com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAttachedServerConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Generates the install manifest to be installed on the target cluster.
-     * 
- */ - public void generateAttachedClusterInstallManifest( - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGenerateAttachedClusterInstallManifestMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service AttachedClusters. - * - *
-   * The AttachedClusters API provides a single centrally managed service
-   * to register and manage Anthos attached clusters that run on customer's owned
-   * infrastructure.
-   * 
- */ - public static final class AttachedClustersBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private AttachedClustersBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AttachedClustersBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AttachedClustersBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
-     * on a given Google Cloud Platform project and region.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.longrunning.Operation createAttachedCluster( - com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateAttachedClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates an
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
-     * 
- */ - public com.google.longrunning.Operation updateAttachedCluster( - com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAttachedClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Imports creates a new
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
-     * by importing an existing Fleet Membership resource.
-     * Attached Clusters created before the introduction of the Anthos Multi-Cloud
-     * API can be imported through this method.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.longrunning.Operation importAttachedCluster( - com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportAttachedClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Describes a specific
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.AttachedCluster getAttachedCluster( - com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAttachedClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
-     * resources on a given Google Cloud project and region.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse listAttachedClusters( - com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAttachedClustersMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a specific
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.longrunning.Operation deleteAttachedCluster( - com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAttachedClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns information, such as supported Kubernetes versions, on a given
-     * Google Cloud location.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.AttachedServerConfig getAttachedServerConfig( - com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAttachedServerConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Generates the install manifest to be installed on the target cluster.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse - generateAttachedClusterInstallManifest( - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest - request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), - getGenerateAttachedClusterInstallManifestMethod(), - getCallOptions(), - request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service AttachedClusters. - * - *
-   * The AttachedClusters API provides a single centrally managed service
-   * to register and manage Anthos attached clusters that run on customer's owned
-   * infrastructure.
-   * 
- */ - public static final class AttachedClustersFutureStub - extends io.grpc.stub.AbstractFutureStub { - private AttachedClustersFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AttachedClustersFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AttachedClustersFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
-     * on a given Google Cloud Platform project and region.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createAttachedCluster( - com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateAttachedClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates an
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateAttachedCluster( - com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAttachedClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Imports creates a new
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
-     * by importing an existing Fleet Membership resource.
-     * Attached Clusters created before the introduction of the Anthos Multi-Cloud
-     * API can be imported through this method.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - importAttachedCluster( - com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportAttachedClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Describes a specific
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.gkemulticloud.v1.AttachedCluster> - getAttachedCluster(com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAttachedClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
-     * resources on a given Google Cloud project and region.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse> - listAttachedClusters( - com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAttachedClustersMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a specific
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteAttachedCluster( - com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAttachedClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns information, such as supported Kubernetes versions, on a given
-     * Google Cloud location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.gkemulticloud.v1.AttachedServerConfig> - getAttachedServerConfig( - com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAttachedServerConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Generates the install manifest to be installed on the target cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse> - generateAttachedClusterInstallManifest( - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGenerateAttachedClusterInstallManifestMethod(), getCallOptions()), - request); - } - } - - private static final int METHODID_CREATE_ATTACHED_CLUSTER = 0; - private static final int METHODID_UPDATE_ATTACHED_CLUSTER = 1; - private static final int METHODID_IMPORT_ATTACHED_CLUSTER = 2; - private static final int METHODID_GET_ATTACHED_CLUSTER = 3; - private static final int METHODID_LIST_ATTACHED_CLUSTERS = 4; - private static final int METHODID_DELETE_ATTACHED_CLUSTER = 5; - private static final int METHODID_GET_ATTACHED_SERVER_CONFIG = 6; - private static final int METHODID_GENERATE_ATTACHED_CLUSTER_INSTALL_MANIFEST = 7; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_ATTACHED_CLUSTER: - serviceImpl.createAttachedCluster( - (com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_ATTACHED_CLUSTER: - serviceImpl.updateAttachedCluster( - (com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_IMPORT_ATTACHED_CLUSTER: - serviceImpl.importAttachedCluster( - (com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ATTACHED_CLUSTER: - serviceImpl.getAttachedCluster( - (com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_ATTACHED_CLUSTERS: - serviceImpl.listAttachedClusters( - (com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse>) - responseObserver); - break; - case METHODID_DELETE_ATTACHED_CLUSTER: - serviceImpl.deleteAttachedCluster( - (com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ATTACHED_SERVER_CONFIG: - serviceImpl.getAttachedServerConfig( - (com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GENERATE_ATTACHED_CLUSTER_INSTALL_MANIFEST: - serviceImpl.generateAttachedClusterInstallManifest( - (com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.cloud.gkemulticloud.v1 - .GenerateAttachedClusterInstallManifestResponse>) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateAttachedClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_ATTACHED_CLUSTER))) - .addMethod( - getUpdateAttachedClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_ATTACHED_CLUSTER))) - .addMethod( - getImportAttachedClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest, - com.google.longrunning.Operation>(service, METHODID_IMPORT_ATTACHED_CLUSTER))) - .addMethod( - getGetAttachedClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest, - com.google.cloud.gkemulticloud.v1.AttachedCluster>( - service, METHODID_GET_ATTACHED_CLUSTER))) - .addMethod( - getListAttachedClustersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest, - com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse>( - service, METHODID_LIST_ATTACHED_CLUSTERS))) - .addMethod( - getDeleteAttachedClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest, - com.google.longrunning.Operation>(service, METHODID_DELETE_ATTACHED_CLUSTER))) - .addMethod( - getGetAttachedServerConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest, - com.google.cloud.gkemulticloud.v1.AttachedServerConfig>( - service, METHODID_GET_ATTACHED_SERVER_CONFIG))) - .addMethod( - getGenerateAttachedClusterInstallManifestMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest, - com.google.cloud.gkemulticloud.v1 - .GenerateAttachedClusterInstallManifestResponse>( - service, METHODID_GENERATE_ATTACHED_CLUSTER_INSTALL_MANIFEST))) - .build(); - } - - private abstract static class AttachedClustersBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - AttachedClustersBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("AttachedClusters"); - } - } - - private static final class AttachedClustersFileDescriptorSupplier - extends AttachedClustersBaseDescriptorSupplier { - AttachedClustersFileDescriptorSupplier() {} - } - - private static final class AttachedClustersMethodDescriptorSupplier - extends AttachedClustersBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - AttachedClustersMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (AttachedClustersGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AttachedClustersFileDescriptorSupplier()) - .addMethod(getCreateAttachedClusterMethod()) - .addMethod(getUpdateAttachedClusterMethod()) - .addMethod(getImportAttachedClusterMethod()) - .addMethod(getGetAttachedClusterMethod()) - .addMethod(getListAttachedClustersMethod()) - .addMethod(getDeleteAttachedClusterMethod()) - .addMethod(getGetAttachedServerConfigMethod()) - .addMethod(getGenerateAttachedClusterInstallManifestMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java b/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java deleted file mode 100644 index d186be914c72..000000000000 --- a/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java +++ /dev/null @@ -1,1784 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.gkemulticloud.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * The AwsClusters API provides a single centrally managed service
- * to create and manage Anthos clusters that run on AWS infrastructure.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/gkemulticloud/v1/aws_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class AwsClustersGrpc { - - private AwsClustersGrpc() {} - - public static final java.lang.String SERVICE_NAME = "google.cloud.gkemulticloud.v1.AwsClusters"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest, - com.google.longrunning.Operation> - getCreateAwsClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateAwsCluster", - requestType = com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest, - com.google.longrunning.Operation> - getCreateAwsClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest, - com.google.longrunning.Operation> - getCreateAwsClusterMethod; - if ((getCreateAwsClusterMethod = AwsClustersGrpc.getCreateAwsClusterMethod) == null) { - synchronized (AwsClustersGrpc.class) { - if ((getCreateAwsClusterMethod = AwsClustersGrpc.getCreateAwsClusterMethod) == null) { - AwsClustersGrpc.getCreateAwsClusterMethod = - getCreateAwsClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAwsCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AwsClustersMethodDescriptorSupplier("CreateAwsCluster")) - .build(); - } - } - } - return getCreateAwsClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest, - com.google.longrunning.Operation> - getUpdateAwsClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateAwsCluster", - requestType = com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest, - com.google.longrunning.Operation> - getUpdateAwsClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest, - com.google.longrunning.Operation> - getUpdateAwsClusterMethod; - if ((getUpdateAwsClusterMethod = AwsClustersGrpc.getUpdateAwsClusterMethod) == null) { - synchronized (AwsClustersGrpc.class) { - if ((getUpdateAwsClusterMethod = AwsClustersGrpc.getUpdateAwsClusterMethod) == null) { - AwsClustersGrpc.getUpdateAwsClusterMethod = - getUpdateAwsClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAwsCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AwsClustersMethodDescriptorSupplier("UpdateAwsCluster")) - .build(); - } - } - } - return getUpdateAwsClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest, - com.google.cloud.gkemulticloud.v1.AwsCluster> - getGetAwsClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAwsCluster", - requestType = com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.AwsCluster.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest, - com.google.cloud.gkemulticloud.v1.AwsCluster> - getGetAwsClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest, - com.google.cloud.gkemulticloud.v1.AwsCluster> - getGetAwsClusterMethod; - if ((getGetAwsClusterMethod = AwsClustersGrpc.getGetAwsClusterMethod) == null) { - synchronized (AwsClustersGrpc.class) { - if ((getGetAwsClusterMethod = AwsClustersGrpc.getGetAwsClusterMethod) == null) { - AwsClustersGrpc.getGetAwsClusterMethod = - getGetAwsClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAwsCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance())) - .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("GetAwsCluster")) - .build(); - } - } - } - return getGetAwsClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest, - com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse> - getListAwsClustersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAwsClusters", - requestType = com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest, - com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse> - getListAwsClustersMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest, - com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse> - getListAwsClustersMethod; - if ((getListAwsClustersMethod = AwsClustersGrpc.getListAwsClustersMethod) == null) { - synchronized (AwsClustersGrpc.class) { - if ((getListAwsClustersMethod = AwsClustersGrpc.getListAwsClustersMethod) == null) { - AwsClustersGrpc.getListAwsClustersMethod = - getListAwsClustersMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAwsClusters")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AwsClustersMethodDescriptorSupplier("ListAwsClusters")) - .build(); - } - } - } - return getListAwsClustersMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest, - com.google.longrunning.Operation> - getDeleteAwsClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAwsCluster", - requestType = com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest, - com.google.longrunning.Operation> - getDeleteAwsClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest, - com.google.longrunning.Operation> - getDeleteAwsClusterMethod; - if ((getDeleteAwsClusterMethod = AwsClustersGrpc.getDeleteAwsClusterMethod) == null) { - synchronized (AwsClustersGrpc.class) { - if ((getDeleteAwsClusterMethod = AwsClustersGrpc.getDeleteAwsClusterMethod) == null) { - AwsClustersGrpc.getDeleteAwsClusterMethod = - getDeleteAwsClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAwsCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AwsClustersMethodDescriptorSupplier("DeleteAwsCluster")) - .build(); - } - } - } - return getDeleteAwsClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest, - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse> - getGenerateAwsAccessTokenMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GenerateAwsAccessToken", - requestType = com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest, - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse> - getGenerateAwsAccessTokenMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest, - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse> - getGenerateAwsAccessTokenMethod; - if ((getGenerateAwsAccessTokenMethod = AwsClustersGrpc.getGenerateAwsAccessTokenMethod) - == null) { - synchronized (AwsClustersGrpc.class) { - if ((getGenerateAwsAccessTokenMethod = AwsClustersGrpc.getGenerateAwsAccessTokenMethod) - == null) { - AwsClustersGrpc.getGenerateAwsAccessTokenMethod = - getGenerateAwsAccessTokenMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GenerateAwsAccessToken")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AwsClustersMethodDescriptorSupplier("GenerateAwsAccessToken")) - .build(); - } - } - } - return getGenerateAwsAccessTokenMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest, - com.google.longrunning.Operation> - getCreateAwsNodePoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateAwsNodePool", - requestType = com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest, - com.google.longrunning.Operation> - getCreateAwsNodePoolMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest, - com.google.longrunning.Operation> - getCreateAwsNodePoolMethod; - if ((getCreateAwsNodePoolMethod = AwsClustersGrpc.getCreateAwsNodePoolMethod) == null) { - synchronized (AwsClustersGrpc.class) { - if ((getCreateAwsNodePoolMethod = AwsClustersGrpc.getCreateAwsNodePoolMethod) == null) { - AwsClustersGrpc.getCreateAwsNodePoolMethod = - getCreateAwsNodePoolMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAwsNodePool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AwsClustersMethodDescriptorSupplier("CreateAwsNodePool")) - .build(); - } - } - } - return getCreateAwsNodePoolMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest, - com.google.longrunning.Operation> - getUpdateAwsNodePoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateAwsNodePool", - requestType = com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest, - com.google.longrunning.Operation> - getUpdateAwsNodePoolMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest, - com.google.longrunning.Operation> - getUpdateAwsNodePoolMethod; - if ((getUpdateAwsNodePoolMethod = AwsClustersGrpc.getUpdateAwsNodePoolMethod) == null) { - synchronized (AwsClustersGrpc.class) { - if ((getUpdateAwsNodePoolMethod = AwsClustersGrpc.getUpdateAwsNodePoolMethod) == null) { - AwsClustersGrpc.getUpdateAwsNodePoolMethod = - getUpdateAwsNodePoolMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAwsNodePool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AwsClustersMethodDescriptorSupplier("UpdateAwsNodePool")) - .build(); - } - } - } - return getUpdateAwsNodePoolMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest, - com.google.cloud.gkemulticloud.v1.AwsNodePool> - getGetAwsNodePoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAwsNodePool", - requestType = com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.AwsNodePool.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest, - com.google.cloud.gkemulticloud.v1.AwsNodePool> - getGetAwsNodePoolMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest, - com.google.cloud.gkemulticloud.v1.AwsNodePool> - getGetAwsNodePoolMethod; - if ((getGetAwsNodePoolMethod = AwsClustersGrpc.getGetAwsNodePoolMethod) == null) { - synchronized (AwsClustersGrpc.class) { - if ((getGetAwsNodePoolMethod = AwsClustersGrpc.getGetAwsNodePoolMethod) == null) { - AwsClustersGrpc.getGetAwsNodePoolMethod = - getGetAwsNodePoolMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAwsNodePool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance())) - .setSchemaDescriptor( - new AwsClustersMethodDescriptorSupplier("GetAwsNodePool")) - .build(); - } - } - } - return getGetAwsNodePoolMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest, - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse> - getListAwsNodePoolsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAwsNodePools", - requestType = com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest, - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse> - getListAwsNodePoolsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest, - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse> - getListAwsNodePoolsMethod; - if ((getListAwsNodePoolsMethod = AwsClustersGrpc.getListAwsNodePoolsMethod) == null) { - synchronized (AwsClustersGrpc.class) { - if ((getListAwsNodePoolsMethod = AwsClustersGrpc.getListAwsNodePoolsMethod) == null) { - AwsClustersGrpc.getListAwsNodePoolsMethod = - getListAwsNodePoolsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAwsNodePools")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AwsClustersMethodDescriptorSupplier("ListAwsNodePools")) - .build(); - } - } - } - return getListAwsNodePoolsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest, - com.google.longrunning.Operation> - getDeleteAwsNodePoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAwsNodePool", - requestType = com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest, - com.google.longrunning.Operation> - getDeleteAwsNodePoolMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest, - com.google.longrunning.Operation> - getDeleteAwsNodePoolMethod; - if ((getDeleteAwsNodePoolMethod = AwsClustersGrpc.getDeleteAwsNodePoolMethod) == null) { - synchronized (AwsClustersGrpc.class) { - if ((getDeleteAwsNodePoolMethod = AwsClustersGrpc.getDeleteAwsNodePoolMethod) == null) { - AwsClustersGrpc.getDeleteAwsNodePoolMethod = - getDeleteAwsNodePoolMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAwsNodePool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AwsClustersMethodDescriptorSupplier("DeleteAwsNodePool")) - .build(); - } - } - } - return getDeleteAwsNodePoolMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest, - com.google.cloud.gkemulticloud.v1.AwsServerConfig> - getGetAwsServerConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAwsServerConfig", - requestType = com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.AwsServerConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest, - com.google.cloud.gkemulticloud.v1.AwsServerConfig> - getGetAwsServerConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest, - com.google.cloud.gkemulticloud.v1.AwsServerConfig> - getGetAwsServerConfigMethod; - if ((getGetAwsServerConfigMethod = AwsClustersGrpc.getGetAwsServerConfigMethod) == null) { - synchronized (AwsClustersGrpc.class) { - if ((getGetAwsServerConfigMethod = AwsClustersGrpc.getGetAwsServerConfigMethod) == null) { - AwsClustersGrpc.getGetAwsServerConfigMethod = - getGetAwsServerConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAwsServerConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.AwsServerConfig - .getDefaultInstance())) - .setSchemaDescriptor( - new AwsClustersMethodDescriptorSupplier("GetAwsServerConfig")) - .build(); - } - } - } - return getGetAwsServerConfigMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static AwsClustersStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AwsClustersStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AwsClustersStub(channel, callOptions); - } - }; - return AwsClustersStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static AwsClustersBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AwsClustersBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AwsClustersBlockingStub(channel, callOptions); - } - }; - return AwsClustersBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static AwsClustersFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AwsClustersFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AwsClustersFutureStub(channel, callOptions); - } - }; - return AwsClustersFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * The AwsClusters API provides a single centrally managed service
-   * to create and manage Anthos clusters that run on AWS infrastructure.
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
-     * resource on a given Google Cloud Platform project and region.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - default void createAwsCluster( - com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateAwsClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates an [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
-     * 
- */ - default void updateAwsCluster( - com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateAwsClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Describes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
-     * resource.
-     * 
- */ - default void getAwsCluster( - com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetAwsClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
-     * on a given Google Cloud project and region.
-     * 
- */ - default void listAwsClusters( - com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListAwsClustersMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
-     * resource.
-     * Fails if the cluster has one or more associated
-     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - default void deleteAwsCluster( - com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteAwsClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Generates a short-lived access token to authenticate to a given
-     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
-     * 
- */ - default void generateAwsAccessToken( - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGenerateAwsAccessTokenMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool],
-     * attached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - default void createAwsNodePool( - com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateAwsNodePoolMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates an [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
-     * 
- */ - default void updateAwsNodePool( - com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateAwsNodePoolMethod(), responseObserver); - } - - /** - * - * - *
-     * Describes a specific
-     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.
-     * 
- */ - default void getAwsNodePool( - com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetAwsNodePoolMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
-     * resources on a given
-     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
-     * 
- */ - default void listAwsNodePools( - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListAwsNodePoolsMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
-     * resource.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - default void deleteAwsNodePool( - com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteAwsNodePoolMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns information, such as supported AWS regions and Kubernetes
-     * versions, on a given Google Cloud location.
-     * 
- */ - default void getAwsServerConfig( - com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetAwsServerConfigMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service AwsClusters. - * - *
-   * The AwsClusters API provides a single centrally managed service
-   * to create and manage Anthos clusters that run on AWS infrastructure.
-   * 
- */ - public abstract static class AwsClustersImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return AwsClustersGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service AwsClusters. - * - *
-   * The AwsClusters API provides a single centrally managed service
-   * to create and manage Anthos clusters that run on AWS infrastructure.
-   * 
- */ - public static final class AwsClustersStub - extends io.grpc.stub.AbstractAsyncStub { - private AwsClustersStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AwsClustersStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AwsClustersStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
-     * resource on a given Google Cloud Platform project and region.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public void createAwsCluster( - com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateAwsClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates an [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
-     * 
- */ - public void updateAwsCluster( - com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAwsClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Describes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
-     * resource.
-     * 
- */ - public void getAwsCluster( - com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAwsClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
-     * on a given Google Cloud project and region.
-     * 
- */ - public void listAwsClusters( - com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAwsClustersMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
-     * resource.
-     * Fails if the cluster has one or more associated
-     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public void deleteAwsCluster( - com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAwsClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Generates a short-lived access token to authenticate to a given
-     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
-     * 
- */ - public void generateAwsAccessToken( - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGenerateAwsAccessTokenMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool],
-     * attached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public void createAwsNodePool( - com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateAwsNodePoolMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates an [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
-     * 
- */ - public void updateAwsNodePool( - com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAwsNodePoolMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Describes a specific
-     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.
-     * 
- */ - public void getAwsNodePool( - com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAwsNodePoolMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
-     * resources on a given
-     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
-     * 
- */ - public void listAwsNodePools( - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAwsNodePoolsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
-     * resource.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public void deleteAwsNodePool( - com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAwsNodePoolMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns information, such as supported AWS regions and Kubernetes
-     * versions, on a given Google Cloud location.
-     * 
- */ - public void getAwsServerConfig( - com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAwsServerConfigMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service AwsClusters. - * - *
-   * The AwsClusters API provides a single centrally managed service
-   * to create and manage Anthos clusters that run on AWS infrastructure.
-   * 
- */ - public static final class AwsClustersBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private AwsClustersBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AwsClustersBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AwsClustersBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
-     * resource on a given Google Cloud Platform project and region.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.longrunning.Operation createAwsCluster( - com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateAwsClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates an [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
-     * 
- */ - public com.google.longrunning.Operation updateAwsCluster( - com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAwsClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Describes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
-     * resource.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.AwsCluster getAwsCluster( - com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAwsClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
-     * on a given Google Cloud project and region.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse listAwsClusters( - com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAwsClustersMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
-     * resource.
-     * Fails if the cluster has one or more associated
-     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.longrunning.Operation deleteAwsCluster( - com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAwsClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Generates a short-lived access token to authenticate to a given
-     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse generateAwsAccessToken( - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGenerateAwsAccessTokenMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool],
-     * attached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.longrunning.Operation createAwsNodePool( - com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateAwsNodePoolMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates an [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
-     * 
- */ - public com.google.longrunning.Operation updateAwsNodePool( - com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAwsNodePoolMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Describes a specific
-     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.AwsNodePool getAwsNodePool( - com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAwsNodePoolMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
-     * resources on a given
-     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse listAwsNodePools( - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAwsNodePoolsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
-     * resource.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.longrunning.Operation deleteAwsNodePool( - com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAwsNodePoolMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns information, such as supported AWS regions and Kubernetes
-     * versions, on a given Google Cloud location.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.AwsServerConfig getAwsServerConfig( - com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAwsServerConfigMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service AwsClusters. - * - *
-   * The AwsClusters API provides a single centrally managed service
-   * to create and manage Anthos clusters that run on AWS infrastructure.
-   * 
- */ - public static final class AwsClustersFutureStub - extends io.grpc.stub.AbstractFutureStub { - private AwsClustersFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AwsClustersFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AwsClustersFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
-     * resource on a given Google Cloud Platform project and region.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createAwsCluster(com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateAwsClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates an [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateAwsCluster(com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAwsClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Describes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
-     * resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.gkemulticloud.v1.AwsCluster> - getAwsCluster(com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAwsClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
-     * on a given Google Cloud project and region.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse> - listAwsClusters(com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAwsClustersMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
-     * resource.
-     * Fails if the cluster has one or more associated
-     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteAwsCluster(com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAwsClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Generates a short-lived access token to authenticate to a given
-     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse> - generateAwsAccessToken( - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGenerateAwsAccessTokenMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool],
-     * attached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createAwsNodePool(com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateAwsNodePoolMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates an [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateAwsNodePool(com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAwsNodePoolMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Describes a specific
-     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.gkemulticloud.v1.AwsNodePool> - getAwsNodePool(com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAwsNodePoolMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
-     * resources on a given
-     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse> - listAwsNodePools(com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAwsNodePoolsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
-     * resource.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteAwsNodePool(com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAwsNodePoolMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns information, such as supported AWS regions and Kubernetes
-     * versions, on a given Google Cloud location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.gkemulticloud.v1.AwsServerConfig> - getAwsServerConfig(com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAwsServerConfigMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_AWS_CLUSTER = 0; - private static final int METHODID_UPDATE_AWS_CLUSTER = 1; - private static final int METHODID_GET_AWS_CLUSTER = 2; - private static final int METHODID_LIST_AWS_CLUSTERS = 3; - private static final int METHODID_DELETE_AWS_CLUSTER = 4; - private static final int METHODID_GENERATE_AWS_ACCESS_TOKEN = 5; - private static final int METHODID_CREATE_AWS_NODE_POOL = 6; - private static final int METHODID_UPDATE_AWS_NODE_POOL = 7; - private static final int METHODID_GET_AWS_NODE_POOL = 8; - private static final int METHODID_LIST_AWS_NODE_POOLS = 9; - private static final int METHODID_DELETE_AWS_NODE_POOL = 10; - private static final int METHODID_GET_AWS_SERVER_CONFIG = 11; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_AWS_CLUSTER: - serviceImpl.createAwsCluster( - (com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_AWS_CLUSTER: - serviceImpl.updateAwsCluster( - (com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_AWS_CLUSTER: - serviceImpl.getAwsCluster( - (com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_AWS_CLUSTERS: - serviceImpl.listAwsClusters( - (com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse>) - responseObserver); - break; - case METHODID_DELETE_AWS_CLUSTER: - serviceImpl.deleteAwsCluster( - (com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GENERATE_AWS_ACCESS_TOKEN: - serviceImpl.generateAwsAccessToken( - (com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse>) - responseObserver); - break; - case METHODID_CREATE_AWS_NODE_POOL: - serviceImpl.createAwsNodePool( - (com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_AWS_NODE_POOL: - serviceImpl.updateAwsNodePool( - (com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_AWS_NODE_POOL: - serviceImpl.getAwsNodePool( - (com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_AWS_NODE_POOLS: - serviceImpl.listAwsNodePools( - (com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse>) - responseObserver); - break; - case METHODID_DELETE_AWS_NODE_POOL: - serviceImpl.deleteAwsNodePool( - (com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_AWS_SERVER_CONFIG: - serviceImpl.getAwsServerConfig( - (com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateAwsClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_AWS_CLUSTER))) - .addMethod( - getUpdateAwsClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_AWS_CLUSTER))) - .addMethod( - getGetAwsClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest, - com.google.cloud.gkemulticloud.v1.AwsCluster>( - service, METHODID_GET_AWS_CLUSTER))) - .addMethod( - getListAwsClustersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest, - com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse>( - service, METHODID_LIST_AWS_CLUSTERS))) - .addMethod( - getDeleteAwsClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest, - com.google.longrunning.Operation>(service, METHODID_DELETE_AWS_CLUSTER))) - .addMethod( - getGenerateAwsAccessTokenMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest, - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse>( - service, METHODID_GENERATE_AWS_ACCESS_TOKEN))) - .addMethod( - getCreateAwsNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_AWS_NODE_POOL))) - .addMethod( - getUpdateAwsNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_AWS_NODE_POOL))) - .addMethod( - getGetAwsNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest, - com.google.cloud.gkemulticloud.v1.AwsNodePool>( - service, METHODID_GET_AWS_NODE_POOL))) - .addMethod( - getListAwsNodePoolsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest, - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse>( - service, METHODID_LIST_AWS_NODE_POOLS))) - .addMethod( - getDeleteAwsNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest, - com.google.longrunning.Operation>(service, METHODID_DELETE_AWS_NODE_POOL))) - .addMethod( - getGetAwsServerConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest, - com.google.cloud.gkemulticloud.v1.AwsServerConfig>( - service, METHODID_GET_AWS_SERVER_CONFIG))) - .build(); - } - - private abstract static class AwsClustersBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - AwsClustersBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("AwsClusters"); - } - } - - private static final class AwsClustersFileDescriptorSupplier - extends AwsClustersBaseDescriptorSupplier { - AwsClustersFileDescriptorSupplier() {} - } - - private static final class AwsClustersMethodDescriptorSupplier - extends AwsClustersBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - AwsClustersMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (AwsClustersGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AwsClustersFileDescriptorSupplier()) - .addMethod(getCreateAwsClusterMethod()) - .addMethod(getUpdateAwsClusterMethod()) - .addMethod(getGetAwsClusterMethod()) - .addMethod(getListAwsClustersMethod()) - .addMethod(getDeleteAwsClusterMethod()) - .addMethod(getGenerateAwsAccessTokenMethod()) - .addMethod(getCreateAwsNodePoolMethod()) - .addMethod(getUpdateAwsNodePoolMethod()) - .addMethod(getGetAwsNodePoolMethod()) - .addMethod(getListAwsNodePoolsMethod()) - .addMethod(getDeleteAwsNodePoolMethod()) - .addMethod(getGetAwsServerConfigMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java b/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java deleted file mode 100644 index 2cd97d132215..000000000000 --- a/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java +++ /dev/null @@ -1,2333 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.gkemulticloud.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * The AzureClusters API provides a single centrally managed service
- * to create and manage Anthos clusters that run on Azure infrastructure.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/gkemulticloud/v1/azure_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class AzureClustersGrpc { - - private AzureClustersGrpc() {} - - public static final java.lang.String SERVICE_NAME = "google.cloud.gkemulticloud.v1.AzureClusters"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest, - com.google.longrunning.Operation> - getCreateAzureClientMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateAzureClient", - requestType = com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest, - com.google.longrunning.Operation> - getCreateAzureClientMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest, - com.google.longrunning.Operation> - getCreateAzureClientMethod; - if ((getCreateAzureClientMethod = AzureClustersGrpc.getCreateAzureClientMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getCreateAzureClientMethod = AzureClustersGrpc.getCreateAzureClientMethod) == null) { - AzureClustersGrpc.getCreateAzureClientMethod = - getCreateAzureClientMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAzureClient")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AzureClustersMethodDescriptorSupplier("CreateAzureClient")) - .build(); - } - } - } - return getCreateAzureClientMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GetAzureClientRequest, - com.google.cloud.gkemulticloud.v1.AzureClient> - getGetAzureClientMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAzureClient", - requestType = com.google.cloud.gkemulticloud.v1.GetAzureClientRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.AzureClient.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GetAzureClientRequest, - com.google.cloud.gkemulticloud.v1.AzureClient> - getGetAzureClientMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GetAzureClientRequest, - com.google.cloud.gkemulticloud.v1.AzureClient> - getGetAzureClientMethod; - if ((getGetAzureClientMethod = AzureClustersGrpc.getGetAzureClientMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getGetAzureClientMethod = AzureClustersGrpc.getGetAzureClientMethod) == null) { - AzureClustersGrpc.getGetAzureClientMethod = - getGetAzureClientMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAzureClient")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GetAzureClientRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.AzureClient.getDefaultInstance())) - .setSchemaDescriptor( - new AzureClustersMethodDescriptorSupplier("GetAzureClient")) - .build(); - } - } - } - return getGetAzureClientMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest, - com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse> - getListAzureClientsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAzureClients", - requestType = com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest, - com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse> - getListAzureClientsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest, - com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse> - getListAzureClientsMethod; - if ((getListAzureClientsMethod = AzureClustersGrpc.getListAzureClientsMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getListAzureClientsMethod = AzureClustersGrpc.getListAzureClientsMethod) == null) { - AzureClustersGrpc.getListAzureClientsMethod = - getListAzureClientsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAzureClients")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AzureClustersMethodDescriptorSupplier("ListAzureClients")) - .build(); - } - } - } - return getListAzureClientsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest, - com.google.longrunning.Operation> - getDeleteAzureClientMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAzureClient", - requestType = com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest, - com.google.longrunning.Operation> - getDeleteAzureClientMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest, - com.google.longrunning.Operation> - getDeleteAzureClientMethod; - if ((getDeleteAzureClientMethod = AzureClustersGrpc.getDeleteAzureClientMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getDeleteAzureClientMethod = AzureClustersGrpc.getDeleteAzureClientMethod) == null) { - AzureClustersGrpc.getDeleteAzureClientMethod = - getDeleteAzureClientMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAzureClient")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AzureClustersMethodDescriptorSupplier("DeleteAzureClient")) - .build(); - } - } - } - return getDeleteAzureClientMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest, - com.google.longrunning.Operation> - getCreateAzureClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateAzureCluster", - requestType = com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest, - com.google.longrunning.Operation> - getCreateAzureClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest, - com.google.longrunning.Operation> - getCreateAzureClusterMethod; - if ((getCreateAzureClusterMethod = AzureClustersGrpc.getCreateAzureClusterMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getCreateAzureClusterMethod = AzureClustersGrpc.getCreateAzureClusterMethod) == null) { - AzureClustersGrpc.getCreateAzureClusterMethod = - getCreateAzureClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAzureCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AzureClustersMethodDescriptorSupplier("CreateAzureCluster")) - .build(); - } - } - } - return getCreateAzureClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest, - com.google.longrunning.Operation> - getUpdateAzureClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateAzureCluster", - requestType = com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest, - com.google.longrunning.Operation> - getUpdateAzureClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest, - com.google.longrunning.Operation> - getUpdateAzureClusterMethod; - if ((getUpdateAzureClusterMethod = AzureClustersGrpc.getUpdateAzureClusterMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getUpdateAzureClusterMethod = AzureClustersGrpc.getUpdateAzureClusterMethod) == null) { - AzureClustersGrpc.getUpdateAzureClusterMethod = - getUpdateAzureClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAzureCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AzureClustersMethodDescriptorSupplier("UpdateAzureCluster")) - .build(); - } - } - } - return getUpdateAzureClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest, - com.google.cloud.gkemulticloud.v1.AzureCluster> - getGetAzureClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAzureCluster", - requestType = com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.AzureCluster.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest, - com.google.cloud.gkemulticloud.v1.AzureCluster> - getGetAzureClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest, - com.google.cloud.gkemulticloud.v1.AzureCluster> - getGetAzureClusterMethod; - if ((getGetAzureClusterMethod = AzureClustersGrpc.getGetAzureClusterMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getGetAzureClusterMethod = AzureClustersGrpc.getGetAzureClusterMethod) == null) { - AzureClustersGrpc.getGetAzureClusterMethod = - getGetAzureClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAzureCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance())) - .setSchemaDescriptor( - new AzureClustersMethodDescriptorSupplier("GetAzureCluster")) - .build(); - } - } - } - return getGetAzureClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest, - com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse> - getListAzureClustersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAzureClusters", - requestType = com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest, - com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse> - getListAzureClustersMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest, - com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse> - getListAzureClustersMethod; - if ((getListAzureClustersMethod = AzureClustersGrpc.getListAzureClustersMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getListAzureClustersMethod = AzureClustersGrpc.getListAzureClustersMethod) == null) { - AzureClustersGrpc.getListAzureClustersMethod = - getListAzureClustersMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAzureClusters")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AzureClustersMethodDescriptorSupplier("ListAzureClusters")) - .build(); - } - } - } - return getListAzureClustersMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest, - com.google.longrunning.Operation> - getDeleteAzureClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAzureCluster", - requestType = com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest, - com.google.longrunning.Operation> - getDeleteAzureClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest, - com.google.longrunning.Operation> - getDeleteAzureClusterMethod; - if ((getDeleteAzureClusterMethod = AzureClustersGrpc.getDeleteAzureClusterMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getDeleteAzureClusterMethod = AzureClustersGrpc.getDeleteAzureClusterMethod) == null) { - AzureClustersGrpc.getDeleteAzureClusterMethod = - getDeleteAzureClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAzureCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AzureClustersMethodDescriptorSupplier("DeleteAzureCluster")) - .build(); - } - } - } - return getDeleteAzureClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest, - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse> - getGenerateAzureAccessTokenMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GenerateAzureAccessToken", - requestType = com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest, - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse> - getGenerateAzureAccessTokenMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest, - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse> - getGenerateAzureAccessTokenMethod; - if ((getGenerateAzureAccessTokenMethod = AzureClustersGrpc.getGenerateAzureAccessTokenMethod) - == null) { - synchronized (AzureClustersGrpc.class) { - if ((getGenerateAzureAccessTokenMethod = - AzureClustersGrpc.getGenerateAzureAccessTokenMethod) - == null) { - AzureClustersGrpc.getGenerateAzureAccessTokenMethod = - getGenerateAzureAccessTokenMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GenerateAzureAccessToken")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AzureClustersMethodDescriptorSupplier("GenerateAzureAccessToken")) - .build(); - } - } - } - return getGenerateAzureAccessTokenMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest, - com.google.longrunning.Operation> - getCreateAzureNodePoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateAzureNodePool", - requestType = com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest, - com.google.longrunning.Operation> - getCreateAzureNodePoolMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest, - com.google.longrunning.Operation> - getCreateAzureNodePoolMethod; - if ((getCreateAzureNodePoolMethod = AzureClustersGrpc.getCreateAzureNodePoolMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getCreateAzureNodePoolMethod = AzureClustersGrpc.getCreateAzureNodePoolMethod) - == null) { - AzureClustersGrpc.getCreateAzureNodePoolMethod = - getCreateAzureNodePoolMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateAzureNodePool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AzureClustersMethodDescriptorSupplier("CreateAzureNodePool")) - .build(); - } - } - } - return getCreateAzureNodePoolMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest, - com.google.longrunning.Operation> - getUpdateAzureNodePoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateAzureNodePool", - requestType = com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest, - com.google.longrunning.Operation> - getUpdateAzureNodePoolMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest, - com.google.longrunning.Operation> - getUpdateAzureNodePoolMethod; - if ((getUpdateAzureNodePoolMethod = AzureClustersGrpc.getUpdateAzureNodePoolMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getUpdateAzureNodePoolMethod = AzureClustersGrpc.getUpdateAzureNodePoolMethod) - == null) { - AzureClustersGrpc.getUpdateAzureNodePoolMethod = - getUpdateAzureNodePoolMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateAzureNodePool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AzureClustersMethodDescriptorSupplier("UpdateAzureNodePool")) - .build(); - } - } - } - return getUpdateAzureNodePoolMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest, - com.google.cloud.gkemulticloud.v1.AzureNodePool> - getGetAzureNodePoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAzureNodePool", - requestType = com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.AzureNodePool.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest, - com.google.cloud.gkemulticloud.v1.AzureNodePool> - getGetAzureNodePoolMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest, - com.google.cloud.gkemulticloud.v1.AzureNodePool> - getGetAzureNodePoolMethod; - if ((getGetAzureNodePoolMethod = AzureClustersGrpc.getGetAzureNodePoolMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getGetAzureNodePoolMethod = AzureClustersGrpc.getGetAzureNodePoolMethod) == null) { - AzureClustersGrpc.getGetAzureNodePoolMethod = - getGetAzureNodePoolMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAzureNodePool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance())) - .setSchemaDescriptor( - new AzureClustersMethodDescriptorSupplier("GetAzureNodePool")) - .build(); - } - } - } - return getGetAzureNodePoolMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest, - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse> - getListAzureNodePoolsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAzureNodePools", - requestType = com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest, - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse> - getListAzureNodePoolsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest, - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse> - getListAzureNodePoolsMethod; - if ((getListAzureNodePoolsMethod = AzureClustersGrpc.getListAzureNodePoolsMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getListAzureNodePoolsMethod = AzureClustersGrpc.getListAzureNodePoolsMethod) == null) { - AzureClustersGrpc.getListAzureNodePoolsMethod = - getListAzureNodePoolsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAzureNodePools")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AzureClustersMethodDescriptorSupplier("ListAzureNodePools")) - .build(); - } - } - } - return getListAzureNodePoolsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest, - com.google.longrunning.Operation> - getDeleteAzureNodePoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAzureNodePool", - requestType = com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest, - com.google.longrunning.Operation> - getDeleteAzureNodePoolMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest, - com.google.longrunning.Operation> - getDeleteAzureNodePoolMethod; - if ((getDeleteAzureNodePoolMethod = AzureClustersGrpc.getDeleteAzureNodePoolMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getDeleteAzureNodePoolMethod = AzureClustersGrpc.getDeleteAzureNodePoolMethod) - == null) { - AzureClustersGrpc.getDeleteAzureNodePoolMethod = - getDeleteAzureNodePoolMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteAzureNodePool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AzureClustersMethodDescriptorSupplier("DeleteAzureNodePool")) - .build(); - } - } - } - return getDeleteAzureNodePoolMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest, - com.google.cloud.gkemulticloud.v1.AzureServerConfig> - getGetAzureServerConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAzureServerConfig", - requestType = com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.AzureServerConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest, - com.google.cloud.gkemulticloud.v1.AzureServerConfig> - getGetAzureServerConfigMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest, - com.google.cloud.gkemulticloud.v1.AzureServerConfig> - getGetAzureServerConfigMethod; - if ((getGetAzureServerConfigMethod = AzureClustersGrpc.getGetAzureServerConfigMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getGetAzureServerConfigMethod = AzureClustersGrpc.getGetAzureServerConfigMethod) - == null) { - AzureClustersGrpc.getGetAzureServerConfigMethod = - getGetAzureServerConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetAzureServerConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.AzureServerConfig - .getDefaultInstance())) - .setSchemaDescriptor( - new AzureClustersMethodDescriptorSupplier("GetAzureServerConfig")) - .build(); - } - } - } - return getGetAzureServerConfigMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static AzureClustersStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AzureClustersStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AzureClustersStub(channel, callOptions); - } - }; - return AzureClustersStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static AzureClustersBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AzureClustersBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AzureClustersBlockingStub(channel, callOptions); - } - }; - return AzureClustersBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static AzureClustersFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AzureClustersFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AzureClustersFutureStub(channel, callOptions); - } - }; - return AzureClustersFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * The AzureClusters API provides a single centrally managed service
-   * to create and manage Anthos clusters that run on Azure infrastructure.
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * Creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
-     * resource on a given Google Cloud project and region.
-     * `AzureClient` resources hold client authentication
-     * information needed by the Anthos Multicloud API to manage Azure resources
-     * on your Azure subscription on your behalf.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - default void createAzureClient( - com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateAzureClientMethod(), responseObserver); - } - - /** - * - * - *
-     * Describes a specific
-     * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.
-     * 
- */ - default void getAzureClient( - com.google.cloud.gkemulticloud.v1.GetAzureClientRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetAzureClientMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
-     * resources on a given Google Cloud project and region.
-     * 
- */ - default void listAzureClients( - com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListAzureClientsMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
-     * resource.
-     * If the client is used by one or more clusters, deletion will
-     * fail and a `FAILED_PRECONDITION` error will be returned.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - default void deleteAzureClient( - com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteAzureClientMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
-     * resource on a given Google Cloud Platform project and region.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - default void createAzureCluster( - com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateAzureClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates an [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
-     * 
- */ - default void updateAzureCluster( - com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateAzureClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Describes a specific
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
-     * 
- */ - default void getAzureCluster( - com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetAzureClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
-     * resources on a given Google Cloud project and region.
-     * 
- */ - default void listAzureClusters( - com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListAzureClustersMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a specific
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
-     * Fails if the cluster has one or more associated
-     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - default void deleteAzureCluster( - com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteAzureClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Generates a short-lived access token to authenticate to a given
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
-     * 
- */ - default void generateAzureAccessToken( - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGenerateAzureAccessTokenMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool],
-     * attached to a given
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - default void createAzureNodePool( - com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateAzureNodePoolMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates an [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
-     * 
- */ - default void updateAzureNodePool( - com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateAzureNodePoolMethod(), responseObserver); - } - - /** - * - * - *
-     * Describes a specific
-     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
-     * 
- */ - default void getAzureNodePool( - com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetAzureNodePoolMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
-     * resources on a given
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
-     * 
- */ - default void listAzureNodePools( - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListAzureNodePoolsMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a specific
-     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - default void deleteAzureNodePool( - com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteAzureNodePoolMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns information, such as supported Azure regions and Kubernetes
-     * versions, on a given Google Cloud location.
-     * 
- */ - default void getAzureServerConfig( - com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetAzureServerConfigMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service AzureClusters. - * - *
-   * The AzureClusters API provides a single centrally managed service
-   * to create and manage Anthos clusters that run on Azure infrastructure.
-   * 
- */ - public abstract static class AzureClustersImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return AzureClustersGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service AzureClusters. - * - *
-   * The AzureClusters API provides a single centrally managed service
-   * to create and manage Anthos clusters that run on Azure infrastructure.
-   * 
- */ - public static final class AzureClustersStub - extends io.grpc.stub.AbstractAsyncStub { - private AzureClustersStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AzureClustersStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AzureClustersStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
-     * resource on a given Google Cloud project and region.
-     * `AzureClient` resources hold client authentication
-     * information needed by the Anthos Multicloud API to manage Azure resources
-     * on your Azure subscription on your behalf.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public void createAzureClient( - com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateAzureClientMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Describes a specific
-     * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.
-     * 
- */ - public void getAzureClient( - com.google.cloud.gkemulticloud.v1.GetAzureClientRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAzureClientMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
-     * resources on a given Google Cloud project and region.
-     * 
- */ - public void listAzureClients( - com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAzureClientsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
-     * resource.
-     * If the client is used by one or more clusters, deletion will
-     * fail and a `FAILED_PRECONDITION` error will be returned.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public void deleteAzureClient( - com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAzureClientMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
-     * resource on a given Google Cloud Platform project and region.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public void createAzureCluster( - com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateAzureClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates an [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
-     * 
- */ - public void updateAzureCluster( - com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAzureClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Describes a specific
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
-     * 
- */ - public void getAzureCluster( - com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAzureClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
-     * resources on a given Google Cloud project and region.
-     * 
- */ - public void listAzureClusters( - com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAzureClustersMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a specific
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
-     * Fails if the cluster has one or more associated
-     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public void deleteAzureCluster( - com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAzureClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Generates a short-lived access token to authenticate to a given
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
-     * 
- */ - public void generateAzureAccessToken( - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGenerateAzureAccessTokenMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a new [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool],
-     * attached to a given
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public void createAzureNodePool( - com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateAzureNodePoolMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates an [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
-     * 
- */ - public void updateAzureNodePool( - com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAzureNodePoolMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Describes a specific
-     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
-     * 
- */ - public void getAzureNodePool( - com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAzureNodePoolMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
-     * resources on a given
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
-     * 
- */ - public void listAzureNodePools( - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAzureNodePoolsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a specific
-     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public void deleteAzureNodePool( - com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAzureNodePoolMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns information, such as supported Azure regions and Kubernetes
-     * versions, on a given Google Cloud location.
-     * 
- */ - public void getAzureServerConfig( - com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAzureServerConfigMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service AzureClusters. - * - *
-   * The AzureClusters API provides a single centrally managed service
-   * to create and manage Anthos clusters that run on Azure infrastructure.
-   * 
- */ - public static final class AzureClustersBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private AzureClustersBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AzureClustersBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AzureClustersBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
-     * resource on a given Google Cloud project and region.
-     * `AzureClient` resources hold client authentication
-     * information needed by the Anthos Multicloud API to manage Azure resources
-     * on your Azure subscription on your behalf.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.longrunning.Operation createAzureClient( - com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateAzureClientMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Describes a specific
-     * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.AzureClient getAzureClient( - com.google.cloud.gkemulticloud.v1.GetAzureClientRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAzureClientMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
-     * resources on a given Google Cloud project and region.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse listAzureClients( - com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAzureClientsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
-     * resource.
-     * If the client is used by one or more clusters, deletion will
-     * fail and a `FAILED_PRECONDITION` error will be returned.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.longrunning.Operation deleteAzureClient( - com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAzureClientMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
-     * resource on a given Google Cloud Platform project and region.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.longrunning.Operation createAzureCluster( - com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateAzureClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates an [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
-     * 
- */ - public com.google.longrunning.Operation updateAzureCluster( - com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAzureClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Describes a specific
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.AzureCluster getAzureCluster( - com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAzureClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
-     * resources on a given Google Cloud project and region.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse listAzureClusters( - com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAzureClustersMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a specific
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
-     * Fails if the cluster has one or more associated
-     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.longrunning.Operation deleteAzureCluster( - com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAzureClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Generates a short-lived access token to authenticate to a given
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse - generateAzureAccessToken( - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGenerateAzureAccessTokenMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool],
-     * attached to a given
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.longrunning.Operation createAzureNodePool( - com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateAzureNodePoolMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates an [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
-     * 
- */ - public com.google.longrunning.Operation updateAzureNodePool( - com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAzureNodePoolMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Describes a specific
-     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.AzureNodePool getAzureNodePool( - com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAzureNodePoolMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
-     * resources on a given
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse listAzureNodePools( - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAzureNodePoolsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a specific
-     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.longrunning.Operation deleteAzureNodePool( - com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAzureNodePoolMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns information, such as supported Azure regions and Kubernetes
-     * versions, on a given Google Cloud location.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.AzureServerConfig getAzureServerConfig( - com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAzureServerConfigMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service AzureClusters. - * - *
-   * The AzureClusters API provides a single centrally managed service
-   * to create and manage Anthos clusters that run on Azure infrastructure.
-   * 
- */ - public static final class AzureClustersFutureStub - extends io.grpc.stub.AbstractFutureStub { - private AzureClustersFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AzureClustersFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AzureClustersFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
-     * resource on a given Google Cloud project and region.
-     * `AzureClient` resources hold client authentication
-     * information needed by the Anthos Multicloud API to manage Azure resources
-     * on your Azure subscription on your behalf.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createAzureClient(com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateAzureClientMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Describes a specific
-     * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.gkemulticloud.v1.AzureClient> - getAzureClient(com.google.cloud.gkemulticloud.v1.GetAzureClientRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAzureClientMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
-     * resources on a given Google Cloud project and region.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse> - listAzureClients(com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAzureClientsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
-     * resource.
-     * If the client is used by one or more clusters, deletion will
-     * fail and a `FAILED_PRECONDITION` error will be returned.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteAzureClient(com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAzureClientMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
-     * resource on a given Google Cloud Platform project and region.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createAzureCluster(com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateAzureClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates an [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateAzureCluster(com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAzureClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Describes a specific
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.gkemulticloud.v1.AzureCluster> - getAzureCluster(com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAzureClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
-     * resources on a given Google Cloud project and region.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse> - listAzureClusters(com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAzureClustersMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a specific
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
-     * Fails if the cluster has one or more associated
-     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteAzureCluster(com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAzureClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Generates a short-lived access token to authenticate to a given
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse> - generateAzureAccessToken( - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGenerateAzureAccessTokenMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool],
-     * attached to a given
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createAzureNodePool(com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateAzureNodePoolMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates an [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateAzureNodePool(com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAzureNodePoolMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Describes a specific
-     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.gkemulticloud.v1.AzureNodePool> - getAzureNodePool(com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAzureNodePoolMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
-     * resources on a given
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse> - listAzureNodePools(com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAzureNodePoolsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a specific
-     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteAzureNodePool(com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAzureNodePoolMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns information, such as supported Azure regions and Kubernetes
-     * versions, on a given Google Cloud location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.gkemulticloud.v1.AzureServerConfig> - getAzureServerConfig( - com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAzureServerConfigMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_AZURE_CLIENT = 0; - private static final int METHODID_GET_AZURE_CLIENT = 1; - private static final int METHODID_LIST_AZURE_CLIENTS = 2; - private static final int METHODID_DELETE_AZURE_CLIENT = 3; - private static final int METHODID_CREATE_AZURE_CLUSTER = 4; - private static final int METHODID_UPDATE_AZURE_CLUSTER = 5; - private static final int METHODID_GET_AZURE_CLUSTER = 6; - private static final int METHODID_LIST_AZURE_CLUSTERS = 7; - private static final int METHODID_DELETE_AZURE_CLUSTER = 8; - private static final int METHODID_GENERATE_AZURE_ACCESS_TOKEN = 9; - private static final int METHODID_CREATE_AZURE_NODE_POOL = 10; - private static final int METHODID_UPDATE_AZURE_NODE_POOL = 11; - private static final int METHODID_GET_AZURE_NODE_POOL = 12; - private static final int METHODID_LIST_AZURE_NODE_POOLS = 13; - private static final int METHODID_DELETE_AZURE_NODE_POOL = 14; - private static final int METHODID_GET_AZURE_SERVER_CONFIG = 15; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_AZURE_CLIENT: - serviceImpl.createAzureClient( - (com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_AZURE_CLIENT: - serviceImpl.getAzureClient( - (com.google.cloud.gkemulticloud.v1.GetAzureClientRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_AZURE_CLIENTS: - serviceImpl.listAzureClients( - (com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse>) - responseObserver); - break; - case METHODID_DELETE_AZURE_CLIENT: - serviceImpl.deleteAzureClient( - (com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_AZURE_CLUSTER: - serviceImpl.createAzureCluster( - (com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_AZURE_CLUSTER: - serviceImpl.updateAzureCluster( - (com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_AZURE_CLUSTER: - serviceImpl.getAzureCluster( - (com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_AZURE_CLUSTERS: - serviceImpl.listAzureClusters( - (com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse>) - responseObserver); - break; - case METHODID_DELETE_AZURE_CLUSTER: - serviceImpl.deleteAzureCluster( - (com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GENERATE_AZURE_ACCESS_TOKEN: - serviceImpl.generateAzureAccessToken( - (com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse>) - responseObserver); - break; - case METHODID_CREATE_AZURE_NODE_POOL: - serviceImpl.createAzureNodePool( - (com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_AZURE_NODE_POOL: - serviceImpl.updateAzureNodePool( - (com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_AZURE_NODE_POOL: - serviceImpl.getAzureNodePool( - (com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_AZURE_NODE_POOLS: - serviceImpl.listAzureNodePools( - (com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse>) - responseObserver); - break; - case METHODID_DELETE_AZURE_NODE_POOL: - serviceImpl.deleteAzureNodePool( - (com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_AZURE_SERVER_CONFIG: - serviceImpl.getAzureServerConfig( - (com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateAzureClientMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_AZURE_CLIENT))) - .addMethod( - getGetAzureClientMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.GetAzureClientRequest, - com.google.cloud.gkemulticloud.v1.AzureClient>( - service, METHODID_GET_AZURE_CLIENT))) - .addMethod( - getListAzureClientsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest, - com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse>( - service, METHODID_LIST_AZURE_CLIENTS))) - .addMethod( - getDeleteAzureClientMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest, - com.google.longrunning.Operation>(service, METHODID_DELETE_AZURE_CLIENT))) - .addMethod( - getCreateAzureClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_AZURE_CLUSTER))) - .addMethod( - getUpdateAzureClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_AZURE_CLUSTER))) - .addMethod( - getGetAzureClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest, - com.google.cloud.gkemulticloud.v1.AzureCluster>( - service, METHODID_GET_AZURE_CLUSTER))) - .addMethod( - getListAzureClustersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest, - com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse>( - service, METHODID_LIST_AZURE_CLUSTERS))) - .addMethod( - getDeleteAzureClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest, - com.google.longrunning.Operation>(service, METHODID_DELETE_AZURE_CLUSTER))) - .addMethod( - getGenerateAzureAccessTokenMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest, - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse>( - service, METHODID_GENERATE_AZURE_ACCESS_TOKEN))) - .addMethod( - getCreateAzureNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_AZURE_NODE_POOL))) - .addMethod( - getUpdateAzureNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_AZURE_NODE_POOL))) - .addMethod( - getGetAzureNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest, - com.google.cloud.gkemulticloud.v1.AzureNodePool>( - service, METHODID_GET_AZURE_NODE_POOL))) - .addMethod( - getListAzureNodePoolsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest, - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse>( - service, METHODID_LIST_AZURE_NODE_POOLS))) - .addMethod( - getDeleteAzureNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest, - com.google.longrunning.Operation>(service, METHODID_DELETE_AZURE_NODE_POOL))) - .addMethod( - getGetAzureServerConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest, - com.google.cloud.gkemulticloud.v1.AzureServerConfig>( - service, METHODID_GET_AZURE_SERVER_CONFIG))) - .build(); - } - - private abstract static class AzureClustersBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - AzureClustersBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("AzureClusters"); - } - } - - private static final class AzureClustersFileDescriptorSupplier - extends AzureClustersBaseDescriptorSupplier { - AzureClustersFileDescriptorSupplier() {} - } - - private static final class AzureClustersMethodDescriptorSupplier - extends AzureClustersBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - AzureClustersMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (AzureClustersGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AzureClustersFileDescriptorSupplier()) - .addMethod(getCreateAzureClientMethod()) - .addMethod(getGetAzureClientMethod()) - .addMethod(getListAzureClientsMethod()) - .addMethod(getDeleteAzureClientMethod()) - .addMethod(getCreateAzureClusterMethod()) - .addMethod(getUpdateAzureClusterMethod()) - .addMethod(getGetAzureClusterMethod()) - .addMethod(getListAzureClustersMethod()) - .addMethod(getDeleteAzureClusterMethod()) - .addMethod(getGenerateAzureAccessTokenMethod()) - .addMethod(getCreateAzureNodePoolMethod()) - .addMethod(getUpdateAzureNodePoolMethod()) - .addMethod(getGetAzureNodePoolMethod()) - .addMethod(getListAzureNodePoolsMethod()) - .addMethod(getDeleteAzureNodePoolMethod()) - .addMethod(getGetAzureServerConfigMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterErrorOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterErrorOrBuilder.java deleted file mode 100644 index d1e2a91f24fd..000000000000 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterErrorOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/attached_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public interface AttachedClusterErrorOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AttachedClusterError) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Human-friendly description of the error.
-   * 
- * - * string message = 1; - * - * @return The message. - */ - java.lang.String getMessage(); - /** - * - * - *
-   * Human-friendly description of the error.
-   * 
- * - * string message = 1; - * - * @return The bytes for message. - */ - com.google.protobuf.ByteString getMessageBytes(); -} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersAuthorization.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersAuthorization.java deleted file mode 100644 index 397672e37c75..000000000000 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersAuthorization.java +++ /dev/null @@ -1,1117 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/attached_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -/** - * - * - *
- * Configuration related to the cluster RBAC settings.
- * 
- * - * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedClustersAuthorization} - */ -public final class AttachedClustersAuthorization extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AttachedClustersAuthorization) - AttachedClustersAuthorizationOrBuilder { - private static final long serialVersionUID = 0L; - // Use AttachedClustersAuthorization.newBuilder() to construct. - private AttachedClustersAuthorization(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private AttachedClustersAuthorization() { - adminUsers_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AttachedClustersAuthorization(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AttachedClustersAuthorization_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AttachedClustersAuthorization_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.class, - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.Builder.class); - } - - public static final int ADMIN_USERS_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private java.util.List adminUsers_; - /** - * - * - *
-   * Required. Users that can perform operations as a cluster admin. A managed
-   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-   * to the users. Up to ten admin users can be provided.
-   *
-   * For more info on RBAC, see
-   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public java.util.List getAdminUsersList() { - return adminUsers_; - } - /** - * - * - *
-   * Required. Users that can perform operations as a cluster admin. A managed
-   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-   * to the users. Up to ten admin users can be provided.
-   *
-   * For more info on RBAC, see
-   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public java.util.List - getAdminUsersOrBuilderList() { - return adminUsers_; - } - /** - * - * - *
-   * Required. Users that can perform operations as a cluster admin. A managed
-   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-   * to the users. Up to ten admin users can be provided.
-   *
-   * For more info on RBAC, see
-   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public int getAdminUsersCount() { - return adminUsers_.size(); - } - /** - * - * - *
-   * Required. Users that can perform operations as a cluster admin. A managed
-   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-   * to the users. Up to ten admin users can be provided.
-   *
-   * For more info on RBAC, see
-   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AttachedClusterUser getAdminUsers(int index) { - return adminUsers_.get(index); - } - /** - * - * - *
-   * Required. Users that can perform operations as a cluster admin. A managed
-   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-   * to the users. Up to ten admin users can be provided.
-   *
-   * For more info on RBAC, see
-   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder getAdminUsersOrBuilder( - int index) { - return adminUsers_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < adminUsers_.size(); i++) { - output.writeMessage(1, adminUsers_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < adminUsers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, adminUsers_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization)) { - return super.equals(obj); - } - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization other = - (com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization) obj; - - if (!getAdminUsersList().equals(other.getAdminUsersList())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getAdminUsersCount() > 0) { - hash = (37 * hash) + ADMIN_USERS_FIELD_NUMBER; - hash = (53 * hash) + getAdminUsersList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Configuration related to the cluster RBAC settings.
-   * 
- * - * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedClustersAuthorization} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AttachedClustersAuthorization) - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorizationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AttachedClustersAuthorization_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AttachedClustersAuthorization_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.class, - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.Builder.class); - } - - // Construct using com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - if (adminUsersBuilder_ == null) { - adminUsers_ = java.util.Collections.emptyList(); - } else { - adminUsers_ = null; - adminUsersBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AttachedClustersAuthorization_descriptor; - } - - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization - getDefaultInstanceForType() { - return com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization build() { - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization buildPartial() { - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization result = - new com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields( - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization result) { - if (adminUsersBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - adminUsers_ = java.util.Collections.unmodifiableList(adminUsers_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.adminUsers_ = adminUsers_; - } else { - result.adminUsers_ = adminUsersBuilder_.build(); - } - } - - private void buildPartial0( - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization result) { - int from_bitField0_ = bitField0_; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization other) { - if (other - == com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.getDefaultInstance()) - return this; - if (adminUsersBuilder_ == null) { - if (!other.adminUsers_.isEmpty()) { - if (adminUsers_.isEmpty()) { - adminUsers_ = other.adminUsers_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureAdminUsersIsMutable(); - adminUsers_.addAll(other.adminUsers_); - } - onChanged(); - } - } else { - if (!other.adminUsers_.isEmpty()) { - if (adminUsersBuilder_.isEmpty()) { - adminUsersBuilder_.dispose(); - adminUsersBuilder_ = null; - adminUsers_ = other.adminUsers_; - bitField0_ = (bitField0_ & ~0x00000001); - adminUsersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAdminUsersFieldBuilder() - : null; - } else { - adminUsersBuilder_.addAllMessages(other.adminUsers_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.cloud.gkemulticloud.v1.AttachedClusterUser m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AttachedClusterUser.parser(), - extensionRegistry); - if (adminUsersBuilder_ == null) { - ensureAdminUsersIsMutable(); - adminUsers_.add(m); - } else { - adminUsersBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.util.List adminUsers_ = - java.util.Collections.emptyList(); - - private void ensureAdminUsersIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - adminUsers_ = - new java.util.ArrayList( - adminUsers_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedClusterUser, - com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder, - com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder> - adminUsersBuilder_; - - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public java.util.List - getAdminUsersList() { - if (adminUsersBuilder_ == null) { - return java.util.Collections.unmodifiableList(adminUsers_); - } else { - return adminUsersBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public int getAdminUsersCount() { - if (adminUsersBuilder_ == null) { - return adminUsers_.size(); - } else { - return adminUsersBuilder_.getCount(); - } - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.cloud.gkemulticloud.v1.AttachedClusterUser getAdminUsers(int index) { - if (adminUsersBuilder_ == null) { - return adminUsers_.get(index); - } else { - return adminUsersBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder setAdminUsers( - int index, com.google.cloud.gkemulticloud.v1.AttachedClusterUser value) { - if (adminUsersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAdminUsersIsMutable(); - adminUsers_.set(index, value); - onChanged(); - } else { - adminUsersBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder setAdminUsers( - int index, com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder builderForValue) { - if (adminUsersBuilder_ == null) { - ensureAdminUsersIsMutable(); - adminUsers_.set(index, builderForValue.build()); - onChanged(); - } else { - adminUsersBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder addAdminUsers(com.google.cloud.gkemulticloud.v1.AttachedClusterUser value) { - if (adminUsersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAdminUsersIsMutable(); - adminUsers_.add(value); - onChanged(); - } else { - adminUsersBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder addAdminUsers( - int index, com.google.cloud.gkemulticloud.v1.AttachedClusterUser value) { - if (adminUsersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAdminUsersIsMutable(); - adminUsers_.add(index, value); - onChanged(); - } else { - adminUsersBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder addAdminUsers( - com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder builderForValue) { - if (adminUsersBuilder_ == null) { - ensureAdminUsersIsMutable(); - adminUsers_.add(builderForValue.build()); - onChanged(); - } else { - adminUsersBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder addAdminUsers( - int index, com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder builderForValue) { - if (adminUsersBuilder_ == null) { - ensureAdminUsersIsMutable(); - adminUsers_.add(index, builderForValue.build()); - onChanged(); - } else { - adminUsersBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder addAllAdminUsers( - java.lang.Iterable - values) { - if (adminUsersBuilder_ == null) { - ensureAdminUsersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, adminUsers_); - onChanged(); - } else { - adminUsersBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder clearAdminUsers() { - if (adminUsersBuilder_ == null) { - adminUsers_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - adminUsersBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder removeAdminUsers(int index) { - if (adminUsersBuilder_ == null) { - ensureAdminUsersIsMutable(); - adminUsers_.remove(index); - onChanged(); - } else { - adminUsersBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder getAdminUsersBuilder( - int index) { - return getAdminUsersFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder getAdminUsersOrBuilder( - int index) { - if (adminUsersBuilder_ == null) { - return adminUsers_.get(index); - } else { - return adminUsersBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public java.util.List - getAdminUsersOrBuilderList() { - if (adminUsersBuilder_ != null) { - return adminUsersBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(adminUsers_); - } - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder addAdminUsersBuilder() { - return getAdminUsersFieldBuilder() - .addBuilder(com.google.cloud.gkemulticloud.v1.AttachedClusterUser.getDefaultInstance()); - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder addAdminUsersBuilder( - int index) { - return getAdminUsersFieldBuilder() - .addBuilder( - index, com.google.cloud.gkemulticloud.v1.AttachedClusterUser.getDefaultInstance()); - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public java.util.List - getAdminUsersBuilderList() { - return getAdminUsersFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedClusterUser, - com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder, - com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder> - getAdminUsersFieldBuilder() { - if (adminUsersBuilder_ == null) { - adminUsersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedClusterUser, - com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder, - com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder>( - adminUsers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - adminUsers_ = null; - } - return adminUsersBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AttachedClustersAuthorization) - } - - // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AttachedClustersAuthorization) - private static final com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization(); - } - - public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization - getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AttachedClustersAuthorization parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersAuthorizationOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersAuthorizationOrBuilder.java deleted file mode 100644 index b7f978ebf78d..000000000000 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersAuthorizationOrBuilder.java +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/attached_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public interface AttachedClustersAuthorizationOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AttachedClustersAuthorization) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Users that can perform operations as a cluster admin. A managed
-   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-   * to the users. Up to ten admin users can be provided.
-   *
-   * For more info on RBAC, see
-   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List getAdminUsersList(); - /** - * - * - *
-   * Required. Users that can perform operations as a cluster admin. A managed
-   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-   * to the users. Up to ten admin users can be provided.
-   *
-   * For more info on RBAC, see
-   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.gkemulticloud.v1.AttachedClusterUser getAdminUsers(int index); - /** - * - * - *
-   * Required. Users that can perform operations as a cluster admin. A managed
-   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-   * to the users. Up to ten admin users can be provided.
-   *
-   * For more info on RBAC, see
-   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - int getAdminUsersCount(); - /** - * - * - *
-   * Required. Users that can perform operations as a cluster admin. A managed
-   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-   * to the users. Up to ten admin users can be provided.
-   *
-   * For more info on RBAC, see
-   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List - getAdminUsersOrBuilderList(); - /** - * - * - *
-   * Required. Users that can perform operations as a cluster admin. A managed
-   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-   * to the users. Up to ten admin users can be provided.
-   *
-   * For more info on RBAC, see
-   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder getAdminUsersOrBuilder(int index); -} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedPlatformVersionInfoOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedPlatformVersionInfoOrBuilder.java deleted file mode 100644 index d90ba29b7fa7..000000000000 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedPlatformVersionInfoOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/attached_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public interface AttachedPlatformVersionInfoOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Platform version name.
-   * 
- * - * string version = 1; - * - * @return The version. - */ - java.lang.String getVersion(); - /** - * - * - *
-   * Platform version name.
-   * 
- * - * string version = 1; - * - * @return The bytes for version. - */ - com.google.protobuf.ByteString getVersionBytes(); -} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedResourcesProto.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedResourcesProto.java deleted file mode 100644 index 03a7f31039dc..000000000000 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedResourcesProto.java +++ /dev/null @@ -1,240 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/attached_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public final class AttachedResourcesProto { - private AttachedResourcesProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_AnnotationsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AttachedClustersAuthorization_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AttachedClustersAuthorization_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AttachedClusterUser_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AttachedClusterUser_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AttachedOidcConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AttachedOidcConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AttachedServerConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AttachedServerConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AttachedPlatformVersionInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AttachedPlatformVersionInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AttachedClusterError_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AttachedClusterError_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n6google/cloud/gkemulticloud/v1/attached" - + "_resources.proto\022\035google.cloud.gkemultic" - + "loud.v1\032\037google/api/field_behavior.proto" - + "\032\031google/api/resource.proto\0324google/clou" - + "d/gkemulticloud/v1/common_resources.prot" - + "o\032\037google/protobuf/timestamp.proto\"\336\n\n\017A" - + "ttachedCluster\022\014\n\004name\030\001 \001(\t\022\031\n\013descript" - + "ion\030\002 \001(\tB\004\342A\001\001\022L\n\013oidc_config\030\003 \001(\01321.g" - + "oogle.cloud.gkemulticloud.v1.AttachedOid" - + "cConfigB\004\342A\001\002\022\036\n\020platform_version\030\004 \001(\tB" - + "\004\342A\001\002\022\032\n\014distribution\030\020 \001(\tB\004\342A\001\002\022\034\n\016clu" - + "ster_region\030\026 \001(\tB\004\342A\001\003\0229\n\005fleet\030\005 \001(\0132$" - + ".google.cloud.gkemulticloud.v1.FleetB\004\342A" - + "\001\002\022I\n\005state\030\006 \001(\01624.google.cloud.gkemult" - + "icloud.v1.AttachedCluster.StateB\004\342A\001\003\022\021\n" - + "\003uid\030\007 \001(\tB\004\342A\001\003\022\031\n\013reconciling\030\010 \001(\010B\004\342" - + "A\001\003\0225\n\013create_time\030\t \001(\0132\032.google.protob" - + "uf.TimestampB\004\342A\001\003\0225\n\013update_time\030\n \001(\0132" - + "\032.google.protobuf.TimestampB\004\342A\001\003\022\014\n\004eta" - + "g\030\013 \001(\t\022 \n\022kubernetes_version\030\014 \001(\tB\004\342A\001" - + "\003\022Z\n\013annotations\030\r \003(\0132?.google.cloud.gk" - + "emulticloud.v1.AttachedCluster.Annotatio" - + "nsEntryB\004\342A\001\001\022]\n\030workload_identity_confi" - + "g\030\016 \001(\01325.google.cloud.gkemulticloud.v1." - + "WorkloadIdentityConfigB\004\342A\001\003\022J\n\016logging_" - + "config\030\017 \001(\0132,.google.cloud.gkemulticlou" - + "d.v1.LoggingConfigB\004\342A\001\001\022I\n\006errors\030\024 \003(\013" - + "23.google.cloud.gkemulticloud.v1.Attache" - + "dClusterErrorB\004\342A\001\003\022Y\n\rauthorization\030\025 \001" - + "(\0132<.google.cloud.gkemulticloud.v1.Attac" - + "hedClustersAuthorizationB\004\342A\001\001\022P\n\021monito" - + "ring_config\030\027 \001(\0132/.google.cloud.gkemult" - + "icloud.v1.MonitoringConfigB\004\342A\001\001\0322\n\020Anno" - + "tationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t" - + ":\0028\001\"u\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\020\n\014" - + "PROVISIONING\020\001\022\013\n\007RUNNING\020\002\022\017\n\013RECONCILI" - + "NG\020\003\022\014\n\010STOPPING\020\004\022\t\n\005ERROR\020\005\022\014\n\010DEGRADE" - + "D\020\006:~\352A{\n,gkemulticloud.googleapis.com/A" - + "ttachedCluster\022Kprojects/{project}/locat" - + "ions/{location}/attachedClusters/{attach" - + "ed_cluster}\"n\n\035AttachedClustersAuthoriza" - + "tion\022M\n\013admin_users\030\001 \003(\01322.google.cloud" - + ".gkemulticloud.v1.AttachedClusterUserB\004\342" - + "A\001\002\"-\n\023AttachedClusterUser\022\026\n\010username\030\001" - + " \001(\tB\004\342A\001\002\"<\n\022AttachedOidcConfig\022\022\n\nissu" - + "er_url\030\001 \001(\t\022\022\n\004jwks\030\002 \001(\014B\004\342A\001\001\"\356\001\n\024Att" - + "achedServerConfig\022\014\n\004name\030\001 \001(\t\022R\n\016valid" - + "_versions\030\002 \003(\0132:.google.cloud.gkemultic" - + "loud.v1.AttachedPlatformVersionInfo:t\352Aq" - + "\n1gkemulticloud.googleapis.com/AttachedS" - + "erverConfig\022 - * Configuration related to the cluster RBAC settings. - * - * - * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsAuthorization} - */ -public final class AwsAuthorization extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsAuthorization) - AwsAuthorizationOrBuilder { - private static final long serialVersionUID = 0L; - // Use AwsAuthorization.newBuilder() to construct. - private AwsAuthorization(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private AwsAuthorization() { - adminUsers_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AwsAuthorization(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsAuthorization.class, - com.google.cloud.gkemulticloud.v1.AwsAuthorization.Builder.class); - } - - public static final int ADMIN_USERS_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private java.util.List adminUsers_; - /** - * - * - *
-   * Required. Users that can perform operations as a cluster admin. A managed
-   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-   * to the users. Up to ten admin users can be provided.
-   *
-   * For more info on RBAC, see
-   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public java.util.List getAdminUsersList() { - return adminUsers_; - } - /** - * - * - *
-   * Required. Users that can perform operations as a cluster admin. A managed
-   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-   * to the users. Up to ten admin users can be provided.
-   *
-   * For more info on RBAC, see
-   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public java.util.List - getAdminUsersOrBuilderList() { - return adminUsers_; - } - /** - * - * - *
-   * Required. Users that can perform operations as a cluster admin. A managed
-   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-   * to the users. Up to ten admin users can be provided.
-   *
-   * For more info on RBAC, see
-   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public int getAdminUsersCount() { - return adminUsers_.size(); - } - /** - * - * - *
-   * Required. Users that can perform operations as a cluster admin. A managed
-   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-   * to the users. Up to ten admin users can be provided.
-   *
-   * For more info on RBAC, see
-   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsClusterUser getAdminUsers(int index) { - return adminUsers_.get(index); - } - /** - * - * - *
-   * Required. Users that can perform operations as a cluster admin. A managed
-   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-   * to the users. Up to ten admin users can be provided.
-   *
-   * For more info on RBAC, see
-   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder getAdminUsersOrBuilder( - int index) { - return adminUsers_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < adminUsers_.size(); i++) { - output.writeMessage(1, adminUsers_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < adminUsers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, adminUsers_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsAuthorization)) { - return super.equals(obj); - } - com.google.cloud.gkemulticloud.v1.AwsAuthorization other = - (com.google.cloud.gkemulticloud.v1.AwsAuthorization) obj; - - if (!getAdminUsersList().equals(other.getAdminUsersList())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getAdminUsersCount() > 0) { - hash = (37 * hash) + ADMIN_USERS_FIELD_NUMBER; - hash = (53 * hash) + getAdminUsersList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsAuthorization prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Configuration related to the cluster RBAC settings.
-   * 
- * - * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsAuthorization} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsAuthorization) - com.google.cloud.gkemulticloud.v1.AwsAuthorizationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsAuthorization.class, - com.google.cloud.gkemulticloud.v1.AwsAuthorization.Builder.class); - } - - // Construct using com.google.cloud.gkemulticloud.v1.AwsAuthorization.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - if (adminUsersBuilder_ == null) { - adminUsers_ = java.util.Collections.emptyList(); - } else { - adminUsers_ = null; - adminUsersBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_descriptor; - } - - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsAuthorization getDefaultInstanceForType() { - return com.google.cloud.gkemulticloud.v1.AwsAuthorization.getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsAuthorization build() { - com.google.cloud.gkemulticloud.v1.AwsAuthorization result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsAuthorization buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsAuthorization result = - new com.google.cloud.gkemulticloud.v1.AwsAuthorization(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields( - com.google.cloud.gkemulticloud.v1.AwsAuthorization result) { - if (adminUsersBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - adminUsers_ = java.util.Collections.unmodifiableList(adminUsers_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.adminUsers_ = adminUsers_; - } else { - result.adminUsers_ = adminUsersBuilder_.build(); - } - } - - private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsAuthorization result) { - int from_bitField0_ = bitField0_; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.gkemulticloud.v1.AwsAuthorization) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsAuthorization) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsAuthorization other) { - if (other == com.google.cloud.gkemulticloud.v1.AwsAuthorization.getDefaultInstance()) - return this; - if (adminUsersBuilder_ == null) { - if (!other.adminUsers_.isEmpty()) { - if (adminUsers_.isEmpty()) { - adminUsers_ = other.adminUsers_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureAdminUsersIsMutable(); - adminUsers_.addAll(other.adminUsers_); - } - onChanged(); - } - } else { - if (!other.adminUsers_.isEmpty()) { - if (adminUsersBuilder_.isEmpty()) { - adminUsersBuilder_.dispose(); - adminUsersBuilder_ = null; - adminUsers_ = other.adminUsers_; - bitField0_ = (bitField0_ & ~0x00000001); - adminUsersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAdminUsersFieldBuilder() - : null; - } else { - adminUsersBuilder_.addAllMessages(other.adminUsers_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.cloud.gkemulticloud.v1.AwsClusterUser m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsClusterUser.parser(), - extensionRegistry); - if (adminUsersBuilder_ == null) { - ensureAdminUsersIsMutable(); - adminUsers_.add(m); - } else { - adminUsersBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.util.List adminUsers_ = - java.util.Collections.emptyList(); - - private void ensureAdminUsersIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - adminUsers_ = - new java.util.ArrayList(adminUsers_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsClusterUser, - com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder, - com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder> - adminUsersBuilder_; - - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public java.util.List getAdminUsersList() { - if (adminUsersBuilder_ == null) { - return java.util.Collections.unmodifiableList(adminUsers_); - } else { - return adminUsersBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public int getAdminUsersCount() { - if (adminUsersBuilder_ == null) { - return adminUsers_.size(); - } else { - return adminUsersBuilder_.getCount(); - } - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.cloud.gkemulticloud.v1.AwsClusterUser getAdminUsers(int index) { - if (adminUsersBuilder_ == null) { - return adminUsers_.get(index); - } else { - return adminUsersBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder setAdminUsers( - int index, com.google.cloud.gkemulticloud.v1.AwsClusterUser value) { - if (adminUsersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAdminUsersIsMutable(); - adminUsers_.set(index, value); - onChanged(); - } else { - adminUsersBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder setAdminUsers( - int index, com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder builderForValue) { - if (adminUsersBuilder_ == null) { - ensureAdminUsersIsMutable(); - adminUsers_.set(index, builderForValue.build()); - onChanged(); - } else { - adminUsersBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder addAdminUsers(com.google.cloud.gkemulticloud.v1.AwsClusterUser value) { - if (adminUsersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAdminUsersIsMutable(); - adminUsers_.add(value); - onChanged(); - } else { - adminUsersBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder addAdminUsers( - int index, com.google.cloud.gkemulticloud.v1.AwsClusterUser value) { - if (adminUsersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAdminUsersIsMutable(); - adminUsers_.add(index, value); - onChanged(); - } else { - adminUsersBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder addAdminUsers( - com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder builderForValue) { - if (adminUsersBuilder_ == null) { - ensureAdminUsersIsMutable(); - adminUsers_.add(builderForValue.build()); - onChanged(); - } else { - adminUsersBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder addAdminUsers( - int index, com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder builderForValue) { - if (adminUsersBuilder_ == null) { - ensureAdminUsersIsMutable(); - adminUsers_.add(index, builderForValue.build()); - onChanged(); - } else { - adminUsersBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder addAllAdminUsers( - java.lang.Iterable values) { - if (adminUsersBuilder_ == null) { - ensureAdminUsersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, adminUsers_); - onChanged(); - } else { - adminUsersBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder clearAdminUsers() { - if (adminUsersBuilder_ == null) { - adminUsers_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - adminUsersBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder removeAdminUsers(int index) { - if (adminUsersBuilder_ == null) { - ensureAdminUsersIsMutable(); - adminUsers_.remove(index); - onChanged(); - } else { - adminUsersBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder getAdminUsersBuilder( - int index) { - return getAdminUsersFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder getAdminUsersOrBuilder( - int index) { - if (adminUsersBuilder_ == null) { - return adminUsers_.get(index); - } else { - return adminUsersBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public java.util.List - getAdminUsersOrBuilderList() { - if (adminUsersBuilder_ != null) { - return adminUsersBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(adminUsers_); - } - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder addAdminUsersBuilder() { - return getAdminUsersFieldBuilder() - .addBuilder(com.google.cloud.gkemulticloud.v1.AwsClusterUser.getDefaultInstance()); - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder addAdminUsersBuilder( - int index) { - return getAdminUsersFieldBuilder() - .addBuilder(index, com.google.cloud.gkemulticloud.v1.AwsClusterUser.getDefaultInstance()); - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public java.util.List - getAdminUsersBuilderList() { - return getAdminUsersFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsClusterUser, - com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder, - com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder> - getAdminUsersFieldBuilder() { - if (adminUsersBuilder_ == null) { - adminUsersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsClusterUser, - com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder, - com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder>( - adminUsers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - adminUsers_ = null; - } - return adminUsersBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsAuthorization) - } - - // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsAuthorization) - private static final com.google.cloud.gkemulticloud.v1.AwsAuthorization DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsAuthorization(); - } - - public static com.google.cloud.gkemulticloud.v1.AwsAuthorization getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsAuthorization parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsAuthorization getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorizationOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorizationOrBuilder.java deleted file mode 100644 index d5f73e3e1876..000000000000 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorizationOrBuilder.java +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/aws_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public interface AwsAuthorizationOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsAuthorization) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Users that can perform operations as a cluster admin. A managed
-   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-   * to the users. Up to ten admin users can be provided.
-   *
-   * For more info on RBAC, see
-   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List getAdminUsersList(); - /** - * - * - *
-   * Required. Users that can perform operations as a cluster admin. A managed
-   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-   * to the users. Up to ten admin users can be provided.
-   *
-   * For more info on RBAC, see
-   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.gkemulticloud.v1.AwsClusterUser getAdminUsers(int index); - /** - * - * - *
-   * Required. Users that can perform operations as a cluster admin. A managed
-   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-   * to the users. Up to ten admin users can be provided.
-   *
-   * For more info on RBAC, see
-   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - int getAdminUsersCount(); - /** - * - * - *
-   * Required. Users that can perform operations as a cluster admin. A managed
-   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-   * to the users. Up to ten admin users can be provided.
-   *
-   * For more info on RBAC, see
-   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List - getAdminUsersOrBuilderList(); - /** - * - * - *
-   * Required. Users that can perform operations as a cluster admin. A managed
-   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-   * to the users. Up to ten admin users can be provided.
-   *
-   * For more info on RBAC, see
-   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder getAdminUsersOrBuilder(int index); -} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterErrorOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterErrorOrBuilder.java deleted file mode 100644 index 532a9e4712c8..000000000000 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterErrorOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/aws_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public interface AwsClusterErrorOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsClusterError) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Human-friendly description of the error.
-   * 
- * - * string message = 1; - * - * @return The message. - */ - java.lang.String getMessage(); - /** - * - * - *
-   * Human-friendly description of the error.
-   * 
- * - * string message = 1; - * - * @return The bytes for message. - */ - com.google.protobuf.ByteString getMessageBytes(); -} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacementOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacementOrBuilder.java deleted file mode 100644 index 625bb197f62f..000000000000 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacementOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/aws_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public interface AwsInstancePlacementOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsInstancePlacement) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The tenancy for instance.
-   * 
- * - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The enum numeric value on the wire for tenancy. - */ - int getTenancyValue(); - /** - * - * - *
-   * Required. The tenancy for instance.
-   * 
- * - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The tenancy. - */ - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy getTenancy(); -} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfo.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfo.java deleted file mode 100644 index 81cf1930c557..000000000000 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfo.java +++ /dev/null @@ -1,624 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/aws_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -/** - * - * - *
- * Kubernetes version information of GKE cluster on AWS.
- * 
- * - * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsK8sVersionInfo} - */ -public final class AwsK8sVersionInfo extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsK8sVersionInfo) - AwsK8sVersionInfoOrBuilder { - private static final long serialVersionUID = 0L; - // Use AwsK8sVersionInfo.newBuilder() to construct. - private AwsK8sVersionInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private AwsK8sVersionInfo() { - version_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AwsK8sVersionInfo(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.class, - com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder.class); - } - - public static final int VERSION_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object version_ = ""; - /** - * - * - *
-   * Kubernetes version name.
-   * 
- * - * string version = 1; - * - * @return The version. - */ - @java.lang.Override - public java.lang.String getVersion() { - java.lang.Object ref = version_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - version_ = s; - return s; - } - } - /** - * - * - *
-   * Kubernetes version name.
-   * 
- * - * string version = 1; - * - * @return The bytes for version. - */ - @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { - java.lang.Object ref = version_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - version_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, version_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo)) { - return super.equals(obj); - } - com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo other = - (com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo) obj; - - if (!getVersion().equals(other.getVersion())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + VERSION_FIELD_NUMBER; - hash = (53 * hash) + getVersion().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Kubernetes version information of GKE cluster on AWS.
-   * 
- * - * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsK8sVersionInfo} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsK8sVersionInfo) - com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.class, - com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder.class); - } - - // Construct using com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - version_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_descriptor; - } - - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo getDefaultInstanceForType() { - return com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo build() { - com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo result = - new com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.version_ = version_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo other) { - if (other == com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.getDefaultInstance()) - return this; - if (!other.getVersion().isEmpty()) { - version_ = other.version_; - bitField0_ |= 0x00000001; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - version_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object version_ = ""; - /** - * - * - *
-     * Kubernetes version name.
-     * 
- * - * string version = 1; - * - * @return The version. - */ - public java.lang.String getVersion() { - java.lang.Object ref = version_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - version_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * Kubernetes version name.
-     * 
- * - * string version = 1; - * - * @return The bytes for version. - */ - public com.google.protobuf.ByteString getVersionBytes() { - java.lang.Object ref = version_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - version_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * Kubernetes version name.
-     * 
- * - * string version = 1; - * - * @param value The version to set. - * @return This builder for chaining. - */ - public Builder setVersion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - version_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - /** - * - * - *
-     * Kubernetes version name.
-     * 
- * - * string version = 1; - * - * @return This builder for chaining. - */ - public Builder clearVersion() { - version_ = getDefaultInstance().getVersion(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * - * - *
-     * Kubernetes version name.
-     * 
- * - * string version = 1; - * - * @param value The bytes for version to set. - * @return This builder for chaining. - */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - version_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsK8sVersionInfo) - } - - // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsK8sVersionInfo) - private static final com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo(); - } - - public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsK8sVersionInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfoOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfoOrBuilder.java deleted file mode 100644 index f79c4dd1897b..000000000000 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfoOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/aws_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public interface AwsK8sVersionInfoOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsK8sVersionInfo) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Kubernetes version name.
-   * 
- * - * string version = 1; - * - * @return The version. - */ - java.lang.String getVersion(); - /** - * - * - *
-   * Kubernetes version name.
-   * 
- * - * string version = 1; - * - * @return The bytes for version. - */ - com.google.protobuf.ByteString getVersionBytes(); -} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolErrorOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolErrorOrBuilder.java deleted file mode 100644 index d8621cb66ca2..000000000000 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolErrorOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/aws_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public interface AwsNodePoolErrorOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsNodePoolError) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Human-friendly description of the error.
-   * 
- * - * string message = 1; - * - * @return The message. - */ - java.lang.String getMessage(); - /** - * - * - *
-   * Human-friendly description of the error.
-   * 
- * - * string message = 1; - * - * @return The bytes for message. - */ - com.google.protobuf.ByteString getMessageBytes(); -} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java deleted file mode 100644 index 5fe728ea81a4..000000000000 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java +++ /dev/null @@ -1,585 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/aws_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public final class AwsResourcesProto { - private AwsResourcesProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsCluster_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsCluster_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsCluster_AnnotationsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsCluster_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_TagsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_TagsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_AnnotationsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_TagsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_TagsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n1google/cloud/gkemulticloud/v1/aws_reso" - + "urces.proto\022\035google.cloud.gkemulticloud." - + "v1\032\037google/api/field_behavior.proto\032\031goo" - + "gle/api/resource.proto\0324google/cloud/gke" - + "multicloud/v1/common_resources.proto\032\037go" - + "ogle/protobuf/timestamp.proto\"\330\n\n\nAwsClu" - + "ster\022\014\n\004name\030\001 \001(\t\022\031\n\013description\030\002 \001(\tB" - + "\004\342A\001\001\022M\n\nnetworking\030\003 \001(\01323.google.cloud" - + ".gkemulticloud.v1.AwsClusterNetworkingB\004" - + "\342A\001\002\022\030\n\naws_region\030\004 \001(\tB\004\342A\001\002\022K\n\rcontro" - + "l_plane\030\005 \001(\0132..google.cloud.gkemulticlo" - + "ud.v1.AwsControlPlaneB\004\342A\001\002\022L\n\rauthoriza" - + "tion\030\017 \001(\0132/.google.cloud.gkemulticloud." - + "v1.AwsAuthorizationB\004\342A\001\002\022D\n\005state\030\007 \001(\016" - + "2/.google.cloud.gkemulticloud.v1.AwsClus" - + "ter.StateB\004\342A\001\003\022\026\n\010endpoint\030\010 \001(\tB\004\342A\001\003\022" - + "\021\n\003uid\030\t \001(\tB\004\342A\001\003\022\031\n\013reconciling\030\n \001(\010B" - + "\004\342A\001\003\0225\n\013create_time\030\013 \001(\0132\032.google.prot" - + "obuf.TimestampB\004\342A\001\003\0225\n\013update_time\030\014 \001(" - + "\0132\032.google.protobuf.TimestampB\004\342A\001\003\022\014\n\004e" - + "tag\030\r \001(\t\022U\n\013annotations\030\016 \003(\0132:.google." - + "cloud.gkemulticloud.v1.AwsCluster.Annota" - + "tionsEntryB\004\342A\001\001\022]\n\030workload_identity_co" - + "nfig\030\020 \001(\01325.google.cloud.gkemulticloud." - + "v1.WorkloadIdentityConfigB\004\342A\001\003\022$\n\026clust" - + "er_ca_certificate\030\021 \001(\tB\004\342A\001\003\0229\n\005fleet\030\022" - + " \001(\0132$.google.cloud.gkemulticloud.v1.Fle" - + "etB\004\342A\001\002\022J\n\016logging_config\030\023 \001(\0132,.googl" - + "e.cloud.gkemulticloud.v1.LoggingConfigB\004" - + "\342A\001\001\022D\n\006errors\030\024 \003(\0132..google.cloud.gkem" - + "ulticloud.v1.AwsClusterErrorB\004\342A\001\003\022P\n\021mo" - + "nitoring_config\030\025 \001(\0132/.google.cloud.gke" - + "multicloud.v1.MonitoringConfigB\004\342A\001\001\0322\n\020" - + "AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" - + " \001(\t:\0028\001\"u\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000" - + "\022\020\n\014PROVISIONING\020\001\022\013\n\007RUNNING\020\002\022\017\n\013RECON" - + "CILING\020\003\022\014\n\010STOPPING\020\004\022\t\n\005ERROR\020\005\022\014\n\010DEG" - + "RADED\020\006:o\352Al\n\'gkemulticloud.googleapis.c" - + "om/AwsCluster\022Aprojects/{project}/locati" - + "ons/{location}/awsClusters/{aws_cluster}" - + "\"\266\007\n\017AwsControlPlane\022\025\n\007version\030\001 \001(\tB\004\342" - + "A\001\002\022\033\n\rinstance_type\030\002 \001(\tB\004\342A\001\001\022E\n\nssh_" - + "config\030\016 \001(\0132+.google.cloud.gkemulticlou" - + "d.v1.AwsSshConfigB\004\342A\001\001\022\030\n\nsubnet_ids\030\004 " - + "\003(\tB\004\342A\001\002\022 \n\022security_group_ids\030\005 \003(\tB\004\342" - + "A\001\001\022\"\n\024iam_instance_profile\030\007 \001(\tB\004\342A\001\002\022" - + "K\n\013root_volume\030\010 \001(\01320.google.cloud.gkem" - + "ulticloud.v1.AwsVolumeTemplateB\004\342A\001\001\022K\n\013" - + "main_volume\030\t \001(\01320.google.cloud.gkemult" - + "icloud.v1.AwsVolumeTemplateB\004\342A\001\001\022W\n\023dat" - + "abase_encryption\030\n \001(\01324.google.cloud.gk" - + "emulticloud.v1.AwsDatabaseEncryptionB\004\342A" - + "\001\002\022L\n\004tags\030\013 \003(\01328.google.cloud.gkemulti" - + "cloud.v1.AwsControlPlane.TagsEntryB\004\342A\001\001" - + "\022c\n\033aws_services_authentication\030\014 \001(\01328." - + "google.cloud.gkemulticloud.v1.AwsService" - + "sAuthenticationB\004\342A\001\002\022I\n\014proxy_config\030\020 " - + "\001(\0132-.google.cloud.gkemulticloud.v1.AwsP" - + "roxyConfigB\004\342A\001\001\022S\n\021config_encryption\030\021 " - + "\001(\01322.google.cloud.gkemulticloud.v1.AwsC" - + "onfigEncryptionB\004\342A\001\002\022U\n\022instance_placem" - + "ent\030\022 \001(\01323.google.cloud.gkemulticloud.v" - + "1.AwsInstancePlacementB\004\342A\001\001\032+\n\tTagsEntr" - + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\031Aws" - + "ServicesAuthentication\022\026\n\010role_arn\030\001 \001(\t" - + "B\004\342A\001\002\022\037\n\021role_session_name\030\002 \001(\tB\004\342A\001\001\"" - + "\\\n\020AwsAuthorization\022H\n\013admin_users\030\001 \003(\013" - + "2-.google.cloud.gkemulticloud.v1.AwsClus" - + "terUserB\004\342A\001\002\"(\n\016AwsClusterUser\022\026\n\010usern" - + "ame\030\001 \001(\tB\004\342A\001\002\"2\n\025AwsDatabaseEncryption" - + "\022\031\n\013kms_key_arn\030\001 \001(\tB\004\342A\001\002\"\357\001\n\021AwsVolum" - + "eTemplate\022\026\n\010size_gib\030\001 \001(\005B\004\342A\001\001\022V\n\013vol" - + "ume_type\030\002 \001(\0162;.google.cloud.gkemulticl" - + "oud.v1.AwsVolumeTemplate.VolumeTypeB\004\342A\001" - + "\001\022\022\n\004iops\030\003 \001(\005B\004\342A\001\001\022\031\n\013kms_key_arn\030\004 \001" - + "(\tB\004\342A\001\001\";\n\nVolumeType\022\033\n\027VOLUME_TYPE_UN" - + "SPECIFIED\020\000\022\007\n\003GP2\020\001\022\007\n\003GP3\020\002\"~\n\024AwsClus" - + "terNetworking\022\024\n\006vpc_id\030\001 \001(\tB\004\342A\001\002\022%\n\027p" - + "od_address_cidr_blocks\030\002 \003(\tB\004\342A\001\002\022)\n\033se" - + "rvice_address_cidr_blocks\030\003 \003(\tB\004\342A\001\002\"\202\010" - + "\n\013AwsNodePool\022\014\n\004name\030\001 \001(\t\022\025\n\007version\030\003" - + " \001(\tB\004\342A\001\002\022B\n\006config\030\034 \001(\0132,.google.clou" - + "d.gkemulticloud.v1.AwsNodeConfigB\004\342A\001\002\022P" - + "\n\013autoscaling\030\031 \001(\01325.google.cloud.gkemu" - + "lticloud.v1.AwsNodePoolAutoscalingB\004\342A\001\002" - + "\022\027\n\tsubnet_id\030\006 \001(\tB\004\342A\001\002\022E\n\005state\030\020 \001(\016" - + "20.google.cloud.gkemulticloud.v1.AwsNode" - + "Pool.StateB\004\342A\001\003\022\021\n\003uid\030\021 \001(\tB\004\342A\001\003\022\031\n\013r" - + "econciling\030\022 \001(\010B\004\342A\001\003\0225\n\013create_time\030\023 " - + "\001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\0225\n" - + "\013update_time\030\024 \001(\0132\032.google.protobuf.Tim" - + "estampB\004\342A\001\003\022\014\n\004etag\030\025 \001(\t\022V\n\013annotation" - + "s\030\026 \003(\0132;.google.cloud.gkemulticloud.v1." - + "AwsNodePool.AnnotationsEntryB\004\342A\001\001\022S\n\023ma" - + "x_pods_constraint\030\033 \001(\01320.google.cloud.g" - + "kemulticloud.v1.MaxPodsConstraintB\004\342A\001\002\022" - + "E\n\006errors\030\035 \003(\0132/.google.cloud.gkemultic" - + "loud.v1.AwsNodePoolErrorB\004\342A\001\003\0322\n\020Annota" - + "tionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" - + "8\001\"u\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\020\n\014PR" - + "OVISIONING\020\001\022\013\n\007RUNNING\020\002\022\017\n\013RECONCILING" - + "\020\003\022\014\n\010STOPPING\020\004\022\t\n\005ERROR\020\005\022\014\n\010DEGRADED\020" - + "\006:\216\001\352A\212\001\n(gkemulticloud.googleapis.com/A" - + "wsNodePool\022^projects/{project}/locations" - + "/{location}/awsClusters/{aws_cluster}/aw" - + "sNodePools/{aws_node_pool}\"\302\007\n\rAwsNodeCo" - + "nfig\022\033\n\rinstance_type\030\001 \001(\tB\004\342A\001\001\022K\n\013roo" - + "t_volume\030\002 \001(\01320.google.cloud.gkemulticl" - + "oud.v1.AwsVolumeTemplateB\004\342A\001\001\022>\n\006taints" - + "\030\003 \003(\0132(.google.cloud.gkemulticloud.v1.N" - + "odeTaintB\004\342A\001\001\022N\n\006labels\030\004 \003(\01328.google." - + "cloud.gkemulticloud.v1.AwsNodeConfig.Lab" - + "elsEntryB\004\342A\001\001\022J\n\004tags\030\005 \003(\01326.google.cl" - + "oud.gkemulticloud.v1.AwsNodeConfig.TagsE" - + "ntryB\004\342A\001\001\022\"\n\024iam_instance_profile\030\006 \001(\t" - + "B\004\342A\001\002\022\030\n\nimage_type\030\013 \001(\tB\004\342A\001\001\022E\n\nssh_" - + "config\030\t \001(\0132+.google.cloud.gkemulticlou" - + "d.v1.AwsSshConfigB\004\342A\001\001\022 \n\022security_grou" - + "p_ids\030\n \003(\tB\004\342A\001\001\022I\n\014proxy_config\030\014 \001(\0132" - + "-.google.cloud.gkemulticloud.v1.AwsProxy" - + "ConfigB\004\342A\001\001\022S\n\021config_encryption\030\r \001(\0132" - + "2.google.cloud.gkemulticloud.v1.AwsConfi" - + "gEncryptionB\004\342A\001\002\022U\n\022instance_placement\030" - + "\016 \001(\01323.google.cloud.gkemulticloud.v1.Aw" - + "sInstancePlacementB\004\342A\001\001\022q\n\036autoscaling_" - + "metrics_collection\030\017 \001(\0132C.google.cloud." - + "gkemulticloud.v1.AwsAutoscalingGroupMetr" - + "icsCollectionB\004\342A\001\001\032-\n\013LabelsEntry\022\013\n\003ke" - + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032+\n\tTagsEntry\022" - + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\026AwsNo" - + "dePoolAutoscaling\022\034\n\016min_node_count\030\001 \001(" - + "\005B\004\342A\001\002\022\034\n\016max_node_count\030\002 \001(\005B\004\342A\001\002\"\364\001" - + "\n\017AwsServerConfig\022\014\n\004name\030\001 \001(\t\022H\n\016valid" - + "_versions\030\002 \003(\01320.google.cloud.gkemultic" - + "loud.v1.AwsK8sVersionInfo\022\035\n\025supported_a" - + "ws_regions\030\003 \003(\t:j\352Ag\n,gkemulticloud.goo" - + "gleapis.com/AwsServerConfig\0227projects/{p" - + "roject}/locations/{location}/awsServerCo" - + "nfig\"$\n\021AwsK8sVersionInfo\022\017\n\007version\030\001 \001" - + "(\t\"*\n\014AwsSshConfig\022\032\n\014ec2_key_pair\030\001 \001(\t" - + "B\004\342A\001\002\"<\n\016AwsProxyConfig\022\022\n\nsecret_arn\030\001" - + " \001(\t\022\026\n\016secret_version\030\002 \001(\t\"0\n\023AwsConfi" - + "gEncryption\022\031\n\013kms_key_arn\030\001 \001(\tB\004\342A\001\002\"\264" - + "\001\n\024AwsInstancePlacement\022R\n\007tenancy\030\001 \001(\016" - + "2;.google.cloud.gkemulticloud.v1.AwsInst" - + "ancePlacement.TenancyB\004\342A\001\002\"H\n\007Tenancy\022\027" - + "\n\023TENANCY_UNSPECIFIED\020\000\022\013\n\007DEFAULT\020\001\022\r\n\t" - + "DEDICATED\020\002\022\010\n\004HOST\020\003\"X\n$AwsAutoscalingG" - + "roupMetricsCollection\022\031\n\013granularity\030\001 \001" - + "(\tB\004\342A\001\002\022\025\n\007metrics\030\002 \003(\tB\004\342A\001\001\"\"\n\017AwsCl" - + "usterError\022\017\n\007message\030\001 \001(\t\"#\n\020AwsNodePo" - + "olError\022\017\n\007message\030\001 \001(\tB\344\001\n!com.google." - + "cloud.gkemulticloud.v1B\021AwsResourcesProt" - + "oP\001ZGcloud.google.com/go/gkemulticloud/a" - + "piv1/gkemulticloudpb;gkemulticloudpb\252\002\035G" - + "oogle.Cloud.GkeMultiCloud.V1\312\002\035Google\\Cl" - + "oud\\GkeMultiCloud\\V1\352\002 Google::Cloud::Gk" - + "eMultiCloud::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.gkemulticloud.v1.CommonResourcesProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_gkemulticloud_v1_AwsCluster_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_gkemulticloud_v1_AwsCluster_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsCluster_descriptor, - new java.lang.String[] { - "Name", - "Description", - "Networking", - "AwsRegion", - "ControlPlane", - "Authorization", - "State", - "Endpoint", - "Uid", - "Reconciling", - "CreateTime", - "UpdateTime", - "Etag", - "Annotations", - "WorkloadIdentityConfig", - "ClusterCaCertificate", - "Fleet", - "LoggingConfig", - "Errors", - "MonitoringConfig", - }); - internal_static_google_cloud_gkemulticloud_v1_AwsCluster_AnnotationsEntry_descriptor = - internal_static_google_cloud_gkemulticloud_v1_AwsCluster_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_gkemulticloud_v1_AwsCluster_AnnotationsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsCluster_AnnotationsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_descriptor, - new java.lang.String[] { - "Version", - "InstanceType", - "SshConfig", - "SubnetIds", - "SecurityGroupIds", - "IamInstanceProfile", - "RootVolume", - "MainVolume", - "DatabaseEncryption", - "Tags", - "AwsServicesAuthentication", - "ProxyConfig", - "ConfigEncryption", - "InstancePlacement", - }); - internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_TagsEntry_descriptor = - internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_TagsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_TagsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_descriptor, - new java.lang.String[] { - "RoleArn", "RoleSessionName", - }); - internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_descriptor, - new java.lang.String[] { - "AdminUsers", - }); - internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_descriptor, - new java.lang.String[] { - "Username", - }); - internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_descriptor, - new java.lang.String[] { - "KmsKeyArn", - }); - internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_descriptor, - new java.lang.String[] { - "SizeGib", "VolumeType", "Iops", "KmsKeyArn", - }); - internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_descriptor, - new java.lang.String[] { - "VpcId", "PodAddressCidrBlocks", "ServiceAddressCidrBlocks", - }); - internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_descriptor, - new java.lang.String[] { - "Name", - "Version", - "Config", - "Autoscaling", - "SubnetId", - "State", - "Uid", - "Reconciling", - "CreateTime", - "UpdateTime", - "Etag", - "Annotations", - "MaxPodsConstraint", - "Errors", - }); - internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_AnnotationsEntry_descriptor = - internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_AnnotationsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_AnnotationsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_descriptor, - new java.lang.String[] { - "InstanceType", - "RootVolume", - "Taints", - "Labels", - "Tags", - "IamInstanceProfile", - "ImageType", - "SshConfig", - "SecurityGroupIds", - "ProxyConfig", - "ConfigEncryption", - "InstancePlacement", - "AutoscalingMetricsCollection", - }); - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_LabelsEntry_descriptor = - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_TagsEntry_descriptor = - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_TagsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_TagsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_descriptor, - new java.lang.String[] { - "MinNodeCount", "MaxNodeCount", - }); - internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_descriptor, - new java.lang.String[] { - "Name", "ValidVersions", "SupportedAwsRegions", - }); - internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_descriptor, - new java.lang.String[] { - "Version", - }); - internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_descriptor, - new java.lang.String[] { - "Ec2KeyPair", - }); - internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_descriptor, - new java.lang.String[] { - "SecretArn", "SecretVersion", - }); - internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_descriptor, - new java.lang.String[] { - "KmsKeyArn", - }); - internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_descriptor, - new java.lang.String[] { - "Tenancy", - }); - internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_descriptor, - new java.lang.String[] { - "Granularity", "Metrics", - }); - internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_descriptor, - new java.lang.String[] { - "Message", - }); - internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_descriptor, - new java.lang.String[] { - "Message", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.gkemulticloud.v1.CommonResourcesProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java deleted file mode 100644 index 7981b9850854..000000000000 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java +++ /dev/null @@ -1,393 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/aws_service.proto - -package com.google.cloud.gkemulticloud.v1; - -public final class AwsServiceProto { - private AwsServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n/google/cloud/gkemulticloud/v1/aws_serv" - + "ice.proto\022\035google.cloud.gkemulticloud.v1" - + "\032\034google/api/annotations.proto\032\027google/a" - + "pi/client.proto\032\037google/api/field_behavi" - + "or.proto\032\031google/api/resource.proto\0321goo" - + "gle/cloud/gkemulticloud/v1/aws_resources" - + ".proto\032#google/longrunning/operations.pr" - + "oto\032 google/protobuf/field_mask.proto\032\037g" - + "oogle/protobuf/timestamp.proto\"\326\001\n\027Creat" - + "eAwsClusterRequest\022@\n\006parent\030\001 \001(\tB0\342A\001\002" - + "\372A)\022\'gkemulticloud.googleapis.com/AwsClu" - + "ster\022D\n\013aws_cluster\030\002 \001(\0132).google.cloud" - + ".gkemulticloud.v1.AwsClusterB\004\342A\001\002\022\034\n\016aw" - + "s_cluster_id\030\003 \001(\tB\004\342A\001\002\022\025\n\rvalidate_onl" - + "y\030\004 \001(\010\"\255\001\n\027UpdateAwsClusterRequest\022D\n\013a" - + "ws_cluster\030\001 \001(\0132).google.cloud.gkemulti" - + "cloud.v1.AwsClusterB\004\342A\001\002\022\025\n\rvalidate_on" - + "ly\030\002 \001(\010\0225\n\013update_mask\030\004 \001(\0132\032.google.p" - + "rotobuf.FieldMaskB\004\342A\001\002\"V\n\024GetAwsCluster" - + "Request\022>\n\004name\030\001 \001(\tB0\342A\001\002\372A)\n\'gkemulti" - + "cloud.googleapis.com/AwsCluster\"\201\001\n\026List" - + "AwsClustersRequest\022@\n\006parent\030\001 \001(\tB0\342A\001\002" - + "\372A)\022\'gkemulticloud.googleapis.com/AwsClu" - + "ster\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 " - + "\001(\t\"s\n\027ListAwsClustersResponse\022?\n\014aws_cl" - + "usters\030\001 \003(\0132).google.cloud.gkemulticlou" - + "d.v1.AwsCluster\022\027\n\017next_page_token\030\002 \001(\t" - + "\"\225\001\n\027DeleteAwsClusterRequest\022>\n\004name\030\001 \001" - + "(\tB0\342A\001\002\372A)\n\'gkemulticloud.googleapis.co" - + "m/AwsCluster\022\025\n\rvalidate_only\030\002 \001(\010\022\025\n\ra" - + "llow_missing\030\003 \001(\010\022\014\n\004etag\030\004 \001(\t\"\335\001\n\030Cre" - + "ateAwsNodePoolRequest\022A\n\006parent\030\001 \001(\tB1\342" - + "A\001\002\372A*\022(gkemulticloud.googleapis.com/Aws" - + "NodePool\022G\n\raws_node_pool\030\002 \001(\0132*.google" - + ".cloud.gkemulticloud.v1.AwsNodePoolB\004\342A\001" - + "\002\022\036\n\020aws_node_pool_id\030\003 \001(\tB\004\342A\001\002\022\025\n\rval" - + "idate_only\030\004 \001(\010\"\261\001\n\030UpdateAwsNodePoolRe" - + "quest\022G\n\raws_node_pool\030\001 \001(\0132*.google.cl" - + "oud.gkemulticloud.v1.AwsNodePoolB\004\342A\001\002\022\025" - + "\n\rvalidate_only\030\002 \001(\010\0225\n\013update_mask\030\003 \001" - + "(\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\"X\n\025" - + "GetAwsNodePoolRequest\022?\n\004name\030\001 \001(\tB1\342A\001" - + "\002\372A*\n(gkemulticloud.googleapis.com/AwsNo" - + "dePool\"\203\001\n\027ListAwsNodePoolsRequest\022A\n\006pa" - + "rent\030\001 \001(\tB1\342A\001\002\372A*\022(gkemulticloud.googl" - + "eapis.com/AwsNodePool\022\021\n\tpage_size\030\002 \001(\005" - + "\022\022\n\npage_token\030\003 \001(\t\"w\n\030ListAwsNodePools" - + "Response\022B\n\016aws_node_pools\030\001 \003(\0132*.googl" - + "e.cloud.gkemulticloud.v1.AwsNodePool\022\027\n\017" - + "next_page_token\030\002 \001(\t\"\227\001\n\030DeleteAwsNodeP" - + "oolRequest\022?\n\004name\030\001 \001(\tB1\342A\001\002\372A*\n(gkemu" - + "lticloud.googleapis.com/AwsNodePool\022\025\n\rv" - + "alidate_only\030\002 \001(\010\022\025\n\rallow_missing\030\003 \001(" - + "\010\022\014\n\004etag\030\004 \001(\t\"`\n\031GetAwsServerConfigReq" - + "uest\022C\n\004name\030\001 \001(\tB5\342A\001\002\372A.\n,gkemulticlo" - + "ud.googleapis.com/AwsServerConfig\"f\n\035Gen" - + "erateAwsAccessTokenRequest\022E\n\013aws_cluste" - + "r\030\001 \001(\tB0\342A\001\002\372A)\n\'gkemulticloud.googleap" - + "is.com/AwsCluster\"w\n\036GenerateAwsAccessTo" - + "kenResponse\022\032\n\014access_token\030\001 \001(\tB\004\342A\001\003\022" - + "9\n\017expiration_time\030\002 \001(\0132\032.google.protob" - + "uf.TimestampB\004\342A\001\0032\376\025\n\013AwsClusters\022\366\001\n\020C" - + "reateAwsCluster\0226.google.cloud.gkemultic" - + "loud.v1.CreateAwsClusterRequest\032\035.google" - + ".longrunning.Operation\"\212\001\312A\037\n\nAwsCluster" - + "\022\021OperationMetadata\332A!parent,aws_cluster" - + ",aws_cluster_id\202\323\344\223\002>\"//v1/{parent=proje" - + "cts/*/locations/*}/awsClusters:\013aws_clus" - + "ter\022\370\001\n\020UpdateAwsCluster\0226.google.cloud." - + "gkemulticloud.v1.UpdateAwsClusterRequest" - + "\032\035.google.longrunning.Operation\"\214\001\312A\037\n\nA" - + "wsCluster\022\021OperationMetadata\332A\027aws_clust" - + "er,update_mask\202\323\344\223\002J2;/v1/{aws_cluster.n" - + "ame=projects/*/locations/*/awsClusters/*" - + "}:\013aws_cluster\022\257\001\n\rGetAwsCluster\0223.googl" - + "e.cloud.gkemulticloud.v1.GetAwsClusterRe" - + "quest\032).google.cloud.gkemulticloud.v1.Aw" - + "sCluster\">\332A\004name\202\323\344\223\0021\022//v1/{name=proje" - + "cts/*/locations/*/awsClusters/*}\022\302\001\n\017Lis" - + "tAwsClusters\0225.google.cloud.gkemulticlou" - + "d.v1.ListAwsClustersRequest\0326.google.clo" - + "ud.gkemulticloud.v1.ListAwsClustersRespo" - + "nse\"@\332A\006parent\202\323\344\223\0021\022//v1/{parent=projec" - + "ts/*/locations/*}/awsClusters\022\326\001\n\020Delete" - + "AwsCluster\0226.google.cloud.gkemulticloud." - + "v1.DeleteAwsClusterRequest\032\035.google.long" - + "running.Operation\"k\312A*\n\025google.protobuf." - + "Empty\022\021OperationMetadata\332A\004name\202\323\344\223\0021*//" - + "v1/{name=projects/*/locations/*/awsClust" - + "ers/*}\022\354\001\n\026GenerateAwsAccessToken\022<.goog" - + "le.cloud.gkemulticloud.v1.GenerateAwsAcc" - + "essTokenRequest\032=.google.cloud.gkemultic" - + "loud.v1.GenerateAwsAccessTokenResponse\"U" - + "\202\323\344\223\002O\022M/v1/{aws_cluster=projects/*/loca" - + "tions/*/awsClusters/*}:generateAwsAccess" - + "Token\022\216\002\n\021CreateAwsNodePool\0227.google.clo" - + "ud.gkemulticloud.v1.CreateAwsNodePoolReq" - + "uest\032\035.google.longrunning.Operation\"\240\001\312A" - + " \n\013AwsNodePool\022\021OperationMetadata\332A%pare" - + "nt,aws_node_pool,aws_node_pool_id\202\323\344\223\002O\"" - + ">/v1/{parent=projects/*/locations/*/awsC" - + "lusters/*}/awsNodePools:\raws_node_pool\022\220" - + "\002\n\021UpdateAwsNodePool\0227.google.cloud.gkem" - + "ulticloud.v1.UpdateAwsNodePoolRequest\032\035." - + "google.longrunning.Operation\"\242\001\312A \n\013AwsN" - + "odePool\022\021OperationMetadata\332A\031aws_node_po" - + "ol,update_mask\202\323\344\223\002]2L/v1/{aws_node_pool" - + ".name=projects/*/locations/*/awsClusters" - + "/*/awsNodePools/*}:\raws_node_pool\022\301\001\n\016Ge" - + "tAwsNodePool\0224.google.cloud.gkemulticlou" - + "d.v1.GetAwsNodePoolRequest\032*.google.clou" - + "d.gkemulticloud.v1.AwsNodePool\"M\332A\004name\202" - + "\323\344\223\002@\022>/v1/{name=projects/*/locations/*/" - + "awsClusters/*/awsNodePools/*}\022\324\001\n\020ListAw" - + "sNodePools\0226.google.cloud.gkemulticloud." - + "v1.ListAwsNodePoolsRequest\0327.google.clou" - + "d.gkemulticloud.v1.ListAwsNodePoolsRespo" - + "nse\"O\332A\006parent\202\323\344\223\002@\022>/v1/{parent=projec" - + "ts/*/locations/*/awsClusters/*}/awsNodeP" - + "ools\022\347\001\n\021DeleteAwsNodePool\0227.google.clou" - + "d.gkemulticloud.v1.DeleteAwsNodePoolRequ" - + "est\032\035.google.longrunning.Operation\"z\312A*\n" - + "\025google.protobuf.Empty\022\021OperationMetadat" - + "a\332A\004name\202\323\344\223\002@*>/v1/{name=projects/*/loc" - + "ations/*/awsClusters/*/awsNodePools/*}\022\300" - + "\001\n\022GetAwsServerConfig\0228.google.cloud.gke" - + "multicloud.v1.GetAwsServerConfigRequest\032" - + "..google.cloud.gkemulticloud.v1.AwsServe" - + "rConfig\"@\332A\004name\202\323\344\223\0023\0221/v1/{name=projec" - + "ts/*/locations/*/awsServerConfig}\032P\312A\034gk" - + "emulticloud.googleapis.com\322A.https://www" - + ".googleapis.com/auth/cloud-platformB\342\001\n!" - + "com.google.cloud.gkemulticloud.v1B\017AwsSe" - + "rviceProtoP\001ZGcloud.google.com/go/gkemul" - + "ticloud/apiv1/gkemulticloudpb;gkemulticl" - + "oudpb\252\002\035Google.Cloud.GkeMultiCloud.V1\312\002\035" - + "Google\\Cloud\\GkeMultiCloud\\V1\352\002 Google::" - + "Cloud::GkeMultiCloud::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.gkemulticloud.v1.AwsResourcesProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_descriptor, - new java.lang.String[] { - "Parent", "AwsCluster", "AwsClusterId", "ValidateOnly", - }); - internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_descriptor, - new java.lang.String[] { - "AwsCluster", "ValidateOnly", "UpdateMask", - }); - internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_descriptor, - new java.lang.String[] { - "AwsClusters", "NextPageToken", - }); - internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_descriptor, - new java.lang.String[] { - "Name", "ValidateOnly", "AllowMissing", "Etag", - }); - internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_descriptor, - new java.lang.String[] { - "Parent", "AwsNodePool", "AwsNodePoolId", "ValidateOnly", - }); - internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_descriptor, - new java.lang.String[] { - "AwsNodePool", "ValidateOnly", "UpdateMask", - }); - internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_descriptor, - new java.lang.String[] { - "AwsNodePools", "NextPageToken", - }); - internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_descriptor, - new java.lang.String[] { - "Name", "ValidateOnly", "AllowMissing", "Etag", - }); - internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_descriptor, - new java.lang.String[] { - "AwsCluster", - }); - internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_descriptor, - new java.lang.String[] { - "AccessToken", "ExpirationTime", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.gkemulticloud.v1.AwsResourcesProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorization.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorization.java deleted file mode 100644 index baf1fee86aea..000000000000 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorization.java +++ /dev/null @@ -1,1107 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/azure_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -/** - * - * - *
- * Configuration related to the cluster RBAC settings.
- * 
- * - * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureAuthorization} - */ -public final class AzureAuthorization extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureAuthorization) - AzureAuthorizationOrBuilder { - private static final long serialVersionUID = 0L; - // Use AzureAuthorization.newBuilder() to construct. - private AzureAuthorization(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private AzureAuthorization() { - adminUsers_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AzureAuthorization(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureAuthorization.class, - com.google.cloud.gkemulticloud.v1.AzureAuthorization.Builder.class); - } - - public static final int ADMIN_USERS_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private java.util.List adminUsers_; - /** - * - * - *
-   * Required. Users that can perform operations as a cluster admin. A managed
-   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-   * to the users. Up to ten admin users can be provided.
-   *
-   * For more info on RBAC, see
-   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public java.util.List getAdminUsersList() { - return adminUsers_; - } - /** - * - * - *
-   * Required. Users that can perform operations as a cluster admin. A managed
-   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-   * to the users. Up to ten admin users can be provided.
-   *
-   * For more info on RBAC, see
-   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public java.util.List - getAdminUsersOrBuilderList() { - return adminUsers_; - } - /** - * - * - *
-   * Required. Users that can perform operations as a cluster admin. A managed
-   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-   * to the users. Up to ten admin users can be provided.
-   *
-   * For more info on RBAC, see
-   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public int getAdminUsersCount() { - return adminUsers_.size(); - } - /** - * - * - *
-   * Required. Users that can perform operations as a cluster admin. A managed
-   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-   * to the users. Up to ten admin users can be provided.
-   *
-   * For more info on RBAC, see
-   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AzureClusterUser getAdminUsers(int index) { - return adminUsers_.get(index); - } - /** - * - * - *
-   * Required. Users that can perform operations as a cluster admin. A managed
-   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-   * to the users. Up to ten admin users can be provided.
-   *
-   * For more info on RBAC, see
-   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder getAdminUsersOrBuilder( - int index) { - return adminUsers_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < adminUsers_.size(); i++) { - output.writeMessage(1, adminUsers_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < adminUsers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, adminUsers_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureAuthorization)) { - return super.equals(obj); - } - com.google.cloud.gkemulticloud.v1.AzureAuthorization other = - (com.google.cloud.gkemulticloud.v1.AzureAuthorization) obj; - - if (!getAdminUsersList().equals(other.getAdminUsersList())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getAdminUsersCount() > 0) { - hash = (37 * hash) + ADMIN_USERS_FIELD_NUMBER; - hash = (53 * hash) + getAdminUsersList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureAuthorization prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Configuration related to the cluster RBAC settings.
-   * 
- * - * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureAuthorization} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureAuthorization) - com.google.cloud.gkemulticloud.v1.AzureAuthorizationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureAuthorization.class, - com.google.cloud.gkemulticloud.v1.AzureAuthorization.Builder.class); - } - - // Construct using com.google.cloud.gkemulticloud.v1.AzureAuthorization.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - if (adminUsersBuilder_ == null) { - adminUsers_ = java.util.Collections.emptyList(); - } else { - adminUsers_ = null; - adminUsersBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_descriptor; - } - - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AzureAuthorization getDefaultInstanceForType() { - return com.google.cloud.gkemulticloud.v1.AzureAuthorization.getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AzureAuthorization build() { - com.google.cloud.gkemulticloud.v1.AzureAuthorization result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AzureAuthorization buildPartial() { - com.google.cloud.gkemulticloud.v1.AzureAuthorization result = - new com.google.cloud.gkemulticloud.v1.AzureAuthorization(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields( - com.google.cloud.gkemulticloud.v1.AzureAuthorization result) { - if (adminUsersBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - adminUsers_ = java.util.Collections.unmodifiableList(adminUsers_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.adminUsers_ = adminUsers_; - } else { - result.adminUsers_ = adminUsersBuilder_.build(); - } - } - - private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureAuthorization result) { - int from_bitField0_ = bitField0_; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.gkemulticloud.v1.AzureAuthorization) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureAuthorization) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureAuthorization other) { - if (other == com.google.cloud.gkemulticloud.v1.AzureAuthorization.getDefaultInstance()) - return this; - if (adminUsersBuilder_ == null) { - if (!other.adminUsers_.isEmpty()) { - if (adminUsers_.isEmpty()) { - adminUsers_ = other.adminUsers_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureAdminUsersIsMutable(); - adminUsers_.addAll(other.adminUsers_); - } - onChanged(); - } - } else { - if (!other.adminUsers_.isEmpty()) { - if (adminUsersBuilder_.isEmpty()) { - adminUsersBuilder_.dispose(); - adminUsersBuilder_ = null; - adminUsers_ = other.adminUsers_; - bitField0_ = (bitField0_ & ~0x00000001); - adminUsersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAdminUsersFieldBuilder() - : null; - } else { - adminUsersBuilder_.addAllMessages(other.adminUsers_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.cloud.gkemulticloud.v1.AzureClusterUser m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureClusterUser.parser(), - extensionRegistry); - if (adminUsersBuilder_ == null) { - ensureAdminUsersIsMutable(); - adminUsers_.add(m); - } else { - adminUsersBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.util.List adminUsers_ = - java.util.Collections.emptyList(); - - private void ensureAdminUsersIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - adminUsers_ = - new java.util.ArrayList( - adminUsers_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClusterUser, - com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder, - com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder> - adminUsersBuilder_; - - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public java.util.List getAdminUsersList() { - if (adminUsersBuilder_ == null) { - return java.util.Collections.unmodifiableList(adminUsers_); - } else { - return adminUsersBuilder_.getMessageList(); - } - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public int getAdminUsersCount() { - if (adminUsersBuilder_ == null) { - return adminUsers_.size(); - } else { - return adminUsersBuilder_.getCount(); - } - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.cloud.gkemulticloud.v1.AzureClusterUser getAdminUsers(int index) { - if (adminUsersBuilder_ == null) { - return adminUsers_.get(index); - } else { - return adminUsersBuilder_.getMessage(index); - } - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder setAdminUsers( - int index, com.google.cloud.gkemulticloud.v1.AzureClusterUser value) { - if (adminUsersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAdminUsersIsMutable(); - adminUsers_.set(index, value); - onChanged(); - } else { - adminUsersBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder setAdminUsers( - int index, com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder builderForValue) { - if (adminUsersBuilder_ == null) { - ensureAdminUsersIsMutable(); - adminUsers_.set(index, builderForValue.build()); - onChanged(); - } else { - adminUsersBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder addAdminUsers(com.google.cloud.gkemulticloud.v1.AzureClusterUser value) { - if (adminUsersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAdminUsersIsMutable(); - adminUsers_.add(value); - onChanged(); - } else { - adminUsersBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder addAdminUsers( - int index, com.google.cloud.gkemulticloud.v1.AzureClusterUser value) { - if (adminUsersBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAdminUsersIsMutable(); - adminUsers_.add(index, value); - onChanged(); - } else { - adminUsersBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder addAdminUsers( - com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder builderForValue) { - if (adminUsersBuilder_ == null) { - ensureAdminUsersIsMutable(); - adminUsers_.add(builderForValue.build()); - onChanged(); - } else { - adminUsersBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder addAdminUsers( - int index, com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder builderForValue) { - if (adminUsersBuilder_ == null) { - ensureAdminUsersIsMutable(); - adminUsers_.add(index, builderForValue.build()); - onChanged(); - } else { - adminUsersBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder addAllAdminUsers( - java.lang.Iterable values) { - if (adminUsersBuilder_ == null) { - ensureAdminUsersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, adminUsers_); - onChanged(); - } else { - adminUsersBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder clearAdminUsers() { - if (adminUsersBuilder_ == null) { - adminUsers_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - adminUsersBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder removeAdminUsers(int index) { - if (adminUsersBuilder_ == null) { - ensureAdminUsersIsMutable(); - adminUsers_.remove(index); - onChanged(); - } else { - adminUsersBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder getAdminUsersBuilder( - int index) { - return getAdminUsersFieldBuilder().getBuilder(index); - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder getAdminUsersOrBuilder( - int index) { - if (adminUsersBuilder_ == null) { - return adminUsers_.get(index); - } else { - return adminUsersBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public java.util.List - getAdminUsersOrBuilderList() { - if (adminUsersBuilder_ != null) { - return adminUsersBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(adminUsers_); - } - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder addAdminUsersBuilder() { - return getAdminUsersFieldBuilder() - .addBuilder(com.google.cloud.gkemulticloud.v1.AzureClusterUser.getDefaultInstance()); - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder addAdminUsersBuilder( - int index) { - return getAdminUsersFieldBuilder() - .addBuilder( - index, com.google.cloud.gkemulticloud.v1.AzureClusterUser.getDefaultInstance()); - } - /** - * - * - *
-     * Required. Users that can perform operations as a cluster admin. A managed
-     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-     * to the users. Up to ten admin users can be provided.
-     *
-     * For more info on RBAC, see
-     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-     * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public java.util.List - getAdminUsersBuilderList() { - return getAdminUsersFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClusterUser, - com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder, - com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder> - getAdminUsersFieldBuilder() { - if (adminUsersBuilder_ == null) { - adminUsersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClusterUser, - com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder, - com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder>( - adminUsers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - adminUsers_ = null; - } - return adminUsersBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureAuthorization) - } - - // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureAuthorization) - private static final com.google.cloud.gkemulticloud.v1.AzureAuthorization DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureAuthorization(); - } - - public static com.google.cloud.gkemulticloud.v1.AzureAuthorization getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureAuthorization parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AzureAuthorization getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorizationOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorizationOrBuilder.java deleted file mode 100644 index 6743e407da5c..000000000000 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorizationOrBuilder.java +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/azure_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public interface AzureAuthorizationOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureAuthorization) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Users that can perform operations as a cluster admin. A managed
-   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-   * to the users. Up to ten admin users can be provided.
-   *
-   * For more info on RBAC, see
-   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List getAdminUsersList(); - /** - * - * - *
-   * Required. Users that can perform operations as a cluster admin. A managed
-   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-   * to the users. Up to ten admin users can be provided.
-   *
-   * For more info on RBAC, see
-   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.gkemulticloud.v1.AzureClusterUser getAdminUsers(int index); - /** - * - * - *
-   * Required. Users that can perform operations as a cluster admin. A managed
-   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-   * to the users. Up to ten admin users can be provided.
-   *
-   * For more info on RBAC, see
-   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - int getAdminUsersCount(); - /** - * - * - *
-   * Required. Users that can perform operations as a cluster admin. A managed
-   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-   * to the users. Up to ten admin users can be provided.
-   *
-   * For more info on RBAC, see
-   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List - getAdminUsersOrBuilderList(); - /** - * - * - *
-   * Required. Users that can perform operations as a cluster admin. A managed
-   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
-   * to the users. Up to ten admin users can be provided.
-   *
-   * For more info on RBAC, see
-   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder getAdminUsersOrBuilder(int index); -} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterErrorOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterErrorOrBuilder.java deleted file mode 100644 index bbe4534a1173..000000000000 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterErrorOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/azure_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public interface AzureClusterErrorOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureClusterError) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Human-friendly description of the error.
-   * 
- * - * string message = 1; - * - * @return The message. - */ - java.lang.String getMessage(); - /** - * - * - *
-   * Human-friendly description of the error.
-   * 
- * - * string message = 1; - * - * @return The bytes for message. - */ - com.google.protobuf.ByteString getMessageBytes(); -} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplateOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplateOrBuilder.java deleted file mode 100644 index e663081a4ebb..000000000000 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplateOrBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/azure_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public interface AzureDiskTemplateOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureDiskTemplate) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Optional. The size of the disk, in GiBs.
-   *
-   * When unspecified, a default value is provided. See the specific reference
-   * in the parent resource.
-   * 
- * - * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The sizeGib. - */ - int getSizeGib(); -} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfo.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfo.java deleted file mode 100644 index a7440641424f..000000000000 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfo.java +++ /dev/null @@ -1,625 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/azure_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -/** - * - * - *
- * Information about a supported Kubernetes version.
- * 
- * - * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureK8sVersionInfo} - */ -public final class AzureK8sVersionInfo extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureK8sVersionInfo) - AzureK8sVersionInfoOrBuilder { - private static final long serialVersionUID = 0L; - // Use AzureK8sVersionInfo.newBuilder() to construct. - private AzureK8sVersionInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private AzureK8sVersionInfo() { - version_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AzureK8sVersionInfo(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.class, - com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder.class); - } - - public static final int VERSION_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object version_ = ""; - /** - * - * - *
-   * A supported Kubernetes version (for example, `1.19.10-gke.1000`)
-   * 
- * - * string version = 1; - * - * @return The version. - */ - @java.lang.Override - public java.lang.String getVersion() { - java.lang.Object ref = version_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - version_ = s; - return s; - } - } - /** - * - * - *
-   * A supported Kubernetes version (for example, `1.19.10-gke.1000`)
-   * 
- * - * string version = 1; - * - * @return The bytes for version. - */ - @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { - java.lang.Object ref = version_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - version_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, version_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo)) { - return super.equals(obj); - } - com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo other = - (com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo) obj; - - if (!getVersion().equals(other.getVersion())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + VERSION_FIELD_NUMBER; - hash = (53 * hash) + getVersion().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Information about a supported Kubernetes version.
-   * 
- * - * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureK8sVersionInfo} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureK8sVersionInfo) - com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.class, - com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder.class); - } - - // Construct using com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - version_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_descriptor; - } - - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo getDefaultInstanceForType() { - return com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo build() { - com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo buildPartial() { - com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo result = - new com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.version_ = version_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo other) { - if (other == com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.getDefaultInstance()) - return this; - if (!other.getVersion().isEmpty()) { - version_ = other.version_; - bitField0_ |= 0x00000001; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - version_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object version_ = ""; - /** - * - * - *
-     * A supported Kubernetes version (for example, `1.19.10-gke.1000`)
-     * 
- * - * string version = 1; - * - * @return The version. - */ - public java.lang.String getVersion() { - java.lang.Object ref = version_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - version_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * A supported Kubernetes version (for example, `1.19.10-gke.1000`)
-     * 
- * - * string version = 1; - * - * @return The bytes for version. - */ - public com.google.protobuf.ByteString getVersionBytes() { - java.lang.Object ref = version_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - version_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * A supported Kubernetes version (for example, `1.19.10-gke.1000`)
-     * 
- * - * string version = 1; - * - * @param value The version to set. - * @return This builder for chaining. - */ - public Builder setVersion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - version_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - /** - * - * - *
-     * A supported Kubernetes version (for example, `1.19.10-gke.1000`)
-     * 
- * - * string version = 1; - * - * @return This builder for chaining. - */ - public Builder clearVersion() { - version_ = getDefaultInstance().getVersion(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * - * - *
-     * A supported Kubernetes version (for example, `1.19.10-gke.1000`)
-     * 
- * - * string version = 1; - * - * @param value The bytes for version to set. - * @return This builder for chaining. - */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - version_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureK8sVersionInfo) - } - - // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureK8sVersionInfo) - private static final com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo(); - } - - public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureK8sVersionInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfoOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfoOrBuilder.java deleted file mode 100644 index 7cc6577194c1..000000000000 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfoOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/azure_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public interface AzureK8sVersionInfoOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureK8sVersionInfo) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * A supported Kubernetes version (for example, `1.19.10-gke.1000`)
-   * 
- * - * string version = 1; - * - * @return The version. - */ - java.lang.String getVersion(); - /** - * - * - *
-   * A supported Kubernetes version (for example, `1.19.10-gke.1000`)
-   * 
- * - * string version = 1; - * - * @return The bytes for version. - */ - com.google.protobuf.ByteString getVersionBytes(); -} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolErrorOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolErrorOrBuilder.java deleted file mode 100644 index 4919aaa46502..000000000000 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolErrorOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/azure_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public interface AzureNodePoolErrorOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureNodePoolError) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Human-friendly description of the error.
-   * 
- * - * string message = 1; - * - * @return The message. - */ - java.lang.String getMessage(); - /** - * - * - *
-   * Human-friendly description of the error.
-   * 
- * - * string message = 1; - * - * @return The bytes for message. - */ - com.google.protobuf.ByteString getMessageBytes(); -} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java deleted file mode 100644 index 037b2badaed6..000000000000 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java +++ /dev/null @@ -1,631 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/azure_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public final class AzureResourcesProto { - private AzureResourcesProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureCluster_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureCluster_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureCluster_AnnotationsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureCluster_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_TagsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_TagsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureClient_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureClient_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureClient_AnnotationsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureClient_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_AnnotationsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_TagsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_TagsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n3google/cloud/gkemulticloud/v1/azure_re" - + "sources.proto\022\035google.cloud.gkemulticlou" - + "d.v1\032\037google/api/field_behavior.proto\032\031g" - + "oogle/api/resource.proto\0324google/cloud/g" - + "kemulticloud/v1/common_resources.proto\032\037" - + "google/protobuf/timestamp.proto\"\353\014\n\014Azur" - + "eCluster\022\014\n\004name\030\001 \001(\t\022\031\n\013description\030\002 " - + "\001(\tB\004\342A\001\001\022\032\n\014azure_region\030\003 \001(\tB\004\342A\001\002\022\037\n" - + "\021resource_group_id\030\021 \001(\tB\004\342A\001\002\022\032\n\014azure_" - + "client\030\020 \001(\tB\004\342A\001\001\022O\n\nnetworking\030\004 \001(\01325" - + ".google.cloud.gkemulticloud.v1.AzureClus" - + "terNetworkingB\004\342A\001\002\022M\n\rcontrol_plane\030\005 \001" - + "(\01320.google.cloud.gkemulticloud.v1.Azure" - + "ControlPlaneB\004\342A\001\002\022N\n\rauthorization\030\006 \001(" - + "\01321.google.cloud.gkemulticloud.v1.AzureA" - + "uthorizationB\004\342A\001\002\022g\n\035azure_services_aut" - + "hentication\030\026 \001(\0132:.google.cloud.gkemult" - + "icloud.v1.AzureServicesAuthenticationB\004\342" - + "A\001\001\022F\n\005state\030\007 \001(\01621.google.cloud.gkemul" - + "ticloud.v1.AzureCluster.StateB\004\342A\001\003\022\026\n\010e" - + "ndpoint\030\010 \001(\tB\004\342A\001\003\022\021\n\003uid\030\t \001(\tB\004\342A\001\003\022\031" - + "\n\013reconciling\030\n \001(\010B\004\342A\001\003\0225\n\013create_time" - + "\030\013 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003" - + "\0225\n\013update_time\030\014 \001(\0132\032.google.protobuf." - + "TimestampB\004\342A\001\003\022\014\n\004etag\030\r \001(\t\022W\n\013annotat" - + "ions\030\016 \003(\0132<.google.cloud.gkemulticloud." - + "v1.AzureCluster.AnnotationsEntryB\004\342A\001\001\022]" - + "\n\030workload_identity_config\030\022 \001(\01325.googl" - + "e.cloud.gkemulticloud.v1.WorkloadIdentit" - + "yConfigB\004\342A\001\003\022$\n\026cluster_ca_certificate\030" - + "\023 \001(\tB\004\342A\001\003\0229\n\005fleet\030\024 \001(\0132$.google.clou" - + "d.gkemulticloud.v1.FleetB\004\342A\001\002\022U\n\021manage" - + "d_resources\030\025 \001(\01324.google.cloud.gkemult" - + "icloud.v1.AzureClusterResourcesB\004\342A\001\003\022J\n" - + "\016logging_config\030\027 \001(\0132,.google.cloud.gke" - + "multicloud.v1.LoggingConfigB\004\342A\001\001\022F\n\006err" - + "ors\030\030 \003(\01320.google.cloud.gkemulticloud.v" - + "1.AzureClusterErrorB\004\342A\001\003\022P\n\021monitoring_" - + "config\030\031 \001(\0132/.google.cloud.gkemulticlou" - + "d.v1.MonitoringConfigB\004\342A\001\001\0322\n\020Annotatio" - + "nsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"" - + "u\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\020\n\014PROVI" - + "SIONING\020\001\022\013\n\007RUNNING\020\002\022\017\n\013RECONCILING\020\003\022" - + "\014\n\010STOPPING\020\004\022\t\n\005ERROR\020\005\022\014\n\010DEGRADED\020\006:u" - + "\352Ar\n)gkemulticloud.googleapis.com/AzureC" - + "luster\022Eprojects/{project}/locations/{lo" - + "cation}/azureClusters/{azure_cluster}\"\273\001" - + "\n\026AzureClusterNetworking\022 \n\022virtual_netw" - + "ork_id\030\001 \001(\tB\004\342A\001\002\022%\n\027pod_address_cidr_b" - + "locks\030\002 \003(\tB\004\342A\001\002\022)\n\033service_address_cid" - + "r_blocks\030\003 \003(\tB\004\342A\001\002\022-\n\037service_load_bal" - + "ancer_subnet_id\030\005 \001(\tB\004\342A\001\001\"\256\006\n\021AzureCon" - + "trolPlane\022\025\n\007version\030\001 \001(\tB\004\342A\001\002\022\027\n\tsubn" - + "et_id\030\002 \001(\tB\004\342A\001\001\022\025\n\007vm_size\030\003 \001(\tB\004\342A\001\001" - + "\022G\n\nssh_config\030\013 \001(\0132-.google.cloud.gkem" - + "ulticloud.v1.AzureSshConfigB\004\342A\001\002\022K\n\013roo" - + "t_volume\030\004 \001(\01320.google.cloud.gkemulticl" - + "oud.v1.AzureDiskTemplateB\004\342A\001\001\022K\n\013main_v" - + "olume\030\005 \001(\01320.google.cloud.gkemulticloud" - + ".v1.AzureDiskTemplateB\004\342A\001\001\022Y\n\023database_" - + "encryption\030\n \001(\01326.google.cloud.gkemulti" - + "cloud.v1.AzureDatabaseEncryptionB\004\342A\001\001\022K" - + "\n\014proxy_config\030\014 \001(\0132/.google.cloud.gkem" - + "ulticloud.v1.AzureProxyConfigB\004\342A\001\001\022U\n\021c" - + "onfig_encryption\030\016 \001(\01324.google.cloud.gk" - + "emulticloud.v1.AzureConfigEncryptionB\004\342A" - + "\001\001\022N\n\004tags\030\007 \003(\0132:.google.cloud.gkemulti" - + "cloud.v1.AzureControlPlane.TagsEntryB\004\342A" - + "\001\001\022Q\n\022replica_placements\030\r \003(\0132/.google." - + "cloud.gkemulticloud.v1.ReplicaPlacementB" - + "\004\342A\001\001\022 \n\022endpoint_subnet_id\030\017 \001(\tB\004\342A\001\001\032" - + "+\n\tTagsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t" - + ":\0028\001\"R\n\020ReplicaPlacement\022\027\n\tsubnet_id\030\001 " - + "\001(\tB\004\342A\001\002\022%\n\027azure_availability_zone\030\002 \001" - + "(\tB\004\342A\001\002\"@\n\020AzureProxyConfig\022\031\n\021resource" - + "_group_id\030\001 \001(\t\022\021\n\tsecret_id\030\002 \001(\t\"/\n\027Az" - + "ureDatabaseEncryption\022\024\n\006key_id\030\003 \001(\tB\004\342" - + "A\001\002\"G\n\025AzureConfigEncryption\022\024\n\006key_id\030\002" - + " \001(\tB\004\342A\001\002\022\030\n\npublic_key\030\003 \001(\tB\004\342A\001\001\"+\n\021" - + "AzureDiskTemplate\022\026\n\010size_gib\030\001 \001(\005B\004\342A\001" - + "\001\"\215\004\n\013AzureClient\022\014\n\004name\030\001 \001(\t\022\027\n\ttenan" - + "t_id\030\002 \001(\tB\004\342A\001\002\022\034\n\016application_id\030\003 \001(\t" - + "B\004\342A\001\002\022\031\n\013reconciling\030\t \001(\010B\004\342A\001\003\022V\n\013ann" - + "otations\030\010 \003(\0132;.google.cloud.gkemulticl" - + "oud.v1.AzureClient.AnnotationsEntryB\004\342A\001" - + "\001\022\035\n\017pem_certificate\030\007 \001(\tB\004\342A\001\003\022\021\n\003uid\030" - + "\005 \001(\tB\004\342A\001\003\0225\n\013create_time\030\006 \001(\0132\032.googl" - + "e.protobuf.TimestampB\004\342A\001\003\0225\n\013update_tim" - + "e\030\n \001(\0132\032.google.protobuf.TimestampB\004\342A\001" - + "\003\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" - + "lue\030\002 \001(\t:\0028\001:r\352Ao\n(gkemulticloud.google" - + "apis.com/AzureClient\022Cprojects/{project}" - + "/locations/{location}/azureClients/{azur" - + "e_client}\"`\n\022AzureAuthorization\022J\n\013admin" - + "_users\030\001 \003(\0132/.google.cloud.gkemulticlou" - + "d.v1.AzureClusterUserB\004\342A\001\002\"T\n\033AzureServ" - + "icesAuthentication\022\027\n\ttenant_id\030\001 \001(\tB\004\342" - + "A\001\002\022\034\n\016application_id\030\002 \001(\tB\004\342A\001\002\"*\n\020Azu" - + "reClusterUser\022\026\n\010username\030\001 \001(\tB\004\342A\001\002\"\277\010" - + "\n\rAzureNodePool\022\014\n\004name\030\001 \001(\t\022\025\n\007version" - + "\030\002 \001(\tB\004\342A\001\002\022D\n\006config\030\026 \001(\0132..google.cl" - + "oud.gkemulticloud.v1.AzureNodeConfigB\004\342A" - + "\001\002\022\027\n\tsubnet_id\030\003 \001(\tB\004\342A\001\002\022R\n\013autoscali" - + "ng\030\004 \001(\01327.google.cloud.gkemulticloud.v1" - + ".AzureNodePoolAutoscalingB\004\342A\001\002\022G\n\005state" - + "\030\006 \001(\01622.google.cloud.gkemulticloud.v1.A" - + "zureNodePool.StateB\004\342A\001\003\022\021\n\003uid\030\010 \001(\tB\004\342" - + "A\001\003\022\031\n\013reconciling\030\t \001(\010B\004\342A\001\003\0225\n\013create" - + "_time\030\n \001(\0132\032.google.protobuf.TimestampB" - + "\004\342A\001\003\0225\n\013update_time\030\013 \001(\0132\032.google.prot" - + "obuf.TimestampB\004\342A\001\003\022\014\n\004etag\030\014 \001(\t\022X\n\013an" - + "notations\030\r \003(\0132=.google.cloud.gkemultic" - + "loud.v1.AzureNodePool.AnnotationsEntryB\004" - + "\342A\001\001\022S\n\023max_pods_constraint\030\025 \001(\01320.goog" - + "le.cloud.gkemulticloud.v1.MaxPodsConstra" - + "intB\004\342A\001\002\022%\n\027azure_availability_zone\030\027 \001" - + "(\tB\004\342A\001\001\022G\n\006errors\030\035 \003(\01321.google.cloud." - + "gkemulticloud.v1.AzureNodePoolErrorB\004\342A\001" - + "\003\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" - + "lue\030\002 \001(\t:\0028\001\"u\n\005State\022\025\n\021STATE_UNSPECIF" - + "IED\020\000\022\020\n\014PROVISIONING\020\001\022\013\n\007RUNNING\020\002\022\017\n\013" - + "RECONCILING\020\003\022\014\n\010STOPPING\020\004\022\t\n\005ERROR\020\005\022\014" - + "\n\010DEGRADED\020\006:\230\001\352A\224\001\n*gkemulticloud.googl" - + "eapis.com/AzureNodePool\022fprojects/{proje" - + "ct}/locations/{location}/azureClusters/{" - + "azure_cluster}/azureNodePools/{azure_nod" - + "e_pool}\"\270\005\n\017AzureNodeConfig\022\025\n\007vm_size\030\001" - + " \001(\tB\004\342A\001\001\022K\n\013root_volume\030\002 \001(\01320.google" - + ".cloud.gkemulticloud.v1.AzureDiskTemplat" - + "eB\004\342A\001\001\022L\n\004tags\030\003 \003(\01328.google.cloud.gke" - + "multicloud.v1.AzureNodeConfig.TagsEntryB" - + "\004\342A\001\001\022\030\n\nimage_type\030\010 \001(\tB\004\342A\001\001\022G\n\nssh_c" - + "onfig\030\007 \001(\0132-.google.cloud.gkemulticloud" - + ".v1.AzureSshConfigB\004\342A\001\002\022K\n\014proxy_config" - + "\030\t \001(\0132/.google.cloud.gkemulticloud.v1.A" - + "zureProxyConfigB\004\342A\001\001\022U\n\021config_encrypti" - + "on\030\014 \001(\01324.google.cloud.gkemulticloud.v1" - + ".AzureConfigEncryptionB\004\342A\001\001\022>\n\006taints\030\n" - + " \003(\0132(.google.cloud.gkemulticloud.v1.Nod" - + "eTaintB\004\342A\001\001\022P\n\006labels\030\013 \003(\0132:.google.cl" - + "oud.gkemulticloud.v1.AzureNodeConfig.Lab" - + "elsEntryB\004\342A\001\001\032+\n\tTagsEntry\022\013\n\003key\030\001 \001(\t" - + "\022\r\n\005value\030\002 \001(\t:\0028\001\032-\n\013LabelsEntry\022\013\n\003ke" - + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"V\n\030AzureNodeP" - + "oolAutoscaling\022\034\n\016min_node_count\030\001 \001(\005B\004" - + "\342A\001\002\022\034\n\016max_node_count\030\002 \001(\005B\004\342A\001\002\"\376\001\n\021A" - + "zureServerConfig\022\014\n\004name\030\001 \001(\t\022J\n\016valid_" - + "versions\030\002 \003(\01322.google.cloud.gkemulticl" - + "oud.v1.AzureK8sVersionInfo\022\037\n\027supported_" - + "azure_regions\030\003 \003(\t:n\352Ak\n.gkemulticloud." - + "googleapis.com/AzureServerConfig\0229projec" - + "ts/{project}/locations/{location}/azureS" - + "erverConfig\"&\n\023AzureK8sVersionInfo\022\017\n\007ve" - + "rsion\030\001 \001(\t\".\n\016AzureSshConfig\022\034\n\016authori" - + "zed_key\030\001 \001(\tB\004\342A\001\002\"{\n\025AzureClusterResou" - + "rces\022\'\n\031network_security_group_id\030\001 \001(\tB" - + "\004\342A\001\003\0229\n+control_plane_application_secur" - + "ity_group_id\030\002 \001(\tB\004\342A\001\003\"$\n\021AzureCluster" - + "Error\022\017\n\007message\030\001 \001(\t\"%\n\022AzureNodePoolE" - + "rror\022\017\n\007message\030\001 \001(\tB\346\001\n!com.google.clo" - + "ud.gkemulticloud.v1B\023AzureResourcesProto" - + "P\001ZGcloud.google.com/go/gkemulticloud/ap" - + "iv1/gkemulticloudpb;gkemulticloudpb\252\002\035Go" - + "ogle.Cloud.GkeMultiCloud.V1\312\002\035Google\\Clo" - + "ud\\GkeMultiCloud\\V1\352\002 Google::Cloud::Gke" - + "MultiCloud::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.gkemulticloud.v1.CommonResourcesProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_gkemulticloud_v1_AzureCluster_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_gkemulticloud_v1_AzureCluster_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureCluster_descriptor, - new java.lang.String[] { - "Name", - "Description", - "AzureRegion", - "ResourceGroupId", - "AzureClient", - "Networking", - "ControlPlane", - "Authorization", - "AzureServicesAuthentication", - "State", - "Endpoint", - "Uid", - "Reconciling", - "CreateTime", - "UpdateTime", - "Etag", - "Annotations", - "WorkloadIdentityConfig", - "ClusterCaCertificate", - "Fleet", - "ManagedResources", - "LoggingConfig", - "Errors", - "MonitoringConfig", - }); - internal_static_google_cloud_gkemulticloud_v1_AzureCluster_AnnotationsEntry_descriptor = - internal_static_google_cloud_gkemulticloud_v1_AzureCluster_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_gkemulticloud_v1_AzureCluster_AnnotationsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureCluster_AnnotationsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_descriptor, - new java.lang.String[] { - "VirtualNetworkId", - "PodAddressCidrBlocks", - "ServiceAddressCidrBlocks", - "ServiceLoadBalancerSubnetId", - }); - internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_descriptor, - new java.lang.String[] { - "Version", - "SubnetId", - "VmSize", - "SshConfig", - "RootVolume", - "MainVolume", - "DatabaseEncryption", - "ProxyConfig", - "ConfigEncryption", - "Tags", - "ReplicaPlacements", - "EndpointSubnetId", - }); - internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_TagsEntry_descriptor = - internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_TagsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_TagsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_descriptor, - new java.lang.String[] { - "SubnetId", "AzureAvailabilityZone", - }); - internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_descriptor, - new java.lang.String[] { - "ResourceGroupId", "SecretId", - }); - internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_descriptor, - new java.lang.String[] { - "KeyId", - }); - internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_descriptor, - new java.lang.String[] { - "KeyId", "PublicKey", - }); - internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_descriptor, - new java.lang.String[] { - "SizeGib", - }); - internal_static_google_cloud_gkemulticloud_v1_AzureClient_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_gkemulticloud_v1_AzureClient_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureClient_descriptor, - new java.lang.String[] { - "Name", - "TenantId", - "ApplicationId", - "Reconciling", - "Annotations", - "PemCertificate", - "Uid", - "CreateTime", - "UpdateTime", - }); - internal_static_google_cloud_gkemulticloud_v1_AzureClient_AnnotationsEntry_descriptor = - internal_static_google_cloud_gkemulticloud_v1_AzureClient_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_gkemulticloud_v1_AzureClient_AnnotationsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureClient_AnnotationsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_descriptor, - new java.lang.String[] { - "AdminUsers", - }); - internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_descriptor, - new java.lang.String[] { - "TenantId", "ApplicationId", - }); - internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_descriptor, - new java.lang.String[] { - "Username", - }); - internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_descriptor, - new java.lang.String[] { - "Name", - "Version", - "Config", - "SubnetId", - "Autoscaling", - "State", - "Uid", - "Reconciling", - "CreateTime", - "UpdateTime", - "Etag", - "Annotations", - "MaxPodsConstraint", - "AzureAvailabilityZone", - "Errors", - }); - internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_AnnotationsEntry_descriptor = - internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_AnnotationsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_AnnotationsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor, - new java.lang.String[] { - "VmSize", - "RootVolume", - "Tags", - "ImageType", - "SshConfig", - "ProxyConfig", - "ConfigEncryption", - "Taints", - "Labels", - }); - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_TagsEntry_descriptor = - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_TagsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_TagsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_LabelsEntry_descriptor = - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_descriptor, - new java.lang.String[] { - "MinNodeCount", "MaxNodeCount", - }); - internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_descriptor, - new java.lang.String[] { - "Name", "ValidVersions", "SupportedAzureRegions", - }); - internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_descriptor, - new java.lang.String[] { - "Version", - }); - internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_descriptor, - new java.lang.String[] { - "AuthorizedKey", - }); - internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_descriptor, - new java.lang.String[] { - "NetworkSecurityGroupId", "ControlPlaneApplicationSecurityGroupId", - }); - internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_descriptor, - new java.lang.String[] { - "Message", - }); - internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_descriptor, - new java.lang.String[] { - "Message", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.gkemulticloud.v1.CommonResourcesProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java deleted file mode 100644 index 081e9eab7c57..000000000000 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java +++ /dev/null @@ -1,498 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/azure_service.proto - -package com.google.cloud.gkemulticloud.v1; - -public final class AzureServiceProto { - private AzureServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n1google/cloud/gkemulticloud/v1/azure_se" - + "rvice.proto\022\035google.cloud.gkemulticloud." - + "v1\032\034google/api/annotations.proto\032\027google" - + "/api/client.proto\032\037google/api/field_beha" - + "vior.proto\032\031google/api/resource.proto\0323g" - + "oogle/cloud/gkemulticloud/v1/azure_resou" - + "rces.proto\032#google/longrunning/operation" - + "s.proto\032 google/protobuf/field_mask.prot" - + "o\032\037google/protobuf/timestamp.proto\"\340\001\n\031C" - + "reateAzureClusterRequest\022B\n\006parent\030\001 \001(\t" - + "B2\342A\001\002\372A+\022)gkemulticloud.googleapis.com/" - + "AzureCluster\022H\n\razure_cluster\030\002 \001(\0132+.go" - + "ogle.cloud.gkemulticloud.v1.AzureCluster" - + "B\004\342A\001\002\022\036\n\020azure_cluster_id\030\003 \001(\tB\004\342A\001\002\022\025" - + "\n\rvalidate_only\030\004 \001(\010\"\263\001\n\031UpdateAzureClu" - + "sterRequest\022H\n\razure_cluster\030\001 \001(\0132+.goo" - + "gle.cloud.gkemulticloud.v1.AzureClusterB" - + "\004\342A\001\002\022\025\n\rvalidate_only\030\002 \001(\010\0225\n\013update_m" - + "ask\030\004 \001(\0132\032.google.protobuf.FieldMaskB\004\342" - + "A\001\002\"Z\n\026GetAzureClusterRequest\022@\n\004name\030\001 " - + "\001(\tB2\342A\001\002\372A+\n)gkemulticloud.googleapis.c" - + "om/AzureCluster\"\205\001\n\030ListAzureClustersReq" - + "uest\022B\n\006parent\030\001 \001(\tB2\342A\001\002\372A+\022)gkemultic" - + "loud.googleapis.com/AzureCluster\022\021\n\tpage" - + "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"y\n\031ListA" - + "zureClustersResponse\022C\n\016azure_clusters\030\001" - + " \003(\0132+.google.cloud.gkemulticloud.v1.Azu" - + "reCluster\022\027\n\017next_page_token\030\002 \001(\t\"\231\001\n\031D" - + "eleteAzureClusterRequest\022@\n\004name\030\001 \001(\tB2" - + "\342A\001\002\372A+\n)gkemulticloud.googleapis.com/Az" - + "ureCluster\022\025\n\rallow_missing\030\002 \001(\010\022\025\n\rval" - + "idate_only\030\003 \001(\010\022\014\n\004etag\030\004 \001(\t\"\347\001\n\032Creat" - + "eAzureNodePoolRequest\022C\n\006parent\030\001 \001(\tB3\342" - + "A\001\002\372A,\022*gkemulticloud.googleapis.com/Azu" - + "reNodePool\022K\n\017azure_node_pool\030\002 \001(\0132,.go" - + "ogle.cloud.gkemulticloud.v1.AzureNodePoo" - + "lB\004\342A\001\002\022 \n\022azure_node_pool_id\030\003 \001(\tB\004\342A\001" - + "\002\022\025\n\rvalidate_only\030\004 \001(\010\"\267\001\n\032UpdateAzure" - + "NodePoolRequest\022K\n\017azure_node_pool\030\001 \001(\013" - + "2,.google.cloud.gkemulticloud.v1.AzureNo" - + "dePoolB\004\342A\001\002\022\025\n\rvalidate_only\030\002 \001(\010\0225\n\013u" - + "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" - + "MaskB\004\342A\001\002\"\\\n\027GetAzureNodePoolRequest\022A\n" - + "\004name\030\001 \001(\tB3\342A\001\002\372A,\n*gkemulticloud.goog" - + "leapis.com/AzureNodePool\"\207\001\n\031ListAzureNo" - + "dePoolsRequest\022C\n\006parent\030\001 \001(\tB3\342A\001\002\372A,\022" - + "*gkemulticloud.googleapis.com/AzureNodeP" - + "ool\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001" - + "(\t\"}\n\032ListAzureNodePoolsResponse\022F\n\020azur" - + "e_node_pools\030\001 \003(\0132,.google.cloud.gkemul" - + "ticloud.v1.AzureNodePool\022\027\n\017next_page_to" - + "ken\030\002 \001(\t\"\233\001\n\032DeleteAzureNodePoolRequest" - + "\022A\n\004name\030\001 \001(\tB3\342A\001\002\372A,\n*gkemulticloud.g" - + "oogleapis.com/AzureNodePool\022\025\n\rvalidate_" - + "only\030\002 \001(\010\022\025\n\rallow_missing\030\003 \001(\010\022\014\n\004eta" - + "g\030\004 \001(\t\"d\n\033GetAzureServerConfigRequest\022E" - + "\n\004name\030\001 \001(\tB7\342A\001\002\372A0\n.gkemulticloud.goo" - + "gleapis.com/AzureServerConfig\"\333\001\n\030Create" - + "AzureClientRequest\022A\n\006parent\030\001 \001(\tB1\342A\001\002" - + "\372A*\022(gkemulticloud.googleapis.com/AzureC" - + "lient\022F\n\014azure_client\030\002 \001(\0132*.google.clo" - + "ud.gkemulticloud.v1.AzureClientB\004\342A\001\002\022\035\n" - + "\017azure_client_id\030\004 \001(\tB\004\342A\001\002\022\025\n\rvalidate" - + "_only\030\003 \001(\010\"X\n\025GetAzureClientRequest\022?\n\004" - + "name\030\001 \001(\tB1\342A\001\002\372A*\n(gkemulticloud.googl" - + "eapis.com/AzureClient\"\203\001\n\027ListAzureClien" - + "tsRequest\022A\n\006parent\030\001 \001(\tB1\342A\001\002\372A*\022(gkem" - + "ulticloud.googleapis.com/AzureClient\022\021\n\t" - + "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"v\n\030L" - + "istAzureClientsResponse\022A\n\razure_clients" - + "\030\001 \003(\0132*.google.cloud.gkemulticloud.v1.A" - + "zureClient\022\027\n\017next_page_token\030\002 \001(\t\"\211\001\n\030" - + "DeleteAzureClientRequest\022?\n\004name\030\001 \001(\tB1" - + "\342A\001\002\372A*\n(gkemulticloud.googleapis.com/Az" - + "ureClient\022\025\n\rallow_missing\030\002 \001(\010\022\025\n\rvali" - + "date_only\030\003 \001(\010\"l\n\037GenerateAzureAccessTo" - + "kenRequest\022I\n\razure_cluster\030\001 \001(\tB2\342A\001\002\372" - + "A+\n)gkemulticloud.googleapis.com/AzureCl" - + "uster\"y\n GenerateAzureAccessTokenRespons" - + "e\022\032\n\014access_token\030\001 \001(\tB\004\342A\001\003\0229\n\017expirat" - + "ion_time\030\002 \001(\0132\032.google.protobuf.Timesta" - + "mpB\004\342A\001\0032\335\035\n\rAzureClusters\022\375\001\n\021CreateAzu" - + "reClient\0227.google.cloud.gkemulticloud.v1" - + ".CreateAzureClientRequest\032\035.google.longr" - + "unning.Operation\"\217\001\312A \n\013AzureClient\022\021Ope" - + "rationMetadata\332A#parent,azure_client,azu" - + "re_client_id\202\323\344\223\002@\"0/v1/{parent=projects" - + "/*/locations/*}/azureClients:\014azure_clie" - + "nt\022\263\001\n\016GetAzureClient\0224.google.cloud.gke" - + "multicloud.v1.GetAzureClientRequest\032*.go" - + "ogle.cloud.gkemulticloud.v1.AzureClient\"" - + "?\332A\004name\202\323\344\223\0022\0220/v1/{name=projects/*/loc" - + "ations/*/azureClients/*}\022\306\001\n\020ListAzureCl" - + "ients\0226.google.cloud.gkemulticloud.v1.Li" - + "stAzureClientsRequest\0327.google.cloud.gke" - + "multicloud.v1.ListAzureClientsResponse\"A" - + "\332A\006parent\202\323\344\223\0022\0220/v1/{parent=projects/*/" - + "locations/*}/azureClients\022\331\001\n\021DeleteAzur" - + "eClient\0227.google.cloud.gkemulticloud.v1." - + "DeleteAzureClientRequest\032\035.google.longru" - + "nning.Operation\"l\312A*\n\025google.protobuf.Em" - + "pty\022\021OperationMetadata\332A\004name\202\323\344\223\0022*0/v1" - + "/{name=projects/*/locations/*/azureClien" - + "ts/*}\022\204\002\n\022CreateAzureCluster\0228.google.cl" - + "oud.gkemulticloud.v1.CreateAzureClusterR" - + "equest\032\035.google.longrunning.Operation\"\224\001" - + "\312A!\n\014AzureCluster\022\021OperationMetadata\332A%p" - + "arent,azure_cluster,azure_cluster_id\202\323\344\223" - + "\002B\"1/v1/{parent=projects/*/locations/*}/" - + "azureClusters:\razure_cluster\022\206\002\n\022UpdateA" - + "zureCluster\0228.google.cloud.gkemulticloud" - + ".v1.UpdateAzureClusterRequest\032\035.google.l" - + "ongrunning.Operation\"\226\001\312A!\n\014AzureCluster" - + "\022\021OperationMetadata\332A\031azure_cluster,upda" - + "te_mask\202\323\344\223\002P2?/v1/{azure_cluster.name=p" - + "rojects/*/locations/*/azureClusters/*}:\r" - + "azure_cluster\022\267\001\n\017GetAzureCluster\0225.goog" - + "le.cloud.gkemulticloud.v1.GetAzureCluste" - + "rRequest\032+.google.cloud.gkemulticloud.v1" - + ".AzureCluster\"@\332A\004name\202\323\344\223\0023\0221/v1/{name=" - + "projects/*/locations/*/azureClusters/*}\022" - + "\312\001\n\021ListAzureClusters\0227.google.cloud.gke" - + "multicloud.v1.ListAzureClustersRequest\0328" - + ".google.cloud.gkemulticloud.v1.ListAzure" - + "ClustersResponse\"B\332A\006parent\202\323\344\223\0023\0221/v1/{" - + "parent=projects/*/locations/*}/azureClus" - + "ters\022\334\001\n\022DeleteAzureCluster\0228.google.clo" - + "ud.gkemulticloud.v1.DeleteAzureClusterRe" - + "quest\032\035.google.longrunning.Operation\"m\312A" - + "*\n\025google.protobuf.Empty\022\021OperationMetad" - + "ata\332A\004name\202\323\344\223\0023*1/v1/{name=projects/*/l" - + "ocations/*/azureClusters/*}\022\370\001\n\030Generate" - + "AzureAccessToken\022>.google.cloud.gkemulti" - + "cloud.v1.GenerateAzureAccessTokenRequest" - + "\032?.google.cloud.gkemulticloud.v1.Generat" - + "eAzureAccessTokenResponse\"[\202\323\344\223\002U\022S/v1/{" - + "azure_cluster=projects/*/locations/*/azu" - + "reClusters/*}:generateAzureAccessToken\022\236" - + "\002\n\023CreateAzureNodePool\0229.google.cloud.gk" - + "emulticloud.v1.CreateAzureNodePoolReques" - + "t\032\035.google.longrunning.Operation\"\254\001\312A\"\n\r" - + "AzureNodePool\022\021OperationMetadata\332A)paren" - + "t,azure_node_pool,azure_node_pool_id\202\323\344\223" - + "\002U\"B/v1/{parent=projects/*/locations/*/a" - + "zureClusters/*}/azureNodePools:\017azure_no" - + "de_pool\022\240\002\n\023UpdateAzureNodePool\0229.google" - + ".cloud.gkemulticloud.v1.UpdateAzureNodeP" - + "oolRequest\032\035.google.longrunning.Operatio" - + "n\"\256\001\312A\"\n\rAzureNodePool\022\021OperationMetadat" - + "a\332A\033azure_node_pool,update_mask\202\323\344\223\002e2R/" - + "v1/{azure_node_pool.name=projects/*/loca" - + "tions/*/azureClusters/*/azureNodePools/*" - + "}:\017azure_node_pool\022\313\001\n\020GetAzureNodePool\022" - + "6.google.cloud.gkemulticloud.v1.GetAzure" - + "NodePoolRequest\032,.google.cloud.gkemultic" - + "loud.v1.AzureNodePool\"Q\332A\004name\202\323\344\223\002D\022B/v" - + "1/{name=projects/*/locations/*/azureClus" - + "ters/*/azureNodePools/*}\022\336\001\n\022ListAzureNo" - + "dePools\0228.google.cloud.gkemulticloud.v1." - + "ListAzureNodePoolsRequest\0329.google.cloud" - + ".gkemulticloud.v1.ListAzureNodePoolsResp" - + "onse\"S\332A\006parent\202\323\344\223\002D\022B/v1/{parent=proje" - + "cts/*/locations/*/azureClusters/*}/azure" - + "NodePools\022\357\001\n\023DeleteAzureNodePool\0229.goog" - + "le.cloud.gkemulticloud.v1.DeleteAzureNod" - + "ePoolRequest\032\035.google.longrunning.Operat" - + "ion\"~\312A*\n\025google.protobuf.Empty\022\021Operati" - + "onMetadata\332A\004name\202\323\344\223\002D*B/v1/{name=proje" - + "cts/*/locations/*/azureClusters/*/azureN" - + "odePools/*}\022\310\001\n\024GetAzureServerConfig\022:.g" - + "oogle.cloud.gkemulticloud.v1.GetAzureSer" - + "verConfigRequest\0320.google.cloud.gkemulti" - + "cloud.v1.AzureServerConfig\"B\332A\004name\202\323\344\223\002" - + "5\0223/v1/{name=projects/*/locations/*/azur" - + "eServerConfig}\032P\312A\034gkemulticloud.googlea" - + "pis.com\322A.https://www.googleapis.com/aut" - + "h/cloud-platformB\344\001\n!com.google.cloud.gk" - + "emulticloud.v1B\021AzureServiceProtoP\001ZGclo" - + "ud.google.com/go/gkemulticloud/apiv1/gke" - + "multicloudpb;gkemulticloudpb\252\002\035Google.Cl" - + "oud.GkeMultiCloud.V1\312\002\035Google\\Cloud\\GkeM" - + "ultiCloud\\V1\352\002 Google::Cloud::GkeMultiCl" - + "oud::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.gkemulticloud.v1.AzureResourcesProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_descriptor, - new java.lang.String[] { - "Parent", "AzureCluster", "AzureClusterId", "ValidateOnly", - }); - internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_descriptor, - new java.lang.String[] { - "AzureCluster", "ValidateOnly", "UpdateMask", - }); - internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_descriptor, - new java.lang.String[] { - "AzureClusters", "NextPageToken", - }); - internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_descriptor, - new java.lang.String[] { - "Name", "AllowMissing", "ValidateOnly", "Etag", - }); - internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_descriptor, - new java.lang.String[] { - "Parent", "AzureNodePool", "AzureNodePoolId", "ValidateOnly", - }); - internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_descriptor, - new java.lang.String[] { - "AzureNodePool", "ValidateOnly", "UpdateMask", - }); - internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_descriptor, - new java.lang.String[] { - "AzureNodePools", "NextPageToken", - }); - internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_descriptor, - new java.lang.String[] { - "Name", "ValidateOnly", "AllowMissing", "Etag", - }); - internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_descriptor, - new java.lang.String[] { - "Parent", "AzureClient", "AzureClientId", "ValidateOnly", - }); - internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_descriptor, - new java.lang.String[] { - "AzureClients", "NextPageToken", - }); - internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_descriptor, - new java.lang.String[] { - "Name", "AllowMissing", "ValidateOnly", - }); - internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_descriptor, - new java.lang.String[] { - "AzureCluster", - }); - internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_descriptor, - new java.lang.String[] { - "AccessToken", "ExpirationTime", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.gkemulticloud.v1.AzureResourcesProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java deleted file mode 100644 index 4c8605ebdd20..000000000000 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java +++ /dev/null @@ -1,210 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/common_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public final class CommonResourcesProto { - private CommonResourcesProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_NodeTaint_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_NodeTaint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_Fleet_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_Fleet_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n4google/cloud/gkemulticloud/v1/common_r" - + "esources.proto\022\035google.cloud.gkemulticlo" - + "ud.v1\032\037google/api/field_behavior.proto\032\037" - + "google/protobuf/timestamp.proto\"^\n\026Workl" - + "oadIdentityConfig\022\022\n\nissuer_uri\030\001 \001(\t\022\025\n" - + "\rworkload_pool\030\002 \001(\t\022\031\n\021identity_provide" - + "r\030\003 \001(\t\"4\n\021MaxPodsConstraint\022\037\n\021max_pods" - + "_per_node\030\001 \001(\003B\004\342A\001\002\"\207\002\n\021OperationMetad" - + "ata\0225\n\013create_time\030\001 \001(\0132\032.google.protob" - + "uf.TimestampB\004\342A\001\003\0222\n\010end_time\030\002 \001(\0132\032.g" - + "oogle.protobuf.TimestampB\004\342A\001\003\022\024\n\006target" - + "\030\003 \001(\tB\004\342A\001\003\022\033\n\rstatus_detail\030\004 \001(\tB\004\342A\001" - + "\003\022\032\n\014error_detail\030\005 \001(\tB\004\342A\001\003\022\022\n\004verb\030\007 " - + "\001(\tB\004\342A\001\003\022$\n\026requested_cancellation\030\006 \001(" - + "\010B\004\342A\001\003\"\325\001\n\tNodeTaint\022\021\n\003key\030\001 \001(\tB\004\342A\001\002" - + "\022\023\n\005value\030\002 \001(\tB\004\342A\001\002\022E\n\006effect\030\003 \001(\0162/." - + "google.cloud.gkemulticloud.v1.NodeTaint." - + "EffectB\004\342A\001\002\"Y\n\006Effect\022\026\n\022EFFECT_UNSPECI" - + "FIED\020\000\022\017\n\013NO_SCHEDULE\020\001\022\026\n\022PREFER_NO_SCH" - + "EDULE\020\002\022\016\n\nNO_EXECUTE\020\003\"8\n\005Fleet\022\025\n\007proj" - + "ect\030\001 \001(\tB\004\342A\001\002\022\030\n\nmembership\030\002 \001(\tB\004\342A\001" - + "\003\"`\n\rLoggingConfig\022O\n\020component_config\030\001" - + " \001(\01325.google.cloud.gkemulticloud.v1.Log" - + "gingComponentConfig\"\302\001\n\026LoggingComponent" - + "Config\022Z\n\021enable_components\030\001 \003(\0162?.goog" - + "le.cloud.gkemulticloud.v1.LoggingCompone" - + "ntConfig.Component\"L\n\tComponent\022\031\n\025COMPO" - + "NENT_UNSPECIFIED\020\000\022\025\n\021SYSTEM_COMPONENTS\020" - + "\001\022\r\n\tWORKLOADS\020\002\"m\n\020MonitoringConfig\022Y\n\031" - + "managed_prometheus_config\030\002 \001(\01326.google" - + ".cloud.gkemulticloud.v1.ManagedPrometheu" - + "sConfig\"*\n\027ManagedPrometheusConfig\022\017\n\007en" - + "abled\030\001 \001(\010B\347\001\n!com.google.cloud.gkemult" - + "icloud.v1B\024CommonResourcesProtoP\001ZGcloud" - + ".google.com/go/gkemulticloud/apiv1/gkemu" - + "lticloudpb;gkemulticloudpb\252\002\035Google.Clou" - + "d.GkeMultiCloud.V1\312\002\035Google\\Cloud\\GkeMul" - + "tiCloud\\V1\352\002 Google::Cloud::GkeMultiClou" - + "d::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_descriptor, - new java.lang.String[] { - "IssuerUri", "WorkloadPool", "IdentityProvider", - }); - internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_descriptor, - new java.lang.String[] { - "MaxPodsPerNode", - }); - internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_descriptor, - new java.lang.String[] { - "CreateTime", - "EndTime", - "Target", - "StatusDetail", - "ErrorDetail", - "Verb", - "RequestedCancellation", - }); - internal_static_google_cloud_gkemulticloud_v1_NodeTaint_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_gkemulticloud_v1_NodeTaint_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_NodeTaint_descriptor, - new java.lang.String[] { - "Key", "Value", "Effect", - }); - internal_static_google_cloud_gkemulticloud_v1_Fleet_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_gkemulticloud_v1_Fleet_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_Fleet_descriptor, - new java.lang.String[] { - "Project", "Membership", - }); - internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_descriptor, - new java.lang.String[] { - "ComponentConfig", - }); - internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_descriptor, - new java.lang.String[] { - "EnableComponents", - }); - internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_descriptor, - new java.lang.String[] { - "ManagedPrometheusConfig", - }); - internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_descriptor, - new java.lang.String[] { - "Enabled", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfigOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfigOrBuilder.java deleted file mode 100644 index 26e9e1dd1a21..000000000000 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfigOrBuilder.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/common_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public interface LoggingComponentConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.LoggingComponentConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The components to be enabled.
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; - * - * - * @return A list containing the enableComponents. - */ - java.util.List - getEnableComponentsList(); - /** - * - * - *
-   * The components to be enabled.
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; - * - * - * @return The count of enableComponents. - */ - int getEnableComponentsCount(); - /** - * - * - *
-   * The components to be enabled.
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; - * - * - * @param index The index of the element to return. - * @return The enableComponents at the given index. - */ - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component getEnableComponents(int index); - /** - * - * - *
-   * The components to be enabled.
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; - * - * - * @return A list containing the enum numeric values on the wire for enableComponents. - */ - java.util.List getEnableComponentsValueList(); - /** - * - * - *
-   * The components to be enabled.
-   * 
- * - * - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; - * - * - * @param index The index of the value to return. - * @return The enum numeric value on the wire of enableComponents at the given index. - */ - int getEnableComponentsValue(int index); -} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ManagedPrometheusConfigOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ManagedPrometheusConfigOrBuilder.java deleted file mode 100644 index fb52cb0489cd..000000000000 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ManagedPrometheusConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/common_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public interface ManagedPrometheusConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.ManagedPrometheusConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Enable Managed Collection.
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraintOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraintOrBuilder.java deleted file mode 100644 index 3705b1f5d206..000000000000 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraintOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/common_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public interface MaxPodsConstraintOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.MaxPodsConstraint) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The maximum number of pods to schedule on a single node.
-   * 
- * - * int64 max_pods_per_node = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The maxPodsPerNode. - */ - long getMaxPodsPerNode(); -} diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClient.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClient.java similarity index 94% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClient.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClient.java index 79354452c759..f0ae675082b4 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClient.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClient.java @@ -453,9 +453,11 @@ public final OperationFuture createAttachedC * @param updateMask Required. Mask of fields to update. At least one path must be supplied in * this field. The elements of the repeated paths field can only include these fields from * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]: - *

* `description`. * `annotations`. * `platform_version`. * - * `authorization.admin_users`. * `logging_config.component_config.enable_components`. - * * `monitoring_config.managed_prometheus_config.enabled`. + *

* `annotations`. * `authorization.admin_groups`. * + * `authorization.admin_users`. * `binary_authorization.evaluation_mode`. * + * `description`. * `logging_config.component_config.enable_components`. * + * `monitoring_config.managed_prometheus_config.enabled`. * `platform_version`. * + * `proxy_config.kubernetes_secret.name`. * `proxy_config.kubernetes_secret.namespace`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture updateAttachedClusterAsync( @@ -681,6 +683,7 @@ public final OperationFuture importAttachedC * .setFleetMembership("fleetMembership-665479228") * .setPlatformVersion("platformVersion1848800485") * .setDistribution("distribution-1580708220") + * .setProxyConfig(AttachedProxyConfig.newBuilder().build()) * .build(); * AttachedCluster response = attachedClustersClient.importAttachedClusterAsync(request).get(); * } @@ -722,6 +725,7 @@ public final OperationFuture importAttachedC * .setFleetMembership("fleetMembership-665479228") * .setPlatformVersion("platformVersion1848800485") * .setDistribution("distribution-1580708220") + * .setProxyConfig(AttachedProxyConfig.newBuilder().build()) * .build(); * OperationFuture future = * attachedClustersClient.importAttachedClusterOperationCallable().futureCall(request); @@ -763,6 +767,7 @@ public final OperationFuture importAttachedC * .setFleetMembership("fleetMembership-665479228") * .setPlatformVersion("platformVersion1848800485") * .setDistribution("distribution-1580708220") + * .setProxyConfig(AttachedProxyConfig.newBuilder().build()) * .build(); * ApiFuture future = * attachedClustersClient.importAttachedClusterCallable().futureCall(request); @@ -1519,6 +1524,7 @@ public final AttachedServerConfig getAttachedServerConfig( * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) * .setAttachedClusterId("attachedClusterId865943409") * .setPlatformVersion("platformVersion1848800485") + * .setProxyConfig(AttachedProxyConfig.newBuilder().build()) * .build(); * GenerateAttachedClusterInstallManifestResponse response = * attachedClustersClient.generateAttachedClusterInstallManifest(request); @@ -1552,6 +1558,7 @@ public final AttachedServerConfig getAttachedServerConfig( * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) * .setAttachedClusterId("attachedClusterId865943409") * .setPlatformVersion("platformVersion1848800485") + * .setProxyConfig(AttachedProxyConfig.newBuilder().build()) * .build(); * ApiFuture future = * attachedClustersClient @@ -1569,6 +1576,86 @@ public final AttachedServerConfig getAttachedServerConfig( return stub.generateAttachedClusterInstallManifestCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Generates an access token for a cluster agent. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AttachedClustersClient attachedClustersClient = AttachedClustersClient.create()) {
+   *   GenerateAttachedClusterAgentTokenRequest request =
+   *       GenerateAttachedClusterAgentTokenRequest.newBuilder()
+   *           .setAttachedCluster(
+   *               AttachedClusterName.of("[PROJECT]", "[LOCATION]", "[ATTACHED_CLUSTER]")
+   *                   .toString())
+   *           .setSubjectToken("subjectToken-1519661011")
+   *           .setSubjectTokenType("subjectTokenType1839592711")
+   *           .setVersion("version351608024")
+   *           .setGrantType("grantType-1219832202")
+   *           .setAudience("audience975628804")
+   *           .setScope("scope109264468")
+   *           .setRequestedTokenType("requestedTokenType1733106949")
+   *           .setOptions("options-1249474914")
+   *           .build();
+   *   GenerateAttachedClusterAgentTokenResponse response =
+   *       attachedClustersClient.generateAttachedClusterAgentToken(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final GenerateAttachedClusterAgentTokenResponse generateAttachedClusterAgentToken( + GenerateAttachedClusterAgentTokenRequest request) { + return generateAttachedClusterAgentTokenCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Generates an access token for a cluster agent. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AttachedClustersClient attachedClustersClient = AttachedClustersClient.create()) {
+   *   GenerateAttachedClusterAgentTokenRequest request =
+   *       GenerateAttachedClusterAgentTokenRequest.newBuilder()
+   *           .setAttachedCluster(
+   *               AttachedClusterName.of("[PROJECT]", "[LOCATION]", "[ATTACHED_CLUSTER]")
+   *                   .toString())
+   *           .setSubjectToken("subjectToken-1519661011")
+   *           .setSubjectTokenType("subjectTokenType1839592711")
+   *           .setVersion("version351608024")
+   *           .setGrantType("grantType-1219832202")
+   *           .setAudience("audience975628804")
+   *           .setScope("scope109264468")
+   *           .setRequestedTokenType("requestedTokenType1733106949")
+   *           .setOptions("options-1249474914")
+   *           .build();
+   *   ApiFuture future =
+   *       attachedClustersClient.generateAttachedClusterAgentTokenCallable().futureCall(request);
+   *   // Do something.
+   *   GenerateAttachedClusterAgentTokenResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable< + GenerateAttachedClusterAgentTokenRequest, GenerateAttachedClusterAgentTokenResponse> + generateAttachedClusterAgentTokenCallable() { + return stub.generateAttachedClusterAgentTokenCallable(); + } + @Override public final void close() { stub.close(); diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersSettings.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersSettings.java similarity index 95% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersSettings.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersSettings.java index d340a8ef4b1c..15ccaf81b7cc 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersSettings.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersSettings.java @@ -29,6 +29,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.gkemulticloud.v1.stub.AttachedClustersStubSettings; @@ -162,6 +163,14 @@ public class AttachedClustersSettings extends ClientSettings + generateAttachedClusterAgentTokenSettings() { + return ((AttachedClustersStubSettings) getStubSettings()) + .generateAttachedClusterAgentTokenSettings(); + } + public static final AttachedClustersSettings create(AttachedClustersStubSettings stub) throws IOException { return new AttachedClustersSettings.Builder(stub.toBuilder()).build(); @@ -360,6 +369,13 @@ public Builder applyToAllUnaryMethods( return getStubSettingsBuilder().generateAttachedClusterInstallManifestSettings(); } + /** Returns the builder for the settings used for calls to generateAttachedClusterAgentToken. */ + public UnaryCallSettings.Builder< + GenerateAttachedClusterAgentTokenRequest, GenerateAttachedClusterAgentTokenResponse> + generateAttachedClusterAgentTokenSettings() { + return getStubSettingsBuilder().generateAttachedClusterAgentTokenSettings(); + } + @Override public AttachedClustersSettings build() throws IOException { return new AttachedClustersSettings(this); diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java similarity index 83% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java index e4a38d3afbd9..099f15cd6e80 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java @@ -441,17 +441,21 @@ public final UnaryCallable createAwsClusterC * this field. The elements of the repeated paths field can only include these fields from * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]: *

* `description`. * `annotations`. * `control_plane.version`. * - * `authorization.admin_users`. * `control_plane.aws_services_authentication.role_arn`. - * * `control_plane.aws_services_authentication.role_session_name`. * + * `authorization.admin_users`. * `authorization.admin_groups`. * + * `binary_authorization.evaluation_mode`. * + * `control_plane.aws_services_authentication.role_arn`. * + * `control_plane.aws_services_authentication.role_session_name`. * * `control_plane.config_encryption.kms_key_arn`. * `control_plane.instance_type`. * * `control_plane.security_group_ids`. * `control_plane.proxy_config`. * * `control_plane.proxy_config.secret_arn`. * `control_plane.proxy_config.secret_version`. * * `control_plane.root_volume.size_gib`. * `control_plane.root_volume.volume_type`. - * * `control_plane.root_volume.iops`. * `control_plane.root_volume.kms_key_arn`. - * * `control_plane.ssh_config`. * `control_plane.ssh_config.ec2_key_pair`. * - * `control_plane.instance_placement.tenancy`. * `control_plane.iam_instance_profile`. - * * `logging_config.component_config.enable_components`. * `control_plane.tags`. - * * `monitoring_config.managed_prometheus_config.enabled`. + * * `control_plane.root_volume.iops`. * `control_plane.root_volume.throughput`. * + * `control_plane.root_volume.kms_key_arn`. * `control_plane.ssh_config`. * + * `control_plane.ssh_config.ec2_key_pair`. * `control_plane.instance_placement.tenancy`. + * * `control_plane.iam_instance_profile`. * + * `logging_config.component_config.enable_components`. * `control_plane.tags`. * + * `monitoring_config.managed_prometheus_config.enabled`. * + * `networking.per_node_pool_sg_rules_disabled`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture updateAwsClusterAsync( @@ -954,6 +958,7 @@ public final OperationFuture deleteAwsClusterAsync(Str * .setName(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) * .setValidateOnly(true) * .setAllowMissing(true) + * .setIgnoreErrors(true) * .setEtag("etag3123477") * .build(); * awsClustersClient.deleteAwsClusterAsync(request).get(); @@ -993,6 +998,7 @@ public final OperationFuture deleteAwsClusterAsync( * .setName(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) * .setValidateOnly(true) * .setAllowMissing(true) + * .setIgnoreErrors(true) * .setEtag("etag3123477") * .build(); * OperationFuture future = @@ -1032,6 +1038,7 @@ public final OperationFuture deleteAwsClusterAsync( * .setName(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) * .setValidateOnly(true) * .setAllowMissing(true) + * .setIgnoreErrors(true) * .setEtag("etag3123477") * .build(); * ApiFuture future = @@ -1045,6 +1052,86 @@ public final UnaryCallable deleteAwsClusterC return stub.deleteAwsClusterCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Generates an access token for a cluster agent. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
+   *   GenerateAwsClusterAgentTokenRequest request =
+   *       GenerateAwsClusterAgentTokenRequest.newBuilder()
+   *           .setAwsCluster(
+   *               AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString())
+   *           .setSubjectToken("subjectToken-1519661011")
+   *           .setSubjectTokenType("subjectTokenType1839592711")
+   *           .setVersion("version351608024")
+   *           .setNodePoolId("nodePoolId1121557241")
+   *           .setGrantType("grantType-1219832202")
+   *           .setAudience("audience975628804")
+   *           .setScope("scope109264468")
+   *           .setRequestedTokenType("requestedTokenType1733106949")
+   *           .setOptions("options-1249474914")
+   *           .build();
+   *   GenerateAwsClusterAgentTokenResponse response =
+   *       awsClustersClient.generateAwsClusterAgentToken(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final GenerateAwsClusterAgentTokenResponse generateAwsClusterAgentToken( + GenerateAwsClusterAgentTokenRequest request) { + return generateAwsClusterAgentTokenCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Generates an access token for a cluster agent. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
+   *   GenerateAwsClusterAgentTokenRequest request =
+   *       GenerateAwsClusterAgentTokenRequest.newBuilder()
+   *           .setAwsCluster(
+   *               AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString())
+   *           .setSubjectToken("subjectToken-1519661011")
+   *           .setSubjectTokenType("subjectTokenType1839592711")
+   *           .setVersion("version351608024")
+   *           .setNodePoolId("nodePoolId1121557241")
+   *           .setGrantType("grantType-1219832202")
+   *           .setAudience("audience975628804")
+   *           .setScope("scope109264468")
+   *           .setRequestedTokenType("requestedTokenType1733106949")
+   *           .setOptions("options-1249474914")
+   *           .build();
+   *   ApiFuture future =
+   *       awsClustersClient.generateAwsClusterAgentTokenCallable().futureCall(request);
+   *   // Do something.
+   *   GenerateAwsClusterAgentTokenResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable< + GenerateAwsClusterAgentTokenRequest, GenerateAwsClusterAgentTokenResponse> + generateAwsClusterAgentTokenCallable() { + return stub.generateAwsClusterAgentTokenCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Generates a short-lived access token to authenticate to a given @@ -1351,14 +1438,18 @@ public final UnaryCallable createAwsNodePoo *

* `annotations`. * `version`. * `autoscaling.min_node_count`. * * `autoscaling.max_node_count`. * `config.config_encryption.kms_key_arn`. * * `config.security_group_ids`. * `config.root_volume.iops`. * - * `config.root_volume.kms_key_arn`. * `config.root_volume.volume_type`. * - * `config.root_volume.size_gib`. * `config.proxy_config`. * - * `config.proxy_config.secret_arn`. * `config.proxy_config.secret_version`. * - * `config.ssh_config`. * `config.ssh_config.ec2_key_pair`. * - * `config.instance_placement.tenancy`. * `config.iam_instance_profile`. * - * `config.labels`. * `config.tags`. * `config.autoscaling_metrics_collection`. * + * `config.root_volume.throughput`. * `config.root_volume.kms_key_arn`. * + * `config.root_volume.volume_type`. * `config.root_volume.size_gib`. * + * `config.proxy_config`. * `config.proxy_config.secret_arn`. * + * `config.proxy_config.secret_version`. * `config.ssh_config`. * + * `config.ssh_config.ec2_key_pair`. * `config.instance_placement.tenancy`. * + * `config.iam_instance_profile`. * `config.labels`. * `config.tags`. * + * `config.autoscaling_metrics_collection`. * * `config.autoscaling_metrics_collection.granularity`. * - * `config.autoscaling_metrics_collection.metrics`. + * `config.autoscaling_metrics_collection.metrics`. * `config.instance_type`. * + * `management.auto_repair`. * `management`. * `update_settings`. * + * `update_settings.surge_settings`. * `update_settings.surge_settings.max_surge`. * + * `update_settings.surge_settings.max_unavailable`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture updateAwsNodePoolAsync( @@ -1463,6 +1554,193 @@ public final UnaryCallable updateAwsNodePoo return stub.updateAwsNodePoolCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Rolls back a previously aborted or failed + * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request. Makes no changes if + * the last update request successfully finished. If an update request is in progress, you cannot + * rollback the update. You must first cancel or let it finish unsuccessfully before you can + * rollback. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
+   *   AwsNodePoolName name =
+   *       AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]");
+   *   AwsNodePool response = awsClustersClient.rollbackAwsNodePoolUpdateAsync(name).get();
+   * }
+   * }
+ * + * @param name Required. The name of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] + * resource to rollback. + *

`AwsNodePool` names are formatted as + * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`. + *

See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more + * details on Google Cloud resource names. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture rollbackAwsNodePoolUpdateAsync( + AwsNodePoolName name) { + RollbackAwsNodePoolUpdateRequest request = + RollbackAwsNodePoolUpdateRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .build(); + return rollbackAwsNodePoolUpdateAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Rolls back a previously aborted or failed + * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request. Makes no changes if + * the last update request successfully finished. If an update request is in progress, you cannot + * rollback the update. You must first cancel or let it finish unsuccessfully before you can + * rollback. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
+   *   String name =
+   *       AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]")
+   *           .toString();
+   *   AwsNodePool response = awsClustersClient.rollbackAwsNodePoolUpdateAsync(name).get();
+   * }
+   * }
+ * + * @param name Required. The name of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] + * resource to rollback. + *

`AwsNodePool` names are formatted as + * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`. + *

See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more + * details on Google Cloud resource names. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture rollbackAwsNodePoolUpdateAsync( + String name) { + RollbackAwsNodePoolUpdateRequest request = + RollbackAwsNodePoolUpdateRequest.newBuilder().setName(name).build(); + return rollbackAwsNodePoolUpdateAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Rolls back a previously aborted or failed + * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request. Makes no changes if + * the last update request successfully finished. If an update request is in progress, you cannot + * rollback the update. You must first cancel or let it finish unsuccessfully before you can + * rollback. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
+   *   RollbackAwsNodePoolUpdateRequest request =
+   *       RollbackAwsNodePoolUpdateRequest.newBuilder()
+   *           .setName(
+   *               AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]")
+   *                   .toString())
+   *           .setRespectPdb(true)
+   *           .build();
+   *   AwsNodePool response = awsClustersClient.rollbackAwsNodePoolUpdateAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture rollbackAwsNodePoolUpdateAsync( + RollbackAwsNodePoolUpdateRequest request) { + return rollbackAwsNodePoolUpdateOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Rolls back a previously aborted or failed + * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request. Makes no changes if + * the last update request successfully finished. If an update request is in progress, you cannot + * rollback the update. You must first cancel or let it finish unsuccessfully before you can + * rollback. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
+   *   RollbackAwsNodePoolUpdateRequest request =
+   *       RollbackAwsNodePoolUpdateRequest.newBuilder()
+   *           .setName(
+   *               AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]")
+   *                   .toString())
+   *           .setRespectPdb(true)
+   *           .build();
+   *   OperationFuture future =
+   *       awsClustersClient.rollbackAwsNodePoolUpdateOperationCallable().futureCall(request);
+   *   // Do something.
+   *   AwsNodePool response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + rollbackAwsNodePoolUpdateOperationCallable() { + return stub.rollbackAwsNodePoolUpdateOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Rolls back a previously aborted or failed + * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request. Makes no changes if + * the last update request successfully finished. If an update request is in progress, you cannot + * rollback the update. You must first cancel or let it finish unsuccessfully before you can + * rollback. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
+   *   RollbackAwsNodePoolUpdateRequest request =
+   *       RollbackAwsNodePoolUpdateRequest.newBuilder()
+   *           .setName(
+   *               AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]")
+   *                   .toString())
+   *           .setRespectPdb(true)
+   *           .build();
+   *   ApiFuture future =
+   *       awsClustersClient.rollbackAwsNodePoolUpdateCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + rollbackAwsNodePoolUpdateCallable() { + return stub.rollbackAwsNodePoolUpdateCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Describes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource. @@ -1870,6 +2148,7 @@ public final OperationFuture deleteAwsNodePoolAsync(St * .toString()) * .setValidateOnly(true) * .setAllowMissing(true) + * .setIgnoreErrors(true) * .setEtag("etag3123477") * .build(); * awsClustersClient.deleteAwsNodePoolAsync(request).get(); @@ -1908,6 +2187,7 @@ public final OperationFuture deleteAwsNodePoolAsync( * .toString()) * .setValidateOnly(true) * .setAllowMissing(true) + * .setIgnoreErrors(true) * .setEtag("etag3123477") * .build(); * OperationFuture future = @@ -1946,6 +2226,7 @@ public final OperationFuture deleteAwsNodePoolAsync( * .toString()) * .setValidateOnly(true) * .setAllowMissing(true) + * .setIgnoreErrors(true) * .setEtag("etag3123477") * .build(); * ApiFuture future = @@ -1959,6 +2240,125 @@ public final UnaryCallable deleteAwsNodePoo return stub.deleteAwsNodePoolCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the OIDC discovery document for the cluster. See the [OpenID Connect Discovery 1.0 + * specification](https://openid.net/specs/openid-connect-discovery-1_0.html) for details. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
+   *   GetAwsOpenIdConfigRequest request =
+   *       GetAwsOpenIdConfigRequest.newBuilder()
+   *           .setAwsCluster(
+   *               AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString())
+   *           .build();
+   *   AwsOpenIdConfig response = awsClustersClient.getAwsOpenIdConfig(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AwsOpenIdConfig getAwsOpenIdConfig(GetAwsOpenIdConfigRequest request) { + return getAwsOpenIdConfigCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the OIDC discovery document for the cluster. See the [OpenID Connect Discovery 1.0 + * specification](https://openid.net/specs/openid-connect-discovery-1_0.html) for details. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
+   *   GetAwsOpenIdConfigRequest request =
+   *       GetAwsOpenIdConfigRequest.newBuilder()
+   *           .setAwsCluster(
+   *               AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       awsClustersClient.getAwsOpenIdConfigCallable().futureCall(request);
+   *   // Do something.
+   *   AwsOpenIdConfig response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + getAwsOpenIdConfigCallable() { + return stub.getAwsOpenIdConfigCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the public component of the cluster signing keys in JSON Web Key format. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
+   *   GetAwsJsonWebKeysRequest request =
+   *       GetAwsJsonWebKeysRequest.newBuilder()
+   *           .setAwsCluster(
+   *               AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString())
+   *           .build();
+   *   AwsJsonWebKeys response = awsClustersClient.getAwsJsonWebKeys(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AwsJsonWebKeys getAwsJsonWebKeys(GetAwsJsonWebKeysRequest request) { + return getAwsJsonWebKeysCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the public component of the cluster signing keys in JSON Web Key format. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
+   *   GetAwsJsonWebKeysRequest request =
+   *       GetAwsJsonWebKeysRequest.newBuilder()
+   *           .setAwsCluster(
+   *               AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       awsClustersClient.getAwsJsonWebKeysCallable().futureCall(request);
+   *   // Do something.
+   *   AwsJsonWebKeys response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getAwsJsonWebKeysCallable() { + return stub.getAwsJsonWebKeysCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Returns information, such as supported AWS regions and Kubernetes versions, on a given Google diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersSettings.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersSettings.java similarity index 85% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersSettings.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersSettings.java index 60373e69eded..102f3b45c892 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersSettings.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersSettings.java @@ -30,6 +30,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.gkemulticloud.v1.stub.AwsClustersStubSettings; @@ -123,6 +124,13 @@ public UnaryCallSettings deleteAwsClusterSet return ((AwsClustersStubSettings) getStubSettings()).deleteAwsClusterOperationSettings(); } + /** Returns the object with the settings used for calls to generateAwsClusterAgentToken. */ + public UnaryCallSettings< + GenerateAwsClusterAgentTokenRequest, GenerateAwsClusterAgentTokenResponse> + generateAwsClusterAgentTokenSettings() { + return ((AwsClustersStubSettings) getStubSettings()).generateAwsClusterAgentTokenSettings(); + } + /** Returns the object with the settings used for calls to generateAwsAccessToken. */ public UnaryCallSettings generateAwsAccessTokenSettings() { @@ -151,6 +159,19 @@ public UnaryCallSettings updateAwsNodePoolS return ((AwsClustersStubSettings) getStubSettings()).updateAwsNodePoolOperationSettings(); } + /** Returns the object with the settings used for calls to rollbackAwsNodePoolUpdate. */ + public UnaryCallSettings + rollbackAwsNodePoolUpdateSettings() { + return ((AwsClustersStubSettings) getStubSettings()).rollbackAwsNodePoolUpdateSettings(); + } + + /** Returns the object with the settings used for calls to rollbackAwsNodePoolUpdate. */ + public OperationCallSettings + rollbackAwsNodePoolUpdateOperationSettings() { + return ((AwsClustersStubSettings) getStubSettings()) + .rollbackAwsNodePoolUpdateOperationSettings(); + } + /** Returns the object with the settings used for calls to getAwsNodePool. */ public UnaryCallSettings getAwsNodePoolSettings() { return ((AwsClustersStubSettings) getStubSettings()).getAwsNodePoolSettings(); @@ -174,6 +195,17 @@ public UnaryCallSettings deleteAwsNodePoolS return ((AwsClustersStubSettings) getStubSettings()).deleteAwsNodePoolOperationSettings(); } + /** Returns the object with the settings used for calls to getAwsOpenIdConfig. */ + public UnaryCallSettings + getAwsOpenIdConfigSettings() { + return ((AwsClustersStubSettings) getStubSettings()).getAwsOpenIdConfigSettings(); + } + + /** Returns the object with the settings used for calls to getAwsJsonWebKeys. */ + public UnaryCallSettings getAwsJsonWebKeysSettings() { + return ((AwsClustersStubSettings) getStubSettings()).getAwsJsonWebKeysSettings(); + } + /** Returns the object with the settings used for calls to getAwsServerConfig. */ public UnaryCallSettings getAwsServerConfigSettings() { @@ -342,6 +374,13 @@ public UnaryCallSettings.Builder getAwsCluster return getStubSettingsBuilder().deleteAwsClusterOperationSettings(); } + /** Returns the builder for the settings used for calls to generateAwsClusterAgentToken. */ + public UnaryCallSettings.Builder< + GenerateAwsClusterAgentTokenRequest, GenerateAwsClusterAgentTokenResponse> + generateAwsClusterAgentTokenSettings() { + return getStubSettingsBuilder().generateAwsClusterAgentTokenSettings(); + } + /** Returns the builder for the settings used for calls to generateAwsAccessToken. */ public UnaryCallSettings.Builder generateAwsAccessTokenSettings() { @@ -372,6 +411,19 @@ public UnaryCallSettings.Builder getAwsCluster return getStubSettingsBuilder().updateAwsNodePoolOperationSettings(); } + /** Returns the builder for the settings used for calls to rollbackAwsNodePoolUpdate. */ + public UnaryCallSettings.Builder + rollbackAwsNodePoolUpdateSettings() { + return getStubSettingsBuilder().rollbackAwsNodePoolUpdateSettings(); + } + + /** Returns the builder for the settings used for calls to rollbackAwsNodePoolUpdate. */ + public OperationCallSettings.Builder< + RollbackAwsNodePoolUpdateRequest, AwsNodePool, OperationMetadata> + rollbackAwsNodePoolUpdateOperationSettings() { + return getStubSettingsBuilder().rollbackAwsNodePoolUpdateOperationSettings(); + } + /** Returns the builder for the settings used for calls to getAwsNodePool. */ public UnaryCallSettings.Builder getAwsNodePoolSettings() { return getStubSettingsBuilder().getAwsNodePoolSettings(); @@ -396,6 +448,18 @@ public UnaryCallSettings.Builder getAwsNodeP return getStubSettingsBuilder().deleteAwsNodePoolOperationSettings(); } + /** Returns the builder for the settings used for calls to getAwsOpenIdConfig. */ + public UnaryCallSettings.Builder + getAwsOpenIdConfigSettings() { + return getStubSettingsBuilder().getAwsOpenIdConfigSettings(); + } + + /** Returns the builder for the settings used for calls to getAwsJsonWebKeys. */ + public UnaryCallSettings.Builder + getAwsJsonWebKeysSettings() { + return getStubSettingsBuilder().getAwsJsonWebKeysSettings(); + } + /** Returns the builder for the settings used for calls to getAwsServerConfig. */ public UnaryCallSettings.Builder getAwsServerConfigSettings() { diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java similarity index 89% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java index cf85a3a3c9ec..cade7e677d67 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java @@ -1164,8 +1164,8 @@ public final UnaryCallable createAzureClus * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]: *

* `description`. * `azureClient`. * `control_plane.version`. * * `control_plane.vm_size`. * `annotations`. * `authorization.admin_users`. * - * `control_plane.root_volume.size_gib`. * `azure_services_authentication`. * - * `azure_services_authentication.tenant_id`. * + * `authorization.admin_groups`. * `control_plane.root_volume.size_gib`. * + * `azure_services_authentication`. * `azure_services_authentication.tenant_id`. * * `azure_services_authentication.application_id`. * `control_plane.proxy_config`. * * `control_plane.proxy_config.resource_group_id`. * * `control_plane.proxy_config.secret_id`. * `control_plane.ssh_config.authorized_key`. @@ -1769,6 +1769,86 @@ public final UnaryCallable deleteAzureClus return stub.deleteAzureClusterCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Generates an access token for a cluster agent. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) {
+   *   GenerateAzureClusterAgentTokenRequest request =
+   *       GenerateAzureClusterAgentTokenRequest.newBuilder()
+   *           .setAzureCluster(
+   *               AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString())
+   *           .setSubjectToken("subjectToken-1519661011")
+   *           .setSubjectTokenType("subjectTokenType1839592711")
+   *           .setVersion("version351608024")
+   *           .setNodePoolId("nodePoolId1121557241")
+   *           .setGrantType("grantType-1219832202")
+   *           .setAudience("audience975628804")
+   *           .setScope("scope109264468")
+   *           .setRequestedTokenType("requestedTokenType1733106949")
+   *           .setOptions("options-1249474914")
+   *           .build();
+   *   GenerateAzureClusterAgentTokenResponse response =
+   *       azureClustersClient.generateAzureClusterAgentToken(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final GenerateAzureClusterAgentTokenResponse generateAzureClusterAgentToken( + GenerateAzureClusterAgentTokenRequest request) { + return generateAzureClusterAgentTokenCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Generates an access token for a cluster agent. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) {
+   *   GenerateAzureClusterAgentTokenRequest request =
+   *       GenerateAzureClusterAgentTokenRequest.newBuilder()
+   *           .setAzureCluster(
+   *               AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString())
+   *           .setSubjectToken("subjectToken-1519661011")
+   *           .setSubjectTokenType("subjectTokenType1839592711")
+   *           .setVersion("version351608024")
+   *           .setNodePoolId("nodePoolId1121557241")
+   *           .setGrantType("grantType-1219832202")
+   *           .setAudience("audience975628804")
+   *           .setScope("scope109264468")
+   *           .setRequestedTokenType("requestedTokenType1733106949")
+   *           .setOptions("options-1249474914")
+   *           .build();
+   *   ApiFuture future =
+   *       azureClustersClient.generateAzureClusterAgentTokenCallable().futureCall(request);
+   *   // Do something.
+   *   GenerateAzureClusterAgentTokenResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable< + GenerateAzureClusterAgentTokenRequest, GenerateAzureClusterAgentTokenResponse> + generateAzureClusterAgentTokenCallable() { + return stub.generateAzureClusterAgentTokenCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Generates a short-lived access token to authenticate to a given @@ -1862,7 +1942,8 @@ public final GenerateAzureAccessTokenResponse generateAzureAccessToken( * * @param parent Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource * where this node pool will be created. - *

Location names are formatted as `projects/<project-id>/locations/<region>`. + *

`AzureCluster` names are formatted as + * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`. *

See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more * details on Google Cloud resource names. * @param azureNodePool Required. The specification of the @@ -1916,7 +1997,8 @@ public final OperationFuture createAzureNodePo * * @param parent Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource * where this node pool will be created. - *

Location names are formatted as `projects/<project-id>/locations/<region>`. + *

`AzureCluster` names are formatted as + * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`. *

See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more * details on Google Cloud resource names. * @param azureNodePool Required. The specification of the @@ -2079,7 +2161,8 @@ public final UnaryCallable createAzureNod * this field. The elements of the repeated paths field can only include these fields from * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]: *

*. `annotations`. * `version`. * `autoscaling.min_node_count`. * - * `autoscaling.max_node_count`. * `config.ssh_config.authorized_key`. + * `autoscaling.max_node_count`. * `config.ssh_config.authorized_key`. * + * `management.auto_repair`. * `management`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture updateAzureNodePoolAsync( @@ -2690,6 +2773,248 @@ public final UnaryCallable deleteAzureNod return stub.deleteAzureNodePoolCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the OIDC discovery document for the cluster. See the [OpenID Connect Discovery 1.0 + * specification](https://openid.net/specs/openid-connect-discovery-1_0.html) for details. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) {
+   *   AzureClusterName azureCluster =
+   *       AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]");
+   *   AzureOpenIdConfig response = azureClustersClient.getAzureOpenIdConfig(azureCluster);
+   * }
+   * }
+ * + * @param azureCluster Required. The AzureCluster, which owns the OIDC discovery document. Format: + * projects/<project-id>/locations/<region>/azureClusters/<cluster-id> + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AzureOpenIdConfig getAzureOpenIdConfig(AzureClusterName azureCluster) { + GetAzureOpenIdConfigRequest request = + GetAzureOpenIdConfigRequest.newBuilder() + .setAzureCluster(azureCluster == null ? null : azureCluster.toString()) + .build(); + return getAzureOpenIdConfig(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the OIDC discovery document for the cluster. See the [OpenID Connect Discovery 1.0 + * specification](https://openid.net/specs/openid-connect-discovery-1_0.html) for details. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) {
+   *   String azureCluster =
+   *       AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString();
+   *   AzureOpenIdConfig response = azureClustersClient.getAzureOpenIdConfig(azureCluster);
+   * }
+   * }
+ * + * @param azureCluster Required. The AzureCluster, which owns the OIDC discovery document. Format: + * projects/<project-id>/locations/<region>/azureClusters/<cluster-id> + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AzureOpenIdConfig getAzureOpenIdConfig(String azureCluster) { + GetAzureOpenIdConfigRequest request = + GetAzureOpenIdConfigRequest.newBuilder().setAzureCluster(azureCluster).build(); + return getAzureOpenIdConfig(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the OIDC discovery document for the cluster. See the [OpenID Connect Discovery 1.0 + * specification](https://openid.net/specs/openid-connect-discovery-1_0.html) for details. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) {
+   *   GetAzureOpenIdConfigRequest request =
+   *       GetAzureOpenIdConfigRequest.newBuilder()
+   *           .setAzureCluster(
+   *               AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString())
+   *           .build();
+   *   AzureOpenIdConfig response = azureClustersClient.getAzureOpenIdConfig(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AzureOpenIdConfig getAzureOpenIdConfig(GetAzureOpenIdConfigRequest request) { + return getAzureOpenIdConfigCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the OIDC discovery document for the cluster. See the [OpenID Connect Discovery 1.0 + * specification](https://openid.net/specs/openid-connect-discovery-1_0.html) for details. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) {
+   *   GetAzureOpenIdConfigRequest request =
+   *       GetAzureOpenIdConfigRequest.newBuilder()
+   *           .setAzureCluster(
+   *               AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       azureClustersClient.getAzureOpenIdConfigCallable().futureCall(request);
+   *   // Do something.
+   *   AzureOpenIdConfig response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + getAzureOpenIdConfigCallable() { + return stub.getAzureOpenIdConfigCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the public component of the cluster signing keys in JSON Web Key format. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) {
+   *   AzureClusterName azureCluster =
+   *       AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]");
+   *   AzureJsonWebKeys response = azureClustersClient.getAzureJsonWebKeys(azureCluster);
+   * }
+   * }
+ * + * @param azureCluster Required. The AzureCluster, which owns the JsonWebKeys. Format: + * projects/<project-id>/locations/<region>/azureClusters/<cluster-id> + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AzureJsonWebKeys getAzureJsonWebKeys(AzureClusterName azureCluster) { + GetAzureJsonWebKeysRequest request = + GetAzureJsonWebKeysRequest.newBuilder() + .setAzureCluster(azureCluster == null ? null : azureCluster.toString()) + .build(); + return getAzureJsonWebKeys(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the public component of the cluster signing keys in JSON Web Key format. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) {
+   *   String azureCluster =
+   *       AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString();
+   *   AzureJsonWebKeys response = azureClustersClient.getAzureJsonWebKeys(azureCluster);
+   * }
+   * }
+ * + * @param azureCluster Required. The AzureCluster, which owns the JsonWebKeys. Format: + * projects/<project-id>/locations/<region>/azureClusters/<cluster-id> + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AzureJsonWebKeys getAzureJsonWebKeys(String azureCluster) { + GetAzureJsonWebKeysRequest request = + GetAzureJsonWebKeysRequest.newBuilder().setAzureCluster(azureCluster).build(); + return getAzureJsonWebKeys(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the public component of the cluster signing keys in JSON Web Key format. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) {
+   *   GetAzureJsonWebKeysRequest request =
+   *       GetAzureJsonWebKeysRequest.newBuilder()
+   *           .setAzureCluster(
+   *               AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString())
+   *           .build();
+   *   AzureJsonWebKeys response = azureClustersClient.getAzureJsonWebKeys(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AzureJsonWebKeys getAzureJsonWebKeys(GetAzureJsonWebKeysRequest request) { + return getAzureJsonWebKeysCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the public component of the cluster signing keys in JSON Web Key format. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) {
+   *   GetAzureJsonWebKeysRequest request =
+   *       GetAzureJsonWebKeysRequest.newBuilder()
+   *           .setAzureCluster(
+   *               AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       azureClustersClient.getAzureJsonWebKeysCallable().futureCall(request);
+   *   // Do something.
+   *   AzureJsonWebKeys response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + getAzureJsonWebKeysCallable() { + return stub.getAzureJsonWebKeysCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Returns information, such as supported Azure regions and Kubernetes versions, on a given Google diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersSettings.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersSettings.java similarity index 92% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersSettings.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersSettings.java index d6bb54323ec3..dffa5993c272 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersSettings.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersSettings.java @@ -31,6 +31,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.gkemulticloud.v1.stub.AzureClustersStubSettings; @@ -158,6 +159,13 @@ public UnaryCallSettings deleteAzureCluste return ((AzureClustersStubSettings) getStubSettings()).deleteAzureClusterOperationSettings(); } + /** Returns the object with the settings used for calls to generateAzureClusterAgentToken. */ + public UnaryCallSettings< + GenerateAzureClusterAgentTokenRequest, GenerateAzureClusterAgentTokenResponse> + generateAzureClusterAgentTokenSettings() { + return ((AzureClustersStubSettings) getStubSettings()).generateAzureClusterAgentTokenSettings(); + } + /** Returns the object with the settings used for calls to generateAzureAccessToken. */ public UnaryCallSettings generateAzureAccessTokenSettings() { @@ -209,6 +217,18 @@ public UnaryCallSettings deleteAzureNodeP return ((AzureClustersStubSettings) getStubSettings()).deleteAzureNodePoolOperationSettings(); } + /** Returns the object with the settings used for calls to getAzureOpenIdConfig. */ + public UnaryCallSettings + getAzureOpenIdConfigSettings() { + return ((AzureClustersStubSettings) getStubSettings()).getAzureOpenIdConfigSettings(); + } + + /** Returns the object with the settings used for calls to getAzureJsonWebKeys. */ + public UnaryCallSettings + getAzureJsonWebKeysSettings() { + return ((AzureClustersStubSettings) getStubSettings()).getAzureJsonWebKeysSettings(); + } + /** Returns the object with the settings used for calls to getAzureServerConfig. */ public UnaryCallSettings getAzureServerConfigSettings() { @@ -415,6 +435,13 @@ public UnaryCallSettings.Builder getAzureCli return getStubSettingsBuilder().deleteAzureClusterOperationSettings(); } + /** Returns the builder for the settings used for calls to generateAzureClusterAgentToken. */ + public UnaryCallSettings.Builder< + GenerateAzureClusterAgentTokenRequest, GenerateAzureClusterAgentTokenResponse> + generateAzureClusterAgentTokenSettings() { + return getStubSettingsBuilder().generateAzureClusterAgentTokenSettings(); + } + /** Returns the builder for the settings used for calls to generateAzureAccessToken. */ public UnaryCallSettings.Builder< GenerateAzureAccessTokenRequest, GenerateAzureAccessTokenResponse> @@ -473,6 +500,18 @@ public UnaryCallSettings.Builder getAzureCli return getStubSettingsBuilder().deleteAzureNodePoolOperationSettings(); } + /** Returns the builder for the settings used for calls to getAzureOpenIdConfig. */ + public UnaryCallSettings.Builder + getAzureOpenIdConfigSettings() { + return getStubSettingsBuilder().getAzureOpenIdConfigSettings(); + } + + /** Returns the builder for the settings used for calls to getAzureJsonWebKeys. */ + public UnaryCallSettings.Builder + getAzureJsonWebKeysSettings() { + return getStubSettingsBuilder().getAzureJsonWebKeysSettings(); + } + /** Returns the builder for the settings used for calls to getAzureServerConfig. */ public UnaryCallSettings.Builder getAzureServerConfigSettings() { diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/gapic_metadata.json b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/gapic_metadata.json similarity index 85% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/gapic_metadata.json rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/gapic_metadata.json index 75b5c7121211..e1b6cb72f164 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/gapic_metadata.json +++ b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/gapic_metadata.json @@ -16,6 +16,9 @@ "DeleteAttachedCluster": { "methods": ["deleteAttachedClusterAsync", "deleteAttachedClusterAsync", "deleteAttachedClusterAsync", "deleteAttachedClusterOperationCallable", "deleteAttachedClusterCallable"] }, + "GenerateAttachedClusterAgentToken": { + "methods": ["generateAttachedClusterAgentToken", "generateAttachedClusterAgentTokenCallable"] + }, "GenerateAttachedClusterInstallManifest": { "methods": ["generateAttachedClusterInstallManifest", "generateAttachedClusterInstallManifest", "generateAttachedClusterInstallManifest", "generateAttachedClusterInstallManifestCallable"] }, @@ -58,12 +61,21 @@ "GenerateAwsAccessToken": { "methods": ["generateAwsAccessToken", "generateAwsAccessTokenCallable"] }, + "GenerateAwsClusterAgentToken": { + "methods": ["generateAwsClusterAgentToken", "generateAwsClusterAgentTokenCallable"] + }, "GetAwsCluster": { "methods": ["getAwsCluster", "getAwsCluster", "getAwsCluster", "getAwsClusterCallable"] }, + "GetAwsJsonWebKeys": { + "methods": ["getAwsJsonWebKeys", "getAwsJsonWebKeysCallable"] + }, "GetAwsNodePool": { "methods": ["getAwsNodePool", "getAwsNodePool", "getAwsNodePool", "getAwsNodePoolCallable"] }, + "GetAwsOpenIdConfig": { + "methods": ["getAwsOpenIdConfig", "getAwsOpenIdConfigCallable"] + }, "GetAwsServerConfig": { "methods": ["getAwsServerConfig", "getAwsServerConfig", "getAwsServerConfig", "getAwsServerConfigCallable"] }, @@ -73,6 +85,9 @@ "ListAwsNodePools": { "methods": ["listAwsNodePools", "listAwsNodePools", "listAwsNodePools", "listAwsNodePoolsPagedCallable", "listAwsNodePoolsCallable"] }, + "RollbackAwsNodePoolUpdate": { + "methods": ["rollbackAwsNodePoolUpdateAsync", "rollbackAwsNodePoolUpdateAsync", "rollbackAwsNodePoolUpdateAsync", "rollbackAwsNodePoolUpdateOperationCallable", "rollbackAwsNodePoolUpdateCallable"] + }, "UpdateAwsCluster": { "methods": ["updateAwsClusterAsync", "updateAwsClusterAsync", "updateAwsClusterOperationCallable", "updateAwsClusterCallable"] }, @@ -109,15 +124,24 @@ "GenerateAzureAccessToken": { "methods": ["generateAzureAccessToken", "generateAzureAccessTokenCallable"] }, + "GenerateAzureClusterAgentToken": { + "methods": ["generateAzureClusterAgentToken", "generateAzureClusterAgentTokenCallable"] + }, "GetAzureClient": { "methods": ["getAzureClient", "getAzureClient", "getAzureClient", "getAzureClientCallable"] }, "GetAzureCluster": { "methods": ["getAzureCluster", "getAzureCluster", "getAzureCluster", "getAzureClusterCallable"] }, + "GetAzureJsonWebKeys": { + "methods": ["getAzureJsonWebKeys", "getAzureJsonWebKeys", "getAzureJsonWebKeys", "getAzureJsonWebKeysCallable"] + }, "GetAzureNodePool": { "methods": ["getAzureNodePool", "getAzureNodePool", "getAzureNodePool", "getAzureNodePoolCallable"] }, + "GetAzureOpenIdConfig": { + "methods": ["getAzureOpenIdConfig", "getAzureOpenIdConfig", "getAzureOpenIdConfig", "getAzureOpenIdConfigCallable"] + }, "GetAzureServerConfig": { "methods": ["getAzureServerConfig", "getAzureServerConfig", "getAzureServerConfig", "getAzureServerConfigCallable"] }, diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/package-info.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/package-info.java similarity index 100% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/package-info.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/package-info.java diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AttachedClustersStub.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AttachedClustersStub.java similarity index 92% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AttachedClustersStub.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AttachedClustersStub.java index 94d7f9cacfd6..d5a045ed4f65 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AttachedClustersStub.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AttachedClustersStub.java @@ -25,6 +25,8 @@ import com.google.cloud.gkemulticloud.v1.AttachedServerConfig; import com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest; import com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest; +import com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest; +import com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse; import com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest; import com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse; import com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest; @@ -123,6 +125,13 @@ public UnaryCallable deleteAttachedClus "Not implemented: generateAttachedClusterInstallManifestCallable()"); } + public UnaryCallable< + GenerateAttachedClusterAgentTokenRequest, GenerateAttachedClusterAgentTokenResponse> + generateAttachedClusterAgentTokenCallable() { + throw new UnsupportedOperationException( + "Not implemented: generateAttachedClusterAgentTokenCallable()"); + } + @Override public abstract void close(); } diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AttachedClustersStubSettings.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AttachedClustersStubSettings.java similarity index 95% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AttachedClustersStubSettings.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AttachedClustersStubSettings.java index 2c2c668d5ce5..c6cd6b95f2e9 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AttachedClustersStubSettings.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AttachedClustersStubSettings.java @@ -51,6 +51,8 @@ import com.google.cloud.gkemulticloud.v1.AttachedServerConfig; import com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest; import com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest; +import com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest; +import com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse; import com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest; import com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse; import com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest; @@ -146,6 +148,9 @@ public class AttachedClustersStubSettings extends StubSettings generateAttachedClusterInstallManifestSettings; + private final UnaryCallSettings< + GenerateAttachedClusterAgentTokenRequest, GenerateAttachedClusterAgentTokenResponse> + generateAttachedClusterAgentTokenSettings; private static final PagedListDescriptor< ListAttachedClustersRequest, ListAttachedClustersResponse, AttachedCluster> @@ -291,6 +296,13 @@ public ApiFuture getFuturePagedResponse( return generateAttachedClusterInstallManifestSettings; } + /** Returns the object with the settings used for calls to generateAttachedClusterAgentToken. */ + public UnaryCallSettings< + GenerateAttachedClusterAgentTokenRequest, GenerateAttachedClusterAgentTokenResponse> + generateAttachedClusterAgentTokenSettings() { + return generateAttachedClusterAgentTokenSettings; + } + public AttachedClustersStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() @@ -414,6 +426,8 @@ protected AttachedClustersStubSettings(Builder settingsBuilder) throws IOExcepti getAttachedServerConfigSettings = settingsBuilder.getAttachedServerConfigSettings().build(); generateAttachedClusterInstallManifestSettings = settingsBuilder.generateAttachedClusterInstallManifestSettings().build(); + generateAttachedClusterAgentTokenSettings = + settingsBuilder.generateAttachedClusterAgentTokenSettings().build(); } /** Builder for AttachedClustersStubSettings. */ @@ -452,6 +466,9 @@ public static class Builder extends StubSettings.Builder generateAttachedClusterInstallManifestSettings; + private final UnaryCallSettings.Builder< + GenerateAttachedClusterAgentTokenRequest, GenerateAttachedClusterAgentTokenResponse> + generateAttachedClusterAgentTokenSettings; private static final ImmutableMap> RETRYABLE_CODE_DEFINITIONS; @@ -514,6 +531,7 @@ protected Builder(ClientContext clientContext) { getAttachedServerConfigSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); generateAttachedClusterInstallManifestSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + generateAttachedClusterAgentTokenSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); unaryMethodSettingsBuilders = ImmutableList.>of( @@ -524,7 +542,8 @@ protected Builder(ClientContext clientContext) { listAttachedClustersSettings, deleteAttachedClusterSettings, getAttachedServerConfigSettings, - generateAttachedClusterInstallManifestSettings); + generateAttachedClusterInstallManifestSettings, + generateAttachedClusterAgentTokenSettings); initDefaults(this); } @@ -548,6 +567,8 @@ protected Builder(AttachedClustersStubSettings settings) { getAttachedServerConfigSettings = settings.getAttachedServerConfigSettings.toBuilder(); generateAttachedClusterInstallManifestSettings = settings.generateAttachedClusterInstallManifestSettings.toBuilder(); + generateAttachedClusterAgentTokenSettings = + settings.generateAttachedClusterAgentTokenSettings.toBuilder(); unaryMethodSettingsBuilders = ImmutableList.>of( @@ -558,7 +579,8 @@ protected Builder(AttachedClustersStubSettings settings) { listAttachedClustersSettings, deleteAttachedClusterSettings, getAttachedServerConfigSettings, - generateAttachedClusterInstallManifestSettings); + generateAttachedClusterInstallManifestSettings, + generateAttachedClusterAgentTokenSettings); } private static Builder createDefault() { @@ -628,6 +650,11 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + builder + .generateAttachedClusterAgentTokenSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + builder .createAttachedClusterOperationSettings() .setInitialCallSettings( @@ -833,6 +860,13 @@ public Builder applyToAllUnaryMethods( return generateAttachedClusterInstallManifestSettings; } + /** Returns the builder for the settings used for calls to generateAttachedClusterAgentToken. */ + public UnaryCallSettings.Builder< + GenerateAttachedClusterAgentTokenRequest, GenerateAttachedClusterAgentTokenResponse> + generateAttachedClusterAgentTokenSettings() { + return generateAttachedClusterAgentTokenSettings; + } + @Override public AttachedClustersStubSettings build() throws IOException { return new AttachedClustersStubSettings(this); diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStub.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStub.java similarity index 81% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStub.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStub.java index e54738206e7a..71ccedbc12c3 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStub.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStub.java @@ -23,7 +23,9 @@ import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.gkemulticloud.v1.AwsCluster; +import com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys; import com.google.cloud.gkemulticloud.v1.AwsNodePool; +import com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig; import com.google.cloud.gkemulticloud.v1.AwsServerConfig; import com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest; import com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest; @@ -31,14 +33,19 @@ import com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest; import com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest; import com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse; +import com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest; +import com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse; import com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest; +import com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest; import com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest; +import com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest; import com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest; import com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest; import com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse; import com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest; import com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse; import com.google.cloud.gkemulticloud.v1.OperationMetadata; +import com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest; import com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest; import com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest; import com.google.longrunning.Operation; @@ -103,6 +110,12 @@ public UnaryCallable deleteAwsClusterCallabl throw new UnsupportedOperationException("Not implemented: deleteAwsClusterCallable()"); } + public UnaryCallable + generateAwsClusterAgentTokenCallable() { + throw new UnsupportedOperationException( + "Not implemented: generateAwsClusterAgentTokenCallable()"); + } + public UnaryCallable generateAwsAccessTokenCallable() { throw new UnsupportedOperationException("Not implemented: generateAwsAccessTokenCallable()"); @@ -128,6 +141,17 @@ public UnaryCallable updateAwsNodePoolCalla throw new UnsupportedOperationException("Not implemented: updateAwsNodePoolCallable()"); } + public OperationCallable + rollbackAwsNodePoolUpdateOperationCallable() { + throw new UnsupportedOperationException( + "Not implemented: rollbackAwsNodePoolUpdateOperationCallable()"); + } + + public UnaryCallable + rollbackAwsNodePoolUpdateCallable() { + throw new UnsupportedOperationException("Not implemented: rollbackAwsNodePoolUpdateCallable()"); + } + public UnaryCallable getAwsNodePoolCallable() { throw new UnsupportedOperationException("Not implemented: getAwsNodePoolCallable()"); } @@ -152,6 +176,14 @@ public UnaryCallable deleteAwsNodePoolCalla throw new UnsupportedOperationException("Not implemented: deleteAwsNodePoolCallable()"); } + public UnaryCallable getAwsOpenIdConfigCallable() { + throw new UnsupportedOperationException("Not implemented: getAwsOpenIdConfigCallable()"); + } + + public UnaryCallable getAwsJsonWebKeysCallable() { + throw new UnsupportedOperationException("Not implemented: getAwsJsonWebKeysCallable()"); + } + public UnaryCallable getAwsServerConfigCallable() { throw new UnsupportedOperationException("Not implemented: getAwsServerConfigCallable()"); } diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStubSettings.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStubSettings.java similarity index 84% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStubSettings.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStubSettings.java index add4fbe89f1a..0e942d2c988d 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStubSettings.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStubSettings.java @@ -49,7 +49,9 @@ import com.google.api.gax.rpc.UnaryCallSettings; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.gkemulticloud.v1.AwsCluster; +import com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys; import com.google.cloud.gkemulticloud.v1.AwsNodePool; +import com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig; import com.google.cloud.gkemulticloud.v1.AwsServerConfig; import com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest; import com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest; @@ -57,14 +59,19 @@ import com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest; import com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest; import com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse; +import com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest; +import com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse; import com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest; +import com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest; import com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest; +import com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest; import com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest; import com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest; import com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse; import com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest; import com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse; import com.google.cloud.gkemulticloud.v1.OperationMetadata; +import com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest; import com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest; import com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest; import com.google.common.collect.ImmutableList; @@ -134,6 +141,9 @@ public class AwsClustersStubSettings extends StubSettings deleteAwsClusterSettings; private final OperationCallSettings deleteAwsClusterOperationSettings; + private final UnaryCallSettings< + GenerateAwsClusterAgentTokenRequest, GenerateAwsClusterAgentTokenResponse> + generateAwsClusterAgentTokenSettings; private final UnaryCallSettings generateAwsAccessTokenSettings; private final UnaryCallSettings createAwsNodePoolSettings; @@ -142,6 +152,11 @@ public class AwsClustersStubSettings extends StubSettings updateAwsNodePoolSettings; private final OperationCallSettings updateAwsNodePoolOperationSettings; + private final UnaryCallSettings + rollbackAwsNodePoolUpdateSettings; + private final OperationCallSettings< + RollbackAwsNodePoolUpdateRequest, AwsNodePool, OperationMetadata> + rollbackAwsNodePoolUpdateOperationSettings; private final UnaryCallSettings getAwsNodePoolSettings; private final PagedCallSettings< ListAwsNodePoolsRequest, ListAwsNodePoolsResponse, ListAwsNodePoolsPagedResponse> @@ -149,6 +164,10 @@ public class AwsClustersStubSettings extends StubSettings deleteAwsNodePoolSettings; private final OperationCallSettings deleteAwsNodePoolOperationSettings; + private final UnaryCallSettings + getAwsOpenIdConfigSettings; + private final UnaryCallSettings + getAwsJsonWebKeysSettings; private final UnaryCallSettings getAwsServerConfigSettings; @@ -312,6 +331,13 @@ public UnaryCallSettings deleteAwsClusterSet return deleteAwsClusterOperationSettings; } + /** Returns the object with the settings used for calls to generateAwsClusterAgentToken. */ + public UnaryCallSettings< + GenerateAwsClusterAgentTokenRequest, GenerateAwsClusterAgentTokenResponse> + generateAwsClusterAgentTokenSettings() { + return generateAwsClusterAgentTokenSettings; + } + /** Returns the object with the settings used for calls to generateAwsAccessToken. */ public UnaryCallSettings generateAwsAccessTokenSettings() { @@ -340,6 +366,18 @@ public UnaryCallSettings updateAwsNodePoolS return updateAwsNodePoolOperationSettings; } + /** Returns the object with the settings used for calls to rollbackAwsNodePoolUpdate. */ + public UnaryCallSettings + rollbackAwsNodePoolUpdateSettings() { + return rollbackAwsNodePoolUpdateSettings; + } + + /** Returns the object with the settings used for calls to rollbackAwsNodePoolUpdate. */ + public OperationCallSettings + rollbackAwsNodePoolUpdateOperationSettings() { + return rollbackAwsNodePoolUpdateOperationSettings; + } + /** Returns the object with the settings used for calls to getAwsNodePool. */ public UnaryCallSettings getAwsNodePoolSettings() { return getAwsNodePoolSettings; @@ -363,6 +401,17 @@ public UnaryCallSettings deleteAwsNodePoolS return deleteAwsNodePoolOperationSettings; } + /** Returns the object with the settings used for calls to getAwsOpenIdConfig. */ + public UnaryCallSettings + getAwsOpenIdConfigSettings() { + return getAwsOpenIdConfigSettings; + } + + /** Returns the object with the settings used for calls to getAwsJsonWebKeys. */ + public UnaryCallSettings getAwsJsonWebKeysSettings() { + return getAwsJsonWebKeysSettings; + } + /** Returns the object with the settings used for calls to getAwsServerConfig. */ public UnaryCallSettings getAwsServerConfigSettings() { @@ -483,6 +532,8 @@ protected AwsClustersStubSettings(Builder settingsBuilder) throws IOException { listAwsClustersSettings = settingsBuilder.listAwsClustersSettings().build(); deleteAwsClusterSettings = settingsBuilder.deleteAwsClusterSettings().build(); deleteAwsClusterOperationSettings = settingsBuilder.deleteAwsClusterOperationSettings().build(); + generateAwsClusterAgentTokenSettings = + settingsBuilder.generateAwsClusterAgentTokenSettings().build(); generateAwsAccessTokenSettings = settingsBuilder.generateAwsAccessTokenSettings().build(); createAwsNodePoolSettings = settingsBuilder.createAwsNodePoolSettings().build(); createAwsNodePoolOperationSettings = @@ -490,11 +541,16 @@ protected AwsClustersStubSettings(Builder settingsBuilder) throws IOException { updateAwsNodePoolSettings = settingsBuilder.updateAwsNodePoolSettings().build(); updateAwsNodePoolOperationSettings = settingsBuilder.updateAwsNodePoolOperationSettings().build(); + rollbackAwsNodePoolUpdateSettings = settingsBuilder.rollbackAwsNodePoolUpdateSettings().build(); + rollbackAwsNodePoolUpdateOperationSettings = + settingsBuilder.rollbackAwsNodePoolUpdateOperationSettings().build(); getAwsNodePoolSettings = settingsBuilder.getAwsNodePoolSettings().build(); listAwsNodePoolsSettings = settingsBuilder.listAwsNodePoolsSettings().build(); deleteAwsNodePoolSettings = settingsBuilder.deleteAwsNodePoolSettings().build(); deleteAwsNodePoolOperationSettings = settingsBuilder.deleteAwsNodePoolOperationSettings().build(); + getAwsOpenIdConfigSettings = settingsBuilder.getAwsOpenIdConfigSettings().build(); + getAwsJsonWebKeysSettings = settingsBuilder.getAwsJsonWebKeysSettings().build(); getAwsServerConfigSettings = settingsBuilder.getAwsServerConfigSettings().build(); } @@ -519,6 +575,9 @@ public static class Builder extends StubSettings.Builder deleteAwsClusterOperationSettings; + private final UnaryCallSettings.Builder< + GenerateAwsClusterAgentTokenRequest, GenerateAwsClusterAgentTokenResponse> + generateAwsClusterAgentTokenSettings; private final UnaryCallSettings.Builder< GenerateAwsAccessTokenRequest, GenerateAwsAccessTokenResponse> generateAwsAccessTokenSettings; @@ -532,6 +591,11 @@ public static class Builder extends StubSettings.Builder updateAwsNodePoolOperationSettings; + private final UnaryCallSettings.Builder + rollbackAwsNodePoolUpdateSettings; + private final OperationCallSettings.Builder< + RollbackAwsNodePoolUpdateRequest, AwsNodePool, OperationMetadata> + rollbackAwsNodePoolUpdateOperationSettings; private final UnaryCallSettings.Builder getAwsNodePoolSettings; private final PagedCallSettings.Builder< @@ -541,6 +605,10 @@ public static class Builder extends StubSettings.Builder deleteAwsNodePoolOperationSettings; + private final UnaryCallSettings.Builder + getAwsOpenIdConfigSettings; + private final UnaryCallSettings.Builder + getAwsJsonWebKeysSettings; private final UnaryCallSettings.Builder getAwsServerConfigSettings; private static final ImmutableMap> @@ -599,15 +667,20 @@ protected Builder(ClientContext clientContext) { listAwsClustersSettings = PagedCallSettings.newBuilder(LIST_AWS_CLUSTERS_PAGE_STR_FACT); deleteAwsClusterSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); deleteAwsClusterOperationSettings = OperationCallSettings.newBuilder(); + generateAwsClusterAgentTokenSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); generateAwsAccessTokenSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); createAwsNodePoolSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); createAwsNodePoolOperationSettings = OperationCallSettings.newBuilder(); updateAwsNodePoolSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); updateAwsNodePoolOperationSettings = OperationCallSettings.newBuilder(); + rollbackAwsNodePoolUpdateSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + rollbackAwsNodePoolUpdateOperationSettings = OperationCallSettings.newBuilder(); getAwsNodePoolSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); listAwsNodePoolsSettings = PagedCallSettings.newBuilder(LIST_AWS_NODE_POOLS_PAGE_STR_FACT); deleteAwsNodePoolSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); deleteAwsNodePoolOperationSettings = OperationCallSettings.newBuilder(); + getAwsOpenIdConfigSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + getAwsJsonWebKeysSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); getAwsServerConfigSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); unaryMethodSettingsBuilders = @@ -617,12 +690,16 @@ protected Builder(ClientContext clientContext) { getAwsClusterSettings, listAwsClustersSettings, deleteAwsClusterSettings, + generateAwsClusterAgentTokenSettings, generateAwsAccessTokenSettings, createAwsNodePoolSettings, updateAwsNodePoolSettings, + rollbackAwsNodePoolUpdateSettings, getAwsNodePoolSettings, listAwsNodePoolsSettings, deleteAwsNodePoolSettings, + getAwsOpenIdConfigSettings, + getAwsJsonWebKeysSettings, getAwsServerConfigSettings); initDefaults(this); } @@ -638,15 +715,22 @@ protected Builder(AwsClustersStubSettings settings) { listAwsClustersSettings = settings.listAwsClustersSettings.toBuilder(); deleteAwsClusterSettings = settings.deleteAwsClusterSettings.toBuilder(); deleteAwsClusterOperationSettings = settings.deleteAwsClusterOperationSettings.toBuilder(); + generateAwsClusterAgentTokenSettings = + settings.generateAwsClusterAgentTokenSettings.toBuilder(); generateAwsAccessTokenSettings = settings.generateAwsAccessTokenSettings.toBuilder(); createAwsNodePoolSettings = settings.createAwsNodePoolSettings.toBuilder(); createAwsNodePoolOperationSettings = settings.createAwsNodePoolOperationSettings.toBuilder(); updateAwsNodePoolSettings = settings.updateAwsNodePoolSettings.toBuilder(); updateAwsNodePoolOperationSettings = settings.updateAwsNodePoolOperationSettings.toBuilder(); + rollbackAwsNodePoolUpdateSettings = settings.rollbackAwsNodePoolUpdateSettings.toBuilder(); + rollbackAwsNodePoolUpdateOperationSettings = + settings.rollbackAwsNodePoolUpdateOperationSettings.toBuilder(); getAwsNodePoolSettings = settings.getAwsNodePoolSettings.toBuilder(); listAwsNodePoolsSettings = settings.listAwsNodePoolsSettings.toBuilder(); deleteAwsNodePoolSettings = settings.deleteAwsNodePoolSettings.toBuilder(); deleteAwsNodePoolOperationSettings = settings.deleteAwsNodePoolOperationSettings.toBuilder(); + getAwsOpenIdConfigSettings = settings.getAwsOpenIdConfigSettings.toBuilder(); + getAwsJsonWebKeysSettings = settings.getAwsJsonWebKeysSettings.toBuilder(); getAwsServerConfigSettings = settings.getAwsServerConfigSettings.toBuilder(); unaryMethodSettingsBuilders = @@ -656,12 +740,16 @@ protected Builder(AwsClustersStubSettings settings) { getAwsClusterSettings, listAwsClustersSettings, deleteAwsClusterSettings, + generateAwsClusterAgentTokenSettings, generateAwsAccessTokenSettings, createAwsNodePoolSettings, updateAwsNodePoolSettings, + rollbackAwsNodePoolUpdateSettings, getAwsNodePoolSettings, listAwsNodePoolsSettings, deleteAwsNodePoolSettings, + getAwsOpenIdConfigSettings, + getAwsJsonWebKeysSettings, getAwsServerConfigSettings); } @@ -717,6 +805,11 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + builder + .generateAwsClusterAgentTokenSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + builder .generateAwsAccessTokenSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) @@ -732,6 +825,11 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + builder + .rollbackAwsNodePoolUpdateSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + builder .getAwsNodePoolSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) @@ -747,6 +845,16 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + builder + .getAwsOpenIdConfigSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .getAwsJsonWebKeysSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + builder .getAwsServerConfigSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) @@ -872,6 +980,31 @@ private static Builder initDefaults(Builder builder) { .setTotalTimeout(Duration.ofMillis(300000L)) .build())); + builder + .rollbackAwsNodePoolUpdateOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + . + newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(AwsNodePool.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(OperationMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + builder .deleteAwsNodePoolOperationSettings() .setInitialCallSettings( @@ -968,6 +1101,13 @@ public UnaryCallSettings.Builder getAwsCluster return deleteAwsClusterOperationSettings; } + /** Returns the builder for the settings used for calls to generateAwsClusterAgentToken. */ + public UnaryCallSettings.Builder< + GenerateAwsClusterAgentTokenRequest, GenerateAwsClusterAgentTokenResponse> + generateAwsClusterAgentTokenSettings() { + return generateAwsClusterAgentTokenSettings; + } + /** Returns the builder for the settings used for calls to generateAwsAccessToken. */ public UnaryCallSettings.Builder generateAwsAccessTokenSettings() { @@ -1002,6 +1142,21 @@ public UnaryCallSettings.Builder getAwsCluster return updateAwsNodePoolOperationSettings; } + /** Returns the builder for the settings used for calls to rollbackAwsNodePoolUpdate. */ + public UnaryCallSettings.Builder + rollbackAwsNodePoolUpdateSettings() { + return rollbackAwsNodePoolUpdateSettings; + } + + /** Returns the builder for the settings used for calls to rollbackAwsNodePoolUpdate. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + RollbackAwsNodePoolUpdateRequest, AwsNodePool, OperationMetadata> + rollbackAwsNodePoolUpdateOperationSettings() { + return rollbackAwsNodePoolUpdateOperationSettings; + } + /** Returns the builder for the settings used for calls to getAwsNodePool. */ public UnaryCallSettings.Builder getAwsNodePoolSettings() { return getAwsNodePoolSettings; @@ -1028,6 +1183,18 @@ public UnaryCallSettings.Builder getAwsNodeP return deleteAwsNodePoolOperationSettings; } + /** Returns the builder for the settings used for calls to getAwsOpenIdConfig. */ + public UnaryCallSettings.Builder + getAwsOpenIdConfigSettings() { + return getAwsOpenIdConfigSettings; + } + + /** Returns the builder for the settings used for calls to getAwsJsonWebKeys. */ + public UnaryCallSettings.Builder + getAwsJsonWebKeysSettings() { + return getAwsJsonWebKeysSettings; + } + /** Returns the builder for the settings used for calls to getAwsServerConfig. */ public UnaryCallSettings.Builder getAwsServerConfigSettings() { diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStub.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStub.java similarity index 89% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStub.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStub.java index 9e2d1df79aa3..32b6ac604f1d 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStub.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStub.java @@ -25,7 +25,9 @@ import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.gkemulticloud.v1.AzureClient; import com.google.cloud.gkemulticloud.v1.AzureCluster; +import com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys; import com.google.cloud.gkemulticloud.v1.AzureNodePool; +import com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig; import com.google.cloud.gkemulticloud.v1.AzureServerConfig; import com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest; import com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest; @@ -35,9 +37,13 @@ import com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest; import com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest; import com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse; +import com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest; +import com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse; import com.google.cloud.gkemulticloud.v1.GetAzureClientRequest; import com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest; +import com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest; import com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest; +import com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest; import com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest; import com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest; import com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse; @@ -148,6 +154,13 @@ public UnaryCallable deleteAzureClusterCal throw new UnsupportedOperationException("Not implemented: deleteAzureClusterCallable()"); } + public UnaryCallable< + GenerateAzureClusterAgentTokenRequest, GenerateAzureClusterAgentTokenResponse> + generateAzureClusterAgentTokenCallable() { + throw new UnsupportedOperationException( + "Not implemented: generateAzureClusterAgentTokenCallable()"); + } + public UnaryCallable generateAzureAccessTokenCallable() { throw new UnsupportedOperationException("Not implemented: generateAzureAccessTokenCallable()"); @@ -197,6 +210,15 @@ public UnaryCallable deleteAzureNodePoolC throw new UnsupportedOperationException("Not implemented: deleteAzureNodePoolCallable()"); } + public UnaryCallable + getAzureOpenIdConfigCallable() { + throw new UnsupportedOperationException("Not implemented: getAzureOpenIdConfigCallable()"); + } + + public UnaryCallable getAzureJsonWebKeysCallable() { + throw new UnsupportedOperationException("Not implemented: getAzureJsonWebKeysCallable()"); + } + public UnaryCallable getAzureServerConfigCallable() { throw new UnsupportedOperationException("Not implemented: getAzureServerConfigCallable()"); diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStubSettings.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStubSettings.java similarity index 93% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStubSettings.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStubSettings.java index 7de1035341e9..8e7e640a92a6 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStubSettings.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStubSettings.java @@ -51,7 +51,9 @@ import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.gkemulticloud.v1.AzureClient; import com.google.cloud.gkemulticloud.v1.AzureCluster; +import com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys; import com.google.cloud.gkemulticloud.v1.AzureNodePool; +import com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig; import com.google.cloud.gkemulticloud.v1.AzureServerConfig; import com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest; import com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest; @@ -61,9 +63,13 @@ import com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest; import com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest; import com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse; +import com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest; +import com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse; import com.google.cloud.gkemulticloud.v1.GetAzureClientRequest; import com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest; +import com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest; import com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest; +import com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest; import com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest; import com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest; import com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse; @@ -151,6 +157,9 @@ public class AzureClustersStubSettings extends StubSettings deleteAzureClusterSettings; private final OperationCallSettings deleteAzureClusterOperationSettings; + private final UnaryCallSettings< + GenerateAzureClusterAgentTokenRequest, GenerateAzureClusterAgentTokenResponse> + generateAzureClusterAgentTokenSettings; private final UnaryCallSettings generateAzureAccessTokenSettings; private final UnaryCallSettings @@ -169,6 +178,10 @@ public class AzureClustersStubSettings extends StubSettings deleteAzureNodePoolOperationSettings; + private final UnaryCallSettings + getAzureOpenIdConfigSettings; + private final UnaryCallSettings + getAzureJsonWebKeysSettings; private final UnaryCallSettings getAzureServerConfigSettings; @@ -432,6 +445,13 @@ public UnaryCallSettings deleteAzureCluste return deleteAzureClusterOperationSettings; } + /** Returns the object with the settings used for calls to generateAzureClusterAgentToken. */ + public UnaryCallSettings< + GenerateAzureClusterAgentTokenRequest, GenerateAzureClusterAgentTokenResponse> + generateAzureClusterAgentTokenSettings() { + return generateAzureClusterAgentTokenSettings; + } + /** Returns the object with the settings used for calls to generateAzureAccessToken. */ public UnaryCallSettings generateAzureAccessTokenSettings() { @@ -483,6 +503,18 @@ public UnaryCallSettings deleteAzureNodeP return deleteAzureNodePoolOperationSettings; } + /** Returns the object with the settings used for calls to getAzureOpenIdConfig. */ + public UnaryCallSettings + getAzureOpenIdConfigSettings() { + return getAzureOpenIdConfigSettings; + } + + /** Returns the object with the settings used for calls to getAzureJsonWebKeys. */ + public UnaryCallSettings + getAzureJsonWebKeysSettings() { + return getAzureJsonWebKeysSettings; + } + /** Returns the object with the settings used for calls to getAzureServerConfig. */ public UnaryCallSettings getAzureServerConfigSettings() { @@ -614,6 +646,8 @@ protected AzureClustersStubSettings(Builder settingsBuilder) throws IOException deleteAzureClusterSettings = settingsBuilder.deleteAzureClusterSettings().build(); deleteAzureClusterOperationSettings = settingsBuilder.deleteAzureClusterOperationSettings().build(); + generateAzureClusterAgentTokenSettings = + settingsBuilder.generateAzureClusterAgentTokenSettings().build(); generateAzureAccessTokenSettings = settingsBuilder.generateAzureAccessTokenSettings().build(); createAzureNodePoolSettings = settingsBuilder.createAzureNodePoolSettings().build(); createAzureNodePoolOperationSettings = @@ -626,6 +660,8 @@ protected AzureClustersStubSettings(Builder settingsBuilder) throws IOException deleteAzureNodePoolSettings = settingsBuilder.deleteAzureNodePoolSettings().build(); deleteAzureNodePoolOperationSettings = settingsBuilder.deleteAzureNodePoolOperationSettings().build(); + getAzureOpenIdConfigSettings = settingsBuilder.getAzureOpenIdConfigSettings().build(); + getAzureJsonWebKeysSettings = settingsBuilder.getAzureJsonWebKeysSettings().build(); getAzureServerConfigSettings = settingsBuilder.getAzureServerConfigSettings().build(); } @@ -665,6 +701,9 @@ public static class Builder extends StubSettings.Builder deleteAzureClusterOperationSettings; + private final UnaryCallSettings.Builder< + GenerateAzureClusterAgentTokenRequest, GenerateAzureClusterAgentTokenResponse> + generateAzureClusterAgentTokenSettings; private final UnaryCallSettings.Builder< GenerateAzureAccessTokenRequest, GenerateAzureAccessTokenResponse> generateAzureAccessTokenSettings; @@ -688,6 +727,10 @@ public static class Builder extends StubSettings.Builder deleteAzureNodePoolOperationSettings; + private final UnaryCallSettings.Builder + getAzureOpenIdConfigSettings; + private final UnaryCallSettings.Builder + getAzureJsonWebKeysSettings; private final UnaryCallSettings.Builder getAzureServerConfigSettings; private static final ImmutableMap> @@ -752,6 +795,7 @@ protected Builder(ClientContext clientContext) { listAzureClustersSettings = PagedCallSettings.newBuilder(LIST_AZURE_CLUSTERS_PAGE_STR_FACT); deleteAzureClusterSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); deleteAzureClusterOperationSettings = OperationCallSettings.newBuilder(); + generateAzureClusterAgentTokenSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); generateAzureAccessTokenSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); createAzureNodePoolSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); createAzureNodePoolOperationSettings = OperationCallSettings.newBuilder(); @@ -762,6 +806,8 @@ protected Builder(ClientContext clientContext) { PagedCallSettings.newBuilder(LIST_AZURE_NODE_POOLS_PAGE_STR_FACT); deleteAzureNodePoolSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); deleteAzureNodePoolOperationSettings = OperationCallSettings.newBuilder(); + getAzureOpenIdConfigSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + getAzureJsonWebKeysSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); getAzureServerConfigSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); unaryMethodSettingsBuilders = @@ -775,12 +821,15 @@ protected Builder(ClientContext clientContext) { getAzureClusterSettings, listAzureClustersSettings, deleteAzureClusterSettings, + generateAzureClusterAgentTokenSettings, generateAzureAccessTokenSettings, createAzureNodePoolSettings, updateAzureNodePoolSettings, getAzureNodePoolSettings, listAzureNodePoolsSettings, deleteAzureNodePoolSettings, + getAzureOpenIdConfigSettings, + getAzureJsonWebKeysSettings, getAzureServerConfigSettings); initDefaults(this); } @@ -805,6 +854,8 @@ protected Builder(AzureClustersStubSettings settings) { deleteAzureClusterSettings = settings.deleteAzureClusterSettings.toBuilder(); deleteAzureClusterOperationSettings = settings.deleteAzureClusterOperationSettings.toBuilder(); + generateAzureClusterAgentTokenSettings = + settings.generateAzureClusterAgentTokenSettings.toBuilder(); generateAzureAccessTokenSettings = settings.generateAzureAccessTokenSettings.toBuilder(); createAzureNodePoolSettings = settings.createAzureNodePoolSettings.toBuilder(); createAzureNodePoolOperationSettings = @@ -817,6 +868,8 @@ protected Builder(AzureClustersStubSettings settings) { deleteAzureNodePoolSettings = settings.deleteAzureNodePoolSettings.toBuilder(); deleteAzureNodePoolOperationSettings = settings.deleteAzureNodePoolOperationSettings.toBuilder(); + getAzureOpenIdConfigSettings = settings.getAzureOpenIdConfigSettings.toBuilder(); + getAzureJsonWebKeysSettings = settings.getAzureJsonWebKeysSettings.toBuilder(); getAzureServerConfigSettings = settings.getAzureServerConfigSettings.toBuilder(); unaryMethodSettingsBuilders = @@ -830,12 +883,15 @@ protected Builder(AzureClustersStubSettings settings) { getAzureClusterSettings, listAzureClustersSettings, deleteAzureClusterSettings, + generateAzureClusterAgentTokenSettings, generateAzureAccessTokenSettings, createAzureNodePoolSettings, updateAzureNodePoolSettings, getAzureNodePoolSettings, listAzureNodePoolsSettings, deleteAzureNodePoolSettings, + getAzureOpenIdConfigSettings, + getAzureJsonWebKeysSettings, getAzureServerConfigSettings); } @@ -911,6 +967,11 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + builder + .generateAzureClusterAgentTokenSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + builder .generateAzureAccessTokenSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) @@ -941,6 +1002,16 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + builder + .getAzureOpenIdConfigSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .getAzureJsonWebKeysSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + builder .getAzureServerConfigSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) @@ -1251,6 +1322,13 @@ public UnaryCallSettings.Builder getAzureCli return deleteAzureClusterOperationSettings; } + /** Returns the builder for the settings used for calls to generateAzureClusterAgentToken. */ + public UnaryCallSettings.Builder< + GenerateAzureClusterAgentTokenRequest, GenerateAzureClusterAgentTokenResponse> + generateAzureClusterAgentTokenSettings() { + return generateAzureClusterAgentTokenSettings; + } + /** Returns the builder for the settings used for calls to generateAzureAccessToken. */ public UnaryCallSettings.Builder< GenerateAzureAccessTokenRequest, GenerateAzureAccessTokenResponse> @@ -1315,6 +1393,18 @@ public UnaryCallSettings.Builder getAzureCli return deleteAzureNodePoolOperationSettings; } + /** Returns the builder for the settings used for calls to getAzureOpenIdConfig. */ + public UnaryCallSettings.Builder + getAzureOpenIdConfigSettings() { + return getAzureOpenIdConfigSettings; + } + + /** Returns the builder for the settings used for calls to getAzureJsonWebKeys. */ + public UnaryCallSettings.Builder + getAzureJsonWebKeysSettings() { + return getAzureJsonWebKeysSettings; + } + /** Returns the builder for the settings used for calls to getAzureServerConfig. */ public UnaryCallSettings.Builder getAzureServerConfigSettings() { diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAttachedClustersCallableFactory.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAttachedClustersCallableFactory.java similarity index 100% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAttachedClustersCallableFactory.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAttachedClustersCallableFactory.java diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAttachedClustersStub.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAttachedClustersStub.java similarity index 90% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAttachedClustersStub.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAttachedClustersStub.java index 222bc51b929c..95e2d2d93ce7 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAttachedClustersStub.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAttachedClustersStub.java @@ -30,6 +30,8 @@ import com.google.cloud.gkemulticloud.v1.AttachedServerConfig; import com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest; import com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest; +import com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest; +import com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse; import com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest; import com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse; import com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest; @@ -45,6 +47,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; @@ -154,6 +157,23 @@ public class GrpcAttachedClustersStub extends AttachedClustersStub { GenerateAttachedClusterInstallManifestResponse.getDefaultInstance())) .build(); + private static final MethodDescriptor< + GenerateAttachedClusterAgentTokenRequest, GenerateAttachedClusterAgentTokenResponse> + generateAttachedClusterAgentTokenMethodDescriptor = + MethodDescriptor + . + newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.cloud.gkemulticloud.v1.AttachedClusters/GenerateAttachedClusterAgentToken") + .setRequestMarshaller( + ProtoUtils.marshaller( + GenerateAttachedClusterAgentTokenRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller( + GenerateAttachedClusterAgentTokenResponse.getDefaultInstance())) + .build(); + private final UnaryCallable createAttachedClusterCallable; private final OperationCallable @@ -182,6 +202,9 @@ public class GrpcAttachedClustersStub extends AttachedClustersStub { GenerateAttachedClusterInstallManifestRequest, GenerateAttachedClusterInstallManifestResponse> generateAttachedClusterInstallManifestCallable; + private final UnaryCallable< + GenerateAttachedClusterAgentTokenRequest, GenerateAttachedClusterAgentTokenResponse> + generateAttachedClusterAgentTokenCallable; private final BackgroundResource backgroundResources; private final GrpcOperationsStub operationsStub; @@ -322,6 +345,21 @@ protected GrpcAttachedClustersStub( return builder.build(); }) .build(); + GrpcCallSettings< + GenerateAttachedClusterAgentTokenRequest, GenerateAttachedClusterAgentTokenResponse> + generateAttachedClusterAgentTokenTransportSettings = + GrpcCallSettings + . + newBuilder() + .setMethodDescriptor(generateAttachedClusterAgentTokenMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("attached_cluster", String.valueOf(request.getAttachedCluster())); + return builder.build(); + }) + .build(); this.createAttachedClusterCallable = callableFactory.createUnaryCallable( @@ -392,6 +430,11 @@ protected GrpcAttachedClustersStub( generateAttachedClusterInstallManifestTransportSettings, settings.generateAttachedClusterInstallManifestSettings(), clientContext); + this.generateAttachedClusterAgentTokenCallable = + callableFactory.createUnaryCallable( + generateAttachedClusterAgentTokenTransportSettings, + settings.generateAttachedClusterAgentTokenSettings(), + clientContext); this.backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources()); @@ -476,6 +519,13 @@ public UnaryCallable deleteAttachedClus return generateAttachedClusterInstallManifestCallable; } + @Override + public UnaryCallable< + GenerateAttachedClusterAgentTokenRequest, GenerateAttachedClusterAgentTokenResponse> + generateAttachedClusterAgentTokenCallable() { + return generateAttachedClusterAgentTokenCallable; + } + @Override public final void close() { try { diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersCallableFactory.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersCallableFactory.java similarity index 100% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersCallableFactory.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersCallableFactory.java diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersStub.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersStub.java similarity index 77% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersStub.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersStub.java index fd3e6fcaf6db..7f749f7b3139 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersStub.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersStub.java @@ -28,7 +28,9 @@ import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.gkemulticloud.v1.AwsCluster; +import com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys; import com.google.cloud.gkemulticloud.v1.AwsNodePool; +import com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig; import com.google.cloud.gkemulticloud.v1.AwsServerConfig; import com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest; import com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest; @@ -36,14 +38,19 @@ import com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest; import com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest; import com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse; +import com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest; +import com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse; import com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest; +import com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest; import com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest; +import com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest; import com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest; import com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest; import com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse; import com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest; import com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse; import com.google.cloud.gkemulticloud.v1.OperationMetadata; +import com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest; import com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest; import com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest; import com.google.longrunning.Operation; @@ -52,6 +59,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; @@ -114,6 +122,21 @@ public class GrpcAwsClustersStub extends AwsClustersStub { .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); + private static final MethodDescriptor< + GenerateAwsClusterAgentTokenRequest, GenerateAwsClusterAgentTokenResponse> + generateAwsClusterAgentTokenMethodDescriptor = + MethodDescriptor + . + newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.cloud.gkemulticloud.v1.AwsClusters/GenerateAwsClusterAgentToken") + .setRequestMarshaller( + ProtoUtils.marshaller(GenerateAwsClusterAgentTokenRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(GenerateAwsClusterAgentTokenResponse.getDefaultInstance())) + .build(); + private static final MethodDescriptor< GenerateAwsAccessTokenRequest, GenerateAwsAccessTokenResponse> generateAwsAccessTokenMethodDescriptor = @@ -147,6 +170,17 @@ public class GrpcAwsClustersStub extends AwsClustersStub { .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); + private static final MethodDescriptor + rollbackAwsNodePoolUpdateMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.cloud.gkemulticloud.v1.AwsClusters/RollbackAwsNodePoolUpdate") + .setRequestMarshaller( + ProtoUtils.marshaller(RollbackAwsNodePoolUpdateRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + private static final MethodDescriptor getAwsNodePoolMethodDescriptor = MethodDescriptor.newBuilder() @@ -178,6 +212,26 @@ public class GrpcAwsClustersStub extends AwsClustersStub { .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); + private static final MethodDescriptor + getAwsOpenIdConfigMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.gkemulticloud.v1.AwsClusters/GetAwsOpenIdConfig") + .setRequestMarshaller( + ProtoUtils.marshaller(GetAwsOpenIdConfigRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(AwsOpenIdConfig.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + getAwsJsonWebKeysMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.gkemulticloud.v1.AwsClusters/GetAwsJsonWebKeys") + .setRequestMarshaller( + ProtoUtils.marshaller(GetAwsJsonWebKeysRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(AwsJsonWebKeys.getDefaultInstance())) + .build(); + private static final MethodDescriptor getAwsServerConfigMethodDescriptor = MethodDescriptor.newBuilder() @@ -202,6 +256,9 @@ public class GrpcAwsClustersStub extends AwsClustersStub { private final UnaryCallable deleteAwsClusterCallable; private final OperationCallable deleteAwsClusterOperationCallable; + private final UnaryCallable< + GenerateAwsClusterAgentTokenRequest, GenerateAwsClusterAgentTokenResponse> + generateAwsClusterAgentTokenCallable; private final UnaryCallable generateAwsAccessTokenCallable; private final UnaryCallable createAwsNodePoolCallable; @@ -210,6 +267,10 @@ public class GrpcAwsClustersStub extends AwsClustersStub { private final UnaryCallable updateAwsNodePoolCallable; private final OperationCallable updateAwsNodePoolOperationCallable; + private final UnaryCallable + rollbackAwsNodePoolUpdateCallable; + private final OperationCallable + rollbackAwsNodePoolUpdateOperationCallable; private final UnaryCallable getAwsNodePoolCallable; private final UnaryCallable listAwsNodePoolsCallable; @@ -218,6 +279,9 @@ public class GrpcAwsClustersStub extends AwsClustersStub { private final UnaryCallable deleteAwsNodePoolCallable; private final OperationCallable deleteAwsNodePoolOperationCallable; + private final UnaryCallable + getAwsOpenIdConfigCallable; + private final UnaryCallable getAwsJsonWebKeysCallable; private final UnaryCallable getAwsServerConfigCallable; @@ -315,6 +379,19 @@ protected GrpcAwsClustersStub( return builder.build(); }) .build(); + GrpcCallSettings + generateAwsClusterAgentTokenTransportSettings = + GrpcCallSettings + . + newBuilder() + .setMethodDescriptor(generateAwsClusterAgentTokenMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("aws_cluster", String.valueOf(request.getAwsCluster())); + return builder.build(); + }) + .build(); GrpcCallSettings generateAwsAccessTokenTransportSettings = GrpcCallSettings @@ -348,6 +425,17 @@ protected GrpcAwsClustersStub( return builder.build(); }) .build(); + GrpcCallSettings + rollbackAwsNodePoolUpdateTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(rollbackAwsNodePoolUpdateMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); GrpcCallSettings getAwsNodePoolTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(getAwsNodePoolMethodDescriptor) @@ -379,6 +467,27 @@ protected GrpcAwsClustersStub( return builder.build(); }) .build(); + GrpcCallSettings + getAwsOpenIdConfigTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getAwsOpenIdConfigMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("aws_cluster", String.valueOf(request.getAwsCluster())); + return builder.build(); + }) + .build(); + GrpcCallSettings getAwsJsonWebKeysTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getAwsJsonWebKeysMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("aws_cluster", String.valueOf(request.getAwsCluster())); + return builder.build(); + }) + .build(); GrpcCallSettings getAwsServerConfigTransportSettings = GrpcCallSettings.newBuilder() @@ -427,6 +536,11 @@ protected GrpcAwsClustersStub( settings.deleteAwsClusterOperationSettings(), clientContext, operationsStub); + this.generateAwsClusterAgentTokenCallable = + callableFactory.createUnaryCallable( + generateAwsClusterAgentTokenTransportSettings, + settings.generateAwsClusterAgentTokenSettings(), + clientContext); this.generateAwsAccessTokenCallable = callableFactory.createUnaryCallable( generateAwsAccessTokenTransportSettings, @@ -454,6 +568,17 @@ protected GrpcAwsClustersStub( settings.updateAwsNodePoolOperationSettings(), clientContext, operationsStub); + this.rollbackAwsNodePoolUpdateCallable = + callableFactory.createUnaryCallable( + rollbackAwsNodePoolUpdateTransportSettings, + settings.rollbackAwsNodePoolUpdateSettings(), + clientContext); + this.rollbackAwsNodePoolUpdateOperationCallable = + callableFactory.createOperationCallable( + rollbackAwsNodePoolUpdateTransportSettings, + settings.rollbackAwsNodePoolUpdateOperationSettings(), + clientContext, + operationsStub); this.getAwsNodePoolCallable = callableFactory.createUnaryCallable( getAwsNodePoolTransportSettings, settings.getAwsNodePoolSettings(), clientContext); @@ -474,6 +599,16 @@ protected GrpcAwsClustersStub( settings.deleteAwsNodePoolOperationSettings(), clientContext, operationsStub); + this.getAwsOpenIdConfigCallable = + callableFactory.createUnaryCallable( + getAwsOpenIdConfigTransportSettings, + settings.getAwsOpenIdConfigSettings(), + clientContext); + this.getAwsJsonWebKeysCallable = + callableFactory.createUnaryCallable( + getAwsJsonWebKeysTransportSettings, + settings.getAwsJsonWebKeysSettings(), + clientContext); this.getAwsServerConfigCallable = callableFactory.createUnaryCallable( getAwsServerConfigTransportSettings, @@ -537,6 +672,12 @@ public UnaryCallable deleteAwsClusterCallabl return deleteAwsClusterOperationCallable; } + @Override + public UnaryCallable + generateAwsClusterAgentTokenCallable() { + return generateAwsClusterAgentTokenCallable; + } + @Override public UnaryCallable generateAwsAccessTokenCallable() { @@ -565,6 +706,18 @@ public UnaryCallable updateAwsNodePoolCalla return updateAwsNodePoolOperationCallable; } + @Override + public UnaryCallable + rollbackAwsNodePoolUpdateCallable() { + return rollbackAwsNodePoolUpdateCallable; + } + + @Override + public OperationCallable + rollbackAwsNodePoolUpdateOperationCallable() { + return rollbackAwsNodePoolUpdateOperationCallable; + } + @Override public UnaryCallable getAwsNodePoolCallable() { return getAwsNodePoolCallable; @@ -593,6 +746,16 @@ public UnaryCallable deleteAwsNodePoolCalla return deleteAwsNodePoolOperationCallable; } + @Override + public UnaryCallable getAwsOpenIdConfigCallable() { + return getAwsOpenIdConfigCallable; + } + + @Override + public UnaryCallable getAwsJsonWebKeysCallable() { + return getAwsJsonWebKeysCallable; + } + @Override public UnaryCallable getAwsServerConfigCallable() { return getAwsServerConfigCallable; diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersCallableFactory.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersCallableFactory.java similarity index 100% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersCallableFactory.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersCallableFactory.java diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersStub.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersStub.java similarity index 86% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersStub.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersStub.java index eb765f250812..1c26b306ded8 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersStub.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersStub.java @@ -30,7 +30,9 @@ import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.gkemulticloud.v1.AzureClient; import com.google.cloud.gkemulticloud.v1.AzureCluster; +import com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys; import com.google.cloud.gkemulticloud.v1.AzureNodePool; +import com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig; import com.google.cloud.gkemulticloud.v1.AzureServerConfig; import com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest; import com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest; @@ -40,9 +42,13 @@ import com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest; import com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest; import com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse; +import com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest; +import com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse; import com.google.cloud.gkemulticloud.v1.GetAzureClientRequest; import com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest; +import com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest; import com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest; +import com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest; import com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest; import com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest; import com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse; @@ -59,6 +65,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; @@ -162,6 +169,22 @@ public class GrpcAzureClustersStub extends AzureClustersStub { .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); + private static final MethodDescriptor< + GenerateAzureClusterAgentTokenRequest, GenerateAzureClusterAgentTokenResponse> + generateAzureClusterAgentTokenMethodDescriptor = + MethodDescriptor + . + newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.cloud.gkemulticloud.v1.AzureClusters/GenerateAzureClusterAgentToken") + .setRequestMarshaller( + ProtoUtils.marshaller(GenerateAzureClusterAgentTokenRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller( + GenerateAzureClusterAgentTokenResponse.getDefaultInstance())) + .build(); + private static final MethodDescriptor< GenerateAzureAccessTokenRequest, GenerateAzureAccessTokenResponse> generateAzureAccessTokenMethodDescriptor = @@ -227,6 +250,26 @@ public class GrpcAzureClustersStub extends AzureClustersStub { .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); + private static final MethodDescriptor + getAzureOpenIdConfigMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.gkemulticloud.v1.AzureClusters/GetAzureOpenIdConfig") + .setRequestMarshaller( + ProtoUtils.marshaller(GetAzureOpenIdConfigRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(AzureOpenIdConfig.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + getAzureJsonWebKeysMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.gkemulticloud.v1.AzureClusters/GetAzureJsonWebKeys") + .setRequestMarshaller( + ProtoUtils.marshaller(GetAzureJsonWebKeysRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(AzureJsonWebKeys.getDefaultInstance())) + .build(); + private static final MethodDescriptor getAzureServerConfigMethodDescriptor = MethodDescriptor.newBuilder() @@ -262,6 +305,9 @@ public class GrpcAzureClustersStub extends AzureClustersStub { private final UnaryCallable deleteAzureClusterCallable; private final OperationCallable deleteAzureClusterOperationCallable; + private final UnaryCallable< + GenerateAzureClusterAgentTokenRequest, GenerateAzureClusterAgentTokenResponse> + generateAzureClusterAgentTokenCallable; private final UnaryCallable generateAzureAccessTokenCallable; private final UnaryCallable createAzureNodePoolCallable; @@ -278,6 +324,10 @@ public class GrpcAzureClustersStub extends AzureClustersStub { private final UnaryCallable deleteAzureNodePoolCallable; private final OperationCallable deleteAzureNodePoolOperationCallable; + private final UnaryCallable + getAzureOpenIdConfigCallable; + private final UnaryCallable + getAzureJsonWebKeysCallable; private final UnaryCallable getAzureServerConfigCallable; @@ -416,6 +466,19 @@ protected GrpcAzureClustersStub( return builder.build(); }) .build(); + GrpcCallSettings + generateAzureClusterAgentTokenTransportSettings = + GrpcCallSettings + . + newBuilder() + .setMethodDescriptor(generateAzureClusterAgentTokenMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("azure_cluster", String.valueOf(request.getAzureCluster())); + return builder.build(); + }) + .build(); GrpcCallSettings generateAzureAccessTokenTransportSettings = GrpcCallSettings @@ -480,6 +543,28 @@ protected GrpcAzureClustersStub( return builder.build(); }) .build(); + GrpcCallSettings + getAzureOpenIdConfigTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getAzureOpenIdConfigMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("azure_cluster", String.valueOf(request.getAzureCluster())); + return builder.build(); + }) + .build(); + GrpcCallSettings + getAzureJsonWebKeysTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getAzureJsonWebKeysMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("azure_cluster", String.valueOf(request.getAzureCluster())); + return builder.build(); + }) + .build(); GrpcCallSettings getAzureServerConfigTransportSettings = GrpcCallSettings.newBuilder() @@ -569,6 +654,11 @@ protected GrpcAzureClustersStub( settings.deleteAzureClusterOperationSettings(), clientContext, operationsStub); + this.generateAzureClusterAgentTokenCallable = + callableFactory.createUnaryCallable( + generateAzureClusterAgentTokenTransportSettings, + settings.generateAzureClusterAgentTokenSettings(), + clientContext); this.generateAzureAccessTokenCallable = callableFactory.createUnaryCallable( generateAzureAccessTokenTransportSettings, @@ -620,6 +710,16 @@ protected GrpcAzureClustersStub( settings.deleteAzureNodePoolOperationSettings(), clientContext, operationsStub); + this.getAzureOpenIdConfigCallable = + callableFactory.createUnaryCallable( + getAzureOpenIdConfigTransportSettings, + settings.getAzureOpenIdConfigSettings(), + clientContext); + this.getAzureJsonWebKeysCallable = + callableFactory.createUnaryCallable( + getAzureJsonWebKeysTransportSettings, + settings.getAzureJsonWebKeysSettings(), + clientContext); this.getAzureServerConfigCallable = callableFactory.createUnaryCallable( getAzureServerConfigTransportSettings, @@ -723,6 +823,13 @@ public UnaryCallable deleteAzureClusterCal return deleteAzureClusterOperationCallable; } + @Override + public UnaryCallable< + GenerateAzureClusterAgentTokenRequest, GenerateAzureClusterAgentTokenResponse> + generateAzureClusterAgentTokenCallable() { + return generateAzureClusterAgentTokenCallable; + } + @Override public UnaryCallable generateAzureAccessTokenCallable() { @@ -779,6 +886,17 @@ public UnaryCallable deleteAzureNodePoolC return deleteAzureNodePoolOperationCallable; } + @Override + public UnaryCallable + getAzureOpenIdConfigCallable() { + return getAzureOpenIdConfigCallable; + } + + @Override + public UnaryCallable getAzureJsonWebKeysCallable() { + return getAzureJsonWebKeysCallable; + } + @Override public UnaryCallable getAzureServerConfigCallable() { diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAttachedClustersCallableFactory.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAttachedClustersCallableFactory.java similarity index 100% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAttachedClustersCallableFactory.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAttachedClustersCallableFactory.java diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAttachedClustersStub.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAttachedClustersStub.java similarity index 89% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAttachedClustersStub.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAttachedClustersStub.java index 40cf81ef696d..c9a7dfbe5ce3 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAttachedClustersStub.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAttachedClustersStub.java @@ -31,6 +31,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.RequestParamsBuilder; @@ -39,6 +40,8 @@ import com.google.cloud.gkemulticloud.v1.AttachedServerConfig; import com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest; import com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest; +import com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest; +import com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse; import com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest; import com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse; import com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest; @@ -389,6 +392,8 @@ public class HttpJsonAttachedClustersStub extends AttachedClustersStub { fields, "attachedClusterId", request.getAttachedClusterId()); serializer.putQueryParam( fields, "platformVersion", request.getPlatformVersion()); + serializer.putQueryParam( + fields, "proxyConfig", request.getProxyConfig()); return fields; }) .setRequestBodyExtractor(request -> null) @@ -402,6 +407,52 @@ public class HttpJsonAttachedClustersStub extends AttachedClustersStub { .build()) .build(); + private static final ApiMethodDescriptor< + GenerateAttachedClusterAgentTokenRequest, GenerateAttachedClusterAgentTokenResponse> + generateAttachedClusterAgentTokenMethodDescriptor = + ApiMethodDescriptor + . + newBuilder() + .setFullMethodName( + "google.cloud.gkemulticloud.v1.AttachedClusters/GenerateAttachedClusterAgentToken") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter + .newBuilder() + .setPath( + "/v1/{attachedCluster=projects/*/locations/*/attachedClusters/*}:generateAttachedClusterAgentToken", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "attachedCluster", request.getAttachedCluster()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody( + "*", + request.toBuilder().clearAttachedCluster().build(), + false)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance( + GenerateAttachedClusterAgentTokenResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + private final UnaryCallable createAttachedClusterCallable; private final OperationCallable @@ -430,6 +481,9 @@ public class HttpJsonAttachedClustersStub extends AttachedClustersStub { GenerateAttachedClusterInstallManifestRequest, GenerateAttachedClusterInstallManifestResponse> generateAttachedClusterInstallManifestCallable; + private final UnaryCallable< + GenerateAttachedClusterAgentTokenRequest, GenerateAttachedClusterAgentTokenResponse> + generateAttachedClusterAgentTokenCallable; private final BackgroundResource backgroundResources; private final HttpJsonOperationsStub httpJsonOperationsStub; @@ -605,6 +659,22 @@ protected HttpJsonAttachedClustersStub( return builder.build(); }) .build(); + HttpJsonCallSettings< + GenerateAttachedClusterAgentTokenRequest, GenerateAttachedClusterAgentTokenResponse> + generateAttachedClusterAgentTokenTransportSettings = + HttpJsonCallSettings + . + newBuilder() + .setMethodDescriptor(generateAttachedClusterAgentTokenMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("attached_cluster", String.valueOf(request.getAttachedCluster())); + return builder.build(); + }) + .build(); this.createAttachedClusterCallable = callableFactory.createUnaryCallable( @@ -675,6 +745,11 @@ protected HttpJsonAttachedClustersStub( generateAttachedClusterInstallManifestTransportSettings, settings.generateAttachedClusterInstallManifestSettings(), clientContext); + this.generateAttachedClusterAgentTokenCallable = + callableFactory.createUnaryCallable( + generateAttachedClusterAgentTokenTransportSettings, + settings.generateAttachedClusterAgentTokenSettings(), + clientContext); this.backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources()); @@ -691,6 +766,7 @@ public static List getMethodDescriptors() { methodDescriptors.add(deleteAttachedClusterMethodDescriptor); methodDescriptors.add(getAttachedServerConfigMethodDescriptor); methodDescriptors.add(generateAttachedClusterInstallManifestMethodDescriptor); + methodDescriptors.add(generateAttachedClusterAgentTokenMethodDescriptor); return methodDescriptors; } @@ -773,6 +849,13 @@ public UnaryCallable deleteAttachedClus return generateAttachedClusterInstallManifestCallable; } + @Override + public UnaryCallable< + GenerateAttachedClusterAgentTokenRequest, GenerateAttachedClusterAgentTokenResponse> + generateAttachedClusterAgentTokenCallable() { + return generateAttachedClusterAgentTokenCallable; + } + @Override public final void close() { try { diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersCallableFactory.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersCallableFactory.java similarity index 100% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersCallableFactory.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersCallableFactory.java diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersStub.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersStub.java similarity index 77% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersStub.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersStub.java index e62a6c8d5b9a..1abda76dffae 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersStub.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersStub.java @@ -32,12 +32,15 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.gkemulticloud.v1.AwsCluster; +import com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys; import com.google.cloud.gkemulticloud.v1.AwsNodePool; +import com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig; import com.google.cloud.gkemulticloud.v1.AwsServerConfig; import com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest; import com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest; @@ -45,14 +48,19 @@ import com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest; import com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest; import com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse; +import com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest; +import com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse; import com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest; +import com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest; import com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest; +import com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest; import com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest; import com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest; import com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse; import com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest; import com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse; import com.google.cloud.gkemulticloud.v1.OperationMetadata; +import com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest; import com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest; import com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest; import com.google.common.collect.ImmutableMap; @@ -263,6 +271,8 @@ public class HttpJsonAwsClustersStub extends AwsClustersStub { serializer.putQueryParam( fields, "allowMissing", request.getAllowMissing()); serializer.putQueryParam(fields, "etag", request.getEtag()); + serializer.putQueryParam( + fields, "ignoreErrors", request.getIgnoreErrors()); serializer.putQueryParam( fields, "validateOnly", request.getValidateOnly()); return fields; @@ -279,6 +289,47 @@ public class HttpJsonAwsClustersStub extends AwsClustersStub { HttpJsonOperationSnapshot.create(response)) .build(); + private static final ApiMethodDescriptor< + GenerateAwsClusterAgentTokenRequest, GenerateAwsClusterAgentTokenResponse> + generateAwsClusterAgentTokenMethodDescriptor = + ApiMethodDescriptor + . + newBuilder() + .setFullMethodName( + "google.cloud.gkemulticloud.v1.AwsClusters/GenerateAwsClusterAgentToken") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{awsCluster=projects/*/locations/*/awsClusters/*}:generateAwsClusterAgentToken", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "awsCluster", request.getAwsCluster()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody( + "*", request.toBuilder().clearAwsCluster().build(), false)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(GenerateAwsClusterAgentTokenResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + private static final ApiMethodDescriptor< GenerateAwsAccessTokenRequest, GenerateAwsAccessTokenResponse> generateAwsAccessTokenMethodDescriptor = @@ -400,6 +451,46 @@ public class HttpJsonAwsClustersStub extends AwsClustersStub { HttpJsonOperationSnapshot.create(response)) .build(); + private static final ApiMethodDescriptor + rollbackAwsNodePoolUpdateMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.gkemulticloud.v1.AwsClusters/RollbackAwsNodePoolUpdate") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/awsClusters/*/awsNodePools/*}:rollback", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build(), false)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (RollbackAwsNodePoolUpdateRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + private static final ApiMethodDescriptor getAwsNodePoolMethodDescriptor = ApiMethodDescriptor.newBuilder() @@ -493,6 +584,8 @@ public class HttpJsonAwsClustersStub extends AwsClustersStub { serializer.putQueryParam( fields, "allowMissing", request.getAllowMissing()); serializer.putQueryParam(fields, "etag", request.getEtag()); + serializer.putQueryParam( + fields, "ignoreErrors", request.getIgnoreErrors()); serializer.putQueryParam( fields, "validateOnly", request.getValidateOnly()); return fields; @@ -509,6 +602,72 @@ public class HttpJsonAwsClustersStub extends AwsClustersStub { HttpJsonOperationSnapshot.create(response)) .build(); + private static final ApiMethodDescriptor + getAwsOpenIdConfigMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gkemulticloud.v1.AwsClusters/GetAwsOpenIdConfig") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{awsCluster=projects/*/locations/*/awsClusters/*}/.well-known/openid-configuration", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "awsCluster", request.getAwsCluster()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(AwsOpenIdConfig.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getAwsJsonWebKeysMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gkemulticloud.v1.AwsClusters/GetAwsJsonWebKeys") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{awsCluster=projects/*/locations/*/awsClusters/*}/jwks", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "awsCluster", request.getAwsCluster()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(AwsJsonWebKeys.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + private static final ApiMethodDescriptor getAwsServerConfigMethodDescriptor = ApiMethodDescriptor.newBuilder() @@ -556,6 +715,9 @@ public class HttpJsonAwsClustersStub extends AwsClustersStub { private final UnaryCallable deleteAwsClusterCallable; private final OperationCallable deleteAwsClusterOperationCallable; + private final UnaryCallable< + GenerateAwsClusterAgentTokenRequest, GenerateAwsClusterAgentTokenResponse> + generateAwsClusterAgentTokenCallable; private final UnaryCallable generateAwsAccessTokenCallable; private final UnaryCallable createAwsNodePoolCallable; @@ -564,6 +726,10 @@ public class HttpJsonAwsClustersStub extends AwsClustersStub { private final UnaryCallable updateAwsNodePoolCallable; private final OperationCallable updateAwsNodePoolOperationCallable; + private final UnaryCallable + rollbackAwsNodePoolUpdateCallable; + private final OperationCallable + rollbackAwsNodePoolUpdateOperationCallable; private final UnaryCallable getAwsNodePoolCallable; private final UnaryCallable listAwsNodePoolsCallable; @@ -572,6 +738,9 @@ public class HttpJsonAwsClustersStub extends AwsClustersStub { private final UnaryCallable deleteAwsNodePoolCallable; private final OperationCallable deleteAwsNodePoolOperationCallable; + private final UnaryCallable + getAwsOpenIdConfigCallable; + private final UnaryCallable getAwsJsonWebKeysCallable; private final UnaryCallable getAwsServerConfigCallable; @@ -702,6 +871,20 @@ protected HttpJsonAwsClustersStub( return builder.build(); }) .build(); + HttpJsonCallSettings + generateAwsClusterAgentTokenTransportSettings = + HttpJsonCallSettings + . + newBuilder() + .setMethodDescriptor(generateAwsClusterAgentTokenMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("aws_cluster", String.valueOf(request.getAwsCluster())); + return builder.build(); + }) + .build(); HttpJsonCallSettings generateAwsAccessTokenTransportSettings = HttpJsonCallSettings @@ -738,6 +921,18 @@ protected HttpJsonAwsClustersStub( return builder.build(); }) .build(); + HttpJsonCallSettings + rollbackAwsNodePoolUpdateTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(rollbackAwsNodePoolUpdateMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); HttpJsonCallSettings getAwsNodePoolTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(getAwsNodePoolMethodDescriptor) @@ -772,6 +967,30 @@ protected HttpJsonAwsClustersStub( return builder.build(); }) .build(); + HttpJsonCallSettings + getAwsOpenIdConfigTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getAwsOpenIdConfigMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("aws_cluster", String.valueOf(request.getAwsCluster())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings + getAwsJsonWebKeysTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getAwsJsonWebKeysMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("aws_cluster", String.valueOf(request.getAwsCluster())); + return builder.build(); + }) + .build(); HttpJsonCallSettings getAwsServerConfigTransportSettings = HttpJsonCallSettings.newBuilder() @@ -821,6 +1040,11 @@ protected HttpJsonAwsClustersStub( settings.deleteAwsClusterOperationSettings(), clientContext, httpJsonOperationsStub); + this.generateAwsClusterAgentTokenCallable = + callableFactory.createUnaryCallable( + generateAwsClusterAgentTokenTransportSettings, + settings.generateAwsClusterAgentTokenSettings(), + clientContext); this.generateAwsAccessTokenCallable = callableFactory.createUnaryCallable( generateAwsAccessTokenTransportSettings, @@ -848,6 +1072,17 @@ protected HttpJsonAwsClustersStub( settings.updateAwsNodePoolOperationSettings(), clientContext, httpJsonOperationsStub); + this.rollbackAwsNodePoolUpdateCallable = + callableFactory.createUnaryCallable( + rollbackAwsNodePoolUpdateTransportSettings, + settings.rollbackAwsNodePoolUpdateSettings(), + clientContext); + this.rollbackAwsNodePoolUpdateOperationCallable = + callableFactory.createOperationCallable( + rollbackAwsNodePoolUpdateTransportSettings, + settings.rollbackAwsNodePoolUpdateOperationSettings(), + clientContext, + httpJsonOperationsStub); this.getAwsNodePoolCallable = callableFactory.createUnaryCallable( getAwsNodePoolTransportSettings, settings.getAwsNodePoolSettings(), clientContext); @@ -868,6 +1103,16 @@ protected HttpJsonAwsClustersStub( settings.deleteAwsNodePoolOperationSettings(), clientContext, httpJsonOperationsStub); + this.getAwsOpenIdConfigCallable = + callableFactory.createUnaryCallable( + getAwsOpenIdConfigTransportSettings, + settings.getAwsOpenIdConfigSettings(), + clientContext); + this.getAwsJsonWebKeysCallable = + callableFactory.createUnaryCallable( + getAwsJsonWebKeysTransportSettings, + settings.getAwsJsonWebKeysSettings(), + clientContext); this.getAwsServerConfigCallable = callableFactory.createUnaryCallable( getAwsServerConfigTransportSettings, @@ -886,12 +1131,16 @@ public static List getMethodDescriptors() { methodDescriptors.add(getAwsClusterMethodDescriptor); methodDescriptors.add(listAwsClustersMethodDescriptor); methodDescriptors.add(deleteAwsClusterMethodDescriptor); + methodDescriptors.add(generateAwsClusterAgentTokenMethodDescriptor); methodDescriptors.add(generateAwsAccessTokenMethodDescriptor); methodDescriptors.add(createAwsNodePoolMethodDescriptor); methodDescriptors.add(updateAwsNodePoolMethodDescriptor); + methodDescriptors.add(rollbackAwsNodePoolUpdateMethodDescriptor); methodDescriptors.add(getAwsNodePoolMethodDescriptor); methodDescriptors.add(listAwsNodePoolsMethodDescriptor); methodDescriptors.add(deleteAwsNodePoolMethodDescriptor); + methodDescriptors.add(getAwsOpenIdConfigMethodDescriptor); + methodDescriptors.add(getAwsJsonWebKeysMethodDescriptor); methodDescriptors.add(getAwsServerConfigMethodDescriptor); return methodDescriptors; } @@ -949,6 +1198,12 @@ public UnaryCallable deleteAwsClusterCallabl return deleteAwsClusterOperationCallable; } + @Override + public UnaryCallable + generateAwsClusterAgentTokenCallable() { + return generateAwsClusterAgentTokenCallable; + } + @Override public UnaryCallable generateAwsAccessTokenCallable() { @@ -977,6 +1232,18 @@ public UnaryCallable updateAwsNodePoolCalla return updateAwsNodePoolOperationCallable; } + @Override + public UnaryCallable + rollbackAwsNodePoolUpdateCallable() { + return rollbackAwsNodePoolUpdateCallable; + } + + @Override + public OperationCallable + rollbackAwsNodePoolUpdateOperationCallable() { + return rollbackAwsNodePoolUpdateOperationCallable; + } + @Override public UnaryCallable getAwsNodePoolCallable() { return getAwsNodePoolCallable; @@ -1005,6 +1272,16 @@ public UnaryCallable deleteAwsNodePoolCalla return deleteAwsNodePoolOperationCallable; } + @Override + public UnaryCallable getAwsOpenIdConfigCallable() { + return getAwsOpenIdConfigCallable; + } + + @Override + public UnaryCallable getAwsJsonWebKeysCallable() { + return getAwsJsonWebKeysCallable; + } + @Override public UnaryCallable getAwsServerConfigCallable() { return getAwsServerConfigCallable; diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersCallableFactory.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersCallableFactory.java similarity index 100% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersCallableFactory.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersCallableFactory.java diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersStub.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersStub.java similarity index 86% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersStub.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersStub.java index 353e4ea38d59..94974309ee11 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersStub.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersStub.java @@ -33,13 +33,16 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.RequestParamsBuilder; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.gkemulticloud.v1.AzureClient; import com.google.cloud.gkemulticloud.v1.AzureCluster; +import com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys; import com.google.cloud.gkemulticloud.v1.AzureNodePool; +import com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig; import com.google.cloud.gkemulticloud.v1.AzureServerConfig; import com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest; import com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest; @@ -49,9 +52,13 @@ import com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest; import com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest; import com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse; +import com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest; +import com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse; import com.google.cloud.gkemulticloud.v1.GetAzureClientRequest; import com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest; +import com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest; import com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest; +import com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest; import com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest; import com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest; import com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse; @@ -438,6 +445,49 @@ public class HttpJsonAzureClustersStub extends AzureClustersStub { HttpJsonOperationSnapshot.create(response)) .build(); + private static final ApiMethodDescriptor< + GenerateAzureClusterAgentTokenRequest, GenerateAzureClusterAgentTokenResponse> + generateAzureClusterAgentTokenMethodDescriptor = + ApiMethodDescriptor + . + newBuilder() + .setFullMethodName( + "google.cloud.gkemulticloud.v1.AzureClusters/GenerateAzureClusterAgentToken") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{azureCluster=projects/*/locations/*/azureClusters/*}:generateAzureClusterAgentToken", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "azureCluster", request.getAzureCluster()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody( + "*", request.toBuilder().clearAzureCluster().build(), false)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance( + GenerateAzureClusterAgentTokenResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + private static final ApiMethodDescriptor< GenerateAzureAccessTokenRequest, GenerateAzureAccessTokenResponse> generateAzureAccessTokenMethodDescriptor = @@ -670,6 +720,74 @@ public class HttpJsonAzureClustersStub extends AzureClustersStub { HttpJsonOperationSnapshot.create(response)) .build(); + private static final ApiMethodDescriptor + getAzureOpenIdConfigMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gkemulticloud.v1.AzureClusters/GetAzureOpenIdConfig") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{azureCluster=projects/*/locations/*/azureClusters/*}/.well-known/openid-configuration", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "azureCluster", request.getAzureCluster()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(AzureOpenIdConfig.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getAzureJsonWebKeysMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gkemulticloud.v1.AzureClusters/GetAzureJsonWebKeys") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{azureCluster=projects/*/locations/*/azureClusters/*}/jwks", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "azureCluster", request.getAzureCluster()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(AzureJsonWebKeys.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + private static final ApiMethodDescriptor getAzureServerConfigMethodDescriptor = ApiMethodDescriptor.newBuilder() @@ -728,6 +846,9 @@ public class HttpJsonAzureClustersStub extends AzureClustersStub { private final UnaryCallable deleteAzureClusterCallable; private final OperationCallable deleteAzureClusterOperationCallable; + private final UnaryCallable< + GenerateAzureClusterAgentTokenRequest, GenerateAzureClusterAgentTokenResponse> + generateAzureClusterAgentTokenCallable; private final UnaryCallable generateAzureAccessTokenCallable; private final UnaryCallable createAzureNodePoolCallable; @@ -744,6 +865,10 @@ public class HttpJsonAzureClustersStub extends AzureClustersStub { private final UnaryCallable deleteAzureNodePoolCallable; private final OperationCallable deleteAzureNodePoolOperationCallable; + private final UnaryCallable + getAzureOpenIdConfigCallable; + private final UnaryCallable + getAzureJsonWebKeysCallable; private final UnaryCallable getAzureServerConfigCallable; @@ -919,6 +1044,21 @@ protected HttpJsonAzureClustersStub( return builder.build(); }) .build(); + HttpJsonCallSettings< + GenerateAzureClusterAgentTokenRequest, GenerateAzureClusterAgentTokenResponse> + generateAzureClusterAgentTokenTransportSettings = + HttpJsonCallSettings + . + newBuilder() + .setMethodDescriptor(generateAzureClusterAgentTokenMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("azure_cluster", String.valueOf(request.getAzureCluster())); + return builder.build(); + }) + .build(); HttpJsonCallSettings generateAzureAccessTokenTransportSettings = HttpJsonCallSettings @@ -993,6 +1133,30 @@ protected HttpJsonAzureClustersStub( return builder.build(); }) .build(); + HttpJsonCallSettings + getAzureOpenIdConfigTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getAzureOpenIdConfigMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("azure_cluster", String.valueOf(request.getAzureCluster())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings + getAzureJsonWebKeysTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getAzureJsonWebKeysMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("azure_cluster", String.valueOf(request.getAzureCluster())); + return builder.build(); + }) + .build(); HttpJsonCallSettings getAzureServerConfigTransportSettings = HttpJsonCallSettings.newBuilder() @@ -1083,6 +1247,11 @@ protected HttpJsonAzureClustersStub( settings.deleteAzureClusterOperationSettings(), clientContext, httpJsonOperationsStub); + this.generateAzureClusterAgentTokenCallable = + callableFactory.createUnaryCallable( + generateAzureClusterAgentTokenTransportSettings, + settings.generateAzureClusterAgentTokenSettings(), + clientContext); this.generateAzureAccessTokenCallable = callableFactory.createUnaryCallable( generateAzureAccessTokenTransportSettings, @@ -1134,6 +1303,16 @@ protected HttpJsonAzureClustersStub( settings.deleteAzureNodePoolOperationSettings(), clientContext, httpJsonOperationsStub); + this.getAzureOpenIdConfigCallable = + callableFactory.createUnaryCallable( + getAzureOpenIdConfigTransportSettings, + settings.getAzureOpenIdConfigSettings(), + clientContext); + this.getAzureJsonWebKeysCallable = + callableFactory.createUnaryCallable( + getAzureJsonWebKeysTransportSettings, + settings.getAzureJsonWebKeysSettings(), + clientContext); this.getAzureServerConfigCallable = callableFactory.createUnaryCallable( getAzureServerConfigTransportSettings, @@ -1156,12 +1335,15 @@ public static List getMethodDescriptors() { methodDescriptors.add(getAzureClusterMethodDescriptor); methodDescriptors.add(listAzureClustersMethodDescriptor); methodDescriptors.add(deleteAzureClusterMethodDescriptor); + methodDescriptors.add(generateAzureClusterAgentTokenMethodDescriptor); methodDescriptors.add(generateAzureAccessTokenMethodDescriptor); methodDescriptors.add(createAzureNodePoolMethodDescriptor); methodDescriptors.add(updateAzureNodePoolMethodDescriptor); methodDescriptors.add(getAzureNodePoolMethodDescriptor); methodDescriptors.add(listAzureNodePoolsMethodDescriptor); methodDescriptors.add(deleteAzureNodePoolMethodDescriptor); + methodDescriptors.add(getAzureOpenIdConfigMethodDescriptor); + methodDescriptors.add(getAzureJsonWebKeysMethodDescriptor); methodDescriptors.add(getAzureServerConfigMethodDescriptor); return methodDescriptors; } @@ -1259,6 +1441,13 @@ public UnaryCallable deleteAzureClusterCal return deleteAzureClusterOperationCallable; } + @Override + public UnaryCallable< + GenerateAzureClusterAgentTokenRequest, GenerateAzureClusterAgentTokenResponse> + generateAzureClusterAgentTokenCallable() { + return generateAzureClusterAgentTokenCallable; + } + @Override public UnaryCallable generateAzureAccessTokenCallable() { @@ -1315,6 +1504,17 @@ public UnaryCallable deleteAzureNodePoolC return deleteAzureNodePoolOperationCallable; } + @Override + public UnaryCallable + getAzureOpenIdConfigCallable() { + return getAzureOpenIdConfigCallable; + } + + @Override + public UnaryCallable getAzureJsonWebKeysCallable() { + return getAzureJsonWebKeysCallable; + } + @Override public UnaryCallable getAzureServerConfigCallable() { diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/resources/META-INF/native-image/com.google.cloud.gkemulticloud.v1/reflect-config.json b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/resources/META-INF/native-image/com.google.cloud.gkemulticloud.v1/reflect-config.json similarity index 85% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/resources/META-INF/native-image/com.google.cloud.gkemulticloud.v1/reflect-config.json rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/resources/META-INF/native-image/com.google.cloud.gkemulticloud.v1/reflect-config.json index 2565597c8fb8..971fa565b242 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/resources/META-INF/native-image/com.google.cloud.gkemulticloud.v1/reflect-config.json +++ b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/resources/META-INF/native-image/com.google.cloud.gkemulticloud.v1/reflect-config.json @@ -422,6 +422,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.gkemulticloud.v1.AttachedClusterGroup", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.AttachedClusterGroup$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.gkemulticloud.v1.AttachedClusterUser", "queryAllDeclaredConstructors": true, @@ -494,6 +512,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.gkemulticloud.v1.AttachedProxyConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.AttachedProxyConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.gkemulticloud.v1.AttachedServerConfig", "queryAllDeclaredConstructors": true, @@ -593,6 +629,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.gkemulticloud.v1.AwsClusterGroup", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.AwsClusterGroup$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.gkemulticloud.v1.AwsClusterNetworking", "queryAllDeclaredConstructors": true, @@ -710,6 +764,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo", "queryAllDeclaredConstructors": true, @@ -746,6 +818,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.gkemulticloud.v1.AwsNodeManagement", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.AwsNodeManagement$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.gkemulticloud.v1.AwsNodePool", "queryAllDeclaredConstructors": true, @@ -809,6 +899,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.gkemulticloud.v1.AwsProxyConfig", "queryAllDeclaredConstructors": true, @@ -989,6 +1097,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.gkemulticloud.v1.AzureClusterGroup", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.AzureClusterGroup$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.gkemulticloud.v1.AzureClusterNetworking", "queryAllDeclaredConstructors": true, @@ -1115,6 +1241,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo", "queryAllDeclaredConstructors": true, @@ -1151,6 +1295,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.gkemulticloud.v1.AzureNodeManagement", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.AzureNodeManagement$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.gkemulticloud.v1.AzureNodePool", "queryAllDeclaredConstructors": true, @@ -1214,6 +1376,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.gkemulticloud.v1.AzureProxyConfig", "queryAllDeclaredConstructors": true, @@ -1286,6 +1466,33 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.gkemulticloud.v1.BinaryAuthorization", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.BinaryAuthorization$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.BinaryAuthorization$EvaluationMode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest", "queryAllDeclaredConstructors": true, @@ -1520,6 +1727,42 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest", "queryAllDeclaredConstructors": true, @@ -1592,6 +1835,42 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest", "queryAllDeclaredConstructors": true, @@ -1628,6 +1907,42 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest", "queryAllDeclaredConstructors": true, @@ -1682,6 +1997,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest", "queryAllDeclaredConstructors": true, @@ -1700,6 +2033,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest", "queryAllDeclaredConstructors": true, @@ -1754,6 +2105,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest", "queryAllDeclaredConstructors": true, @@ -1772,6 +2141,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest", "queryAllDeclaredConstructors": true, @@ -1808,6 +2195,42 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.gkemulticloud.v1.Jwk", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.Jwk$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.KubernetesSecret", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.KubernetesSecret$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest", "queryAllDeclaredConstructors": true, @@ -2186,6 +2609,60 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.SpotConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.SpotConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.SurgeSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.SurgeSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest", "queryAllDeclaredConstructors": true, @@ -2276,6 +2753,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.gkemulticloud.v1.UpdateSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.gkemulticloud.v1.UpdateSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig", "queryAllDeclaredConstructors": true, @@ -3139,5 +3634,23 @@ "allPublicMethods": true, "allDeclaredClasses": true, "allPublicClasses": true + }, + { + "name": "com.google.type.Date", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.type.Date$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true } ] \ No newline at end of file diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClientHttpJsonTest.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClientHttpJsonTest.java similarity index 90% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClientHttpJsonTest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClientHttpJsonTest.java index 405099c85e94..a420e921af7a 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClientHttpJsonTest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClientHttpJsonTest.java @@ -107,6 +107,8 @@ public void createAttachedClusterTest() throws Exception { .addAllErrors(new ArrayList()) .setAuthorization(AttachedClustersAuthorization.newBuilder().build()) .setMonitoringConfig(MonitoringConfig.newBuilder().build()) + .setProxyConfig(AttachedProxyConfig.newBuilder().build()) + .setBinaryAuthorization(BinaryAuthorization.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -180,6 +182,8 @@ public void createAttachedClusterTest2() throws Exception { .addAllErrors(new ArrayList()) .setAuthorization(AttachedClustersAuthorization.newBuilder().build()) .setMonitoringConfig(MonitoringConfig.newBuilder().build()) + .setProxyConfig(AttachedProxyConfig.newBuilder().build()) + .setBinaryAuthorization(BinaryAuthorization.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -253,6 +257,8 @@ public void updateAttachedClusterTest() throws Exception { .addAllErrors(new ArrayList()) .setAuthorization(AttachedClustersAuthorization.newBuilder().build()) .setMonitoringConfig(MonitoringConfig.newBuilder().build()) + .setProxyConfig(AttachedProxyConfig.newBuilder().build()) + .setBinaryAuthorization(BinaryAuthorization.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -284,6 +290,8 @@ public void updateAttachedClusterTest() throws Exception { .addAllErrors(new ArrayList()) .setAuthorization(AttachedClustersAuthorization.newBuilder().build()) .setMonitoringConfig(MonitoringConfig.newBuilder().build()) + .setProxyConfig(AttachedProxyConfig.newBuilder().build()) + .setBinaryAuthorization(BinaryAuthorization.newBuilder().build()) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); @@ -337,6 +345,8 @@ public void updateAttachedClusterExceptionTest() throws Exception { .addAllErrors(new ArrayList()) .setAuthorization(AttachedClustersAuthorization.newBuilder().build()) .setMonitoringConfig(MonitoringConfig.newBuilder().build()) + .setProxyConfig(AttachedProxyConfig.newBuilder().build()) + .setBinaryAuthorization(BinaryAuthorization.newBuilder().build()) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); client.updateAttachedClusterAsync(attachedCluster, updateMask).get(); @@ -369,6 +379,8 @@ public void importAttachedClusterTest() throws Exception { .addAllErrors(new ArrayList()) .setAuthorization(AttachedClustersAuthorization.newBuilder().build()) .setMonitoringConfig(MonitoringConfig.newBuilder().build()) + .setProxyConfig(AttachedProxyConfig.newBuilder().build()) + .setBinaryAuthorization(BinaryAuthorization.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -440,6 +452,8 @@ public void importAttachedClusterTest2() throws Exception { .addAllErrors(new ArrayList()) .setAuthorization(AttachedClustersAuthorization.newBuilder().build()) .setMonitoringConfig(MonitoringConfig.newBuilder().build()) + .setProxyConfig(AttachedProxyConfig.newBuilder().build()) + .setBinaryAuthorization(BinaryAuthorization.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -511,6 +525,8 @@ public void getAttachedClusterTest() throws Exception { .addAllErrors(new ArrayList()) .setAuthorization(AttachedClustersAuthorization.newBuilder().build()) .setMonitoringConfig(MonitoringConfig.newBuilder().build()) + .setProxyConfig(AttachedProxyConfig.newBuilder().build()) + .setBinaryAuthorization(BinaryAuthorization.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -576,6 +592,8 @@ public void getAttachedClusterTest2() throws Exception { .addAllErrors(new ArrayList()) .setAuthorization(AttachedClustersAuthorization.newBuilder().build()) .setMonitoringConfig(MonitoringConfig.newBuilder().build()) + .setProxyConfig(AttachedProxyConfig.newBuilder().build()) + .setBinaryAuthorization(BinaryAuthorization.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -994,4 +1012,76 @@ public void generateAttachedClusterInstallManifestExceptionTest2() throws Except // Expected exception. } } + + @Test + public void generateAttachedClusterAgentTokenTest() throws Exception { + GenerateAttachedClusterAgentTokenResponse expectedResponse = + GenerateAttachedClusterAgentTokenResponse.newBuilder() + .setAccessToken("accessToken-1042689291") + .setExpiresIn(-833810928) + .setTokenType("tokenType141498579") + .build(); + mockService.addResponse(expectedResponse); + + GenerateAttachedClusterAgentTokenRequest request = + GenerateAttachedClusterAgentTokenRequest.newBuilder() + .setAttachedCluster( + AttachedClusterName.of("[PROJECT]", "[LOCATION]", "[ATTACHED_CLUSTER]").toString()) + .setSubjectToken("subjectToken-1519661011") + .setSubjectTokenType("subjectTokenType1839592711") + .setVersion("version351608024") + .setGrantType("grantType-1219832202") + .setAudience("audience975628804") + .setScope("scope109264468") + .setRequestedTokenType("requestedTokenType1733106949") + .setOptions("options-1249474914") + .build(); + + GenerateAttachedClusterAgentTokenResponse actualResponse = + client.generateAttachedClusterAgentToken(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void generateAttachedClusterAgentTokenExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + GenerateAttachedClusterAgentTokenRequest request = + GenerateAttachedClusterAgentTokenRequest.newBuilder() + .setAttachedCluster( + AttachedClusterName.of("[PROJECT]", "[LOCATION]", "[ATTACHED_CLUSTER]") + .toString()) + .setSubjectToken("subjectToken-1519661011") + .setSubjectTokenType("subjectTokenType1839592711") + .setVersion("version351608024") + .setGrantType("grantType-1219832202") + .setAudience("audience975628804") + .setScope("scope109264468") + .setRequestedTokenType("requestedTokenType1733106949") + .setOptions("options-1249474914") + .build(); + client.generateAttachedClusterAgentToken(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } } diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClientTest.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClientTest.java similarity index 89% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClientTest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClientTest.java index 65f12f238425..d8785b6df333 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClientTest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClientTest.java @@ -111,6 +111,8 @@ public void createAttachedClusterTest() throws Exception { .addAllErrors(new ArrayList()) .setAuthorization(AttachedClustersAuthorization.newBuilder().build()) .setMonitoringConfig(MonitoringConfig.newBuilder().build()) + .setProxyConfig(AttachedProxyConfig.newBuilder().build()) + .setBinaryAuthorization(BinaryAuthorization.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -184,6 +186,8 @@ public void createAttachedClusterTest2() throws Exception { .addAllErrors(new ArrayList()) .setAuthorization(AttachedClustersAuthorization.newBuilder().build()) .setMonitoringConfig(MonitoringConfig.newBuilder().build()) + .setProxyConfig(AttachedProxyConfig.newBuilder().build()) + .setBinaryAuthorization(BinaryAuthorization.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -257,6 +261,8 @@ public void updateAttachedClusterTest() throws Exception { .addAllErrors(new ArrayList()) .setAuthorization(AttachedClustersAuthorization.newBuilder().build()) .setMonitoringConfig(MonitoringConfig.newBuilder().build()) + .setProxyConfig(AttachedProxyConfig.newBuilder().build()) + .setBinaryAuthorization(BinaryAuthorization.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -327,6 +333,8 @@ public void importAttachedClusterTest() throws Exception { .addAllErrors(new ArrayList()) .setAuthorization(AttachedClustersAuthorization.newBuilder().build()) .setMonitoringConfig(MonitoringConfig.newBuilder().build()) + .setProxyConfig(AttachedProxyConfig.newBuilder().build()) + .setBinaryAuthorization(BinaryAuthorization.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -397,6 +405,8 @@ public void importAttachedClusterTest2() throws Exception { .addAllErrors(new ArrayList()) .setAuthorization(AttachedClustersAuthorization.newBuilder().build()) .setMonitoringConfig(MonitoringConfig.newBuilder().build()) + .setProxyConfig(AttachedProxyConfig.newBuilder().build()) + .setBinaryAuthorization(BinaryAuthorization.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -467,6 +477,8 @@ public void getAttachedClusterTest() throws Exception { .addAllErrors(new ArrayList()) .setAuthorization(AttachedClustersAuthorization.newBuilder().build()) .setMonitoringConfig(MonitoringConfig.newBuilder().build()) + .setProxyConfig(AttachedProxyConfig.newBuilder().build()) + .setBinaryAuthorization(BinaryAuthorization.newBuilder().build()) .build(); mockAttachedClusters.addResponse(expectedResponse); @@ -526,6 +538,8 @@ public void getAttachedClusterTest2() throws Exception { .addAllErrors(new ArrayList()) .setAuthorization(AttachedClustersAuthorization.newBuilder().build()) .setMonitoringConfig(MonitoringConfig.newBuilder().build()) + .setProxyConfig(AttachedProxyConfig.newBuilder().build()) + .setBinaryAuthorization(BinaryAuthorization.newBuilder().build()) .build(); mockAttachedClusters.addResponse(expectedResponse); @@ -902,4 +916,79 @@ public void generateAttachedClusterInstallManifestExceptionTest2() throws Except // Expected exception. } } + + @Test + public void generateAttachedClusterAgentTokenTest() throws Exception { + GenerateAttachedClusterAgentTokenResponse expectedResponse = + GenerateAttachedClusterAgentTokenResponse.newBuilder() + .setAccessToken("accessToken-1042689291") + .setExpiresIn(-833810928) + .setTokenType("tokenType141498579") + .build(); + mockAttachedClusters.addResponse(expectedResponse); + + GenerateAttachedClusterAgentTokenRequest request = + GenerateAttachedClusterAgentTokenRequest.newBuilder() + .setAttachedCluster( + AttachedClusterName.of("[PROJECT]", "[LOCATION]", "[ATTACHED_CLUSTER]").toString()) + .setSubjectToken("subjectToken-1519661011") + .setSubjectTokenType("subjectTokenType1839592711") + .setVersion("version351608024") + .setGrantType("grantType-1219832202") + .setAudience("audience975628804") + .setScope("scope109264468") + .setRequestedTokenType("requestedTokenType1733106949") + .setOptions("options-1249474914") + .build(); + + GenerateAttachedClusterAgentTokenResponse actualResponse = + client.generateAttachedClusterAgentToken(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAttachedClusters.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GenerateAttachedClusterAgentTokenRequest actualRequest = + ((GenerateAttachedClusterAgentTokenRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getAttachedCluster(), actualRequest.getAttachedCluster()); + Assert.assertEquals(request.getSubjectToken(), actualRequest.getSubjectToken()); + Assert.assertEquals(request.getSubjectTokenType(), actualRequest.getSubjectTokenType()); + Assert.assertEquals(request.getVersion(), actualRequest.getVersion()); + Assert.assertEquals(request.getGrantType(), actualRequest.getGrantType()); + Assert.assertEquals(request.getAudience(), actualRequest.getAudience()); + Assert.assertEquals(request.getScope(), actualRequest.getScope()); + Assert.assertEquals(request.getRequestedTokenType(), actualRequest.getRequestedTokenType()); + Assert.assertEquals(request.getOptions(), actualRequest.getOptions()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void generateAttachedClusterAgentTokenExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAttachedClusters.addException(exception); + + try { + GenerateAttachedClusterAgentTokenRequest request = + GenerateAttachedClusterAgentTokenRequest.newBuilder() + .setAttachedCluster( + AttachedClusterName.of("[PROJECT]", "[LOCATION]", "[ATTACHED_CLUSTER]") + .toString()) + .setSubjectToken("subjectToken-1519661011") + .setSubjectTokenType("subjectTokenType1839592711") + .setVersion("version351608024") + .setGrantType("grantType-1219832202") + .setAudience("audience975628804") + .setScope("scope109264468") + .setRequestedTokenType("requestedTokenType1733106949") + .setOptions("options-1249474914") + .build(); + client.generateAttachedClusterAgentToken(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } } diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientHttpJsonTest.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientHttpJsonTest.java similarity index 79% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientHttpJsonTest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientHttpJsonTest.java index 52c8cb7fbc7a..c6f50f8f4749 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientHttpJsonTest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientHttpJsonTest.java @@ -107,6 +107,7 @@ public void createAwsClusterTest() throws Exception { .setLoggingConfig(LoggingConfig.newBuilder().build()) .addAllErrors(new ArrayList()) .setMonitoringConfig(MonitoringConfig.newBuilder().build()) + .setBinaryAuthorization(BinaryAuthorization.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -179,6 +180,7 @@ public void createAwsClusterTest2() throws Exception { .setLoggingConfig(LoggingConfig.newBuilder().build()) .addAllErrors(new ArrayList()) .setMonitoringConfig(MonitoringConfig.newBuilder().build()) + .setBinaryAuthorization(BinaryAuthorization.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -251,6 +253,7 @@ public void updateAwsClusterTest() throws Exception { .setLoggingConfig(LoggingConfig.newBuilder().build()) .addAllErrors(new ArrayList()) .setMonitoringConfig(MonitoringConfig.newBuilder().build()) + .setBinaryAuthorization(BinaryAuthorization.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -281,6 +284,7 @@ public void updateAwsClusterTest() throws Exception { .setLoggingConfig(LoggingConfig.newBuilder().build()) .addAllErrors(new ArrayList()) .setMonitoringConfig(MonitoringConfig.newBuilder().build()) + .setBinaryAuthorization(BinaryAuthorization.newBuilder().build()) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); @@ -331,6 +335,7 @@ public void updateAwsClusterExceptionTest() throws Exception { .setLoggingConfig(LoggingConfig.newBuilder().build()) .addAllErrors(new ArrayList()) .setMonitoringConfig(MonitoringConfig.newBuilder().build()) + .setBinaryAuthorization(BinaryAuthorization.newBuilder().build()) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); client.updateAwsClusterAsync(awsCluster, updateMask).get(); @@ -362,6 +367,7 @@ public void getAwsClusterTest() throws Exception { .setLoggingConfig(LoggingConfig.newBuilder().build()) .addAllErrors(new ArrayList()) .setMonitoringConfig(MonitoringConfig.newBuilder().build()) + .setBinaryAuthorization(BinaryAuthorization.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -424,6 +430,7 @@ public void getAwsClusterTest2() throws Exception { .setLoggingConfig(LoggingConfig.newBuilder().build()) .addAllErrors(new ArrayList()) .setMonitoringConfig(MonitoringConfig.newBuilder().build()) + .setBinaryAuthorization(BinaryAuthorization.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -653,6 +660,78 @@ public void deleteAwsClusterExceptionTest2() throws Exception { } } + @Test + public void generateAwsClusterAgentTokenTest() throws Exception { + GenerateAwsClusterAgentTokenResponse expectedResponse = + GenerateAwsClusterAgentTokenResponse.newBuilder() + .setAccessToken("accessToken-1042689291") + .setExpiresIn(-833810928) + .setTokenType("tokenType141498579") + .build(); + mockService.addResponse(expectedResponse); + + GenerateAwsClusterAgentTokenRequest request = + GenerateAwsClusterAgentTokenRequest.newBuilder() + .setAwsCluster(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .setSubjectToken("subjectToken-1519661011") + .setSubjectTokenType("subjectTokenType1839592711") + .setVersion("version351608024") + .setNodePoolId("nodePoolId1121557241") + .setGrantType("grantType-1219832202") + .setAudience("audience975628804") + .setScope("scope109264468") + .setRequestedTokenType("requestedTokenType1733106949") + .setOptions("options-1249474914") + .build(); + + GenerateAwsClusterAgentTokenResponse actualResponse = + client.generateAwsClusterAgentToken(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void generateAwsClusterAgentTokenExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + GenerateAwsClusterAgentTokenRequest request = + GenerateAwsClusterAgentTokenRequest.newBuilder() + .setAwsCluster( + AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .setSubjectToken("subjectToken-1519661011") + .setSubjectTokenType("subjectTokenType1839592711") + .setVersion("version351608024") + .setNodePoolId("nodePoolId1121557241") + .setGrantType("grantType-1219832202") + .setAudience("audience975628804") + .setScope("scope109264468") + .setRequestedTokenType("requestedTokenType1733106949") + .setOptions("options-1249474914") + .build(); + client.generateAwsClusterAgentToken(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void generateAwsAccessTokenTest() throws Exception { GenerateAwsAccessTokenResponse expectedResponse = @@ -724,6 +803,8 @@ public void createAwsNodePoolTest() throws Exception { .putAllAnnotations(new HashMap()) .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) .addAllErrors(new ArrayList()) + .setManagement(AwsNodeManagement.newBuilder().build()) + .setUpdateSettings(UpdateSettings.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -792,6 +873,8 @@ public void createAwsNodePoolTest2() throws Exception { .putAllAnnotations(new HashMap()) .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) .addAllErrors(new ArrayList()) + .setManagement(AwsNodeManagement.newBuilder().build()) + .setUpdateSettings(UpdateSettings.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -860,6 +943,8 @@ public void updateAwsNodePoolTest() throws Exception { .putAllAnnotations(new HashMap()) .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) .addAllErrors(new ArrayList()) + .setManagement(AwsNodeManagement.newBuilder().build()) + .setUpdateSettings(UpdateSettings.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -886,6 +971,8 @@ public void updateAwsNodePoolTest() throws Exception { .putAllAnnotations(new HashMap()) .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) .addAllErrors(new ArrayList()) + .setManagement(AwsNodeManagement.newBuilder().build()) + .setUpdateSettings(UpdateSettings.newBuilder().build()) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); @@ -932,6 +1019,8 @@ public void updateAwsNodePoolExceptionTest() throws Exception { .putAllAnnotations(new HashMap()) .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) .addAllErrors(new ArrayList()) + .setManagement(AwsNodeManagement.newBuilder().build()) + .setUpdateSettings(UpdateSettings.newBuilder().build()) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); client.updateAwsNodePoolAsync(awsNodePool, updateMask).get(); @@ -940,6 +1029,140 @@ public void updateAwsNodePoolExceptionTest() throws Exception { } } + @Test + public void rollbackAwsNodePoolUpdateTest() throws Exception { + AwsNodePool expectedResponse = + AwsNodePool.newBuilder() + .setName( + AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]") + .toString()) + .setVersion("version351608024") + .setConfig(AwsNodeConfig.newBuilder().build()) + .setAutoscaling(AwsNodePoolAutoscaling.newBuilder().build()) + .setSubnetId("subnetId-2066159272") + .setUid("uid115792") + .setReconciling(true) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setEtag("etag3123477") + .putAllAnnotations(new HashMap()) + .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) + .addAllErrors(new ArrayList()) + .setManagement(AwsNodeManagement.newBuilder().build()) + .setUpdateSettings(UpdateSettings.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("rollbackAwsNodePoolUpdateTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + AwsNodePoolName name = + AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]"); + + AwsNodePool actualResponse = client.rollbackAwsNodePoolUpdateAsync(name).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void rollbackAwsNodePoolUpdateExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + AwsNodePoolName name = + AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]"); + client.rollbackAwsNodePoolUpdateAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void rollbackAwsNodePoolUpdateTest2() throws Exception { + AwsNodePool expectedResponse = + AwsNodePool.newBuilder() + .setName( + AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]") + .toString()) + .setVersion("version351608024") + .setConfig(AwsNodeConfig.newBuilder().build()) + .setAutoscaling(AwsNodePoolAutoscaling.newBuilder().build()) + .setSubnetId("subnetId-2066159272") + .setUid("uid115792") + .setReconciling(true) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setEtag("etag3123477") + .putAllAnnotations(new HashMap()) + .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) + .addAllErrors(new ArrayList()) + .setManagement(AwsNodeManagement.newBuilder().build()) + .setUpdateSettings(UpdateSettings.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("rollbackAwsNodePoolUpdateTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String name = + "projects/project-9334/locations/location-9334/awsClusters/awsCluster-9334/awsNodePools/awsNodePool-9334"; + + AwsNodePool actualResponse = client.rollbackAwsNodePoolUpdateAsync(name).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void rollbackAwsNodePoolUpdateExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-9334/locations/location-9334/awsClusters/awsCluster-9334/awsNodePools/awsNodePool-9334"; + client.rollbackAwsNodePoolUpdateAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + @Test public void getAwsNodePoolTest() throws Exception { AwsNodePool expectedResponse = @@ -959,6 +1182,8 @@ public void getAwsNodePoolTest() throws Exception { .putAllAnnotations(new HashMap()) .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) .addAllErrors(new ArrayList()) + .setManagement(AwsNodeManagement.newBuilder().build()) + .setUpdateSettings(UpdateSettings.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -1019,6 +1244,8 @@ public void getAwsNodePoolTest2() throws Exception { .putAllAnnotations(new HashMap()) .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) .addAllErrors(new ArrayList()) + .setManagement(AwsNodeManagement.newBuilder().build()) + .setUpdateSettings(UpdateSettings.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -1254,6 +1481,112 @@ public void deleteAwsNodePoolExceptionTest2() throws Exception { } } + @Test + public void getAwsOpenIdConfigTest() throws Exception { + AwsOpenIdConfig expectedResponse = + AwsOpenIdConfig.newBuilder() + .setIssuer("issuer-1179159879") + .setJwksUri("jwksUri-1199660617") + .addAllResponseTypesSupported(new ArrayList()) + .addAllSubjectTypesSupported(new ArrayList()) + .addAllIdTokenSigningAlgValuesSupported(new ArrayList()) + .addAllClaimsSupported(new ArrayList()) + .addAllGrantTypes(new ArrayList()) + .build(); + mockService.addResponse(expectedResponse); + + GetAwsOpenIdConfigRequest request = + GetAwsOpenIdConfigRequest.newBuilder() + .setAwsCluster(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .build(); + + AwsOpenIdConfig actualResponse = client.getAwsOpenIdConfig(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getAwsOpenIdConfigExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + GetAwsOpenIdConfigRequest request = + GetAwsOpenIdConfigRequest.newBuilder() + .setAwsCluster( + AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .build(); + client.getAwsOpenIdConfig(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getAwsJsonWebKeysTest() throws Exception { + AwsJsonWebKeys expectedResponse = + AwsJsonWebKeys.newBuilder().addAllKeys(new ArrayList()).build(); + mockService.addResponse(expectedResponse); + + GetAwsJsonWebKeysRequest request = + GetAwsJsonWebKeysRequest.newBuilder() + .setAwsCluster(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .build(); + + AwsJsonWebKeys actualResponse = client.getAwsJsonWebKeys(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getAwsJsonWebKeysExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + GetAwsJsonWebKeysRequest request = + GetAwsJsonWebKeysRequest.newBuilder() + .setAwsCluster( + AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .build(); + client.getAwsJsonWebKeys(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void getAwsServerConfigTest() throws Exception { AwsServerConfig expectedResponse = diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientTest.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientTest.java similarity index 77% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientTest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientTest.java index 38c63b3c110c..b9c08cd58262 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientTest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientTest.java @@ -111,6 +111,7 @@ public void createAwsClusterTest() throws Exception { .setLoggingConfig(LoggingConfig.newBuilder().build()) .addAllErrors(new ArrayList()) .setMonitoringConfig(MonitoringConfig.newBuilder().build()) + .setBinaryAuthorization(BinaryAuthorization.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -182,6 +183,7 @@ public void createAwsClusterTest2() throws Exception { .setLoggingConfig(LoggingConfig.newBuilder().build()) .addAllErrors(new ArrayList()) .setMonitoringConfig(MonitoringConfig.newBuilder().build()) + .setBinaryAuthorization(BinaryAuthorization.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -253,6 +255,7 @@ public void updateAwsClusterTest() throws Exception { .setLoggingConfig(LoggingConfig.newBuilder().build()) .addAllErrors(new ArrayList()) .setMonitoringConfig(MonitoringConfig.newBuilder().build()) + .setBinaryAuthorization(BinaryAuthorization.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -320,6 +323,7 @@ public void getAwsClusterTest() throws Exception { .setLoggingConfig(LoggingConfig.newBuilder().build()) .addAllErrors(new ArrayList()) .setMonitoringConfig(MonitoringConfig.newBuilder().build()) + .setBinaryAuthorization(BinaryAuthorization.newBuilder().build()) .build(); mockAwsClusters.addResponse(expectedResponse); @@ -376,6 +380,7 @@ public void getAwsClusterTest2() throws Exception { .setLoggingConfig(LoggingConfig.newBuilder().build()) .addAllErrors(new ArrayList()) .setMonitoringConfig(MonitoringConfig.newBuilder().build()) + .setBinaryAuthorization(BinaryAuthorization.newBuilder().build()) .build(); mockAwsClusters.addResponse(expectedResponse); @@ -581,6 +586,82 @@ public void deleteAwsClusterExceptionTest2() throws Exception { } } + @Test + public void generateAwsClusterAgentTokenTest() throws Exception { + GenerateAwsClusterAgentTokenResponse expectedResponse = + GenerateAwsClusterAgentTokenResponse.newBuilder() + .setAccessToken("accessToken-1042689291") + .setExpiresIn(-833810928) + .setTokenType("tokenType141498579") + .build(); + mockAwsClusters.addResponse(expectedResponse); + + GenerateAwsClusterAgentTokenRequest request = + GenerateAwsClusterAgentTokenRequest.newBuilder() + .setAwsCluster(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .setSubjectToken("subjectToken-1519661011") + .setSubjectTokenType("subjectTokenType1839592711") + .setVersion("version351608024") + .setNodePoolId("nodePoolId1121557241") + .setGrantType("grantType-1219832202") + .setAudience("audience975628804") + .setScope("scope109264468") + .setRequestedTokenType("requestedTokenType1733106949") + .setOptions("options-1249474914") + .build(); + + GenerateAwsClusterAgentTokenResponse actualResponse = + client.generateAwsClusterAgentToken(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAwsClusters.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GenerateAwsClusterAgentTokenRequest actualRequest = + ((GenerateAwsClusterAgentTokenRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getAwsCluster(), actualRequest.getAwsCluster()); + Assert.assertEquals(request.getSubjectToken(), actualRequest.getSubjectToken()); + Assert.assertEquals(request.getSubjectTokenType(), actualRequest.getSubjectTokenType()); + Assert.assertEquals(request.getVersion(), actualRequest.getVersion()); + Assert.assertEquals(request.getNodePoolId(), actualRequest.getNodePoolId()); + Assert.assertEquals(request.getGrantType(), actualRequest.getGrantType()); + Assert.assertEquals(request.getAudience(), actualRequest.getAudience()); + Assert.assertEquals(request.getScope(), actualRequest.getScope()); + Assert.assertEquals(request.getRequestedTokenType(), actualRequest.getRequestedTokenType()); + Assert.assertEquals(request.getOptions(), actualRequest.getOptions()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void generateAwsClusterAgentTokenExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAwsClusters.addException(exception); + + try { + GenerateAwsClusterAgentTokenRequest request = + GenerateAwsClusterAgentTokenRequest.newBuilder() + .setAwsCluster( + AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .setSubjectToken("subjectToken-1519661011") + .setSubjectTokenType("subjectTokenType1839592711") + .setVersion("version351608024") + .setNodePoolId("nodePoolId1121557241") + .setGrantType("grantType-1219832202") + .setAudience("audience975628804") + .setScope("scope109264468") + .setRequestedTokenType("requestedTokenType1733106949") + .setOptions("options-1249474914") + .build(); + client.generateAwsClusterAgentToken(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void generateAwsAccessTokenTest() throws Exception { GenerateAwsAccessTokenResponse expectedResponse = @@ -647,6 +728,8 @@ public void createAwsNodePoolTest() throws Exception { .putAllAnnotations(new HashMap()) .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) .addAllErrors(new ArrayList()) + .setManagement(AwsNodeManagement.newBuilder().build()) + .setUpdateSettings(UpdateSettings.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -714,6 +797,8 @@ public void createAwsNodePoolTest2() throws Exception { .putAllAnnotations(new HashMap()) .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) .addAllErrors(new ArrayList()) + .setManagement(AwsNodeManagement.newBuilder().build()) + .setUpdateSettings(UpdateSettings.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -781,6 +866,8 @@ public void updateAwsNodePoolTest() throws Exception { .putAllAnnotations(new HashMap()) .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) .addAllErrors(new ArrayList()) + .setManagement(AwsNodeManagement.newBuilder().build()) + .setUpdateSettings(UpdateSettings.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -825,6 +912,134 @@ public void updateAwsNodePoolExceptionTest() throws Exception { } } + @Test + public void rollbackAwsNodePoolUpdateTest() throws Exception { + AwsNodePool expectedResponse = + AwsNodePool.newBuilder() + .setName( + AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]") + .toString()) + .setVersion("version351608024") + .setConfig(AwsNodeConfig.newBuilder().build()) + .setAutoscaling(AwsNodePoolAutoscaling.newBuilder().build()) + .setSubnetId("subnetId-2066159272") + .setUid("uid115792") + .setReconciling(true) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setEtag("etag3123477") + .putAllAnnotations(new HashMap()) + .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) + .addAllErrors(new ArrayList()) + .setManagement(AwsNodeManagement.newBuilder().build()) + .setUpdateSettings(UpdateSettings.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("rollbackAwsNodePoolUpdateTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockAwsClusters.addResponse(resultOperation); + + AwsNodePoolName name = + AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]"); + + AwsNodePool actualResponse = client.rollbackAwsNodePoolUpdateAsync(name).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAwsClusters.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + RollbackAwsNodePoolUpdateRequest actualRequest = + ((RollbackAwsNodePoolUpdateRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void rollbackAwsNodePoolUpdateExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAwsClusters.addException(exception); + + try { + AwsNodePoolName name = + AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]"); + client.rollbackAwsNodePoolUpdateAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void rollbackAwsNodePoolUpdateTest2() throws Exception { + AwsNodePool expectedResponse = + AwsNodePool.newBuilder() + .setName( + AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]") + .toString()) + .setVersion("version351608024") + .setConfig(AwsNodeConfig.newBuilder().build()) + .setAutoscaling(AwsNodePoolAutoscaling.newBuilder().build()) + .setSubnetId("subnetId-2066159272") + .setUid("uid115792") + .setReconciling(true) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setEtag("etag3123477") + .putAllAnnotations(new HashMap()) + .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) + .addAllErrors(new ArrayList()) + .setManagement(AwsNodeManagement.newBuilder().build()) + .setUpdateSettings(UpdateSettings.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("rollbackAwsNodePoolUpdateTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockAwsClusters.addResponse(resultOperation); + + String name = "name3373707"; + + AwsNodePool actualResponse = client.rollbackAwsNodePoolUpdateAsync(name).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAwsClusters.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + RollbackAwsNodePoolUpdateRequest actualRequest = + ((RollbackAwsNodePoolUpdateRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void rollbackAwsNodePoolUpdateExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAwsClusters.addException(exception); + + try { + String name = "name3373707"; + client.rollbackAwsNodePoolUpdateAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + @Test public void getAwsNodePoolTest() throws Exception { AwsNodePool expectedResponse = @@ -844,6 +1059,8 @@ public void getAwsNodePoolTest() throws Exception { .putAllAnnotations(new HashMap()) .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) .addAllErrors(new ArrayList()) + .setManagement(AwsNodeManagement.newBuilder().build()) + .setUpdateSettings(UpdateSettings.newBuilder().build()) .build(); mockAwsClusters.addResponse(expectedResponse); @@ -898,6 +1115,8 @@ public void getAwsNodePoolTest2() throws Exception { .putAllAnnotations(new HashMap()) .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) .addAllErrors(new ArrayList()) + .setManagement(AwsNodeManagement.newBuilder().build()) + .setUpdateSettings(UpdateSettings.newBuilder().build()) .build(); mockAwsClusters.addResponse(expectedResponse); @@ -1105,6 +1324,100 @@ public void deleteAwsNodePoolExceptionTest2() throws Exception { } } + @Test + public void getAwsOpenIdConfigTest() throws Exception { + AwsOpenIdConfig expectedResponse = + AwsOpenIdConfig.newBuilder() + .setIssuer("issuer-1179159879") + .setJwksUri("jwksUri-1199660617") + .addAllResponseTypesSupported(new ArrayList()) + .addAllSubjectTypesSupported(new ArrayList()) + .addAllIdTokenSigningAlgValuesSupported(new ArrayList()) + .addAllClaimsSupported(new ArrayList()) + .addAllGrantTypes(new ArrayList()) + .build(); + mockAwsClusters.addResponse(expectedResponse); + + GetAwsOpenIdConfigRequest request = + GetAwsOpenIdConfigRequest.newBuilder() + .setAwsCluster(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .build(); + + AwsOpenIdConfig actualResponse = client.getAwsOpenIdConfig(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAwsClusters.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetAwsOpenIdConfigRequest actualRequest = ((GetAwsOpenIdConfigRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getAwsCluster(), actualRequest.getAwsCluster()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getAwsOpenIdConfigExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAwsClusters.addException(exception); + + try { + GetAwsOpenIdConfigRequest request = + GetAwsOpenIdConfigRequest.newBuilder() + .setAwsCluster( + AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .build(); + client.getAwsOpenIdConfig(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getAwsJsonWebKeysTest() throws Exception { + AwsJsonWebKeys expectedResponse = + AwsJsonWebKeys.newBuilder().addAllKeys(new ArrayList()).build(); + mockAwsClusters.addResponse(expectedResponse); + + GetAwsJsonWebKeysRequest request = + GetAwsJsonWebKeysRequest.newBuilder() + .setAwsCluster(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .build(); + + AwsJsonWebKeys actualResponse = client.getAwsJsonWebKeys(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAwsClusters.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetAwsJsonWebKeysRequest actualRequest = ((GetAwsJsonWebKeysRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getAwsCluster(), actualRequest.getAwsCluster()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getAwsJsonWebKeysExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAwsClusters.addException(exception); + + try { + GetAwsJsonWebKeysRequest request = + GetAwsJsonWebKeysRequest.newBuilder() + .setAwsCluster( + AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .build(); + client.getAwsJsonWebKeys(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void getAwsServerConfigTest() throws Exception { AwsServerConfig expectedResponse = diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientHttpJsonTest.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientHttpJsonTest.java similarity index 87% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientHttpJsonTest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientHttpJsonTest.java index b4defb4bef1a..3c454a4c85d3 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientHttpJsonTest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientHttpJsonTest.java @@ -1100,6 +1100,79 @@ public void deleteAzureClusterExceptionTest2() throws Exception { } } + @Test + public void generateAzureClusterAgentTokenTest() throws Exception { + GenerateAzureClusterAgentTokenResponse expectedResponse = + GenerateAzureClusterAgentTokenResponse.newBuilder() + .setAccessToken("accessToken-1042689291") + .setExpiresIn(-833810928) + .setTokenType("tokenType141498579") + .build(); + mockService.addResponse(expectedResponse); + + GenerateAzureClusterAgentTokenRequest request = + GenerateAzureClusterAgentTokenRequest.newBuilder() + .setAzureCluster( + AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString()) + .setSubjectToken("subjectToken-1519661011") + .setSubjectTokenType("subjectTokenType1839592711") + .setVersion("version351608024") + .setNodePoolId("nodePoolId1121557241") + .setGrantType("grantType-1219832202") + .setAudience("audience975628804") + .setScope("scope109264468") + .setRequestedTokenType("requestedTokenType1733106949") + .setOptions("options-1249474914") + .build(); + + GenerateAzureClusterAgentTokenResponse actualResponse = + client.generateAzureClusterAgentToken(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void generateAzureClusterAgentTokenExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + GenerateAzureClusterAgentTokenRequest request = + GenerateAzureClusterAgentTokenRequest.newBuilder() + .setAzureCluster( + AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString()) + .setSubjectToken("subjectToken-1519661011") + .setSubjectTokenType("subjectTokenType1839592711") + .setVersion("version351608024") + .setNodePoolId("nodePoolId1121557241") + .setGrantType("grantType-1219832202") + .setAudience("audience975628804") + .setScope("scope109264468") + .setRequestedTokenType("requestedTokenType1733106949") + .setOptions("options-1249474914") + .build(); + client.generateAzureClusterAgentToken(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void generateAzureAccessTokenTest() throws Exception { GenerateAzureAccessTokenResponse expectedResponse = @@ -1174,6 +1247,7 @@ public void createAzureNodePoolTest() throws Exception { .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) .setAzureAvailabilityZone("azureAvailabilityZone-304222122") .addAllErrors(new ArrayList()) + .setManagement(AzureNodeManagement.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1244,6 +1318,7 @@ public void createAzureNodePoolTest2() throws Exception { .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) .setAzureAvailabilityZone("azureAvailabilityZone-304222122") .addAllErrors(new ArrayList()) + .setManagement(AzureNodeManagement.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1315,6 +1390,7 @@ public void updateAzureNodePoolTest() throws Exception { .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) .setAzureAvailabilityZone("azureAvailabilityZone-304222122") .addAllErrors(new ArrayList()) + .setManagement(AzureNodeManagement.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1343,6 +1419,7 @@ public void updateAzureNodePoolTest() throws Exception { .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) .setAzureAvailabilityZone("azureAvailabilityZone-304222122") .addAllErrors(new ArrayList()) + .setManagement(AzureNodeManagement.newBuilder().build()) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); @@ -1391,6 +1468,7 @@ public void updateAzureNodePoolExceptionTest() throws Exception { .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) .setAzureAvailabilityZone("azureAvailabilityZone-304222122") .addAllErrors(new ArrayList()) + .setManagement(AzureNodeManagement.newBuilder().build()) .build(); FieldMask updateMask = FieldMask.newBuilder().build(); client.updateAzureNodePoolAsync(azureNodePool, updateMask).get(); @@ -1420,6 +1498,7 @@ public void getAzureNodePoolTest() throws Exception { .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) .setAzureAvailabilityZone("azureAvailabilityZone-304222122") .addAllErrors(new ArrayList()) + .setManagement(AzureNodeManagement.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -1482,6 +1561,7 @@ public void getAzureNodePoolTest2() throws Exception { .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) .setAzureAvailabilityZone("azureAvailabilityZone-304222122") .addAllErrors(new ArrayList()) + .setManagement(AzureNodeManagement.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -1718,6 +1798,198 @@ public void deleteAzureNodePoolExceptionTest2() throws Exception { } } + @Test + public void getAzureOpenIdConfigTest() throws Exception { + AzureOpenIdConfig expectedResponse = + AzureOpenIdConfig.newBuilder() + .setIssuer("issuer-1179159879") + .setJwksUri("jwksUri-1199660617") + .addAllResponseTypesSupported(new ArrayList()) + .addAllSubjectTypesSupported(new ArrayList()) + .addAllIdTokenSigningAlgValuesSupported(new ArrayList()) + .addAllClaimsSupported(new ArrayList()) + .addAllGrantTypes(new ArrayList()) + .build(); + mockService.addResponse(expectedResponse); + + AzureClusterName azureCluster = + AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"); + + AzureOpenIdConfig actualResponse = client.getAzureOpenIdConfig(azureCluster); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getAzureOpenIdConfigExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + AzureClusterName azureCluster = + AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"); + client.getAzureOpenIdConfig(azureCluster); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getAzureOpenIdConfigTest2() throws Exception { + AzureOpenIdConfig expectedResponse = + AzureOpenIdConfig.newBuilder() + .setIssuer("issuer-1179159879") + .setJwksUri("jwksUri-1199660617") + .addAllResponseTypesSupported(new ArrayList()) + .addAllSubjectTypesSupported(new ArrayList()) + .addAllIdTokenSigningAlgValuesSupported(new ArrayList()) + .addAllClaimsSupported(new ArrayList()) + .addAllGrantTypes(new ArrayList()) + .build(); + mockService.addResponse(expectedResponse); + + String azureCluster = + "projects/project-3970/locations/location-3970/azureClusters/azureCluster-3970"; + + AzureOpenIdConfig actualResponse = client.getAzureOpenIdConfig(azureCluster); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getAzureOpenIdConfigExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String azureCluster = + "projects/project-3970/locations/location-3970/azureClusters/azureCluster-3970"; + client.getAzureOpenIdConfig(azureCluster); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getAzureJsonWebKeysTest() throws Exception { + AzureJsonWebKeys expectedResponse = + AzureJsonWebKeys.newBuilder().addAllKeys(new ArrayList()).build(); + mockService.addResponse(expectedResponse); + + AzureClusterName azureCluster = + AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"); + + AzureJsonWebKeys actualResponse = client.getAzureJsonWebKeys(azureCluster); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getAzureJsonWebKeysExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + AzureClusterName azureCluster = + AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"); + client.getAzureJsonWebKeys(azureCluster); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getAzureJsonWebKeysTest2() throws Exception { + AzureJsonWebKeys expectedResponse = + AzureJsonWebKeys.newBuilder().addAllKeys(new ArrayList()).build(); + mockService.addResponse(expectedResponse); + + String azureCluster = + "projects/project-3970/locations/location-3970/azureClusters/azureCluster-3970"; + + AzureJsonWebKeys actualResponse = client.getAzureJsonWebKeys(azureCluster); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getAzureJsonWebKeysExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String azureCluster = + "projects/project-3970/locations/location-3970/azureClusters/azureCluster-3970"; + client.getAzureJsonWebKeys(azureCluster); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void getAzureServerConfigTest() throws Exception { AzureServerConfig expectedResponse = diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientTest.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientTest.java similarity index 86% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientTest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientTest.java index cbe1f661a679..652f9fc6ed78 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientTest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientTest.java @@ -988,6 +988,83 @@ public void deleteAzureClusterExceptionTest2() throws Exception { } } + @Test + public void generateAzureClusterAgentTokenTest() throws Exception { + GenerateAzureClusterAgentTokenResponse expectedResponse = + GenerateAzureClusterAgentTokenResponse.newBuilder() + .setAccessToken("accessToken-1042689291") + .setExpiresIn(-833810928) + .setTokenType("tokenType141498579") + .build(); + mockAzureClusters.addResponse(expectedResponse); + + GenerateAzureClusterAgentTokenRequest request = + GenerateAzureClusterAgentTokenRequest.newBuilder() + .setAzureCluster( + AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString()) + .setSubjectToken("subjectToken-1519661011") + .setSubjectTokenType("subjectTokenType1839592711") + .setVersion("version351608024") + .setNodePoolId("nodePoolId1121557241") + .setGrantType("grantType-1219832202") + .setAudience("audience975628804") + .setScope("scope109264468") + .setRequestedTokenType("requestedTokenType1733106949") + .setOptions("options-1249474914") + .build(); + + GenerateAzureClusterAgentTokenResponse actualResponse = + client.generateAzureClusterAgentToken(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAzureClusters.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GenerateAzureClusterAgentTokenRequest actualRequest = + ((GenerateAzureClusterAgentTokenRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getAzureCluster(), actualRequest.getAzureCluster()); + Assert.assertEquals(request.getSubjectToken(), actualRequest.getSubjectToken()); + Assert.assertEquals(request.getSubjectTokenType(), actualRequest.getSubjectTokenType()); + Assert.assertEquals(request.getVersion(), actualRequest.getVersion()); + Assert.assertEquals(request.getNodePoolId(), actualRequest.getNodePoolId()); + Assert.assertEquals(request.getGrantType(), actualRequest.getGrantType()); + Assert.assertEquals(request.getAudience(), actualRequest.getAudience()); + Assert.assertEquals(request.getScope(), actualRequest.getScope()); + Assert.assertEquals(request.getRequestedTokenType(), actualRequest.getRequestedTokenType()); + Assert.assertEquals(request.getOptions(), actualRequest.getOptions()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void generateAzureClusterAgentTokenExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAzureClusters.addException(exception); + + try { + GenerateAzureClusterAgentTokenRequest request = + GenerateAzureClusterAgentTokenRequest.newBuilder() + .setAzureCluster( + AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString()) + .setSubjectToken("subjectToken-1519661011") + .setSubjectTokenType("subjectTokenType1839592711") + .setVersion("version351608024") + .setNodePoolId("nodePoolId1121557241") + .setGrantType("grantType-1219832202") + .setAudience("audience975628804") + .setScope("scope109264468") + .setRequestedTokenType("requestedTokenType1733106949") + .setOptions("options-1249474914") + .build(); + client.generateAzureClusterAgentToken(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void generateAzureAccessTokenTest() throws Exception { GenerateAzureAccessTokenResponse expectedResponse = @@ -1057,6 +1134,7 @@ public void createAzureNodePoolTest() throws Exception { .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) .setAzureAvailabilityZone("azureAvailabilityZone-304222122") .addAllErrors(new ArrayList()) + .setManagement(AzureNodeManagement.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1126,6 +1204,7 @@ public void createAzureNodePoolTest2() throws Exception { .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) .setAzureAvailabilityZone("azureAvailabilityZone-304222122") .addAllErrors(new ArrayList()) + .setManagement(AzureNodeManagement.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1195,6 +1274,7 @@ public void updateAzureNodePoolTest() throws Exception { .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) .setAzureAvailabilityZone("azureAvailabilityZone-304222122") .addAllErrors(new ArrayList()) + .setManagement(AzureNodeManagement.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -1260,6 +1340,7 @@ public void getAzureNodePoolTest() throws Exception { .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) .setAzureAvailabilityZone("azureAvailabilityZone-304222122") .addAllErrors(new ArrayList()) + .setManagement(AzureNodeManagement.newBuilder().build()) .build(); mockAzureClusters.addResponse(expectedResponse); @@ -1316,6 +1397,7 @@ public void getAzureNodePoolTest2() throws Exception { .setMaxPodsConstraint(MaxPodsConstraint.newBuilder().build()) .setAzureAvailabilityZone("azureAvailabilityZone-304222122") .addAllErrors(new ArrayList()) + .setManagement(AzureNodeManagement.newBuilder().build()) .build(); mockAzureClusters.addResponse(expectedResponse); @@ -1523,6 +1605,172 @@ public void deleteAzureNodePoolExceptionTest2() throws Exception { } } + @Test + public void getAzureOpenIdConfigTest() throws Exception { + AzureOpenIdConfig expectedResponse = + AzureOpenIdConfig.newBuilder() + .setIssuer("issuer-1179159879") + .setJwksUri("jwksUri-1199660617") + .addAllResponseTypesSupported(new ArrayList()) + .addAllSubjectTypesSupported(new ArrayList()) + .addAllIdTokenSigningAlgValuesSupported(new ArrayList()) + .addAllClaimsSupported(new ArrayList()) + .addAllGrantTypes(new ArrayList()) + .build(); + mockAzureClusters.addResponse(expectedResponse); + + AzureClusterName azureCluster = + AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"); + + AzureOpenIdConfig actualResponse = client.getAzureOpenIdConfig(azureCluster); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAzureClusters.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetAzureOpenIdConfigRequest actualRequest = + ((GetAzureOpenIdConfigRequest) actualRequests.get(0)); + + Assert.assertEquals(azureCluster.toString(), actualRequest.getAzureCluster()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getAzureOpenIdConfigExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAzureClusters.addException(exception); + + try { + AzureClusterName azureCluster = + AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"); + client.getAzureOpenIdConfig(azureCluster); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getAzureOpenIdConfigTest2() throws Exception { + AzureOpenIdConfig expectedResponse = + AzureOpenIdConfig.newBuilder() + .setIssuer("issuer-1179159879") + .setJwksUri("jwksUri-1199660617") + .addAllResponseTypesSupported(new ArrayList()) + .addAllSubjectTypesSupported(new ArrayList()) + .addAllIdTokenSigningAlgValuesSupported(new ArrayList()) + .addAllClaimsSupported(new ArrayList()) + .addAllGrantTypes(new ArrayList()) + .build(); + mockAzureClusters.addResponse(expectedResponse); + + String azureCluster = "azureCluster509696107"; + + AzureOpenIdConfig actualResponse = client.getAzureOpenIdConfig(azureCluster); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAzureClusters.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetAzureOpenIdConfigRequest actualRequest = + ((GetAzureOpenIdConfigRequest) actualRequests.get(0)); + + Assert.assertEquals(azureCluster, actualRequest.getAzureCluster()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getAzureOpenIdConfigExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAzureClusters.addException(exception); + + try { + String azureCluster = "azureCluster509696107"; + client.getAzureOpenIdConfig(azureCluster); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getAzureJsonWebKeysTest() throws Exception { + AzureJsonWebKeys expectedResponse = + AzureJsonWebKeys.newBuilder().addAllKeys(new ArrayList()).build(); + mockAzureClusters.addResponse(expectedResponse); + + AzureClusterName azureCluster = + AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"); + + AzureJsonWebKeys actualResponse = client.getAzureJsonWebKeys(azureCluster); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAzureClusters.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetAzureJsonWebKeysRequest actualRequest = ((GetAzureJsonWebKeysRequest) actualRequests.get(0)); + + Assert.assertEquals(azureCluster.toString(), actualRequest.getAzureCluster()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getAzureJsonWebKeysExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAzureClusters.addException(exception); + + try { + AzureClusterName azureCluster = + AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"); + client.getAzureJsonWebKeys(azureCluster); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getAzureJsonWebKeysTest2() throws Exception { + AzureJsonWebKeys expectedResponse = + AzureJsonWebKeys.newBuilder().addAllKeys(new ArrayList()).build(); + mockAzureClusters.addResponse(expectedResponse); + + String azureCluster = "azureCluster509696107"; + + AzureJsonWebKeys actualResponse = client.getAzureJsonWebKeys(azureCluster); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockAzureClusters.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetAzureJsonWebKeysRequest actualRequest = ((GetAzureJsonWebKeysRequest) actualRequests.get(0)); + + Assert.assertEquals(azureCluster, actualRequest.getAzureCluster()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getAzureJsonWebKeysExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockAzureClusters.addException(exception); + + try { + String azureCluster = "azureCluster509696107"; + client.getAzureJsonWebKeys(azureCluster); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void getAzureServerConfigTest() throws Exception { AzureServerConfig expectedResponse = diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAttachedClusters.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAttachedClusters.java similarity index 100% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAttachedClusters.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAttachedClusters.java diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAttachedClustersImpl.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAttachedClustersImpl.java similarity index 89% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAttachedClustersImpl.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAttachedClustersImpl.java index 7fea50198328..6329318c3a94 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAttachedClustersImpl.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAttachedClustersImpl.java @@ -229,4 +229,26 @@ public void generateAttachedClusterInstallManifest( Exception.class.getName()))); } } + + @Override + public void generateAttachedClusterAgentToken( + GenerateAttachedClusterAgentTokenRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof GenerateAttachedClusterAgentTokenResponse) { + requests.add(request); + responseObserver.onNext(((GenerateAttachedClusterAgentTokenResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GenerateAttachedClusterAgentToken, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + GenerateAttachedClusterAgentTokenResponse.class.getName(), + Exception.class.getName()))); + } + } } diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClusters.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClusters.java similarity index 100% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClusters.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClusters.java diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClustersImpl.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClustersImpl.java similarity index 77% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClustersImpl.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClustersImpl.java index ec329ddf2f9c..030fd75341a0 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClustersImpl.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClustersImpl.java @@ -164,6 +164,28 @@ public void deleteAwsCluster( } } + @Override + public void generateAwsClusterAgentToken( + GenerateAwsClusterAgentTokenRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof GenerateAwsClusterAgentTokenResponse) { + requests.add(request); + responseObserver.onNext(((GenerateAwsClusterAgentTokenResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GenerateAwsClusterAgentToken, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + GenerateAwsClusterAgentTokenResponse.class.getName(), + Exception.class.getName()))); + } + } + @Override public void generateAwsAccessToken( GenerateAwsAccessTokenRequest request, @@ -228,6 +250,27 @@ public void updateAwsNodePool( } } + @Override + public void rollbackAwsNodePoolUpdate( + RollbackAwsNodePoolUpdateRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method RollbackAwsNodePoolUpdate, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + @Override public void getAwsNodePool( GetAwsNodePoolRequest request, StreamObserver responseObserver) { @@ -291,6 +334,48 @@ public void deleteAwsNodePool( } } + @Override + public void getAwsOpenIdConfig( + GetAwsOpenIdConfigRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof AwsOpenIdConfig) { + requests.add(request); + responseObserver.onNext(((AwsOpenIdConfig) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetAwsOpenIdConfig, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + AwsOpenIdConfig.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getAwsJsonWebKeys( + GetAwsJsonWebKeysRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof AwsJsonWebKeys) { + requests.add(request); + responseObserver.onNext(((AwsJsonWebKeys) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetAwsJsonWebKeys, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + AwsJsonWebKeys.class.getName(), + Exception.class.getName()))); + } + } + @Override public void getAwsServerConfig( GetAwsServerConfigRequest request, StreamObserver responseObserver) { diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClusters.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClusters.java similarity index 100% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClusters.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClusters.java diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClustersImpl.java b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClustersImpl.java similarity index 85% rename from java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClustersImpl.java rename to owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClustersImpl.java index 1ddd15328264..9c760cc98e39 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClustersImpl.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClustersImpl.java @@ -249,6 +249,28 @@ public void deleteAzureCluster( } } + @Override + public void generateAzureClusterAgentToken( + GenerateAzureClusterAgentTokenRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof GenerateAzureClusterAgentTokenResponse) { + requests.add(request); + responseObserver.onNext(((GenerateAzureClusterAgentTokenResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GenerateAzureClusterAgentToken, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + GenerateAzureClusterAgentTokenResponse.class.getName(), + Exception.class.getName()))); + } + } + @Override public void generateAzureAccessToken( GenerateAzureAccessTokenRequest request, @@ -377,6 +399,48 @@ public void deleteAzureNodePool( } } + @Override + public void getAzureOpenIdConfig( + GetAzureOpenIdConfigRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof AzureOpenIdConfig) { + requests.add(request); + responseObserver.onNext(((AzureOpenIdConfig) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetAzureOpenIdConfig, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + AzureOpenIdConfig.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getAzureJsonWebKeys( + GetAzureJsonWebKeysRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof AzureJsonWebKeys) { + requests.add(request); + responseObserver.onNext(((AzureJsonWebKeys) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetAzureJsonWebKeys, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + AzureJsonWebKeys.class.getName(), + Exception.class.getName()))); + } + } + @Override public void getAzureServerConfig( GetAzureServerConfigRequest request, StreamObserver responseObserver) { diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersGrpc.java b/owl-bot-staging/java-gke-multi-cloud/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersGrpc.java new file mode 100644 index 000000000000..8b905cd4cb55 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersGrpc.java @@ -0,0 +1,1103 @@ +package com.google.cloud.gkemulticloud.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * The AttachedClusters API provides a single centrally managed service
+ * to register and manage Anthos attached clusters that run on customer's owned
+ * infrastructure.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/gkemulticloud/v1/attached_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class AttachedClustersGrpc { + + private AttachedClustersGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.cloud.gkemulticloud.v1.AttachedClusters"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateAttachedClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateAttachedCluster", + requestType = com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateAttachedClusterMethod() { + io.grpc.MethodDescriptor getCreateAttachedClusterMethod; + if ((getCreateAttachedClusterMethod = AttachedClustersGrpc.getCreateAttachedClusterMethod) == null) { + synchronized (AttachedClustersGrpc.class) { + if ((getCreateAttachedClusterMethod = AttachedClustersGrpc.getCreateAttachedClusterMethod) == null) { + AttachedClustersGrpc.getCreateAttachedClusterMethod = getCreateAttachedClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAttachedCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AttachedClustersMethodDescriptorSupplier("CreateAttachedCluster")) + .build(); + } + } + } + return getCreateAttachedClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateAttachedClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAttachedCluster", + requestType = com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateAttachedClusterMethod() { + io.grpc.MethodDescriptor getUpdateAttachedClusterMethod; + if ((getUpdateAttachedClusterMethod = AttachedClustersGrpc.getUpdateAttachedClusterMethod) == null) { + synchronized (AttachedClustersGrpc.class) { + if ((getUpdateAttachedClusterMethod = AttachedClustersGrpc.getUpdateAttachedClusterMethod) == null) { + AttachedClustersGrpc.getUpdateAttachedClusterMethod = getUpdateAttachedClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAttachedCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AttachedClustersMethodDescriptorSupplier("UpdateAttachedCluster")) + .build(); + } + } + } + return getUpdateAttachedClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getImportAttachedClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportAttachedCluster", + requestType = com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getImportAttachedClusterMethod() { + io.grpc.MethodDescriptor getImportAttachedClusterMethod; + if ((getImportAttachedClusterMethod = AttachedClustersGrpc.getImportAttachedClusterMethod) == null) { + synchronized (AttachedClustersGrpc.class) { + if ((getImportAttachedClusterMethod = AttachedClustersGrpc.getImportAttachedClusterMethod) == null) { + AttachedClustersGrpc.getImportAttachedClusterMethod = getImportAttachedClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAttachedCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AttachedClustersMethodDescriptorSupplier("ImportAttachedCluster")) + .build(); + } + } + } + return getImportAttachedClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetAttachedClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAttachedCluster", + requestType = com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.AttachedCluster.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetAttachedClusterMethod() { + io.grpc.MethodDescriptor getGetAttachedClusterMethod; + if ((getGetAttachedClusterMethod = AttachedClustersGrpc.getGetAttachedClusterMethod) == null) { + synchronized (AttachedClustersGrpc.class) { + if ((getGetAttachedClusterMethod = AttachedClustersGrpc.getGetAttachedClusterMethod) == null) { + AttachedClustersGrpc.getGetAttachedClusterMethod = getGetAttachedClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAttachedCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance())) + .setSchemaDescriptor(new AttachedClustersMethodDescriptorSupplier("GetAttachedCluster")) + .build(); + } + } + } + return getGetAttachedClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getListAttachedClustersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAttachedClusters", + requestType = com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListAttachedClustersMethod() { + io.grpc.MethodDescriptor getListAttachedClustersMethod; + if ((getListAttachedClustersMethod = AttachedClustersGrpc.getListAttachedClustersMethod) == null) { + synchronized (AttachedClustersGrpc.class) { + if ((getListAttachedClustersMethod = AttachedClustersGrpc.getListAttachedClustersMethod) == null) { + AttachedClustersGrpc.getListAttachedClustersMethod = getListAttachedClustersMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAttachedClusters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse.getDefaultInstance())) + .setSchemaDescriptor(new AttachedClustersMethodDescriptorSupplier("ListAttachedClusters")) + .build(); + } + } + } + return getListAttachedClustersMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteAttachedClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAttachedCluster", + requestType = com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteAttachedClusterMethod() { + io.grpc.MethodDescriptor getDeleteAttachedClusterMethod; + if ((getDeleteAttachedClusterMethod = AttachedClustersGrpc.getDeleteAttachedClusterMethod) == null) { + synchronized (AttachedClustersGrpc.class) { + if ((getDeleteAttachedClusterMethod = AttachedClustersGrpc.getDeleteAttachedClusterMethod) == null) { + AttachedClustersGrpc.getDeleteAttachedClusterMethod = getDeleteAttachedClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAttachedCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AttachedClustersMethodDescriptorSupplier("DeleteAttachedCluster")) + .build(); + } + } + } + return getDeleteAttachedClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetAttachedServerConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAttachedServerConfig", + requestType = com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.AttachedServerConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetAttachedServerConfigMethod() { + io.grpc.MethodDescriptor getGetAttachedServerConfigMethod; + if ((getGetAttachedServerConfigMethod = AttachedClustersGrpc.getGetAttachedServerConfigMethod) == null) { + synchronized (AttachedClustersGrpc.class) { + if ((getGetAttachedServerConfigMethod = AttachedClustersGrpc.getGetAttachedServerConfigMethod) == null) { + AttachedClustersGrpc.getGetAttachedServerConfigMethod = getGetAttachedServerConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAttachedServerConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.AttachedServerConfig.getDefaultInstance())) + .setSchemaDescriptor(new AttachedClustersMethodDescriptorSupplier("GetAttachedServerConfig")) + .build(); + } + } + } + return getGetAttachedServerConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor getGenerateAttachedClusterInstallManifestMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GenerateAttachedClusterInstallManifest", + requestType = com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGenerateAttachedClusterInstallManifestMethod() { + io.grpc.MethodDescriptor getGenerateAttachedClusterInstallManifestMethod; + if ((getGenerateAttachedClusterInstallManifestMethod = AttachedClustersGrpc.getGenerateAttachedClusterInstallManifestMethod) == null) { + synchronized (AttachedClustersGrpc.class) { + if ((getGenerateAttachedClusterInstallManifestMethod = AttachedClustersGrpc.getGenerateAttachedClusterInstallManifestMethod) == null) { + AttachedClustersGrpc.getGenerateAttachedClusterInstallManifestMethod = getGenerateAttachedClusterInstallManifestMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GenerateAttachedClusterInstallManifest")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse.getDefaultInstance())) + .setSchemaDescriptor(new AttachedClustersMethodDescriptorSupplier("GenerateAttachedClusterInstallManifest")) + .build(); + } + } + } + return getGenerateAttachedClusterInstallManifestMethod; + } + + private static volatile io.grpc.MethodDescriptor getGenerateAttachedClusterAgentTokenMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GenerateAttachedClusterAgentToken", + requestType = com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGenerateAttachedClusterAgentTokenMethod() { + io.grpc.MethodDescriptor getGenerateAttachedClusterAgentTokenMethod; + if ((getGenerateAttachedClusterAgentTokenMethod = AttachedClustersGrpc.getGenerateAttachedClusterAgentTokenMethod) == null) { + synchronized (AttachedClustersGrpc.class) { + if ((getGenerateAttachedClusterAgentTokenMethod = AttachedClustersGrpc.getGenerateAttachedClusterAgentTokenMethod) == null) { + AttachedClustersGrpc.getGenerateAttachedClusterAgentTokenMethod = getGenerateAttachedClusterAgentTokenMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GenerateAttachedClusterAgentToken")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse.getDefaultInstance())) + .setSchemaDescriptor(new AttachedClustersMethodDescriptorSupplier("GenerateAttachedClusterAgentToken")) + .build(); + } + } + } + return getGenerateAttachedClusterAgentTokenMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static AttachedClustersStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AttachedClustersStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AttachedClustersStub(channel, callOptions); + } + }; + return AttachedClustersStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static AttachedClustersBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AttachedClustersBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AttachedClustersBlockingStub(channel, callOptions); + } + }; + return AttachedClustersBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static AttachedClustersFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AttachedClustersFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AttachedClustersFutureStub(channel, callOptions); + } + }; + return AttachedClustersFutureStub.newStub(factory, channel); + } + + /** + *
+   * The AttachedClusters API provides a single centrally managed service
+   * to register and manage Anthos attached clusters that run on customer's owned
+   * infrastructure.
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * Creates a new
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
+     * on a given Google Cloud Platform project and region.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + default void createAttachedCluster(com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAttachedClusterMethod(), responseObserver); + } + + /** + *
+     * Updates an
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
+     * 
+ */ + default void updateAttachedCluster(com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAttachedClusterMethod(), responseObserver); + } + + /** + *
+     * Imports creates a new
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
+     * by importing an existing Fleet Membership resource.
+     * Attached Clusters created before the introduction of the Anthos Multi-Cloud
+     * API can be imported through this method.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + default void importAttachedCluster(com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportAttachedClusterMethod(), responseObserver); + } + + /** + *
+     * Describes a specific
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
+     * 
+ */ + default void getAttachedCluster(com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAttachedClusterMethod(), responseObserver); + } + + /** + *
+     * Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
+     * resources on a given Google Cloud project and region.
+     * 
+ */ + default void listAttachedClusters(com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAttachedClustersMethod(), responseObserver); + } + + /** + *
+     * Deletes a specific
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + default void deleteAttachedCluster(com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAttachedClusterMethod(), responseObserver); + } + + /** + *
+     * Returns information, such as supported Kubernetes versions, on a given
+     * Google Cloud location.
+     * 
+ */ + default void getAttachedServerConfig(com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAttachedServerConfigMethod(), responseObserver); + } + + /** + *
+     * Generates the install manifest to be installed on the target cluster.
+     * 
+ */ + default void generateAttachedClusterInstallManifest(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateAttachedClusterInstallManifestMethod(), responseObserver); + } + + /** + *
+     * Generates an access token for a cluster agent.
+     * 
+ */ + default void generateAttachedClusterAgentToken(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateAttachedClusterAgentTokenMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service AttachedClusters. + *
+   * The AttachedClusters API provides a single centrally managed service
+   * to register and manage Anthos attached clusters that run on customer's owned
+   * infrastructure.
+   * 
+ */ + public static abstract class AttachedClustersImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return AttachedClustersGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service AttachedClusters. + *
+   * The AttachedClusters API provides a single centrally managed service
+   * to register and manage Anthos attached clusters that run on customer's owned
+   * infrastructure.
+   * 
+ */ + public static final class AttachedClustersStub + extends io.grpc.stub.AbstractAsyncStub { + private AttachedClustersStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AttachedClustersStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AttachedClustersStub(channel, callOptions); + } + + /** + *
+     * Creates a new
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
+     * on a given Google Cloud Platform project and region.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public void createAttachedCluster(com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateAttachedClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates an
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
+     * 
+ */ + public void updateAttachedCluster(com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAttachedClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Imports creates a new
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
+     * by importing an existing Fleet Membership resource.
+     * Attached Clusters created before the introduction of the Anthos Multi-Cloud
+     * API can be imported through this method.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public void importAttachedCluster(com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportAttachedClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Describes a specific
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
+     * 
+ */ + public void getAttachedCluster(com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAttachedClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
+     * resources on a given Google Cloud project and region.
+     * 
+ */ + public void listAttachedClusters(com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAttachedClustersMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a specific
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public void deleteAttachedCluster(com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAttachedClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns information, such as supported Kubernetes versions, on a given
+     * Google Cloud location.
+     * 
+ */ + public void getAttachedServerConfig(com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAttachedServerConfigMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Generates the install manifest to be installed on the target cluster.
+     * 
+ */ + public void generateAttachedClusterInstallManifest(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGenerateAttachedClusterInstallManifestMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Generates an access token for a cluster agent.
+     * 
+ */ + public void generateAttachedClusterAgentToken(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGenerateAttachedClusterAgentTokenMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service AttachedClusters. + *
+   * The AttachedClusters API provides a single centrally managed service
+   * to register and manage Anthos attached clusters that run on customer's owned
+   * infrastructure.
+   * 
+ */ + public static final class AttachedClustersBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private AttachedClustersBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AttachedClustersBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AttachedClustersBlockingStub(channel, callOptions); + } + + /** + *
+     * Creates a new
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
+     * on a given Google Cloud Platform project and region.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.longrunning.Operation createAttachedCluster(com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateAttachedClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates an
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
+     * 
+ */ + public com.google.longrunning.Operation updateAttachedCluster(com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAttachedClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Imports creates a new
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
+     * by importing an existing Fleet Membership resource.
+     * Attached Clusters created before the introduction of the Anthos Multi-Cloud
+     * API can be imported through this method.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.longrunning.Operation importAttachedCluster(com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportAttachedClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Describes a specific
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.AttachedCluster getAttachedCluster(com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAttachedClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
+     * resources on a given Google Cloud project and region.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse listAttachedClusters(com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAttachedClustersMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a specific
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.longrunning.Operation deleteAttachedCluster(com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAttachedClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns information, such as supported Kubernetes versions, on a given
+     * Google Cloud location.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.AttachedServerConfig getAttachedServerConfig(com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAttachedServerConfigMethod(), getCallOptions(), request); + } + + /** + *
+     * Generates the install manifest to be installed on the target cluster.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse generateAttachedClusterInstallManifest(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGenerateAttachedClusterInstallManifestMethod(), getCallOptions(), request); + } + + /** + *
+     * Generates an access token for a cluster agent.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse generateAttachedClusterAgentToken(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGenerateAttachedClusterAgentTokenMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service AttachedClusters. + *
+   * The AttachedClusters API provides a single centrally managed service
+   * to register and manage Anthos attached clusters that run on customer's owned
+   * infrastructure.
+   * 
+ */ + public static final class AttachedClustersFutureStub + extends io.grpc.stub.AbstractFutureStub { + private AttachedClustersFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AttachedClustersFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AttachedClustersFutureStub(channel, callOptions); + } + + /** + *
+     * Creates a new
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
+     * on a given Google Cloud Platform project and region.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createAttachedCluster( + com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateAttachedClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates an
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateAttachedCluster( + com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAttachedClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Imports creates a new
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
+     * by importing an existing Fleet Membership resource.
+     * Attached Clusters created before the introduction of the Anthos Multi-Cloud
+     * API can be imported through this method.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture importAttachedCluster( + com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportAttachedClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Describes a specific
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getAttachedCluster( + com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAttachedClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
+     * resources on a given Google Cloud project and region.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listAttachedClusters( + com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAttachedClustersMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a specific
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteAttachedCluster( + com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAttachedClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns information, such as supported Kubernetes versions, on a given
+     * Google Cloud location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getAttachedServerConfig( + com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAttachedServerConfigMethod(), getCallOptions()), request); + } + + /** + *
+     * Generates the install manifest to be installed on the target cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture generateAttachedClusterInstallManifest( + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGenerateAttachedClusterInstallManifestMethod(), getCallOptions()), request); + } + + /** + *
+     * Generates an access token for a cluster agent.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture generateAttachedClusterAgentToken( + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGenerateAttachedClusterAgentTokenMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_ATTACHED_CLUSTER = 0; + private static final int METHODID_UPDATE_ATTACHED_CLUSTER = 1; + private static final int METHODID_IMPORT_ATTACHED_CLUSTER = 2; + private static final int METHODID_GET_ATTACHED_CLUSTER = 3; + private static final int METHODID_LIST_ATTACHED_CLUSTERS = 4; + private static final int METHODID_DELETE_ATTACHED_CLUSTER = 5; + private static final int METHODID_GET_ATTACHED_SERVER_CONFIG = 6; + private static final int METHODID_GENERATE_ATTACHED_CLUSTER_INSTALL_MANIFEST = 7; + private static final int METHODID_GENERATE_ATTACHED_CLUSTER_AGENT_TOKEN = 8; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_ATTACHED_CLUSTER: + serviceImpl.createAttachedCluster((com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_ATTACHED_CLUSTER: + serviceImpl.updateAttachedCluster((com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_IMPORT_ATTACHED_CLUSTER: + serviceImpl.importAttachedCluster((com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_ATTACHED_CLUSTER: + serviceImpl.getAttachedCluster((com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ATTACHED_CLUSTERS: + serviceImpl.listAttachedClusters((com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_ATTACHED_CLUSTER: + serviceImpl.deleteAttachedCluster((com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_ATTACHED_SERVER_CONFIG: + serviceImpl.getAttachedServerConfig((com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GENERATE_ATTACHED_CLUSTER_INSTALL_MANIFEST: + serviceImpl.generateAttachedClusterInstallManifest((com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GENERATE_ATTACHED_CLUSTER_AGENT_TOKEN: + serviceImpl.generateAttachedClusterAgentToken((com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateAttachedClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_ATTACHED_CLUSTER))) + .addMethod( + getUpdateAttachedClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_ATTACHED_CLUSTER))) + .addMethod( + getImportAttachedClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_IMPORT_ATTACHED_CLUSTER))) + .addMethod( + getGetAttachedClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest, + com.google.cloud.gkemulticloud.v1.AttachedCluster>( + service, METHODID_GET_ATTACHED_CLUSTER))) + .addMethod( + getListAttachedClustersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest, + com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse>( + service, METHODID_LIST_ATTACHED_CLUSTERS))) + .addMethod( + getDeleteAttachedClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_DELETE_ATTACHED_CLUSTER))) + .addMethod( + getGetAttachedServerConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest, + com.google.cloud.gkemulticloud.v1.AttachedServerConfig>( + service, METHODID_GET_ATTACHED_SERVER_CONFIG))) + .addMethod( + getGenerateAttachedClusterInstallManifestMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest, + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse>( + service, METHODID_GENERATE_ATTACHED_CLUSTER_INSTALL_MANIFEST))) + .addMethod( + getGenerateAttachedClusterAgentTokenMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest, + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse>( + service, METHODID_GENERATE_ATTACHED_CLUSTER_AGENT_TOKEN))) + .build(); + } + + private static abstract class AttachedClustersBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + AttachedClustersBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("AttachedClusters"); + } + } + + private static final class AttachedClustersFileDescriptorSupplier + extends AttachedClustersBaseDescriptorSupplier { + AttachedClustersFileDescriptorSupplier() {} + } + + private static final class AttachedClustersMethodDescriptorSupplier + extends AttachedClustersBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + AttachedClustersMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (AttachedClustersGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new AttachedClustersFileDescriptorSupplier()) + .addMethod(getCreateAttachedClusterMethod()) + .addMethod(getUpdateAttachedClusterMethod()) + .addMethod(getImportAttachedClusterMethod()) + .addMethod(getGetAttachedClusterMethod()) + .addMethod(getListAttachedClustersMethod()) + .addMethod(getDeleteAttachedClusterMethod()) + .addMethod(getGetAttachedServerConfigMethod()) + .addMethod(getGenerateAttachedClusterInstallManifestMethod()) + .addMethod(getGenerateAttachedClusterAgentTokenMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java b/owl-bot-staging/java-gke-multi-cloud/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java new file mode 100644 index 000000000000..cce6f62b53b7 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java @@ -0,0 +1,1759 @@ +package com.google.cloud.gkemulticloud.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * The AwsClusters API provides a single centrally managed service
+ * to create and manage Anthos clusters that run on AWS infrastructure.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/gkemulticloud/v1/aws_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class AwsClustersGrpc { + + private AwsClustersGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.cloud.gkemulticloud.v1.AwsClusters"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateAwsClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateAwsCluster", + requestType = com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateAwsClusterMethod() { + io.grpc.MethodDescriptor getCreateAwsClusterMethod; + if ((getCreateAwsClusterMethod = AwsClustersGrpc.getCreateAwsClusterMethod) == null) { + synchronized (AwsClustersGrpc.class) { + if ((getCreateAwsClusterMethod = AwsClustersGrpc.getCreateAwsClusterMethod) == null) { + AwsClustersGrpc.getCreateAwsClusterMethod = getCreateAwsClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAwsCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("CreateAwsCluster")) + .build(); + } + } + } + return getCreateAwsClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateAwsClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAwsCluster", + requestType = com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateAwsClusterMethod() { + io.grpc.MethodDescriptor getUpdateAwsClusterMethod; + if ((getUpdateAwsClusterMethod = AwsClustersGrpc.getUpdateAwsClusterMethod) == null) { + synchronized (AwsClustersGrpc.class) { + if ((getUpdateAwsClusterMethod = AwsClustersGrpc.getUpdateAwsClusterMethod) == null) { + AwsClustersGrpc.getUpdateAwsClusterMethod = getUpdateAwsClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAwsCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("UpdateAwsCluster")) + .build(); + } + } + } + return getUpdateAwsClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetAwsClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAwsCluster", + requestType = com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.AwsCluster.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetAwsClusterMethod() { + io.grpc.MethodDescriptor getGetAwsClusterMethod; + if ((getGetAwsClusterMethod = AwsClustersGrpc.getGetAwsClusterMethod) == null) { + synchronized (AwsClustersGrpc.class) { + if ((getGetAwsClusterMethod = AwsClustersGrpc.getGetAwsClusterMethod) == null) { + AwsClustersGrpc.getGetAwsClusterMethod = getGetAwsClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAwsCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance())) + .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("GetAwsCluster")) + .build(); + } + } + } + return getGetAwsClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getListAwsClustersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAwsClusters", + requestType = com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListAwsClustersMethod() { + io.grpc.MethodDescriptor getListAwsClustersMethod; + if ((getListAwsClustersMethod = AwsClustersGrpc.getListAwsClustersMethod) == null) { + synchronized (AwsClustersGrpc.class) { + if ((getListAwsClustersMethod = AwsClustersGrpc.getListAwsClustersMethod) == null) { + AwsClustersGrpc.getListAwsClustersMethod = getListAwsClustersMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAwsClusters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse.getDefaultInstance())) + .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("ListAwsClusters")) + .build(); + } + } + } + return getListAwsClustersMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteAwsClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAwsCluster", + requestType = com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteAwsClusterMethod() { + io.grpc.MethodDescriptor getDeleteAwsClusterMethod; + if ((getDeleteAwsClusterMethod = AwsClustersGrpc.getDeleteAwsClusterMethod) == null) { + synchronized (AwsClustersGrpc.class) { + if ((getDeleteAwsClusterMethod = AwsClustersGrpc.getDeleteAwsClusterMethod) == null) { + AwsClustersGrpc.getDeleteAwsClusterMethod = getDeleteAwsClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAwsCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("DeleteAwsCluster")) + .build(); + } + } + } + return getDeleteAwsClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getGenerateAwsClusterAgentTokenMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GenerateAwsClusterAgentToken", + requestType = com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGenerateAwsClusterAgentTokenMethod() { + io.grpc.MethodDescriptor getGenerateAwsClusterAgentTokenMethod; + if ((getGenerateAwsClusterAgentTokenMethod = AwsClustersGrpc.getGenerateAwsClusterAgentTokenMethod) == null) { + synchronized (AwsClustersGrpc.class) { + if ((getGenerateAwsClusterAgentTokenMethod = AwsClustersGrpc.getGenerateAwsClusterAgentTokenMethod) == null) { + AwsClustersGrpc.getGenerateAwsClusterAgentTokenMethod = getGenerateAwsClusterAgentTokenMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GenerateAwsClusterAgentToken")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse.getDefaultInstance())) + .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("GenerateAwsClusterAgentToken")) + .build(); + } + } + } + return getGenerateAwsClusterAgentTokenMethod; + } + + private static volatile io.grpc.MethodDescriptor getGenerateAwsAccessTokenMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GenerateAwsAccessToken", + requestType = com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGenerateAwsAccessTokenMethod() { + io.grpc.MethodDescriptor getGenerateAwsAccessTokenMethod; + if ((getGenerateAwsAccessTokenMethod = AwsClustersGrpc.getGenerateAwsAccessTokenMethod) == null) { + synchronized (AwsClustersGrpc.class) { + if ((getGenerateAwsAccessTokenMethod = AwsClustersGrpc.getGenerateAwsAccessTokenMethod) == null) { + AwsClustersGrpc.getGenerateAwsAccessTokenMethod = getGenerateAwsAccessTokenMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GenerateAwsAccessToken")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse.getDefaultInstance())) + .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("GenerateAwsAccessToken")) + .build(); + } + } + } + return getGenerateAwsAccessTokenMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateAwsNodePoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateAwsNodePool", + requestType = com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateAwsNodePoolMethod() { + io.grpc.MethodDescriptor getCreateAwsNodePoolMethod; + if ((getCreateAwsNodePoolMethod = AwsClustersGrpc.getCreateAwsNodePoolMethod) == null) { + synchronized (AwsClustersGrpc.class) { + if ((getCreateAwsNodePoolMethod = AwsClustersGrpc.getCreateAwsNodePoolMethod) == null) { + AwsClustersGrpc.getCreateAwsNodePoolMethod = getCreateAwsNodePoolMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAwsNodePool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("CreateAwsNodePool")) + .build(); + } + } + } + return getCreateAwsNodePoolMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateAwsNodePoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAwsNodePool", + requestType = com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateAwsNodePoolMethod() { + io.grpc.MethodDescriptor getUpdateAwsNodePoolMethod; + if ((getUpdateAwsNodePoolMethod = AwsClustersGrpc.getUpdateAwsNodePoolMethod) == null) { + synchronized (AwsClustersGrpc.class) { + if ((getUpdateAwsNodePoolMethod = AwsClustersGrpc.getUpdateAwsNodePoolMethod) == null) { + AwsClustersGrpc.getUpdateAwsNodePoolMethod = getUpdateAwsNodePoolMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAwsNodePool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("UpdateAwsNodePool")) + .build(); + } + } + } + return getUpdateAwsNodePoolMethod; + } + + private static volatile io.grpc.MethodDescriptor getRollbackAwsNodePoolUpdateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RollbackAwsNodePoolUpdate", + requestType = com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRollbackAwsNodePoolUpdateMethod() { + io.grpc.MethodDescriptor getRollbackAwsNodePoolUpdateMethod; + if ((getRollbackAwsNodePoolUpdateMethod = AwsClustersGrpc.getRollbackAwsNodePoolUpdateMethod) == null) { + synchronized (AwsClustersGrpc.class) { + if ((getRollbackAwsNodePoolUpdateMethod = AwsClustersGrpc.getRollbackAwsNodePoolUpdateMethod) == null) { + AwsClustersGrpc.getRollbackAwsNodePoolUpdateMethod = getRollbackAwsNodePoolUpdateMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RollbackAwsNodePoolUpdate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("RollbackAwsNodePoolUpdate")) + .build(); + } + } + } + return getRollbackAwsNodePoolUpdateMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetAwsNodePoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAwsNodePool", + requestType = com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.AwsNodePool.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetAwsNodePoolMethod() { + io.grpc.MethodDescriptor getGetAwsNodePoolMethod; + if ((getGetAwsNodePoolMethod = AwsClustersGrpc.getGetAwsNodePoolMethod) == null) { + synchronized (AwsClustersGrpc.class) { + if ((getGetAwsNodePoolMethod = AwsClustersGrpc.getGetAwsNodePoolMethod) == null) { + AwsClustersGrpc.getGetAwsNodePoolMethod = getGetAwsNodePoolMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAwsNodePool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance())) + .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("GetAwsNodePool")) + .build(); + } + } + } + return getGetAwsNodePoolMethod; + } + + private static volatile io.grpc.MethodDescriptor getListAwsNodePoolsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAwsNodePools", + requestType = com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListAwsNodePoolsMethod() { + io.grpc.MethodDescriptor getListAwsNodePoolsMethod; + if ((getListAwsNodePoolsMethod = AwsClustersGrpc.getListAwsNodePoolsMethod) == null) { + synchronized (AwsClustersGrpc.class) { + if ((getListAwsNodePoolsMethod = AwsClustersGrpc.getListAwsNodePoolsMethod) == null) { + AwsClustersGrpc.getListAwsNodePoolsMethod = getListAwsNodePoolsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAwsNodePools")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("ListAwsNodePools")) + .build(); + } + } + } + return getListAwsNodePoolsMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteAwsNodePoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAwsNodePool", + requestType = com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteAwsNodePoolMethod() { + io.grpc.MethodDescriptor getDeleteAwsNodePoolMethod; + if ((getDeleteAwsNodePoolMethod = AwsClustersGrpc.getDeleteAwsNodePoolMethod) == null) { + synchronized (AwsClustersGrpc.class) { + if ((getDeleteAwsNodePoolMethod = AwsClustersGrpc.getDeleteAwsNodePoolMethod) == null) { + AwsClustersGrpc.getDeleteAwsNodePoolMethod = getDeleteAwsNodePoolMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAwsNodePool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("DeleteAwsNodePool")) + .build(); + } + } + } + return getDeleteAwsNodePoolMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetAwsOpenIdConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAwsOpenIdConfig", + requestType = com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetAwsOpenIdConfigMethod() { + io.grpc.MethodDescriptor getGetAwsOpenIdConfigMethod; + if ((getGetAwsOpenIdConfigMethod = AwsClustersGrpc.getGetAwsOpenIdConfigMethod) == null) { + synchronized (AwsClustersGrpc.class) { + if ((getGetAwsOpenIdConfigMethod = AwsClustersGrpc.getGetAwsOpenIdConfigMethod) == null) { + AwsClustersGrpc.getGetAwsOpenIdConfigMethod = getGetAwsOpenIdConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAwsOpenIdConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig.getDefaultInstance())) + .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("GetAwsOpenIdConfig")) + .build(); + } + } + } + return getGetAwsOpenIdConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetAwsJsonWebKeysMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAwsJsonWebKeys", + requestType = com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetAwsJsonWebKeysMethod() { + io.grpc.MethodDescriptor getGetAwsJsonWebKeysMethod; + if ((getGetAwsJsonWebKeysMethod = AwsClustersGrpc.getGetAwsJsonWebKeysMethod) == null) { + synchronized (AwsClustersGrpc.class) { + if ((getGetAwsJsonWebKeysMethod = AwsClustersGrpc.getGetAwsJsonWebKeysMethod) == null) { + AwsClustersGrpc.getGetAwsJsonWebKeysMethod = getGetAwsJsonWebKeysMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAwsJsonWebKeys")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys.getDefaultInstance())) + .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("GetAwsJsonWebKeys")) + .build(); + } + } + } + return getGetAwsJsonWebKeysMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetAwsServerConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAwsServerConfig", + requestType = com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.AwsServerConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetAwsServerConfigMethod() { + io.grpc.MethodDescriptor getGetAwsServerConfigMethod; + if ((getGetAwsServerConfigMethod = AwsClustersGrpc.getGetAwsServerConfigMethod) == null) { + synchronized (AwsClustersGrpc.class) { + if ((getGetAwsServerConfigMethod = AwsClustersGrpc.getGetAwsServerConfigMethod) == null) { + AwsClustersGrpc.getGetAwsServerConfigMethod = getGetAwsServerConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAwsServerConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.AwsServerConfig.getDefaultInstance())) + .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("GetAwsServerConfig")) + .build(); + } + } + } + return getGetAwsServerConfigMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static AwsClustersStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AwsClustersStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AwsClustersStub(channel, callOptions); + } + }; + return AwsClustersStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static AwsClustersBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AwsClustersBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AwsClustersBlockingStub(channel, callOptions); + } + }; + return AwsClustersBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static AwsClustersFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AwsClustersFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AwsClustersFutureStub(channel, callOptions); + } + }; + return AwsClustersFutureStub.newStub(factory, channel); + } + + /** + *
+   * The AwsClusters API provides a single centrally managed service
+   * to create and manage Anthos clusters that run on AWS infrastructure.
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
+     * resource on a given Google Cloud Platform project and region.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + default void createAwsCluster(com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAwsClusterMethod(), responseObserver); + } + + /** + *
+     * Updates an [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
+     * 
+ */ + default void updateAwsCluster(com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAwsClusterMethod(), responseObserver); + } + + /** + *
+     * Describes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
+     * resource.
+     * 
+ */ + default void getAwsCluster(com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAwsClusterMethod(), responseObserver); + } + + /** + *
+     * Lists all [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
+     * on a given Google Cloud project and region.
+     * 
+ */ + default void listAwsClusters(com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAwsClustersMethod(), responseObserver); + } + + /** + *
+     * Deletes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
+     * resource.
+     * Fails if the cluster has one or more associated
+     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + default void deleteAwsCluster(com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAwsClusterMethod(), responseObserver); + } + + /** + *
+     * Generates an access token for a cluster agent.
+     * 
+ */ + default void generateAwsClusterAgentToken(com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateAwsClusterAgentTokenMethod(), responseObserver); + } + + /** + *
+     * Generates a short-lived access token to authenticate to a given
+     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
+     * 
+ */ + default void generateAwsAccessToken(com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateAwsAccessTokenMethod(), responseObserver); + } + + /** + *
+     * Creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool],
+     * attached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + default void createAwsNodePool(com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAwsNodePoolMethod(), responseObserver); + } + + /** + *
+     * Updates an [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
+     * 
+ */ + default void updateAwsNodePool(com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAwsNodePoolMethod(), responseObserver); + } + + /** + *
+     * Rolls back a previously aborted or failed
+     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request.
+     * Makes no changes if the last update request successfully finished.
+     * If an update request is in progress, you cannot rollback the update.
+     * You must first cancel or let it finish unsuccessfully before you can
+     * rollback.
+     * 
+ */ + default void rollbackAwsNodePoolUpdate(com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRollbackAwsNodePoolUpdateMethod(), responseObserver); + } + + /** + *
+     * Describes a specific
+     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.
+     * 
+ */ + default void getAwsNodePool(com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAwsNodePoolMethod(), responseObserver); + } + + /** + *
+     * Lists all [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
+     * resources on a given
+     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
+     * 
+ */ + default void listAwsNodePools(com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAwsNodePoolsMethod(), responseObserver); + } + + /** + *
+     * Deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
+     * resource.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + default void deleteAwsNodePool(com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAwsNodePoolMethod(), responseObserver); + } + + /** + *
+     * Gets the OIDC discovery document for the cluster.
+     * See the
+     * [OpenID Connect Discovery 1.0
+     * specification](https://openid.net/specs/openid-connect-discovery-1_0.html)
+     * for details.
+     * 
+ */ + default void getAwsOpenIdConfig(com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAwsOpenIdConfigMethod(), responseObserver); + } + + /** + *
+     * Gets the public component of the cluster signing keys in
+     * JSON Web Key format.
+     * 
+ */ + default void getAwsJsonWebKeys(com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAwsJsonWebKeysMethod(), responseObserver); + } + + /** + *
+     * Returns information, such as supported AWS regions and Kubernetes
+     * versions, on a given Google Cloud location.
+     * 
+ */ + default void getAwsServerConfig(com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAwsServerConfigMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service AwsClusters. + *
+   * The AwsClusters API provides a single centrally managed service
+   * to create and manage Anthos clusters that run on AWS infrastructure.
+   * 
+ */ + public static abstract class AwsClustersImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return AwsClustersGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service AwsClusters. + *
+   * The AwsClusters API provides a single centrally managed service
+   * to create and manage Anthos clusters that run on AWS infrastructure.
+   * 
+ */ + public static final class AwsClustersStub + extends io.grpc.stub.AbstractAsyncStub { + private AwsClustersStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AwsClustersStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AwsClustersStub(channel, callOptions); + } + + /** + *
+     * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
+     * resource on a given Google Cloud Platform project and region.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public void createAwsCluster(com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateAwsClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates an [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
+     * 
+ */ + public void updateAwsCluster(com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAwsClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Describes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
+     * resource.
+     * 
+ */ + public void getAwsCluster(com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAwsClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
+     * on a given Google Cloud project and region.
+     * 
+ */ + public void listAwsClusters(com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAwsClustersMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
+     * resource.
+     * Fails if the cluster has one or more associated
+     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public void deleteAwsCluster(com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAwsClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Generates an access token for a cluster agent.
+     * 
+ */ + public void generateAwsClusterAgentToken(com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGenerateAwsClusterAgentTokenMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Generates a short-lived access token to authenticate to a given
+     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
+     * 
+ */ + public void generateAwsAccessToken(com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGenerateAwsAccessTokenMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool],
+     * attached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public void createAwsNodePool(com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateAwsNodePoolMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates an [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
+     * 
+ */ + public void updateAwsNodePool(com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAwsNodePoolMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Rolls back a previously aborted or failed
+     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request.
+     * Makes no changes if the last update request successfully finished.
+     * If an update request is in progress, you cannot rollback the update.
+     * You must first cancel or let it finish unsuccessfully before you can
+     * rollback.
+     * 
+ */ + public void rollbackAwsNodePoolUpdate(com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRollbackAwsNodePoolUpdateMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Describes a specific
+     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.
+     * 
+ */ + public void getAwsNodePool(com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAwsNodePoolMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
+     * resources on a given
+     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
+     * 
+ */ + public void listAwsNodePools(com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAwsNodePoolsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
+     * resource.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public void deleteAwsNodePool(com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAwsNodePoolMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the OIDC discovery document for the cluster.
+     * See the
+     * [OpenID Connect Discovery 1.0
+     * specification](https://openid.net/specs/openid-connect-discovery-1_0.html)
+     * for details.
+     * 
+ */ + public void getAwsOpenIdConfig(com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAwsOpenIdConfigMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the public component of the cluster signing keys in
+     * JSON Web Key format.
+     * 
+ */ + public void getAwsJsonWebKeys(com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAwsJsonWebKeysMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns information, such as supported AWS regions and Kubernetes
+     * versions, on a given Google Cloud location.
+     * 
+ */ + public void getAwsServerConfig(com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAwsServerConfigMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service AwsClusters. + *
+   * The AwsClusters API provides a single centrally managed service
+   * to create and manage Anthos clusters that run on AWS infrastructure.
+   * 
+ */ + public static final class AwsClustersBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private AwsClustersBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AwsClustersBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AwsClustersBlockingStub(channel, callOptions); + } + + /** + *
+     * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
+     * resource on a given Google Cloud Platform project and region.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.longrunning.Operation createAwsCluster(com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateAwsClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates an [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
+     * 
+ */ + public com.google.longrunning.Operation updateAwsCluster(com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAwsClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Describes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
+     * resource.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.AwsCluster getAwsCluster(com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAwsClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
+     * on a given Google Cloud project and region.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse listAwsClusters(com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAwsClustersMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
+     * resource.
+     * Fails if the cluster has one or more associated
+     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.longrunning.Operation deleteAwsCluster(com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAwsClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Generates an access token for a cluster agent.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse generateAwsClusterAgentToken(com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGenerateAwsClusterAgentTokenMethod(), getCallOptions(), request); + } + + /** + *
+     * Generates a short-lived access token to authenticate to a given
+     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse generateAwsAccessToken(com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGenerateAwsAccessTokenMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool],
+     * attached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.longrunning.Operation createAwsNodePool(com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateAwsNodePoolMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates an [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
+     * 
+ */ + public com.google.longrunning.Operation updateAwsNodePool(com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAwsNodePoolMethod(), getCallOptions(), request); + } + + /** + *
+     * Rolls back a previously aborted or failed
+     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request.
+     * Makes no changes if the last update request successfully finished.
+     * If an update request is in progress, you cannot rollback the update.
+     * You must first cancel or let it finish unsuccessfully before you can
+     * rollback.
+     * 
+ */ + public com.google.longrunning.Operation rollbackAwsNodePoolUpdate(com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRollbackAwsNodePoolUpdateMethod(), getCallOptions(), request); + } + + /** + *
+     * Describes a specific
+     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.AwsNodePool getAwsNodePool(com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAwsNodePoolMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
+     * resources on a given
+     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse listAwsNodePools(com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAwsNodePoolsMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
+     * resource.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.longrunning.Operation deleteAwsNodePool(com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAwsNodePoolMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the OIDC discovery document for the cluster.
+     * See the
+     * [OpenID Connect Discovery 1.0
+     * specification](https://openid.net/specs/openid-connect-discovery-1_0.html)
+     * for details.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig getAwsOpenIdConfig(com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAwsOpenIdConfigMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the public component of the cluster signing keys in
+     * JSON Web Key format.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys getAwsJsonWebKeys(com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAwsJsonWebKeysMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns information, such as supported AWS regions and Kubernetes
+     * versions, on a given Google Cloud location.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.AwsServerConfig getAwsServerConfig(com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAwsServerConfigMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service AwsClusters. + *
+   * The AwsClusters API provides a single centrally managed service
+   * to create and manage Anthos clusters that run on AWS infrastructure.
+   * 
+ */ + public static final class AwsClustersFutureStub + extends io.grpc.stub.AbstractFutureStub { + private AwsClustersFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AwsClustersFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AwsClustersFutureStub(channel, callOptions); + } + + /** + *
+     * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
+     * resource on a given Google Cloud Platform project and region.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createAwsCluster( + com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateAwsClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates an [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateAwsCluster( + com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAwsClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Describes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
+     * resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getAwsCluster( + com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAwsClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
+     * on a given Google Cloud project and region.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listAwsClusters( + com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAwsClustersMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
+     * resource.
+     * Fails if the cluster has one or more associated
+     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteAwsCluster( + com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAwsClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Generates an access token for a cluster agent.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture generateAwsClusterAgentToken( + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGenerateAwsClusterAgentTokenMethod(), getCallOptions()), request); + } + + /** + *
+     * Generates a short-lived access token to authenticate to a given
+     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture generateAwsAccessToken( + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGenerateAwsAccessTokenMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool],
+     * attached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createAwsNodePool( + com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateAwsNodePoolMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates an [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateAwsNodePool( + com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAwsNodePoolMethod(), getCallOptions()), request); + } + + /** + *
+     * Rolls back a previously aborted or failed
+     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request.
+     * Makes no changes if the last update request successfully finished.
+     * If an update request is in progress, you cannot rollback the update.
+     * You must first cancel or let it finish unsuccessfully before you can
+     * rollback.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture rollbackAwsNodePoolUpdate( + com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRollbackAwsNodePoolUpdateMethod(), getCallOptions()), request); + } + + /** + *
+     * Describes a specific
+     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getAwsNodePool( + com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAwsNodePoolMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
+     * resources on a given
+     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listAwsNodePools( + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAwsNodePoolsMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
+     * resource.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteAwsNodePool( + com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAwsNodePoolMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the OIDC discovery document for the cluster.
+     * See the
+     * [OpenID Connect Discovery 1.0
+     * specification](https://openid.net/specs/openid-connect-discovery-1_0.html)
+     * for details.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getAwsOpenIdConfig( + com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAwsOpenIdConfigMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the public component of the cluster signing keys in
+     * JSON Web Key format.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getAwsJsonWebKeys( + com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAwsJsonWebKeysMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns information, such as supported AWS regions and Kubernetes
+     * versions, on a given Google Cloud location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getAwsServerConfig( + com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAwsServerConfigMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_AWS_CLUSTER = 0; + private static final int METHODID_UPDATE_AWS_CLUSTER = 1; + private static final int METHODID_GET_AWS_CLUSTER = 2; + private static final int METHODID_LIST_AWS_CLUSTERS = 3; + private static final int METHODID_DELETE_AWS_CLUSTER = 4; + private static final int METHODID_GENERATE_AWS_CLUSTER_AGENT_TOKEN = 5; + private static final int METHODID_GENERATE_AWS_ACCESS_TOKEN = 6; + private static final int METHODID_CREATE_AWS_NODE_POOL = 7; + private static final int METHODID_UPDATE_AWS_NODE_POOL = 8; + private static final int METHODID_ROLLBACK_AWS_NODE_POOL_UPDATE = 9; + private static final int METHODID_GET_AWS_NODE_POOL = 10; + private static final int METHODID_LIST_AWS_NODE_POOLS = 11; + private static final int METHODID_DELETE_AWS_NODE_POOL = 12; + private static final int METHODID_GET_AWS_OPEN_ID_CONFIG = 13; + private static final int METHODID_GET_AWS_JSON_WEB_KEYS = 14; + private static final int METHODID_GET_AWS_SERVER_CONFIG = 15; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_AWS_CLUSTER: + serviceImpl.createAwsCluster((com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_AWS_CLUSTER: + serviceImpl.updateAwsCluster((com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_AWS_CLUSTER: + serviceImpl.getAwsCluster((com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_AWS_CLUSTERS: + serviceImpl.listAwsClusters((com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_AWS_CLUSTER: + serviceImpl.deleteAwsCluster((com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GENERATE_AWS_CLUSTER_AGENT_TOKEN: + serviceImpl.generateAwsClusterAgentToken((com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GENERATE_AWS_ACCESS_TOKEN: + serviceImpl.generateAwsAccessToken((com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_AWS_NODE_POOL: + serviceImpl.createAwsNodePool((com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_AWS_NODE_POOL: + serviceImpl.updateAwsNodePool((com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ROLLBACK_AWS_NODE_POOL_UPDATE: + serviceImpl.rollbackAwsNodePoolUpdate((com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_AWS_NODE_POOL: + serviceImpl.getAwsNodePool((com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_AWS_NODE_POOLS: + serviceImpl.listAwsNodePools((com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_AWS_NODE_POOL: + serviceImpl.deleteAwsNodePool((com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_AWS_OPEN_ID_CONFIG: + serviceImpl.getAwsOpenIdConfig((com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_AWS_JSON_WEB_KEYS: + serviceImpl.getAwsJsonWebKeys((com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_AWS_SERVER_CONFIG: + serviceImpl.getAwsServerConfig((com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateAwsClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_AWS_CLUSTER))) + .addMethod( + getUpdateAwsClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_AWS_CLUSTER))) + .addMethod( + getGetAwsClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest, + com.google.cloud.gkemulticloud.v1.AwsCluster>( + service, METHODID_GET_AWS_CLUSTER))) + .addMethod( + getListAwsClustersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest, + com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse>( + service, METHODID_LIST_AWS_CLUSTERS))) + .addMethod( + getDeleteAwsClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_DELETE_AWS_CLUSTER))) + .addMethod( + getGenerateAwsClusterAgentTokenMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest, + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse>( + service, METHODID_GENERATE_AWS_CLUSTER_AGENT_TOKEN))) + .addMethod( + getGenerateAwsAccessTokenMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest, + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse>( + service, METHODID_GENERATE_AWS_ACCESS_TOKEN))) + .addMethod( + getCreateAwsNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_AWS_NODE_POOL))) + .addMethod( + getUpdateAwsNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_AWS_NODE_POOL))) + .addMethod( + getRollbackAwsNodePoolUpdateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest, + com.google.longrunning.Operation>( + service, METHODID_ROLLBACK_AWS_NODE_POOL_UPDATE))) + .addMethod( + getGetAwsNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest, + com.google.cloud.gkemulticloud.v1.AwsNodePool>( + service, METHODID_GET_AWS_NODE_POOL))) + .addMethod( + getListAwsNodePoolsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest, + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse>( + service, METHODID_LIST_AWS_NODE_POOLS))) + .addMethod( + getDeleteAwsNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest, + com.google.longrunning.Operation>( + service, METHODID_DELETE_AWS_NODE_POOL))) + .addMethod( + getGetAwsOpenIdConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest, + com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig>( + service, METHODID_GET_AWS_OPEN_ID_CONFIG))) + .addMethod( + getGetAwsJsonWebKeysMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest, + com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys>( + service, METHODID_GET_AWS_JSON_WEB_KEYS))) + .addMethod( + getGetAwsServerConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest, + com.google.cloud.gkemulticloud.v1.AwsServerConfig>( + service, METHODID_GET_AWS_SERVER_CONFIG))) + .build(); + } + + private static abstract class AwsClustersBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + AwsClustersBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("AwsClusters"); + } + } + + private static final class AwsClustersFileDescriptorSupplier + extends AwsClustersBaseDescriptorSupplier { + AwsClustersFileDescriptorSupplier() {} + } + + private static final class AwsClustersMethodDescriptorSupplier + extends AwsClustersBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + AwsClustersMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (AwsClustersGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new AwsClustersFileDescriptorSupplier()) + .addMethod(getCreateAwsClusterMethod()) + .addMethod(getUpdateAwsClusterMethod()) + .addMethod(getGetAwsClusterMethod()) + .addMethod(getListAwsClustersMethod()) + .addMethod(getDeleteAwsClusterMethod()) + .addMethod(getGenerateAwsClusterAgentTokenMethod()) + .addMethod(getGenerateAwsAccessTokenMethod()) + .addMethod(getCreateAwsNodePoolMethod()) + .addMethod(getUpdateAwsNodePoolMethod()) + .addMethod(getRollbackAwsNodePoolUpdateMethod()) + .addMethod(getGetAwsNodePoolMethod()) + .addMethod(getListAwsNodePoolsMethod()) + .addMethod(getDeleteAwsNodePoolMethod()) + .addMethod(getGetAwsOpenIdConfigMethod()) + .addMethod(getGetAwsJsonWebKeysMethod()) + .addMethod(getGetAwsServerConfigMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java b/owl-bot-staging/java-gke-multi-cloud/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java new file mode 100644 index 000000000000..c30f86caaa6c --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java @@ -0,0 +1,2061 @@ +package com.google.cloud.gkemulticloud.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * The AzureClusters API provides a single centrally managed service
+ * to create and manage Anthos clusters that run on Azure infrastructure.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/gkemulticloud/v1/azure_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class AzureClustersGrpc { + + private AzureClustersGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.cloud.gkemulticloud.v1.AzureClusters"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateAzureClientMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateAzureClient", + requestType = com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateAzureClientMethod() { + io.grpc.MethodDescriptor getCreateAzureClientMethod; + if ((getCreateAzureClientMethod = AzureClustersGrpc.getCreateAzureClientMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getCreateAzureClientMethod = AzureClustersGrpc.getCreateAzureClientMethod) == null) { + AzureClustersGrpc.getCreateAzureClientMethod = getCreateAzureClientMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAzureClient")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("CreateAzureClient")) + .build(); + } + } + } + return getCreateAzureClientMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetAzureClientMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAzureClient", + requestType = com.google.cloud.gkemulticloud.v1.GetAzureClientRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.AzureClient.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetAzureClientMethod() { + io.grpc.MethodDescriptor getGetAzureClientMethod; + if ((getGetAzureClientMethod = AzureClustersGrpc.getGetAzureClientMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getGetAzureClientMethod = AzureClustersGrpc.getGetAzureClientMethod) == null) { + AzureClustersGrpc.getGetAzureClientMethod = getGetAzureClientMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAzureClient")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GetAzureClientRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.AzureClient.getDefaultInstance())) + .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("GetAzureClient")) + .build(); + } + } + } + return getGetAzureClientMethod; + } + + private static volatile io.grpc.MethodDescriptor getListAzureClientsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAzureClients", + requestType = com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListAzureClientsMethod() { + io.grpc.MethodDescriptor getListAzureClientsMethod; + if ((getListAzureClientsMethod = AzureClustersGrpc.getListAzureClientsMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getListAzureClientsMethod = AzureClustersGrpc.getListAzureClientsMethod) == null) { + AzureClustersGrpc.getListAzureClientsMethod = getListAzureClientsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAzureClients")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("ListAzureClients")) + .build(); + } + } + } + return getListAzureClientsMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteAzureClientMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAzureClient", + requestType = com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteAzureClientMethod() { + io.grpc.MethodDescriptor getDeleteAzureClientMethod; + if ((getDeleteAzureClientMethod = AzureClustersGrpc.getDeleteAzureClientMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getDeleteAzureClientMethod = AzureClustersGrpc.getDeleteAzureClientMethod) == null) { + AzureClustersGrpc.getDeleteAzureClientMethod = getDeleteAzureClientMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAzureClient")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("DeleteAzureClient")) + .build(); + } + } + } + return getDeleteAzureClientMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateAzureClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateAzureCluster", + requestType = com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateAzureClusterMethod() { + io.grpc.MethodDescriptor getCreateAzureClusterMethod; + if ((getCreateAzureClusterMethod = AzureClustersGrpc.getCreateAzureClusterMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getCreateAzureClusterMethod = AzureClustersGrpc.getCreateAzureClusterMethod) == null) { + AzureClustersGrpc.getCreateAzureClusterMethod = getCreateAzureClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAzureCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("CreateAzureCluster")) + .build(); + } + } + } + return getCreateAzureClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateAzureClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAzureCluster", + requestType = com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateAzureClusterMethod() { + io.grpc.MethodDescriptor getUpdateAzureClusterMethod; + if ((getUpdateAzureClusterMethod = AzureClustersGrpc.getUpdateAzureClusterMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getUpdateAzureClusterMethod = AzureClustersGrpc.getUpdateAzureClusterMethod) == null) { + AzureClustersGrpc.getUpdateAzureClusterMethod = getUpdateAzureClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAzureCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("UpdateAzureCluster")) + .build(); + } + } + } + return getUpdateAzureClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetAzureClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAzureCluster", + requestType = com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.AzureCluster.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetAzureClusterMethod() { + io.grpc.MethodDescriptor getGetAzureClusterMethod; + if ((getGetAzureClusterMethod = AzureClustersGrpc.getGetAzureClusterMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getGetAzureClusterMethod = AzureClustersGrpc.getGetAzureClusterMethod) == null) { + AzureClustersGrpc.getGetAzureClusterMethod = getGetAzureClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAzureCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance())) + .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("GetAzureCluster")) + .build(); + } + } + } + return getGetAzureClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getListAzureClustersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAzureClusters", + requestType = com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListAzureClustersMethod() { + io.grpc.MethodDescriptor getListAzureClustersMethod; + if ((getListAzureClustersMethod = AzureClustersGrpc.getListAzureClustersMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getListAzureClustersMethod = AzureClustersGrpc.getListAzureClustersMethod) == null) { + AzureClustersGrpc.getListAzureClustersMethod = getListAzureClustersMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAzureClusters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse.getDefaultInstance())) + .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("ListAzureClusters")) + .build(); + } + } + } + return getListAzureClustersMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteAzureClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAzureCluster", + requestType = com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteAzureClusterMethod() { + io.grpc.MethodDescriptor getDeleteAzureClusterMethod; + if ((getDeleteAzureClusterMethod = AzureClustersGrpc.getDeleteAzureClusterMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getDeleteAzureClusterMethod = AzureClustersGrpc.getDeleteAzureClusterMethod) == null) { + AzureClustersGrpc.getDeleteAzureClusterMethod = getDeleteAzureClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAzureCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("DeleteAzureCluster")) + .build(); + } + } + } + return getDeleteAzureClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getGenerateAzureClusterAgentTokenMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GenerateAzureClusterAgentToken", + requestType = com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGenerateAzureClusterAgentTokenMethod() { + io.grpc.MethodDescriptor getGenerateAzureClusterAgentTokenMethod; + if ((getGenerateAzureClusterAgentTokenMethod = AzureClustersGrpc.getGenerateAzureClusterAgentTokenMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getGenerateAzureClusterAgentTokenMethod = AzureClustersGrpc.getGenerateAzureClusterAgentTokenMethod) == null) { + AzureClustersGrpc.getGenerateAzureClusterAgentTokenMethod = getGenerateAzureClusterAgentTokenMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GenerateAzureClusterAgentToken")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse.getDefaultInstance())) + .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("GenerateAzureClusterAgentToken")) + .build(); + } + } + } + return getGenerateAzureClusterAgentTokenMethod; + } + + private static volatile io.grpc.MethodDescriptor getGenerateAzureAccessTokenMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GenerateAzureAccessToken", + requestType = com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGenerateAzureAccessTokenMethod() { + io.grpc.MethodDescriptor getGenerateAzureAccessTokenMethod; + if ((getGenerateAzureAccessTokenMethod = AzureClustersGrpc.getGenerateAzureAccessTokenMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getGenerateAzureAccessTokenMethod = AzureClustersGrpc.getGenerateAzureAccessTokenMethod) == null) { + AzureClustersGrpc.getGenerateAzureAccessTokenMethod = getGenerateAzureAccessTokenMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GenerateAzureAccessToken")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse.getDefaultInstance())) + .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("GenerateAzureAccessToken")) + .build(); + } + } + } + return getGenerateAzureAccessTokenMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateAzureNodePoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateAzureNodePool", + requestType = com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateAzureNodePoolMethod() { + io.grpc.MethodDescriptor getCreateAzureNodePoolMethod; + if ((getCreateAzureNodePoolMethod = AzureClustersGrpc.getCreateAzureNodePoolMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getCreateAzureNodePoolMethod = AzureClustersGrpc.getCreateAzureNodePoolMethod) == null) { + AzureClustersGrpc.getCreateAzureNodePoolMethod = getCreateAzureNodePoolMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAzureNodePool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("CreateAzureNodePool")) + .build(); + } + } + } + return getCreateAzureNodePoolMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateAzureNodePoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAzureNodePool", + requestType = com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateAzureNodePoolMethod() { + io.grpc.MethodDescriptor getUpdateAzureNodePoolMethod; + if ((getUpdateAzureNodePoolMethod = AzureClustersGrpc.getUpdateAzureNodePoolMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getUpdateAzureNodePoolMethod = AzureClustersGrpc.getUpdateAzureNodePoolMethod) == null) { + AzureClustersGrpc.getUpdateAzureNodePoolMethod = getUpdateAzureNodePoolMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAzureNodePool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("UpdateAzureNodePool")) + .build(); + } + } + } + return getUpdateAzureNodePoolMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetAzureNodePoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAzureNodePool", + requestType = com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.AzureNodePool.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetAzureNodePoolMethod() { + io.grpc.MethodDescriptor getGetAzureNodePoolMethod; + if ((getGetAzureNodePoolMethod = AzureClustersGrpc.getGetAzureNodePoolMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getGetAzureNodePoolMethod = AzureClustersGrpc.getGetAzureNodePoolMethod) == null) { + AzureClustersGrpc.getGetAzureNodePoolMethod = getGetAzureNodePoolMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAzureNodePool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance())) + .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("GetAzureNodePool")) + .build(); + } + } + } + return getGetAzureNodePoolMethod; + } + + private static volatile io.grpc.MethodDescriptor getListAzureNodePoolsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAzureNodePools", + requestType = com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListAzureNodePoolsMethod() { + io.grpc.MethodDescriptor getListAzureNodePoolsMethod; + if ((getListAzureNodePoolsMethod = AzureClustersGrpc.getListAzureNodePoolsMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getListAzureNodePoolsMethod = AzureClustersGrpc.getListAzureNodePoolsMethod) == null) { + AzureClustersGrpc.getListAzureNodePoolsMethod = getListAzureNodePoolsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAzureNodePools")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("ListAzureNodePools")) + .build(); + } + } + } + return getListAzureNodePoolsMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteAzureNodePoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAzureNodePool", + requestType = com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteAzureNodePoolMethod() { + io.grpc.MethodDescriptor getDeleteAzureNodePoolMethod; + if ((getDeleteAzureNodePoolMethod = AzureClustersGrpc.getDeleteAzureNodePoolMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getDeleteAzureNodePoolMethod = AzureClustersGrpc.getDeleteAzureNodePoolMethod) == null) { + AzureClustersGrpc.getDeleteAzureNodePoolMethod = getDeleteAzureNodePoolMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAzureNodePool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("DeleteAzureNodePool")) + .build(); + } + } + } + return getDeleteAzureNodePoolMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetAzureOpenIdConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAzureOpenIdConfig", + requestType = com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetAzureOpenIdConfigMethod() { + io.grpc.MethodDescriptor getGetAzureOpenIdConfigMethod; + if ((getGetAzureOpenIdConfigMethod = AzureClustersGrpc.getGetAzureOpenIdConfigMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getGetAzureOpenIdConfigMethod = AzureClustersGrpc.getGetAzureOpenIdConfigMethod) == null) { + AzureClustersGrpc.getGetAzureOpenIdConfigMethod = getGetAzureOpenIdConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAzureOpenIdConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig.getDefaultInstance())) + .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("GetAzureOpenIdConfig")) + .build(); + } + } + } + return getGetAzureOpenIdConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetAzureJsonWebKeysMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAzureJsonWebKeys", + requestType = com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetAzureJsonWebKeysMethod() { + io.grpc.MethodDescriptor getGetAzureJsonWebKeysMethod; + if ((getGetAzureJsonWebKeysMethod = AzureClustersGrpc.getGetAzureJsonWebKeysMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getGetAzureJsonWebKeysMethod = AzureClustersGrpc.getGetAzureJsonWebKeysMethod) == null) { + AzureClustersGrpc.getGetAzureJsonWebKeysMethod = getGetAzureJsonWebKeysMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAzureJsonWebKeys")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys.getDefaultInstance())) + .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("GetAzureJsonWebKeys")) + .build(); + } + } + } + return getGetAzureJsonWebKeysMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetAzureServerConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAzureServerConfig", + requestType = com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.AzureServerConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetAzureServerConfigMethod() { + io.grpc.MethodDescriptor getGetAzureServerConfigMethod; + if ((getGetAzureServerConfigMethod = AzureClustersGrpc.getGetAzureServerConfigMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getGetAzureServerConfigMethod = AzureClustersGrpc.getGetAzureServerConfigMethod) == null) { + AzureClustersGrpc.getGetAzureServerConfigMethod = getGetAzureServerConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAzureServerConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.AzureServerConfig.getDefaultInstance())) + .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("GetAzureServerConfig")) + .build(); + } + } + } + return getGetAzureServerConfigMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static AzureClustersStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AzureClustersStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AzureClustersStub(channel, callOptions); + } + }; + return AzureClustersStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static AzureClustersBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AzureClustersBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AzureClustersBlockingStub(channel, callOptions); + } + }; + return AzureClustersBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static AzureClustersFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AzureClustersFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AzureClustersFutureStub(channel, callOptions); + } + }; + return AzureClustersFutureStub.newStub(factory, channel); + } + + /** + *
+   * The AzureClusters API provides a single centrally managed service
+   * to create and manage Anthos clusters that run on Azure infrastructure.
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * Creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
+     * resource on a given Google Cloud project and region.
+     * `AzureClient` resources hold client authentication
+     * information needed by the Anthos Multicloud API to manage Azure resources
+     * on your Azure subscription on your behalf.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + default void createAzureClient(com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAzureClientMethod(), responseObserver); + } + + /** + *
+     * Describes a specific
+     * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.
+     * 
+ */ + default void getAzureClient(com.google.cloud.gkemulticloud.v1.GetAzureClientRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAzureClientMethod(), responseObserver); + } + + /** + *
+     * Lists all [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
+     * resources on a given Google Cloud project and region.
+     * 
+ */ + default void listAzureClients(com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAzureClientsMethod(), responseObserver); + } + + /** + *
+     * Deletes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
+     * resource.
+     * If the client is used by one or more clusters, deletion will
+     * fail and a `FAILED_PRECONDITION` error will be returned.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + default void deleteAzureClient(com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAzureClientMethod(), responseObserver); + } + + /** + *
+     * Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
+     * resource on a given Google Cloud Platform project and region.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + default void createAzureCluster(com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAzureClusterMethod(), responseObserver); + } + + /** + *
+     * Updates an [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
+     * 
+ */ + default void updateAzureCluster(com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAzureClusterMethod(), responseObserver); + } + + /** + *
+     * Describes a specific
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
+     * 
+ */ + default void getAzureCluster(com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAzureClusterMethod(), responseObserver); + } + + /** + *
+     * Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
+     * resources on a given Google Cloud project and region.
+     * 
+ */ + default void listAzureClusters(com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAzureClustersMethod(), responseObserver); + } + + /** + *
+     * Deletes a specific
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
+     * Fails if the cluster has one or more associated
+     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + default void deleteAzureCluster(com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAzureClusterMethod(), responseObserver); + } + + /** + *
+     * Generates an access token for a cluster agent.
+     * 
+ */ + default void generateAzureClusterAgentToken(com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateAzureClusterAgentTokenMethod(), responseObserver); + } + + /** + *
+     * Generates a short-lived access token to authenticate to a given
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
+     * 
+ */ + default void generateAzureAccessToken(com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateAzureAccessTokenMethod(), responseObserver); + } + + /** + *
+     * Creates a new [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool],
+     * attached to a given
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + default void createAzureNodePool(com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAzureNodePoolMethod(), responseObserver); + } + + /** + *
+     * Updates an [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
+     * 
+ */ + default void updateAzureNodePool(com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAzureNodePoolMethod(), responseObserver); + } + + /** + *
+     * Describes a specific
+     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
+     * 
+ */ + default void getAzureNodePool(com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAzureNodePoolMethod(), responseObserver); + } + + /** + *
+     * Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
+     * resources on a given
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
+     * 
+ */ + default void listAzureNodePools(com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAzureNodePoolsMethod(), responseObserver); + } + + /** + *
+     * Deletes a specific
+     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + default void deleteAzureNodePool(com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAzureNodePoolMethod(), responseObserver); + } + + /** + *
+     * Gets the OIDC discovery document for the cluster.
+     * See the
+     * [OpenID Connect Discovery 1.0
+     * specification](https://openid.net/specs/openid-connect-discovery-1_0.html)
+     * for details.
+     * 
+ */ + default void getAzureOpenIdConfig(com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAzureOpenIdConfigMethod(), responseObserver); + } + + /** + *
+     * Gets the public component of the cluster signing keys in
+     * JSON Web Key format.
+     * 
+ */ + default void getAzureJsonWebKeys(com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAzureJsonWebKeysMethod(), responseObserver); + } + + /** + *
+     * Returns information, such as supported Azure regions and Kubernetes
+     * versions, on a given Google Cloud location.
+     * 
+ */ + default void getAzureServerConfig(com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAzureServerConfigMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service AzureClusters. + *
+   * The AzureClusters API provides a single centrally managed service
+   * to create and manage Anthos clusters that run on Azure infrastructure.
+   * 
+ */ + public static abstract class AzureClustersImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return AzureClustersGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service AzureClusters. + *
+   * The AzureClusters API provides a single centrally managed service
+   * to create and manage Anthos clusters that run on Azure infrastructure.
+   * 
+ */ + public static final class AzureClustersStub + extends io.grpc.stub.AbstractAsyncStub { + private AzureClustersStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AzureClustersStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AzureClustersStub(channel, callOptions); + } + + /** + *
+     * Creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
+     * resource on a given Google Cloud project and region.
+     * `AzureClient` resources hold client authentication
+     * information needed by the Anthos Multicloud API to manage Azure resources
+     * on your Azure subscription on your behalf.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public void createAzureClient(com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateAzureClientMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Describes a specific
+     * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.
+     * 
+ */ + public void getAzureClient(com.google.cloud.gkemulticloud.v1.GetAzureClientRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAzureClientMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
+     * resources on a given Google Cloud project and region.
+     * 
+ */ + public void listAzureClients(com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAzureClientsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
+     * resource.
+     * If the client is used by one or more clusters, deletion will
+     * fail and a `FAILED_PRECONDITION` error will be returned.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public void deleteAzureClient(com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAzureClientMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
+     * resource on a given Google Cloud Platform project and region.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public void createAzureCluster(com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateAzureClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates an [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
+     * 
+ */ + public void updateAzureCluster(com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAzureClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Describes a specific
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
+     * 
+ */ + public void getAzureCluster(com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAzureClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
+     * resources on a given Google Cloud project and region.
+     * 
+ */ + public void listAzureClusters(com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAzureClustersMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a specific
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
+     * Fails if the cluster has one or more associated
+     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public void deleteAzureCluster(com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAzureClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Generates an access token for a cluster agent.
+     * 
+ */ + public void generateAzureClusterAgentToken(com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGenerateAzureClusterAgentTokenMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Generates a short-lived access token to authenticate to a given
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
+     * 
+ */ + public void generateAzureAccessToken(com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGenerateAzureAccessTokenMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool],
+     * attached to a given
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public void createAzureNodePool(com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateAzureNodePoolMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates an [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
+     * 
+ */ + public void updateAzureNodePool(com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAzureNodePoolMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Describes a specific
+     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
+     * 
+ */ + public void getAzureNodePool(com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAzureNodePoolMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
+     * resources on a given
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
+     * 
+ */ + public void listAzureNodePools(com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAzureNodePoolsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a specific
+     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public void deleteAzureNodePool(com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAzureNodePoolMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the OIDC discovery document for the cluster.
+     * See the
+     * [OpenID Connect Discovery 1.0
+     * specification](https://openid.net/specs/openid-connect-discovery-1_0.html)
+     * for details.
+     * 
+ */ + public void getAzureOpenIdConfig(com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAzureOpenIdConfigMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the public component of the cluster signing keys in
+     * JSON Web Key format.
+     * 
+ */ + public void getAzureJsonWebKeys(com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAzureJsonWebKeysMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns information, such as supported Azure regions and Kubernetes
+     * versions, on a given Google Cloud location.
+     * 
+ */ + public void getAzureServerConfig(com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAzureServerConfigMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service AzureClusters. + *
+   * The AzureClusters API provides a single centrally managed service
+   * to create and manage Anthos clusters that run on Azure infrastructure.
+   * 
+ */ + public static final class AzureClustersBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private AzureClustersBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AzureClustersBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AzureClustersBlockingStub(channel, callOptions); + } + + /** + *
+     * Creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
+     * resource on a given Google Cloud project and region.
+     * `AzureClient` resources hold client authentication
+     * information needed by the Anthos Multicloud API to manage Azure resources
+     * on your Azure subscription on your behalf.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.longrunning.Operation createAzureClient(com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateAzureClientMethod(), getCallOptions(), request); + } + + /** + *
+     * Describes a specific
+     * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.AzureClient getAzureClient(com.google.cloud.gkemulticloud.v1.GetAzureClientRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAzureClientMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
+     * resources on a given Google Cloud project and region.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse listAzureClients(com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAzureClientsMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
+     * resource.
+     * If the client is used by one or more clusters, deletion will
+     * fail and a `FAILED_PRECONDITION` error will be returned.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.longrunning.Operation deleteAzureClient(com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAzureClientMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
+     * resource on a given Google Cloud Platform project and region.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.longrunning.Operation createAzureCluster(com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateAzureClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates an [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
+     * 
+ */ + public com.google.longrunning.Operation updateAzureCluster(com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAzureClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Describes a specific
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.AzureCluster getAzureCluster(com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAzureClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
+     * resources on a given Google Cloud project and region.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse listAzureClusters(com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAzureClustersMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a specific
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
+     * Fails if the cluster has one or more associated
+     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.longrunning.Operation deleteAzureCluster(com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAzureClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Generates an access token for a cluster agent.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse generateAzureClusterAgentToken(com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGenerateAzureClusterAgentTokenMethod(), getCallOptions(), request); + } + + /** + *
+     * Generates a short-lived access token to authenticate to a given
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse generateAzureAccessToken(com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGenerateAzureAccessTokenMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool],
+     * attached to a given
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.longrunning.Operation createAzureNodePool(com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateAzureNodePoolMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates an [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
+     * 
+ */ + public com.google.longrunning.Operation updateAzureNodePool(com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAzureNodePoolMethod(), getCallOptions(), request); + } + + /** + *
+     * Describes a specific
+     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.AzureNodePool getAzureNodePool(com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAzureNodePoolMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
+     * resources on a given
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse listAzureNodePools(com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAzureNodePoolsMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a specific
+     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.longrunning.Operation deleteAzureNodePool(com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAzureNodePoolMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the OIDC discovery document for the cluster.
+     * See the
+     * [OpenID Connect Discovery 1.0
+     * specification](https://openid.net/specs/openid-connect-discovery-1_0.html)
+     * for details.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig getAzureOpenIdConfig(com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAzureOpenIdConfigMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the public component of the cluster signing keys in
+     * JSON Web Key format.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys getAzureJsonWebKeys(com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAzureJsonWebKeysMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns information, such as supported Azure regions and Kubernetes
+     * versions, on a given Google Cloud location.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.AzureServerConfig getAzureServerConfig(com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAzureServerConfigMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service AzureClusters. + *
+   * The AzureClusters API provides a single centrally managed service
+   * to create and manage Anthos clusters that run on Azure infrastructure.
+   * 
+ */ + public static final class AzureClustersFutureStub + extends io.grpc.stub.AbstractFutureStub { + private AzureClustersFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AzureClustersFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AzureClustersFutureStub(channel, callOptions); + } + + /** + *
+     * Creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
+     * resource on a given Google Cloud project and region.
+     * `AzureClient` resources hold client authentication
+     * information needed by the Anthos Multicloud API to manage Azure resources
+     * on your Azure subscription on your behalf.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createAzureClient( + com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateAzureClientMethod(), getCallOptions()), request); + } + + /** + *
+     * Describes a specific
+     * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getAzureClient( + com.google.cloud.gkemulticloud.v1.GetAzureClientRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAzureClientMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
+     * resources on a given Google Cloud project and region.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listAzureClients( + com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAzureClientsMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
+     * resource.
+     * If the client is used by one or more clusters, deletion will
+     * fail and a `FAILED_PRECONDITION` error will be returned.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteAzureClient( + com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAzureClientMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
+     * resource on a given Google Cloud Platform project and region.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createAzureCluster( + com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateAzureClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates an [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateAzureCluster( + com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAzureClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Describes a specific
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getAzureCluster( + com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAzureClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
+     * resources on a given Google Cloud project and region.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listAzureClusters( + com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAzureClustersMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a specific
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
+     * Fails if the cluster has one or more associated
+     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteAzureCluster( + com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAzureClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Generates an access token for a cluster agent.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture generateAzureClusterAgentToken( + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGenerateAzureClusterAgentTokenMethod(), getCallOptions()), request); + } + + /** + *
+     * Generates a short-lived access token to authenticate to a given
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture generateAzureAccessToken( + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGenerateAzureAccessTokenMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool],
+     * attached to a given
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createAzureNodePool( + com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateAzureNodePoolMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates an [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateAzureNodePool( + com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAzureNodePoolMethod(), getCallOptions()), request); + } + + /** + *
+     * Describes a specific
+     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getAzureNodePool( + com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAzureNodePoolMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
+     * resources on a given
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listAzureNodePools( + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAzureNodePoolsMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a specific
+     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteAzureNodePool( + com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAzureNodePoolMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the OIDC discovery document for the cluster.
+     * See the
+     * [OpenID Connect Discovery 1.0
+     * specification](https://openid.net/specs/openid-connect-discovery-1_0.html)
+     * for details.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getAzureOpenIdConfig( + com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAzureOpenIdConfigMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the public component of the cluster signing keys in
+     * JSON Web Key format.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getAzureJsonWebKeys( + com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAzureJsonWebKeysMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns information, such as supported Azure regions and Kubernetes
+     * versions, on a given Google Cloud location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getAzureServerConfig( + com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAzureServerConfigMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_AZURE_CLIENT = 0; + private static final int METHODID_GET_AZURE_CLIENT = 1; + private static final int METHODID_LIST_AZURE_CLIENTS = 2; + private static final int METHODID_DELETE_AZURE_CLIENT = 3; + private static final int METHODID_CREATE_AZURE_CLUSTER = 4; + private static final int METHODID_UPDATE_AZURE_CLUSTER = 5; + private static final int METHODID_GET_AZURE_CLUSTER = 6; + private static final int METHODID_LIST_AZURE_CLUSTERS = 7; + private static final int METHODID_DELETE_AZURE_CLUSTER = 8; + private static final int METHODID_GENERATE_AZURE_CLUSTER_AGENT_TOKEN = 9; + private static final int METHODID_GENERATE_AZURE_ACCESS_TOKEN = 10; + private static final int METHODID_CREATE_AZURE_NODE_POOL = 11; + private static final int METHODID_UPDATE_AZURE_NODE_POOL = 12; + private static final int METHODID_GET_AZURE_NODE_POOL = 13; + private static final int METHODID_LIST_AZURE_NODE_POOLS = 14; + private static final int METHODID_DELETE_AZURE_NODE_POOL = 15; + private static final int METHODID_GET_AZURE_OPEN_ID_CONFIG = 16; + private static final int METHODID_GET_AZURE_JSON_WEB_KEYS = 17; + private static final int METHODID_GET_AZURE_SERVER_CONFIG = 18; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_AZURE_CLIENT: + serviceImpl.createAzureClient((com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_AZURE_CLIENT: + serviceImpl.getAzureClient((com.google.cloud.gkemulticloud.v1.GetAzureClientRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_AZURE_CLIENTS: + serviceImpl.listAzureClients((com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_AZURE_CLIENT: + serviceImpl.deleteAzureClient((com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_AZURE_CLUSTER: + serviceImpl.createAzureCluster((com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_AZURE_CLUSTER: + serviceImpl.updateAzureCluster((com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_AZURE_CLUSTER: + serviceImpl.getAzureCluster((com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_AZURE_CLUSTERS: + serviceImpl.listAzureClusters((com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_AZURE_CLUSTER: + serviceImpl.deleteAzureCluster((com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GENERATE_AZURE_CLUSTER_AGENT_TOKEN: + serviceImpl.generateAzureClusterAgentToken((com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GENERATE_AZURE_ACCESS_TOKEN: + serviceImpl.generateAzureAccessToken((com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_AZURE_NODE_POOL: + serviceImpl.createAzureNodePool((com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_AZURE_NODE_POOL: + serviceImpl.updateAzureNodePool((com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_AZURE_NODE_POOL: + serviceImpl.getAzureNodePool((com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_AZURE_NODE_POOLS: + serviceImpl.listAzureNodePools((com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_AZURE_NODE_POOL: + serviceImpl.deleteAzureNodePool((com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_AZURE_OPEN_ID_CONFIG: + serviceImpl.getAzureOpenIdConfig((com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_AZURE_JSON_WEB_KEYS: + serviceImpl.getAzureJsonWebKeys((com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_AZURE_SERVER_CONFIG: + serviceImpl.getAzureServerConfig((com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateAzureClientMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_AZURE_CLIENT))) + .addMethod( + getGetAzureClientMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GetAzureClientRequest, + com.google.cloud.gkemulticloud.v1.AzureClient>( + service, METHODID_GET_AZURE_CLIENT))) + .addMethod( + getListAzureClientsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest, + com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse>( + service, METHODID_LIST_AZURE_CLIENTS))) + .addMethod( + getDeleteAzureClientMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest, + com.google.longrunning.Operation>( + service, METHODID_DELETE_AZURE_CLIENT))) + .addMethod( + getCreateAzureClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_AZURE_CLUSTER))) + .addMethod( + getUpdateAzureClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_AZURE_CLUSTER))) + .addMethod( + getGetAzureClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest, + com.google.cloud.gkemulticloud.v1.AzureCluster>( + service, METHODID_GET_AZURE_CLUSTER))) + .addMethod( + getListAzureClustersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest, + com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse>( + service, METHODID_LIST_AZURE_CLUSTERS))) + .addMethod( + getDeleteAzureClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_DELETE_AZURE_CLUSTER))) + .addMethod( + getGenerateAzureClusterAgentTokenMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest, + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse>( + service, METHODID_GENERATE_AZURE_CLUSTER_AGENT_TOKEN))) + .addMethod( + getGenerateAzureAccessTokenMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest, + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse>( + service, METHODID_GENERATE_AZURE_ACCESS_TOKEN))) + .addMethod( + getCreateAzureNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_AZURE_NODE_POOL))) + .addMethod( + getUpdateAzureNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_AZURE_NODE_POOL))) + .addMethod( + getGetAzureNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest, + com.google.cloud.gkemulticloud.v1.AzureNodePool>( + service, METHODID_GET_AZURE_NODE_POOL))) + .addMethod( + getListAzureNodePoolsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest, + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse>( + service, METHODID_LIST_AZURE_NODE_POOLS))) + .addMethod( + getDeleteAzureNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest, + com.google.longrunning.Operation>( + service, METHODID_DELETE_AZURE_NODE_POOL))) + .addMethod( + getGetAzureOpenIdConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest, + com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig>( + service, METHODID_GET_AZURE_OPEN_ID_CONFIG))) + .addMethod( + getGetAzureJsonWebKeysMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest, + com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys>( + service, METHODID_GET_AZURE_JSON_WEB_KEYS))) + .addMethod( + getGetAzureServerConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest, + com.google.cloud.gkemulticloud.v1.AzureServerConfig>( + service, METHODID_GET_AZURE_SERVER_CONFIG))) + .build(); + } + + private static abstract class AzureClustersBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + AzureClustersBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("AzureClusters"); + } + } + + private static final class AzureClustersFileDescriptorSupplier + extends AzureClustersBaseDescriptorSupplier { + AzureClustersFileDescriptorSupplier() {} + } + + private static final class AzureClustersMethodDescriptorSupplier + extends AzureClustersBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + AzureClustersMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (AzureClustersGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new AzureClustersFileDescriptorSupplier()) + .addMethod(getCreateAzureClientMethod()) + .addMethod(getGetAzureClientMethod()) + .addMethod(getListAzureClientsMethod()) + .addMethod(getDeleteAzureClientMethod()) + .addMethod(getCreateAzureClusterMethod()) + .addMethod(getUpdateAzureClusterMethod()) + .addMethod(getGetAzureClusterMethod()) + .addMethod(getListAzureClustersMethod()) + .addMethod(getDeleteAzureClusterMethod()) + .addMethod(getGenerateAzureClusterAgentTokenMethod()) + .addMethod(getGenerateAzureAccessTokenMethod()) + .addMethod(getCreateAzureNodePoolMethod()) + .addMethod(getUpdateAzureNodePoolMethod()) + .addMethod(getGetAzureNodePoolMethod()) + .addMethod(getListAzureNodePoolsMethod()) + .addMethod(getDeleteAzureNodePoolMethod()) + .addMethod(getGetAzureOpenIdConfigMethod()) + .addMethod(getGetAzureJsonWebKeysMethod()) + .addMethod(getGetAzureServerConfigMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedCluster.java similarity index 62% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedCluster.java index 103bef619579..ced888bac1b9 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedCluster.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedCluster.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * An Anthos cluster running on customer own infrastructure.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedCluster} */ -public final class AttachedCluster extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AttachedCluster extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AttachedCluster) AttachedClusterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AttachedCluster.newBuilder() to construct. private AttachedCluster(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AttachedCluster() { name_ = ""; description_ = ""; @@ -52,49 +34,46 @@ private AttachedCluster() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AttachedCluster(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 13: return internalGetAnnotations(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AttachedCluster.class, - com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder.class); + com.google.cloud.gkemulticloud.v1.AttachedCluster.class, com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder.class); } /** - * - * *
    * The lifecycle state of the cluster.
    * 
* * Protobuf enum {@code google.cloud.gkemulticloud.v1.AttachedCluster.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not set.
      * 
@@ -103,8 +82,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The PROVISIONING state indicates the cluster is being registered.
      * 
@@ -113,8 +90,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PROVISIONING(1), /** - * - * *
      * The RUNNING state indicates the cluster has been register and is fully
      * usable.
@@ -124,8 +99,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     RUNNING(2),
     /**
-     *
-     *
      * 
      * The RECONCILING state indicates that some work is actively being done on
      * the cluster, such as upgrading software components.
@@ -135,8 +108,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     RECONCILING(3),
     /**
-     *
-     *
      * 
      * The STOPPING state indicates the cluster is being de-registered.
      * 
@@ -145,8 +116,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STOPPING(4), /** - * - * *
      * The ERROR state indicates the cluster is in a broken unrecoverable
      * state.
@@ -156,8 +125,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     ERROR(5),
     /**
-     *
-     *
      * 
      * The DEGRADED state indicates the cluster requires user action to
      * restore full functionality.
@@ -170,8 +137,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not set.
      * 
@@ -180,8 +145,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The PROVISIONING state indicates the cluster is being registered.
      * 
@@ -190,8 +153,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROVISIONING_VALUE = 1; /** - * - * *
      * The RUNNING state indicates the cluster has been register and is fully
      * usable.
@@ -201,8 +162,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RUNNING_VALUE = 2;
     /**
-     *
-     *
      * 
      * The RECONCILING state indicates that some work is actively being done on
      * the cluster, such as upgrading software components.
@@ -212,8 +171,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RECONCILING_VALUE = 3;
     /**
-     *
-     *
      * 
      * The STOPPING state indicates the cluster is being de-registered.
      * 
@@ -222,8 +179,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STOPPING_VALUE = 4; /** - * - * *
      * The ERROR state indicates the cluster is in a broken unrecoverable
      * state.
@@ -233,8 +188,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ERROR_VALUE = 5;
     /**
-     *
-     *
      * 
      * The DEGRADED state indicates the cluster requires user action to
      * restore full functionality.
@@ -244,6 +197,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DEGRADED_VALUE = 6;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -268,59 +222,53 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return PROVISIONING;
-        case 2:
-          return RUNNING;
-        case 3:
-          return RECONCILING;
-        case 4:
-          return STOPPING;
-        case 5:
-          return ERROR;
-        case 6:
-          return DEGRADED;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return PROVISIONING;
+        case 2: return RUNNING;
+        case 3: return RECONCILING;
+        case 4: return STOPPING;
+        case 5: return ERROR;
+        case 6: return DEGRADED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AttachedCluster.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AttachedCluster.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -338,12 +286,9 @@ private State(int value) {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The name of this resource.
    *
@@ -355,7 +300,6 @@ private State(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -364,15 +308,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of this resource.
    *
@@ -384,15 +327,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -401,19 +345,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Optional. A human readable description of this cluster.
    * Cannot be longer than 255 UTF-8 encoded bytes.
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -422,30 +362,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Optional. A human readable description of this cluster.
    * Cannot be longer than 255 UTF-8 encoded bytes.
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -456,16 +396,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int OIDC_CONFIG_FIELD_NUMBER = 3; private com.google.cloud.gkemulticloud.v1.AttachedOidcConfig oidcConfig_; /** - * - * *
    * Required. OpenID Connect (OIDC) configuration for the cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the oidcConfig field is set. */ @java.lang.Override @@ -473,49 +408,33 @@ public boolean hasOidcConfig() { return oidcConfig_ != null; } /** - * - * *
    * Required. OpenID Connect (OIDC) configuration for the cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The oidcConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedOidcConfig getOidcConfig() { - return oidcConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.getDefaultInstance() - : oidcConfig_; + return oidcConfig_ == null ? com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.getDefaultInstance() : oidcConfig_; } /** - * - * *
    * Required. OpenID Connect (OIDC) configuration for the cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedOidcConfigOrBuilder getOidcConfigOrBuilder() { - return oidcConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.getDefaultInstance() - : oidcConfig_; + return oidcConfig_ == null ? com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.getDefaultInstance() : oidcConfig_; } public static final int PLATFORM_VERSION_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object platformVersion_ = ""; /** - * - * *
    * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
    *
@@ -525,7 +444,6 @@ public com.google.cloud.gkemulticloud.v1.AttachedOidcConfigOrBuilder getOidcConf
    * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The platformVersion. */ @java.lang.Override @@ -534,15 +452,14 @@ public java.lang.String getPlatformVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); platformVersion_ = s; return s; } } /** - * - * *
    * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
    *
@@ -552,15 +469,16 @@ public java.lang.String getPlatformVersion() {
    * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for platformVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getPlatformVersionBytes() { + public com.google.protobuf.ByteString + getPlatformVersionBytes() { java.lang.Object ref = platformVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); platformVersion_ = b; return b; } else { @@ -569,20 +487,16 @@ public com.google.protobuf.ByteString getPlatformVersionBytes() { } public static final int DISTRIBUTION_FIELD_NUMBER = 16; - @SuppressWarnings("serial") private volatile java.lang.Object distribution_ = ""; /** - * - * *
    * Required. The Kubernetes distribution of the underlying attached cluster.
    *
-   * Supported values: ["eks", "aks"].
+   * Supported values: ["eks", "aks", "generic"].
    * 
* * string distribution = 16 [(.google.api.field_behavior) = REQUIRED]; - * * @return The distribution. */ @java.lang.Override @@ -591,31 +505,31 @@ public java.lang.String getDistribution() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); distribution_ = s; return s; } } /** - * - * *
    * Required. The Kubernetes distribution of the underlying attached cluster.
    *
-   * Supported values: ["eks", "aks"].
+   * Supported values: ["eks", "aks", "generic"].
    * 
* * string distribution = 16 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for distribution. */ @java.lang.Override - public com.google.protobuf.ByteString getDistributionBytes() { + public com.google.protobuf.ByteString + getDistributionBytes() { java.lang.Object ref = distribution_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); distribution_ = b; return b; } else { @@ -624,12 +538,9 @@ public com.google.protobuf.ByteString getDistributionBytes() { } public static final int CLUSTER_REGION_FIELD_NUMBER = 22; - @SuppressWarnings("serial") private volatile java.lang.Object clusterRegion_ = ""; /** - * - * *
    * Output only. The region where this cluster runs.
    *
@@ -638,7 +549,6 @@ public com.google.protobuf.ByteString getDistributionBytes() {
    * 
* * string cluster_region = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The clusterRegion. */ @java.lang.Override @@ -647,15 +557,14 @@ public java.lang.String getClusterRegion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterRegion_ = s; return s; } } /** - * - * *
    * Output only. The region where this cluster runs.
    *
@@ -664,15 +573,16 @@ public java.lang.String getClusterRegion() {
    * 
* * string cluster_region = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for clusterRegion. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterRegionBytes() { + public com.google.protobuf.ByteString + getClusterRegionBytes() { java.lang.Object ref = clusterRegion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterRegion_ = b; return b; } else { @@ -683,15 +593,11 @@ public com.google.protobuf.ByteString getClusterRegionBytes() { public static final int FLEET_FIELD_NUMBER = 5; private com.google.cloud.gkemulticloud.v1.Fleet fleet_; /** - * - * *
    * Required. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the fleet field is set. */ @java.lang.Override @@ -699,15 +605,11 @@ public boolean hasFleet() { return fleet_ != null; } /** - * - * *
    * Required. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The fleet. */ @java.lang.Override @@ -715,14 +617,11 @@ public com.google.cloud.gkemulticloud.v1.Fleet getFleet() { return fleet_ == null ? com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() : fleet_; } /** - * - * *
    * Required. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder() { @@ -732,57 +631,38 @@ public com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder() { public static final int STATE_FIELD_NUMBER = 6; private int state_ = 0; /** - * - * *
    * Output only. The current state of the cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The current state of the cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AttachedCluster.State getState() { - com.google.cloud.gkemulticloud.v1.AttachedCluster.State result = - com.google.cloud.gkemulticloud.v1.AttachedCluster.State.forNumber(state_); - return result == null - ? com.google.cloud.gkemulticloud.v1.AttachedCluster.State.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedCluster.State getState() { + com.google.cloud.gkemulticloud.v1.AttachedCluster.State result = com.google.cloud.gkemulticloud.v1.AttachedCluster.State.forNumber(state_); + return result == null ? com.google.cloud.gkemulticloud.v1.AttachedCluster.State.UNRECOGNIZED : result; } public static final int UID_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** - * - * *
    * Output only. A globally unique identifier for the cluster.
    * 
* * string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -791,29 +671,29 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** - * - * *
    * Output only. A globally unique identifier for the cluster.
    * 
* * string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -824,14 +704,11 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int RECONCILING_FIELD_NUMBER = 8; private boolean reconciling_ = false; /** - * - * *
    * Output only. If set, there are currently changes in flight to the cluster.
    * 
* * bool reconciling = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -842,15 +719,11 @@ public boolean getReconciling() { public static final int CREATE_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time at which this cluster was registered.
    * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -858,15 +731,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time at which this cluster was registered.
    * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -874,14 +743,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time at which this cluster was registered.
    * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -891,15 +757,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -907,15 +769,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -923,14 +781,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -938,12 +793,9 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int ETAG_FIELD_NUMBER = 11; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -953,7 +805,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string etag = 11; - * * @return The etag. */ @java.lang.Override @@ -962,15 +813,14 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -980,15 +830,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 11; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -997,18 +848,14 @@ public com.google.protobuf.ByteString getEtagBytes() { } public static final int KUBERNETES_VERSION_FIELD_NUMBER = 12; - @SuppressWarnings("serial") private volatile java.lang.Object kubernetesVersion_ = ""; /** - * - * *
    * Output only. The Kubernetes version of the cluster.
    * 
* * string kubernetes_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The kubernetesVersion. */ @java.lang.Override @@ -1017,29 +864,29 @@ public java.lang.String getKubernetesVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kubernetesVersion_ = s; return s; } } /** - * - * *
    * Output only. The Kubernetes version of the cluster.
    * 
* * string kubernetes_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for kubernetesVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getKubernetesVersionBytes() { + public com.google.protobuf.ByteString + getKubernetesVersionBytes() { java.lang.Object ref = kubernetesVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kubernetesVersion_ = b; return b; } else { @@ -1048,35 +895,32 @@ public com.google.protobuf.ByteString getKubernetesVersionBytes() { } public static final int ANNOTATIONS_FIELD_NUMBER = 13; - private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.gkemulticloud.v1.AttachedResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_AnnotationsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } - public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
    * Optional. Annotations on the cluster.
    *
@@ -1089,25 +933,23 @@ public int getAnnotationsCount() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetAnnotations().getMap().containsKey(key); } - /** Use {@link #getAnnotationsMap()} instead. */ + /** + * Use {@link #getAnnotationsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** - * - * *
    * Optional. Annotations on the cluster.
    *
@@ -1120,16 +962,13 @@ public java.util.Map getAnnotations() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** - * - * *
    * Optional. Annotations on the cluster.
    *
@@ -1142,23 +981,20 @@ public java.util.Map getAnnotationsMap() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getAnnotationsOrDefault( + public /* nullable */ +java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Optional. Annotations on the cluster.
    *
@@ -1171,15 +1007,14 @@ public java.util.Map getAnnotationsMap() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + public java.lang.String getAnnotationsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1189,16 +1024,11 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) { public static final int WORKLOAD_IDENTITY_CONFIG_FIELD_NUMBER = 14; private com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workloadIdentityConfig_; /** - * - * *
    * Output only. Workload Identity settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the workloadIdentityConfig field is set. */ @java.lang.Override @@ -1206,56 +1036,37 @@ public boolean hasWorkloadIdentityConfig() { return workloadIdentityConfig_ != null; } /** - * - * *
    * Output only. Workload Identity settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The workloadIdentityConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig getWorkloadIdentityConfig() { - return workloadIdentityConfig_ == null - ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() - : workloadIdentityConfig_; + return workloadIdentityConfig_ == null ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_; } /** - * - * *
    * Output only. Workload Identity settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder - getWorkloadIdentityConfigOrBuilder() { - return workloadIdentityConfig_ == null - ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() - : workloadIdentityConfig_; + public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder() { + return workloadIdentityConfig_ == null ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_; } public static final int LOGGING_CONFIG_FIELD_NUMBER = 15; private com.google.cloud.gkemulticloud.v1.LoggingConfig loggingConfig_; /** - * - * *
    * Optional. Logging configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the loggingConfig field is set. */ @java.lang.Override @@ -1263,117 +1074,83 @@ public boolean hasLoggingConfig() { return loggingConfig_ != null; } /** - * - * *
    * Optional. Logging configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; * @return The loggingConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.LoggingConfig getLoggingConfig() { - return loggingConfig_ == null - ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() : loggingConfig_; } /** - * - * *
    * Optional. Logging configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder() { - return loggingConfig_ == null - ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() : loggingConfig_; } public static final int ERRORS_FIELD_NUMBER = 20; - @SuppressWarnings("serial") private java.util.List errors_; /** - * - * *
    * Output only. A set of errors found in the cluster.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getErrorsList() { return errors_; } /** - * - * *
    * Output only. A set of errors found in the cluster.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getErrorsOrBuilderList() { return errors_; } /** - * - * *
    * Output only. A set of errors found in the cluster.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** - * - * *
    * Output only. A set of errors found in the cluster.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedClusterError getErrors(int index) { return errors_.get(index); } /** - * - * *
    * Output only. A set of errors found in the cluster.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedClusterErrorOrBuilder getErrorsOrBuilder( @@ -1384,16 +1161,11 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterErrorOrBuilder getErrors public static final int AUTHORIZATION_FIELD_NUMBER = 21; private com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization_; /** - * - * *
    * Optional. Configuration related to the cluster RBAC settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the authorization field is set. */ @java.lang.Override @@ -1401,56 +1173,37 @@ public boolean hasAuthorization() { return authorization_ != null; } /** - * - * *
    * Optional. Configuration related to the cluster RBAC settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; * @return The authorization. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization getAuthorization() { - return authorization_ == null - ? com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.getDefaultInstance() - : authorization_; + return authorization_ == null ? com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.getDefaultInstance() : authorization_; } /** - * - * *
    * Optional. Configuration related to the cluster RBAC settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorizationOrBuilder - getAuthorizationOrBuilder() { - return authorization_ == null - ? com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.getDefaultInstance() - : authorization_; + public com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorizationOrBuilder getAuthorizationOrBuilder() { + return authorization_ == null ? com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.getDefaultInstance() : authorization_; } public static final int MONITORING_CONFIG_FIELD_NUMBER = 23; private com.google.cloud.gkemulticloud.v1.MonitoringConfig monitoringConfig_; /** - * - * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the monitoringConfig field is set. */ @java.lang.Override @@ -1458,45 +1211,106 @@ public boolean hasMonitoringConfig() { return monitoringConfig_ != null; } /** - * - * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; * @return The monitoringConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.MonitoringConfig getMonitoringConfig() { - return monitoringConfig_ == null - ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() - : monitoringConfig_; + return monitoringConfig_ == null ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; + } + /** + *
+   * Optional. Monitoring configuration for this cluster.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBuilder() { + return monitoringConfig_ == null ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; } + + public static final int PROXY_CONFIG_FIELD_NUMBER = 24; + private com.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxyConfig_; /** + *
+   * Optional. Proxy configuration for outbound HTTP(S) traffic.
+   * 
* + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the proxyConfig field is set. + */ + @java.lang.Override + public boolean hasProxyConfig() { + return proxyConfig_ != null; + } + /** + *
+   * Optional. Proxy configuration for outbound HTTP(S) traffic.
+   * 
* + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * @return The proxyConfig. + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AttachedProxyConfig getProxyConfig() { + return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() : proxyConfig_; + } + /** *
-   * Optional. Monitoring configuration for this cluster.
+   * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder - getMonitoringConfigOrBuilder() { - return monitoringConfig_ == null - ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() - : monitoringConfig_; + public com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder getProxyConfigOrBuilder() { + return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() : proxyConfig_; } - private byte memoizedIsInitialized = -1; + public static final int BINARY_AUTHORIZATION_FIELD_NUMBER = 25; + private com.google.cloud.gkemulticloud.v1.BinaryAuthorization binaryAuthorization_; + /** + *
+   * Optional. Binary Authorization configuration for this cluster.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the binaryAuthorization field is set. + */ + @java.lang.Override + public boolean hasBinaryAuthorization() { + return binaryAuthorization_ != null; + } + /** + *
+   * Optional. Binary Authorization configuration for this cluster.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * @return The binaryAuthorization. + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.BinaryAuthorization getBinaryAuthorization() { + return binaryAuthorization_ == null ? com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; + } + /** + *
+   * Optional. Binary Authorization configuration for this cluster.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder() { + return binaryAuthorization_ == null ? com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1508,7 +1322,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1524,8 +1339,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (fleet_ != null) { output.writeMessage(5, getFleet()); } - if (state_ - != com.google.cloud.gkemulticloud.v1.AttachedCluster.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ != com.google.cloud.gkemulticloud.v1.AttachedCluster.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(6, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { @@ -1546,8 +1360,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kubernetesVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, kubernetesVersion_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 13); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetAnnotations(), + AnnotationsDefaultEntryHolder.defaultEntry, + 13); if (workloadIdentityConfig_ != null) { output.writeMessage(14, getWorkloadIdentityConfig()); } @@ -1569,6 +1387,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (monitoringConfig_ != null) { output.writeMessage(23, getMonitoringConfig()); } + if (proxyConfig_ != null) { + output.writeMessage(24, getProxyConfig()); + } + if (binaryAuthorization_ != null) { + output.writeMessage(25, getBinaryAuthorization()); + } getUnknownFields().writeTo(output); } @@ -1585,29 +1409,34 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (oidcConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getOidcConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getOidcConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(platformVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, platformVersion_); } if (fleet_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getFleet()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getFleet()); } - if (state_ - != com.google.cloud.gkemulticloud.v1.AttachedCluster.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, state_); + if (state_ != com.google.cloud.gkemulticloud.v1.AttachedCluster.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, uid_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, reconciling_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(8, reconciling_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, etag_); @@ -1615,37 +1444,49 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kubernetesVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, kubernetesVersion_); } - for (java.util.Map.Entry entry : - internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry annotations__ = - AnnotationsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, annotations__); + for (java.util.Map.Entry entry + : internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry + annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, annotations__); } if (workloadIdentityConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(14, getWorkloadIdentityConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, getWorkloadIdentityConfig()); } if (loggingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getLoggingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, getLoggingConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(distribution_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, distribution_); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(20, errors_.get(i)); } if (authorization_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getAuthorization()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, getAuthorization()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterRegion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, clusterRegion_); } if (monitoringConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getMonitoringConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(23, getMonitoringConfig()); + } + if (proxyConfig_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(24, getProxyConfig()); + } + if (binaryAuthorization_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(25, getBinaryAuthorization()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1655,57 +1496,85 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AttachedCluster)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AttachedCluster other = - (com.google.cloud.gkemulticloud.v1.AttachedCluster) obj; + com.google.cloud.gkemulticloud.v1.AttachedCluster other = (com.google.cloud.gkemulticloud.v1.AttachedCluster) obj; - if (!getName().equals(other.getName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (hasOidcConfig() != other.hasOidcConfig()) return false; if (hasOidcConfig()) { - if (!getOidcConfig().equals(other.getOidcConfig())) return false; - } - if (!getPlatformVersion().equals(other.getPlatformVersion())) return false; - if (!getDistribution().equals(other.getDistribution())) return false; - if (!getClusterRegion().equals(other.getClusterRegion())) return false; + if (!getOidcConfig() + .equals(other.getOidcConfig())) return false; + } + if (!getPlatformVersion() + .equals(other.getPlatformVersion())) return false; + if (!getDistribution() + .equals(other.getDistribution())) return false; + if (!getClusterRegion() + .equals(other.getClusterRegion())) return false; if (hasFleet() != other.hasFleet()) return false; if (hasFleet()) { - if (!getFleet().equals(other.getFleet())) return false; + if (!getFleet() + .equals(other.getFleet())) return false; } if (state_ != other.state_) return false; - if (!getUid().equals(other.getUid())) return false; - if (getReconciling() != other.getReconciling()) return false; + if (!getUid() + .equals(other.getUid())) return false; + if (getReconciling() + != other.getReconciling()) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; - } - if (!getEtag().equals(other.getEtag())) return false; - if (!getKubernetesVersion().equals(other.getKubernetesVersion())) return false; - if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; + } + if (!getEtag() + .equals(other.getEtag())) return false; + if (!getKubernetesVersion() + .equals(other.getKubernetesVersion())) return false; + if (!internalGetAnnotations().equals( + other.internalGetAnnotations())) return false; if (hasWorkloadIdentityConfig() != other.hasWorkloadIdentityConfig()) return false; if (hasWorkloadIdentityConfig()) { - if (!getWorkloadIdentityConfig().equals(other.getWorkloadIdentityConfig())) return false; + if (!getWorkloadIdentityConfig() + .equals(other.getWorkloadIdentityConfig())) return false; } if (hasLoggingConfig() != other.hasLoggingConfig()) return false; if (hasLoggingConfig()) { - if (!getLoggingConfig().equals(other.getLoggingConfig())) return false; + if (!getLoggingConfig() + .equals(other.getLoggingConfig())) return false; } - if (!getErrorsList().equals(other.getErrorsList())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; if (hasAuthorization() != other.hasAuthorization()) return false; if (hasAuthorization()) { - if (!getAuthorization().equals(other.getAuthorization())) return false; + if (!getAuthorization() + .equals(other.getAuthorization())) return false; } if (hasMonitoringConfig() != other.hasMonitoringConfig()) return false; if (hasMonitoringConfig()) { - if (!getMonitoringConfig().equals(other.getMonitoringConfig())) return false; + if (!getMonitoringConfig() + .equals(other.getMonitoringConfig())) return false; + } + if (hasProxyConfig() != other.hasProxyConfig()) return false; + if (hasProxyConfig()) { + if (!getProxyConfig() + .equals(other.getProxyConfig())) return false; + } + if (hasBinaryAuthorization() != other.hasBinaryAuthorization()) return false; + if (hasBinaryAuthorization()) { + if (!getBinaryAuthorization() + .equals(other.getBinaryAuthorization())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1741,7 +1610,8 @@ public int hashCode() { hash = (37 * hash) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid().hashCode(); hash = (37 * hash) + RECONCILING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReconciling()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReconciling()); if (hasCreateTime()) { hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime().hashCode(); @@ -1778,161 +1648,167 @@ public int hashCode() { hash = (37 * hash) + MONITORING_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getMonitoringConfig().hashCode(); } + if (hasProxyConfig()) { + hash = (37 * hash) + PROXY_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getProxyConfig().hashCode(); + } + if (hasBinaryAuthorization()) { + hash = (37 * hash) + BINARY_AUTHORIZATION_FIELD_NUMBER; + hash = (53 * hash) + getBinaryAuthorization().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.gkemulticloud.v1.AttachedCluster parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AttachedCluster parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedCluster parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AttachedCluster parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedCluster parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AttachedCluster parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AttachedCluster parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AttachedCluster parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AttachedCluster parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedCluster parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AttachedCluster parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AttachedCluster parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedCluster parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AttachedCluster parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AttachedCluster prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * An Anthos cluster running on customer own infrastructure.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedCluster} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AttachedCluster) com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 13: return internalGetAnnotations(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 13: return internalGetMutableAnnotations(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AttachedCluster.class, - com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder.class); + com.google.cloud.gkemulticloud.v1.AttachedCluster.class, com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AttachedCluster.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1995,13 +1871,23 @@ public Builder clear() { monitoringConfigBuilder_.dispose(); monitoringConfigBuilder_ = null; } + proxyConfig_ = null; + if (proxyConfigBuilder_ != null) { + proxyConfigBuilder_.dispose(); + proxyConfigBuilder_ = null; + } + binaryAuthorization_ = null; + if (binaryAuthorizationBuilder_ != null) { + binaryAuthorizationBuilder_.dispose(); + binaryAuthorizationBuilder_ = null; + } return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_descriptor; } @java.lang.Override @@ -2020,18 +1906,14 @@ public com.google.cloud.gkemulticloud.v1.AttachedCluster build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedCluster buildPartial() { - com.google.cloud.gkemulticloud.v1.AttachedCluster result = - new com.google.cloud.gkemulticloud.v1.AttachedCluster(this); + com.google.cloud.gkemulticloud.v1.AttachedCluster result = new com.google.cloud.gkemulticloud.v1.AttachedCluster(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.gkemulticloud.v1.AttachedCluster result) { + private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.AttachedCluster result) { if (errorsBuilder_ == null) { if (((bitField0_ & 0x00020000) != 0)) { errors_ = java.util.Collections.unmodifiableList(errors_); @@ -2052,7 +1934,9 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AttachedCluster res result.description_ = description_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.oidcConfig_ = oidcConfigBuilder_ == null ? oidcConfig_ : oidcConfigBuilder_.build(); + result.oidcConfig_ = oidcConfigBuilder_ == null + ? oidcConfig_ + : oidcConfigBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.platformVersion_ = platformVersion_; @@ -2064,7 +1948,9 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AttachedCluster res result.clusterRegion_ = clusterRegion_; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.fleet_ = fleetBuilder_ == null ? fleet_ : fleetBuilder_.build(); + result.fleet_ = fleetBuilder_ == null + ? fleet_ + : fleetBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { result.state_ = state_; @@ -2076,10 +1962,14 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AttachedCluster res result.reconciling_ = reconciling_; } if (((from_bitField0_ & 0x00000400) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000800) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00001000) != 0)) { result.etag_ = etag_; @@ -2092,22 +1982,34 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AttachedCluster res result.annotations_.makeImmutable(); } if (((from_bitField0_ & 0x00008000) != 0)) { - result.workloadIdentityConfig_ = - workloadIdentityConfigBuilder_ == null - ? workloadIdentityConfig_ - : workloadIdentityConfigBuilder_.build(); + result.workloadIdentityConfig_ = workloadIdentityConfigBuilder_ == null + ? workloadIdentityConfig_ + : workloadIdentityConfigBuilder_.build(); } if (((from_bitField0_ & 0x00010000) != 0)) { - result.loggingConfig_ = - loggingConfigBuilder_ == null ? loggingConfig_ : loggingConfigBuilder_.build(); + result.loggingConfig_ = loggingConfigBuilder_ == null + ? loggingConfig_ + : loggingConfigBuilder_.build(); } if (((from_bitField0_ & 0x00040000) != 0)) { - result.authorization_ = - authorizationBuilder_ == null ? authorization_ : authorizationBuilder_.build(); + result.authorization_ = authorizationBuilder_ == null + ? authorization_ + : authorizationBuilder_.build(); } if (((from_bitField0_ & 0x00080000) != 0)) { - result.monitoringConfig_ = - monitoringConfigBuilder_ == null ? monitoringConfig_ : monitoringConfigBuilder_.build(); + result.monitoringConfig_ = monitoringConfigBuilder_ == null + ? monitoringConfig_ + : monitoringConfigBuilder_.build(); + } + if (((from_bitField0_ & 0x00100000) != 0)) { + result.proxyConfig_ = proxyConfigBuilder_ == null + ? proxyConfig_ + : proxyConfigBuilder_.build(); + } + if (((from_bitField0_ & 0x00200000) != 0)) { + result.binaryAuthorization_ = binaryAuthorizationBuilder_ == null + ? binaryAuthorization_ + : binaryAuthorizationBuilder_.build(); } } @@ -2115,39 +2017,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AttachedCluster res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AttachedCluster) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedCluster) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedCluster)other); } else { super.mergeFrom(other); return this; @@ -2155,8 +2056,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AttachedCluster other) { - if (other == com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -2215,7 +2115,8 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AttachedCluster other bitField0_ |= 0x00002000; onChanged(); } - internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); + internalGetMutableAnnotations().mergeFrom( + other.internalGetAnnotations()); bitField0_ |= 0x00004000; if (other.hasWorkloadIdentityConfig()) { mergeWorkloadIdentityConfig(other.getWorkloadIdentityConfig()); @@ -2241,10 +2142,9 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AttachedCluster other errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00020000); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() - : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -2256,6 +2156,12 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AttachedCluster other if (other.hasMonitoringConfig()) { mergeMonitoringConfig(other.getMonitoringConfig()); } + if (other.hasProxyConfig()) { + mergeProxyConfig(other.getProxyConfig()); + } + if (other.hasBinaryAuthorization()) { + mergeBinaryAuthorization(other.getBinaryAuthorization()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -2282,149 +2188,154 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getOidcConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - platformVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - input.readMessage(getFleetFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 42 - case 48: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000080; - break; - } // case 48 - case 58: - { - uid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 58 - case 64: - { - reconciling_ = input.readBool(); - bitField0_ |= 0x00000200; - break; - } // case 64 - case 74: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000400; - break; - } // case 74 - case 82: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000800; - break; - } // case 82 - case 90: - { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; - break; - } // case 90 - case 98: - { - kubernetesVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00002000; - break; - } // case 98 - case 106: - { - com.google.protobuf.MapEntry annotations__ = - input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableAnnotations() - .getMutableMap() - .put(annotations__.getKey(), annotations__.getValue()); - bitField0_ |= 0x00004000; - break; - } // case 106 - case 114: - { - input.readMessage( - getWorkloadIdentityConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00008000; - break; - } // case 114 - case 122: - { - input.readMessage(getLoggingConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00010000; - break; - } // case 122 - case 130: - { - distribution_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 130 - case 162: - { - com.google.cloud.gkemulticloud.v1.AttachedClusterError m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AttachedClusterError.parser(), - extensionRegistry); - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.add(m); - } else { - errorsBuilder_.addMessage(m); - } - break; - } // case 162 - case 170: - { - input.readMessage(getAuthorizationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00040000; - break; - } // case 170 - case 178: - { - clusterRegion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 178 - case 186: - { - input.readMessage( - getMonitoringConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00080000; - break; - } // case 186 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getOidcConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + platformVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + input.readMessage( + getFleetFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 42 + case 48: { + state_ = input.readEnum(); + bitField0_ |= 0x00000080; + break; + } // case 48 + case 58: { + uid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 58 + case 64: { + reconciling_ = input.readBool(); + bitField0_ |= 0x00000200; + break; + } // case 64 + case 74: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 74 + case 82: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000800; + break; + } // case 82 + case 90: { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 90 + case 98: { + kubernetesVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00002000; + break; + } // case 98 + case 106: { + com.google.protobuf.MapEntry + annotations__ = input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableAnnotations().getMutableMap().put( + annotations__.getKey(), annotations__.getValue()); + bitField0_ |= 0x00004000; + break; + } // case 106 + case 114: { + input.readMessage( + getWorkloadIdentityConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00008000; + break; + } // case 114 + case 122: { + input.readMessage( + getLoggingConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00010000; + break; + } // case 122 + case 130: { + distribution_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 130 + case 162: { + com.google.cloud.gkemulticloud.v1.AttachedClusterError m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AttachedClusterError.parser(), + extensionRegistry); + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.add(m); + } else { + errorsBuilder_.addMessage(m); + } + break; + } // case 162 + case 170: { + input.readMessage( + getAuthorizationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00040000; + break; + } // case 170 + case 178: { + clusterRegion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 178 + case 186: { + input.readMessage( + getMonitoringConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00080000; + break; + } // case 186 + case 194: { + input.readMessage( + getProxyConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00100000; + break; + } // case 194 + case 202: { + input.readMessage( + getBinaryAuthorizationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00200000; + break; + } // case 202 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2434,13 +2345,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The name of this resource.
      *
@@ -2452,13 +2360,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2467,8 +2375,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of this resource.
      *
@@ -2480,14 +2386,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2495,8 +2402,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of this resource.
      *
@@ -2508,22 +2413,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of this resource.
      *
@@ -2535,7 +2436,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -2545,8 +2445,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The name of this resource.
      *
@@ -2558,14 +2456,12 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2575,21 +2471,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Optional. A human readable description of this cluster.
      * Cannot be longer than 255 UTF-8 encoded bytes.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2598,22 +2492,21 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. A human readable description of this cluster.
      * Cannot be longer than 255 UTF-8 encoded bytes.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2621,37 +2514,30 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. A human readable description of this cluster.
      * Cannot be longer than 255 UTF-8 encoded bytes.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. A human readable description of this cluster.
      * Cannot be longer than 255 UTF-8 encoded bytes.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2661,22 +2547,18 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Optional. A human readable description of this cluster.
      * Cannot be longer than 255 UTF-8 encoded bytes.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000002; @@ -2686,58 +2568,39 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private com.google.cloud.gkemulticloud.v1.AttachedOidcConfig oidcConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedOidcConfig, - com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.Builder, - com.google.cloud.gkemulticloud.v1.AttachedOidcConfigOrBuilder> - oidcConfigBuilder_; + com.google.cloud.gkemulticloud.v1.AttachedOidcConfig, com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.Builder, com.google.cloud.gkemulticloud.v1.AttachedOidcConfigOrBuilder> oidcConfigBuilder_; /** - * - * *
      * Required. OpenID Connect (OIDC) configuration for the cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the oidcConfig field is set. */ public boolean hasOidcConfig() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. OpenID Connect (OIDC) configuration for the cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The oidcConfig. */ public com.google.cloud.gkemulticloud.v1.AttachedOidcConfig getOidcConfig() { if (oidcConfigBuilder_ == null) { - return oidcConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.getDefaultInstance() - : oidcConfig_; + return oidcConfig_ == null ? com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.getDefaultInstance() : oidcConfig_; } else { return oidcConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. OpenID Connect (OIDC) configuration for the cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setOidcConfig(com.google.cloud.gkemulticloud.v1.AttachedOidcConfig value) { if (oidcConfigBuilder_ == null) { @@ -2753,15 +2616,11 @@ public Builder setOidcConfig(com.google.cloud.gkemulticloud.v1.AttachedOidcConfi return this; } /** - * - * *
      * Required. OpenID Connect (OIDC) configuration for the cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setOidcConfig( com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.Builder builderForValue) { @@ -2775,22 +2634,17 @@ public Builder setOidcConfig( return this; } /** - * - * *
      * Required. OpenID Connect (OIDC) configuration for the cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeOidcConfig(com.google.cloud.gkemulticloud.v1.AttachedOidcConfig value) { if (oidcConfigBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && oidcConfig_ != null - && oidcConfig_ - != com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + oidcConfig_ != null && + oidcConfig_ != com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.getDefaultInstance()) { getOidcConfigBuilder().mergeFrom(value); } else { oidcConfig_ = value; @@ -2803,15 +2657,11 @@ public Builder mergeOidcConfig(com.google.cloud.gkemulticloud.v1.AttachedOidcCon return this; } /** - * - * *
      * Required. OpenID Connect (OIDC) configuration for the cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearOidcConfig() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2824,15 +2674,11 @@ public Builder clearOidcConfig() { return this; } /** - * - * *
      * Required. OpenID Connect (OIDC) configuration for the cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.Builder getOidcConfigBuilder() { bitField0_ |= 0x00000004; @@ -2840,48 +2686,36 @@ public com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.Builder getOidcConfi return getOidcConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. OpenID Connect (OIDC) configuration for the cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AttachedOidcConfigOrBuilder getOidcConfigOrBuilder() { if (oidcConfigBuilder_ != null) { return oidcConfigBuilder_.getMessageOrBuilder(); } else { - return oidcConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.getDefaultInstance() - : oidcConfig_; + return oidcConfig_ == null ? + com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.getDefaultInstance() : oidcConfig_; } } /** - * - * *
      * Required. OpenID Connect (OIDC) configuration for the cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedOidcConfig, - com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.Builder, - com.google.cloud.gkemulticloud.v1.AttachedOidcConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.AttachedOidcConfig, com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.Builder, com.google.cloud.gkemulticloud.v1.AttachedOidcConfigOrBuilder> getOidcConfigFieldBuilder() { if (oidcConfigBuilder_ == null) { - oidcConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedOidcConfig, - com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.Builder, - com.google.cloud.gkemulticloud.v1.AttachedOidcConfigOrBuilder>( - getOidcConfig(), getParentForChildren(), isClean()); + oidcConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AttachedOidcConfig, com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.Builder, com.google.cloud.gkemulticloud.v1.AttachedOidcConfigOrBuilder>( + getOidcConfig(), + getParentForChildren(), + isClean()); oidcConfig_ = null; } return oidcConfigBuilder_; @@ -2889,8 +2723,6 @@ public com.google.cloud.gkemulticloud.v1.AttachedOidcConfigOrBuilder getOidcConf private java.lang.Object platformVersion_ = ""; /** - * - * *
      * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
      *
@@ -2900,13 +2732,13 @@ public com.google.cloud.gkemulticloud.v1.AttachedOidcConfigOrBuilder getOidcConf
      * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The platformVersion. */ public java.lang.String getPlatformVersion() { java.lang.Object ref = platformVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); platformVersion_ = s; return s; @@ -2915,8 +2747,6 @@ public java.lang.String getPlatformVersion() { } } /** - * - * *
      * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
      *
@@ -2926,14 +2756,15 @@ public java.lang.String getPlatformVersion() {
      * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for platformVersion. */ - public com.google.protobuf.ByteString getPlatformVersionBytes() { + public com.google.protobuf.ByteString + getPlatformVersionBytes() { java.lang.Object ref = platformVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); platformVersion_ = b; return b; } else { @@ -2941,8 +2772,6 @@ public com.google.protobuf.ByteString getPlatformVersionBytes() { } } /** - * - * *
      * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
      *
@@ -2952,22 +2781,18 @@ public com.google.protobuf.ByteString getPlatformVersionBytes() {
      * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The platformVersion to set. * @return This builder for chaining. */ - public Builder setPlatformVersion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPlatformVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } platformVersion_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
      *
@@ -2977,7 +2802,6 @@ public Builder setPlatformVersion(java.lang.String value) {
      * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPlatformVersion() { @@ -2987,8 +2811,6 @@ public Builder clearPlatformVersion() { return this; } /** - * - * *
      * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
      *
@@ -2998,14 +2820,12 @@ public Builder clearPlatformVersion() {
      * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for platformVersion to set. * @return This builder for chaining. */ - public Builder setPlatformVersionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPlatformVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); platformVersion_ = value; bitField0_ |= 0x00000008; @@ -3015,22 +2835,20 @@ public Builder setPlatformVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object distribution_ = ""; /** - * - * *
      * Required. The Kubernetes distribution of the underlying attached cluster.
      *
-     * Supported values: ["eks", "aks"].
+     * Supported values: ["eks", "aks", "generic"].
      * 
* * string distribution = 16 [(.google.api.field_behavior) = REQUIRED]; - * * @return The distribution. */ public java.lang.String getDistribution() { java.lang.Object ref = distribution_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); distribution_ = s; return s; @@ -3039,23 +2857,22 @@ public java.lang.String getDistribution() { } } /** - * - * *
      * Required. The Kubernetes distribution of the underlying attached cluster.
      *
-     * Supported values: ["eks", "aks"].
+     * Supported values: ["eks", "aks", "generic"].
      * 
* * string distribution = 16 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for distribution. */ - public com.google.protobuf.ByteString getDistributionBytes() { + public com.google.protobuf.ByteString + getDistributionBytes() { java.lang.Object ref = distribution_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); distribution_ = b; return b; } else { @@ -3063,39 +2880,32 @@ public com.google.protobuf.ByteString getDistributionBytes() { } } /** - * - * *
      * Required. The Kubernetes distribution of the underlying attached cluster.
      *
-     * Supported values: ["eks", "aks"].
+     * Supported values: ["eks", "aks", "generic"].
      * 
* * string distribution = 16 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The distribution to set. * @return This builder for chaining. */ - public Builder setDistribution(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDistribution( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } distribution_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Required. The Kubernetes distribution of the underlying attached cluster.
      *
-     * Supported values: ["eks", "aks"].
+     * Supported values: ["eks", "aks", "generic"].
      * 
* * string distribution = 16 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDistribution() { @@ -3105,23 +2915,19 @@ public Builder clearDistribution() { return this; } /** - * - * *
      * Required. The Kubernetes distribution of the underlying attached cluster.
      *
-     * Supported values: ["eks", "aks"].
+     * Supported values: ["eks", "aks", "generic"].
      * 
* * string distribution = 16 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for distribution to set. * @return This builder for chaining. */ - public Builder setDistributionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDistributionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); distribution_ = value; bitField0_ |= 0x00000010; @@ -3131,8 +2937,6 @@ public Builder setDistributionBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterRegion_ = ""; /** - * - * *
      * Output only. The region where this cluster runs.
      *
@@ -3141,13 +2945,13 @@ public Builder setDistributionBytes(com.google.protobuf.ByteString value) {
      * 
* * string cluster_region = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The clusterRegion. */ public java.lang.String getClusterRegion() { java.lang.Object ref = clusterRegion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterRegion_ = s; return s; @@ -3156,8 +2960,6 @@ public java.lang.String getClusterRegion() { } } /** - * - * *
      * Output only. The region where this cluster runs.
      *
@@ -3166,14 +2968,15 @@ public java.lang.String getClusterRegion() {
      * 
* * string cluster_region = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for clusterRegion. */ - public com.google.protobuf.ByteString getClusterRegionBytes() { + public com.google.protobuf.ByteString + getClusterRegionBytes() { java.lang.Object ref = clusterRegion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterRegion_ = b; return b; } else { @@ -3181,8 +2984,6 @@ public com.google.protobuf.ByteString getClusterRegionBytes() { } } /** - * - * *
      * Output only. The region where this cluster runs.
      *
@@ -3191,22 +2992,18 @@ public com.google.protobuf.ByteString getClusterRegionBytes() {
      * 
* * string cluster_region = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The clusterRegion to set. * @return This builder for chaining. */ - public Builder setClusterRegion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterRegion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clusterRegion_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Output only. The region where this cluster runs.
      *
@@ -3215,7 +3012,6 @@ public Builder setClusterRegion(java.lang.String value) {
      * 
* * string cluster_region = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearClusterRegion() { @@ -3225,8 +3021,6 @@ public Builder clearClusterRegion() { return this; } /** - * - * *
      * Output only. The region where this cluster runs.
      *
@@ -3235,14 +3029,12 @@ public Builder clearClusterRegion() {
      * 
* * string cluster_region = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for clusterRegion to set. * @return This builder for chaining. */ - public Builder setClusterRegionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterRegionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clusterRegion_ = value; bitField0_ |= 0x00000020; @@ -3252,58 +3044,39 @@ public Builder setClusterRegionBytes(com.google.protobuf.ByteString value) { private com.google.cloud.gkemulticloud.v1.Fleet fleet_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.Fleet, - com.google.cloud.gkemulticloud.v1.Fleet.Builder, - com.google.cloud.gkemulticloud.v1.FleetOrBuilder> - fleetBuilder_; + com.google.cloud.gkemulticloud.v1.Fleet, com.google.cloud.gkemulticloud.v1.Fleet.Builder, com.google.cloud.gkemulticloud.v1.FleetOrBuilder> fleetBuilder_; /** - * - * *
      * Required. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the fleet field is set. */ public boolean hasFleet() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Required. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The fleet. */ public com.google.cloud.gkemulticloud.v1.Fleet getFleet() { if (fleetBuilder_ == null) { - return fleet_ == null - ? com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() - : fleet_; + return fleet_ == null ? com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() : fleet_; } else { return fleetBuilder_.getMessage(); } } /** - * - * *
      * Required. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { if (fleetBuilder_ == null) { @@ -3319,17 +3092,14 @@ public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { return this; } /** - * - * *
      * Required. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet.Builder builderForValue) { + public Builder setFleet( + com.google.cloud.gkemulticloud.v1.Fleet.Builder builderForValue) { if (fleetBuilder_ == null) { fleet_ = builderForValue.build(); } else { @@ -3340,21 +3110,17 @@ public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet.Builder builderF return this; } /** - * - * *
      * Required. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { if (fleetBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && fleet_ != null - && fleet_ != com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + fleet_ != null && + fleet_ != com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance()) { getFleetBuilder().mergeFrom(value); } else { fleet_ = value; @@ -3367,15 +3133,11 @@ public Builder mergeFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { return this; } /** - * - * *
      * Required. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearFleet() { bitField0_ = (bitField0_ & ~0x00000040); @@ -3388,15 +3150,11 @@ public Builder clearFleet() { return this; } /** - * - * *
      * Required. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.Fleet.Builder getFleetBuilder() { bitField0_ |= 0x00000040; @@ -3404,48 +3162,36 @@ public com.google.cloud.gkemulticloud.v1.Fleet.Builder getFleetBuilder() { return getFleetFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder() { if (fleetBuilder_ != null) { return fleetBuilder_.getMessageOrBuilder(); } else { - return fleet_ == null - ? com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() - : fleet_; + return fleet_ == null ? + com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() : fleet_; } } /** - * - * *
      * Required. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.Fleet, - com.google.cloud.gkemulticloud.v1.Fleet.Builder, - com.google.cloud.gkemulticloud.v1.FleetOrBuilder> + com.google.cloud.gkemulticloud.v1.Fleet, com.google.cloud.gkemulticloud.v1.Fleet.Builder, com.google.cloud.gkemulticloud.v1.FleetOrBuilder> getFleetFieldBuilder() { if (fleetBuilder_ == null) { - fleetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.Fleet, - com.google.cloud.gkemulticloud.v1.Fleet.Builder, - com.google.cloud.gkemulticloud.v1.FleetOrBuilder>( - getFleet(), getParentForChildren(), isClean()); + fleetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.Fleet, com.google.cloud.gkemulticloud.v1.Fleet.Builder, com.google.cloud.gkemulticloud.v1.FleetOrBuilder>( + getFleet(), + getParentForChildren(), + isClean()); fleet_ = null; } return fleetBuilder_; @@ -3453,33 +3199,22 @@ public com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder() { private int state_ = 0; /** - * - * *
      * Output only. The current state of the cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The current state of the cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -3490,37 +3225,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The current state of the cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedCluster.State getState() { - com.google.cloud.gkemulticloud.v1.AttachedCluster.State result = - com.google.cloud.gkemulticloud.v1.AttachedCluster.State.forNumber(state_); - return result == null - ? com.google.cloud.gkemulticloud.v1.AttachedCluster.State.UNRECOGNIZED - : result; + com.google.cloud.gkemulticloud.v1.AttachedCluster.State result = com.google.cloud.gkemulticloud.v1.AttachedCluster.State.forNumber(state_); + return result == null ? com.google.cloud.gkemulticloud.v1.AttachedCluster.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current state of the cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -3534,16 +3256,11 @@ public Builder setState(com.google.cloud.gkemulticloud.v1.AttachedCluster.State return this; } /** - * - * *
      * Output only. The current state of the cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -3555,20 +3272,18 @@ public Builder clearState() { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. A globally unique identifier for the cluster.
      * 
* * string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -3577,21 +3292,20 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. A globally unique identifier for the cluster.
      * 
* * string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -3599,35 +3313,28 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. A globally unique identifier for the cluster.
      * 
* * string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uid_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * Output only. A globally unique identifier for the cluster.
      * 
* * string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { @@ -3637,21 +3344,17 @@ public Builder clearUid() { return this; } /** - * - * *
      * Output only. A globally unique identifier for the cluster.
      * 
* * string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000100; @@ -3659,16 +3362,13 @@ public Builder setUidBytes(com.google.protobuf.ByteString value) { return this; } - private boolean reconciling_; + private boolean reconciling_ ; /** - * - * *
      * Output only. If set, there are currently changes in flight to the cluster.
      * 
* * bool reconciling = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -3676,14 +3376,11 @@ public boolean getReconciling() { return reconciling_; } /** - * - * *
      * Output only. If set, there are currently changes in flight to the cluster.
      * 
* * bool reconciling = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The reconciling to set. * @return This builder for chaining. */ @@ -3695,14 +3392,11 @@ public Builder setReconciling(boolean value) { return this; } /** - * - * *
      * Output only. If set, there are currently changes in flight to the cluster.
      * 
* * bool reconciling = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -3714,58 +3408,39 @@ public Builder clearReconciling() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time at which this cluster was registered.
      * 
* - * - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000400) != 0); } /** - * - * *
      * Output only. The time at which this cluster was registered.
      * 
* - * - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which this cluster was registered.
      * 
* - * - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -3781,17 +3456,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this cluster was registered.
      * 
* - * - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -3802,21 +3474,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time at which this cluster was registered.
      * 
* - * - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -3829,15 +3497,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this cluster was registered.
      * 
* - * - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000400); @@ -3850,15 +3514,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time at which this cluster was registered.
      * 
* - * - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000400; @@ -3866,48 +3526,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which this cluster was registered.
      * 
* - * - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time at which this cluster was registered.
      * 
* - * - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -3915,58 +3563,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000800) != 0); } /** - * - * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3982,17 +3611,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -4003,21 +3629,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -4030,15 +3652,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000800); @@ -4051,15 +3669,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000800; @@ -4067,48 +3681,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -4116,8 +3718,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object etag_ = ""; /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -4127,13 +3727,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string etag = 11; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -4142,8 +3742,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -4153,14 +3751,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 11; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -4168,8 +3767,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -4179,22 +3776,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 11; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -4204,7 +3797,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 11; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -4214,8 +3806,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -4225,14 +3815,12 @@ public Builder clearEtag() {
      * 
* * string etag = 11; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00001000; @@ -4242,20 +3830,18 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { private java.lang.Object kubernetesVersion_ = ""; /** - * - * *
      * Output only. The Kubernetes version of the cluster.
      * 
* * string kubernetes_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The kubernetesVersion. */ public java.lang.String getKubernetesVersion() { java.lang.Object ref = kubernetesVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kubernetesVersion_ = s; return s; @@ -4264,21 +3850,20 @@ public java.lang.String getKubernetesVersion() { } } /** - * - * *
      * Output only. The Kubernetes version of the cluster.
      * 
* * string kubernetes_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for kubernetesVersion. */ - public com.google.protobuf.ByteString getKubernetesVersionBytes() { + public com.google.protobuf.ByteString + getKubernetesVersionBytes() { java.lang.Object ref = kubernetesVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kubernetesVersion_ = b; return b; } else { @@ -4286,35 +3871,28 @@ public com.google.protobuf.ByteString getKubernetesVersionBytes() { } } /** - * - * *
      * Output only. The Kubernetes version of the cluster.
      * 
* * string kubernetes_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The kubernetesVersion to set. * @return This builder for chaining. */ - public Builder setKubernetesVersion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKubernetesVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } kubernetesVersion_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** - * - * *
      * Output only. The Kubernetes version of the cluster.
      * 
* * string kubernetes_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearKubernetesVersion() { @@ -4324,21 +3902,17 @@ public Builder clearKubernetesVersion() { return this; } /** - * - * *
      * Output only. The Kubernetes version of the cluster.
      * 
* * string kubernetes_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for kubernetesVersion to set. * @return This builder for chaining. */ - public Builder setKubernetesVersionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKubernetesVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); kubernetesVersion_ = value; bitField0_ |= 0x00002000; @@ -4346,8 +3920,8 @@ public Builder setKubernetesVersionBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -4356,12 +3930,11 @@ public Builder setKubernetesVersionBytes(com.google.protobuf.ByteString value) { } return annotations_; } - private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = - com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -4370,13 +3943,10 @@ public Builder setKubernetesVersionBytes(com.google.protobuf.ByteString value) { onChanged(); return annotations_; } - public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
      * Optional. Annotations on the cluster.
      *
@@ -4389,25 +3959,23 @@ public int getAnnotationsCount() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetAnnotations().getMap().containsKey(key); } - /** Use {@link #getAnnotationsMap()} instead. */ + /** + * Use {@link #getAnnotationsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** - * - * *
      * Optional. Annotations on the cluster.
      *
@@ -4420,16 +3988,13 @@ public java.util.Map getAnnotations() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** - * - * *
      * Optional. Annotations on the cluster.
      *
@@ -4442,23 +4007,20 @@ public java.util.Map getAnnotationsMap() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getAnnotationsOrDefault( + public /* nullable */ +java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Optional. Annotations on the cluster.
      *
@@ -4471,29 +4033,26 @@ public java.util.Map getAnnotationsMap() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + public java.lang.String getAnnotationsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearAnnotations() { bitField0_ = (bitField0_ & ~0x00004000); - internalGetMutableAnnotations().getMutableMap().clear(); + internalGetMutableAnnotations().getMutableMap() + .clear(); return this; } /** - * - * *
      * Optional. Annotations on the cluster.
      *
@@ -4506,25 +4065,25 @@ public Builder clearAnnotations() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableAnnotations().getMutableMap().remove(key); + public Builder removeAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableAnnotations().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableAnnotations() { + public java.util.Map + getMutableAnnotations() { bitField0_ |= 0x00004000; return internalGetMutableAnnotations().getMutableMap(); } /** - * - * *
      * Optional. Annotations on the cluster.
      *
@@ -4537,23 +4096,19 @@ public java.util.Map getMutableAnnotations()
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAnnotations(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableAnnotations().getMutableMap().put(key, value); + public Builder putAnnotations( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableAnnotations().getMutableMap() + .put(key, value); bitField0_ |= 0x00004000; return this; } /** - * - * *
      * Optional. Annotations on the cluster.
      *
@@ -4566,72 +4121,53 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAllAnnotations(java.util.Map values) { - internalGetMutableAnnotations().getMutableMap().putAll(values); + public Builder putAllAnnotations( + java.util.Map values) { + internalGetMutableAnnotations().getMutableMap() + .putAll(values); bitField0_ |= 0x00004000; return this; } private com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workloadIdentityConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder> - workloadIdentityConfigBuilder_; + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder> workloadIdentityConfigBuilder_; /** - * - * *
      * Output only. Workload Identity settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the workloadIdentityConfig field is set. */ public boolean hasWorkloadIdentityConfig() { return ((bitField0_ & 0x00008000) != 0); } /** - * - * *
      * Output only. Workload Identity settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The workloadIdentityConfig. */ public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig getWorkloadIdentityConfig() { if (workloadIdentityConfigBuilder_ == null) { - return workloadIdentityConfig_ == null - ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() - : workloadIdentityConfig_; + return workloadIdentityConfig_ == null ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_; } else { return workloadIdentityConfigBuilder_.getMessage(); } } /** - * - * *
      * Output only. Workload Identity settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setWorkloadIdentityConfig( - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig value) { + public Builder setWorkloadIdentityConfig(com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig value) { if (workloadIdentityConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4645,15 +4181,11 @@ public Builder setWorkloadIdentityConfig( return this; } /** - * - * *
      * Output only. Workload Identity settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setWorkloadIdentityConfig( com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder builderForValue) { @@ -4667,23 +4199,17 @@ public Builder setWorkloadIdentityConfig( return this; } /** - * - * *
      * Output only. Workload Identity settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeWorkloadIdentityConfig( - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig value) { + public Builder mergeWorkloadIdentityConfig(com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig value) { if (workloadIdentityConfigBuilder_ == null) { - if (((bitField0_ & 0x00008000) != 0) - && workloadIdentityConfig_ != null - && workloadIdentityConfig_ - != com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00008000) != 0) && + workloadIdentityConfig_ != null && + workloadIdentityConfig_ != com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance()) { getWorkloadIdentityConfigBuilder().mergeFrom(value); } else { workloadIdentityConfig_ = value; @@ -4696,15 +4222,11 @@ public Builder mergeWorkloadIdentityConfig( return this; } /** - * - * *
      * Output only. Workload Identity settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearWorkloadIdentityConfig() { bitField0_ = (bitField0_ & ~0x00008000); @@ -4717,66 +4239,48 @@ public Builder clearWorkloadIdentityConfig() { return this; } /** - * - * *
      * Output only. Workload Identity settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder - getWorkloadIdentityConfigBuilder() { + public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder getWorkloadIdentityConfigBuilder() { bitField0_ |= 0x00008000; onChanged(); return getWorkloadIdentityConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Workload Identity settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder - getWorkloadIdentityConfigOrBuilder() { + public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder() { if (workloadIdentityConfigBuilder_ != null) { return workloadIdentityConfigBuilder_.getMessageOrBuilder(); } else { - return workloadIdentityConfig_ == null - ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() - : workloadIdentityConfig_; + return workloadIdentityConfig_ == null ? + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_; } } /** - * - * *
      * Output only. Workload Identity settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder> getWorkloadIdentityConfigFieldBuilder() { if (workloadIdentityConfigBuilder_ == null) { - workloadIdentityConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder>( - getWorkloadIdentityConfig(), getParentForChildren(), isClean()); + workloadIdentityConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder>( + getWorkloadIdentityConfig(), + getParentForChildren(), + isClean()); workloadIdentityConfig_ = null; } return workloadIdentityConfigBuilder_; @@ -4784,58 +4288,39 @@ public Builder clearWorkloadIdentityConfig() { private com.google.cloud.gkemulticloud.v1.LoggingConfig loggingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.LoggingConfig, - com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, - com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder> - loggingConfigBuilder_; + com.google.cloud.gkemulticloud.v1.LoggingConfig, com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder> loggingConfigBuilder_; /** - * - * *
      * Optional. Logging configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return ((bitField0_ & 0x00010000) != 0); } /** - * - * *
      * Optional. Logging configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; * @return The loggingConfig. */ public com.google.cloud.gkemulticloud.v1.LoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { - return loggingConfig_ == null - ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() : loggingConfig_; } else { return loggingConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. Logging configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setLoggingConfig(com.google.cloud.gkemulticloud.v1.LoggingConfig value) { if (loggingConfigBuilder_ == null) { @@ -4851,15 +4336,11 @@ public Builder setLoggingConfig(com.google.cloud.gkemulticloud.v1.LoggingConfig return this; } /** - * - * *
      * Optional. Logging configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setLoggingConfig( com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder builderForValue) { @@ -4873,22 +4354,17 @@ public Builder setLoggingConfig( return this; } /** - * - * *
      * Optional. Logging configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeLoggingConfig(com.google.cloud.gkemulticloud.v1.LoggingConfig value) { if (loggingConfigBuilder_ == null) { - if (((bitField0_ & 0x00010000) != 0) - && loggingConfig_ != null - && loggingConfig_ - != com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00010000) != 0) && + loggingConfig_ != null && + loggingConfig_ != com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance()) { getLoggingConfigBuilder().mergeFrom(value); } else { loggingConfig_ = value; @@ -4901,15 +4377,11 @@ public Builder mergeLoggingConfig(com.google.cloud.gkemulticloud.v1.LoggingConfi return this; } /** - * - * *
      * Optional. Logging configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearLoggingConfig() { bitField0_ = (bitField0_ & ~0x00010000); @@ -4922,15 +4394,11 @@ public Builder clearLoggingConfig() { return this; } /** - * - * *
      * Optional. Logging configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder getLoggingConfigBuilder() { bitField0_ |= 0x00010000; @@ -4938,81 +4406,59 @@ public com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder getLoggingConfigB return getLoggingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Logging configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder() { if (loggingConfigBuilder_ != null) { return loggingConfigBuilder_.getMessageOrBuilder(); } else { - return loggingConfig_ == null - ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? + com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() : loggingConfig_; } } /** - * - * *
      * Optional. Logging configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.LoggingConfig, - com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, - com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.LoggingConfig, com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder> getLoggingConfigFieldBuilder() { if (loggingConfigBuilder_ == null) { - loggingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.LoggingConfig, - com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, - com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder>( - getLoggingConfig(), getParentForChildren(), isClean()); + loggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.LoggingConfig, com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder>( + getLoggingConfig(), + getParentForChildren(), + isClean()); loggingConfig_ = null; } return loggingConfigBuilder_; } private java.util.List errors_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00020000) != 0)) { - errors_ = - new java.util.ArrayList( - errors_); + errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00020000; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedClusterError, - com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder, - com.google.cloud.gkemulticloud.v1.AttachedClusterErrorOrBuilder> - errorsBuilder_; + com.google.cloud.gkemulticloud.v1.AttachedClusterError, com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterErrorOrBuilder> errorsBuilder_; /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getErrorsList() { if (errorsBuilder_ == null) { @@ -5022,15 +4468,11 @@ public java.util.List ge } } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -5040,15 +4482,11 @@ public int getErrorsCount() { } } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.gkemulticloud.v1.AttachedClusterError getErrors(int index) { if (errorsBuilder_ == null) { @@ -5058,15 +4496,11 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterError getErrors(int inde } } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setErrors( int index, com.google.cloud.gkemulticloud.v1.AttachedClusterError value) { @@ -5083,15 +4517,11 @@ public Builder setErrors( return this; } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setErrors( int index, com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder builderForValue) { @@ -5105,15 +4535,11 @@ public Builder setErrors( return this; } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addErrors(com.google.cloud.gkemulticloud.v1.AttachedClusterError value) { if (errorsBuilder_ == null) { @@ -5129,15 +4555,11 @@ public Builder addErrors(com.google.cloud.gkemulticloud.v1.AttachedClusterError return this; } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addErrors( int index, com.google.cloud.gkemulticloud.v1.AttachedClusterError value) { @@ -5154,15 +4576,11 @@ public Builder addErrors( return this; } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addErrors( com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder builderForValue) { @@ -5176,15 +4594,11 @@ public Builder addErrors( return this; } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addErrors( int index, com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder builderForValue) { @@ -5198,22 +4612,18 @@ public Builder addErrors( return this; } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllErrors( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -5221,15 +4631,11 @@ public Builder addAllErrors( return this; } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -5242,15 +4648,11 @@ public Builder clearErrors() { return this; } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -5263,52 +4665,39 @@ public Builder removeErrors(int index) { return this; } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder getErrorsBuilder( int index) { return getErrorsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.gkemulticloud.v1.AttachedClusterErrorOrBuilder getErrorsOrBuilder( int index) { if (errorsBuilder_ == null) { - return errors_.get(index); - } else { + return errors_.get(index); } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -5316,65 +4705,49 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterErrorOrBuilder getErrors } } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder addErrorsBuilder() { - return getErrorsFieldBuilder() - .addBuilder(com.google.cloud.gkemulticloud.v1.AttachedClusterError.getDefaultInstance()); + return getErrorsFieldBuilder().addBuilder( + com.google.cloud.gkemulticloud.v1.AttachedClusterError.getDefaultInstance()); } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder addErrorsBuilder( int index) { - return getErrorsFieldBuilder() - .addBuilder( - index, com.google.cloud.gkemulticloud.v1.AttachedClusterError.getDefaultInstance()); + return getErrorsFieldBuilder().addBuilder( + index, com.google.cloud.gkemulticloud.v1.AttachedClusterError.getDefaultInstance()); } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedClusterError, - com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder, - com.google.cloud.gkemulticloud.v1.AttachedClusterErrorOrBuilder> + com.google.cloud.gkemulticloud.v1.AttachedClusterError, com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterErrorOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedClusterError, - com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder, - com.google.cloud.gkemulticloud.v1.AttachedClusterErrorOrBuilder>( - errors_, ((bitField0_ & 0x00020000) != 0), getParentForChildren(), isClean()); + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AttachedClusterError, com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterErrorOrBuilder>( + errors_, + ((bitField0_ & 0x00020000) != 0), + getParentForChildren(), + isClean()); errors_ = null; } return errorsBuilder_; @@ -5382,61 +4755,41 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder addErrorsB private com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization, - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.Builder, - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorizationOrBuilder> - authorizationBuilder_; + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization, com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.Builder, com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorizationOrBuilder> authorizationBuilder_; /** - * - * *
      * Optional. Configuration related to the cluster RBAC settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the authorization field is set. */ public boolean hasAuthorization() { return ((bitField0_ & 0x00040000) != 0); } /** - * - * *
      * Optional. Configuration related to the cluster RBAC settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; * @return The authorization. */ public com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization getAuthorization() { if (authorizationBuilder_ == null) { - return authorization_ == null - ? com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.getDefaultInstance() - : authorization_; + return authorization_ == null ? com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.getDefaultInstance() : authorization_; } else { return authorizationBuilder_.getMessage(); } } /** - * - * *
      * Optional. Configuration related to the cluster RBAC settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setAuthorization( - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization value) { + public Builder setAuthorization(com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization value) { if (authorizationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5450,15 +4803,11 @@ public Builder setAuthorization( return this; } /** - * - * *
      * Optional. Configuration related to the cluster RBAC settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setAuthorization( com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.Builder builderForValue) { @@ -5472,24 +4821,17 @@ public Builder setAuthorization( return this; } /** - * - * *
      * Optional. Configuration related to the cluster RBAC settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeAuthorization( - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization value) { + public Builder mergeAuthorization(com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization value) { if (authorizationBuilder_ == null) { - if (((bitField0_ & 0x00040000) != 0) - && authorization_ != null - && authorization_ - != com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization - .getDefaultInstance()) { + if (((bitField0_ & 0x00040000) != 0) && + authorization_ != null && + authorization_ != com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.getDefaultInstance()) { getAuthorizationBuilder().mergeFrom(value); } else { authorization_ = value; @@ -5502,15 +4844,11 @@ public Builder mergeAuthorization( return this; } /** - * - * *
      * Optional. Configuration related to the cluster RBAC settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearAuthorization() { bitField0_ = (bitField0_ & ~0x00040000); @@ -5523,66 +4861,48 @@ public Builder clearAuthorization() { return this; } /** - * - * *
      * Optional. Configuration related to the cluster RBAC settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.Builder - getAuthorizationBuilder() { + public com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.Builder getAuthorizationBuilder() { bitField0_ |= 0x00040000; onChanged(); return getAuthorizationFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Configuration related to the cluster RBAC settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorizationOrBuilder - getAuthorizationOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorizationOrBuilder getAuthorizationOrBuilder() { if (authorizationBuilder_ != null) { return authorizationBuilder_.getMessageOrBuilder(); } else { - return authorization_ == null - ? com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.getDefaultInstance() - : authorization_; + return authorization_ == null ? + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.getDefaultInstance() : authorization_; } } /** - * - * *
      * Optional. Configuration related to the cluster RBAC settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization, - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.Builder, - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorizationOrBuilder> + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization, com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.Builder, com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorizationOrBuilder> getAuthorizationFieldBuilder() { if (authorizationBuilder_ == null) { - authorizationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization, - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.Builder, - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorizationOrBuilder>( - getAuthorization(), getParentForChildren(), isClean()); + authorizationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization, com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.Builder, com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorizationOrBuilder>( + getAuthorization(), + getParentForChildren(), + isClean()); authorization_ = null; } return authorizationBuilder_; @@ -5590,58 +4910,39 @@ public Builder clearAuthorization() { private com.google.cloud.gkemulticloud.v1.MonitoringConfig monitoringConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.MonitoringConfig, - com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, - com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder> - monitoringConfigBuilder_; + com.google.cloud.gkemulticloud.v1.MonitoringConfig, com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder> monitoringConfigBuilder_; /** - * - * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the monitoringConfig field is set. */ public boolean hasMonitoringConfig() { return ((bitField0_ & 0x00080000) != 0); } /** - * - * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; * @return The monitoringConfig. */ public com.google.cloud.gkemulticloud.v1.MonitoringConfig getMonitoringConfig() { if (monitoringConfigBuilder_ == null) { - return monitoringConfig_ == null - ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() - : monitoringConfig_; + return monitoringConfig_ == null ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; } else { return monitoringConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setMonitoringConfig(com.google.cloud.gkemulticloud.v1.MonitoringConfig value) { if (monitoringConfigBuilder_ == null) { @@ -5657,15 +4958,11 @@ public Builder setMonitoringConfig(com.google.cloud.gkemulticloud.v1.MonitoringC return this; } /** - * - * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setMonitoringConfig( com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder builderForValue) { @@ -5679,22 +4976,17 @@ public Builder setMonitoringConfig( return this; } /** - * - * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeMonitoringConfig(com.google.cloud.gkemulticloud.v1.MonitoringConfig value) { if (monitoringConfigBuilder_ == null) { - if (((bitField0_ & 0x00080000) != 0) - && monitoringConfig_ != null - && monitoringConfig_ - != com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00080000) != 0) && + monitoringConfig_ != null && + monitoringConfig_ != com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance()) { getMonitoringConfigBuilder().mergeFrom(value); } else { monitoringConfig_ = value; @@ -5707,15 +4999,11 @@ public Builder mergeMonitoringConfig(com.google.cloud.gkemulticloud.v1.Monitorin return this; } /** - * - * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearMonitoringConfig() { bitField0_ = (bitField0_ & ~0x00080000); @@ -5728,15 +5016,11 @@ public Builder clearMonitoringConfig() { return this; } /** - * - * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder getMonitoringConfigBuilder() { bitField0_ |= 0x00080000; @@ -5744,56 +5028,353 @@ public com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder getMonitoringC return getMonitoringConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder - getMonitoringConfigOrBuilder() { + public com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBuilder() { if (monitoringConfigBuilder_ != null) { return monitoringConfigBuilder_.getMessageOrBuilder(); } else { - return monitoringConfig_ == null - ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() - : monitoringConfig_; + return monitoringConfig_ == null ? + com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; } } /** - * - * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.MonitoringConfig, - com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, - com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.MonitoringConfig, com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder> getMonitoringConfigFieldBuilder() { if (monitoringConfigBuilder_ == null) { - monitoringConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.MonitoringConfig, - com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, - com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder>( - getMonitoringConfig(), getParentForChildren(), isClean()); + monitoringConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.MonitoringConfig, com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder>( + getMonitoringConfig(), + getParentForChildren(), + isClean()); monitoringConfig_ = null; } return monitoringConfigBuilder_; } + private com.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxyConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig, com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder> proxyConfigBuilder_; + /** + *
+     * Optional. Proxy configuration for outbound HTTP(S) traffic.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the proxyConfig field is set. + */ + public boolean hasProxyConfig() { + return ((bitField0_ & 0x00100000) != 0); + } + /** + *
+     * Optional. Proxy configuration for outbound HTTP(S) traffic.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * @return The proxyConfig. + */ + public com.google.cloud.gkemulticloud.v1.AttachedProxyConfig getProxyConfig() { + if (proxyConfigBuilder_ == null) { + return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() : proxyConfig_; + } else { + return proxyConfigBuilder_.getMessage(); + } + } + /** + *
+     * Optional. Proxy configuration for outbound HTTP(S) traffic.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setProxyConfig(com.google.cloud.gkemulticloud.v1.AttachedProxyConfig value) { + if (proxyConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + proxyConfig_ = value; + } else { + proxyConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00100000; + onChanged(); + return this; + } + /** + *
+     * Optional. Proxy configuration for outbound HTTP(S) traffic.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setProxyConfig( + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder builderForValue) { + if (proxyConfigBuilder_ == null) { + proxyConfig_ = builderForValue.build(); + } else { + proxyConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00100000; + onChanged(); + return this; + } + /** + *
+     * Optional. Proxy configuration for outbound HTTP(S) traffic.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder mergeProxyConfig(com.google.cloud.gkemulticloud.v1.AttachedProxyConfig value) { + if (proxyConfigBuilder_ == null) { + if (((bitField0_ & 0x00100000) != 0) && + proxyConfig_ != null && + proxyConfig_ != com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance()) { + getProxyConfigBuilder().mergeFrom(value); + } else { + proxyConfig_ = value; + } + } else { + proxyConfigBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00100000; + onChanged(); + return this; + } + /** + *
+     * Optional. Proxy configuration for outbound HTTP(S) traffic.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder clearProxyConfig() { + bitField0_ = (bitField0_ & ~0x00100000); + proxyConfig_ = null; + if (proxyConfigBuilder_ != null) { + proxyConfigBuilder_.dispose(); + proxyConfigBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * Optional. Proxy configuration for outbound HTTP(S) traffic.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder getProxyConfigBuilder() { + bitField0_ |= 0x00100000; + onChanged(); + return getProxyConfigFieldBuilder().getBuilder(); + } + /** + *
+     * Optional. Proxy configuration for outbound HTTP(S) traffic.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder getProxyConfigOrBuilder() { + if (proxyConfigBuilder_ != null) { + return proxyConfigBuilder_.getMessageOrBuilder(); + } else { + return proxyConfig_ == null ? + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() : proxyConfig_; + } + } + /** + *
+     * Optional. Proxy configuration for outbound HTTP(S) traffic.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig, com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder> + getProxyConfigFieldBuilder() { + if (proxyConfigBuilder_ == null) { + proxyConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig, com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder>( + getProxyConfig(), + getParentForChildren(), + isClean()); + proxyConfig_ = null; + } + return proxyConfigBuilder_; + } + + private com.google.cloud.gkemulticloud.v1.BinaryAuthorization binaryAuthorization_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.BinaryAuthorization, com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder, com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder> binaryAuthorizationBuilder_; + /** + *
+     * Optional. Binary Authorization configuration for this cluster.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the binaryAuthorization field is set. + */ + public boolean hasBinaryAuthorization() { + return ((bitField0_ & 0x00200000) != 0); + } + /** + *
+     * Optional. Binary Authorization configuration for this cluster.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * @return The binaryAuthorization. + */ + public com.google.cloud.gkemulticloud.v1.BinaryAuthorization getBinaryAuthorization() { + if (binaryAuthorizationBuilder_ == null) { + return binaryAuthorization_ == null ? com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; + } else { + return binaryAuthorizationBuilder_.getMessage(); + } + } + /** + *
+     * Optional. Binary Authorization configuration for this cluster.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setBinaryAuthorization(com.google.cloud.gkemulticloud.v1.BinaryAuthorization value) { + if (binaryAuthorizationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + binaryAuthorization_ = value; + } else { + binaryAuthorizationBuilder_.setMessage(value); + } + bitField0_ |= 0x00200000; + onChanged(); + return this; + } + /** + *
+     * Optional. Binary Authorization configuration for this cluster.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setBinaryAuthorization( + com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder builderForValue) { + if (binaryAuthorizationBuilder_ == null) { + binaryAuthorization_ = builderForValue.build(); + } else { + binaryAuthorizationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00200000; + onChanged(); + return this; + } + /** + *
+     * Optional. Binary Authorization configuration for this cluster.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder mergeBinaryAuthorization(com.google.cloud.gkemulticloud.v1.BinaryAuthorization value) { + if (binaryAuthorizationBuilder_ == null) { + if (((bitField0_ & 0x00200000) != 0) && + binaryAuthorization_ != null && + binaryAuthorization_ != com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance()) { + getBinaryAuthorizationBuilder().mergeFrom(value); + } else { + binaryAuthorization_ = value; + } + } else { + binaryAuthorizationBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00200000; + onChanged(); + return this; + } + /** + *
+     * Optional. Binary Authorization configuration for this cluster.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder clearBinaryAuthorization() { + bitField0_ = (bitField0_ & ~0x00200000); + binaryAuthorization_ = null; + if (binaryAuthorizationBuilder_ != null) { + binaryAuthorizationBuilder_.dispose(); + binaryAuthorizationBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * Optional. Binary Authorization configuration for this cluster.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder getBinaryAuthorizationBuilder() { + bitField0_ |= 0x00200000; + onChanged(); + return getBinaryAuthorizationFieldBuilder().getBuilder(); + } + /** + *
+     * Optional. Binary Authorization configuration for this cluster.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder() { + if (binaryAuthorizationBuilder_ != null) { + return binaryAuthorizationBuilder_.getMessageOrBuilder(); + } else { + return binaryAuthorization_ == null ? + com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; + } + } + /** + *
+     * Optional. Binary Authorization configuration for this cluster.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.BinaryAuthorization, com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder, com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder> + getBinaryAuthorizationFieldBuilder() { + if (binaryAuthorizationBuilder_ == null) { + binaryAuthorizationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.BinaryAuthorization, com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder, com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder>( + getBinaryAuthorization(), + getParentForChildren(), + isClean()); + binaryAuthorization_ = null; + } + return binaryAuthorizationBuilder_; + } @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5803,12 +5384,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AttachedCluster) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AttachedCluster) private static final com.google.cloud.gkemulticloud.v1.AttachedCluster DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AttachedCluster(); } @@ -5817,27 +5398,27 @@ public static com.google.cloud.gkemulticloud.v1.AttachedCluster getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AttachedCluster parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AttachedCluster parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5852,4 +5433,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AttachedCluster getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterError.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterError.java similarity index 66% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterError.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterError.java index b2b7354e3a0f..ce066383ced3 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterError.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterError.java @@ -1,80 +1,57 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * AttachedClusterError describes errors found on attached clusters.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedClusterError} */ -public final class AttachedClusterError extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AttachedClusterError extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AttachedClusterError) AttachedClusterErrorOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AttachedClusterError.newBuilder() to construct. private AttachedClusterError(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AttachedClusterError() { message_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AttachedClusterError(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AttachedClusterError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClusterError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AttachedClusterError_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClusterError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AttachedClusterError.class, - com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder.class); + com.google.cloud.gkemulticloud.v1.AttachedClusterError.class, com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder.class); } public static final int MESSAGE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** - * - * *
    * Human-friendly description of the error.
    * 
* * string message = 1; - * * @return The message. */ @java.lang.Override @@ -83,29 +60,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** - * - * *
    * Human-friendly description of the error.
    * 
* * string message = 1; - * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -114,7 +91,6 @@ public com.google.protobuf.ByteString getMessageBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,7 +102,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } @@ -150,15 +127,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AttachedClusterError)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AttachedClusterError other = - (com.google.cloud.gkemulticloud.v1.AttachedClusterError) obj; + com.google.cloud.gkemulticloud.v1.AttachedClusterError other = (com.google.cloud.gkemulticloud.v1.AttachedClusterError) obj; - if (!getMessage().equals(other.getMessage())) return false; + if (!getMessage() + .equals(other.getMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -178,136 +155,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AttachedClusterError parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AttachedClusterError parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedClusterError parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AttachedClusterError parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedClusterError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AttachedClusterError parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AttachedClusterError parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AttachedClusterError parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AttachedClusterError parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedClusterError parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AttachedClusterError parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AttachedClusterError parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedClusterError parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AttachedClusterError parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.AttachedClusterError prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AttachedClusterError prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * AttachedClusterError describes errors found on attached clusters.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedClusterError} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AttachedClusterError) com.google.cloud.gkemulticloud.v1.AttachedClusterErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AttachedClusterError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClusterError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AttachedClusterError_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClusterError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AttachedClusterError.class, - com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder.class); + com.google.cloud.gkemulticloud.v1.AttachedClusterError.class, com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AttachedClusterError.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -317,9 +289,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AttachedClusterError_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClusterError_descriptor; } @java.lang.Override @@ -338,11 +310,8 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterError build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedClusterError buildPartial() { - com.google.cloud.gkemulticloud.v1.AttachedClusterError result = - new com.google.cloud.gkemulticloud.v1.AttachedClusterError(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.AttachedClusterError result = new com.google.cloud.gkemulticloud.v1.AttachedClusterError(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -358,39 +327,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AttachedClusterErro public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AttachedClusterError) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedClusterError) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedClusterError)other); } else { super.mergeFrom(other); return this; @@ -398,8 +366,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AttachedClusterError other) { - if (other == com.google.cloud.gkemulticloud.v1.AttachedClusterError.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.AttachedClusterError.getDefaultInstance()) return this; if (!other.getMessage().isEmpty()) { message_ = other.message_; bitField0_ |= 0x00000001; @@ -431,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -453,25 +418,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object message_ = ""; /** - * - * *
      * Human-friendly description of the error.
      * 
* * string message = 1; - * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -480,21 +442,20 @@ public java.lang.String getMessage() { } } /** - * - * *
      * Human-friendly description of the error.
      * 
* * string message = 1; - * * @return The bytes for message. */ - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -502,35 +463,28 @@ public com.google.protobuf.ByteString getMessageBytes() { } } /** - * - * *
      * Human-friendly description of the error.
      * 
* * string message = 1; - * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Human-friendly description of the error.
      * 
* * string message = 1; - * * @return This builder for chaining. */ public Builder clearMessage() { @@ -540,30 +494,26 @@ public Builder clearMessage() { return this; } /** - * - * *
      * Human-friendly description of the error.
      * 
* * string message = 1; - * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -573,12 +523,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AttachedClusterError) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AttachedClusterError) private static final com.google.cloud.gkemulticloud.v1.AttachedClusterError DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AttachedClusterError(); } @@ -587,27 +537,27 @@ public static com.google.cloud.gkemulticloud.v1.AttachedClusterError getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AttachedClusterError parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AttachedClusterError parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -622,4 +572,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AttachedClusterError getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterErrorOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterErrorOrBuilder.java new file mode 100644 index 000000000000..d5c4ad826529 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterErrorOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/attached_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface AttachedClusterErrorOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AttachedClusterError) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Human-friendly description of the error.
+   * 
+ * + * string message = 1; + * @return The message. + */ + java.lang.String getMessage(); + /** + *
+   * Human-friendly description of the error.
+   * 
+ * + * string message = 1; + * @return The bytes for message. + */ + com.google.protobuf.ByteString + getMessageBytes(); +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterGroup.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterGroup.java new file mode 100644 index 000000000000..c24b69d50a36 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterGroup.java @@ -0,0 +1,577 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/attached_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +/** + *
+ * Identities of a group-type subject for Attached clusters.
+ * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedClusterGroup} + */ +public final class AttachedClusterGroup extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AttachedClusterGroup) + AttachedClusterGroupOrBuilder { +private static final long serialVersionUID = 0L; + // Use AttachedClusterGroup.newBuilder() to construct. + private AttachedClusterGroup(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AttachedClusterGroup() { + group_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AttachedClusterGroup(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClusterGroup_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClusterGroup_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.class, com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.Builder.class); + } + + public static final int GROUP_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object group_ = ""; + /** + *
+   * Required. The name of the group, e.g. `my-group@domain.com`.
+   * 
+ * + * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The group. + */ + @java.lang.Override + public java.lang.String getGroup() { + java.lang.Object ref = group_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + group_ = s; + return s; + } + } + /** + *
+   * Required. The name of the group, e.g. `my-group@domain.com`.
+   * 
+ * + * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for group. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getGroupBytes() { + java.lang.Object ref = group_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + group_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(group_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(group_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, group_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AttachedClusterGroup)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.AttachedClusterGroup other = (com.google.cloud.gkemulticloud.v1.AttachedClusterGroup) obj; + + if (!getGroup() + .equals(other.getGroup())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + GROUP_FIELD_NUMBER; + hash = (53 * hash) + getGroup().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.AttachedClusterGroup parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterGroup parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterGroup parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterGroup parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterGroup parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterGroup parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterGroup parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterGroup parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.AttachedClusterGroup parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.AttachedClusterGroup parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterGroup parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterGroup parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AttachedClusterGroup prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Identities of a group-type subject for Attached clusters.
+   * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedClusterGroup} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AttachedClusterGroup) + com.google.cloud.gkemulticloud.v1.AttachedClusterGroupOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClusterGroup_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClusterGroup_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.class, com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + group_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClusterGroup_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AttachedClusterGroup getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AttachedClusterGroup build() { + com.google.cloud.gkemulticloud.v1.AttachedClusterGroup result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AttachedClusterGroup buildPartial() { + com.google.cloud.gkemulticloud.v1.AttachedClusterGroup result = new com.google.cloud.gkemulticloud.v1.AttachedClusterGroup(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.gkemulticloud.v1.AttachedClusterGroup result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.group_ = group_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.AttachedClusterGroup) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedClusterGroup)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AttachedClusterGroup other) { + if (other == com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.getDefaultInstance()) return this; + if (!other.getGroup().isEmpty()) { + group_ = other.group_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + group_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object group_ = ""; + /** + *
+     * Required. The name of the group, e.g. `my-group@domain.com`.
+     * 
+ * + * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The group. + */ + public java.lang.String getGroup() { + java.lang.Object ref = group_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + group_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The name of the group, e.g. `my-group@domain.com`.
+     * 
+ * + * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for group. + */ + public com.google.protobuf.ByteString + getGroupBytes() { + java.lang.Object ref = group_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + group_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The name of the group, e.g. `my-group@domain.com`.
+     * 
+ * + * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param value The group to set. + * @return This builder for chaining. + */ + public Builder setGroup( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + group_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Required. The name of the group, e.g. `my-group@domain.com`.
+     * 
+ * + * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearGroup() { + group_ = getDefaultInstance().getGroup(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     * Required. The name of the group, e.g. `my-group@domain.com`.
+     * 
+ * + * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for group to set. + * @return This builder for chaining. + */ + public Builder setGroupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + group_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AttachedClusterGroup) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AttachedClusterGroup) + private static final com.google.cloud.gkemulticloud.v1.AttachedClusterGroup DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AttachedClusterGroup(); + } + + public static com.google.cloud.gkemulticloud.v1.AttachedClusterGroup getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AttachedClusterGroup parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AttachedClusterGroup getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterGroupOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterGroupOrBuilder.java new file mode 100644 index 000000000000..b656a21f528b --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterGroupOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/attached_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface AttachedClusterGroupOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AttachedClusterGroup) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the group, e.g. `my-group@domain.com`.
+   * 
+ * + * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The group. + */ + java.lang.String getGroup(); + /** + *
+   * Required. The name of the group, e.g. `my-group@domain.com`.
+   * 
+ * + * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for group. + */ + com.google.protobuf.ByteString + getGroupBytes(); +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterName.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterName.java similarity index 100% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterName.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterName.java diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterOrBuilder.java similarity index 68% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterOrBuilder.java index 58242483a84d..842c0945e6e5 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AttachedClusterOrBuilder - extends +public interface AttachedClusterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AttachedCluster) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of this resource.
    *
@@ -37,13 +19,10 @@ public interface AttachedClusterOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of this resource.
    *
@@ -55,82 +34,61 @@ public interface AttachedClusterOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. A human readable description of this cluster.
    * Cannot be longer than 255 UTF-8 encoded bytes.
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. A human readable description of this cluster.
    * Cannot be longer than 255 UTF-8 encoded bytes.
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Required. OpenID Connect (OIDC) configuration for the cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the oidcConfig field is set. */ boolean hasOidcConfig(); /** - * - * *
    * Required. OpenID Connect (OIDC) configuration for the cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The oidcConfig. */ com.google.cloud.gkemulticloud.v1.AttachedOidcConfig getOidcConfig(); /** - * - * *
    * Required. OpenID Connect (OIDC) configuration for the cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gkemulticloud.v1.AttachedOidcConfigOrBuilder getOidcConfigOrBuilder(); /** - * - * *
    * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
    *
@@ -140,13 +98,10 @@ public interface AttachedClusterOrBuilder
    * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The platformVersion. */ java.lang.String getPlatformVersion(); /** - * - * *
    * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
    *
@@ -156,43 +111,36 @@ public interface AttachedClusterOrBuilder
    * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for platformVersion. */ - com.google.protobuf.ByteString getPlatformVersionBytes(); + com.google.protobuf.ByteString + getPlatformVersionBytes(); /** - * - * *
    * Required. The Kubernetes distribution of the underlying attached cluster.
    *
-   * Supported values: ["eks", "aks"].
+   * Supported values: ["eks", "aks", "generic"].
    * 
* * string distribution = 16 [(.google.api.field_behavior) = REQUIRED]; - * * @return The distribution. */ java.lang.String getDistribution(); /** - * - * *
    * Required. The Kubernetes distribution of the underlying attached cluster.
    *
-   * Supported values: ["eks", "aks"].
+   * Supported values: ["eks", "aks", "generic"].
    * 
* * string distribution = 16 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for distribution. */ - com.google.protobuf.ByteString getDistributionBytes(); + com.google.protobuf.ByteString + getDistributionBytes(); /** - * - * *
    * Output only. The region where this cluster runs.
    *
@@ -201,13 +149,10 @@ public interface AttachedClusterOrBuilder
    * 
* * string cluster_region = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The clusterRegion. */ java.lang.String getClusterRegion(); /** - * - * *
    * Output only. The region where this cluster runs.
    *
@@ -216,195 +161,142 @@ public interface AttachedClusterOrBuilder
    * 
* * string cluster_region = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for clusterRegion. */ - com.google.protobuf.ByteString getClusterRegionBytes(); + com.google.protobuf.ByteString + getClusterRegionBytes(); /** - * - * *
    * Required. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the fleet field is set. */ boolean hasFleet(); /** - * - * *
    * Required. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The fleet. */ com.google.cloud.gkemulticloud.v1.Fleet getFleet(); /** - * - * *
    * Required. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder(); /** - * - * *
    * Output only. The current state of the cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current state of the cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.gkemulticloud.v1.AttachedCluster.State getState(); /** - * - * *
    * Output only. A globally unique identifier for the cluster.
    * 
* * string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. A globally unique identifier for the cluster.
    * 
* * string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Output only. If set, there are currently changes in flight to the cluster.
    * 
* * bool reconciling = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ boolean getReconciling(); /** - * - * *
    * Output only. The time at which this cluster was registered.
    * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time at which this cluster was registered.
    * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time at which this cluster was registered.
    * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -414,13 +306,10 @@ public interface AttachedClusterOrBuilder
    * 
* * string etag = 11; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -430,39 +319,32 @@ public interface AttachedClusterOrBuilder
    * 
* * string etag = 11; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Output only. The Kubernetes version of the cluster.
    * 
* * string kubernetes_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The kubernetesVersion. */ java.lang.String getKubernetesVersion(); /** - * - * *
    * Output only. The Kubernetes version of the cluster.
    * 
* * string kubernetes_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for kubernetesVersion. */ - com.google.protobuf.ByteString getKubernetesVersionBytes(); + com.google.protobuf.ByteString + getKubernetesVersionBytes(); /** - * - * *
    * Optional. Annotations on the cluster.
    *
@@ -475,13 +357,10 @@ public interface AttachedClusterOrBuilder
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; */ int getAnnotationsCount(); /** - * - * *
    * Optional. Annotations on the cluster.
    *
@@ -494,16 +373,17 @@ public interface AttachedClusterOrBuilder
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + */ + boolean containsAnnotations( + java.lang.String key); + /** + * Use {@link #getAnnotationsMap()} instead. */ - boolean containsAnnotations(java.lang.String key); - /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Deprecated - java.util.Map getAnnotations(); + java.util.Map + getAnnotations(); /** - * - * *
    * Optional. Annotations on the cluster.
    *
@@ -516,13 +396,11 @@ public interface AttachedClusterOrBuilder
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map getAnnotationsMap(); + java.util.Map + getAnnotationsMap(); /** - * - * *
    * Optional. Annotations on the cluster.
    *
@@ -535,17 +413,14 @@ public interface AttachedClusterOrBuilder
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ - java.lang.String getAnnotationsOrDefault( +java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Optional. Annotations on the cluster.
    *
@@ -558,236 +433,214 @@ java.lang.String getAnnotationsOrDefault(
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getAnnotationsOrThrow(java.lang.String key); + java.lang.String getAnnotationsOrThrow( + java.lang.String key); /** - * - * *
    * Output only. Workload Identity settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the workloadIdentityConfig field is set. */ boolean hasWorkloadIdentityConfig(); /** - * - * *
    * Output only. Workload Identity settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The workloadIdentityConfig. */ com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig getWorkloadIdentityConfig(); /** - * - * *
    * Output only. Workload Identity settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder - getWorkloadIdentityConfigOrBuilder(); + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder(); /** - * - * *
    * Optional. Logging configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** - * - * *
    * Optional. Logging configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; * @return The loggingConfig. */ com.google.cloud.gkemulticloud.v1.LoggingConfig getLoggingConfig(); /** - * - * *
    * Optional. Logging configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder(); /** - * - * *
    * Output only. A set of errors found in the cluster.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getErrorsList(); + java.util.List + getErrorsList(); /** - * - * *
    * Output only. A set of errors found in the cluster.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.gkemulticloud.v1.AttachedClusterError getErrors(int index); /** - * - * *
    * Output only. A set of errors found in the cluster.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getErrorsCount(); /** - * - * *
    * Output only. A set of errors found in the cluster.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getErrorsOrBuilderList(); /** - * - * *
    * Output only. A set of errors found in the cluster.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.gkemulticloud.v1.AttachedClusterErrorOrBuilder getErrorsOrBuilder(int index); + com.google.cloud.gkemulticloud.v1.AttachedClusterErrorOrBuilder getErrorsOrBuilder( + int index); /** - * - * *
    * Optional. Configuration related to the cluster RBAC settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the authorization field is set. */ boolean hasAuthorization(); /** - * - * *
    * Optional. Configuration related to the cluster RBAC settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; * @return The authorization. */ com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization getAuthorization(); /** - * - * *
    * Optional. Configuration related to the cluster RBAC settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorizationOrBuilder - getAuthorizationOrBuilder(); + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorizationOrBuilder getAuthorizationOrBuilder(); /** - * - * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the monitoringConfig field is set. */ boolean hasMonitoringConfig(); /** - * - * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; * @return The monitoringConfig. */ com.google.cloud.gkemulticloud.v1.MonitoringConfig getMonitoringConfig(); /** - * - * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBuilder(); + + /** + *
+   * Optional. Proxy configuration for outbound HTTP(S) traffic.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the proxyConfig field is set. + */ + boolean hasProxyConfig(); + /** + *
+   * Optional. Proxy configuration for outbound HTTP(S) traffic.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * @return The proxyConfig. + */ + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig getProxyConfig(); + /** + *
+   * Optional. Proxy configuration for outbound HTTP(S) traffic.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder getProxyConfigOrBuilder(); + + /** + *
+   * Optional. Binary Authorization configuration for this cluster.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the binaryAuthorization field is set. + */ + boolean hasBinaryAuthorization(); + /** + *
+   * Optional. Binary Authorization configuration for this cluster.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * @return The binaryAuthorization. + */ + com.google.cloud.gkemulticloud.v1.BinaryAuthorization getBinaryAuthorization(); + /** + *
+   * Optional. Binary Authorization configuration for this cluster.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterUser.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterUser.java similarity index 67% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterUser.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterUser.java index 185b2ccd727e..6135ad687940 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterUser.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterUser.java @@ -1,80 +1,57 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Identities of a user-type subject for Attached clusters.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedClusterUser} */ -public final class AttachedClusterUser extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AttachedClusterUser extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AttachedClusterUser) AttachedClusterUserOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AttachedClusterUser.newBuilder() to construct. private AttachedClusterUser(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AttachedClusterUser() { username_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AttachedClusterUser(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AttachedClusterUser_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClusterUser_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AttachedClusterUser_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClusterUser_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AttachedClusterUser.class, - com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder.class); + com.google.cloud.gkemulticloud.v1.AttachedClusterUser.class, com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder.class); } public static final int USERNAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object username_ = ""; /** - * - * *
    * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
    * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The username. */ @java.lang.Override @@ -83,29 +60,29 @@ public java.lang.String getUsername() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; } } /** - * - * *
    * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
    * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for username. */ @java.lang.Override - public com.google.protobuf.ByteString getUsernameBytes() { + public com.google.protobuf.ByteString + getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); username_ = b; return b; } else { @@ -114,7 +91,6 @@ public com.google.protobuf.ByteString getUsernameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,7 +102,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(username_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, username_); } @@ -150,15 +127,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AttachedClusterUser)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AttachedClusterUser other = - (com.google.cloud.gkemulticloud.v1.AttachedClusterUser) obj; + com.google.cloud.gkemulticloud.v1.AttachedClusterUser other = (com.google.cloud.gkemulticloud.v1.AttachedClusterUser) obj; - if (!getUsername().equals(other.getUsername())) return false; + if (!getUsername() + .equals(other.getUsername())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -178,136 +155,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AttachedClusterUser parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AttachedClusterUser parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedClusterUser parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AttachedClusterUser parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedClusterUser parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AttachedClusterUser parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AttachedClusterUser parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AttachedClusterUser parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AttachedClusterUser parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedClusterUser parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AttachedClusterUser parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AttachedClusterUser parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedClusterUser parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AttachedClusterUser parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.AttachedClusterUser prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AttachedClusterUser prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Identities of a user-type subject for Attached clusters.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedClusterUser} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AttachedClusterUser) com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AttachedClusterUser_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClusterUser_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AttachedClusterUser_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClusterUser_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AttachedClusterUser.class, - com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder.class); + com.google.cloud.gkemulticloud.v1.AttachedClusterUser.class, com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AttachedClusterUser.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -317,9 +289,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AttachedClusterUser_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClusterUser_descriptor; } @java.lang.Override @@ -338,11 +310,8 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterUser build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedClusterUser buildPartial() { - com.google.cloud.gkemulticloud.v1.AttachedClusterUser result = - new com.google.cloud.gkemulticloud.v1.AttachedClusterUser(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.AttachedClusterUser result = new com.google.cloud.gkemulticloud.v1.AttachedClusterUser(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -358,39 +327,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AttachedClusterUser public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AttachedClusterUser) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedClusterUser) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedClusterUser)other); } else { super.mergeFrom(other); return this; @@ -398,8 +366,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AttachedClusterUser other) { - if (other == com.google.cloud.gkemulticloud.v1.AttachedClusterUser.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.AttachedClusterUser.getDefaultInstance()) return this; if (!other.getUsername().isEmpty()) { username_ = other.username_; bitField0_ |= 0x00000001; @@ -431,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - username_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + username_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -453,25 +418,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object username_ = ""; /** - * - * *
      * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
      * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The username. */ public java.lang.String getUsername() { java.lang.Object ref = username_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; @@ -480,21 +442,20 @@ public java.lang.String getUsername() { } } /** - * - * *
      * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
      * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for username. */ - public com.google.protobuf.ByteString getUsernameBytes() { + public com.google.protobuf.ByteString + getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); username_ = b; return b; } else { @@ -502,35 +463,28 @@ public com.google.protobuf.ByteString getUsernameBytes() { } } /** - * - * *
      * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
      * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The username to set. * @return This builder for chaining. */ - public Builder setUsername(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUsername( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } username_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
      * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUsername() { @@ -540,30 +494,26 @@ public Builder clearUsername() { return this; } /** - * - * *
      * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
      * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for username to set. * @return This builder for chaining. */ - public Builder setUsernameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUsernameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); username_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -573,12 +523,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AttachedClusterUser) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AttachedClusterUser) private static final com.google.cloud.gkemulticloud.v1.AttachedClusterUser DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AttachedClusterUser(); } @@ -587,27 +537,27 @@ public static com.google.cloud.gkemulticloud.v1.AttachedClusterUser getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AttachedClusterUser parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AttachedClusterUser parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -622,4 +572,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AttachedClusterUser getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterUserOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterUserOrBuilder.java similarity index 51% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterUserOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterUserOrBuilder.java index c7870e8c1ec5..f52211c9d61b 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterUserOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterUserOrBuilder.java @@ -1,50 +1,29 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AttachedClusterUserOrBuilder - extends +public interface AttachedClusterUserOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AttachedClusterUser) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
    * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The username. */ java.lang.String getUsername(); /** - * - * *
    * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
    * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for username. */ - com.google.protobuf.ByteString getUsernameBytes(); + com.google.protobuf.ByteString + getUsernameBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersAuthorization.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersAuthorization.java new file mode 100644 index 000000000000..7eb12d37d777 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersAuthorization.java @@ -0,0 +1,1531 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/attached_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +/** + *
+ * Configuration related to the cluster RBAC settings.
+ * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedClustersAuthorization} + */ +public final class AttachedClustersAuthorization extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AttachedClustersAuthorization) + AttachedClustersAuthorizationOrBuilder { +private static final long serialVersionUID = 0L; + // Use AttachedClustersAuthorization.newBuilder() to construct. + private AttachedClustersAuthorization(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AttachedClustersAuthorization() { + adminUsers_ = java.util.Collections.emptyList(); + adminGroups_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AttachedClustersAuthorization(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClustersAuthorization_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClustersAuthorization_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.class, com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.Builder.class); + } + + public static final int ADMIN_USERS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private java.util.List adminUsers_; + /** + *
+   * Optional. Users that can perform operations as a cluster admin. A managed
+   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+   * to the users. Up to ten admin users can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.util.List getAdminUsersList() { + return adminUsers_; + } + /** + *
+   * Optional. Users that can perform operations as a cluster admin. A managed
+   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+   * to the users. Up to ten admin users can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.util.List + getAdminUsersOrBuilderList() { + return adminUsers_; + } + /** + *
+   * Optional. Users that can perform operations as a cluster admin. A managed
+   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+   * to the users. Up to ten admin users can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public int getAdminUsersCount() { + return adminUsers_.size(); + } + /** + *
+   * Optional. Users that can perform operations as a cluster admin. A managed
+   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+   * to the users. Up to ten admin users can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AttachedClusterUser getAdminUsers(int index) { + return adminUsers_.get(index); + } + /** + *
+   * Optional. Users that can perform operations as a cluster admin. A managed
+   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+   * to the users. Up to ten admin users can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder getAdminUsersOrBuilder( + int index) { + return adminUsers_.get(index); + } + + public static final int ADMIN_GROUPS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private java.util.List adminGroups_; + /** + *
+   * Optional. Groups of users that can perform operations as a cluster admin. A
+   * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+   * ClusterRole to the groups. Up to ten admin groups can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.util.List getAdminGroupsList() { + return adminGroups_; + } + /** + *
+   * Optional. Groups of users that can perform operations as a cluster admin. A
+   * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+   * ClusterRole to the groups. Up to ten admin groups can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.util.List + getAdminGroupsOrBuilderList() { + return adminGroups_; + } + /** + *
+   * Optional. Groups of users that can perform operations as a cluster admin. A
+   * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+   * ClusterRole to the groups. Up to ten admin groups can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public int getAdminGroupsCount() { + return adminGroups_.size(); + } + /** + *
+   * Optional. Groups of users that can perform operations as a cluster admin. A
+   * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+   * ClusterRole to the groups. Up to ten admin groups can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AttachedClusterGroup getAdminGroups(int index) { + return adminGroups_.get(index); + } + /** + *
+   * Optional. Groups of users that can perform operations as a cluster admin. A
+   * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+   * ClusterRole to the groups. Up to ten admin groups can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AttachedClusterGroupOrBuilder getAdminGroupsOrBuilder( + int index) { + return adminGroups_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < adminUsers_.size(); i++) { + output.writeMessage(1, adminUsers_.get(i)); + } + for (int i = 0; i < adminGroups_.size(); i++) { + output.writeMessage(2, adminGroups_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < adminUsers_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, adminUsers_.get(i)); + } + for (int i = 0; i < adminGroups_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, adminGroups_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization other = (com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization) obj; + + if (!getAdminUsersList() + .equals(other.getAdminUsersList())) return false; + if (!getAdminGroupsList() + .equals(other.getAdminGroupsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getAdminUsersCount() > 0) { + hash = (37 * hash) + ADMIN_USERS_FIELD_NUMBER; + hash = (53 * hash) + getAdminUsersList().hashCode(); + } + if (getAdminGroupsCount() > 0) { + hash = (37 * hash) + ADMIN_GROUPS_FIELD_NUMBER; + hash = (53 * hash) + getAdminGroupsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Configuration related to the cluster RBAC settings.
+   * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedClustersAuthorization} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AttachedClustersAuthorization) + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorizationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClustersAuthorization_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClustersAuthorization_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.class, com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (adminUsersBuilder_ == null) { + adminUsers_ = java.util.Collections.emptyList(); + } else { + adminUsers_ = null; + adminUsersBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + if (adminGroupsBuilder_ == null) { + adminGroups_ = java.util.Collections.emptyList(); + } else { + adminGroups_ = null; + adminGroupsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClustersAuthorization_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization build() { + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization buildPartial() { + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization result = new com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization result) { + if (adminUsersBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + adminUsers_ = java.util.Collections.unmodifiableList(adminUsers_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.adminUsers_ = adminUsers_; + } else { + result.adminUsers_ = adminUsersBuilder_.build(); + } + if (adminGroupsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + adminGroups_ = java.util.Collections.unmodifiableList(adminGroups_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.adminGroups_ = adminGroups_; + } else { + result.adminGroups_ = adminGroupsBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization other) { + if (other == com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.getDefaultInstance()) return this; + if (adminUsersBuilder_ == null) { + if (!other.adminUsers_.isEmpty()) { + if (adminUsers_.isEmpty()) { + adminUsers_ = other.adminUsers_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureAdminUsersIsMutable(); + adminUsers_.addAll(other.adminUsers_); + } + onChanged(); + } + } else { + if (!other.adminUsers_.isEmpty()) { + if (adminUsersBuilder_.isEmpty()) { + adminUsersBuilder_.dispose(); + adminUsersBuilder_ = null; + adminUsers_ = other.adminUsers_; + bitField0_ = (bitField0_ & ~0x00000001); + adminUsersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAdminUsersFieldBuilder() : null; + } else { + adminUsersBuilder_.addAllMessages(other.adminUsers_); + } + } + } + if (adminGroupsBuilder_ == null) { + if (!other.adminGroups_.isEmpty()) { + if (adminGroups_.isEmpty()) { + adminGroups_ = other.adminGroups_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureAdminGroupsIsMutable(); + adminGroups_.addAll(other.adminGroups_); + } + onChanged(); + } + } else { + if (!other.adminGroups_.isEmpty()) { + if (adminGroupsBuilder_.isEmpty()) { + adminGroupsBuilder_.dispose(); + adminGroupsBuilder_ = null; + adminGroups_ = other.adminGroups_; + bitField0_ = (bitField0_ & ~0x00000002); + adminGroupsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAdminGroupsFieldBuilder() : null; + } else { + adminGroupsBuilder_.addAllMessages(other.adminGroups_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.cloud.gkemulticloud.v1.AttachedClusterUser m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AttachedClusterUser.parser(), + extensionRegistry); + if (adminUsersBuilder_ == null) { + ensureAdminUsersIsMutable(); + adminUsers_.add(m); + } else { + adminUsersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + com.google.cloud.gkemulticloud.v1.AttachedClusterGroup m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.parser(), + extensionRegistry); + if (adminGroupsBuilder_ == null) { + ensureAdminGroupsIsMutable(); + adminGroups_.add(m); + } else { + adminGroupsBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.util.List adminUsers_ = + java.util.Collections.emptyList(); + private void ensureAdminUsersIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + adminUsers_ = new java.util.ArrayList(adminUsers_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AttachedClusterUser, com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder> adminUsersBuilder_; + + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public java.util.List getAdminUsersList() { + if (adminUsersBuilder_ == null) { + return java.util.Collections.unmodifiableList(adminUsers_); + } else { + return adminUsersBuilder_.getMessageList(); + } + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public int getAdminUsersCount() { + if (adminUsersBuilder_ == null) { + return adminUsers_.size(); + } else { + return adminUsersBuilder_.getCount(); + } + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AttachedClusterUser getAdminUsers(int index) { + if (adminUsersBuilder_ == null) { + return adminUsers_.get(index); + } else { + return adminUsersBuilder_.getMessage(index); + } + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setAdminUsers( + int index, com.google.cloud.gkemulticloud.v1.AttachedClusterUser value) { + if (adminUsersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdminUsersIsMutable(); + adminUsers_.set(index, value); + onChanged(); + } else { + adminUsersBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setAdminUsers( + int index, com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder builderForValue) { + if (adminUsersBuilder_ == null) { + ensureAdminUsersIsMutable(); + adminUsers_.set(index, builderForValue.build()); + onChanged(); + } else { + adminUsersBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder addAdminUsers(com.google.cloud.gkemulticloud.v1.AttachedClusterUser value) { + if (adminUsersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdminUsersIsMutable(); + adminUsers_.add(value); + onChanged(); + } else { + adminUsersBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder addAdminUsers( + int index, com.google.cloud.gkemulticloud.v1.AttachedClusterUser value) { + if (adminUsersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdminUsersIsMutable(); + adminUsers_.add(index, value); + onChanged(); + } else { + adminUsersBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder addAdminUsers( + com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder builderForValue) { + if (adminUsersBuilder_ == null) { + ensureAdminUsersIsMutable(); + adminUsers_.add(builderForValue.build()); + onChanged(); + } else { + adminUsersBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder addAdminUsers( + int index, com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder builderForValue) { + if (adminUsersBuilder_ == null) { + ensureAdminUsersIsMutable(); + adminUsers_.add(index, builderForValue.build()); + onChanged(); + } else { + adminUsersBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder addAllAdminUsers( + java.lang.Iterable values) { + if (adminUsersBuilder_ == null) { + ensureAdminUsersIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, adminUsers_); + onChanged(); + } else { + adminUsersBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder clearAdminUsers() { + if (adminUsersBuilder_ == null) { + adminUsers_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + adminUsersBuilder_.clear(); + } + return this; + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder removeAdminUsers(int index) { + if (adminUsersBuilder_ == null) { + ensureAdminUsersIsMutable(); + adminUsers_.remove(index); + onChanged(); + } else { + adminUsersBuilder_.remove(index); + } + return this; + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder getAdminUsersBuilder( + int index) { + return getAdminUsersFieldBuilder().getBuilder(index); + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder getAdminUsersOrBuilder( + int index) { + if (adminUsersBuilder_ == null) { + return adminUsers_.get(index); } else { + return adminUsersBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public java.util.List + getAdminUsersOrBuilderList() { + if (adminUsersBuilder_ != null) { + return adminUsersBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(adminUsers_); + } + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder addAdminUsersBuilder() { + return getAdminUsersFieldBuilder().addBuilder( + com.google.cloud.gkemulticloud.v1.AttachedClusterUser.getDefaultInstance()); + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder addAdminUsersBuilder( + int index) { + return getAdminUsersFieldBuilder().addBuilder( + index, com.google.cloud.gkemulticloud.v1.AttachedClusterUser.getDefaultInstance()); + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public java.util.List + getAdminUsersBuilderList() { + return getAdminUsersFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AttachedClusterUser, com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder> + getAdminUsersFieldBuilder() { + if (adminUsersBuilder_ == null) { + adminUsersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AttachedClusterUser, com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder>( + adminUsers_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + adminUsers_ = null; + } + return adminUsersBuilder_; + } + + private java.util.List adminGroups_ = + java.util.Collections.emptyList(); + private void ensureAdminGroupsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + adminGroups_ = new java.util.ArrayList(adminGroups_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AttachedClusterGroup, com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterGroupOrBuilder> adminGroupsBuilder_; + + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public java.util.List getAdminGroupsList() { + if (adminGroupsBuilder_ == null) { + return java.util.Collections.unmodifiableList(adminGroups_); + } else { + return adminGroupsBuilder_.getMessageList(); + } + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public int getAdminGroupsCount() { + if (adminGroupsBuilder_ == null) { + return adminGroups_.size(); + } else { + return adminGroupsBuilder_.getCount(); + } + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AttachedClusterGroup getAdminGroups(int index) { + if (adminGroupsBuilder_ == null) { + return adminGroups_.get(index); + } else { + return adminGroupsBuilder_.getMessage(index); + } + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setAdminGroups( + int index, com.google.cloud.gkemulticloud.v1.AttachedClusterGroup value) { + if (adminGroupsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdminGroupsIsMutable(); + adminGroups_.set(index, value); + onChanged(); + } else { + adminGroupsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setAdminGroups( + int index, com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.Builder builderForValue) { + if (adminGroupsBuilder_ == null) { + ensureAdminGroupsIsMutable(); + adminGroups_.set(index, builderForValue.build()); + onChanged(); + } else { + adminGroupsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder addAdminGroups(com.google.cloud.gkemulticloud.v1.AttachedClusterGroup value) { + if (adminGroupsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdminGroupsIsMutable(); + adminGroups_.add(value); + onChanged(); + } else { + adminGroupsBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder addAdminGroups( + int index, com.google.cloud.gkemulticloud.v1.AttachedClusterGroup value) { + if (adminGroupsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdminGroupsIsMutable(); + adminGroups_.add(index, value); + onChanged(); + } else { + adminGroupsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder addAdminGroups( + com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.Builder builderForValue) { + if (adminGroupsBuilder_ == null) { + ensureAdminGroupsIsMutable(); + adminGroups_.add(builderForValue.build()); + onChanged(); + } else { + adminGroupsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder addAdminGroups( + int index, com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.Builder builderForValue) { + if (adminGroupsBuilder_ == null) { + ensureAdminGroupsIsMutable(); + adminGroups_.add(index, builderForValue.build()); + onChanged(); + } else { + adminGroupsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder addAllAdminGroups( + java.lang.Iterable values) { + if (adminGroupsBuilder_ == null) { + ensureAdminGroupsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, adminGroups_); + onChanged(); + } else { + adminGroupsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder clearAdminGroups() { + if (adminGroupsBuilder_ == null) { + adminGroups_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + adminGroupsBuilder_.clear(); + } + return this; + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder removeAdminGroups(int index) { + if (adminGroupsBuilder_ == null) { + ensureAdminGroupsIsMutable(); + adminGroups_.remove(index); + onChanged(); + } else { + adminGroupsBuilder_.remove(index); + } + return this; + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.Builder getAdminGroupsBuilder( + int index) { + return getAdminGroupsFieldBuilder().getBuilder(index); + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AttachedClusterGroupOrBuilder getAdminGroupsOrBuilder( + int index) { + if (adminGroupsBuilder_ == null) { + return adminGroups_.get(index); } else { + return adminGroupsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public java.util.List + getAdminGroupsOrBuilderList() { + if (adminGroupsBuilder_ != null) { + return adminGroupsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(adminGroups_); + } + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.Builder addAdminGroupsBuilder() { + return getAdminGroupsFieldBuilder().addBuilder( + com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.getDefaultInstance()); + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.Builder addAdminGroupsBuilder( + int index) { + return getAdminGroupsFieldBuilder().addBuilder( + index, com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.getDefaultInstance()); + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public java.util.List + getAdminGroupsBuilderList() { + return getAdminGroupsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AttachedClusterGroup, com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterGroupOrBuilder> + getAdminGroupsFieldBuilder() { + if (adminGroupsBuilder_ == null) { + adminGroupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AttachedClusterGroup, com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterGroupOrBuilder>( + adminGroups_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + adminGroups_ = null; + } + return adminGroupsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AttachedClustersAuthorization) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AttachedClustersAuthorization) + private static final com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization(); + } + + public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AttachedClustersAuthorization parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersAuthorizationOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersAuthorizationOrBuilder.java new file mode 100644 index 000000000000..6fb2d3dd1b31 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersAuthorizationOrBuilder.java @@ -0,0 +1,147 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/attached_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface AttachedClustersAuthorizationOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AttachedClustersAuthorization) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Optional. Users that can perform operations as a cluster admin. A managed
+   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+   * to the users. Up to ten admin users can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + java.util.List + getAdminUsersList(); + /** + *
+   * Optional. Users that can perform operations as a cluster admin. A managed
+   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+   * to the users. Up to ten admin users can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.cloud.gkemulticloud.v1.AttachedClusterUser getAdminUsers(int index); + /** + *
+   * Optional. Users that can perform operations as a cluster admin. A managed
+   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+   * to the users. Up to ten admin users can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + int getAdminUsersCount(); + /** + *
+   * Optional. Users that can perform operations as a cluster admin. A managed
+   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+   * to the users. Up to ten admin users can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + java.util.List + getAdminUsersOrBuilderList(); + /** + *
+   * Optional. Users that can perform operations as a cluster admin. A managed
+   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+   * to the users. Up to ten admin users can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder getAdminUsersOrBuilder( + int index); + + /** + *
+   * Optional. Groups of users that can perform operations as a cluster admin. A
+   * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+   * ClusterRole to the groups. Up to ten admin groups can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + java.util.List + getAdminGroupsList(); + /** + *
+   * Optional. Groups of users that can perform operations as a cluster admin. A
+   * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+   * ClusterRole to the groups. Up to ten admin groups can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.cloud.gkemulticloud.v1.AttachedClusterGroup getAdminGroups(int index); + /** + *
+   * Optional. Groups of users that can perform operations as a cluster admin. A
+   * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+   * ClusterRole to the groups. Up to ten admin groups can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + int getAdminGroupsCount(); + /** + *
+   * Optional. Groups of users that can perform operations as a cluster admin. A
+   * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+   * ClusterRole to the groups. Up to ten admin groups can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + java.util.List + getAdminGroupsOrBuilderList(); + /** + *
+   * Optional. Groups of users that can perform operations as a cluster admin. A
+   * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+   * ClusterRole to the groups. Up to ten admin groups can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.cloud.gkemulticloud.v1.AttachedClusterGroupOrBuilder getAdminGroupsOrBuilder( + int index); +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedOidcConfig.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedOidcConfig.java similarity index 71% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedOidcConfig.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedOidcConfig.java index 1cc1b5302bc5..d576e5e0d4f4 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedOidcConfig.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedOidcConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * OIDC discovery information of the target cluster.
  *
@@ -37,16 +20,15 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedOidcConfig}
  */
-public final class AttachedOidcConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AttachedOidcConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AttachedOidcConfig)
     AttachedOidcConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AttachedOidcConfig.newBuilder() to construct.
   private AttachedOidcConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AttachedOidcConfig() {
     issuerUrl_ = "";
     jwks_ = com.google.protobuf.ByteString.EMPTY;
@@ -54,38 +36,33 @@ private AttachedOidcConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AttachedOidcConfig();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto
-        .internal_static_google_cloud_gkemulticloud_v1_AttachedOidcConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedOidcConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto
-        .internal_static_google_cloud_gkemulticloud_v1_AttachedOidcConfig_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedOidcConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.class,
-            com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.Builder.class);
+            com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.class, com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.Builder.class);
   }
 
   public static final int ISSUER_URL_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object issuerUrl_ = "";
   /**
-   *
-   *
    * 
    * A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://`.
    * 
* * string issuer_url = 1; - * * @return The issuerUrl. */ @java.lang.Override @@ -94,29 +71,29 @@ public java.lang.String getIssuerUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issuerUrl_ = s; return s; } } /** - * - * *
    * A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://`.
    * 
* * string issuer_url = 1; - * * @return The bytes for issuerUrl. */ @java.lang.Override - public com.google.protobuf.ByteString getIssuerUrlBytes() { + public com.google.protobuf.ByteString + getIssuerUrlBytes() { java.lang.Object ref = issuerUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); issuerUrl_ = b; return b; } else { @@ -127,8 +104,6 @@ public com.google.protobuf.ByteString getIssuerUrlBytes() { public static final int JWKS_FIELD_NUMBER = 2; private com.google.protobuf.ByteString jwks_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * Optional. OIDC verification keys in JWKS format (RFC 7517).
    * It contains a list of OIDC verification keys that can be used to verify
@@ -140,7 +115,6 @@ public com.google.protobuf.ByteString getIssuerUrlBytes() {
    * 
* * bytes jwks = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The jwks. */ @java.lang.Override @@ -149,7 +123,6 @@ public com.google.protobuf.ByteString getJwks() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -161,7 +134,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issuerUrl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issuerUrl_); } @@ -181,7 +155,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, issuerUrl_); } if (!jwks_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, jwks_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, jwks_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -191,16 +166,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AttachedOidcConfig)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AttachedOidcConfig other = - (com.google.cloud.gkemulticloud.v1.AttachedOidcConfig) obj; + com.google.cloud.gkemulticloud.v1.AttachedOidcConfig other = (com.google.cloud.gkemulticloud.v1.AttachedOidcConfig) obj; - if (!getIssuerUrl().equals(other.getIssuerUrl())) return false; - if (!getJwks().equals(other.getJwks())) return false; + if (!getIssuerUrl() + .equals(other.getIssuerUrl())) return false; + if (!getJwks() + .equals(other.getJwks())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -222,103 +198,98 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AttachedOidcConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AttachedOidcConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedOidcConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AttachedOidcConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedOidcConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AttachedOidcConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AttachedOidcConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AttachedOidcConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AttachedOidcConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedOidcConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AttachedOidcConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AttachedOidcConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedOidcConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AttachedOidcConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AttachedOidcConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * OIDC discovery information of the target cluster.
    *
@@ -335,32 +306,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedOidcConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AttachedOidcConfig)
       com.google.cloud.gkemulticloud.v1.AttachedOidcConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AttachedOidcConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedOidcConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AttachedOidcConfig_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedOidcConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.class,
-              com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.Builder.class);
+              com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.class, com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -371,9 +343,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AttachedOidcConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedOidcConfig_descriptor;
     }
 
     @java.lang.Override
@@ -392,11 +364,8 @@ public com.google.cloud.gkemulticloud.v1.AttachedOidcConfig build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.AttachedOidcConfig buildPartial() {
-      com.google.cloud.gkemulticloud.v1.AttachedOidcConfig result =
-          new com.google.cloud.gkemulticloud.v1.AttachedOidcConfig(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.gkemulticloud.v1.AttachedOidcConfig result = new com.google.cloud.gkemulticloud.v1.AttachedOidcConfig(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -415,39 +384,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AttachedOidcConfig
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.AttachedOidcConfig) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedOidcConfig) other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedOidcConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -455,8 +423,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AttachedOidcConfig other) {
-      if (other == com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.getDefaultInstance()) return this;
       if (!other.getIssuerUrl().isEmpty()) {
         issuerUrl_ = other.issuerUrl_;
         bitField0_ |= 0x00000001;
@@ -491,25 +458,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                issuerUrl_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                jwks_ = input.readBytes();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              issuerUrl_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              jwks_ = input.readBytes();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -519,25 +483,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object issuerUrl_ = "";
     /**
-     *
-     *
      * 
      * A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://`.
      * 
* * string issuer_url = 1; - * * @return The issuerUrl. */ public java.lang.String getIssuerUrl() { java.lang.Object ref = issuerUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issuerUrl_ = s; return s; @@ -546,21 +507,20 @@ public java.lang.String getIssuerUrl() { } } /** - * - * *
      * A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://`.
      * 
* * string issuer_url = 1; - * * @return The bytes for issuerUrl. */ - public com.google.protobuf.ByteString getIssuerUrlBytes() { + public com.google.protobuf.ByteString + getIssuerUrlBytes() { java.lang.Object ref = issuerUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); issuerUrl_ = b; return b; } else { @@ -568,35 +528,28 @@ public com.google.protobuf.ByteString getIssuerUrlBytes() { } } /** - * - * *
      * A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://`.
      * 
* * string issuer_url = 1; - * * @param value The issuerUrl to set. * @return This builder for chaining. */ - public Builder setIssuerUrl(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIssuerUrl( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } issuerUrl_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://`.
      * 
* * string issuer_url = 1; - * * @return This builder for chaining. */ public Builder clearIssuerUrl() { @@ -606,21 +559,17 @@ public Builder clearIssuerUrl() { return this; } /** - * - * *
      * A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://`.
      * 
* * string issuer_url = 1; - * * @param value The bytes for issuerUrl to set. * @return This builder for chaining. */ - public Builder setIssuerUrlBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIssuerUrlBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); issuerUrl_ = value; bitField0_ |= 0x00000001; @@ -630,8 +579,6 @@ public Builder setIssuerUrlBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString jwks_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Optional. OIDC verification keys in JWKS format (RFC 7517).
      * It contains a list of OIDC verification keys that can be used to verify
@@ -643,7 +590,6 @@ public Builder setIssuerUrlBytes(com.google.protobuf.ByteString value) {
      * 
* * bytes jwks = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The jwks. */ @java.lang.Override @@ -651,8 +597,6 @@ public com.google.protobuf.ByteString getJwks() { return jwks_; } /** - * - * *
      * Optional. OIDC verification keys in JWKS format (RFC 7517).
      * It contains a list of OIDC verification keys that can be used to verify
@@ -664,22 +608,17 @@ public com.google.protobuf.ByteString getJwks() {
      * 
* * bytes jwks = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The jwks to set. * @return This builder for chaining. */ public Builder setJwks(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } jwks_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. OIDC verification keys in JWKS format (RFC 7517).
      * It contains a list of OIDC verification keys that can be used to verify
@@ -691,7 +630,6 @@ public Builder setJwks(com.google.protobuf.ByteString value) {
      * 
* * bytes jwks = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearJwks() { @@ -700,9 +638,9 @@ public Builder clearJwks() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -712,12 +650,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AttachedOidcConfig) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AttachedOidcConfig) private static final com.google.cloud.gkemulticloud.v1.AttachedOidcConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AttachedOidcConfig(); } @@ -726,27 +664,27 @@ public static com.google.cloud.gkemulticloud.v1.AttachedOidcConfig getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AttachedOidcConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AttachedOidcConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -761,4 +699,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AttachedOidcConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedOidcConfigOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedOidcConfigOrBuilder.java similarity index 62% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedOidcConfigOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedOidcConfigOrBuilder.java index 693b6fca48e8..a2268f73bca0 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedOidcConfigOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedOidcConfigOrBuilder.java @@ -1,56 +1,33 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AttachedOidcConfigOrBuilder - extends +public interface AttachedOidcConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AttachedOidcConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://`.
    * 
* * string issuer_url = 1; - * * @return The issuerUrl. */ java.lang.String getIssuerUrl(); /** - * - * *
    * A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://`.
    * 
* * string issuer_url = 1; - * * @return The bytes for issuerUrl. */ - com.google.protobuf.ByteString getIssuerUrlBytes(); + com.google.protobuf.ByteString + getIssuerUrlBytes(); /** - * - * *
    * Optional. OIDC verification keys in JWKS format (RFC 7517).
    * It contains a list of OIDC verification keys that can be used to verify
@@ -62,7 +39,6 @@ public interface AttachedOidcConfigOrBuilder
    * 
* * bytes jwks = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The jwks. */ com.google.protobuf.ByteString getJwks(); diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedPlatformVersionInfo.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedPlatformVersionInfo.java similarity index 64% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedPlatformVersionInfo.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedPlatformVersionInfo.java index be5be66b154b..0c4454627514 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedPlatformVersionInfo.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedPlatformVersionInfo.java @@ -1,80 +1,57 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Information about a supported Attached Clusters platform version.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo} */ -public final class AttachedPlatformVersionInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AttachedPlatformVersionInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo) AttachedPlatformVersionInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AttachedPlatformVersionInfo.newBuilder() to construct. private AttachedPlatformVersionInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AttachedPlatformVersionInfo() { version_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AttachedPlatformVersionInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AttachedPlatformVersionInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedPlatformVersionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AttachedPlatformVersionInfo_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedPlatformVersionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.class, - com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder.class); + com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.class, com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder.class); } public static final int VERSION_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object version_ = ""; /** - * - * *
    * Platform version name.
    * 
* * string version = 1; - * * @return The version. */ @java.lang.Override @@ -83,29 +60,29 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** - * - * *
    * Platform version name.
    * 
* * string version = 1; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -114,7 +91,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,7 +102,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); } @@ -150,15 +127,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo other = - (com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo) obj; + com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo other = (com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo) obj; - if (!getVersion().equals(other.getVersion())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -178,136 +155,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Information about a supported Attached Clusters platform version.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo) com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AttachedPlatformVersionInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedPlatformVersionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AttachedPlatformVersionInfo_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedPlatformVersionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.class, - com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder.class); + com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.class, com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -317,14 +289,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AttachedPlatformVersionInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedPlatformVersionInfo_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo - getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.getDefaultInstance(); } @@ -339,17 +310,13 @@ public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo buildPartial() { - com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo result = - new com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo result = new com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo result) { + private void buildPartial0(com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.version_ = version_; @@ -360,39 +327,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo)other); } else { super.mergeFrom(other); return this; @@ -400,9 +366,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo other) { - if (other - == com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.getDefaultInstance()) return this; if (!other.getVersion().isEmpty()) { version_ = other.version_; bitField0_ |= 0x00000001; @@ -434,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - version_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -456,25 +418,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object version_ = ""; /** - * - * *
      * Platform version name.
      * 
* * string version = 1; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -483,21 +442,20 @@ public java.lang.String getVersion() { } } /** - * - * *
      * Platform version name.
      * 
* * string version = 1; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -505,35 +463,28 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * Platform version name.
      * 
* * string version = 1; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } version_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Platform version name.
      * 
* * string version = 1; - * * @return This builder for chaining. */ public Builder clearVersion() { @@ -543,30 +494,26 @@ public Builder clearVersion() { return this; } /** - * - * *
      * Platform version name.
      * 
* * string version = 1; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); version_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -576,13 +523,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo) - private static final com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo - DEFAULT_INSTANCE; - + private static final com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo(); } @@ -591,27 +537,27 @@ public static com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AttachedPlatformVersionInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AttachedPlatformVersionInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -626,4 +572,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedPlatformVersionInfoOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedPlatformVersionInfoOrBuilder.java new file mode 100644 index 000000000000..9c21dd0a85bd --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedPlatformVersionInfoOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/attached_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface AttachedPlatformVersionInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Platform version name.
+   * 
+ * + * string version = 1; + * @return The version. + */ + java.lang.String getVersion(); + /** + *
+   * Platform version name.
+   * 
+ * + * string version = 1; + * @return The bytes for version. + */ + com.google.protobuf.ByteString + getVersionBytes(); +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedProxyConfig.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedProxyConfig.java new file mode 100644 index 000000000000..b85d95a3317e --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedProxyConfig.java @@ -0,0 +1,666 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/attached_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +/** + *
+ * Details of a proxy config.
+ * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedProxyConfig} + */ +public final class AttachedProxyConfig extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AttachedProxyConfig) + AttachedProxyConfigOrBuilder { +private static final long serialVersionUID = 0L; + // Use AttachedProxyConfig.newBuilder() to construct. + private AttachedProxyConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AttachedProxyConfig() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AttachedProxyConfig(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedProxyConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedProxyConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.class, com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder.class); + } + + public static final int KUBERNETES_SECRET_FIELD_NUMBER = 1; + private com.google.cloud.gkemulticloud.v1.KubernetesSecret kubernetesSecret_; + /** + *
+   * The Kubernetes Secret resource that contains the HTTP(S) proxy
+   * configuration. The secret must be a JSON encoded proxy configuration
+   * as described in
+   * 
+ * + * .google.cloud.gkemulticloud.v1.KubernetesSecret kubernetes_secret = 1; + * @return Whether the kubernetesSecret field is set. + */ + @java.lang.Override + public boolean hasKubernetesSecret() { + return kubernetesSecret_ != null; + } + /** + *
+   * The Kubernetes Secret resource that contains the HTTP(S) proxy
+   * configuration. The secret must be a JSON encoded proxy configuration
+   * as described in
+   * 
+ * + * .google.cloud.gkemulticloud.v1.KubernetesSecret kubernetes_secret = 1; + * @return The kubernetesSecret. + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.KubernetesSecret getKubernetesSecret() { + return kubernetesSecret_ == null ? com.google.cloud.gkemulticloud.v1.KubernetesSecret.getDefaultInstance() : kubernetesSecret_; + } + /** + *
+   * The Kubernetes Secret resource that contains the HTTP(S) proxy
+   * configuration. The secret must be a JSON encoded proxy configuration
+   * as described in
+   * 
+ * + * .google.cloud.gkemulticloud.v1.KubernetesSecret kubernetes_secret = 1; + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.KubernetesSecretOrBuilder getKubernetesSecretOrBuilder() { + return kubernetesSecret_ == null ? com.google.cloud.gkemulticloud.v1.KubernetesSecret.getDefaultInstance() : kubernetesSecret_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (kubernetesSecret_ != null) { + output.writeMessage(1, getKubernetesSecret()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (kubernetesSecret_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getKubernetesSecret()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AttachedProxyConfig)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig other = (com.google.cloud.gkemulticloud.v1.AttachedProxyConfig) obj; + + if (hasKubernetesSecret() != other.hasKubernetesSecret()) return false; + if (hasKubernetesSecret()) { + if (!getKubernetesSecret() + .equals(other.getKubernetesSecret())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasKubernetesSecret()) { + hash = (37 * hash) + KUBERNETES_SECRET_FIELD_NUMBER; + hash = (53 * hash) + getKubernetesSecret().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.AttachedProxyConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AttachedProxyConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AttachedProxyConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AttachedProxyConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AttachedProxyConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AttachedProxyConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AttachedProxyConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.AttachedProxyConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.AttachedProxyConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.AttachedProxyConfig parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AttachedProxyConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.AttachedProxyConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AttachedProxyConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Details of a proxy config.
+   * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedProxyConfig} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AttachedProxyConfig) + com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedProxyConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedProxyConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.class, com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + kubernetesSecret_ = null; + if (kubernetesSecretBuilder_ != null) { + kubernetesSecretBuilder_.dispose(); + kubernetesSecretBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedProxyConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AttachedProxyConfig getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AttachedProxyConfig build() { + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AttachedProxyConfig buildPartial() { + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig result = new com.google.cloud.gkemulticloud.v1.AttachedProxyConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.gkemulticloud.v1.AttachedProxyConfig result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.kubernetesSecret_ = kubernetesSecretBuilder_ == null + ? kubernetesSecret_ + : kubernetesSecretBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.AttachedProxyConfig) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedProxyConfig)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AttachedProxyConfig other) { + if (other == com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance()) return this; + if (other.hasKubernetesSecret()) { + mergeKubernetesSecret(other.getKubernetesSecret()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getKubernetesSecretFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.cloud.gkemulticloud.v1.KubernetesSecret kubernetesSecret_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.KubernetesSecret, com.google.cloud.gkemulticloud.v1.KubernetesSecret.Builder, com.google.cloud.gkemulticloud.v1.KubernetesSecretOrBuilder> kubernetesSecretBuilder_; + /** + *
+     * The Kubernetes Secret resource that contains the HTTP(S) proxy
+     * configuration. The secret must be a JSON encoded proxy configuration
+     * as described in
+     * 
+ * + * .google.cloud.gkemulticloud.v1.KubernetesSecret kubernetes_secret = 1; + * @return Whether the kubernetesSecret field is set. + */ + public boolean hasKubernetesSecret() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+     * The Kubernetes Secret resource that contains the HTTP(S) proxy
+     * configuration. The secret must be a JSON encoded proxy configuration
+     * as described in
+     * 
+ * + * .google.cloud.gkemulticloud.v1.KubernetesSecret kubernetes_secret = 1; + * @return The kubernetesSecret. + */ + public com.google.cloud.gkemulticloud.v1.KubernetesSecret getKubernetesSecret() { + if (kubernetesSecretBuilder_ == null) { + return kubernetesSecret_ == null ? com.google.cloud.gkemulticloud.v1.KubernetesSecret.getDefaultInstance() : kubernetesSecret_; + } else { + return kubernetesSecretBuilder_.getMessage(); + } + } + /** + *
+     * The Kubernetes Secret resource that contains the HTTP(S) proxy
+     * configuration. The secret must be a JSON encoded proxy configuration
+     * as described in
+     * 
+ * + * .google.cloud.gkemulticloud.v1.KubernetesSecret kubernetes_secret = 1; + */ + public Builder setKubernetesSecret(com.google.cloud.gkemulticloud.v1.KubernetesSecret value) { + if (kubernetesSecretBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + kubernetesSecret_ = value; + } else { + kubernetesSecretBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * The Kubernetes Secret resource that contains the HTTP(S) proxy
+     * configuration. The secret must be a JSON encoded proxy configuration
+     * as described in
+     * 
+ * + * .google.cloud.gkemulticloud.v1.KubernetesSecret kubernetes_secret = 1; + */ + public Builder setKubernetesSecret( + com.google.cloud.gkemulticloud.v1.KubernetesSecret.Builder builderForValue) { + if (kubernetesSecretBuilder_ == null) { + kubernetesSecret_ = builderForValue.build(); + } else { + kubernetesSecretBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * The Kubernetes Secret resource that contains the HTTP(S) proxy
+     * configuration. The secret must be a JSON encoded proxy configuration
+     * as described in
+     * 
+ * + * .google.cloud.gkemulticloud.v1.KubernetesSecret kubernetes_secret = 1; + */ + public Builder mergeKubernetesSecret(com.google.cloud.gkemulticloud.v1.KubernetesSecret value) { + if (kubernetesSecretBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + kubernetesSecret_ != null && + kubernetesSecret_ != com.google.cloud.gkemulticloud.v1.KubernetesSecret.getDefaultInstance()) { + getKubernetesSecretBuilder().mergeFrom(value); + } else { + kubernetesSecret_ = value; + } + } else { + kubernetesSecretBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * The Kubernetes Secret resource that contains the HTTP(S) proxy
+     * configuration. The secret must be a JSON encoded proxy configuration
+     * as described in
+     * 
+ * + * .google.cloud.gkemulticloud.v1.KubernetesSecret kubernetes_secret = 1; + */ + public Builder clearKubernetesSecret() { + bitField0_ = (bitField0_ & ~0x00000001); + kubernetesSecret_ = null; + if (kubernetesSecretBuilder_ != null) { + kubernetesSecretBuilder_.dispose(); + kubernetesSecretBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * The Kubernetes Secret resource that contains the HTTP(S) proxy
+     * configuration. The secret must be a JSON encoded proxy configuration
+     * as described in
+     * 
+ * + * .google.cloud.gkemulticloud.v1.KubernetesSecret kubernetes_secret = 1; + */ + public com.google.cloud.gkemulticloud.v1.KubernetesSecret.Builder getKubernetesSecretBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getKubernetesSecretFieldBuilder().getBuilder(); + } + /** + *
+     * The Kubernetes Secret resource that contains the HTTP(S) proxy
+     * configuration. The secret must be a JSON encoded proxy configuration
+     * as described in
+     * 
+ * + * .google.cloud.gkemulticloud.v1.KubernetesSecret kubernetes_secret = 1; + */ + public com.google.cloud.gkemulticloud.v1.KubernetesSecretOrBuilder getKubernetesSecretOrBuilder() { + if (kubernetesSecretBuilder_ != null) { + return kubernetesSecretBuilder_.getMessageOrBuilder(); + } else { + return kubernetesSecret_ == null ? + com.google.cloud.gkemulticloud.v1.KubernetesSecret.getDefaultInstance() : kubernetesSecret_; + } + } + /** + *
+     * The Kubernetes Secret resource that contains the HTTP(S) proxy
+     * configuration. The secret must be a JSON encoded proxy configuration
+     * as described in
+     * 
+ * + * .google.cloud.gkemulticloud.v1.KubernetesSecret kubernetes_secret = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.KubernetesSecret, com.google.cloud.gkemulticloud.v1.KubernetesSecret.Builder, com.google.cloud.gkemulticloud.v1.KubernetesSecretOrBuilder> + getKubernetesSecretFieldBuilder() { + if (kubernetesSecretBuilder_ == null) { + kubernetesSecretBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.KubernetesSecret, com.google.cloud.gkemulticloud.v1.KubernetesSecret.Builder, com.google.cloud.gkemulticloud.v1.KubernetesSecretOrBuilder>( + getKubernetesSecret(), + getParentForChildren(), + isClean()); + kubernetesSecret_ = null; + } + return kubernetesSecretBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AttachedProxyConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AttachedProxyConfig) + private static final com.google.cloud.gkemulticloud.v1.AttachedProxyConfig DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AttachedProxyConfig(); + } + + public static com.google.cloud.gkemulticloud.v1.AttachedProxyConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AttachedProxyConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AttachedProxyConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedProxyConfigOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedProxyConfigOrBuilder.java new file mode 100644 index 000000000000..06ce1849e1e6 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedProxyConfigOrBuilder.java @@ -0,0 +1,42 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/attached_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface AttachedProxyConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AttachedProxyConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The Kubernetes Secret resource that contains the HTTP(S) proxy
+   * configuration. The secret must be a JSON encoded proxy configuration
+   * as described in
+   * 
+ * + * .google.cloud.gkemulticloud.v1.KubernetesSecret kubernetes_secret = 1; + * @return Whether the kubernetesSecret field is set. + */ + boolean hasKubernetesSecret(); + /** + *
+   * The Kubernetes Secret resource that contains the HTTP(S) proxy
+   * configuration. The secret must be a JSON encoded proxy configuration
+   * as described in
+   * 
+ * + * .google.cloud.gkemulticloud.v1.KubernetesSecret kubernetes_secret = 1; + * @return The kubernetesSecret. + */ + com.google.cloud.gkemulticloud.v1.KubernetesSecret getKubernetesSecret(); + /** + *
+   * The Kubernetes Secret resource that contains the HTTP(S) proxy
+   * configuration. The secret must be a JSON encoded proxy configuration
+   * as described in
+   * 
+ * + * .google.cloud.gkemulticloud.v1.KubernetesSecret kubernetes_secret = 1; + */ + com.google.cloud.gkemulticloud.v1.KubernetesSecretOrBuilder getKubernetesSecretOrBuilder(); +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedResourcesProto.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedResourcesProto.java new file mode 100644 index 000000000000..47d6823932a3 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedResourcesProto.java @@ -0,0 +1,241 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/attached_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public final class AttachedResourcesProto { + private AttachedResourcesProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_AnnotationsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AttachedClustersAuthorization_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AttachedClustersAuthorization_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AttachedClusterUser_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AttachedClusterUser_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AttachedClusterGroup_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AttachedClusterGroup_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AttachedOidcConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AttachedOidcConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AttachedServerConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AttachedServerConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AttachedPlatformVersionInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AttachedPlatformVersionInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AttachedClusterError_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AttachedClusterError_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AttachedProxyConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AttachedProxyConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_KubernetesSecret_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_KubernetesSecret_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n6google/cloud/gkemulticloud/v1/attached" + + "_resources.proto\022\035google.cloud.gkemultic" + + "loud.v1\032\037google/api/field_behavior.proto" + + "\032\031google/api/resource.proto\0324google/clou" + + "d/gkemulticloud/v1/common_resources.prot" + + "o\032\037google/protobuf/timestamp.proto\"\206\014\n\017A" + + "ttachedCluster\022\014\n\004name\030\001 \001(\t\022\031\n\013descript" + + "ion\030\002 \001(\tB\004\342A\001\001\022L\n\013oidc_config\030\003 \001(\01321.g" + + "oogle.cloud.gkemulticloud.v1.AttachedOid" + + "cConfigB\004\342A\001\002\022\036\n\020platform_version\030\004 \001(\tB" + + "\004\342A\001\002\022\032\n\014distribution\030\020 \001(\tB\004\342A\001\002\022\034\n\016clu" + + "ster_region\030\026 \001(\tB\004\342A\001\003\0229\n\005fleet\030\005 \001(\0132$" + + ".google.cloud.gkemulticloud.v1.FleetB\004\342A" + + "\001\002\022I\n\005state\030\006 \001(\01624.google.cloud.gkemult" + + "icloud.v1.AttachedCluster.StateB\004\342A\001\003\022\021\n" + + "\003uid\030\007 \001(\tB\004\342A\001\003\022\031\n\013reconciling\030\010 \001(\010B\004\342" + + "A\001\003\0225\n\013create_time\030\t \001(\0132\032.google.protob" + + "uf.TimestampB\004\342A\001\003\0225\n\013update_time\030\n \001(\0132" + + "\032.google.protobuf.TimestampB\004\342A\001\003\022\014\n\004eta" + + "g\030\013 \001(\t\022 \n\022kubernetes_version\030\014 \001(\tB\004\342A\001" + + "\003\022Z\n\013annotations\030\r \003(\0132?.google.cloud.gk" + + "emulticloud.v1.AttachedCluster.Annotatio" + + "nsEntryB\004\342A\001\001\022]\n\030workload_identity_confi" + + "g\030\016 \001(\01325.google.cloud.gkemulticloud.v1." + + "WorkloadIdentityConfigB\004\342A\001\003\022J\n\016logging_" + + "config\030\017 \001(\0132,.google.cloud.gkemulticlou" + + "d.v1.LoggingConfigB\004\342A\001\001\022I\n\006errors\030\024 \003(\013" + + "23.google.cloud.gkemulticloud.v1.Attache" + + "dClusterErrorB\004\342A\001\003\022Y\n\rauthorization\030\025 \001" + + "(\0132<.google.cloud.gkemulticloud.v1.Attac" + + "hedClustersAuthorizationB\004\342A\001\001\022P\n\021monito" + + "ring_config\030\027 \001(\0132/.google.cloud.gkemult" + + "icloud.v1.MonitoringConfigB\004\342A\001\001\022N\n\014prox" + + "y_config\030\030 \001(\01322.google.cloud.gkemulticl" + + "oud.v1.AttachedProxyConfigB\004\342A\001\001\022V\n\024bina" + + "ry_authorization\030\031 \001(\01322.google.cloud.gk" + + "emulticloud.v1.BinaryAuthorizationB\004\342A\001\001" + + "\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" + + "ue\030\002 \001(\t:\0028\001\"u\n\005State\022\025\n\021STATE_UNSPECIFI" + + "ED\020\000\022\020\n\014PROVISIONING\020\001\022\013\n\007RUNNING\020\002\022\017\n\013R" + + "ECONCILING\020\003\022\014\n\010STOPPING\020\004\022\t\n\005ERROR\020\005\022\014\n" + + "\010DEGRADED\020\006:~\352A{\n,gkemulticloud.googleap" + + "is.com/AttachedCluster\022Kprojects/{projec" + + "t}/locations/{location}/attachedClusters" + + "/{attached_cluster}\"\277\001\n\035AttachedClusters" + + "Authorization\022M\n\013admin_users\030\001 \003(\01322.goo" + + "gle.cloud.gkemulticloud.v1.AttachedClust" + + "erUserB\004\342A\001\001\022O\n\014admin_groups\030\002 \003(\01323.goo" + + "gle.cloud.gkemulticloud.v1.AttachedClust" + + "erGroupB\004\342A\001\001\"-\n\023AttachedClusterUser\022\026\n\010" + + "username\030\001 \001(\tB\004\342A\001\002\"+\n\024AttachedClusterG" + + "roup\022\023\n\005group\030\001 \001(\tB\004\342A\001\002\"<\n\022AttachedOid" + + "cConfig\022\022\n\nissuer_url\030\001 \001(\t\022\022\n\004jwks\030\002 \001(" + + "\014B\004\342A\001\001\"\356\001\n\024AttachedServerConfig\022\014\n\004name" + + "\030\001 \001(\t\022R\n\016valid_versions\030\002 \003(\0132:.google." + + "cloud.gkemulticloud.v1.AttachedPlatformV" + + "ersionInfo:t\352Aq\n1gkemulticloud.googleapi" + + "s.com/AttachedServerConfig\022 * AttachedServerConfig provides information about supported * Kubernetes versions @@ -28,16 +11,15 @@ * * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedServerConfig} */ -public final class AttachedServerConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AttachedServerConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AttachedServerConfig) AttachedServerConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AttachedServerConfig.newBuilder() to construct. private AttachedServerConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AttachedServerConfig() { name_ = ""; validVersions_ = java.util.Collections.emptyList(); @@ -45,38 +27,33 @@ private AttachedServerConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AttachedServerConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AttachedServerConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedServerConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AttachedServerConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedServerConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AttachedServerConfig.class, - com.google.cloud.gkemulticloud.v1.AttachedServerConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.AttachedServerConfig.class, com.google.cloud.gkemulticloud.v1.AttachedServerConfig.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * The resource name of the config.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -85,29 +62,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The resource name of the config.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -116,87 +93,67 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int VALID_VERSIONS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private java.util.List - validVersions_; + private java.util.List validVersions_; /** - * - * *
    * List of valid platform versions.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; */ @java.lang.Override - public java.util.List - getValidVersionsList() { + public java.util.List getValidVersionsList() { return validVersions_; } /** - * - * *
    * List of valid platform versions.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfoOrBuilder> + public java.util.List getValidVersionsOrBuilderList() { return validVersions_; } /** - * - * *
    * List of valid platform versions.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; */ @java.lang.Override public int getValidVersionsCount() { return validVersions_.size(); } /** - * - * *
    * List of valid platform versions.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo getValidVersions(int index) { return validVersions_.get(index); } /** - * - * *
    * List of valid platform versions.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfoOrBuilder - getValidVersionsOrBuilder(int index) { + public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfoOrBuilder getValidVersionsOrBuilder( + int index) { return validVersions_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,7 +165,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -228,7 +186,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < validVersions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, validVersions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, validVersions_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -238,16 +197,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AttachedServerConfig)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AttachedServerConfig other = - (com.google.cloud.gkemulticloud.v1.AttachedServerConfig) obj; + com.google.cloud.gkemulticloud.v1.AttachedServerConfig other = (com.google.cloud.gkemulticloud.v1.AttachedServerConfig) obj; - if (!getName().equals(other.getName())) return false; - if (!getValidVersionsList().equals(other.getValidVersionsList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getValidVersionsList() + .equals(other.getValidVersionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -271,104 +231,98 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AttachedServerConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AttachedServerConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedServerConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AttachedServerConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedServerConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AttachedServerConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AttachedServerConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AttachedServerConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AttachedServerConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedServerConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AttachedServerConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AttachedServerConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedServerConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AttachedServerConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.AttachedServerConfig prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AttachedServerConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * AttachedServerConfig provides information about supported
    * Kubernetes versions
@@ -376,32 +330,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedServerConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AttachedServerConfig)
       com.google.cloud.gkemulticloud.v1.AttachedServerConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AttachedServerConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedServerConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AttachedServerConfig_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedServerConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.AttachedServerConfig.class,
-              com.google.cloud.gkemulticloud.v1.AttachedServerConfig.Builder.class);
+              com.google.cloud.gkemulticloud.v1.AttachedServerConfig.class, com.google.cloud.gkemulticloud.v1.AttachedServerConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.AttachedServerConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -418,9 +373,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AttachedServerConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedServerConfig_descriptor;
     }
 
     @java.lang.Override
@@ -439,18 +394,14 @@ public com.google.cloud.gkemulticloud.v1.AttachedServerConfig build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.AttachedServerConfig buildPartial() {
-      com.google.cloud.gkemulticloud.v1.AttachedServerConfig result =
-          new com.google.cloud.gkemulticloud.v1.AttachedServerConfig(this);
+      com.google.cloud.gkemulticloud.v1.AttachedServerConfig result = new com.google.cloud.gkemulticloud.v1.AttachedServerConfig(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.gkemulticloud.v1.AttachedServerConfig result) {
+    private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.AttachedServerConfig result) {
       if (validVersionsBuilder_ == null) {
         if (((bitField0_ & 0x00000002) != 0)) {
           validVersions_ = java.util.Collections.unmodifiableList(validVersions_);
@@ -473,39 +424,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AttachedServerConfi
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.AttachedServerConfig) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedServerConfig) other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedServerConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -513,8 +463,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AttachedServerConfig other) {
-      if (other == com.google.cloud.gkemulticloud.v1.AttachedServerConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.gkemulticloud.v1.AttachedServerConfig.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -538,10 +487,9 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AttachedServerConfig
             validVersionsBuilder_ = null;
             validVersions_ = other.validVersions_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            validVersionsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getValidVersionsFieldBuilder()
-                    : null;
+            validVersionsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getValidVersionsFieldBuilder() : null;
           } else {
             validVersionsBuilder_.addAllMessages(other.validVersions_);
           }
@@ -573,33 +521,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo m =
-                    input.readMessage(
-                        com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.parser(),
-                        extensionRegistry);
-                if (validVersionsBuilder_ == null) {
-                  ensureValidVersionsIsMutable();
-                  validVersions_.add(m);
-                } else {
-                  validVersionsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo m =
+                  input.readMessage(
+                      com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.parser(),
+                      extensionRegistry);
+              if (validVersionsBuilder_ == null) {
+                ensureValidVersionsIsMutable();
+                validVersions_.add(m);
+              } else {
+                validVersionsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -609,25 +554,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The resource name of the config.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -636,21 +578,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the config.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -658,35 +599,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The resource name of the config.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The resource name of the config.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -696,21 +630,17 @@ public Builder clearName() { return this; } /** - * - * *
      * The resource name of the config.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -718,36 +648,26 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private java.util.List - validVersions_ = java.util.Collections.emptyList(); - + private java.util.List validVersions_ = + java.util.Collections.emptyList(); private void ensureValidVersionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - validVersions_ = - new java.util.ArrayList( - validVersions_); + validVersions_ = new java.util.ArrayList(validVersions_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo, - com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder, - com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfoOrBuilder> - validVersionsBuilder_; + com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo, com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder, com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfoOrBuilder> validVersionsBuilder_; /** - * - * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; */ - public java.util.List - getValidVersionsList() { + public java.util.List getValidVersionsList() { if (validVersionsBuilder_ == null) { return java.util.Collections.unmodifiableList(validVersions_); } else { @@ -755,14 +675,11 @@ private void ensureValidVersionsIsMutable() { } } /** - * - * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; */ public int getValidVersionsCount() { if (validVersionsBuilder_ == null) { @@ -772,17 +689,13 @@ public int getValidVersionsCount() { } } /** - * - * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; */ - public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo getValidVersions( - int index) { + public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo getValidVersions(int index) { if (validVersionsBuilder_ == null) { return validVersions_.get(index); } else { @@ -790,14 +703,11 @@ public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo getValidVer } } /** - * - * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; */ public Builder setValidVersions( int index, com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo value) { @@ -814,18 +724,14 @@ public Builder setValidVersions( return this; } /** - * - * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; */ public Builder setValidVersions( - int index, - com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder builderForValue) { + int index, com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder builderForValue) { if (validVersionsBuilder_ == null) { ensureValidVersionsIsMutable(); validVersions_.set(index, builderForValue.build()); @@ -836,17 +742,13 @@ public Builder setValidVersions( return this; } /** - * - * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; */ - public Builder addValidVersions( - com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo value) { + public Builder addValidVersions(com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo value) { if (validVersionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -860,14 +762,11 @@ public Builder addValidVersions( return this; } /** - * - * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; */ public Builder addValidVersions( int index, com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo value) { @@ -884,14 +783,11 @@ public Builder addValidVersions( return this; } /** - * - * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; */ public Builder addValidVersions( com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder builderForValue) { @@ -905,18 +801,14 @@ public Builder addValidVersions( return this; } /** - * - * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; */ public Builder addValidVersions( - int index, - com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder builderForValue) { + int index, com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder builderForValue) { if (validVersionsBuilder_ == null) { ensureValidVersionsIsMutable(); validVersions_.add(index, builderForValue.build()); @@ -927,21 +819,18 @@ public Builder addValidVersions( return this; } /** - * - * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; */ public Builder addAllValidVersions( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (validVersionsBuilder_ == null) { ensureValidVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, validVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, validVersions_); onChanged(); } else { validVersionsBuilder_.addAllMessages(values); @@ -949,14 +838,11 @@ public Builder addAllValidVersions( return this; } /** - * - * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; */ public Builder clearValidVersions() { if (validVersionsBuilder_ == null) { @@ -969,14 +855,11 @@ public Builder clearValidVersions() { return this; } /** - * - * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; */ public Builder removeValidVersions(int index) { if (validVersionsBuilder_ == null) { @@ -989,50 +872,39 @@ public Builder removeValidVersions(int index) { return this; } /** - * - * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; */ - public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder - getValidVersionsBuilder(int index) { + public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder getValidVersionsBuilder( + int index) { return getValidVersionsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; */ - public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfoOrBuilder - getValidVersionsOrBuilder(int index) { + public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfoOrBuilder getValidVersionsOrBuilder( + int index) { if (validVersionsBuilder_ == null) { - return validVersions_.get(index); - } else { + return validVersions_.get(index); } else { return validVersionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; */ - public java.util.List< - ? extends com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfoOrBuilder> - getValidVersionsOrBuilderList() { + public java.util.List + getValidVersionsOrBuilderList() { if (validVersionsBuilder_ != null) { return validVersionsBuilder_.getMessageOrBuilderList(); } else { @@ -1040,64 +912,45 @@ public Builder removeValidVersions(int index) { } } /** - * - * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; */ - public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder - addValidVersionsBuilder() { - return getValidVersionsFieldBuilder() - .addBuilder( - com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.getDefaultInstance()); + public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder addValidVersionsBuilder() { + return getValidVersionsFieldBuilder().addBuilder( + com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.getDefaultInstance()); } /** - * - * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; */ - public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder - addValidVersionsBuilder(int index) { - return getValidVersionsFieldBuilder() - .addBuilder( - index, - com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.getDefaultInstance()); + public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder addValidVersionsBuilder( + int index) { + return getValidVersionsFieldBuilder().addBuilder( + index, com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.getDefaultInstance()); } /** - * - * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; */ - public java.util.List - getValidVersionsBuilderList() { + public java.util.List + getValidVersionsBuilderList() { return getValidVersionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo, - com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder, - com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfoOrBuilder> + com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo, com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder, com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfoOrBuilder> getValidVersionsFieldBuilder() { if (validVersionsBuilder_ == null) { - validVersionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo, - com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder, - com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfoOrBuilder>( + validVersionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo, com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder, com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfoOrBuilder>( validVersions_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -1106,9 +959,9 @@ public Builder removeValidVersions(int index) { } return validVersionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1118,12 +971,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AttachedServerConfig) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AttachedServerConfig) private static final com.google.cloud.gkemulticloud.v1.AttachedServerConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AttachedServerConfig(); } @@ -1132,27 +985,27 @@ public static com.google.cloud.gkemulticloud.v1.AttachedServerConfig getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AttachedServerConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AttachedServerConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1167,4 +1020,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AttachedServerConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServerConfigName.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServerConfigName.java similarity index 100% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServerConfigName.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServerConfigName.java diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServerConfigOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServerConfigOrBuilder.java similarity index 62% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServerConfigOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServerConfigOrBuilder.java index ea9f418381fb..a33bc4585898 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServerConfigOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServerConfigOrBuilder.java @@ -1,108 +1,72 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AttachedServerConfigOrBuilder - extends +public interface AttachedServerConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AttachedServerConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resource name of the config.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The resource name of the config.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * List of valid platform versions.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; */ - java.util.List + java.util.List getValidVersionsList(); /** - * - * *
    * List of valid platform versions.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; */ com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo getValidVersions(int index); /** - * - * *
    * List of valid platform versions.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; */ int getValidVersionsCount(); /** - * - * *
    * List of valid platform versions.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; */ - java.util.List + java.util.List getValidVersionsOrBuilderList(); /** - * - * *
    * List of valid platform versions.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; - * + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; */ com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfoOrBuilder getValidVersionsOrBuilder( int index); diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServiceProto.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServiceProto.java new file mode 100644 index 000000000000..3c4a1d8a5268 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServiceProto.java @@ -0,0 +1,326 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/attached_service.proto + +package com.google.cloud.gkemulticloud.v1; + +public final class AttachedServiceProto { + private AttachedServiceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_CreateAttachedClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_CreateAttachedClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_ImportAttachedClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_ImportAttachedClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_UpdateAttachedClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_UpdateAttachedClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GetAttachedClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GetAttachedClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_DeleteAttachedClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_DeleteAttachedClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GetAttachedServerConfigRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GetAttachedServerConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n4google/cloud/gkemulticloud/v1/attached" + + "_service.proto\022\035google.cloud.gkemulticlo" + + "ud.v1\032\034google/api/annotations.proto\032\027goo" + + "gle/api/client.proto\032\037google/api/field_b" + + "ehavior.proto\032\031google/api/resource.proto" + + "\0326google/cloud/gkemulticloud/v1/attached" + + "_resources.proto\0324google/cloud/gkemultic" + + "loud/v1/common_resources.proto\032#google/l" + + "ongrunning/operations.proto\032\033google/prot" + + "obuf/empty.proto\032 google/protobuf/field_" + + "mask.proto\"\211\002\n-GenerateAttachedClusterIn" + + "stallManifestRequest\022E\n\006parent\030\001 \001(\tB5\342A" + + "\001\002\372A.\022,gkemulticloud.googleapis.com/Atta" + + "chedCluster\022!\n\023attached_cluster_id\030\002 \001(\t" + + "B\004\342A\001\002\022\036\n\020platform_version\030\003 \001(\tB\004\342A\001\002\022N" + + "\n\014proxy_config\030\004 \001(\01322.google.cloud.gkem" + + "ulticloud.v1.AttachedProxyConfigB\004\342A\001\001\"B" + + "\n.GenerateAttachedClusterInstallManifest" + + "Response\022\020\n\010manifest\030\001 \001(\t\"\357\001\n\034CreateAtt" + + "achedClusterRequest\022E\n\006parent\030\001 \001(\tB5\342A\001" + + "\002\372A.\022,gkemulticloud.googleapis.com/Attac" + + "hedCluster\022N\n\020attached_cluster\030\002 \001(\0132..g" + + "oogle.cloud.gkemulticloud.v1.AttachedClu" + + "sterB\004\342A\001\002\022!\n\023attached_cluster_id\030\003 \001(\tB" + + "\004\342A\001\002\022\025\n\rvalidate_only\030\004 \001(\010\"\250\002\n\034ImportA" + + "ttachedClusterRequest\022E\n\006parent\030\001 \001(\tB5\342" + + "A\001\002\372A.\022,gkemulticloud.googleapis.com/Att" + + "achedCluster\022\025\n\rvalidate_only\030\002 \001(\010\022\036\n\020f" + + "leet_membership\030\003 \001(\tB\004\342A\001\002\022\036\n\020platform_" + + "version\030\004 \001(\tB\004\342A\001\002\022\032\n\014distribution\030\005 \001(" + + "\tB\004\342A\001\002\022N\n\014proxy_config\030\006 \001(\01322.google.c" + + "loud.gkemulticloud.v1.AttachedProxyConfi" + + "gB\004\342A\001\001\"\274\001\n\034UpdateAttachedClusterRequest" + + "\022N\n\020attached_cluster\030\001 \001(\0132..google.clou" + + "d.gkemulticloud.v1.AttachedClusterB\004\342A\001\002" + + "\022\025\n\rvalidate_only\030\002 \001(\010\0225\n\013update_mask\030\003" + + " \001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\"`" + + "\n\031GetAttachedClusterRequest\022C\n\004name\030\001 \001(" + + "\tB5\342A\001\002\372A.\n,gkemulticloud.googleapis.com" + + "/AttachedCluster\"\213\001\n\033ListAttachedCluster" + + "sRequest\022E\n\006parent\030\001 \001(\tB5\342A\001\002\372A.\022,gkemu" + + "lticloud.googleapis.com/AttachedCluster\022" + + "\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\202" + + "\001\n\034ListAttachedClustersResponse\022I\n\021attac" + + "hed_clusters\030\001 \003(\0132..google.cloud.gkemul" + + "ticloud.v1.AttachedCluster\022\027\n\017next_page_" + + "token\030\002 \001(\t\"\266\001\n\034DeleteAttachedClusterReq" + + "uest\022C\n\004name\030\001 \001(\tB5\342A\001\002\372A.\n,gkemulticlo" + + "ud.googleapis.com/AttachedCluster\022\025\n\rval" + + "idate_only\030\002 \001(\010\022\025\n\rallow_missing\030\003 \001(\010\022" + + "\025\n\rignore_errors\030\005 \001(\010\022\014\n\004etag\030\004 \001(\t\"j\n\036" + + "GetAttachedServerConfigRequest\022H\n\004name\030\001" + + " \001(\tB:\342A\001\002\372A3\n1gkemulticloud.googleapis." + + "com/AttachedServerConfig\"\323\002\n(GenerateAtt" + + "achedClusterAgentTokenRequest\022O\n\020attache" + + "d_cluster\030\001 \001(\tB5\342A\001\002\372A.\n,gkemulticloud." + + "googleapis.com/AttachedCluster\022\033\n\rsubjec" + + "t_token\030\002 \001(\tB\004\342A\001\002\022 \n\022subject_token_typ" + + "e\030\003 \001(\tB\004\342A\001\002\022\025\n\007version\030\004 \001(\tB\004\342A\001\002\022\030\n\n" + + "grant_type\030\006 \001(\tB\004\342A\001\001\022\026\n\010audience\030\007 \001(\t" + + "B\004\342A\001\001\022\023\n\005scope\030\010 \001(\tB\004\342A\001\001\022\"\n\024requested" + + "_token_type\030\t \001(\tB\004\342A\001\001\022\025\n\007options\030\n \001(\t" + + "B\004\342A\001\001\"i\n)GenerateAttachedClusterAgentTo" + + "kenResponse\022\024\n\014access_token\030\001 \001(\t\022\022\n\nexp" + + "ires_in\030\002 \001(\005\022\022\n\ntoken_type\030\003 \001(\t2\335\022\n\020At" + + "tachedClusters\022\231\002\n\025CreateAttachedCluster" + + "\022;.google.cloud.gkemulticloud.v1.CreateA" + + "ttachedClusterRequest\032\035.google.longrunni" + + "ng.Operation\"\243\001\312A$\n\017AttachedCluster\022\021Ope" + + "rationMetadata\332A+parent,attached_cluster" + + ",attached_cluster_id\202\323\344\223\002H\"4/v1/{parent=" + + "projects/*/locations/*}/attachedClusters" + + ":\020attached_cluster\022\233\002\n\025UpdateAttachedClu" + + "ster\022;.google.cloud.gkemulticloud.v1.Upd" + + "ateAttachedClusterRequest\032\035.google.longr" + + "unning.Operation\"\245\001\312A$\n\017AttachedCluster\022" + + "\021OperationMetadata\332A\034attached_cluster,up" + + "date_mask\202\323\344\223\002Y2E/v1/{attached_cluster.n" + + "ame=projects/*/locations/*/attachedClust" + + "ers/*}:\020attached_cluster\022\375\001\n\025ImportAttac" + + "hedCluster\022;.google.cloud.gkemulticloud." + + "v1.ImportAttachedClusterRequest\032\035.google" + + ".longrunning.Operation\"\207\001\312A$\n\017AttachedCl" + + "uster\022\021OperationMetadata\332A\027parent,fleet_" + + "membership\202\323\344\223\002@\";/v1/{parent=projects/*" + + "/locations/*}/attachedClusters:import:\001*" + + "\022\303\001\n\022GetAttachedCluster\0228.google.cloud.g" + + "kemulticloud.v1.GetAttachedClusterReques" + + "t\032..google.cloud.gkemulticloud.v1.Attach" + + "edCluster\"C\332A\004name\202\323\344\223\0026\0224/v1/{name=proj" + + "ects/*/locations/*/attachedClusters/*}\022\326" + + "\001\n\024ListAttachedClusters\022:.google.cloud.g" + + "kemulticloud.v1.ListAttachedClustersRequ" + + "est\032;.google.cloud.gkemulticloud.v1.List" + + "AttachedClustersResponse\"E\332A\006parent\202\323\344\223\002" + + "6\0224/v1/{parent=projects/*/locations/*}/a" + + "ttachedClusters\022\345\001\n\025DeleteAttachedCluste" + + "r\022;.google.cloud.gkemulticloud.v1.Delete" + + "AttachedClusterRequest\032\035.google.longrunn" + + "ing.Operation\"p\312A*\n\025google.protobuf.Empt" + + "y\022\021OperationMetadata\332A\004name\202\323\344\223\0026*4/v1/{" + + "name=projects/*/locations/*/attachedClus" + + "ters/*}\022\324\001\n\027GetAttachedServerConfig\022=.go" + + "ogle.cloud.gkemulticloud.v1.GetAttachedS" + + "erverConfigRequest\0323.google.cloud.gkemul" + + "ticloud.v1.AttachedServerConfig\"E\332A\004name" + + "\202\323\344\223\0028\0226/v1/{name=projects/*/locations/*" + + "/attachedServerConfig}\022\266\002\n&GenerateAttac" + + "hedClusterInstallManifest\022L.google.cloud" + + ".gkemulticloud.v1.GenerateAttachedCluste" + + "rInstallManifestRequest\032M.google.cloud.g" + + "kemulticloud.v1.GenerateAttachedClusterI" + + "nstallManifestResponse\"o\332A\032parent,attach" + + "ed_cluster_id\202\323\344\223\002L\022J/v1/{parent=project" + + "s/*/locations/*}:generateAttachedCluster" + + "InstallManifest\022\245\002\n!GenerateAttachedClus" + + "terAgentToken\022G.google.cloud.gkemulticlo" + + "ud.v1.GenerateAttachedClusterAgentTokenR" + + "equest\032H.google.cloud.gkemulticloud.v1.G" + + "enerateAttachedClusterAgentTokenResponse" + + "\"m\202\323\344\223\002g\"b/v1/{attached_cluster=projects" + + "/*/locations/*/attachedClusters/*}:gener" + + "ateAttachedClusterAgentToken:\001*\032P\312A\034gkem" + + "ulticloud.googleapis.com\322A.https://www.g" + + "oogleapis.com/auth/cloud-platformB\347\001\n!co" + + "m.google.cloud.gkemulticloud.v1B\024Attache" + + "dServiceProtoP\001ZGcloud.google.com/go/gke" + + "multicloud/apiv1/gkemulticloudpb;gkemult" + + "icloudpb\252\002\035Google.Cloud.GkeMultiCloud.V1" + + "\312\002\035Google\\Cloud\\GkeMultiCloud\\V1\352\002 Googl" + + "e::Cloud::GkeMultiCloud::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.getDescriptor(), + com.google.cloud.gkemulticloud.v1.CommonResourcesProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestRequest_descriptor, + new java.lang.String[] { "Parent", "AttachedClusterId", "PlatformVersion", "ProxyConfig", }); + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestResponse_descriptor, + new java.lang.String[] { "Manifest", }); + internal_static_google_cloud_gkemulticloud_v1_CreateAttachedClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_gkemulticloud_v1_CreateAttachedClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_CreateAttachedClusterRequest_descriptor, + new java.lang.String[] { "Parent", "AttachedCluster", "AttachedClusterId", "ValidateOnly", }); + internal_static_google_cloud_gkemulticloud_v1_ImportAttachedClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_gkemulticloud_v1_ImportAttachedClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_ImportAttachedClusterRequest_descriptor, + new java.lang.String[] { "Parent", "ValidateOnly", "FleetMembership", "PlatformVersion", "Distribution", "ProxyConfig", }); + internal_static_google_cloud_gkemulticloud_v1_UpdateAttachedClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_gkemulticloud_v1_UpdateAttachedClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_UpdateAttachedClusterRequest_descriptor, + new java.lang.String[] { "AttachedCluster", "ValidateOnly", "UpdateMask", }); + internal_static_google_cloud_gkemulticloud_v1_GetAttachedClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_gkemulticloud_v1_GetAttachedClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GetAttachedClusterRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersResponse_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersResponse_descriptor, + new java.lang.String[] { "AttachedClusters", "NextPageToken", }); + internal_static_google_cloud_gkemulticloud_v1_DeleteAttachedClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_gkemulticloud_v1_DeleteAttachedClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_DeleteAttachedClusterRequest_descriptor, + new java.lang.String[] { "Name", "ValidateOnly", "AllowMissing", "IgnoreErrors", "Etag", }); + internal_static_google_cloud_gkemulticloud_v1_GetAttachedServerConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_gkemulticloud_v1_GetAttachedServerConfigRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GetAttachedServerConfigRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenRequest_descriptor, + new java.lang.String[] { "AttachedCluster", "SubjectToken", "SubjectTokenType", "Version", "GrantType", "Audience", "Scope", "RequestedTokenType", "Options", }); + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenResponse_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenResponse_descriptor, + new java.lang.String[] { "AccessToken", "ExpiresIn", "TokenType", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.getDescriptor(); + com.google.cloud.gkemulticloud.v1.CommonResourcesProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorization.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorization.java new file mode 100644 index 000000000000..6cf813b34a8b --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorization.java @@ -0,0 +1,1531 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +/** + *
+ * Configuration related to the cluster RBAC settings.
+ * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsAuthorization} + */ +public final class AwsAuthorization extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsAuthorization) + AwsAuthorizationOrBuilder { +private static final long serialVersionUID = 0L; + // Use AwsAuthorization.newBuilder() to construct. + private AwsAuthorization(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AwsAuthorization() { + adminUsers_ = java.util.Collections.emptyList(); + adminGroups_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AwsAuthorization(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.AwsAuthorization.class, com.google.cloud.gkemulticloud.v1.AwsAuthorization.Builder.class); + } + + public static final int ADMIN_USERS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private java.util.List adminUsers_; + /** + *
+   * Optional. Users that can perform operations as a cluster admin. A managed
+   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+   * to the users. Up to ten admin users can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.util.List getAdminUsersList() { + return adminUsers_; + } + /** + *
+   * Optional. Users that can perform operations as a cluster admin. A managed
+   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+   * to the users. Up to ten admin users can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.util.List + getAdminUsersOrBuilderList() { + return adminUsers_; + } + /** + *
+   * Optional. Users that can perform operations as a cluster admin. A managed
+   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+   * to the users. Up to ten admin users can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public int getAdminUsersCount() { + return adminUsers_.size(); + } + /** + *
+   * Optional. Users that can perform operations as a cluster admin. A managed
+   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+   * to the users. Up to ten admin users can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsClusterUser getAdminUsers(int index) { + return adminUsers_.get(index); + } + /** + *
+   * Optional. Users that can perform operations as a cluster admin. A managed
+   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+   * to the users. Up to ten admin users can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder getAdminUsersOrBuilder( + int index) { + return adminUsers_.get(index); + } + + public static final int ADMIN_GROUPS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private java.util.List adminGroups_; + /** + *
+   * Optional. Groups of users that can perform operations as a cluster admin. A
+   * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+   * ClusterRole to the groups. Up to ten admin groups can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.util.List getAdminGroupsList() { + return adminGroups_; + } + /** + *
+   * Optional. Groups of users that can perform operations as a cluster admin. A
+   * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+   * ClusterRole to the groups. Up to ten admin groups can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.util.List + getAdminGroupsOrBuilderList() { + return adminGroups_; + } + /** + *
+   * Optional. Groups of users that can perform operations as a cluster admin. A
+   * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+   * ClusterRole to the groups. Up to ten admin groups can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public int getAdminGroupsCount() { + return adminGroups_.size(); + } + /** + *
+   * Optional. Groups of users that can perform operations as a cluster admin. A
+   * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+   * ClusterRole to the groups. Up to ten admin groups can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsClusterGroup getAdminGroups(int index) { + return adminGroups_.get(index); + } + /** + *
+   * Optional. Groups of users that can perform operations as a cluster admin. A
+   * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+   * ClusterRole to the groups. Up to ten admin groups can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsClusterGroupOrBuilder getAdminGroupsOrBuilder( + int index) { + return adminGroups_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < adminUsers_.size(); i++) { + output.writeMessage(1, adminUsers_.get(i)); + } + for (int i = 0; i < adminGroups_.size(); i++) { + output.writeMessage(2, adminGroups_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < adminUsers_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, adminUsers_.get(i)); + } + for (int i = 0; i < adminGroups_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, adminGroups_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsAuthorization)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.AwsAuthorization other = (com.google.cloud.gkemulticloud.v1.AwsAuthorization) obj; + + if (!getAdminUsersList() + .equals(other.getAdminUsersList())) return false; + if (!getAdminGroupsList() + .equals(other.getAdminGroupsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getAdminUsersCount() > 0) { + hash = (37 * hash) + ADMIN_USERS_FIELD_NUMBER; + hash = (53 * hash) + getAdminUsersList().hashCode(); + } + if (getAdminGroupsCount() > 0) { + hash = (37 * hash) + ADMIN_GROUPS_FIELD_NUMBER; + hash = (53 * hash) + getAdminGroupsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsAuthorization prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Configuration related to the cluster RBAC settings.
+   * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsAuthorization} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsAuthorization) + com.google.cloud.gkemulticloud.v1.AwsAuthorizationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.AwsAuthorization.class, com.google.cloud.gkemulticloud.v1.AwsAuthorization.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.AwsAuthorization.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (adminUsersBuilder_ == null) { + adminUsers_ = java.util.Collections.emptyList(); + } else { + adminUsers_ = null; + adminUsersBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + if (adminGroupsBuilder_ == null) { + adminGroups_ = java.util.Collections.emptyList(); + } else { + adminGroups_ = null; + adminGroupsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsAuthorization getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.AwsAuthorization.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsAuthorization build() { + com.google.cloud.gkemulticloud.v1.AwsAuthorization result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsAuthorization buildPartial() { + com.google.cloud.gkemulticloud.v1.AwsAuthorization result = new com.google.cloud.gkemulticloud.v1.AwsAuthorization(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.AwsAuthorization result) { + if (adminUsersBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + adminUsers_ = java.util.Collections.unmodifiableList(adminUsers_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.adminUsers_ = adminUsers_; + } else { + result.adminUsers_ = adminUsersBuilder_.build(); + } + if (adminGroupsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + adminGroups_ = java.util.Collections.unmodifiableList(adminGroups_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.adminGroups_ = adminGroups_; + } else { + result.adminGroups_ = adminGroupsBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsAuthorization result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.AwsAuthorization) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsAuthorization)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsAuthorization other) { + if (other == com.google.cloud.gkemulticloud.v1.AwsAuthorization.getDefaultInstance()) return this; + if (adminUsersBuilder_ == null) { + if (!other.adminUsers_.isEmpty()) { + if (adminUsers_.isEmpty()) { + adminUsers_ = other.adminUsers_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureAdminUsersIsMutable(); + adminUsers_.addAll(other.adminUsers_); + } + onChanged(); + } + } else { + if (!other.adminUsers_.isEmpty()) { + if (adminUsersBuilder_.isEmpty()) { + adminUsersBuilder_.dispose(); + adminUsersBuilder_ = null; + adminUsers_ = other.adminUsers_; + bitField0_ = (bitField0_ & ~0x00000001); + adminUsersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAdminUsersFieldBuilder() : null; + } else { + adminUsersBuilder_.addAllMessages(other.adminUsers_); + } + } + } + if (adminGroupsBuilder_ == null) { + if (!other.adminGroups_.isEmpty()) { + if (adminGroups_.isEmpty()) { + adminGroups_ = other.adminGroups_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureAdminGroupsIsMutable(); + adminGroups_.addAll(other.adminGroups_); + } + onChanged(); + } + } else { + if (!other.adminGroups_.isEmpty()) { + if (adminGroupsBuilder_.isEmpty()) { + adminGroupsBuilder_.dispose(); + adminGroupsBuilder_ = null; + adminGroups_ = other.adminGroups_; + bitField0_ = (bitField0_ & ~0x00000002); + adminGroupsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAdminGroupsFieldBuilder() : null; + } else { + adminGroupsBuilder_.addAllMessages(other.adminGroups_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.cloud.gkemulticloud.v1.AwsClusterUser m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsClusterUser.parser(), + extensionRegistry); + if (adminUsersBuilder_ == null) { + ensureAdminUsersIsMutable(); + adminUsers_.add(m); + } else { + adminUsersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + com.google.cloud.gkemulticloud.v1.AwsClusterGroup m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsClusterGroup.parser(), + extensionRegistry); + if (adminGroupsBuilder_ == null) { + ensureAdminGroupsIsMutable(); + adminGroups_.add(m); + } else { + adminGroupsBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.util.List adminUsers_ = + java.util.Collections.emptyList(); + private void ensureAdminUsersIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + adminUsers_ = new java.util.ArrayList(adminUsers_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsClusterUser, com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder> adminUsersBuilder_; + + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public java.util.List getAdminUsersList() { + if (adminUsersBuilder_ == null) { + return java.util.Collections.unmodifiableList(adminUsers_); + } else { + return adminUsersBuilder_.getMessageList(); + } + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public int getAdminUsersCount() { + if (adminUsersBuilder_ == null) { + return adminUsers_.size(); + } else { + return adminUsersBuilder_.getCount(); + } + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AwsClusterUser getAdminUsers(int index) { + if (adminUsersBuilder_ == null) { + return adminUsers_.get(index); + } else { + return adminUsersBuilder_.getMessage(index); + } + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setAdminUsers( + int index, com.google.cloud.gkemulticloud.v1.AwsClusterUser value) { + if (adminUsersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdminUsersIsMutable(); + adminUsers_.set(index, value); + onChanged(); + } else { + adminUsersBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setAdminUsers( + int index, com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder builderForValue) { + if (adminUsersBuilder_ == null) { + ensureAdminUsersIsMutable(); + adminUsers_.set(index, builderForValue.build()); + onChanged(); + } else { + adminUsersBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder addAdminUsers(com.google.cloud.gkemulticloud.v1.AwsClusterUser value) { + if (adminUsersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdminUsersIsMutable(); + adminUsers_.add(value); + onChanged(); + } else { + adminUsersBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder addAdminUsers( + int index, com.google.cloud.gkemulticloud.v1.AwsClusterUser value) { + if (adminUsersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdminUsersIsMutable(); + adminUsers_.add(index, value); + onChanged(); + } else { + adminUsersBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder addAdminUsers( + com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder builderForValue) { + if (adminUsersBuilder_ == null) { + ensureAdminUsersIsMutable(); + adminUsers_.add(builderForValue.build()); + onChanged(); + } else { + adminUsersBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder addAdminUsers( + int index, com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder builderForValue) { + if (adminUsersBuilder_ == null) { + ensureAdminUsersIsMutable(); + adminUsers_.add(index, builderForValue.build()); + onChanged(); + } else { + adminUsersBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder addAllAdminUsers( + java.lang.Iterable values) { + if (adminUsersBuilder_ == null) { + ensureAdminUsersIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, adminUsers_); + onChanged(); + } else { + adminUsersBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder clearAdminUsers() { + if (adminUsersBuilder_ == null) { + adminUsers_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + adminUsersBuilder_.clear(); + } + return this; + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder removeAdminUsers(int index) { + if (adminUsersBuilder_ == null) { + ensureAdminUsersIsMutable(); + adminUsers_.remove(index); + onChanged(); + } else { + adminUsersBuilder_.remove(index); + } + return this; + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder getAdminUsersBuilder( + int index) { + return getAdminUsersFieldBuilder().getBuilder(index); + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder getAdminUsersOrBuilder( + int index) { + if (adminUsersBuilder_ == null) { + return adminUsers_.get(index); } else { + return adminUsersBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public java.util.List + getAdminUsersOrBuilderList() { + if (adminUsersBuilder_ != null) { + return adminUsersBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(adminUsers_); + } + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder addAdminUsersBuilder() { + return getAdminUsersFieldBuilder().addBuilder( + com.google.cloud.gkemulticloud.v1.AwsClusterUser.getDefaultInstance()); + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder addAdminUsersBuilder( + int index) { + return getAdminUsersFieldBuilder().addBuilder( + index, com.google.cloud.gkemulticloud.v1.AwsClusterUser.getDefaultInstance()); + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public java.util.List + getAdminUsersBuilderList() { + return getAdminUsersFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsClusterUser, com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder> + getAdminUsersFieldBuilder() { + if (adminUsersBuilder_ == null) { + adminUsersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsClusterUser, com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder>( + adminUsers_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + adminUsers_ = null; + } + return adminUsersBuilder_; + } + + private java.util.List adminGroups_ = + java.util.Collections.emptyList(); + private void ensureAdminGroupsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + adminGroups_ = new java.util.ArrayList(adminGroups_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsClusterGroup, com.google.cloud.gkemulticloud.v1.AwsClusterGroup.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterGroupOrBuilder> adminGroupsBuilder_; + + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public java.util.List getAdminGroupsList() { + if (adminGroupsBuilder_ == null) { + return java.util.Collections.unmodifiableList(adminGroups_); + } else { + return adminGroupsBuilder_.getMessageList(); + } + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public int getAdminGroupsCount() { + if (adminGroupsBuilder_ == null) { + return adminGroups_.size(); + } else { + return adminGroupsBuilder_.getCount(); + } + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AwsClusterGroup getAdminGroups(int index) { + if (adminGroupsBuilder_ == null) { + return adminGroups_.get(index); + } else { + return adminGroupsBuilder_.getMessage(index); + } + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setAdminGroups( + int index, com.google.cloud.gkemulticloud.v1.AwsClusterGroup value) { + if (adminGroupsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdminGroupsIsMutable(); + adminGroups_.set(index, value); + onChanged(); + } else { + adminGroupsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setAdminGroups( + int index, com.google.cloud.gkemulticloud.v1.AwsClusterGroup.Builder builderForValue) { + if (adminGroupsBuilder_ == null) { + ensureAdminGroupsIsMutable(); + adminGroups_.set(index, builderForValue.build()); + onChanged(); + } else { + adminGroupsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder addAdminGroups(com.google.cloud.gkemulticloud.v1.AwsClusterGroup value) { + if (adminGroupsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdminGroupsIsMutable(); + adminGroups_.add(value); + onChanged(); + } else { + adminGroupsBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder addAdminGroups( + int index, com.google.cloud.gkemulticloud.v1.AwsClusterGroup value) { + if (adminGroupsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdminGroupsIsMutable(); + adminGroups_.add(index, value); + onChanged(); + } else { + adminGroupsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder addAdminGroups( + com.google.cloud.gkemulticloud.v1.AwsClusterGroup.Builder builderForValue) { + if (adminGroupsBuilder_ == null) { + ensureAdminGroupsIsMutable(); + adminGroups_.add(builderForValue.build()); + onChanged(); + } else { + adminGroupsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder addAdminGroups( + int index, com.google.cloud.gkemulticloud.v1.AwsClusterGroup.Builder builderForValue) { + if (adminGroupsBuilder_ == null) { + ensureAdminGroupsIsMutable(); + adminGroups_.add(index, builderForValue.build()); + onChanged(); + } else { + adminGroupsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder addAllAdminGroups( + java.lang.Iterable values) { + if (adminGroupsBuilder_ == null) { + ensureAdminGroupsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, adminGroups_); + onChanged(); + } else { + adminGroupsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder clearAdminGroups() { + if (adminGroupsBuilder_ == null) { + adminGroups_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + adminGroupsBuilder_.clear(); + } + return this; + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder removeAdminGroups(int index) { + if (adminGroupsBuilder_ == null) { + ensureAdminGroupsIsMutable(); + adminGroups_.remove(index); + onChanged(); + } else { + adminGroupsBuilder_.remove(index); + } + return this; + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AwsClusterGroup.Builder getAdminGroupsBuilder( + int index) { + return getAdminGroupsFieldBuilder().getBuilder(index); + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AwsClusterGroupOrBuilder getAdminGroupsOrBuilder( + int index) { + if (adminGroupsBuilder_ == null) { + return adminGroups_.get(index); } else { + return adminGroupsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public java.util.List + getAdminGroupsOrBuilderList() { + if (adminGroupsBuilder_ != null) { + return adminGroupsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(adminGroups_); + } + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AwsClusterGroup.Builder addAdminGroupsBuilder() { + return getAdminGroupsFieldBuilder().addBuilder( + com.google.cloud.gkemulticloud.v1.AwsClusterGroup.getDefaultInstance()); + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AwsClusterGroup.Builder addAdminGroupsBuilder( + int index) { + return getAdminGroupsFieldBuilder().addBuilder( + index, com.google.cloud.gkemulticloud.v1.AwsClusterGroup.getDefaultInstance()); + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public java.util.List + getAdminGroupsBuilderList() { + return getAdminGroupsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsClusterGroup, com.google.cloud.gkemulticloud.v1.AwsClusterGroup.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterGroupOrBuilder> + getAdminGroupsFieldBuilder() { + if (adminGroupsBuilder_ == null) { + adminGroupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsClusterGroup, com.google.cloud.gkemulticloud.v1.AwsClusterGroup.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterGroupOrBuilder>( + adminGroups_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + adminGroups_ = null; + } + return adminGroupsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsAuthorization) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsAuthorization) + private static final com.google.cloud.gkemulticloud.v1.AwsAuthorization DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsAuthorization(); + } + + public static com.google.cloud.gkemulticloud.v1.AwsAuthorization getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsAuthorization parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsAuthorization getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorizationOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorizationOrBuilder.java new file mode 100644 index 000000000000..1363b34fd90a --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorizationOrBuilder.java @@ -0,0 +1,147 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface AwsAuthorizationOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsAuthorization) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Optional. Users that can perform operations as a cluster admin. A managed
+   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+   * to the users. Up to ten admin users can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + java.util.List + getAdminUsersList(); + /** + *
+   * Optional. Users that can perform operations as a cluster admin. A managed
+   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+   * to the users. Up to ten admin users can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.cloud.gkemulticloud.v1.AwsClusterUser getAdminUsers(int index); + /** + *
+   * Optional. Users that can perform operations as a cluster admin. A managed
+   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+   * to the users. Up to ten admin users can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + int getAdminUsersCount(); + /** + *
+   * Optional. Users that can perform operations as a cluster admin. A managed
+   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+   * to the users. Up to ten admin users can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + java.util.List + getAdminUsersOrBuilderList(); + /** + *
+   * Optional. Users that can perform operations as a cluster admin. A managed
+   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+   * to the users. Up to ten admin users can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder getAdminUsersOrBuilder( + int index); + + /** + *
+   * Optional. Groups of users that can perform operations as a cluster admin. A
+   * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+   * ClusterRole to the groups. Up to ten admin groups can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + java.util.List + getAdminGroupsList(); + /** + *
+   * Optional. Groups of users that can perform operations as a cluster admin. A
+   * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+   * ClusterRole to the groups. Up to ten admin groups can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.cloud.gkemulticloud.v1.AwsClusterGroup getAdminGroups(int index); + /** + *
+   * Optional. Groups of users that can perform operations as a cluster admin. A
+   * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+   * ClusterRole to the groups. Up to ten admin groups can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + int getAdminGroupsCount(); + /** + *
+   * Optional. Groups of users that can perform operations as a cluster admin. A
+   * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+   * ClusterRole to the groups. Up to ten admin groups can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + java.util.List + getAdminGroupsOrBuilderList(); + /** + *
+   * Optional. Groups of users that can perform operations as a cluster admin. A
+   * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+   * ClusterRole to the groups. Up to ten admin groups can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.cloud.gkemulticloud.v1.AwsClusterGroupOrBuilder getAdminGroupsOrBuilder( + int index); +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAutoscalingGroupMetricsCollection.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAutoscalingGroupMetricsCollection.java similarity index 69% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAutoscalingGroupMetricsCollection.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAutoscalingGroupMetricsCollection.java index 0b46b83656a6..50d122f3a403 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAutoscalingGroupMetricsCollection.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAutoscalingGroupMetricsCollection.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Configuration related to CloudWatch metrics collection in an AWS
  * Auto Scaling group.
@@ -28,58 +11,51 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection}
  */
-public final class AwsAutoscalingGroupMetricsCollection
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AwsAutoscalingGroupMetricsCollection extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection)
     AwsAutoscalingGroupMetricsCollectionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AwsAutoscalingGroupMetricsCollection.newBuilder() to construct.
-  private AwsAutoscalingGroupMetricsCollection(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private AwsAutoscalingGroupMetricsCollection(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AwsAutoscalingGroupMetricsCollection() {
     granularity_ = "";
-    metrics_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    metrics_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AwsAutoscalingGroupMetricsCollection();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
-        .internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
-        .internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.class,
-            com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.Builder.class);
+            com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.class, com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.Builder.class);
   }
 
   public static final int GRANULARITY_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object granularity_ = "";
   /**
-   *
-   *
    * 
    * Required. The frequency at which EC2 Auto Scaling sends aggregated data to
    * AWS CloudWatch. The only valid value is "1Minute".
    * 
* * string granularity = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The granularity. */ @java.lang.Override @@ -88,30 +64,30 @@ public java.lang.String getGranularity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); granularity_ = s; return s; } } /** - * - * *
    * Required. The frequency at which EC2 Auto Scaling sends aggregated data to
    * AWS CloudWatch. The only valid value is "1Minute".
    * 
* * string granularity = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for granularity. */ @java.lang.Override - public com.google.protobuf.ByteString getGranularityBytes() { + public com.google.protobuf.ByteString + getGranularityBytes() { java.lang.Object ref = granularity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); granularity_ = b; return b; } else { @@ -120,13 +96,10 @@ public com.google.protobuf.ByteString getGranularityBytes() { } public static final int METRICS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList metrics_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Optional. The metrics to enable. For a list of valid metrics, see
    * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -135,15 +108,13 @@ public com.google.protobuf.ByteString getGranularityBytes() {
    * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the metrics. */ - public com.google.protobuf.ProtocolStringList getMetricsList() { + public com.google.protobuf.ProtocolStringList + getMetricsList() { return metrics_; } /** - * - * *
    * Optional. The metrics to enable. For a list of valid metrics, see
    * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -152,15 +123,12 @@ public com.google.protobuf.ProtocolStringList getMetricsList() {
    * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of metrics. */ public int getMetricsCount() { return metrics_.size(); } /** - * - * *
    * Optional. The metrics to enable. For a list of valid metrics, see
    * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -169,7 +137,6 @@ public int getMetricsCount() {
    * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The metrics at the given index. */ @@ -177,8 +144,6 @@ public java.lang.String getMetrics(int index) { return metrics_.get(index); } /** - * - * *
    * Optional. The metrics to enable. For a list of valid metrics, see
    * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -187,16 +152,15 @@ public java.lang.String getMetrics(int index) {
    * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the metrics at the given index. */ - public com.google.protobuf.ByteString getMetricsBytes(int index) { + public com.google.protobuf.ByteString + getMetricsBytes(int index) { return metrics_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,7 +172,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(granularity_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, granularity_); } @@ -243,16 +208,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection other = - (com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection) obj; + com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection other = (com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection) obj; - if (!getGranularity().equals(other.getGranularity())) return false; - if (!getMetricsList().equals(other.getMetricsList())) return false; + if (!getGranularity() + .equals(other.getGranularity())) return false; + if (!getMetricsList() + .equals(other.getMetricsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -276,105 +242,98 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration related to CloudWatch metrics collection in an AWS
    * Auto Scaling group.
@@ -382,59 +341,57 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection)
       com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollectionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.class,
-              com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.Builder.class);
+              com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.class, com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.newBuilder()
-    private Builder() {}
+    // Construct using com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
       granularity_ = "";
-      metrics_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      metrics_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection
-        getDefaultInstanceForType() {
-      return com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection
-          .getDefaultInstance();
+    public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection getDefaultInstanceForType() {
+      return com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection build() {
-      com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection result =
-          buildPartial();
+      com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection result = buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -443,17 +400,13 @@ public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection bu
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection buildPartial() {
-      com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection result =
-          new com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection result = new com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection result) {
+    private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.granularity_ = granularity_;
@@ -468,51 +421,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection) {
-        return mergeFrom(
-            (com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection) other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection other) {
-      if (other
-          == com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection other) {
+      if (other == com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.getDefaultInstance()) return this;
       if (!other.getGranularity().isEmpty()) {
         granularity_ = other.granularity_;
         bitField0_ |= 0x00000001;
@@ -554,26 +502,23 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                granularity_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureMetricsIsMutable();
-                metrics_.add(s);
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              granularity_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureMetricsIsMutable();
+              metrics_.add(s);
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -583,26 +528,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object granularity_ = "";
     /**
-     *
-     *
      * 
      * Required. The frequency at which EC2 Auto Scaling sends aggregated data to
      * AWS CloudWatch. The only valid value is "1Minute".
      * 
* * string granularity = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The granularity. */ public java.lang.String getGranularity() { java.lang.Object ref = granularity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); granularity_ = s; return s; @@ -611,22 +553,21 @@ public java.lang.String getGranularity() { } } /** - * - * *
      * Required. The frequency at which EC2 Auto Scaling sends aggregated data to
      * AWS CloudWatch. The only valid value is "1Minute".
      * 
* * string granularity = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for granularity. */ - public com.google.protobuf.ByteString getGranularityBytes() { + public com.google.protobuf.ByteString + getGranularityBytes() { java.lang.Object ref = granularity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); granularity_ = b; return b; } else { @@ -634,37 +575,30 @@ public com.google.protobuf.ByteString getGranularityBytes() { } } /** - * - * *
      * Required. The frequency at which EC2 Auto Scaling sends aggregated data to
      * AWS CloudWatch. The only valid value is "1Minute".
      * 
* * string granularity = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The granularity to set. * @return This builder for chaining. */ - public Builder setGranularity(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setGranularity( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } granularity_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The frequency at which EC2 Auto Scaling sends aggregated data to
      * AWS CloudWatch. The only valid value is "1Minute".
      * 
* * string granularity = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearGranularity() { @@ -674,22 +608,18 @@ public Builder clearGranularity() { return this; } /** - * - * *
      * Required. The frequency at which EC2 Auto Scaling sends aggregated data to
      * AWS CloudWatch. The only valid value is "1Minute".
      * 
* * string granularity = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for granularity to set. * @return This builder for chaining. */ - public Builder setGranularityBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setGranularityBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); granularity_ = value; bitField0_ |= 0x00000001; @@ -699,7 +629,6 @@ public Builder setGranularityBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList metrics_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureMetricsIsMutable() { if (!metrics_.isModifiable()) { metrics_ = new com.google.protobuf.LazyStringArrayList(metrics_); @@ -707,8 +636,6 @@ private void ensureMetricsIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
      * Optional. The metrics to enable. For a list of valid metrics, see
      * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -717,16 +644,14 @@ private void ensureMetricsIsMutable() {
      * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the metrics. */ - public com.google.protobuf.ProtocolStringList getMetricsList() { + public com.google.protobuf.ProtocolStringList + getMetricsList() { metrics_.makeImmutable(); return metrics_; } /** - * - * *
      * Optional. The metrics to enable. For a list of valid metrics, see
      * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -735,15 +660,12 @@ public com.google.protobuf.ProtocolStringList getMetricsList() {
      * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of metrics. */ public int getMetricsCount() { return metrics_.size(); } /** - * - * *
      * Optional. The metrics to enable. For a list of valid metrics, see
      * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -752,7 +674,6 @@ public int getMetricsCount() {
      * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The metrics at the given index. */ @@ -760,8 +681,6 @@ public java.lang.String getMetrics(int index) { return metrics_.get(index); } /** - * - * *
      * Optional. The metrics to enable. For a list of valid metrics, see
      * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -770,16 +689,14 @@ public java.lang.String getMetrics(int index) {
      * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the metrics at the given index. */ - public com.google.protobuf.ByteString getMetricsBytes(int index) { + public com.google.protobuf.ByteString + getMetricsBytes(int index) { return metrics_.getByteString(index); } /** - * - * *
      * Optional. The metrics to enable. For a list of valid metrics, see
      * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -788,15 +705,13 @@ public com.google.protobuf.ByteString getMetricsBytes(int index) {
      * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The metrics to set. * @return This builder for chaining. */ - public Builder setMetrics(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMetrics( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureMetricsIsMutable(); metrics_.set(index, value); bitField0_ |= 0x00000002; @@ -804,8 +719,6 @@ public Builder setMetrics(int index, java.lang.String value) { return this; } /** - * - * *
      * Optional. The metrics to enable. For a list of valid metrics, see
      * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -814,14 +727,12 @@ public Builder setMetrics(int index, java.lang.String value) {
      * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The metrics to add. * @return This builder for chaining. */ - public Builder addMetrics(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addMetrics( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureMetricsIsMutable(); metrics_.add(value); bitField0_ |= 0x00000002; @@ -829,8 +740,6 @@ public Builder addMetrics(java.lang.String value) { return this; } /** - * - * *
      * Optional. The metrics to enable. For a list of valid metrics, see
      * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -839,20 +748,19 @@ public Builder addMetrics(java.lang.String value) {
      * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The metrics to add. * @return This builder for chaining. */ - public Builder addAllMetrics(java.lang.Iterable values) { + public Builder addAllMetrics( + java.lang.Iterable values) { ensureMetricsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metrics_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, metrics_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. The metrics to enable. For a list of valid metrics, see
      * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -861,19 +769,16 @@ public Builder addAllMetrics(java.lang.Iterable values) {
      * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearMetrics() { - metrics_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + metrics_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
      * Optional. The metrics to enable. For a list of valid metrics, see
      * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -882,14 +787,12 @@ public Builder clearMetrics() {
      * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the metrics to add. * @return This builder for chaining. */ - public Builder addMetricsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addMetricsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureMetricsIsMutable(); metrics_.add(value); @@ -897,9 +800,9 @@ public Builder addMetricsBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -909,43 +812,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection) - private static final com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection - DEFAULT_INSTANCE; - + private static final com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection(); } - public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection - getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsAutoscalingGroupMetricsCollection parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsAutoscalingGroupMetricsCollection parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -957,8 +858,9 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection - getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAutoscalingGroupMetricsCollectionOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAutoscalingGroupMetricsCollectionOrBuilder.java similarity index 75% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAutoscalingGroupMetricsCollectionOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAutoscalingGroupMetricsCollectionOrBuilder.java index 804c0e9e4e00..84bb1263efde 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAutoscalingGroupMetricsCollectionOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAutoscalingGroupMetricsCollectionOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsAutoscalingGroupMetricsCollectionOrBuilder - extends +public interface AwsAutoscalingGroupMetricsCollectionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The frequency at which EC2 Auto Scaling sends aggregated data to
    * AWS CloudWatch. The only valid value is "1Minute".
    * 
* * string granularity = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The granularity. */ java.lang.String getGranularity(); /** - * - * *
    * Required. The frequency at which EC2 Auto Scaling sends aggregated data to
    * AWS CloudWatch. The only valid value is "1Minute".
    * 
* * string granularity = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for granularity. */ - com.google.protobuf.ByteString getGranularityBytes(); + com.google.protobuf.ByteString + getGranularityBytes(); /** - * - * *
    * Optional. The metrics to enable. For a list of valid metrics, see
    * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -61,13 +38,11 @@ public interface AwsAutoscalingGroupMetricsCollectionOrBuilder
    * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the metrics. */ - java.util.List getMetricsList(); + java.util.List + getMetricsList(); /** - * - * *
    * Optional. The metrics to enable. For a list of valid metrics, see
    * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -76,13 +51,10 @@ public interface AwsAutoscalingGroupMetricsCollectionOrBuilder
    * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of metrics. */ int getMetricsCount(); /** - * - * *
    * Optional. The metrics to enable. For a list of valid metrics, see
    * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -91,14 +63,11 @@ public interface AwsAutoscalingGroupMetricsCollectionOrBuilder
    * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The metrics at the given index. */ java.lang.String getMetrics(int index); /** - * - * *
    * Optional. The metrics to enable. For a list of valid metrics, see
    * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -107,9 +76,9 @@ public interface AwsAutoscalingGroupMetricsCollectionOrBuilder
    * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the metrics at the given index. */ - com.google.protobuf.ByteString getMetricsBytes(int index); + com.google.protobuf.ByteString + getMetricsBytes(int index); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsCluster.java similarity index 64% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsCluster.java index d5afbae5a8f4..36afed48027e 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsCluster.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsCluster.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * An Anthos cluster running on AWS.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsCluster} */ -public final class AwsCluster extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AwsCluster extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsCluster) AwsClusterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AwsCluster.newBuilder() to construct. private AwsCluster(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AwsCluster() { name_ = ""; description_ = ""; @@ -51,49 +33,46 @@ private AwsCluster() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AwsCluster(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsCluster_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsCluster_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 14: return internalGetAnnotations(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsCluster_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsCluster_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsCluster.class, - com.google.cloud.gkemulticloud.v1.AwsCluster.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsCluster.class, com.google.cloud.gkemulticloud.v1.AwsCluster.Builder.class); } /** - * - * *
    * The lifecycle state of the cluster.
    * 
* * Protobuf enum {@code google.cloud.gkemulticloud.v1.AwsCluster.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not set.
      * 
@@ -102,8 +81,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The PROVISIONING state indicates the cluster is being created.
      * 
@@ -112,8 +89,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PROVISIONING(1), /** - * - * *
      * The RUNNING state indicates the cluster has been created and is fully
      * usable.
@@ -123,8 +98,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     RUNNING(2),
     /**
-     *
-     *
      * 
      * The RECONCILING state indicates that some work is actively being done on
      * the cluster, such as upgrading the control plane replicas.
@@ -134,8 +107,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     RECONCILING(3),
     /**
-     *
-     *
      * 
      * The STOPPING state indicates the cluster is being deleted.
      * 
@@ -144,8 +115,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STOPPING(4), /** - * - * *
      * The ERROR state indicates the cluster is in a broken unrecoverable
      * state.
@@ -155,8 +124,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     ERROR(5),
     /**
-     *
-     *
      * 
      * The DEGRADED state indicates the cluster requires user action to
      * restore full functionality.
@@ -169,8 +136,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not set.
      * 
@@ -179,8 +144,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The PROVISIONING state indicates the cluster is being created.
      * 
@@ -189,8 +152,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROVISIONING_VALUE = 1; /** - * - * *
      * The RUNNING state indicates the cluster has been created and is fully
      * usable.
@@ -200,8 +161,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RUNNING_VALUE = 2;
     /**
-     *
-     *
      * 
      * The RECONCILING state indicates that some work is actively being done on
      * the cluster, such as upgrading the control plane replicas.
@@ -211,8 +170,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RECONCILING_VALUE = 3;
     /**
-     *
-     *
      * 
      * The STOPPING state indicates the cluster is being deleted.
      * 
@@ -221,8 +178,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STOPPING_VALUE = 4; /** - * - * *
      * The ERROR state indicates the cluster is in a broken unrecoverable
      * state.
@@ -232,8 +187,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ERROR_VALUE = 5;
     /**
-     *
-     *
      * 
      * The DEGRADED state indicates the cluster requires user action to
      * restore full functionality.
@@ -243,6 +196,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DEGRADED_VALUE = 6;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -267,57 +221,53 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return PROVISIONING;
-        case 2:
-          return RUNNING;
-        case 3:
-          return RECONCILING;
-        case 4:
-          return STOPPING;
-        case 5:
-          return ERROR;
-        case 6:
-          return DEGRADED;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return PROVISIONING;
+        case 2: return RUNNING;
+        case 3: return RECONCILING;
+        case 4: return STOPPING;
+        case 5: return ERROR;
+        case 6: return DEGRADED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.gkemulticloud.v1.AwsCluster.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -335,12 +285,9 @@ private State(int value) {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The name of this resource.
    *
@@ -352,7 +299,6 @@ private State(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -361,15 +307,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of this resource.
    *
@@ -381,15 +326,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -398,19 +344,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Optional. A human readable description of this cluster.
    * Cannot be longer than 255 UTF-8 encoded bytes.
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -419,30 +361,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Optional. A human readable description of this cluster.
    * Cannot be longer than 255 UTF-8 encoded bytes.
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -453,16 +395,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int NETWORKING_FIELD_NUMBER = 3; private com.google.cloud.gkemulticloud.v1.AwsClusterNetworking networking_; /** - * - * *
    * Required. Cluster-wide networking configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the networking field is set. */ @java.lang.Override @@ -470,49 +407,33 @@ public boolean hasNetworking() { return networking_ != null; } /** - * - * *
    * Required. Cluster-wide networking configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The networking. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsClusterNetworking getNetworking() { - return networking_ == null - ? com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.getDefaultInstance() - : networking_; + return networking_ == null ? com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.getDefaultInstance() : networking_; } /** - * - * *
    * Required. Cluster-wide networking configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsClusterNetworkingOrBuilder getNetworkingOrBuilder() { - return networking_ == null - ? com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.getDefaultInstance() - : networking_; + return networking_ == null ? com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.getDefaultInstance() : networking_; } public static final int AWS_REGION_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object awsRegion_ = ""; /** - * - * *
    * Required. The AWS region where the cluster runs.
    *
@@ -523,7 +444,6 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterNetworkingOrBuilder getNetwor
    * 
* * string aws_region = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The awsRegion. */ @java.lang.Override @@ -532,15 +452,14 @@ public java.lang.String getAwsRegion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); awsRegion_ = s; return s; } } /** - * - * *
    * Required. The AWS region where the cluster runs.
    *
@@ -551,15 +470,16 @@ public java.lang.String getAwsRegion() {
    * 
* * string aws_region = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for awsRegion. */ @java.lang.Override - public com.google.protobuf.ByteString getAwsRegionBytes() { + public com.google.protobuf.ByteString + getAwsRegionBytes() { java.lang.Object ref = awsRegion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); awsRegion_ = b; return b; } else { @@ -570,16 +490,11 @@ public com.google.protobuf.ByteString getAwsRegionBytes() { public static final int CONTROL_PLANE_FIELD_NUMBER = 5; private com.google.cloud.gkemulticloud.v1.AwsControlPlane controlPlane_; /** - * - * *
    * Required. Configuration related to the cluster control plane.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the controlPlane field is set. */ @java.lang.Override @@ -587,55 +502,37 @@ public boolean hasControlPlane() { return controlPlane_ != null; } /** - * - * *
    * Required. Configuration related to the cluster control plane.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The controlPlane. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsControlPlane getControlPlane() { - return controlPlane_ == null - ? com.google.cloud.gkemulticloud.v1.AwsControlPlane.getDefaultInstance() - : controlPlane_; + return controlPlane_ == null ? com.google.cloud.gkemulticloud.v1.AwsControlPlane.getDefaultInstance() : controlPlane_; } /** - * - * *
    * Required. Configuration related to the cluster control plane.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsControlPlaneOrBuilder getControlPlaneOrBuilder() { - return controlPlane_ == null - ? com.google.cloud.gkemulticloud.v1.AwsControlPlane.getDefaultInstance() - : controlPlane_; + return controlPlane_ == null ? com.google.cloud.gkemulticloud.v1.AwsControlPlane.getDefaultInstance() : controlPlane_; } public static final int AUTHORIZATION_FIELD_NUMBER = 15; private com.google.cloud.gkemulticloud.v1.AwsAuthorization authorization_; /** - * - * *
    * Required. Configuration related to the cluster RBAC settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the authorization field is set. */ @java.lang.Override @@ -643,96 +540,64 @@ public boolean hasAuthorization() { return authorization_ != null; } /** - * - * *
    * Required. Configuration related to the cluster RBAC settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; * @return The authorization. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsAuthorization getAuthorization() { - return authorization_ == null - ? com.google.cloud.gkemulticloud.v1.AwsAuthorization.getDefaultInstance() - : authorization_; + return authorization_ == null ? com.google.cloud.gkemulticloud.v1.AwsAuthorization.getDefaultInstance() : authorization_; } /** - * - * *
    * Required. Configuration related to the cluster RBAC settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsAuthorizationOrBuilder getAuthorizationOrBuilder() { - return authorization_ == null - ? com.google.cloud.gkemulticloud.v1.AwsAuthorization.getDefaultInstance() - : authorization_; + return authorization_ == null ? com.google.cloud.gkemulticloud.v1.AwsAuthorization.getDefaultInstance() : authorization_; } public static final int STATE_FIELD_NUMBER = 7; private int state_ = 0; /** - * - * *
    * Output only. The current state of the cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The current state of the cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsCluster.State getState() { - com.google.cloud.gkemulticloud.v1.AwsCluster.State result = - com.google.cloud.gkemulticloud.v1.AwsCluster.State.forNumber(state_); - return result == null - ? com.google.cloud.gkemulticloud.v1.AwsCluster.State.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsCluster.State getState() { + com.google.cloud.gkemulticloud.v1.AwsCluster.State result = com.google.cloud.gkemulticloud.v1.AwsCluster.State.forNumber(state_); + return result == null ? com.google.cloud.gkemulticloud.v1.AwsCluster.State.UNRECOGNIZED : result; } public static final int ENDPOINT_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private volatile java.lang.Object endpoint_ = ""; /** - * - * *
    * Output only. The endpoint of the cluster's API server.
    * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The endpoint. */ @java.lang.Override @@ -741,29 +606,29 @@ public java.lang.String getEndpoint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endpoint_ = s; return s; } } /** - * - * *
    * Output only. The endpoint of the cluster's API server.
    * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for endpoint. */ @java.lang.Override - public com.google.protobuf.ByteString getEndpointBytes() { + public com.google.protobuf.ByteString + getEndpointBytes() { java.lang.Object ref = endpoint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); endpoint_ = b; return b; } else { @@ -772,18 +637,14 @@ public com.google.protobuf.ByteString getEndpointBytes() { } public static final int UID_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** - * - * *
    * Output only. A globally unique identifier for the cluster.
    * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -792,29 +653,29 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** - * - * *
    * Output only. A globally unique identifier for the cluster.
    * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -825,14 +686,11 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int RECONCILING_FIELD_NUMBER = 10; private boolean reconciling_ = false; /** - * - * *
    * Output only. If set, there are currently changes in flight to the cluster.
    * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -843,15 +701,11 @@ public boolean getReconciling() { public static final int CREATE_TIME_FIELD_NUMBER = 11; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time at which this cluster was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -859,15 +713,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time at which this cluster was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -875,14 +725,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time at which this cluster was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -892,15 +739,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 12; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -908,15 +751,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -924,14 +763,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -939,12 +775,9 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int ETAG_FIELD_NUMBER = 13; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -954,7 +787,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string etag = 13; - * * @return The etag. */ @java.lang.Override @@ -963,15 +795,14 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -981,15 +812,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 13; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -998,35 +830,32 @@ public com.google.protobuf.ByteString getEtagBytes() { } public static final int ANNOTATIONS_FIELD_NUMBER = 14; - private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsCluster_AnnotationsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsCluster_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } - public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
    * Optional. Annotations on the cluster.
    *
@@ -1039,25 +868,23 @@ public int getAnnotationsCount() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetAnnotations().getMap().containsKey(key); } - /** Use {@link #getAnnotationsMap()} instead. */ + /** + * Use {@link #getAnnotationsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** - * - * *
    * Optional. Annotations on the cluster.
    *
@@ -1070,16 +897,13 @@ public java.util.Map getAnnotations() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** - * - * *
    * Optional. Annotations on the cluster.
    *
@@ -1092,23 +916,20 @@ public java.util.Map getAnnotationsMap() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getAnnotationsOrDefault( + public /* nullable */ +java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Optional. Annotations on the cluster.
    *
@@ -1121,15 +942,14 @@ public java.util.Map getAnnotationsMap() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + public java.lang.String getAnnotationsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1139,16 +959,11 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) { public static final int WORKLOAD_IDENTITY_CONFIG_FIELD_NUMBER = 16; private com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workloadIdentityConfig_; /** - * - * *
    * Output only. Workload Identity settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the workloadIdentityConfig field is set. */ @java.lang.Override @@ -1156,56 +971,38 @@ public boolean hasWorkloadIdentityConfig() { return workloadIdentityConfig_ != null; } /** - * - * *
    * Output only. Workload Identity settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The workloadIdentityConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig getWorkloadIdentityConfig() { - return workloadIdentityConfig_ == null - ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() - : workloadIdentityConfig_; + return workloadIdentityConfig_ == null ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_; } /** - * - * *
    * Output only. Workload Identity settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder - getWorkloadIdentityConfigOrBuilder() { - return workloadIdentityConfig_ == null - ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() - : workloadIdentityConfig_; + public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder() { + return workloadIdentityConfig_ == null ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_; } public static final int CLUSTER_CA_CERTIFICATE_FIELD_NUMBER = 17; - @SuppressWarnings("serial") private volatile java.lang.Object clusterCaCertificate_ = ""; /** - * - * *
    * Output only. PEM encoded x509 certificate of the cluster root of trust.
    * 
* * string cluster_ca_certificate = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The clusterCaCertificate. */ @java.lang.Override @@ -1214,29 +1011,29 @@ public java.lang.String getClusterCaCertificate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterCaCertificate_ = s; return s; } } /** - * - * *
    * Output only. PEM encoded x509 certificate of the cluster root of trust.
    * 
* * string cluster_ca_certificate = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for clusterCaCertificate. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterCaCertificateBytes() { + public com.google.protobuf.ByteString + getClusterCaCertificateBytes() { java.lang.Object ref = clusterCaCertificate_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterCaCertificate_ = b; return b; } else { @@ -1247,16 +1044,11 @@ public com.google.protobuf.ByteString getClusterCaCertificateBytes() { public static final int FLEET_FIELD_NUMBER = 18; private com.google.cloud.gkemulticloud.v1.Fleet fleet_; /** - * - * *
    * Required. Fleet configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the fleet field is set. */ @java.lang.Override @@ -1264,16 +1056,11 @@ public boolean hasFleet() { return fleet_ != null; } /** - * - * *
    * Required. Fleet configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; * @return The fleet. */ @java.lang.Override @@ -1281,15 +1068,11 @@ public com.google.cloud.gkemulticloud.v1.Fleet getFleet() { return fleet_ == null ? com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() : fleet_; } /** - * - * *
    * Required. Fleet configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder() { @@ -1299,16 +1082,11 @@ public com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder() { public static final int LOGGING_CONFIG_FIELD_NUMBER = 19; private com.google.cloud.gkemulticloud.v1.LoggingConfig loggingConfig_; /** - * - * *
    * Optional. Logging configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the loggingConfig field is set. */ @java.lang.Override @@ -1316,136 +1094,98 @@ public boolean hasLoggingConfig() { return loggingConfig_ != null; } /** - * - * *
    * Optional. Logging configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; * @return The loggingConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.LoggingConfig getLoggingConfig() { - return loggingConfig_ == null - ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() : loggingConfig_; } /** - * - * *
    * Optional. Logging configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder() { - return loggingConfig_ == null - ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() : loggingConfig_; } public static final int ERRORS_FIELD_NUMBER = 20; - @SuppressWarnings("serial") private java.util.List errors_; /** - * - * *
    * Output only. A set of errors found in the cluster.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getErrorsList() { return errors_; } /** - * - * *
    * Output only. A set of errors found in the cluster.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getErrorsOrBuilderList() { return errors_; } /** - * - * *
    * Output only. A set of errors found in the cluster.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** - * - * *
    * Output only. A set of errors found in the cluster.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsClusterError getErrors(int index) { return errors_.get(index); } /** - * - * *
    * Output only. A set of errors found in the cluster.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsClusterErrorOrBuilder getErrorsOrBuilder(int index) { + public com.google.cloud.gkemulticloud.v1.AwsClusterErrorOrBuilder getErrorsOrBuilder( + int index) { return errors_.get(index); } public static final int MONITORING_CONFIG_FIELD_NUMBER = 21; private com.google.cloud.gkemulticloud.v1.MonitoringConfig monitoringConfig_; /** - * - * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the monitoringConfig field is set. */ @java.lang.Override @@ -1453,45 +1193,68 @@ public boolean hasMonitoringConfig() { return monitoringConfig_ != null; } /** - * - * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; * @return The monitoringConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.MonitoringConfig getMonitoringConfig() { - return monitoringConfig_ == null - ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() - : monitoringConfig_; + return monitoringConfig_ == null ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; } /** + *
+   * Optional. Monitoring configuration for this cluster.
+   * 
* + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBuilder() { + return monitoringConfig_ == null ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; + } + + public static final int BINARY_AUTHORIZATION_FIELD_NUMBER = 22; + private com.google.cloud.gkemulticloud.v1.BinaryAuthorization binaryAuthorization_; + /** + *
+   * Optional. Binary Authorization configuration for this cluster.
+   * 
* + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the binaryAuthorization field is set. + */ + @java.lang.Override + public boolean hasBinaryAuthorization() { + return binaryAuthorization_ != null; + } + /** *
-   * Optional. Monitoring configuration for this cluster.
+   * Optional. Binary Authorization configuration for this cluster.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * @return The binaryAuthorization. + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.BinaryAuthorization getBinaryAuthorization() { + return binaryAuthorization_ == null ? com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; + } + /** + *
+   * Optional. Binary Authorization configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder - getMonitoringConfigOrBuilder() { - return monitoringConfig_ == null - ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() - : monitoringConfig_; + public com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder() { + return binaryAuthorization_ == null ? com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1503,7 +1266,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1519,8 +1283,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (controlPlane_ != null) { output.writeMessage(5, getControlPlane()); } - if (state_ - != com.google.cloud.gkemulticloud.v1.AwsCluster.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ != com.google.cloud.gkemulticloud.v1.AwsCluster.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(7, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpoint_)) { @@ -1541,8 +1304,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, etag_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 14); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetAnnotations(), + AnnotationsDefaultEntryHolder.defaultEntry, + 14); if (authorization_ != null) { output.writeMessage(15, getAuthorization()); } @@ -1564,6 +1331,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (monitoringConfig_ != null) { output.writeMessage(21, getMonitoringConfig()); } + if (binaryAuthorization_ != null) { + output.writeMessage(22, getBinaryAuthorization()); + } getUnknownFields().writeTo(output); } @@ -1580,17 +1350,19 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (networking_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getNetworking()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getNetworking()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsRegion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, awsRegion_); } if (controlPlane_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getControlPlane()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getControlPlane()); } - if (state_ - != com.google.cloud.gkemulticloud.v1.AwsCluster.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); + if (state_ != com.google.cloud.gkemulticloud.v1.AwsCluster.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpoint_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, endpoint_); @@ -1599,48 +1371,60 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, uid_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, reconciling_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(10, reconciling_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, etag_); } - for (java.util.Map.Entry entry : - internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry annotations__ = - AnnotationsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, annotations__); + for (java.util.Map.Entry entry + : internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry + annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, annotations__); } if (authorization_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getAuthorization()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, getAuthorization()); } if (workloadIdentityConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(16, getWorkloadIdentityConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, getWorkloadIdentityConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterCaCertificate_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, clusterCaCertificate_); } if (fleet_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getFleet()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, getFleet()); } if (loggingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getLoggingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(19, getLoggingConfig()); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(20, errors_.get(i)); } if (monitoringConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getMonitoringConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, getMonitoringConfig()); + } + if (binaryAuthorization_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, getBinaryAuthorization()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1650,60 +1434,83 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsCluster)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsCluster other = - (com.google.cloud.gkemulticloud.v1.AwsCluster) obj; + com.google.cloud.gkemulticloud.v1.AwsCluster other = (com.google.cloud.gkemulticloud.v1.AwsCluster) obj; - if (!getName().equals(other.getName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (hasNetworking() != other.hasNetworking()) return false; if (hasNetworking()) { - if (!getNetworking().equals(other.getNetworking())) return false; + if (!getNetworking() + .equals(other.getNetworking())) return false; } - if (!getAwsRegion().equals(other.getAwsRegion())) return false; + if (!getAwsRegion() + .equals(other.getAwsRegion())) return false; if (hasControlPlane() != other.hasControlPlane()) return false; if (hasControlPlane()) { - if (!getControlPlane().equals(other.getControlPlane())) return false; + if (!getControlPlane() + .equals(other.getControlPlane())) return false; } if (hasAuthorization() != other.hasAuthorization()) return false; if (hasAuthorization()) { - if (!getAuthorization().equals(other.getAuthorization())) return false; + if (!getAuthorization() + .equals(other.getAuthorization())) return false; } if (state_ != other.state_) return false; - if (!getEndpoint().equals(other.getEndpoint())) return false; - if (!getUid().equals(other.getUid())) return false; - if (getReconciling() != other.getReconciling()) return false; + if (!getEndpoint() + .equals(other.getEndpoint())) return false; + if (!getUid() + .equals(other.getUid())) return false; + if (getReconciling() + != other.getReconciling()) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } - if (!getEtag().equals(other.getEtag())) return false; - if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; + if (!internalGetAnnotations().equals( + other.internalGetAnnotations())) return false; if (hasWorkloadIdentityConfig() != other.hasWorkloadIdentityConfig()) return false; if (hasWorkloadIdentityConfig()) { - if (!getWorkloadIdentityConfig().equals(other.getWorkloadIdentityConfig())) return false; + if (!getWorkloadIdentityConfig() + .equals(other.getWorkloadIdentityConfig())) return false; } - if (!getClusterCaCertificate().equals(other.getClusterCaCertificate())) return false; + if (!getClusterCaCertificate() + .equals(other.getClusterCaCertificate())) return false; if (hasFleet() != other.hasFleet()) return false; if (hasFleet()) { - if (!getFleet().equals(other.getFleet())) return false; + if (!getFleet() + .equals(other.getFleet())) return false; } if (hasLoggingConfig() != other.hasLoggingConfig()) return false; if (hasLoggingConfig()) { - if (!getLoggingConfig().equals(other.getLoggingConfig())) return false; + if (!getLoggingConfig() + .equals(other.getLoggingConfig())) return false; } - if (!getErrorsList().equals(other.getErrorsList())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; if (hasMonitoringConfig() != other.hasMonitoringConfig()) return false; if (hasMonitoringConfig()) { - if (!getMonitoringConfig().equals(other.getMonitoringConfig())) return false; + if (!getMonitoringConfig() + .equals(other.getMonitoringConfig())) return false; + } + if (hasBinaryAuthorization() != other.hasBinaryAuthorization()) return false; + if (hasBinaryAuthorization()) { + if (!getBinaryAuthorization() + .equals(other.getBinaryAuthorization())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1741,7 +1548,8 @@ public int hashCode() { hash = (37 * hash) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid().hashCode(); hash = (37 * hash) + RECONCILING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReconciling()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReconciling()); if (hasCreateTime()) { hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime().hashCode(); @@ -1778,161 +1586,163 @@ public int hashCode() { hash = (37 * hash) + MONITORING_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getMonitoringConfig().hashCode(); } + if (hasBinaryAuthorization()) { + hash = (37 * hash) + BINARY_AUTHORIZATION_FIELD_NUMBER; + hash = (53 * hash) + getBinaryAuthorization().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.gkemulticloud.v1.AwsCluster parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.gkemulticloud.v1.AwsCluster parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsCluster parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsCluster parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsCluster parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsCluster parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsCluster parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsCluster parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsCluster parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsCluster parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsCluster parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsCluster parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsCluster parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsCluster parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsCluster prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * An Anthos cluster running on AWS.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsCluster} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsCluster) com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsCluster_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsCluster_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 14: return internalGetAnnotations(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 14: return internalGetMutableAnnotations(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsCluster_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsCluster_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsCluster.class, - com.google.cloud.gkemulticloud.v1.AwsCluster.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsCluster.class, com.google.cloud.gkemulticloud.v1.AwsCluster.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AwsCluster.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1999,13 +1809,18 @@ public Builder clear() { monitoringConfigBuilder_.dispose(); monitoringConfigBuilder_ = null; } + binaryAuthorization_ = null; + if (binaryAuthorizationBuilder_ != null) { + binaryAuthorizationBuilder_.dispose(); + binaryAuthorizationBuilder_ = null; + } return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsCluster_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsCluster_descriptor; } @java.lang.Override @@ -2024,12 +1839,9 @@ public com.google.cloud.gkemulticloud.v1.AwsCluster build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsCluster buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsCluster result = - new com.google.cloud.gkemulticloud.v1.AwsCluster(this); + com.google.cloud.gkemulticloud.v1.AwsCluster result = new com.google.cloud.gkemulticloud.v1.AwsCluster(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -2055,18 +1867,22 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsCluster result) result.description_ = description_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.networking_ = networkingBuilder_ == null ? networking_ : networkingBuilder_.build(); + result.networking_ = networkingBuilder_ == null + ? networking_ + : networkingBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.awsRegion_ = awsRegion_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.controlPlane_ = - controlPlaneBuilder_ == null ? controlPlane_ : controlPlaneBuilder_.build(); + result.controlPlane_ = controlPlaneBuilder_ == null + ? controlPlane_ + : controlPlaneBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.authorization_ = - authorizationBuilder_ == null ? authorization_ : authorizationBuilder_.build(); + result.authorization_ = authorizationBuilder_ == null + ? authorization_ + : authorizationBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { result.state_ = state_; @@ -2081,10 +1897,14 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsCluster result) result.reconciling_ = reconciling_; } if (((from_bitField0_ & 0x00000400) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000800) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00001000) != 0)) { result.etag_ = etag_; @@ -2094,24 +1914,32 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsCluster result) result.annotations_.makeImmutable(); } if (((from_bitField0_ & 0x00004000) != 0)) { - result.workloadIdentityConfig_ = - workloadIdentityConfigBuilder_ == null - ? workloadIdentityConfig_ - : workloadIdentityConfigBuilder_.build(); + result.workloadIdentityConfig_ = workloadIdentityConfigBuilder_ == null + ? workloadIdentityConfig_ + : workloadIdentityConfigBuilder_.build(); } if (((from_bitField0_ & 0x00008000) != 0)) { result.clusterCaCertificate_ = clusterCaCertificate_; } if (((from_bitField0_ & 0x00010000) != 0)) { - result.fleet_ = fleetBuilder_ == null ? fleet_ : fleetBuilder_.build(); + result.fleet_ = fleetBuilder_ == null + ? fleet_ + : fleetBuilder_.build(); } if (((from_bitField0_ & 0x00020000) != 0)) { - result.loggingConfig_ = - loggingConfigBuilder_ == null ? loggingConfig_ : loggingConfigBuilder_.build(); + result.loggingConfig_ = loggingConfigBuilder_ == null + ? loggingConfig_ + : loggingConfigBuilder_.build(); } if (((from_bitField0_ & 0x00080000) != 0)) { - result.monitoringConfig_ = - monitoringConfigBuilder_ == null ? monitoringConfig_ : monitoringConfigBuilder_.build(); + result.monitoringConfig_ = monitoringConfigBuilder_ == null + ? monitoringConfig_ + : monitoringConfigBuilder_.build(); + } + if (((from_bitField0_ & 0x00100000) != 0)) { + result.binaryAuthorization_ = binaryAuthorizationBuilder_ == null + ? binaryAuthorization_ + : binaryAuthorizationBuilder_.build(); } } @@ -2119,39 +1947,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsCluster result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AwsCluster) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsCluster) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsCluster)other); } else { super.mergeFrom(other); return this; @@ -2211,7 +2038,8 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsCluster other) { bitField0_ |= 0x00001000; onChanged(); } - internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); + internalGetMutableAnnotations().mergeFrom( + other.internalGetAnnotations()); bitField0_ |= 0x00002000; if (other.hasWorkloadIdentityConfig()) { mergeWorkloadIdentityConfig(other.getWorkloadIdentityConfig()); @@ -2245,10 +2073,9 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsCluster other) { errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00040000); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() - : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -2257,6 +2084,9 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsCluster other) { if (other.hasMonitoringConfig()) { mergeMonitoringConfig(other.getMonitoringConfig()); } + if (other.hasBinaryAuthorization()) { + mergeBinaryAuthorization(other.getBinaryAuthorization()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -2283,149 +2113,149 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getNetworkingFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - awsRegion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - input.readMessage(getControlPlaneFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 56: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 66: - { - endpoint_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 74: - { - uid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 74 - case 80: - { - reconciling_ = input.readBool(); - bitField0_ |= 0x00000200; - break; - } // case 80 - case 90: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000400; - break; - } // case 90 - case 98: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000800; - break; - } // case 98 - case 106: - { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; - break; - } // case 106 - case 114: - { - com.google.protobuf.MapEntry annotations__ = - input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableAnnotations() - .getMutableMap() - .put(annotations__.getKey(), annotations__.getValue()); - bitField0_ |= 0x00002000; - break; - } // case 114 - case 122: - { - input.readMessage(getAuthorizationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 122 - case 130: - { - input.readMessage( - getWorkloadIdentityConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00004000; - break; - } // case 130 - case 138: - { - clusterCaCertificate_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00008000; - break; - } // case 138 - case 146: - { - input.readMessage(getFleetFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00010000; - break; - } // case 146 - case 154: - { - input.readMessage(getLoggingConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00020000; - break; - } // case 154 - case 162: - { - com.google.cloud.gkemulticloud.v1.AwsClusterError m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsClusterError.parser(), - extensionRegistry); - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.add(m); - } else { - errorsBuilder_.addMessage(m); - } - break; - } // case 162 - case 170: - { - input.readMessage( - getMonitoringConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00080000; - break; - } // case 170 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getNetworkingFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + awsRegion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + input.readMessage( + getControlPlaneFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 56: { + state_ = input.readEnum(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 66: { + endpoint_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 74: { + uid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 80: { + reconciling_ = input.readBool(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 90: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 90 + case 98: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000800; + break; + } // case 98 + case 106: { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 106 + case 114: { + com.google.protobuf.MapEntry + annotations__ = input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableAnnotations().getMutableMap().put( + annotations__.getKey(), annotations__.getValue()); + bitField0_ |= 0x00002000; + break; + } // case 114 + case 122: { + input.readMessage( + getAuthorizationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 122 + case 130: { + input.readMessage( + getWorkloadIdentityConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00004000; + break; + } // case 130 + case 138: { + clusterCaCertificate_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00008000; + break; + } // case 138 + case 146: { + input.readMessage( + getFleetFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00010000; + break; + } // case 146 + case 154: { + input.readMessage( + getLoggingConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00020000; + break; + } // case 154 + case 162: { + com.google.cloud.gkemulticloud.v1.AwsClusterError m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsClusterError.parser(), + extensionRegistry); + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.add(m); + } else { + errorsBuilder_.addMessage(m); + } + break; + } // case 162 + case 170: { + input.readMessage( + getMonitoringConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00080000; + break; + } // case 170 + case 178: { + input.readMessage( + getBinaryAuthorizationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00100000; + break; + } // case 178 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2435,13 +2265,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The name of this resource.
      *
@@ -2453,13 +2280,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2468,8 +2295,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of this resource.
      *
@@ -2481,14 +2306,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2496,8 +2322,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of this resource.
      *
@@ -2509,22 +2333,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of this resource.
      *
@@ -2536,7 +2356,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -2546,8 +2365,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The name of this resource.
      *
@@ -2559,14 +2376,12 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2576,21 +2391,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Optional. A human readable description of this cluster.
      * Cannot be longer than 255 UTF-8 encoded bytes.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2599,22 +2412,21 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. A human readable description of this cluster.
      * Cannot be longer than 255 UTF-8 encoded bytes.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2622,37 +2434,30 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. A human readable description of this cluster.
      * Cannot be longer than 255 UTF-8 encoded bytes.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. A human readable description of this cluster.
      * Cannot be longer than 255 UTF-8 encoded bytes.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2662,22 +2467,18 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Optional. A human readable description of this cluster.
      * Cannot be longer than 255 UTF-8 encoded bytes.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000002; @@ -2687,58 +2488,39 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private com.google.cloud.gkemulticloud.v1.AwsClusterNetworking networking_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsClusterNetworking, - com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder, - com.google.cloud.gkemulticloud.v1.AwsClusterNetworkingOrBuilder> - networkingBuilder_; + com.google.cloud.gkemulticloud.v1.AwsClusterNetworking, com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterNetworkingOrBuilder> networkingBuilder_; /** - * - * *
      * Required. Cluster-wide networking configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the networking field is set. */ public boolean hasNetworking() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. Cluster-wide networking configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The networking. */ public com.google.cloud.gkemulticloud.v1.AwsClusterNetworking getNetworking() { if (networkingBuilder_ == null) { - return networking_ == null - ? com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.getDefaultInstance() - : networking_; + return networking_ == null ? com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.getDefaultInstance() : networking_; } else { return networkingBuilder_.getMessage(); } } /** - * - * *
      * Required. Cluster-wide networking configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setNetworking(com.google.cloud.gkemulticloud.v1.AwsClusterNetworking value) { if (networkingBuilder_ == null) { @@ -2754,15 +2536,11 @@ public Builder setNetworking(com.google.cloud.gkemulticloud.v1.AwsClusterNetwork return this; } /** - * - * *
      * Required. Cluster-wide networking configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setNetworking( com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder builderForValue) { @@ -2776,22 +2554,17 @@ public Builder setNetworking( return this; } /** - * - * *
      * Required. Cluster-wide networking configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeNetworking(com.google.cloud.gkemulticloud.v1.AwsClusterNetworking value) { if (networkingBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && networking_ != null - && networking_ - != com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + networking_ != null && + networking_ != com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.getDefaultInstance()) { getNetworkingBuilder().mergeFrom(value); } else { networking_ = value; @@ -2804,15 +2577,11 @@ public Builder mergeNetworking(com.google.cloud.gkemulticloud.v1.AwsClusterNetwo return this; } /** - * - * *
      * Required. Cluster-wide networking configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearNetworking() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2825,15 +2594,11 @@ public Builder clearNetworking() { return this; } /** - * - * *
      * Required. Cluster-wide networking configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder getNetworkingBuilder() { bitField0_ |= 0x00000004; @@ -2841,49 +2606,36 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder getNetwork return getNetworkingFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Cluster-wide networking configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.gkemulticloud.v1.AwsClusterNetworkingOrBuilder - getNetworkingOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsClusterNetworkingOrBuilder getNetworkingOrBuilder() { if (networkingBuilder_ != null) { return networkingBuilder_.getMessageOrBuilder(); } else { - return networking_ == null - ? com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.getDefaultInstance() - : networking_; + return networking_ == null ? + com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.getDefaultInstance() : networking_; } } /** - * - * *
      * Required. Cluster-wide networking configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsClusterNetworking, - com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder, - com.google.cloud.gkemulticloud.v1.AwsClusterNetworkingOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsClusterNetworking, com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterNetworkingOrBuilder> getNetworkingFieldBuilder() { if (networkingBuilder_ == null) { - networkingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsClusterNetworking, - com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder, - com.google.cloud.gkemulticloud.v1.AwsClusterNetworkingOrBuilder>( - getNetworking(), getParentForChildren(), isClean()); + networkingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsClusterNetworking, com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterNetworkingOrBuilder>( + getNetworking(), + getParentForChildren(), + isClean()); networking_ = null; } return networkingBuilder_; @@ -2891,8 +2643,6 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder getNetwork private java.lang.Object awsRegion_ = ""; /** - * - * *
      * Required. The AWS region where the cluster runs.
      *
@@ -2903,13 +2653,13 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder getNetwork
      * 
* * string aws_region = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The awsRegion. */ public java.lang.String getAwsRegion() { java.lang.Object ref = awsRegion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); awsRegion_ = s; return s; @@ -2918,8 +2668,6 @@ public java.lang.String getAwsRegion() { } } /** - * - * *
      * Required. The AWS region where the cluster runs.
      *
@@ -2930,14 +2678,15 @@ public java.lang.String getAwsRegion() {
      * 
* * string aws_region = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for awsRegion. */ - public com.google.protobuf.ByteString getAwsRegionBytes() { + public com.google.protobuf.ByteString + getAwsRegionBytes() { java.lang.Object ref = awsRegion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); awsRegion_ = b; return b; } else { @@ -2945,8 +2694,6 @@ public com.google.protobuf.ByteString getAwsRegionBytes() { } } /** - * - * *
      * Required. The AWS region where the cluster runs.
      *
@@ -2957,22 +2704,18 @@ public com.google.protobuf.ByteString getAwsRegionBytes() {
      * 
* * string aws_region = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The awsRegion to set. * @return This builder for chaining. */ - public Builder setAwsRegion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAwsRegion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } awsRegion_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Required. The AWS region where the cluster runs.
      *
@@ -2983,7 +2726,6 @@ public Builder setAwsRegion(java.lang.String value) {
      * 
* * string aws_region = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAwsRegion() { @@ -2993,8 +2735,6 @@ public Builder clearAwsRegion() { return this; } /** - * - * *
      * Required. The AWS region where the cluster runs.
      *
@@ -3005,14 +2745,12 @@ public Builder clearAwsRegion() {
      * 
* * string aws_region = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for awsRegion to set. * @return This builder for chaining. */ - public Builder setAwsRegionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAwsRegionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); awsRegion_ = value; bitField0_ |= 0x00000008; @@ -3022,58 +2760,39 @@ public Builder setAwsRegionBytes(com.google.protobuf.ByteString value) { private com.google.cloud.gkemulticloud.v1.AwsControlPlane controlPlane_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsControlPlane, - com.google.cloud.gkemulticloud.v1.AwsControlPlane.Builder, - com.google.cloud.gkemulticloud.v1.AwsControlPlaneOrBuilder> - controlPlaneBuilder_; + com.google.cloud.gkemulticloud.v1.AwsControlPlane, com.google.cloud.gkemulticloud.v1.AwsControlPlane.Builder, com.google.cloud.gkemulticloud.v1.AwsControlPlaneOrBuilder> controlPlaneBuilder_; /** - * - * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the controlPlane field is set. */ public boolean hasControlPlane() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The controlPlane. */ public com.google.cloud.gkemulticloud.v1.AwsControlPlane getControlPlane() { if (controlPlaneBuilder_ == null) { - return controlPlane_ == null - ? com.google.cloud.gkemulticloud.v1.AwsControlPlane.getDefaultInstance() - : controlPlane_; + return controlPlane_ == null ? com.google.cloud.gkemulticloud.v1.AwsControlPlane.getDefaultInstance() : controlPlane_; } else { return controlPlaneBuilder_.getMessage(); } } /** - * - * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setControlPlane(com.google.cloud.gkemulticloud.v1.AwsControlPlane value) { if (controlPlaneBuilder_ == null) { @@ -3089,15 +2808,11 @@ public Builder setControlPlane(com.google.cloud.gkemulticloud.v1.AwsControlPlane return this; } /** - * - * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setControlPlane( com.google.cloud.gkemulticloud.v1.AwsControlPlane.Builder builderForValue) { @@ -3111,22 +2826,17 @@ public Builder setControlPlane( return this; } /** - * - * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeControlPlane(com.google.cloud.gkemulticloud.v1.AwsControlPlane value) { if (controlPlaneBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && controlPlane_ != null - && controlPlane_ - != com.google.cloud.gkemulticloud.v1.AwsControlPlane.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + controlPlane_ != null && + controlPlane_ != com.google.cloud.gkemulticloud.v1.AwsControlPlane.getDefaultInstance()) { getControlPlaneBuilder().mergeFrom(value); } else { controlPlane_ = value; @@ -3139,15 +2849,11 @@ public Builder mergeControlPlane(com.google.cloud.gkemulticloud.v1.AwsControlPla return this; } /** - * - * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearControlPlane() { bitField0_ = (bitField0_ & ~0x00000010); @@ -3160,15 +2866,11 @@ public Builder clearControlPlane() { return this; } /** - * - * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AwsControlPlane.Builder getControlPlaneBuilder() { bitField0_ |= 0x00000010; @@ -3176,48 +2878,36 @@ public com.google.cloud.gkemulticloud.v1.AwsControlPlane.Builder getControlPlane return getControlPlaneFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AwsControlPlaneOrBuilder getControlPlaneOrBuilder() { if (controlPlaneBuilder_ != null) { return controlPlaneBuilder_.getMessageOrBuilder(); } else { - return controlPlane_ == null - ? com.google.cloud.gkemulticloud.v1.AwsControlPlane.getDefaultInstance() - : controlPlane_; + return controlPlane_ == null ? + com.google.cloud.gkemulticloud.v1.AwsControlPlane.getDefaultInstance() : controlPlane_; } } /** - * - * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsControlPlane, - com.google.cloud.gkemulticloud.v1.AwsControlPlane.Builder, - com.google.cloud.gkemulticloud.v1.AwsControlPlaneOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsControlPlane, com.google.cloud.gkemulticloud.v1.AwsControlPlane.Builder, com.google.cloud.gkemulticloud.v1.AwsControlPlaneOrBuilder> getControlPlaneFieldBuilder() { if (controlPlaneBuilder_ == null) { - controlPlaneBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsControlPlane, - com.google.cloud.gkemulticloud.v1.AwsControlPlane.Builder, - com.google.cloud.gkemulticloud.v1.AwsControlPlaneOrBuilder>( - getControlPlane(), getParentForChildren(), isClean()); + controlPlaneBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsControlPlane, com.google.cloud.gkemulticloud.v1.AwsControlPlane.Builder, com.google.cloud.gkemulticloud.v1.AwsControlPlaneOrBuilder>( + getControlPlane(), + getParentForChildren(), + isClean()); controlPlane_ = null; } return controlPlaneBuilder_; @@ -3225,58 +2915,39 @@ public com.google.cloud.gkemulticloud.v1.AwsControlPlaneOrBuilder getControlPlan private com.google.cloud.gkemulticloud.v1.AwsAuthorization authorization_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsAuthorization, - com.google.cloud.gkemulticloud.v1.AwsAuthorization.Builder, - com.google.cloud.gkemulticloud.v1.AwsAuthorizationOrBuilder> - authorizationBuilder_; + com.google.cloud.gkemulticloud.v1.AwsAuthorization, com.google.cloud.gkemulticloud.v1.AwsAuthorization.Builder, com.google.cloud.gkemulticloud.v1.AwsAuthorizationOrBuilder> authorizationBuilder_; /** - * - * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the authorization field is set. */ public boolean hasAuthorization() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; * @return The authorization. */ public com.google.cloud.gkemulticloud.v1.AwsAuthorization getAuthorization() { if (authorizationBuilder_ == null) { - return authorization_ == null - ? com.google.cloud.gkemulticloud.v1.AwsAuthorization.getDefaultInstance() - : authorization_; + return authorization_ == null ? com.google.cloud.gkemulticloud.v1.AwsAuthorization.getDefaultInstance() : authorization_; } else { return authorizationBuilder_.getMessage(); } } /** - * - * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAuthorization(com.google.cloud.gkemulticloud.v1.AwsAuthorization value) { if (authorizationBuilder_ == null) { @@ -3292,15 +2963,11 @@ public Builder setAuthorization(com.google.cloud.gkemulticloud.v1.AwsAuthorizati return this; } /** - * - * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAuthorization( com.google.cloud.gkemulticloud.v1.AwsAuthorization.Builder builderForValue) { @@ -3314,22 +2981,17 @@ public Builder setAuthorization( return this; } /** - * - * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAuthorization(com.google.cloud.gkemulticloud.v1.AwsAuthorization value) { if (authorizationBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && authorization_ != null - && authorization_ - != com.google.cloud.gkemulticloud.v1.AwsAuthorization.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + authorization_ != null && + authorization_ != com.google.cloud.gkemulticloud.v1.AwsAuthorization.getDefaultInstance()) { getAuthorizationBuilder().mergeFrom(value); } else { authorization_ = value; @@ -3342,15 +3004,11 @@ public Builder mergeAuthorization(com.google.cloud.gkemulticloud.v1.AwsAuthoriza return this; } /** - * - * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAuthorization() { bitField0_ = (bitField0_ & ~0x00000020); @@ -3363,15 +3021,11 @@ public Builder clearAuthorization() { return this; } /** - * - * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AwsAuthorization.Builder getAuthorizationBuilder() { bitField0_ |= 0x00000020; @@ -3379,48 +3033,36 @@ public com.google.cloud.gkemulticloud.v1.AwsAuthorization.Builder getAuthorizati return getAuthorizationFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AwsAuthorizationOrBuilder getAuthorizationOrBuilder() { if (authorizationBuilder_ != null) { return authorizationBuilder_.getMessageOrBuilder(); } else { - return authorization_ == null - ? com.google.cloud.gkemulticloud.v1.AwsAuthorization.getDefaultInstance() - : authorization_; + return authorization_ == null ? + com.google.cloud.gkemulticloud.v1.AwsAuthorization.getDefaultInstance() : authorization_; } } /** - * - * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsAuthorization, - com.google.cloud.gkemulticloud.v1.AwsAuthorization.Builder, - com.google.cloud.gkemulticloud.v1.AwsAuthorizationOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsAuthorization, com.google.cloud.gkemulticloud.v1.AwsAuthorization.Builder, com.google.cloud.gkemulticloud.v1.AwsAuthorizationOrBuilder> getAuthorizationFieldBuilder() { if (authorizationBuilder_ == null) { - authorizationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsAuthorization, - com.google.cloud.gkemulticloud.v1.AwsAuthorization.Builder, - com.google.cloud.gkemulticloud.v1.AwsAuthorizationOrBuilder>( - getAuthorization(), getParentForChildren(), isClean()); + authorizationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsAuthorization, com.google.cloud.gkemulticloud.v1.AwsAuthorization.Builder, com.google.cloud.gkemulticloud.v1.AwsAuthorizationOrBuilder>( + getAuthorization(), + getParentForChildren(), + isClean()); authorization_ = null; } return authorizationBuilder_; @@ -3428,33 +3070,22 @@ public com.google.cloud.gkemulticloud.v1.AwsAuthorizationOrBuilder getAuthorizat private int state_ = 0; /** - * - * *
      * Output only. The current state of the cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The current state of the cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -3465,37 +3096,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The current state of the cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsCluster.State getState() { - com.google.cloud.gkemulticloud.v1.AwsCluster.State result = - com.google.cloud.gkemulticloud.v1.AwsCluster.State.forNumber(state_); - return result == null - ? com.google.cloud.gkemulticloud.v1.AwsCluster.State.UNRECOGNIZED - : result; + com.google.cloud.gkemulticloud.v1.AwsCluster.State result = com.google.cloud.gkemulticloud.v1.AwsCluster.State.forNumber(state_); + return result == null ? com.google.cloud.gkemulticloud.v1.AwsCluster.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current state of the cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -3509,16 +3127,11 @@ public Builder setState(com.google.cloud.gkemulticloud.v1.AwsCluster.State value return this; } /** - * - * *
      * Output only. The current state of the cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -3530,20 +3143,18 @@ public Builder clearState() { private java.lang.Object endpoint_ = ""; /** - * - * *
      * Output only. The endpoint of the cluster's API server.
      * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The endpoint. */ public java.lang.String getEndpoint() { java.lang.Object ref = endpoint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endpoint_ = s; return s; @@ -3552,21 +3163,20 @@ public java.lang.String getEndpoint() { } } /** - * - * *
      * Output only. The endpoint of the cluster's API server.
      * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for endpoint. */ - public com.google.protobuf.ByteString getEndpointBytes() { + public com.google.protobuf.ByteString + getEndpointBytes() { java.lang.Object ref = endpoint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); endpoint_ = b; return b; } else { @@ -3574,35 +3184,28 @@ public com.google.protobuf.ByteString getEndpointBytes() { } } /** - * - * *
      * Output only. The endpoint of the cluster's API server.
      * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The endpoint to set. * @return This builder for chaining. */ - public Builder setEndpoint(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEndpoint( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } endpoint_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * Output only. The endpoint of the cluster's API server.
      * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearEndpoint() { @@ -3612,21 +3215,17 @@ public Builder clearEndpoint() { return this; } /** - * - * *
      * Output only. The endpoint of the cluster's API server.
      * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for endpoint to set. * @return This builder for chaining. */ - public Builder setEndpointBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEndpointBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); endpoint_ = value; bitField0_ |= 0x00000080; @@ -3636,20 +3235,18 @@ public Builder setEndpointBytes(com.google.protobuf.ByteString value) { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. A globally unique identifier for the cluster.
      * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -3658,21 +3255,20 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. A globally unique identifier for the cluster.
      * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -3680,35 +3276,28 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. A globally unique identifier for the cluster.
      * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uid_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * Output only. A globally unique identifier for the cluster.
      * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { @@ -3718,21 +3307,17 @@ public Builder clearUid() { return this; } /** - * - * *
      * Output only. A globally unique identifier for the cluster.
      * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000100; @@ -3740,16 +3325,13 @@ public Builder setUidBytes(com.google.protobuf.ByteString value) { return this; } - private boolean reconciling_; + private boolean reconciling_ ; /** - * - * *
      * Output only. If set, there are currently changes in flight to the cluster.
      * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -3757,14 +3339,11 @@ public boolean getReconciling() { return reconciling_; } /** - * - * *
      * Output only. If set, there are currently changes in flight to the cluster.
      * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The reconciling to set. * @return This builder for chaining. */ @@ -3776,14 +3355,11 @@ public Builder setReconciling(boolean value) { return this; } /** - * - * *
      * Output only. If set, there are currently changes in flight to the cluster.
      * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -3795,58 +3371,39 @@ public Builder clearReconciling() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time at which this cluster was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000400) != 0); } /** - * - * *
      * Output only. The time at which this cluster was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which this cluster was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -3862,17 +3419,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this cluster was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -3883,21 +3437,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time at which this cluster was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -3910,15 +3460,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this cluster was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000400); @@ -3931,15 +3477,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time at which this cluster was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000400; @@ -3947,48 +3489,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which this cluster was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time at which this cluster was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -3996,58 +3526,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000800) != 0); } /** - * - * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -4063,17 +3574,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -4084,21 +3592,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -4111,15 +3615,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000800); @@ -4132,15 +3632,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000800; @@ -4148,48 +3644,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -4197,8 +3681,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object etag_ = ""; /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -4208,13 +3690,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string etag = 13; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -4223,8 +3705,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -4234,14 +3714,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 13; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -4249,8 +3730,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -4260,22 +3739,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 13; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -4285,7 +3760,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 13; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -4295,8 +3769,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -4306,14 +3778,12 @@ public Builder clearEtag() {
      * 
* * string etag = 13; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00001000; @@ -4321,8 +3791,8 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -4331,12 +3801,11 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { } return annotations_; } - private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = - com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -4345,13 +3814,10 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { onChanged(); return annotations_; } - public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
      * Optional. Annotations on the cluster.
      *
@@ -4364,25 +3830,23 @@ public int getAnnotationsCount() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetAnnotations().getMap().containsKey(key); } - /** Use {@link #getAnnotationsMap()} instead. */ + /** + * Use {@link #getAnnotationsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** - * - * *
      * Optional. Annotations on the cluster.
      *
@@ -4395,16 +3859,13 @@ public java.util.Map getAnnotations() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** - * - * *
      * Optional. Annotations on the cluster.
      *
@@ -4417,23 +3878,20 @@ public java.util.Map getAnnotationsMap() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getAnnotationsOrDefault( + public /* nullable */ +java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Optional. Annotations on the cluster.
      *
@@ -4446,29 +3904,26 @@ public java.util.Map getAnnotationsMap() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + public java.lang.String getAnnotationsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearAnnotations() { bitField0_ = (bitField0_ & ~0x00002000); - internalGetMutableAnnotations().getMutableMap().clear(); + internalGetMutableAnnotations().getMutableMap() + .clear(); return this; } /** - * - * *
      * Optional. Annotations on the cluster.
      *
@@ -4481,25 +3936,25 @@ public Builder clearAnnotations() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableAnnotations().getMutableMap().remove(key); + public Builder removeAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableAnnotations().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableAnnotations() { + public java.util.Map + getMutableAnnotations() { bitField0_ |= 0x00002000; return internalGetMutableAnnotations().getMutableMap(); } /** - * - * *
      * Optional. Annotations on the cluster.
      *
@@ -4512,23 +3967,19 @@ public java.util.Map getMutableAnnotations()
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAnnotations(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableAnnotations().getMutableMap().put(key, value); + public Builder putAnnotations( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableAnnotations().getMutableMap() + .put(key, value); bitField0_ |= 0x00002000; return this; } /** - * - * *
      * Optional. Annotations on the cluster.
      *
@@ -4541,72 +3992,53 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAllAnnotations(java.util.Map values) { - internalGetMutableAnnotations().getMutableMap().putAll(values); + public Builder putAllAnnotations( + java.util.Map values) { + internalGetMutableAnnotations().getMutableMap() + .putAll(values); bitField0_ |= 0x00002000; return this; } private com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workloadIdentityConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder> - workloadIdentityConfigBuilder_; + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder> workloadIdentityConfigBuilder_; /** - * - * *
      * Output only. Workload Identity settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the workloadIdentityConfig field is set. */ public boolean hasWorkloadIdentityConfig() { return ((bitField0_ & 0x00004000) != 0); } /** - * - * *
      * Output only. Workload Identity settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The workloadIdentityConfig. */ public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig getWorkloadIdentityConfig() { if (workloadIdentityConfigBuilder_ == null) { - return workloadIdentityConfig_ == null - ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() - : workloadIdentityConfig_; + return workloadIdentityConfig_ == null ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_; } else { return workloadIdentityConfigBuilder_.getMessage(); } } /** - * - * *
      * Output only. Workload Identity settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setWorkloadIdentityConfig( - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig value) { + public Builder setWorkloadIdentityConfig(com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig value) { if (workloadIdentityConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4620,15 +4052,11 @@ public Builder setWorkloadIdentityConfig( return this; } /** - * - * *
      * Output only. Workload Identity settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setWorkloadIdentityConfig( com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder builderForValue) { @@ -4642,23 +4070,17 @@ public Builder setWorkloadIdentityConfig( return this; } /** - * - * *
      * Output only. Workload Identity settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeWorkloadIdentityConfig( - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig value) { + public Builder mergeWorkloadIdentityConfig(com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig value) { if (workloadIdentityConfigBuilder_ == null) { - if (((bitField0_ & 0x00004000) != 0) - && workloadIdentityConfig_ != null - && workloadIdentityConfig_ - != com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00004000) != 0) && + workloadIdentityConfig_ != null && + workloadIdentityConfig_ != com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance()) { getWorkloadIdentityConfigBuilder().mergeFrom(value); } else { workloadIdentityConfig_ = value; @@ -4671,15 +4093,11 @@ public Builder mergeWorkloadIdentityConfig( return this; } /** - * - * *
      * Output only. Workload Identity settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearWorkloadIdentityConfig() { bitField0_ = (bitField0_ & ~0x00004000); @@ -4692,66 +4110,48 @@ public Builder clearWorkloadIdentityConfig() { return this; } /** - * - * *
      * Output only. Workload Identity settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder - getWorkloadIdentityConfigBuilder() { + public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder getWorkloadIdentityConfigBuilder() { bitField0_ |= 0x00004000; onChanged(); return getWorkloadIdentityConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Workload Identity settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder - getWorkloadIdentityConfigOrBuilder() { + public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder() { if (workloadIdentityConfigBuilder_ != null) { return workloadIdentityConfigBuilder_.getMessageOrBuilder(); } else { - return workloadIdentityConfig_ == null - ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() - : workloadIdentityConfig_; + return workloadIdentityConfig_ == null ? + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_; } } /** - * - * *
      * Output only. Workload Identity settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder> getWorkloadIdentityConfigFieldBuilder() { if (workloadIdentityConfigBuilder_ == null) { - workloadIdentityConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder>( - getWorkloadIdentityConfig(), getParentForChildren(), isClean()); + workloadIdentityConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder>( + getWorkloadIdentityConfig(), + getParentForChildren(), + isClean()); workloadIdentityConfig_ = null; } return workloadIdentityConfigBuilder_; @@ -4759,20 +4159,18 @@ public Builder clearWorkloadIdentityConfig() { private java.lang.Object clusterCaCertificate_ = ""; /** - * - * *
      * Output only. PEM encoded x509 certificate of the cluster root of trust.
      * 
* * string cluster_ca_certificate = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The clusterCaCertificate. */ public java.lang.String getClusterCaCertificate() { java.lang.Object ref = clusterCaCertificate_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterCaCertificate_ = s; return s; @@ -4781,21 +4179,20 @@ public java.lang.String getClusterCaCertificate() { } } /** - * - * *
      * Output only. PEM encoded x509 certificate of the cluster root of trust.
      * 
* * string cluster_ca_certificate = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for clusterCaCertificate. */ - public com.google.protobuf.ByteString getClusterCaCertificateBytes() { + public com.google.protobuf.ByteString + getClusterCaCertificateBytes() { java.lang.Object ref = clusterCaCertificate_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterCaCertificate_ = b; return b; } else { @@ -4803,35 +4200,28 @@ public com.google.protobuf.ByteString getClusterCaCertificateBytes() { } } /** - * - * *
      * Output only. PEM encoded x509 certificate of the cluster root of trust.
      * 
* * string cluster_ca_certificate = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The clusterCaCertificate to set. * @return This builder for chaining. */ - public Builder setClusterCaCertificate(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterCaCertificate( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clusterCaCertificate_ = value; bitField0_ |= 0x00008000; onChanged(); return this; } /** - * - * *
      * Output only. PEM encoded x509 certificate of the cluster root of trust.
      * 
* * string cluster_ca_certificate = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearClusterCaCertificate() { @@ -4841,21 +4231,17 @@ public Builder clearClusterCaCertificate() { return this; } /** - * - * *
      * Output only. PEM encoded x509 certificate of the cluster root of trust.
      * 
* * string cluster_ca_certificate = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for clusterCaCertificate to set. * @return This builder for chaining. */ - public Builder setClusterCaCertificateBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterCaCertificateBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clusterCaCertificate_ = value; bitField0_ |= 0x00008000; @@ -4865,58 +4251,39 @@ public Builder setClusterCaCertificateBytes(com.google.protobuf.ByteString value private com.google.cloud.gkemulticloud.v1.Fleet fleet_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.Fleet, - com.google.cloud.gkemulticloud.v1.Fleet.Builder, - com.google.cloud.gkemulticloud.v1.FleetOrBuilder> - fleetBuilder_; + com.google.cloud.gkemulticloud.v1.Fleet, com.google.cloud.gkemulticloud.v1.Fleet.Builder, com.google.cloud.gkemulticloud.v1.FleetOrBuilder> fleetBuilder_; /** - * - * *
      * Required. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the fleet field is set. */ public boolean hasFleet() { return ((bitField0_ & 0x00010000) != 0); } /** - * - * *
      * Required. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; * @return The fleet. */ public com.google.cloud.gkemulticloud.v1.Fleet getFleet() { if (fleetBuilder_ == null) { - return fleet_ == null - ? com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() - : fleet_; + return fleet_ == null ? com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() : fleet_; } else { return fleetBuilder_.getMessage(); } } /** - * - * *
      * Required. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { if (fleetBuilder_ == null) { @@ -4932,17 +4299,14 @@ public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { return this; } /** - * - * *
      * Required. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet.Builder builderForValue) { + public Builder setFleet( + com.google.cloud.gkemulticloud.v1.Fleet.Builder builderForValue) { if (fleetBuilder_ == null) { fleet_ = builderForValue.build(); } else { @@ -4953,21 +4317,17 @@ public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet.Builder builderF return this; } /** - * - * *
      * Required. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { if (fleetBuilder_ == null) { - if (((bitField0_ & 0x00010000) != 0) - && fleet_ != null - && fleet_ != com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance()) { + if (((bitField0_ & 0x00010000) != 0) && + fleet_ != null && + fleet_ != com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance()) { getFleetBuilder().mergeFrom(value); } else { fleet_ = value; @@ -4980,15 +4340,11 @@ public Builder mergeFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { return this; } /** - * - * *
      * Required. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearFleet() { bitField0_ = (bitField0_ & ~0x00010000); @@ -5001,15 +4357,11 @@ public Builder clearFleet() { return this; } /** - * - * *
      * Required. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.Fleet.Builder getFleetBuilder() { bitField0_ |= 0x00010000; @@ -5017,48 +4369,36 @@ public com.google.cloud.gkemulticloud.v1.Fleet.Builder getFleetBuilder() { return getFleetFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder() { if (fleetBuilder_ != null) { return fleetBuilder_.getMessageOrBuilder(); } else { - return fleet_ == null - ? com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() - : fleet_; + return fleet_ == null ? + com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() : fleet_; } } /** - * - * *
      * Required. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.Fleet, - com.google.cloud.gkemulticloud.v1.Fleet.Builder, - com.google.cloud.gkemulticloud.v1.FleetOrBuilder> + com.google.cloud.gkemulticloud.v1.Fleet, com.google.cloud.gkemulticloud.v1.Fleet.Builder, com.google.cloud.gkemulticloud.v1.FleetOrBuilder> getFleetFieldBuilder() { if (fleetBuilder_ == null) { - fleetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.Fleet, - com.google.cloud.gkemulticloud.v1.Fleet.Builder, - com.google.cloud.gkemulticloud.v1.FleetOrBuilder>( - getFleet(), getParentForChildren(), isClean()); + fleetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.Fleet, com.google.cloud.gkemulticloud.v1.Fleet.Builder, com.google.cloud.gkemulticloud.v1.FleetOrBuilder>( + getFleet(), + getParentForChildren(), + isClean()); fleet_ = null; } return fleetBuilder_; @@ -5066,58 +4406,39 @@ public com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder() { private com.google.cloud.gkemulticloud.v1.LoggingConfig loggingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.LoggingConfig, - com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, - com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder> - loggingConfigBuilder_; + com.google.cloud.gkemulticloud.v1.LoggingConfig, com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder> loggingConfigBuilder_; /** - * - * *
      * Optional. Logging configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return ((bitField0_ & 0x00020000) != 0); } /** - * - * *
      * Optional. Logging configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; * @return The loggingConfig. */ public com.google.cloud.gkemulticloud.v1.LoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { - return loggingConfig_ == null - ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() : loggingConfig_; } else { return loggingConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. Logging configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setLoggingConfig(com.google.cloud.gkemulticloud.v1.LoggingConfig value) { if (loggingConfigBuilder_ == null) { @@ -5133,15 +4454,11 @@ public Builder setLoggingConfig(com.google.cloud.gkemulticloud.v1.LoggingConfig return this; } /** - * - * *
      * Optional. Logging configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setLoggingConfig( com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder builderForValue) { @@ -5155,22 +4472,17 @@ public Builder setLoggingConfig( return this; } /** - * - * *
      * Optional. Logging configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeLoggingConfig(com.google.cloud.gkemulticloud.v1.LoggingConfig value) { if (loggingConfigBuilder_ == null) { - if (((bitField0_ & 0x00020000) != 0) - && loggingConfig_ != null - && loggingConfig_ - != com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00020000) != 0) && + loggingConfig_ != null && + loggingConfig_ != com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance()) { getLoggingConfigBuilder().mergeFrom(value); } else { loggingConfig_ = value; @@ -5183,15 +4495,11 @@ public Builder mergeLoggingConfig(com.google.cloud.gkemulticloud.v1.LoggingConfi return this; } /** - * - * *
      * Optional. Logging configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearLoggingConfig() { bitField0_ = (bitField0_ & ~0x00020000); @@ -5204,15 +4512,11 @@ public Builder clearLoggingConfig() { return this; } /** - * - * *
      * Optional. Logging configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder getLoggingConfigBuilder() { bitField0_ |= 0x00020000; @@ -5220,80 +4524,59 @@ public com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder getLoggingConfigB return getLoggingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Logging configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder() { if (loggingConfigBuilder_ != null) { return loggingConfigBuilder_.getMessageOrBuilder(); } else { - return loggingConfig_ == null - ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? + com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() : loggingConfig_; } } /** - * - * *
      * Optional. Logging configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.LoggingConfig, - com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, - com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.LoggingConfig, com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder> getLoggingConfigFieldBuilder() { if (loggingConfigBuilder_ == null) { - loggingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.LoggingConfig, - com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, - com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder>( - getLoggingConfig(), getParentForChildren(), isClean()); + loggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.LoggingConfig, com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder>( + getLoggingConfig(), + getParentForChildren(), + isClean()); loggingConfig_ = null; } return loggingConfigBuilder_; } private java.util.List errors_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00040000) != 0)) { - errors_ = - new java.util.ArrayList(errors_); + errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00040000; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsClusterError, - com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder, - com.google.cloud.gkemulticloud.v1.AwsClusterErrorOrBuilder> - errorsBuilder_; + com.google.cloud.gkemulticloud.v1.AwsClusterError, com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterErrorOrBuilder> errorsBuilder_; /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getErrorsList() { if (errorsBuilder_ == null) { @@ -5303,15 +4586,11 @@ public java.util.List getErro } } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -5321,15 +4600,11 @@ public int getErrorsCount() { } } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.gkemulticloud.v1.AwsClusterError getErrors(int index) { if (errorsBuilder_ == null) { @@ -5339,17 +4614,14 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterError getErrors(int index) { } } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setErrors(int index, com.google.cloud.gkemulticloud.v1.AwsClusterError value) { + public Builder setErrors( + int index, com.google.cloud.gkemulticloud.v1.AwsClusterError value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5363,15 +4635,11 @@ public Builder setErrors(int index, com.google.cloud.gkemulticloud.v1.AwsCluster return this; } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setErrors( int index, com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder builderForValue) { @@ -5385,15 +4653,11 @@ public Builder setErrors( return this; } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addErrors(com.google.cloud.gkemulticloud.v1.AwsClusterError value) { if (errorsBuilder_ == null) { @@ -5409,17 +4673,14 @@ public Builder addErrors(com.google.cloud.gkemulticloud.v1.AwsClusterError value return this; } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addErrors(int index, com.google.cloud.gkemulticloud.v1.AwsClusterError value) { + public Builder addErrors( + int index, com.google.cloud.gkemulticloud.v1.AwsClusterError value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5433,15 +4694,11 @@ public Builder addErrors(int index, com.google.cloud.gkemulticloud.v1.AwsCluster return this; } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addErrors( com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder builderForValue) { @@ -5455,15 +4712,11 @@ public Builder addErrors( return this; } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addErrors( int index, com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder builderForValue) { @@ -5477,21 +4730,18 @@ public Builder addErrors( return this; } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllErrors( java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -5499,15 +4749,11 @@ public Builder addAllErrors( return this; } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -5520,15 +4766,11 @@ public Builder clearErrors() { return this; } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -5541,51 +4783,39 @@ public Builder removeErrors(int index) { return this; } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder getErrorsBuilder(int index) { + public com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder getErrorsBuilder( + int index) { return getErrorsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.gkemulticloud.v1.AwsClusterErrorOrBuilder getErrorsOrBuilder( int index) { if (errorsBuilder_ == null) { - return errors_.get(index); - } else { + return errors_.get(index); } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -5593,64 +4823,49 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterErrorOrBuilder getErrorsOrBui } } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder addErrorsBuilder() { - return getErrorsFieldBuilder() - .addBuilder(com.google.cloud.gkemulticloud.v1.AwsClusterError.getDefaultInstance()); + return getErrorsFieldBuilder().addBuilder( + com.google.cloud.gkemulticloud.v1.AwsClusterError.getDefaultInstance()); } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder addErrorsBuilder(int index) { - return getErrorsFieldBuilder() - .addBuilder( - index, com.google.cloud.gkemulticloud.v1.AwsClusterError.getDefaultInstance()); + public com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder addErrorsBuilder( + int index) { + return getErrorsFieldBuilder().addBuilder( + index, com.google.cloud.gkemulticloud.v1.AwsClusterError.getDefaultInstance()); } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsClusterError, - com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder, - com.google.cloud.gkemulticloud.v1.AwsClusterErrorOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsClusterError, com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterErrorOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsClusterError, - com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder, - com.google.cloud.gkemulticloud.v1.AwsClusterErrorOrBuilder>( - errors_, ((bitField0_ & 0x00040000) != 0), getParentForChildren(), isClean()); + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsClusterError, com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterErrorOrBuilder>( + errors_, + ((bitField0_ & 0x00040000) != 0), + getParentForChildren(), + isClean()); errors_ = null; } return errorsBuilder_; @@ -5658,58 +4873,39 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder addErrorsBuilde private com.google.cloud.gkemulticloud.v1.MonitoringConfig monitoringConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.MonitoringConfig, - com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, - com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder> - monitoringConfigBuilder_; + com.google.cloud.gkemulticloud.v1.MonitoringConfig, com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder> monitoringConfigBuilder_; /** - * - * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the monitoringConfig field is set. */ public boolean hasMonitoringConfig() { return ((bitField0_ & 0x00080000) != 0); } /** - * - * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; * @return The monitoringConfig. */ public com.google.cloud.gkemulticloud.v1.MonitoringConfig getMonitoringConfig() { if (monitoringConfigBuilder_ == null) { - return monitoringConfig_ == null - ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() - : monitoringConfig_; + return monitoringConfig_ == null ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; } else { return monitoringConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setMonitoringConfig(com.google.cloud.gkemulticloud.v1.MonitoringConfig value) { if (monitoringConfigBuilder_ == null) { @@ -5725,15 +4921,11 @@ public Builder setMonitoringConfig(com.google.cloud.gkemulticloud.v1.MonitoringC return this; } /** - * - * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setMonitoringConfig( com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder builderForValue) { @@ -5747,22 +4939,17 @@ public Builder setMonitoringConfig( return this; } /** - * - * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeMonitoringConfig(com.google.cloud.gkemulticloud.v1.MonitoringConfig value) { if (monitoringConfigBuilder_ == null) { - if (((bitField0_ & 0x00080000) != 0) - && monitoringConfig_ != null - && monitoringConfig_ - != com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00080000) != 0) && + monitoringConfig_ != null && + monitoringConfig_ != com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance()) { getMonitoringConfigBuilder().mergeFrom(value); } else { monitoringConfig_ = value; @@ -5775,15 +4962,11 @@ public Builder mergeMonitoringConfig(com.google.cloud.gkemulticloud.v1.Monitorin return this; } /** - * - * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearMonitoringConfig() { bitField0_ = (bitField0_ & ~0x00080000); @@ -5796,15 +4979,11 @@ public Builder clearMonitoringConfig() { return this; } /** - * - * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder getMonitoringConfigBuilder() { bitField0_ |= 0x00080000; @@ -5812,56 +4991,198 @@ public com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder getMonitoringC return getMonitoringConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder - getMonitoringConfigOrBuilder() { + public com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBuilder() { if (monitoringConfigBuilder_ != null) { return monitoringConfigBuilder_.getMessageOrBuilder(); } else { - return monitoringConfig_ == null - ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() - : monitoringConfig_; + return monitoringConfig_ == null ? + com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; } } /** - * - * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.MonitoringConfig, - com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, - com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.MonitoringConfig, com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder> getMonitoringConfigFieldBuilder() { if (monitoringConfigBuilder_ == null) { - monitoringConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.MonitoringConfig, - com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, - com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder>( - getMonitoringConfig(), getParentForChildren(), isClean()); + monitoringConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.MonitoringConfig, com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder>( + getMonitoringConfig(), + getParentForChildren(), + isClean()); monitoringConfig_ = null; } return monitoringConfigBuilder_; } + private com.google.cloud.gkemulticloud.v1.BinaryAuthorization binaryAuthorization_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.BinaryAuthorization, com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder, com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder> binaryAuthorizationBuilder_; + /** + *
+     * Optional. Binary Authorization configuration for this cluster.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the binaryAuthorization field is set. + */ + public boolean hasBinaryAuthorization() { + return ((bitField0_ & 0x00100000) != 0); + } + /** + *
+     * Optional. Binary Authorization configuration for this cluster.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * @return The binaryAuthorization. + */ + public com.google.cloud.gkemulticloud.v1.BinaryAuthorization getBinaryAuthorization() { + if (binaryAuthorizationBuilder_ == null) { + return binaryAuthorization_ == null ? com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; + } else { + return binaryAuthorizationBuilder_.getMessage(); + } + } + /** + *
+     * Optional. Binary Authorization configuration for this cluster.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setBinaryAuthorization(com.google.cloud.gkemulticloud.v1.BinaryAuthorization value) { + if (binaryAuthorizationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + binaryAuthorization_ = value; + } else { + binaryAuthorizationBuilder_.setMessage(value); + } + bitField0_ |= 0x00100000; + onChanged(); + return this; + } + /** + *
+     * Optional. Binary Authorization configuration for this cluster.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setBinaryAuthorization( + com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder builderForValue) { + if (binaryAuthorizationBuilder_ == null) { + binaryAuthorization_ = builderForValue.build(); + } else { + binaryAuthorizationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00100000; + onChanged(); + return this; + } + /** + *
+     * Optional. Binary Authorization configuration for this cluster.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder mergeBinaryAuthorization(com.google.cloud.gkemulticloud.v1.BinaryAuthorization value) { + if (binaryAuthorizationBuilder_ == null) { + if (((bitField0_ & 0x00100000) != 0) && + binaryAuthorization_ != null && + binaryAuthorization_ != com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance()) { + getBinaryAuthorizationBuilder().mergeFrom(value); + } else { + binaryAuthorization_ = value; + } + } else { + binaryAuthorizationBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00100000; + onChanged(); + return this; + } + /** + *
+     * Optional. Binary Authorization configuration for this cluster.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder clearBinaryAuthorization() { + bitField0_ = (bitField0_ & ~0x00100000); + binaryAuthorization_ = null; + if (binaryAuthorizationBuilder_ != null) { + binaryAuthorizationBuilder_.dispose(); + binaryAuthorizationBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * Optional. Binary Authorization configuration for this cluster.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder getBinaryAuthorizationBuilder() { + bitField0_ |= 0x00100000; + onChanged(); + return getBinaryAuthorizationFieldBuilder().getBuilder(); + } + /** + *
+     * Optional. Binary Authorization configuration for this cluster.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder() { + if (binaryAuthorizationBuilder_ != null) { + return binaryAuthorizationBuilder_.getMessageOrBuilder(); + } else { + return binaryAuthorization_ == null ? + com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; + } + } + /** + *
+     * Optional. Binary Authorization configuration for this cluster.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.BinaryAuthorization, com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder, com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder> + getBinaryAuthorizationFieldBuilder() { + if (binaryAuthorizationBuilder_ == null) { + binaryAuthorizationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.BinaryAuthorization, com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder, com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder>( + getBinaryAuthorization(), + getParentForChildren(), + isClean()); + binaryAuthorization_ = null; + } + return binaryAuthorizationBuilder_; + } @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5871,12 +5192,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsCluster) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsCluster) private static final com.google.cloud.gkemulticloud.v1.AwsCluster DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsCluster(); } @@ -5885,27 +5206,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsCluster getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsCluster parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsCluster parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5920,4 +5241,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsCluster getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterError.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterError.java similarity index 66% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterError.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterError.java index 9f0ca7ca5cdc..009be281de54 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterError.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterError.java @@ -1,80 +1,57 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * AwsClusterError describes errors found on AWS clusters.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsClusterError} */ -public final class AwsClusterError extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AwsClusterError extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsClusterError) AwsClusterErrorOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AwsClusterError.newBuilder() to construct. private AwsClusterError(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AwsClusterError() { message_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AwsClusterError(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsClusterError.class, - com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsClusterError.class, com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder.class); } public static final int MESSAGE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** - * - * *
    * Human-friendly description of the error.
    * 
* * string message = 1; - * * @return The message. */ @java.lang.Override @@ -83,29 +60,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** - * - * *
    * Human-friendly description of the error.
    * 
* * string message = 1; - * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -114,7 +91,6 @@ public com.google.protobuf.ByteString getMessageBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,7 +102,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } @@ -150,15 +127,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsClusterError)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsClusterError other = - (com.google.cloud.gkemulticloud.v1.AwsClusterError) obj; + com.google.cloud.gkemulticloud.v1.AwsClusterError other = (com.google.cloud.gkemulticloud.v1.AwsClusterError) obj; - if (!getMessage().equals(other.getMessage())) return false; + if (!getMessage() + .equals(other.getMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -178,135 +155,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AwsClusterError parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterError parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterError parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterError parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterError parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AwsClusterError parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsClusterError parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterError parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterError parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsClusterError parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsClusterError parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterError parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterError parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsClusterError prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * AwsClusterError describes errors found on AWS clusters.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsClusterError} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsClusterError) com.google.cloud.gkemulticloud.v1.AwsClusterErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsClusterError.class, - com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsClusterError.class, com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AwsClusterError.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -316,9 +289,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_descriptor; } @java.lang.Override @@ -337,11 +310,8 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterError build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsClusterError buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsClusterError result = - new com.google.cloud.gkemulticloud.v1.AwsClusterError(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.AwsClusterError result = new com.google.cloud.gkemulticloud.v1.AwsClusterError(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -357,39 +327,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsClusterError res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AwsClusterError) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsClusterError) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsClusterError)other); } else { super.mergeFrom(other); return this; @@ -397,8 +366,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsClusterError other) { - if (other == com.google.cloud.gkemulticloud.v1.AwsClusterError.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.AwsClusterError.getDefaultInstance()) return this; if (!other.getMessage().isEmpty()) { message_ = other.message_; bitField0_ |= 0x00000001; @@ -430,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -452,25 +418,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object message_ = ""; /** - * - * *
      * Human-friendly description of the error.
      * 
* * string message = 1; - * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -479,21 +442,20 @@ public java.lang.String getMessage() { } } /** - * - * *
      * Human-friendly description of the error.
      * 
* * string message = 1; - * * @return The bytes for message. */ - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -501,35 +463,28 @@ public com.google.protobuf.ByteString getMessageBytes() { } } /** - * - * *
      * Human-friendly description of the error.
      * 
* * string message = 1; - * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Human-friendly description of the error.
      * 
* * string message = 1; - * * @return This builder for chaining. */ public Builder clearMessage() { @@ -539,30 +494,26 @@ public Builder clearMessage() { return this; } /** - * - * *
      * Human-friendly description of the error.
      * 
* * string message = 1; - * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -572,12 +523,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsClusterError) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsClusterError) private static final com.google.cloud.gkemulticloud.v1.AwsClusterError DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsClusterError(); } @@ -586,27 +537,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsClusterError getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsClusterError parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsClusterError parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -621,4 +572,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsClusterError getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterErrorOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterErrorOrBuilder.java new file mode 100644 index 000000000000..70410b28fae9 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterErrorOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface AwsClusterErrorOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsClusterError) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Human-friendly description of the error.
+   * 
+ * + * string message = 1; + * @return The message. + */ + java.lang.String getMessage(); + /** + *
+   * Human-friendly description of the error.
+   * 
+ * + * string message = 1; + * @return The bytes for message. + */ + com.google.protobuf.ByteString + getMessageBytes(); +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterGroup.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterGroup.java new file mode 100644 index 000000000000..1da3180885b3 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterGroup.java @@ -0,0 +1,577 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +/** + *
+ * Identities of a group-type subject for AWS clusters.
+ * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsClusterGroup} + */ +public final class AwsClusterGroup extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsClusterGroup) + AwsClusterGroupOrBuilder { +private static final long serialVersionUID = 0L; + // Use AwsClusterGroup.newBuilder() to construct. + private AwsClusterGroup(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AwsClusterGroup() { + group_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AwsClusterGroup(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterGroup_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterGroup_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.AwsClusterGroup.class, com.google.cloud.gkemulticloud.v1.AwsClusterGroup.Builder.class); + } + + public static final int GROUP_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object group_ = ""; + /** + *
+   * Required. The name of the group, e.g. `my-group@domain.com`.
+   * 
+ * + * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The group. + */ + @java.lang.Override + public java.lang.String getGroup() { + java.lang.Object ref = group_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + group_ = s; + return s; + } + } + /** + *
+   * Required. The name of the group, e.g. `my-group@domain.com`.
+   * 
+ * + * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for group. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getGroupBytes() { + java.lang.Object ref = group_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + group_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(group_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(group_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, group_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsClusterGroup)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.AwsClusterGroup other = (com.google.cloud.gkemulticloud.v1.AwsClusterGroup) obj; + + if (!getGroup() + .equals(other.getGroup())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + GROUP_FIELD_NUMBER; + hash = (53 * hash) + getGroup().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.AwsClusterGroup parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AwsClusterGroup parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AwsClusterGroup parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AwsClusterGroup parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AwsClusterGroup parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AwsClusterGroup parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AwsClusterGroup parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.AwsClusterGroup parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.AwsClusterGroup parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.AwsClusterGroup parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AwsClusterGroup parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.AwsClusterGroup parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsClusterGroup prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Identities of a group-type subject for AWS clusters.
+   * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsClusterGroup} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsClusterGroup) + com.google.cloud.gkemulticloud.v1.AwsClusterGroupOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterGroup_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterGroup_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.AwsClusterGroup.class, com.google.cloud.gkemulticloud.v1.AwsClusterGroup.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.AwsClusterGroup.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + group_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterGroup_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsClusterGroup getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.AwsClusterGroup.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsClusterGroup build() { + com.google.cloud.gkemulticloud.v1.AwsClusterGroup result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsClusterGroup buildPartial() { + com.google.cloud.gkemulticloud.v1.AwsClusterGroup result = new com.google.cloud.gkemulticloud.v1.AwsClusterGroup(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsClusterGroup result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.group_ = group_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.AwsClusterGroup) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsClusterGroup)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsClusterGroup other) { + if (other == com.google.cloud.gkemulticloud.v1.AwsClusterGroup.getDefaultInstance()) return this; + if (!other.getGroup().isEmpty()) { + group_ = other.group_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + group_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object group_ = ""; + /** + *
+     * Required. The name of the group, e.g. `my-group@domain.com`.
+     * 
+ * + * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The group. + */ + public java.lang.String getGroup() { + java.lang.Object ref = group_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + group_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The name of the group, e.g. `my-group@domain.com`.
+     * 
+ * + * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for group. + */ + public com.google.protobuf.ByteString + getGroupBytes() { + java.lang.Object ref = group_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + group_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The name of the group, e.g. `my-group@domain.com`.
+     * 
+ * + * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param value The group to set. + * @return This builder for chaining. + */ + public Builder setGroup( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + group_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Required. The name of the group, e.g. `my-group@domain.com`.
+     * 
+ * + * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearGroup() { + group_ = getDefaultInstance().getGroup(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     * Required. The name of the group, e.g. `my-group@domain.com`.
+     * 
+ * + * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for group to set. + * @return This builder for chaining. + */ + public Builder setGroupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + group_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsClusterGroup) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsClusterGroup) + private static final com.google.cloud.gkemulticloud.v1.AwsClusterGroup DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsClusterGroup(); + } + + public static com.google.cloud.gkemulticloud.v1.AwsClusterGroup getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsClusterGroup parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsClusterGroup getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterGroupOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterGroupOrBuilder.java new file mode 100644 index 000000000000..f4c3c49045d5 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterGroupOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface AwsClusterGroupOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsClusterGroup) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the group, e.g. `my-group@domain.com`.
+   * 
+ * + * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The group. + */ + java.lang.String getGroup(); + /** + *
+   * Required. The name of the group, e.g. `my-group@domain.com`.
+   * 
+ * + * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for group. + */ + com.google.protobuf.ByteString + getGroupBytes(); +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterName.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterName.java similarity index 100% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterName.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterName.java diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworking.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworking.java similarity index 65% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworking.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworking.java index fb66faf1d263..81ea8c859729 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworking.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworking.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * ClusterNetworking defines cluster-wide networking configuration.
  *
@@ -30,50 +13,47 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsClusterNetworking}
  */
-public final class AwsClusterNetworking extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AwsClusterNetworking extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsClusterNetworking)
     AwsClusterNetworkingOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AwsClusterNetworking.newBuilder() to construct.
   private AwsClusterNetworking(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AwsClusterNetworking() {
     vpcId_ = "";
-    podAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList();
-    serviceAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    podAddressCidrBlocks_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
+    serviceAddressCidrBlocks_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AwsClusterNetworking();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
-        .internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
-        .internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.class,
-            com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder.class);
+            com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.class, com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder.class);
   }
 
   public static final int VPC_ID_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object vpcId_ = "";
   /**
-   *
-   *
    * 
    * Required. The VPC associated with the cluster. All component clusters
    * (i.e. control plane and node pools) run on a single VPC.
@@ -82,7 +62,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string vpc_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The vpcId. */ @java.lang.Override @@ -91,15 +70,14 @@ public java.lang.String getVpcId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vpcId_ = s; return s; } } /** - * - * *
    * Required. The VPC associated with the cluster. All component clusters
    * (i.e. control plane and node pools) run on a single VPC.
@@ -108,15 +86,16 @@ public java.lang.String getVpcId() {
    * 
* * string vpc_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for vpcId. */ @java.lang.Override - public com.google.protobuf.ByteString getVpcIdBytes() { + public com.google.protobuf.ByteString + getVpcIdBytes() { java.lang.Object ref = vpcId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); vpcId_ = b; return b; } else { @@ -125,56 +104,44 @@ public com.google.protobuf.ByteString getVpcIdBytes() { } public static final int POD_ADDRESS_CIDR_BLOCKS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList podAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Required. All pods in the cluster are assigned an IPv4 address from these
    * ranges. Only a single range is supported. This field cannot be changed
    * after creation.
    * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the podAddressCidrBlocks. */ - public com.google.protobuf.ProtocolStringList getPodAddressCidrBlocksList() { + public com.google.protobuf.ProtocolStringList + getPodAddressCidrBlocksList() { return podAddressCidrBlocks_; } /** - * - * *
    * Required. All pods in the cluster are assigned an IPv4 address from these
    * ranges. Only a single range is supported. This field cannot be changed
    * after creation.
    * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of podAddressCidrBlocks. */ public int getPodAddressCidrBlocksCount() { return podAddressCidrBlocks_.size(); } /** - * - * *
    * Required. All pods in the cluster are assigned an IPv4 address from these
    * ranges. Only a single range is supported. This field cannot be changed
    * after creation.
    * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The podAddressCidrBlocks at the given index. */ @@ -182,78 +149,60 @@ public java.lang.String getPodAddressCidrBlocks(int index) { return podAddressCidrBlocks_.get(index); } /** - * - * *
    * Required. All pods in the cluster are assigned an IPv4 address from these
    * ranges. Only a single range is supported. This field cannot be changed
    * after creation.
    * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The bytes of the podAddressCidrBlocks at the given index. */ - public com.google.protobuf.ByteString getPodAddressCidrBlocksBytes(int index) { + public com.google.protobuf.ByteString + getPodAddressCidrBlocksBytes(int index) { return podAddressCidrBlocks_.getByteString(index); } public static final int SERVICE_ADDRESS_CIDR_BLOCKS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList serviceAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Required. All services in the cluster are assigned an IPv4 address from
    * these ranges. Only a single range is supported. This field cannot be
    * changed after creation.
    * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the serviceAddressCidrBlocks. */ - public com.google.protobuf.ProtocolStringList getServiceAddressCidrBlocksList() { + public com.google.protobuf.ProtocolStringList + getServiceAddressCidrBlocksList() { return serviceAddressCidrBlocks_; } /** - * - * *
    * Required. All services in the cluster are assigned an IPv4 address from
    * these ranges. Only a single range is supported. This field cannot be
    * changed after creation.
    * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The count of serviceAddressCidrBlocks. */ public int getServiceAddressCidrBlocksCount() { return serviceAddressCidrBlocks_.size(); } /** - * - * *
    * Required. All services in the cluster are assigned an IPv4 address from
    * these ranges. Only a single range is supported. This field cannot be
    * changed after creation.
    * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The serviceAddressCidrBlocks at the given index. */ @@ -261,27 +210,41 @@ public java.lang.String getServiceAddressCidrBlocks(int index) { return serviceAddressCidrBlocks_.get(index); } /** - * - * *
    * Required. All services in the cluster are assigned an IPv4 address from
    * these ranges. Only a single range is supported. This field cannot be
    * changed after creation.
    * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The bytes of the serviceAddressCidrBlocks at the given index. */ - public com.google.protobuf.ByteString getServiceAddressCidrBlocksBytes(int index) { + public com.google.protobuf.ByteString + getServiceAddressCidrBlocksBytes(int index) { return serviceAddressCidrBlocks_.getByteString(index); } - private byte memoizedIsInitialized = -1; + public static final int PER_NODE_POOL_SG_RULES_DISABLED_FIELD_NUMBER = 5; + private boolean perNodePoolSgRulesDisabled_ = false; + /** + *
+   * Optional. Disable the per node pool subnet security group rules on the
+   * control plane security group. When set to true, you must also provide one
+   * or more security groups that ensure node pools are able to send requests to
+   * the control plane on TCP/443 and TCP/8132. Failure to do so may result in
+   * unavailable node pools.
+   * 
+ * + * bool per_node_pool_sg_rules_disabled = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The perNodePoolSgRulesDisabled. + */ + @java.lang.Override + public boolean getPerNodePoolSgRulesDisabled() { + return perNodePoolSgRulesDisabled_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -293,17 +256,19 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vpcId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, vpcId_); } for (int i = 0; i < podAddressCidrBlocks_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 2, podAddressCidrBlocks_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, podAddressCidrBlocks_.getRaw(i)); } for (int i = 0; i < serviceAddressCidrBlocks_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 3, serviceAddressCidrBlocks_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, serviceAddressCidrBlocks_.getRaw(i)); + } + if (perNodePoolSgRulesDisabled_ != false) { + output.writeBool(5, perNodePoolSgRulesDisabled_); } getUnknownFields().writeTo(output); } @@ -333,6 +298,10 @@ public int getSerializedSize() { size += dataSize; size += 1 * getServiceAddressCidrBlocksList().size(); } + if (perNodePoolSgRulesDisabled_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, perNodePoolSgRulesDisabled_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -341,18 +310,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsClusterNetworking)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsClusterNetworking other = - (com.google.cloud.gkemulticloud.v1.AwsClusterNetworking) obj; - - if (!getVpcId().equals(other.getVpcId())) return false; - if (!getPodAddressCidrBlocksList().equals(other.getPodAddressCidrBlocksList())) return false; - if (!getServiceAddressCidrBlocksList().equals(other.getServiceAddressCidrBlocksList())) - return false; + com.google.cloud.gkemulticloud.v1.AwsClusterNetworking other = (com.google.cloud.gkemulticloud.v1.AwsClusterNetworking) obj; + + if (!getVpcId() + .equals(other.getVpcId())) return false; + if (!getPodAddressCidrBlocksList() + .equals(other.getPodAddressCidrBlocksList())) return false; + if (!getServiceAddressCidrBlocksList() + .equals(other.getServiceAddressCidrBlocksList())) return false; + if (getPerNodePoolSgRulesDisabled() + != other.getPerNodePoolSgRulesDisabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -374,110 +346,107 @@ public int hashCode() { hash = (37 * hash) + SERVICE_ADDRESS_CIDR_BLOCKS_FIELD_NUMBER; hash = (53 * hash) + getServiceAddressCidrBlocksList().hashCode(); } + hash = (37 * hash) + PER_NODE_POOL_SG_RULES_DISABLED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPerNodePoolSgRulesDisabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.gkemulticloud.v1.AwsClusterNetworking parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterNetworking parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterNetworking parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterNetworking parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterNetworking parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterNetworking parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AwsClusterNetworking parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsClusterNetworking parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterNetworking parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterNetworking parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsClusterNetworking parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsClusterNetworking parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterNetworking parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterNetworking parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.AwsClusterNetworking prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsClusterNetworking prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ClusterNetworking defines cluster-wide networking configuration.
    *
@@ -487,46 +456,50 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsClusterNetworking}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsClusterNetworking)
       com.google.cloud.gkemulticloud.v1.AwsClusterNetworkingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.class,
-              com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder.class);
+              com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.class, com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
       vpcId_ = "";
-      podAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList();
-      serviceAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      podAddressCidrBlocks_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
+      serviceAddressCidrBlocks_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
+      perNodePoolSgRulesDisabled_ = false;
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_descriptor;
     }
 
     @java.lang.Override
@@ -545,11 +518,8 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterNetworking build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.AwsClusterNetworking buildPartial() {
-      com.google.cloud.gkemulticloud.v1.AwsClusterNetworking result =
-          new com.google.cloud.gkemulticloud.v1.AwsClusterNetworking(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.gkemulticloud.v1.AwsClusterNetworking result = new com.google.cloud.gkemulticloud.v1.AwsClusterNetworking(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -567,45 +537,47 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsClusterNetworkin
         serviceAddressCidrBlocks_.makeImmutable();
         result.serviceAddressCidrBlocks_ = serviceAddressCidrBlocks_;
       }
+      if (((from_bitField0_ & 0x00000008) != 0)) {
+        result.perNodePoolSgRulesDisabled_ = perNodePoolSgRulesDisabled_;
+      }
     }
 
     @java.lang.Override
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.AwsClusterNetworking) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsClusterNetworking) other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsClusterNetworking)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -613,8 +585,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsClusterNetworking other) {
-      if (other == com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.getDefaultInstance()) return this;
       if (!other.getVpcId().isEmpty()) {
         vpcId_ = other.vpcId_;
         bitField0_ |= 0x00000001;
@@ -640,6 +611,9 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsClusterNetworking
         }
         onChanged();
       }
+      if (other.getPerNodePoolSgRulesDisabled() != false) {
+        setPerNodePoolSgRulesDisabled(other.getPerNodePoolSgRulesDisabled());
+      }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
@@ -666,33 +640,34 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                vpcId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensurePodAddressCidrBlocksIsMutable();
-                podAddressCidrBlocks_.add(s);
-                break;
-              } // case 18
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureServiceAddressCidrBlocksIsMutable();
-                serviceAddressCidrBlocks_.add(s);
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              vpcId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensurePodAddressCidrBlocksIsMutable();
+              podAddressCidrBlocks_.add(s);
+              break;
+            } // case 18
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureServiceAddressCidrBlocksIsMutable();
+              serviceAddressCidrBlocks_.add(s);
+              break;
+            } // case 26
+            case 40: {
+              perNodePoolSgRulesDisabled_ = input.readBool();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 40
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -702,13 +677,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object vpcId_ = "";
     /**
-     *
-     *
      * 
      * Required. The VPC associated with the cluster. All component clusters
      * (i.e. control plane and node pools) run on a single VPC.
@@ -717,13 +689,13 @@ public Builder mergeFrom(
      * 
* * string vpc_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The vpcId. */ public java.lang.String getVpcId() { java.lang.Object ref = vpcId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vpcId_ = s; return s; @@ -732,8 +704,6 @@ public java.lang.String getVpcId() { } } /** - * - * *
      * Required. The VPC associated with the cluster. All component clusters
      * (i.e. control plane and node pools) run on a single VPC.
@@ -742,14 +712,15 @@ public java.lang.String getVpcId() {
      * 
* * string vpc_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for vpcId. */ - public com.google.protobuf.ByteString getVpcIdBytes() { + public com.google.protobuf.ByteString + getVpcIdBytes() { java.lang.Object ref = vpcId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); vpcId_ = b; return b; } else { @@ -757,8 +728,6 @@ public com.google.protobuf.ByteString getVpcIdBytes() { } } /** - * - * *
      * Required. The VPC associated with the cluster. All component clusters
      * (i.e. control plane and node pools) run on a single VPC.
@@ -767,22 +736,18 @@ public com.google.protobuf.ByteString getVpcIdBytes() {
      * 
* * string vpc_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The vpcId to set. * @return This builder for chaining. */ - public Builder setVpcId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVpcId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } vpcId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The VPC associated with the cluster. All component clusters
      * (i.e. control plane and node pools) run on a single VPC.
@@ -791,7 +756,6 @@ public Builder setVpcId(java.lang.String value) {
      * 
* * string vpc_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearVpcId() { @@ -801,8 +765,6 @@ public Builder clearVpcId() { return this; } /** - * - * *
      * Required. The VPC associated with the cluster. All component clusters
      * (i.e. control plane and node pools) run on a single VPC.
@@ -811,14 +773,12 @@ public Builder clearVpcId() {
      * 
* * string vpc_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for vpcId to set. * @return This builder for chaining. */ - public Builder setVpcIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVpcIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); vpcId_ = value; bitField0_ |= 0x00000001; @@ -828,7 +788,6 @@ public Builder setVpcIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList podAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensurePodAddressCidrBlocksIsMutable() { if (!podAddressCidrBlocks_.isModifiable()) { podAddressCidrBlocks_ = new com.google.protobuf.LazyStringArrayList(podAddressCidrBlocks_); @@ -836,52 +795,41 @@ private void ensurePodAddressCidrBlocksIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
      * Required. All pods in the cluster are assigned an IPv4 address from these
      * ranges. Only a single range is supported. This field cannot be changed
      * after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the podAddressCidrBlocks. */ - public com.google.protobuf.ProtocolStringList getPodAddressCidrBlocksList() { + public com.google.protobuf.ProtocolStringList + getPodAddressCidrBlocksList() { podAddressCidrBlocks_.makeImmutable(); return podAddressCidrBlocks_; } /** - * - * *
      * Required. All pods in the cluster are assigned an IPv4 address from these
      * ranges. Only a single range is supported. This field cannot be changed
      * after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of podAddressCidrBlocks. */ public int getPodAddressCidrBlocksCount() { return podAddressCidrBlocks_.size(); } /** - * - * *
      * Required. All pods in the cluster are assigned an IPv4 address from these
      * ranges. Only a single range is supported. This field cannot be changed
      * after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The podAddressCidrBlocks at the given index. */ @@ -889,43 +837,35 @@ public java.lang.String getPodAddressCidrBlocks(int index) { return podAddressCidrBlocks_.get(index); } /** - * - * *
      * Required. All pods in the cluster are assigned an IPv4 address from these
      * ranges. Only a single range is supported. This field cannot be changed
      * after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The bytes of the podAddressCidrBlocks at the given index. */ - public com.google.protobuf.ByteString getPodAddressCidrBlocksBytes(int index) { + public com.google.protobuf.ByteString + getPodAddressCidrBlocksBytes(int index) { return podAddressCidrBlocks_.getByteString(index); } /** - * - * *
      * Required. All pods in the cluster are assigned an IPv4 address from these
      * ranges. Only a single range is supported. This field cannot be changed
      * after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index to set the value at. * @param value The podAddressCidrBlocks to set. * @return This builder for chaining. */ - public Builder setPodAddressCidrBlocks(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPodAddressCidrBlocks( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensurePodAddressCidrBlocksIsMutable(); podAddressCidrBlocks_.set(index, value); bitField0_ |= 0x00000002; @@ -933,24 +873,19 @@ public Builder setPodAddressCidrBlocks(int index, java.lang.String value) { return this; } /** - * - * *
      * Required. All pods in the cluster are assigned an IPv4 address from these
      * ranges. Only a single range is supported. This field cannot be changed
      * after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The podAddressCidrBlocks to add. * @return This builder for chaining. */ - public Builder addPodAddressCidrBlocks(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addPodAddressCidrBlocks( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensurePodAddressCidrBlocksIsMutable(); podAddressCidrBlocks_.add(value); bitField0_ |= 0x00000002; @@ -958,67 +893,56 @@ public Builder addPodAddressCidrBlocks(java.lang.String value) { return this; } /** - * - * *
      * Required. All pods in the cluster are assigned an IPv4 address from these
      * ranges. Only a single range is supported. This field cannot be changed
      * after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @param values The podAddressCidrBlocks to add. * @return This builder for chaining. */ - public Builder addAllPodAddressCidrBlocks(java.lang.Iterable values) { + public Builder addAllPodAddressCidrBlocks( + java.lang.Iterable values) { ensurePodAddressCidrBlocksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, podAddressCidrBlocks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, podAddressCidrBlocks_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. All pods in the cluster are assigned an IPv4 address from these
      * ranges. Only a single range is supported. This field cannot be changed
      * after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearPodAddressCidrBlocks() { - podAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + podAddressCidrBlocks_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
      * Required. All pods in the cluster are assigned an IPv4 address from these
      * ranges. Only a single range is supported. This field cannot be changed
      * after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The bytes of the podAddressCidrBlocks to add. * @return This builder for chaining. */ - public Builder addPodAddressCidrBlocksBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addPodAddressCidrBlocksBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePodAddressCidrBlocksIsMutable(); podAddressCidrBlocks_.add(value); @@ -1029,64 +953,48 @@ public Builder addPodAddressCidrBlocksBytes(com.google.protobuf.ByteString value private com.google.protobuf.LazyStringArrayList serviceAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureServiceAddressCidrBlocksIsMutable() { if (!serviceAddressCidrBlocks_.isModifiable()) { - serviceAddressCidrBlocks_ = - new com.google.protobuf.LazyStringArrayList(serviceAddressCidrBlocks_); + serviceAddressCidrBlocks_ = new com.google.protobuf.LazyStringArrayList(serviceAddressCidrBlocks_); } bitField0_ |= 0x00000004; } /** - * - * *
      * Required. All services in the cluster are assigned an IPv4 address from
      * these ranges. Only a single range is supported. This field cannot be
      * changed after creation.
      * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the serviceAddressCidrBlocks. */ - public com.google.protobuf.ProtocolStringList getServiceAddressCidrBlocksList() { + public com.google.protobuf.ProtocolStringList + getServiceAddressCidrBlocksList() { serviceAddressCidrBlocks_.makeImmutable(); return serviceAddressCidrBlocks_; } /** - * - * *
      * Required. All services in the cluster are assigned an IPv4 address from
      * these ranges. Only a single range is supported. This field cannot be
      * changed after creation.
      * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The count of serviceAddressCidrBlocks. */ public int getServiceAddressCidrBlocksCount() { return serviceAddressCidrBlocks_.size(); } /** - * - * *
      * Required. All services in the cluster are assigned an IPv4 address from
      * these ranges. Only a single range is supported. This field cannot be
      * changed after creation.
      * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The serviceAddressCidrBlocks at the given index. */ @@ -1094,45 +1002,35 @@ public java.lang.String getServiceAddressCidrBlocks(int index) { return serviceAddressCidrBlocks_.get(index); } /** - * - * *
      * Required. All services in the cluster are assigned an IPv4 address from
      * these ranges. Only a single range is supported. This field cannot be
      * changed after creation.
      * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The bytes of the serviceAddressCidrBlocks at the given index. */ - public com.google.protobuf.ByteString getServiceAddressCidrBlocksBytes(int index) { + public com.google.protobuf.ByteString + getServiceAddressCidrBlocksBytes(int index) { return serviceAddressCidrBlocks_.getByteString(index); } /** - * - * *
      * Required. All services in the cluster are assigned an IPv4 address from
      * these ranges. Only a single range is supported. This field cannot be
      * changed after creation.
      * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @param index The index to set the value at. * @param value The serviceAddressCidrBlocks to set. * @return This builder for chaining. */ - public Builder setServiceAddressCidrBlocks(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setServiceAddressCidrBlocks( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureServiceAddressCidrBlocksIsMutable(); serviceAddressCidrBlocks_.set(index, value); bitField0_ |= 0x00000004; @@ -1140,25 +1038,19 @@ public Builder setServiceAddressCidrBlocks(int index, java.lang.String value) { return this; } /** - * - * *
      * Required. All services in the cluster are assigned an IPv4 address from
      * these ranges. Only a single range is supported. This field cannot be
      * changed after creation.
      * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The serviceAddressCidrBlocks to add. * @return This builder for chaining. */ - public Builder addServiceAddressCidrBlocks(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addServiceAddressCidrBlocks( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureServiceAddressCidrBlocksIsMutable(); serviceAddressCidrBlocks_.add(value); bitField0_ |= 0x00000004; @@ -1166,70 +1058,56 @@ public Builder addServiceAddressCidrBlocks(java.lang.String value) { return this; } /** - * - * *
      * Required. All services in the cluster are assigned an IPv4 address from
      * these ranges. Only a single range is supported. This field cannot be
      * changed after creation.
      * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @param values The serviceAddressCidrBlocks to add. * @return This builder for chaining. */ - public Builder addAllServiceAddressCidrBlocks(java.lang.Iterable values) { + public Builder addAllServiceAddressCidrBlocks( + java.lang.Iterable values) { ensureServiceAddressCidrBlocksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, serviceAddressCidrBlocks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, serviceAddressCidrBlocks_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. All services in the cluster are assigned an IPv4 address from
      * these ranges. Only a single range is supported. This field cannot be
      * changed after creation.
      * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearServiceAddressCidrBlocks() { - serviceAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + serviceAddressCidrBlocks_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Required. All services in the cluster are assigned an IPv4 address from
      * these ranges. Only a single range is supported. This field cannot be
      * changed after creation.
      * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The bytes of the serviceAddressCidrBlocks to add. * @return This builder for chaining. */ - public Builder addServiceAddressCidrBlocksBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addServiceAddressCidrBlocksBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureServiceAddressCidrBlocksIsMutable(); serviceAddressCidrBlocks_.add(value); @@ -1238,8 +1116,64 @@ public Builder addServiceAddressCidrBlocksBytes(com.google.protobuf.ByteString v return this; } + private boolean perNodePoolSgRulesDisabled_ ; + /** + *
+     * Optional. Disable the per node pool subnet security group rules on the
+     * control plane security group. When set to true, you must also provide one
+     * or more security groups that ensure node pools are able to send requests to
+     * the control plane on TCP/443 and TCP/8132. Failure to do so may result in
+     * unavailable node pools.
+     * 
+ * + * bool per_node_pool_sg_rules_disabled = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The perNodePoolSgRulesDisabled. + */ @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public boolean getPerNodePoolSgRulesDisabled() { + return perNodePoolSgRulesDisabled_; + } + /** + *
+     * Optional. Disable the per node pool subnet security group rules on the
+     * control plane security group. When set to true, you must also provide one
+     * or more security groups that ensure node pools are able to send requests to
+     * the control plane on TCP/443 and TCP/8132. Failure to do so may result in
+     * unavailable node pools.
+     * 
+ * + * bool per_node_pool_sg_rules_disabled = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The perNodePoolSgRulesDisabled to set. + * @return This builder for chaining. + */ + public Builder setPerNodePoolSgRulesDisabled(boolean value) { + + perNodePoolSgRulesDisabled_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Optional. Disable the per node pool subnet security group rules on the
+     * control plane security group. When set to true, you must also provide one
+     * or more security groups that ensure node pools are able to send requests to
+     * the control plane on TCP/443 and TCP/8132. Failure to do so may result in
+     * unavailable node pools.
+     * 
+ * + * bool per_node_pool_sg_rules_disabled = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearPerNodePoolSgRulesDisabled() { + bitField0_ = (bitField0_ & ~0x00000008); + perNodePoolSgRulesDisabled_ = false; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1249,12 +1183,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsClusterNetworking) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsClusterNetworking) private static final com.google.cloud.gkemulticloud.v1.AwsClusterNetworking DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsClusterNetworking(); } @@ -1263,27 +1197,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsClusterNetworking getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsClusterNetworking parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsClusterNetworking parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1298,4 +1232,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsClusterNetworking getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworkingOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworkingOrBuilder.java similarity index 68% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworkingOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworkingOrBuilder.java index 94ee836c2767..21035d7e3f46 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworkingOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworkingOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsClusterNetworkingOrBuilder - extends +public interface AwsClusterNetworkingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsClusterNetworking) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The VPC associated with the cluster. All component clusters
    * (i.e. control plane and node pools) run on a single VPC.
@@ -34,13 +16,10 @@ public interface AwsClusterNetworkingOrBuilder
    * 
* * string vpc_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The vpcId. */ java.lang.String getVpcId(); /** - * - * *
    * Required. The VPC associated with the cluster. All component clusters
    * (i.e. control plane and node pools) run on a single VPC.
@@ -49,138 +28,120 @@ public interface AwsClusterNetworkingOrBuilder
    * 
* * string vpc_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for vpcId. */ - com.google.protobuf.ByteString getVpcIdBytes(); + com.google.protobuf.ByteString + getVpcIdBytes(); /** - * - * *
    * Required. All pods in the cluster are assigned an IPv4 address from these
    * ranges. Only a single range is supported. This field cannot be changed
    * after creation.
    * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the podAddressCidrBlocks. */ - java.util.List getPodAddressCidrBlocksList(); + java.util.List + getPodAddressCidrBlocksList(); /** - * - * *
    * Required. All pods in the cluster are assigned an IPv4 address from these
    * ranges. Only a single range is supported. This field cannot be changed
    * after creation.
    * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of podAddressCidrBlocks. */ int getPodAddressCidrBlocksCount(); /** - * - * *
    * Required. All pods in the cluster are assigned an IPv4 address from these
    * ranges. Only a single range is supported. This field cannot be changed
    * after creation.
    * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The podAddressCidrBlocks at the given index. */ java.lang.String getPodAddressCidrBlocks(int index); /** - * - * *
    * Required. All pods in the cluster are assigned an IPv4 address from these
    * ranges. Only a single range is supported. This field cannot be changed
    * after creation.
    * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The bytes of the podAddressCidrBlocks at the given index. */ - com.google.protobuf.ByteString getPodAddressCidrBlocksBytes(int index); + com.google.protobuf.ByteString + getPodAddressCidrBlocksBytes(int index); /** - * - * *
    * Required. All services in the cluster are assigned an IPv4 address from
    * these ranges. Only a single range is supported. This field cannot be
    * changed after creation.
    * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the serviceAddressCidrBlocks. */ - java.util.List getServiceAddressCidrBlocksList(); + java.util.List + getServiceAddressCidrBlocksList(); /** - * - * *
    * Required. All services in the cluster are assigned an IPv4 address from
    * these ranges. Only a single range is supported. This field cannot be
    * changed after creation.
    * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The count of serviceAddressCidrBlocks. */ int getServiceAddressCidrBlocksCount(); /** - * - * *
    * Required. All services in the cluster are assigned an IPv4 address from
    * these ranges. Only a single range is supported. This field cannot be
    * changed after creation.
    * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The serviceAddressCidrBlocks at the given index. */ java.lang.String getServiceAddressCidrBlocks(int index); /** - * - * *
    * Required. All services in the cluster are assigned an IPv4 address from
    * these ranges. Only a single range is supported. This field cannot be
    * changed after creation.
    * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The bytes of the serviceAddressCidrBlocks at the given index. */ - com.google.protobuf.ByteString getServiceAddressCidrBlocksBytes(int index); + com.google.protobuf.ByteString + getServiceAddressCidrBlocksBytes(int index); + + /** + *
+   * Optional. Disable the per node pool subnet security group rules on the
+   * control plane security group. When set to true, you must also provide one
+   * or more security groups that ensure node pools are able to send requests to
+   * the control plane on TCP/443 and TCP/8132. Failure to do so may result in
+   * unavailable node pools.
+   * 
+ * + * bool per_node_pool_sg_rules_disabled = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The perNodePoolSgRulesDisabled. + */ + boolean getPerNodePoolSgRulesDisabled(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterOrBuilder.java similarity index 68% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterOrBuilder.java index 6556753be71a..cc965813ae64 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsClusterOrBuilder - extends +public interface AwsClusterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsCluster) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of this resource.
    *
@@ -37,13 +19,10 @@ public interface AwsClusterOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of this resource.
    *
@@ -55,82 +34,61 @@ public interface AwsClusterOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. A human readable description of this cluster.
    * Cannot be longer than 255 UTF-8 encoded bytes.
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. A human readable description of this cluster.
    * Cannot be longer than 255 UTF-8 encoded bytes.
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Required. Cluster-wide networking configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the networking field is set. */ boolean hasNetworking(); /** - * - * *
    * Required. Cluster-wide networking configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The networking. */ com.google.cloud.gkemulticloud.v1.AwsClusterNetworking getNetworking(); /** - * - * *
    * Required. Cluster-wide networking configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gkemulticloud.v1.AwsClusterNetworkingOrBuilder getNetworkingOrBuilder(); /** - * - * *
    * Required. The AWS region where the cluster runs.
    *
@@ -141,13 +99,10 @@ public interface AwsClusterOrBuilder
    * 
* * string aws_region = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The awsRegion. */ java.lang.String getAwsRegion(); /** - * - * *
    * Required. The AWS region where the cluster runs.
    *
@@ -158,264 +113,189 @@ public interface AwsClusterOrBuilder
    * 
* * string aws_region = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for awsRegion. */ - com.google.protobuf.ByteString getAwsRegionBytes(); + com.google.protobuf.ByteString + getAwsRegionBytes(); /** - * - * *
    * Required. Configuration related to the cluster control plane.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the controlPlane field is set. */ boolean hasControlPlane(); /** - * - * *
    * Required. Configuration related to the cluster control plane.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The controlPlane. */ com.google.cloud.gkemulticloud.v1.AwsControlPlane getControlPlane(); /** - * - * *
    * Required. Configuration related to the cluster control plane.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gkemulticloud.v1.AwsControlPlaneOrBuilder getControlPlaneOrBuilder(); /** - * - * *
    * Required. Configuration related to the cluster RBAC settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the authorization field is set. */ boolean hasAuthorization(); /** - * - * *
    * Required. Configuration related to the cluster RBAC settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; * @return The authorization. */ com.google.cloud.gkemulticloud.v1.AwsAuthorization getAuthorization(); /** - * - * *
    * Required. Configuration related to the cluster RBAC settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gkemulticloud.v1.AwsAuthorizationOrBuilder getAuthorizationOrBuilder(); /** - * - * *
    * Output only. The current state of the cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current state of the cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.gkemulticloud.v1.AwsCluster.State getState(); /** - * - * *
    * Output only. The endpoint of the cluster's API server.
    * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The endpoint. */ java.lang.String getEndpoint(); /** - * - * *
    * Output only. The endpoint of the cluster's API server.
    * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for endpoint. */ - com.google.protobuf.ByteString getEndpointBytes(); + com.google.protobuf.ByteString + getEndpointBytes(); /** - * - * *
    * Output only. A globally unique identifier for the cluster.
    * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. A globally unique identifier for the cluster.
    * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Output only. If set, there are currently changes in flight to the cluster.
    * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ boolean getReconciling(); /** - * - * *
    * Output only. The time at which this cluster was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time at which this cluster was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time at which this cluster was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -425,13 +305,10 @@ public interface AwsClusterOrBuilder
    * 
* * string etag = 13; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -441,14 +318,12 @@ public interface AwsClusterOrBuilder
    * 
* * string etag = 13; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Optional. Annotations on the cluster.
    *
@@ -461,13 +336,10 @@ public interface AwsClusterOrBuilder
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; */ int getAnnotationsCount(); /** - * - * *
    * Optional. Annotations on the cluster.
    *
@@ -480,16 +352,17 @@ public interface AwsClusterOrBuilder
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + */ + boolean containsAnnotations( + java.lang.String key); + /** + * Use {@link #getAnnotationsMap()} instead. */ - boolean containsAnnotations(java.lang.String key); - /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Deprecated - java.util.Map getAnnotations(); + java.util.Map + getAnnotations(); /** - * - * *
    * Optional. Annotations on the cluster.
    *
@@ -502,13 +375,11 @@ public interface AwsClusterOrBuilder
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map getAnnotationsMap(); + java.util.Map + getAnnotationsMap(); /** - * - * *
    * Optional. Annotations on the cluster.
    *
@@ -521,17 +392,14 @@ public interface AwsClusterOrBuilder
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ - java.lang.String getAnnotationsOrDefault( +java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Optional. Annotations on the cluster.
    *
@@ -544,260 +412,207 @@ java.lang.String getAnnotationsOrDefault(
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getAnnotationsOrThrow(java.lang.String key); + java.lang.String getAnnotationsOrThrow( + java.lang.String key); /** - * - * *
    * Output only. Workload Identity settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the workloadIdentityConfig field is set. */ boolean hasWorkloadIdentityConfig(); /** - * - * *
    * Output only. Workload Identity settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The workloadIdentityConfig. */ com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig getWorkloadIdentityConfig(); /** - * - * *
    * Output only. Workload Identity settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder - getWorkloadIdentityConfigOrBuilder(); + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder(); /** - * - * *
    * Output only. PEM encoded x509 certificate of the cluster root of trust.
    * 
* * string cluster_ca_certificate = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The clusterCaCertificate. */ java.lang.String getClusterCaCertificate(); /** - * - * *
    * Output only. PEM encoded x509 certificate of the cluster root of trust.
    * 
* * string cluster_ca_certificate = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for clusterCaCertificate. */ - com.google.protobuf.ByteString getClusterCaCertificateBytes(); + com.google.protobuf.ByteString + getClusterCaCertificateBytes(); /** - * - * *
    * Required. Fleet configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the fleet field is set. */ boolean hasFleet(); /** - * - * *
    * Required. Fleet configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; * @return The fleet. */ com.google.cloud.gkemulticloud.v1.Fleet getFleet(); /** - * - * *
    * Required. Fleet configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder(); /** - * - * *
    * Optional. Logging configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** - * - * *
    * Optional. Logging configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; * @return The loggingConfig. */ com.google.cloud.gkemulticloud.v1.LoggingConfig getLoggingConfig(); /** - * - * *
    * Optional. Logging configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder(); /** - * - * *
    * Output only. A set of errors found in the cluster.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getErrorsList(); + java.util.List + getErrorsList(); /** - * - * *
    * Output only. A set of errors found in the cluster.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.gkemulticloud.v1.AwsClusterError getErrors(int index); /** - * - * *
    * Output only. A set of errors found in the cluster.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getErrorsCount(); /** - * - * *
    * Output only. A set of errors found in the cluster.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getErrorsOrBuilderList(); /** - * - * *
    * Output only. A set of errors found in the cluster.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.gkemulticloud.v1.AwsClusterErrorOrBuilder getErrorsOrBuilder(int index); + com.google.cloud.gkemulticloud.v1.AwsClusterErrorOrBuilder getErrorsOrBuilder( + int index); /** - * - * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the monitoringConfig field is set. */ boolean hasMonitoringConfig(); /** - * - * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; * @return The monitoringConfig. */ com.google.cloud.gkemulticloud.v1.MonitoringConfig getMonitoringConfig(); /** - * - * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBuilder(); + + /** + *
+   * Optional. Binary Authorization configuration for this cluster.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the binaryAuthorization field is set. + */ + boolean hasBinaryAuthorization(); + /** + *
+   * Optional. Binary Authorization configuration for this cluster.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * @return The binaryAuthorization. + */ + com.google.cloud.gkemulticloud.v1.BinaryAuthorization getBinaryAuthorization(); + /** + *
+   * Optional. Binary Authorization configuration for this cluster.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUser.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUser.java similarity index 66% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUser.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUser.java index e1c19472c456..3e6609dd46fe 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUser.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUser.java @@ -1,80 +1,57 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Identities of a user-type subject for AWS clusters.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsClusterUser} */ -public final class AwsClusterUser extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AwsClusterUser extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsClusterUser) AwsClusterUserOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AwsClusterUser.newBuilder() to construct. private AwsClusterUser(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AwsClusterUser() { username_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AwsClusterUser(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsClusterUser.class, - com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsClusterUser.class, com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder.class); } public static final int USERNAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object username_ = ""; /** - * - * *
    * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
    * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The username. */ @java.lang.Override @@ -83,29 +60,29 @@ public java.lang.String getUsername() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; } } /** - * - * *
    * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
    * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for username. */ @java.lang.Override - public com.google.protobuf.ByteString getUsernameBytes() { + public com.google.protobuf.ByteString + getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); username_ = b; return b; } else { @@ -114,7 +91,6 @@ public com.google.protobuf.ByteString getUsernameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,7 +102,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(username_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, username_); } @@ -150,15 +127,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsClusterUser)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsClusterUser other = - (com.google.cloud.gkemulticloud.v1.AwsClusterUser) obj; + com.google.cloud.gkemulticloud.v1.AwsClusterUser other = (com.google.cloud.gkemulticloud.v1.AwsClusterUser) obj; - if (!getUsername().equals(other.getUsername())) return false; + if (!getUsername() + .equals(other.getUsername())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -177,136 +154,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.gkemulticloud.v1.AwsClusterUser parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.gkemulticloud.v1.AwsClusterUser parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterUser parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterUser parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterUser parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterUser parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterUser parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AwsClusterUser parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsClusterUser parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterUser parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterUser parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsClusterUser parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsClusterUser parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterUser parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterUser parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsClusterUser prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Identities of a user-type subject for AWS clusters.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsClusterUser} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsClusterUser) com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsClusterUser.class, - com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsClusterUser.class, com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AwsClusterUser.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -316,9 +289,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_descriptor; } @java.lang.Override @@ -337,11 +310,8 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterUser build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsClusterUser buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsClusterUser result = - new com.google.cloud.gkemulticloud.v1.AwsClusterUser(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.AwsClusterUser result = new com.google.cloud.gkemulticloud.v1.AwsClusterUser(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -357,39 +327,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsClusterUser resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AwsClusterUser) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsClusterUser) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsClusterUser)other); } else { super.mergeFrom(other); return this; @@ -397,8 +366,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsClusterUser other) { - if (other == com.google.cloud.gkemulticloud.v1.AwsClusterUser.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.AwsClusterUser.getDefaultInstance()) return this; if (!other.getUsername().isEmpty()) { username_ = other.username_; bitField0_ |= 0x00000001; @@ -430,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - username_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + username_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -452,25 +418,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object username_ = ""; /** - * - * *
      * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
      * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The username. */ public java.lang.String getUsername() { java.lang.Object ref = username_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; @@ -479,21 +442,20 @@ public java.lang.String getUsername() { } } /** - * - * *
      * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
      * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for username. */ - public com.google.protobuf.ByteString getUsernameBytes() { + public com.google.protobuf.ByteString + getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); username_ = b; return b; } else { @@ -501,35 +463,28 @@ public com.google.protobuf.ByteString getUsernameBytes() { } } /** - * - * *
      * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
      * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The username to set. * @return This builder for chaining. */ - public Builder setUsername(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUsername( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } username_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
      * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUsername() { @@ -539,30 +494,26 @@ public Builder clearUsername() { return this; } /** - * - * *
      * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
      * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for username to set. * @return This builder for chaining. */ - public Builder setUsernameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUsernameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); username_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -572,12 +523,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsClusterUser) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsClusterUser) private static final com.google.cloud.gkemulticloud.v1.AwsClusterUser DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsClusterUser(); } @@ -586,27 +537,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsClusterUser getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsClusterUser parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsClusterUser parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -621,4 +572,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsClusterUser getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUserOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUserOrBuilder.java similarity index 51% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUserOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUserOrBuilder.java index 006f5a0cbbb7..607d0f5371f9 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUserOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUserOrBuilder.java @@ -1,50 +1,29 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsClusterUserOrBuilder - extends +public interface AwsClusterUserOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsClusterUser) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
    * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The username. */ java.lang.String getUsername(); /** - * - * *
    * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
    * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for username. */ - com.google.protobuf.ByteString getUsernameBytes(); + com.google.protobuf.ByteString + getUsernameBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryption.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryption.java similarity index 66% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryption.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryption.java index 691df54682e1..8ebef5202e8d 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryption.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryption.java @@ -1,80 +1,57 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Config encryption for user data.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsConfigEncryption} */ -public final class AwsConfigEncryption extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AwsConfigEncryption extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsConfigEncryption) AwsConfigEncryptionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AwsConfigEncryption.newBuilder() to construct. private AwsConfigEncryption(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AwsConfigEncryption() { kmsKeyArn_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AwsConfigEncryption(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.class, - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.class, com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder.class); } public static final int KMS_KEY_ARN_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object kmsKeyArn_ = ""; /** - * - * *
    * Required. The ARN of the AWS KMS key used to encrypt user data.
    * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The kmsKeyArn. */ @java.lang.Override @@ -83,29 +60,29 @@ public java.lang.String getKmsKeyArn() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyArn_ = s; return s; } } /** - * - * *
    * Required. The ARN of the AWS KMS key used to encrypt user data.
    * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for kmsKeyArn. */ @java.lang.Override - public com.google.protobuf.ByteString getKmsKeyArnBytes() { + public com.google.protobuf.ByteString + getKmsKeyArnBytes() { java.lang.Object ref = kmsKeyArn_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyArn_ = b; return b; } else { @@ -114,7 +91,6 @@ public com.google.protobuf.ByteString getKmsKeyArnBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,7 +102,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyArn_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kmsKeyArn_); } @@ -150,15 +127,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsConfigEncryption)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption other = - (com.google.cloud.gkemulticloud.v1.AwsConfigEncryption) obj; + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption other = (com.google.cloud.gkemulticloud.v1.AwsConfigEncryption) obj; - if (!getKmsKeyArn().equals(other.getKmsKeyArn())) return false; + if (!getKmsKeyArn() + .equals(other.getKmsKeyArn())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -178,136 +155,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AwsConfigEncryption parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsConfigEncryption parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsConfigEncryption parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsConfigEncryption parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsConfigEncryption parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsConfigEncryption parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AwsConfigEncryption parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsConfigEncryption parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsConfigEncryption parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsConfigEncryption parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsConfigEncryption parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsConfigEncryption parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsConfigEncryption parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsConfigEncryption parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsConfigEncryption prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Config encryption for user data.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsConfigEncryption} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsConfigEncryption) com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.class, - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.class, com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -317,9 +289,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_descriptor; } @java.lang.Override @@ -338,11 +310,8 @@ public com.google.cloud.gkemulticloud.v1.AwsConfigEncryption build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsConfigEncryption buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption result = - new com.google.cloud.gkemulticloud.v1.AwsConfigEncryption(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption result = new com.google.cloud.gkemulticloud.v1.AwsConfigEncryption(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -358,39 +327,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsConfigEncryption public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AwsConfigEncryption) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsConfigEncryption) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsConfigEncryption)other); } else { super.mergeFrom(other); return this; @@ -398,8 +366,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsConfigEncryption other) { - if (other == com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance()) return this; if (!other.getKmsKeyArn().isEmpty()) { kmsKeyArn_ = other.kmsKeyArn_; bitField0_ |= 0x00000001; @@ -431,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - kmsKeyArn_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + kmsKeyArn_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -453,25 +418,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object kmsKeyArn_ = ""; /** - * - * *
      * Required. The ARN of the AWS KMS key used to encrypt user data.
      * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The kmsKeyArn. */ public java.lang.String getKmsKeyArn() { java.lang.Object ref = kmsKeyArn_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyArn_ = s; return s; @@ -480,21 +442,20 @@ public java.lang.String getKmsKeyArn() { } } /** - * - * *
      * Required. The ARN of the AWS KMS key used to encrypt user data.
      * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for kmsKeyArn. */ - public com.google.protobuf.ByteString getKmsKeyArnBytes() { + public com.google.protobuf.ByteString + getKmsKeyArnBytes() { java.lang.Object ref = kmsKeyArn_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyArn_ = b; return b; } else { @@ -502,35 +463,28 @@ public com.google.protobuf.ByteString getKmsKeyArnBytes() { } } /** - * - * *
      * Required. The ARN of the AWS KMS key used to encrypt user data.
      * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The kmsKeyArn to set. * @return This builder for chaining. */ - public Builder setKmsKeyArn(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyArn( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } kmsKeyArn_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The ARN of the AWS KMS key used to encrypt user data.
      * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearKmsKeyArn() { @@ -540,30 +494,26 @@ public Builder clearKmsKeyArn() { return this; } /** - * - * *
      * Required. The ARN of the AWS KMS key used to encrypt user data.
      * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for kmsKeyArn to set. * @return This builder for chaining. */ - public Builder setKmsKeyArnBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyArnBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); kmsKeyArn_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -573,12 +523,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsConfigEncryption) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsConfigEncryption) private static final com.google.cloud.gkemulticloud.v1.AwsConfigEncryption DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsConfigEncryption(); } @@ -587,27 +537,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsConfigEncryption getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsConfigEncryption parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsConfigEncryption parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -622,4 +572,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsConfigEncryption getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryptionOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryptionOrBuilder.java similarity index 52% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryptionOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryptionOrBuilder.java index e67e7b66f6a4..c97c1de1e2e0 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryptionOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryptionOrBuilder.java @@ -1,50 +1,29 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsConfigEncryptionOrBuilder - extends +public interface AwsConfigEncryptionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsConfigEncryption) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The ARN of the AWS KMS key used to encrypt user data.
    * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The kmsKeyArn. */ java.lang.String getKmsKeyArn(); /** - * - * *
    * Required. The ARN of the AWS KMS key used to encrypt user data.
    * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for kmsKeyArn. */ - com.google.protobuf.ByteString getKmsKeyArnBytes(); + com.google.protobuf.ByteString + getKmsKeyArnBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlane.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlane.java similarity index 65% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlane.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlane.java index 9b0aa32b967b..7d02e644fa70 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlane.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlane.java @@ -1,89 +1,70 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * ControlPlane defines common parameters between control plane nodes.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsControlPlane} */ -public final class AwsControlPlane extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AwsControlPlane extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsControlPlane) AwsControlPlaneOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AwsControlPlane.newBuilder() to construct. private AwsControlPlane(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AwsControlPlane() { version_ = ""; instanceType_ = ""; - subnetIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - securityGroupIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + subnetIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + securityGroupIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); iamInstanceProfile_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AwsControlPlane(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 11: return internalGetTags(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsControlPlane.class, - com.google.cloud.gkemulticloud.v1.AwsControlPlane.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsControlPlane.class, com.google.cloud.gkemulticloud.v1.AwsControlPlane.Builder.class); } public static final int VERSION_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object version_ = ""; /** - * - * *
    * Required. The Kubernetes version to run on control plane replicas
    * (e.g. `1.19.10-gke.1000`).
@@ -94,7 +75,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The version. */ @java.lang.Override @@ -103,15 +83,14 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** - * - * *
    * Required. The Kubernetes version to run on control plane replicas
    * (e.g. `1.19.10-gke.1000`).
@@ -122,15 +101,16 @@ public java.lang.String getVersion() {
    * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -139,12 +119,9 @@ public com.google.protobuf.ByteString getVersionBytes() { } public static final int INSTANCE_TYPE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object instanceType_ = ""; /** - * - * *
    * Optional. The AWS instance type.
    *
@@ -152,7 +129,6 @@ public com.google.protobuf.ByteString getVersionBytes() {
    * 
* * string instance_type = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The instanceType. */ @java.lang.Override @@ -161,15 +137,14 @@ public java.lang.String getInstanceType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceType_ = s; return s; } } /** - * - * *
    * Optional. The AWS instance type.
    *
@@ -177,15 +152,16 @@ public java.lang.String getInstanceType() {
    * 
* * string instance_type = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for instanceType. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceTypeBytes() { + public com.google.protobuf.ByteString + getInstanceTypeBytes() { java.lang.Object ref = instanceType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceType_ = b; return b; } else { @@ -196,17 +172,12 @@ public com.google.protobuf.ByteString getInstanceTypeBytes() { public static final int SSH_CONFIG_FIELD_NUMBER = 14; private com.google.cloud.gkemulticloud.v1.AwsSshConfig sshConfig_; /** - * - * *
    * Optional. SSH configuration for how to access the underlying control plane
    * machines.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the sshConfig field is set. */ @java.lang.Override @@ -214,52 +185,36 @@ public boolean hasSshConfig() { return sshConfig_ != null; } /** - * - * *
    * Optional. SSH configuration for how to access the underlying control plane
    * machines.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return The sshConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsSshConfig getSshConfig() { - return sshConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance() - : sshConfig_; + return sshConfig_ == null ? com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance() : sshConfig_; } /** - * - * *
    * Optional. SSH configuration for how to access the underlying control plane
    * machines.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder getSshConfigOrBuilder() { - return sshConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance() - : sshConfig_; + return sshConfig_ == null ? com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance() : sshConfig_; } public static final int SUBNET_IDS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList subnetIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Required. The list of subnets where control plane replicas will run.
    * A replica will be provisioned on each subnet and up to three values
@@ -268,15 +223,13 @@ public com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder getSshConfigOrBui
    * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the subnetIds. */ - public com.google.protobuf.ProtocolStringList getSubnetIdsList() { + public com.google.protobuf.ProtocolStringList + getSubnetIdsList() { return subnetIds_; } /** - * - * *
    * Required. The list of subnets where control plane replicas will run.
    * A replica will be provisioned on each subnet and up to three values
@@ -285,15 +238,12 @@ public com.google.protobuf.ProtocolStringList getSubnetIdsList() {
    * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of subnetIds. */ public int getSubnetIdsCount() { return subnetIds_.size(); } /** - * - * *
    * Required. The list of subnets where control plane replicas will run.
    * A replica will be provisioned on each subnet and up to three values
@@ -302,7 +252,6 @@ public int getSubnetIdsCount() {
    * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The subnetIds at the given index. */ @@ -310,8 +259,6 @@ public java.lang.String getSubnetIds(int index) { return subnetIds_.get(index); } /** - * - * *
    * Required. The list of subnets where control plane replicas will run.
    * A replica will be provisioned on each subnet and up to three values
@@ -320,22 +267,19 @@ public java.lang.String getSubnetIds(int index) {
    * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the subnetIds at the given index. */ - public com.google.protobuf.ByteString getSubnetIdsBytes(int index) { + public com.google.protobuf.ByteString + getSubnetIdsBytes(int index) { return subnetIds_.getByteString(index); } public static final int SECURITY_GROUP_IDS_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList securityGroupIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Optional. The IDs of additional security groups to add to control plane
    * replicas. The Anthos Multi-Cloud API will automatically create and manage
@@ -343,15 +287,13 @@ public com.google.protobuf.ByteString getSubnetIdsBytes(int index) {
    * 
* * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the securityGroupIds. */ - public com.google.protobuf.ProtocolStringList getSecurityGroupIdsList() { + public com.google.protobuf.ProtocolStringList + getSecurityGroupIdsList() { return securityGroupIds_; } /** - * - * *
    * Optional. The IDs of additional security groups to add to control plane
    * replicas. The Anthos Multi-Cloud API will automatically create and manage
@@ -359,15 +301,12 @@ public com.google.protobuf.ProtocolStringList getSecurityGroupIdsList() {
    * 
* * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of securityGroupIds. */ public int getSecurityGroupIdsCount() { return securityGroupIds_.size(); } /** - * - * *
    * Optional. The IDs of additional security groups to add to control plane
    * replicas. The Anthos Multi-Cloud API will automatically create and manage
@@ -375,7 +314,6 @@ public int getSecurityGroupIdsCount() {
    * 
* * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The securityGroupIds at the given index. */ @@ -383,8 +321,6 @@ public java.lang.String getSecurityGroupIds(int index) { return securityGroupIds_.get(index); } /** - * - * *
    * Optional. The IDs of additional security groups to add to control plane
    * replicas. The Anthos Multi-Cloud API will automatically create and manage
@@ -392,28 +328,24 @@ public java.lang.String getSecurityGroupIds(int index) {
    * 
* * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the securityGroupIds at the given index. */ - public com.google.protobuf.ByteString getSecurityGroupIdsBytes(int index) { + public com.google.protobuf.ByteString + getSecurityGroupIdsBytes(int index) { return securityGroupIds_.getByteString(index); } public static final int IAM_INSTANCE_PROFILE_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object iamInstanceProfile_ = ""; /** - * - * *
    * Required. The name or ARN of the AWS IAM instance profile to assign to each
    * control plane replica.
    * 
* * string iam_instance_profile = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The iamInstanceProfile. */ @java.lang.Override @@ -422,30 +354,30 @@ public java.lang.String getIamInstanceProfile() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); iamInstanceProfile_ = s; return s; } } /** - * - * *
    * Required. The name or ARN of the AWS IAM instance profile to assign to each
    * control plane replica.
    * 
* * string iam_instance_profile = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for iamInstanceProfile. */ @java.lang.Override - public com.google.protobuf.ByteString getIamInstanceProfileBytes() { + public com.google.protobuf.ByteString + getIamInstanceProfileBytes() { java.lang.Object ref = iamInstanceProfile_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); iamInstanceProfile_ = b; return b; } else { @@ -456,8 +388,6 @@ public com.google.protobuf.ByteString getIamInstanceProfileBytes() { public static final int ROOT_VOLUME_FIELD_NUMBER = 8; private com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate rootVolume_; /** - * - * *
    * Optional. Configuration related to the root volume provisioned for each
    * control plane replica.
@@ -468,10 +398,7 @@ public com.google.protobuf.ByteString getIamInstanceProfileBytes() {
    * When unspecified, it defaults to 32 GiB with the GP2 volume type.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the rootVolume field is set. */ @java.lang.Override @@ -479,8 +406,6 @@ public boolean hasRootVolume() { return rootVolume_ != null; } /** - * - * *
    * Optional. Configuration related to the root volume provisioned for each
    * control plane replica.
@@ -491,21 +416,14 @@ public boolean hasRootVolume() {
    * When unspecified, it defaults to 32 GiB with the GP2 volume type.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The rootVolume. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getRootVolume() { - return rootVolume_ == null - ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() - : rootVolume_; + return rootVolume_ == null ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() : rootVolume_; } /** - * - * *
    * Optional. Configuration related to the root volume provisioned for each
    * control plane replica.
@@ -516,22 +434,16 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getRootVolume() {
    * When unspecified, it defaults to 32 GiB with the GP2 volume type.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getRootVolumeOrBuilder() { - return rootVolume_ == null - ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() - : rootVolume_; + return rootVolume_ == null ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() : rootVolume_; } public static final int MAIN_VOLUME_FIELD_NUMBER = 9; private com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate mainVolume_; /** - * - * *
    * Optional. Configuration related to the main volume provisioned for each
    * control plane replica.
@@ -543,10 +455,7 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getRootVolum
    * When unspecified, it defaults to 8 GiB with the GP2 volume type.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the mainVolume field is set. */ @java.lang.Override @@ -554,8 +463,6 @@ public boolean hasMainVolume() { return mainVolume_ != null; } /** - * - * *
    * Optional. Configuration related to the main volume provisioned for each
    * control plane replica.
@@ -567,21 +474,14 @@ public boolean hasMainVolume() {
    * When unspecified, it defaults to 8 GiB with the GP2 volume type.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The mainVolume. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getMainVolume() { - return mainVolume_ == null - ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() - : mainVolume_; + return mainVolume_ == null ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() : mainVolume_; } /** - * - * *
    * Optional. Configuration related to the main volume provisioned for each
    * control plane replica.
@@ -593,30 +493,21 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getMainVolume() {
    * When unspecified, it defaults to 8 GiB with the GP2 volume type.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getMainVolumeOrBuilder() { - return mainVolume_ == null - ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() - : mainVolume_; + return mainVolume_ == null ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() : mainVolume_; } public static final int DATABASE_ENCRYPTION_FIELD_NUMBER = 10; private com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption databaseEncryption_; /** - * - * *
    * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the databaseEncryption field is set. */ @java.lang.Override @@ -624,72 +515,56 @@ public boolean hasDatabaseEncryption() { return databaseEncryption_ != null; } /** - * - * *
    * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; * @return The databaseEncryption. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption getDatabaseEncryption() { - return databaseEncryption_ == null - ? com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.getDefaultInstance() - : databaseEncryption_; + return databaseEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.getDefaultInstance() : databaseEncryption_; } /** - * - * *
    * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryptionOrBuilder - getDatabaseEncryptionOrBuilder() { - return databaseEncryption_ == null - ? com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.getDefaultInstance() - : databaseEncryption_; + public com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryptionOrBuilder getDatabaseEncryptionOrBuilder() { + return databaseEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.getDefaultInstance() : databaseEncryption_; } public static final int TAGS_FIELD_NUMBER = 11; - private static final class TagsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_TagsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_TagsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField tags_; - - private com.google.protobuf.MapField internalGetTags() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> tags_; + private com.google.protobuf.MapField + internalGetTags() { if (tags_ == null) { - return com.google.protobuf.MapField.emptyMapField(TagsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + TagsDefaultEntryHolder.defaultEntry); } return tags_; } - public int getTagsCount() { return internalGetTags().getMap().size(); } /** - * - * *
    * Optional. A set of AWS resource tags to propagate to all underlying managed
    * AWS resources.
@@ -702,21 +577,20 @@ public int getTagsCount() {
    * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public boolean containsTags(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsTags(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetTags().getMap().containsKey(key);
   }
-  /** Use {@link #getTagsMap()} instead. */
+  /**
+   * Use {@link #getTagsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getTags() {
     return getTagsMap();
   }
   /**
-   *
-   *
    * 
    * Optional. A set of AWS resource tags to propagate to all underlying managed
    * AWS resources.
@@ -733,8 +607,6 @@ public java.util.Map getTagsMap() {
     return internalGetTags().getMap();
   }
   /**
-   *
-   *
    * 
    * Optional. A set of AWS resource tags to propagate to all underlying managed
    * AWS resources.
@@ -747,19 +619,17 @@ public java.util.Map getTagsMap() {
    * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getTagsOrDefault(
+  public /* nullable */
+java.lang.String getTagsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetTags().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetTags().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Optional. A set of AWS resource tags to propagate to all underlying managed
    * AWS resources.
@@ -772,11 +642,11 @@ public java.util.Map getTagsMap() {
    * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public java.lang.String getTagsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetTags().getMap();
+  public java.lang.String getTagsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetTags().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -786,16 +656,11 @@ public java.lang.String getTagsOrThrow(java.lang.String key) {
   public static final int AWS_SERVICES_AUTHENTICATION_FIELD_NUMBER = 12;
   private com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication awsServicesAuthentication_;
   /**
-   *
-   *
    * 
    * Required. Authentication configuration for management of AWS resources.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the awsServicesAuthentication field is set. */ @java.lang.Override @@ -803,57 +668,37 @@ public boolean hasAwsServicesAuthentication() { return awsServicesAuthentication_ != null; } /** - * - * *
    * Required. Authentication configuration for management of AWS resources.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; * @return The awsServicesAuthentication. */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication - getAwsServicesAuthentication() { - return awsServicesAuthentication_ == null - ? com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.getDefaultInstance() - : awsServicesAuthentication_; + public com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication getAwsServicesAuthentication() { + return awsServicesAuthentication_ == null ? com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.getDefaultInstance() : awsServicesAuthentication_; } /** - * - * *
    * Required. Authentication configuration for management of AWS resources.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsServicesAuthenticationOrBuilder - getAwsServicesAuthenticationOrBuilder() { - return awsServicesAuthentication_ == null - ? com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.getDefaultInstance() - : awsServicesAuthentication_; + public com.google.cloud.gkemulticloud.v1.AwsServicesAuthenticationOrBuilder getAwsServicesAuthenticationOrBuilder() { + return awsServicesAuthentication_ == null ? com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.getDefaultInstance() : awsServicesAuthentication_; } public static final int PROXY_CONFIG_FIELD_NUMBER = 16; private com.google.cloud.gkemulticloud.v1.AwsProxyConfig proxyConfig_; /** - * - * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the proxyConfig field is set. */ @java.lang.Override @@ -861,55 +706,37 @@ public boolean hasProxyConfig() { return proxyConfig_ != null; } /** - * - * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; * @return The proxyConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsProxyConfig getProxyConfig() { - return proxyConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance() - : proxyConfig_; + return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance() : proxyConfig_; } /** - * - * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder getProxyConfigOrBuilder() { - return proxyConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance() - : proxyConfig_; + return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance() : proxyConfig_; } public static final int CONFIG_ENCRYPTION_FIELD_NUMBER = 17; private com.google.cloud.gkemulticloud.v1.AwsConfigEncryption configEncryption_; /** - * - * *
    * Required. Config encryption for user data.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the configEncryption field is set. */ @java.lang.Override @@ -917,57 +744,38 @@ public boolean hasConfigEncryption() { return configEncryption_ != null; } /** - * - * *
    * Required. Config encryption for user data.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; * @return The configEncryption. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsConfigEncryption getConfigEncryption() { - return configEncryption_ == null - ? com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance() - : configEncryption_; + return configEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance() : configEncryption_; } /** - * - * *
    * Required. Config encryption for user data.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder - getConfigEncryptionOrBuilder() { - return configEncryption_ == null - ? com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance() - : configEncryption_; + public com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder getConfigEncryptionOrBuilder() { + return configEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance() : configEncryption_; } public static final int INSTANCE_PLACEMENT_FIELD_NUMBER = 18; private com.google.cloud.gkemulticloud.v1.AwsInstancePlacement instancePlacement_; /** - * - * *
    * Optional. The placement to use on control plane instances.
    * When unspecified, the VPC's default tenancy will be used.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the instancePlacement field is set. */ @java.lang.Override @@ -975,47 +783,32 @@ public boolean hasInstancePlacement() { return instancePlacement_ != null; } /** - * - * *
    * Optional. The placement to use on control plane instances.
    * When unspecified, the VPC's default tenancy will be used.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; * @return The instancePlacement. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement getInstancePlacement() { - return instancePlacement_ == null - ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance() - : instancePlacement_; + return instancePlacement_ == null ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance() : instancePlacement_; } /** - * - * *
    * Optional. The placement to use on control plane instances.
    * When unspecified, the VPC's default tenancy will be used.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder - getInstancePlacementOrBuilder() { - return instancePlacement_ == null - ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance() - : instancePlacement_; + public com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder getInstancePlacementOrBuilder() { + return instancePlacement_ == null ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance() : instancePlacement_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1027,7 +820,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); } @@ -1052,8 +846,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (databaseEncryption_ != null) { output.writeMessage(10, getDatabaseEncryption()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetTags(), TagsDefaultEntryHolder.defaultEntry, 11); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetTags(), + TagsDefaultEntryHolder.defaultEntry, + 11); if (awsServicesAuthentication_ != null) { output.writeMessage(12, getAwsServicesAuthentication()); } @@ -1104,40 +902,46 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, iamInstanceProfile_); } if (rootVolume_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getRootVolume()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getRootVolume()); } if (mainVolume_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getMainVolume()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getMainVolume()); } if (databaseEncryption_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getDatabaseEncryption()); - } - for (java.util.Map.Entry entry : - internalGetTags().getMap().entrySet()) { - com.google.protobuf.MapEntry tags__ = - TagsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, tags__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getDatabaseEncryption()); + } + for (java.util.Map.Entry entry + : internalGetTags().getMap().entrySet()) { + com.google.protobuf.MapEntry + tags__ = TagsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, tags__); } if (awsServicesAuthentication_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 12, getAwsServicesAuthentication()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getAwsServicesAuthentication()); } if (sshConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getSshConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, getSshConfig()); } if (proxyConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getProxyConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, getProxyConfig()); } if (configEncryption_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, getConfigEncryption()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(17, getConfigEncryption()); } if (instancePlacement_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getInstancePlacement()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, getInstancePlacement()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1147,52 +951,64 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsControlPlane)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsControlPlane other = - (com.google.cloud.gkemulticloud.v1.AwsControlPlane) obj; + com.google.cloud.gkemulticloud.v1.AwsControlPlane other = (com.google.cloud.gkemulticloud.v1.AwsControlPlane) obj; - if (!getVersion().equals(other.getVersion())) return false; - if (!getInstanceType().equals(other.getInstanceType())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getInstanceType() + .equals(other.getInstanceType())) return false; if (hasSshConfig() != other.hasSshConfig()) return false; if (hasSshConfig()) { - if (!getSshConfig().equals(other.getSshConfig())) return false; - } - if (!getSubnetIdsList().equals(other.getSubnetIdsList())) return false; - if (!getSecurityGroupIdsList().equals(other.getSecurityGroupIdsList())) return false; - if (!getIamInstanceProfile().equals(other.getIamInstanceProfile())) return false; + if (!getSshConfig() + .equals(other.getSshConfig())) return false; + } + if (!getSubnetIdsList() + .equals(other.getSubnetIdsList())) return false; + if (!getSecurityGroupIdsList() + .equals(other.getSecurityGroupIdsList())) return false; + if (!getIamInstanceProfile() + .equals(other.getIamInstanceProfile())) return false; if (hasRootVolume() != other.hasRootVolume()) return false; if (hasRootVolume()) { - if (!getRootVolume().equals(other.getRootVolume())) return false; + if (!getRootVolume() + .equals(other.getRootVolume())) return false; } if (hasMainVolume() != other.hasMainVolume()) return false; if (hasMainVolume()) { - if (!getMainVolume().equals(other.getMainVolume())) return false; + if (!getMainVolume() + .equals(other.getMainVolume())) return false; } if (hasDatabaseEncryption() != other.hasDatabaseEncryption()) return false; if (hasDatabaseEncryption()) { - if (!getDatabaseEncryption().equals(other.getDatabaseEncryption())) return false; + if (!getDatabaseEncryption() + .equals(other.getDatabaseEncryption())) return false; } - if (!internalGetTags().equals(other.internalGetTags())) return false; + if (!internalGetTags().equals( + other.internalGetTags())) return false; if (hasAwsServicesAuthentication() != other.hasAwsServicesAuthentication()) return false; if (hasAwsServicesAuthentication()) { - if (!getAwsServicesAuthentication().equals(other.getAwsServicesAuthentication())) - return false; + if (!getAwsServicesAuthentication() + .equals(other.getAwsServicesAuthentication())) return false; } if (hasProxyConfig() != other.hasProxyConfig()) return false; if (hasProxyConfig()) { - if (!getProxyConfig().equals(other.getProxyConfig())) return false; + if (!getProxyConfig() + .equals(other.getProxyConfig())) return false; } if (hasConfigEncryption() != other.hasConfigEncryption()) return false; if (hasConfigEncryption()) { - if (!getConfigEncryption().equals(other.getConfigEncryption())) return false; + if (!getConfigEncryption() + .equals(other.getConfigEncryption())) return false; } if (hasInstancePlacement() != other.hasInstancePlacement()) return false; if (hasInstancePlacement()) { - if (!getInstancePlacement().equals(other.getInstancePlacement())) return false; + if (!getInstancePlacement() + .equals(other.getInstancePlacement())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1261,155 +1077,153 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AwsControlPlane parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsControlPlane parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsControlPlane parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsControlPlane parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsControlPlane parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsControlPlane parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AwsControlPlane parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsControlPlane parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsControlPlane parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsControlPlane parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsControlPlane parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsControlPlane parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsControlPlane parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsControlPlane parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsControlPlane prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ControlPlane defines common parameters between control plane nodes.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsControlPlane} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsControlPlane) com.google.cloud.gkemulticloud.v1.AwsControlPlaneOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 11: return internalGetTags(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 11: return internalGetMutableTags(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsControlPlane.class, - com.google.cloud.gkemulticloud.v1.AwsControlPlane.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsControlPlane.class, com.google.cloud.gkemulticloud.v1.AwsControlPlane.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AwsControlPlane.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1421,8 +1235,10 @@ public Builder clear() { sshConfigBuilder_.dispose(); sshConfigBuilder_ = null; } - subnetIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - securityGroupIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + subnetIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + securityGroupIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); iamInstanceProfile_ = ""; rootVolume_ = null; if (rootVolumeBuilder_ != null) { @@ -1464,9 +1280,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_descriptor; } @java.lang.Override @@ -1485,11 +1301,8 @@ public com.google.cloud.gkemulticloud.v1.AwsControlPlane build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsControlPlane buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsControlPlane result = - new com.google.cloud.gkemulticloud.v1.AwsControlPlane(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.AwsControlPlane result = new com.google.cloud.gkemulticloud.v1.AwsControlPlane(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1503,7 +1316,9 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsControlPlane res result.instanceType_ = instanceType_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.sshConfig_ = sshConfigBuilder_ == null ? sshConfig_ : sshConfigBuilder_.build(); + result.sshConfig_ = sshConfigBuilder_ == null + ? sshConfig_ + : sshConfigBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { subnetIds_.makeImmutable(); @@ -1517,40 +1332,43 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsControlPlane res result.iamInstanceProfile_ = iamInstanceProfile_; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.rootVolume_ = rootVolumeBuilder_ == null ? rootVolume_ : rootVolumeBuilder_.build(); + result.rootVolume_ = rootVolumeBuilder_ == null + ? rootVolume_ + : rootVolumeBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { - result.mainVolume_ = mainVolumeBuilder_ == null ? mainVolume_ : mainVolumeBuilder_.build(); + result.mainVolume_ = mainVolumeBuilder_ == null + ? mainVolume_ + : mainVolumeBuilder_.build(); } if (((from_bitField0_ & 0x00000100) != 0)) { - result.databaseEncryption_ = - databaseEncryptionBuilder_ == null - ? databaseEncryption_ - : databaseEncryptionBuilder_.build(); + result.databaseEncryption_ = databaseEncryptionBuilder_ == null + ? databaseEncryption_ + : databaseEncryptionBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { result.tags_ = internalGetTags(); result.tags_.makeImmutable(); } if (((from_bitField0_ & 0x00000400) != 0)) { - result.awsServicesAuthentication_ = - awsServicesAuthenticationBuilder_ == null - ? awsServicesAuthentication_ - : awsServicesAuthenticationBuilder_.build(); + result.awsServicesAuthentication_ = awsServicesAuthenticationBuilder_ == null + ? awsServicesAuthentication_ + : awsServicesAuthenticationBuilder_.build(); } if (((from_bitField0_ & 0x00000800) != 0)) { - result.proxyConfig_ = - proxyConfigBuilder_ == null ? proxyConfig_ : proxyConfigBuilder_.build(); + result.proxyConfig_ = proxyConfigBuilder_ == null + ? proxyConfig_ + : proxyConfigBuilder_.build(); } if (((from_bitField0_ & 0x00001000) != 0)) { - result.configEncryption_ = - configEncryptionBuilder_ == null ? configEncryption_ : configEncryptionBuilder_.build(); + result.configEncryption_ = configEncryptionBuilder_ == null + ? configEncryption_ + : configEncryptionBuilder_.build(); } if (((from_bitField0_ & 0x00002000) != 0)) { - result.instancePlacement_ = - instancePlacementBuilder_ == null - ? instancePlacement_ - : instancePlacementBuilder_.build(); + result.instancePlacement_ = instancePlacementBuilder_ == null + ? instancePlacement_ + : instancePlacementBuilder_.build(); } } @@ -1558,39 +1376,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsControlPlane res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AwsControlPlane) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsControlPlane) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsControlPlane)other); } else { super.mergeFrom(other); return this; @@ -1598,8 +1415,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsControlPlane other) { - if (other == com.google.cloud.gkemulticloud.v1.AwsControlPlane.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.AwsControlPlane.getDefaultInstance()) return this; if (!other.getVersion().isEmpty()) { version_ = other.version_; bitField0_ |= 0x00000001; @@ -1647,7 +1463,8 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsControlPlane other if (other.hasDatabaseEncryption()) { mergeDatabaseEncryption(other.getDatabaseEncryption()); } - internalGetMutableTags().mergeFrom(other.internalGetTags()); + internalGetMutableTags().mergeFrom( + other.internalGetTags()); bitField0_ |= 0x00000200; if (other.hasAwsServicesAuthentication()) { mergeAwsServicesAuthentication(other.getAwsServicesAuthentication()); @@ -1687,106 +1504,104 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - version_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - instanceType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureSubnetIdsIsMutable(); - subnetIds_.add(s); - break; - } // case 34 - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureSecurityGroupIdsIsMutable(); - securityGroupIds_.add(s); - break; - } // case 42 - case 58: - { - iamInstanceProfile_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 58 - case 66: - { - input.readMessage(getRootVolumeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 66 - case 74: - { - input.readMessage(getMainVolumeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 74 - case 82: - { - input.readMessage( - getDatabaseEncryptionFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 82 - case 90: - { - com.google.protobuf.MapEntry tags__ = - input.readMessage( - TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableTags().getMutableMap().put(tags__.getKey(), tags__.getValue()); - bitField0_ |= 0x00000200; - break; - } // case 90 - case 98: - { - input.readMessage( - getAwsServicesAuthenticationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000400; - break; - } // case 98 - case 114: - { - input.readMessage(getSshConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 114 - case 130: - { - input.readMessage(getProxyConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000800; - break; - } // case 130 - case 138: - { - input.readMessage( - getConfigEncryptionFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00001000; - break; - } // case 138 - case 146: - { - input.readMessage( - getInstancePlacementFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00002000; - break; - } // case 146 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + instanceType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + ensureSubnetIdsIsMutable(); + subnetIds_.add(s); + break; + } // case 34 + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + ensureSecurityGroupIdsIsMutable(); + securityGroupIds_.add(s); + break; + } // case 42 + case 58: { + iamInstanceProfile_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 58 + case 66: { + input.readMessage( + getRootVolumeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 66 + case 74: { + input.readMessage( + getMainVolumeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 74 + case 82: { + input.readMessage( + getDatabaseEncryptionFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 82 + case 90: { + com.google.protobuf.MapEntry + tags__ = input.readMessage( + TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableTags().getMutableMap().put( + tags__.getKey(), tags__.getValue()); + bitField0_ |= 0x00000200; + break; + } // case 90 + case 98: { + input.readMessage( + getAwsServicesAuthenticationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 98 + case 114: { + input.readMessage( + getSshConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 114 + case 130: { + input.readMessage( + getProxyConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000800; + break; + } // case 130 + case 138: { + input.readMessage( + getConfigEncryptionFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00001000; + break; + } // case 138 + case 146: { + input.readMessage( + getInstancePlacementFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00002000; + break; + } // case 146 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1796,13 +1611,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object version_ = ""; /** - * - * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1813,13 +1625,13 @@ public Builder mergeFrom(
      * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -1828,8 +1640,6 @@ public java.lang.String getVersion() { } } /** - * - * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1840,14 +1650,15 @@ public java.lang.String getVersion() {
      * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -1855,8 +1666,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1867,22 +1676,18 @@ public com.google.protobuf.ByteString getVersionBytes() {
      * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } version_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1893,7 +1698,6 @@ public Builder setVersion(java.lang.String value) {
      * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearVersion() { @@ -1903,8 +1707,6 @@ public Builder clearVersion() { return this; } /** - * - * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1915,14 +1717,12 @@ public Builder clearVersion() {
      * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); version_ = value; bitField0_ |= 0x00000001; @@ -1932,8 +1732,6 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceType_ = ""; /** - * - * *
      * Optional. The AWS instance type.
      *
@@ -1941,13 +1739,13 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) {
      * 
* * string instance_type = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The instanceType. */ public java.lang.String getInstanceType() { java.lang.Object ref = instanceType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceType_ = s; return s; @@ -1956,8 +1754,6 @@ public java.lang.String getInstanceType() { } } /** - * - * *
      * Optional. The AWS instance type.
      *
@@ -1965,14 +1761,15 @@ public java.lang.String getInstanceType() {
      * 
* * string instance_type = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for instanceType. */ - public com.google.protobuf.ByteString getInstanceTypeBytes() { + public com.google.protobuf.ByteString + getInstanceTypeBytes() { java.lang.Object ref = instanceType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceType_ = b; return b; } else { @@ -1980,8 +1777,6 @@ public com.google.protobuf.ByteString getInstanceTypeBytes() { } } /** - * - * *
      * Optional. The AWS instance type.
      *
@@ -1989,22 +1784,18 @@ public com.google.protobuf.ByteString getInstanceTypeBytes() {
      * 
* * string instance_type = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The instanceType to set. * @return This builder for chaining. */ - public Builder setInstanceType(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceType_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. The AWS instance type.
      *
@@ -2012,7 +1803,6 @@ public Builder setInstanceType(java.lang.String value) {
      * 
* * string instance_type = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearInstanceType() { @@ -2022,8 +1812,6 @@ public Builder clearInstanceType() { return this; } /** - * - * *
      * Optional. The AWS instance type.
      *
@@ -2031,14 +1819,12 @@ public Builder clearInstanceType() {
      * 
* * string instance_type = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for instanceType to set. * @return This builder for chaining. */ - public Builder setInstanceTypeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceType_ = value; bitField0_ |= 0x00000002; @@ -2048,61 +1834,42 @@ public Builder setInstanceTypeBytes(com.google.protobuf.ByteString value) { private com.google.cloud.gkemulticloud.v1.AwsSshConfig sshConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsSshConfig, - com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder, - com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder> - sshConfigBuilder_; + com.google.cloud.gkemulticloud.v1.AwsSshConfig, com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder, com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder> sshConfigBuilder_; /** - * - * *
      * Optional. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the sshConfig field is set. */ public boolean hasSshConfig() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Optional. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return The sshConfig. */ public com.google.cloud.gkemulticloud.v1.AwsSshConfig getSshConfig() { if (sshConfigBuilder_ == null) { - return sshConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance() - : sshConfig_; + return sshConfig_ == null ? com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance() : sshConfig_; } else { return sshConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setSshConfig(com.google.cloud.gkemulticloud.v1.AwsSshConfig value) { if (sshConfigBuilder_ == null) { @@ -2118,16 +1885,12 @@ public Builder setSshConfig(com.google.cloud.gkemulticloud.v1.AwsSshConfig value return this; } /** - * - * *
      * Optional. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setSshConfig( com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder builderForValue) { @@ -2141,22 +1904,18 @@ public Builder setSshConfig( return this; } /** - * - * *
      * Optional. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeSshConfig(com.google.cloud.gkemulticloud.v1.AwsSshConfig value) { if (sshConfigBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && sshConfig_ != null - && sshConfig_ != com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + sshConfig_ != null && + sshConfig_ != com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance()) { getSshConfigBuilder().mergeFrom(value); } else { sshConfig_ = value; @@ -2169,16 +1928,12 @@ public Builder mergeSshConfig(com.google.cloud.gkemulticloud.v1.AwsSshConfig val return this; } /** - * - * *
      * Optional. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearSshConfig() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2191,16 +1946,12 @@ public Builder clearSshConfig() { return this; } /** - * - * *
      * Optional. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder getSshConfigBuilder() { bitField0_ |= 0x00000004; @@ -2208,50 +1959,38 @@ public com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder getSshConfigBuilde return getSshConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder getSshConfigOrBuilder() { if (sshConfigBuilder_ != null) { return sshConfigBuilder_.getMessageOrBuilder(); } else { - return sshConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance() - : sshConfig_; + return sshConfig_ == null ? + com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance() : sshConfig_; } } /** - * - * *
      * Optional. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsSshConfig, - com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder, - com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsSshConfig, com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder, com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder> getSshConfigFieldBuilder() { if (sshConfigBuilder_ == null) { - sshConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsSshConfig, - com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder, - com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder>( - getSshConfig(), getParentForChildren(), isClean()); + sshConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsSshConfig, com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder, com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder>( + getSshConfig(), + getParentForChildren(), + isClean()); sshConfig_ = null; } return sshConfigBuilder_; @@ -2259,7 +1998,6 @@ public com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder getSshConfigOrBui private com.google.protobuf.LazyStringArrayList subnetIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureSubnetIdsIsMutable() { if (!subnetIds_.isModifiable()) { subnetIds_ = new com.google.protobuf.LazyStringArrayList(subnetIds_); @@ -2267,8 +2005,6 @@ private void ensureSubnetIdsIsMutable() { bitField0_ |= 0x00000008; } /** - * - * *
      * Required. The list of subnets where control plane replicas will run.
      * A replica will be provisioned on each subnet and up to three values
@@ -2277,16 +2013,14 @@ private void ensureSubnetIdsIsMutable() {
      * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the subnetIds. */ - public com.google.protobuf.ProtocolStringList getSubnetIdsList() { + public com.google.protobuf.ProtocolStringList + getSubnetIdsList() { subnetIds_.makeImmutable(); return subnetIds_; } /** - * - * *
      * Required. The list of subnets where control plane replicas will run.
      * A replica will be provisioned on each subnet and up to three values
@@ -2295,15 +2029,12 @@ public com.google.protobuf.ProtocolStringList getSubnetIdsList() {
      * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of subnetIds. */ public int getSubnetIdsCount() { return subnetIds_.size(); } /** - * - * *
      * Required. The list of subnets where control plane replicas will run.
      * A replica will be provisioned on each subnet and up to three values
@@ -2312,7 +2043,6 @@ public int getSubnetIdsCount() {
      * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The subnetIds at the given index. */ @@ -2320,8 +2050,6 @@ public java.lang.String getSubnetIds(int index) { return subnetIds_.get(index); } /** - * - * *
      * Required. The list of subnets where control plane replicas will run.
      * A replica will be provisioned on each subnet and up to three values
@@ -2330,16 +2058,14 @@ public java.lang.String getSubnetIds(int index) {
      * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the subnetIds at the given index. */ - public com.google.protobuf.ByteString getSubnetIdsBytes(int index) { + public com.google.protobuf.ByteString + getSubnetIdsBytes(int index) { return subnetIds_.getByteString(index); } /** - * - * *
      * Required. The list of subnets where control plane replicas will run.
      * A replica will be provisioned on each subnet and up to three values
@@ -2348,15 +2074,13 @@ public com.google.protobuf.ByteString getSubnetIdsBytes(int index) {
      * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index to set the value at. * @param value The subnetIds to set. * @return This builder for chaining. */ - public Builder setSubnetIds(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSubnetIds( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSubnetIdsIsMutable(); subnetIds_.set(index, value); bitField0_ |= 0x00000008; @@ -2364,8 +2088,6 @@ public Builder setSubnetIds(int index, java.lang.String value) { return this; } /** - * - * *
      * Required. The list of subnets where control plane replicas will run.
      * A replica will be provisioned on each subnet and up to three values
@@ -2374,14 +2096,12 @@ public Builder setSubnetIds(int index, java.lang.String value) {
      * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The subnetIds to add. * @return This builder for chaining. */ - public Builder addSubnetIds(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSubnetIds( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSubnetIdsIsMutable(); subnetIds_.add(value); bitField0_ |= 0x00000008; @@ -2389,8 +2109,6 @@ public Builder addSubnetIds(java.lang.String value) { return this; } /** - * - * *
      * Required. The list of subnets where control plane replicas will run.
      * A replica will be provisioned on each subnet and up to three values
@@ -2399,20 +2117,19 @@ public Builder addSubnetIds(java.lang.String value) {
      * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param values The subnetIds to add. * @return This builder for chaining. */ - public Builder addAllSubnetIds(java.lang.Iterable values) { + public Builder addAllSubnetIds( + java.lang.Iterable values) { ensureSubnetIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, subnetIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, subnetIds_); bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Required. The list of subnets where control plane replicas will run.
      * A replica will be provisioned on each subnet and up to three values
@@ -2421,19 +2138,16 @@ public Builder addAllSubnetIds(java.lang.Iterable values) {
      * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSubnetIds() { - subnetIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - ; + subnetIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008);; onChanged(); return this; } /** - * - * *
      * Required. The list of subnets where control plane replicas will run.
      * A replica will be provisioned on each subnet and up to three values
@@ -2442,14 +2156,12 @@ public Builder clearSubnetIds() {
      * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes of the subnetIds to add. * @return This builder for chaining. */ - public Builder addSubnetIdsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSubnetIdsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureSubnetIdsIsMutable(); subnetIds_.add(value); @@ -2460,7 +2172,6 @@ public Builder addSubnetIdsBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList securityGroupIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureSecurityGroupIdsIsMutable() { if (!securityGroupIds_.isModifiable()) { securityGroupIds_ = new com.google.protobuf.LazyStringArrayList(securityGroupIds_); @@ -2468,52 +2179,41 @@ private void ensureSecurityGroupIdsIsMutable() { bitField0_ |= 0x00000010; } /** - * - * *
      * Optional. The IDs of additional security groups to add to control plane
      * replicas. The Anthos Multi-Cloud API will automatically create and manage
      * security groups with the minimum rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the securityGroupIds. */ - public com.google.protobuf.ProtocolStringList getSecurityGroupIdsList() { + public com.google.protobuf.ProtocolStringList + getSecurityGroupIdsList() { securityGroupIds_.makeImmutable(); return securityGroupIds_; } /** - * - * *
      * Optional. The IDs of additional security groups to add to control plane
      * replicas. The Anthos Multi-Cloud API will automatically create and manage
      * security groups with the minimum rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of securityGroupIds. */ public int getSecurityGroupIdsCount() { return securityGroupIds_.size(); } /** - * - * *
      * Optional. The IDs of additional security groups to add to control plane
      * replicas. The Anthos Multi-Cloud API will automatically create and manage
      * security groups with the minimum rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The securityGroupIds at the given index. */ @@ -2521,43 +2221,35 @@ public java.lang.String getSecurityGroupIds(int index) { return securityGroupIds_.get(index); } /** - * - * *
      * Optional. The IDs of additional security groups to add to control plane
      * replicas. The Anthos Multi-Cloud API will automatically create and manage
      * security groups with the minimum rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The bytes of the securityGroupIds at the given index. */ - public com.google.protobuf.ByteString getSecurityGroupIdsBytes(int index) { + public com.google.protobuf.ByteString + getSecurityGroupIdsBytes(int index) { return securityGroupIds_.getByteString(index); } /** - * - * *
      * Optional. The IDs of additional security groups to add to control plane
      * replicas. The Anthos Multi-Cloud API will automatically create and manage
      * security groups with the minimum rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index to set the value at. * @param value The securityGroupIds to set. * @return This builder for chaining. */ - public Builder setSecurityGroupIds(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSecurityGroupIds( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSecurityGroupIdsIsMutable(); securityGroupIds_.set(index, value); bitField0_ |= 0x00000010; @@ -2565,24 +2257,19 @@ public Builder setSecurityGroupIds(int index, java.lang.String value) { return this; } /** - * - * *
      * Optional. The IDs of additional security groups to add to control plane
      * replicas. The Anthos Multi-Cloud API will automatically create and manage
      * security groups with the minimum rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param value The securityGroupIds to add. * @return This builder for chaining. */ - public Builder addSecurityGroupIds(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSecurityGroupIds( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSecurityGroupIdsIsMutable(); securityGroupIds_.add(value); bitField0_ |= 0x00000010; @@ -2590,67 +2277,56 @@ public Builder addSecurityGroupIds(java.lang.String value) { return this; } /** - * - * *
      * Optional. The IDs of additional security groups to add to control plane
      * replicas. The Anthos Multi-Cloud API will automatically create and manage
      * security groups with the minimum rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param values The securityGroupIds to add. * @return This builder for chaining. */ - public Builder addAllSecurityGroupIds(java.lang.Iterable values) { + public Builder addAllSecurityGroupIds( + java.lang.Iterable values) { ensureSecurityGroupIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, securityGroupIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, securityGroupIds_); bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. The IDs of additional security groups to add to control plane
      * replicas. The Anthos Multi-Cloud API will automatically create and manage
      * security groups with the minimum rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearSecurityGroupIds() { - securityGroupIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - ; + securityGroupIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010);; onChanged(); return this; } /** - * - * *
      * Optional. The IDs of additional security groups to add to control plane
      * replicas. The Anthos Multi-Cloud API will automatically create and manage
      * security groups with the minimum rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param value The bytes of the securityGroupIds to add. * @return This builder for chaining. */ - public Builder addSecurityGroupIdsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSecurityGroupIdsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureSecurityGroupIdsIsMutable(); securityGroupIds_.add(value); @@ -2661,21 +2337,19 @@ public Builder addSecurityGroupIdsBytes(com.google.protobuf.ByteString value) { private java.lang.Object iamInstanceProfile_ = ""; /** - * - * *
      * Required. The name or ARN of the AWS IAM instance profile to assign to each
      * control plane replica.
      * 
* * string iam_instance_profile = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The iamInstanceProfile. */ public java.lang.String getIamInstanceProfile() { java.lang.Object ref = iamInstanceProfile_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); iamInstanceProfile_ = s; return s; @@ -2684,22 +2358,21 @@ public java.lang.String getIamInstanceProfile() { } } /** - * - * *
      * Required. The name or ARN of the AWS IAM instance profile to assign to each
      * control plane replica.
      * 
* * string iam_instance_profile = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for iamInstanceProfile. */ - public com.google.protobuf.ByteString getIamInstanceProfileBytes() { + public com.google.protobuf.ByteString + getIamInstanceProfileBytes() { java.lang.Object ref = iamInstanceProfile_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); iamInstanceProfile_ = b; return b; } else { @@ -2707,37 +2380,30 @@ public com.google.protobuf.ByteString getIamInstanceProfileBytes() { } } /** - * - * *
      * Required. The name or ARN of the AWS IAM instance profile to assign to each
      * control plane replica.
      * 
* * string iam_instance_profile = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The iamInstanceProfile to set. * @return This builder for chaining. */ - public Builder setIamInstanceProfile(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIamInstanceProfile( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } iamInstanceProfile_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Required. The name or ARN of the AWS IAM instance profile to assign to each
      * control plane replica.
      * 
* * string iam_instance_profile = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearIamInstanceProfile() { @@ -2747,22 +2413,18 @@ public Builder clearIamInstanceProfile() { return this; } /** - * - * *
      * Required. The name or ARN of the AWS IAM instance profile to assign to each
      * control plane replica.
      * 
* * string iam_instance_profile = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for iamInstanceProfile to set. * @return This builder for chaining. */ - public Builder setIamInstanceProfileBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIamInstanceProfileBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); iamInstanceProfile_ = value; bitField0_ |= 0x00000020; @@ -2772,13 +2434,8 @@ public Builder setIamInstanceProfileBytes(com.google.protobuf.ByteString value) private com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate rootVolume_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder> - rootVolumeBuilder_; + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder> rootVolumeBuilder_; /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2789,18 +2446,13 @@ public Builder setIamInstanceProfileBytes(com.google.protobuf.ByteString value)
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the rootVolume field is set. */ public boolean hasRootVolume() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2811,24 +2463,17 @@ public boolean hasRootVolume() {
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The rootVolume. */ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getRootVolume() { if (rootVolumeBuilder_ == null) { - return rootVolume_ == null - ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() - : rootVolume_; + return rootVolume_ == null ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() : rootVolume_; } else { return rootVolumeBuilder_.getMessage(); } } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2839,9 +2484,7 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getRootVolume() {
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setRootVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate value) { if (rootVolumeBuilder_ == null) { @@ -2857,8 +2500,6 @@ public Builder setRootVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate return this; } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2869,9 +2510,7 @@ public Builder setRootVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setRootVolume( com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder builderForValue) { @@ -2885,8 +2524,6 @@ public Builder setRootVolume( return this; } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2897,16 +2534,13 @@ public Builder setRootVolume(
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeRootVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate value) { if (rootVolumeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && rootVolume_ != null - && rootVolume_ - != com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + rootVolume_ != null && + rootVolume_ != com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance()) { getRootVolumeBuilder().mergeFrom(value); } else { rootVolume_ = value; @@ -2919,8 +2553,6 @@ public Builder mergeRootVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTempla return this; } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2931,9 +2563,7 @@ public Builder mergeRootVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTempla
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearRootVolume() { bitField0_ = (bitField0_ & ~0x00000040); @@ -2946,8 +2576,6 @@ public Builder clearRootVolume() { return this; } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2958,9 +2586,7 @@ public Builder clearRootVolume() {
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder getRootVolumeBuilder() { bitField0_ |= 0x00000040; @@ -2968,8 +2594,6 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder getRootVolume return getRootVolumeFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2980,22 +2604,17 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder getRootVolume
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getRootVolumeOrBuilder() { if (rootVolumeBuilder_ != null) { return rootVolumeBuilder_.getMessageOrBuilder(); } else { - return rootVolume_ == null - ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() - : rootVolume_; + return rootVolume_ == null ? + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() : rootVolume_; } } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -3006,22 +2625,17 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getRootVolum
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder> getRootVolumeFieldBuilder() { if (rootVolumeBuilder_ == null) { - rootVolumeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder>( - getRootVolume(), getParentForChildren(), isClean()); + rootVolumeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder>( + getRootVolume(), + getParentForChildren(), + isClean()); rootVolume_ = null; } return rootVolumeBuilder_; @@ -3029,13 +2643,8 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getRootVolum private com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate mainVolume_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder> - mainVolumeBuilder_; + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder> mainVolumeBuilder_; /** - * - * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -3047,18 +2656,13 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getRootVolum
      * When unspecified, it defaults to 8 GiB with the GP2 volume type.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the mainVolume field is set. */ public boolean hasMainVolume() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -3070,24 +2674,17 @@ public boolean hasMainVolume() {
      * When unspecified, it defaults to 8 GiB with the GP2 volume type.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The mainVolume. */ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getMainVolume() { if (mainVolumeBuilder_ == null) { - return mainVolume_ == null - ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() - : mainVolume_; + return mainVolume_ == null ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() : mainVolume_; } else { return mainVolumeBuilder_.getMessage(); } } /** - * - * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -3099,9 +2696,7 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getMainVolume() {
      * When unspecified, it defaults to 8 GiB with the GP2 volume type.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setMainVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate value) { if (mainVolumeBuilder_ == null) { @@ -3117,8 +2712,6 @@ public Builder setMainVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate return this; } /** - * - * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -3130,9 +2723,7 @@ public Builder setMainVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate
      * When unspecified, it defaults to 8 GiB with the GP2 volume type.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setMainVolume( com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder builderForValue) { @@ -3146,8 +2737,6 @@ public Builder setMainVolume( return this; } /** - * - * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -3159,16 +2748,13 @@ public Builder setMainVolume(
      * When unspecified, it defaults to 8 GiB with the GP2 volume type.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeMainVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate value) { if (mainVolumeBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) - && mainVolume_ != null - && mainVolume_ - != com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) && + mainVolume_ != null && + mainVolume_ != com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance()) { getMainVolumeBuilder().mergeFrom(value); } else { mainVolume_ = value; @@ -3181,8 +2767,6 @@ public Builder mergeMainVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTempla return this; } /** - * - * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -3194,9 +2778,7 @@ public Builder mergeMainVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTempla
      * When unspecified, it defaults to 8 GiB with the GP2 volume type.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearMainVolume() { bitField0_ = (bitField0_ & ~0x00000080); @@ -3209,8 +2791,6 @@ public Builder clearMainVolume() { return this; } /** - * - * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -3222,9 +2802,7 @@ public Builder clearMainVolume() {
      * When unspecified, it defaults to 8 GiB with the GP2 volume type.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder getMainVolumeBuilder() { bitField0_ |= 0x00000080; @@ -3232,8 +2810,6 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder getMainVolume return getMainVolumeFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -3245,22 +2821,17 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder getMainVolume
      * When unspecified, it defaults to 8 GiB with the GP2 volume type.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getMainVolumeOrBuilder() { if (mainVolumeBuilder_ != null) { return mainVolumeBuilder_.getMessageOrBuilder(); } else { - return mainVolume_ == null - ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() - : mainVolume_; + return mainVolume_ == null ? + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() : mainVolume_; } } /** - * - * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -3272,22 +2843,17 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getMainVolum
      * When unspecified, it defaults to 8 GiB with the GP2 volume type.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder> getMainVolumeFieldBuilder() { if (mainVolumeBuilder_ == null) { - mainVolumeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder>( - getMainVolume(), getParentForChildren(), isClean()); + mainVolumeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder>( + getMainVolume(), + getParentForChildren(), + isClean()); mainVolume_ = null; } return mainVolumeBuilder_; @@ -3295,61 +2861,41 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getMainVolum private com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption databaseEncryption_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption, - com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.Builder, - com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryptionOrBuilder> - databaseEncryptionBuilder_; + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption, com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.Builder, com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryptionOrBuilder> databaseEncryptionBuilder_; /** - * - * *
      * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the databaseEncryption field is set. */ public boolean hasDatabaseEncryption() { return ((bitField0_ & 0x00000100) != 0); } /** - * - * *
      * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; * @return The databaseEncryption. */ public com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption getDatabaseEncryption() { if (databaseEncryptionBuilder_ == null) { - return databaseEncryption_ == null - ? com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.getDefaultInstance() - : databaseEncryption_; + return databaseEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.getDefaultInstance() : databaseEncryption_; } else { return databaseEncryptionBuilder_.getMessage(); } } /** - * - * *
      * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setDatabaseEncryption( - com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption value) { + public Builder setDatabaseEncryption(com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption value) { if (databaseEncryptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3363,15 +2909,11 @@ public Builder setDatabaseEncryption( return this; } /** - * - * *
      * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDatabaseEncryption( com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.Builder builderForValue) { @@ -3385,23 +2927,17 @@ public Builder setDatabaseEncryption( return this; } /** - * - * *
      * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeDatabaseEncryption( - com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption value) { + public Builder mergeDatabaseEncryption(com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption value) { if (databaseEncryptionBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) - && databaseEncryption_ != null - && databaseEncryption_ - != com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) && + databaseEncryption_ != null && + databaseEncryption_ != com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.getDefaultInstance()) { getDatabaseEncryptionBuilder().mergeFrom(value); } else { databaseEncryption_ = value; @@ -3414,15 +2950,11 @@ public Builder mergeDatabaseEncryption( return this; } /** - * - * *
      * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDatabaseEncryption() { bitField0_ = (bitField0_ & ~0x00000100); @@ -3435,84 +2967,68 @@ public Builder clearDatabaseEncryption() { return this; } /** - * - * *
      * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.Builder - getDatabaseEncryptionBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.Builder getDatabaseEncryptionBuilder() { bitField0_ |= 0x00000100; onChanged(); return getDatabaseEncryptionFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryptionOrBuilder - getDatabaseEncryptionOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryptionOrBuilder getDatabaseEncryptionOrBuilder() { if (databaseEncryptionBuilder_ != null) { return databaseEncryptionBuilder_.getMessageOrBuilder(); } else { - return databaseEncryption_ == null - ? com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.getDefaultInstance() - : databaseEncryption_; + return databaseEncryption_ == null ? + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.getDefaultInstance() : databaseEncryption_; } } /** - * - * *
      * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption, - com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.Builder, - com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryptionOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption, com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.Builder, com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryptionOrBuilder> getDatabaseEncryptionFieldBuilder() { if (databaseEncryptionBuilder_ == null) { - databaseEncryptionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption, - com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.Builder, - com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryptionOrBuilder>( - getDatabaseEncryption(), getParentForChildren(), isClean()); + databaseEncryptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption, com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.Builder, com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryptionOrBuilder>( + getDatabaseEncryption(), + getParentForChildren(), + isClean()); databaseEncryption_ = null; } return databaseEncryptionBuilder_; } - private com.google.protobuf.MapField tags_; - - private com.google.protobuf.MapField internalGetTags() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> tags_; + private com.google.protobuf.MapField + internalGetTags() { if (tags_ == null) { - return com.google.protobuf.MapField.emptyMapField(TagsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + TagsDefaultEntryHolder.defaultEntry); } return tags_; } - private com.google.protobuf.MapField internalGetMutableTags() { if (tags_ == null) { - tags_ = com.google.protobuf.MapField.newMapField(TagsDefaultEntryHolder.defaultEntry); + tags_ = com.google.protobuf.MapField.newMapField( + TagsDefaultEntryHolder.defaultEntry); } if (!tags_.isMutable()) { tags_ = tags_.copy(); @@ -3521,13 +3037,10 @@ private com.google.protobuf.MapField interna onChanged(); return tags_; } - public int getTagsCount() { return internalGetTags().getMap().size(); } /** - * - * *
      * Optional. A set of AWS resource tags to propagate to all underlying managed
      * AWS resources.
@@ -3540,21 +3053,20 @@ public int getTagsCount() {
      * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public boolean containsTags(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsTags(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetTags().getMap().containsKey(key);
     }
-    /** Use {@link #getTagsMap()} instead. */
+    /**
+     * Use {@link #getTagsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getTags() {
       return getTagsMap();
     }
     /**
-     *
-     *
      * 
      * Optional. A set of AWS resource tags to propagate to all underlying managed
      * AWS resources.
@@ -3571,8 +3083,6 @@ public java.util.Map getTagsMap() {
       return internalGetTags().getMap();
     }
     /**
-     *
-     *
      * 
      * Optional. A set of AWS resource tags to propagate to all underlying managed
      * AWS resources.
@@ -3585,19 +3095,17 @@ public java.util.Map getTagsMap() {
      * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getTagsOrDefault(
+    public /* nullable */
+java.lang.String getTagsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetTags().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetTags().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Optional. A set of AWS resource tags to propagate to all underlying managed
      * AWS resources.
@@ -3610,25 +3118,23 @@ public java.util.Map getTagsMap() {
      * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public java.lang.String getTagsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetTags().getMap();
+    public java.lang.String getTagsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetTags().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearTags() {
       bitField0_ = (bitField0_ & ~0x00000200);
-      internalGetMutableTags().getMutableMap().clear();
+      internalGetMutableTags().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. A set of AWS resource tags to propagate to all underlying managed
      * AWS resources.
@@ -3640,22 +3146,23 @@ public Builder clearTags() {
      *
      * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder removeTags(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableTags().getMutableMap().remove(key);
+    public Builder removeTags(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableTags().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableTags() {
+    public java.util.Map
+        getMutableTags() {
       bitField0_ |= 0x00000200;
       return internalGetMutableTags().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Optional. A set of AWS resource tags to propagate to all underlying managed
      * AWS resources.
@@ -3667,20 +3174,17 @@ public java.util.Map getMutableTags() {
      *
      * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putTags(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableTags().getMutableMap().put(key, value);
+    public Builder putTags(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableTags().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000200;
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. A set of AWS resource tags to propagate to all underlying managed
      * AWS resources.
@@ -3692,70 +3196,51 @@ public Builder putTags(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putAllTags(java.util.Map values) {
-      internalGetMutableTags().getMutableMap().putAll(values);
+    public Builder putAllTags(
+        java.util.Map values) {
+      internalGetMutableTags().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000200;
       return this;
     }
 
     private com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication awsServicesAuthentication_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication,
-            com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.Builder,
-            com.google.cloud.gkemulticloud.v1.AwsServicesAuthenticationOrBuilder>
-        awsServicesAuthenticationBuilder_;
+        com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication, com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.Builder, com.google.cloud.gkemulticloud.v1.AwsServicesAuthenticationOrBuilder> awsServicesAuthenticationBuilder_;
     /**
-     *
-     *
      * 
      * Required. Authentication configuration for management of AWS resources.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the awsServicesAuthentication field is set. */ public boolean hasAwsServicesAuthentication() { return ((bitField0_ & 0x00000400) != 0); } /** - * - * *
      * Required. Authentication configuration for management of AWS resources.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; * @return The awsServicesAuthentication. */ - public com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication - getAwsServicesAuthentication() { + public com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication getAwsServicesAuthentication() { if (awsServicesAuthenticationBuilder_ == null) { - return awsServicesAuthentication_ == null - ? com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.getDefaultInstance() - : awsServicesAuthentication_; + return awsServicesAuthentication_ == null ? com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.getDefaultInstance() : awsServicesAuthentication_; } else { return awsServicesAuthenticationBuilder_.getMessage(); } } /** - * - * *
      * Required. Authentication configuration for management of AWS resources.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setAwsServicesAuthentication( - com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication value) { + public Builder setAwsServicesAuthentication(com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication value) { if (awsServicesAuthenticationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3769,15 +3254,11 @@ public Builder setAwsServicesAuthentication( return this; } /** - * - * *
      * Required. Authentication configuration for management of AWS resources.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAwsServicesAuthentication( com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.Builder builderForValue) { @@ -3791,24 +3272,17 @@ public Builder setAwsServicesAuthentication( return this; } /** - * - * *
      * Required. Authentication configuration for management of AWS resources.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeAwsServicesAuthentication( - com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication value) { + public Builder mergeAwsServicesAuthentication(com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication value) { if (awsServicesAuthenticationBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) - && awsServicesAuthentication_ != null - && awsServicesAuthentication_ - != com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication - .getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) && + awsServicesAuthentication_ != null && + awsServicesAuthentication_ != com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.getDefaultInstance()) { getAwsServicesAuthenticationBuilder().mergeFrom(value); } else { awsServicesAuthentication_ = value; @@ -3821,15 +3295,11 @@ public Builder mergeAwsServicesAuthentication( return this; } /** - * - * *
      * Required. Authentication configuration for management of AWS resources.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAwsServicesAuthentication() { bitField0_ = (bitField0_ & ~0x00000400); @@ -3842,66 +3312,48 @@ public Builder clearAwsServicesAuthentication() { return this; } /** - * - * *
      * Required. Authentication configuration for management of AWS resources.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.Builder - getAwsServicesAuthenticationBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.Builder getAwsServicesAuthenticationBuilder() { bitField0_ |= 0x00000400; onChanged(); return getAwsServicesAuthenticationFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Authentication configuration for management of AWS resources.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.gkemulticloud.v1.AwsServicesAuthenticationOrBuilder - getAwsServicesAuthenticationOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsServicesAuthenticationOrBuilder getAwsServicesAuthenticationOrBuilder() { if (awsServicesAuthenticationBuilder_ != null) { return awsServicesAuthenticationBuilder_.getMessageOrBuilder(); } else { - return awsServicesAuthentication_ == null - ? com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.getDefaultInstance() - : awsServicesAuthentication_; + return awsServicesAuthentication_ == null ? + com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.getDefaultInstance() : awsServicesAuthentication_; } } /** - * - * *
      * Required. Authentication configuration for management of AWS resources.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication, - com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.Builder, - com.google.cloud.gkemulticloud.v1.AwsServicesAuthenticationOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication, com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.Builder, com.google.cloud.gkemulticloud.v1.AwsServicesAuthenticationOrBuilder> getAwsServicesAuthenticationFieldBuilder() { if (awsServicesAuthenticationBuilder_ == null) { - awsServicesAuthenticationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication, - com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.Builder, - com.google.cloud.gkemulticloud.v1.AwsServicesAuthenticationOrBuilder>( - getAwsServicesAuthentication(), getParentForChildren(), isClean()); + awsServicesAuthenticationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication, com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.Builder, com.google.cloud.gkemulticloud.v1.AwsServicesAuthenticationOrBuilder>( + getAwsServicesAuthentication(), + getParentForChildren(), + isClean()); awsServicesAuthentication_ = null; } return awsServicesAuthenticationBuilder_; @@ -3909,58 +3361,39 @@ public Builder clearAwsServicesAuthentication() { private com.google.cloud.gkemulticloud.v1.AwsProxyConfig proxyConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsProxyConfig, - com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder, - com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder> - proxyConfigBuilder_; + com.google.cloud.gkemulticloud.v1.AwsProxyConfig, com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder> proxyConfigBuilder_; /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the proxyConfig field is set. */ public boolean hasProxyConfig() { return ((bitField0_ & 0x00000800) != 0); } /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; * @return The proxyConfig. */ public com.google.cloud.gkemulticloud.v1.AwsProxyConfig getProxyConfig() { if (proxyConfigBuilder_ == null) { - return proxyConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance() - : proxyConfig_; + return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance() : proxyConfig_; } else { return proxyConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setProxyConfig(com.google.cloud.gkemulticloud.v1.AwsProxyConfig value) { if (proxyConfigBuilder_ == null) { @@ -3976,15 +3409,11 @@ public Builder setProxyConfig(com.google.cloud.gkemulticloud.v1.AwsProxyConfig v return this; } /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setProxyConfig( com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder builderForValue) { @@ -3998,22 +3427,17 @@ public Builder setProxyConfig( return this; } /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeProxyConfig(com.google.cloud.gkemulticloud.v1.AwsProxyConfig value) { if (proxyConfigBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) - && proxyConfig_ != null - && proxyConfig_ - != com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) && + proxyConfig_ != null && + proxyConfig_ != com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance()) { getProxyConfigBuilder().mergeFrom(value); } else { proxyConfig_ = value; @@ -4026,15 +3450,11 @@ public Builder mergeProxyConfig(com.google.cloud.gkemulticloud.v1.AwsProxyConfig return this; } /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearProxyConfig() { bitField0_ = (bitField0_ & ~0x00000800); @@ -4047,15 +3467,11 @@ public Builder clearProxyConfig() { return this; } /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder getProxyConfigBuilder() { bitField0_ |= 0x00000800; @@ -4063,48 +3479,36 @@ public com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder getProxyConfigBu return getProxyConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder getProxyConfigOrBuilder() { if (proxyConfigBuilder_ != null) { return proxyConfigBuilder_.getMessageOrBuilder(); } else { - return proxyConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance() - : proxyConfig_; + return proxyConfig_ == null ? + com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance() : proxyConfig_; } } /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsProxyConfig, - com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder, - com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsProxyConfig, com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder> getProxyConfigFieldBuilder() { if (proxyConfigBuilder_ == null) { - proxyConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsProxyConfig, - com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder, - com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder>( - getProxyConfig(), getParentForChildren(), isClean()); + proxyConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsProxyConfig, com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder>( + getProxyConfig(), + getParentForChildren(), + isClean()); proxyConfig_ = null; } return proxyConfigBuilder_; @@ -4112,61 +3516,41 @@ public com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder getProxyConfigO private com.google.cloud.gkemulticloud.v1.AwsConfigEncryption configEncryption_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption, - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder, - com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder> - configEncryptionBuilder_; + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption, com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder, com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder> configEncryptionBuilder_; /** - * - * *
      * Required. Config encryption for user data.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the configEncryption field is set. */ public boolean hasConfigEncryption() { return ((bitField0_ & 0x00001000) != 0); } /** - * - * *
      * Required. Config encryption for user data.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; * @return The configEncryption. */ public com.google.cloud.gkemulticloud.v1.AwsConfigEncryption getConfigEncryption() { if (configEncryptionBuilder_ == null) { - return configEncryption_ == null - ? com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance() - : configEncryption_; + return configEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance() : configEncryption_; } else { return configEncryptionBuilder_.getMessage(); } } /** - * - * *
      * Required. Config encryption for user data.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setConfigEncryption( - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption value) { + public Builder setConfigEncryption(com.google.cloud.gkemulticloud.v1.AwsConfigEncryption value) { if (configEncryptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4180,15 +3564,11 @@ public Builder setConfigEncryption( return this; } /** - * - * *
      * Required. Config encryption for user data.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setConfigEncryption( com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder builderForValue) { @@ -4202,23 +3582,17 @@ public Builder setConfigEncryption( return this; } /** - * - * *
      * Required. Config encryption for user data.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeConfigEncryption( - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption value) { + public Builder mergeConfigEncryption(com.google.cloud.gkemulticloud.v1.AwsConfigEncryption value) { if (configEncryptionBuilder_ == null) { - if (((bitField0_ & 0x00001000) != 0) - && configEncryption_ != null - && configEncryption_ - != com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance()) { + if (((bitField0_ & 0x00001000) != 0) && + configEncryption_ != null && + configEncryption_ != com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance()) { getConfigEncryptionBuilder().mergeFrom(value); } else { configEncryption_ = value; @@ -4231,15 +3605,11 @@ public Builder mergeConfigEncryption( return this; } /** - * - * *
      * Required. Config encryption for user data.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearConfigEncryption() { bitField0_ = (bitField0_ & ~0x00001000); @@ -4252,66 +3622,48 @@ public Builder clearConfigEncryption() { return this; } /** - * - * *
      * Required. Config encryption for user data.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder - getConfigEncryptionBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder getConfigEncryptionBuilder() { bitField0_ |= 0x00001000; onChanged(); return getConfigEncryptionFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Config encryption for user data.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder - getConfigEncryptionOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder getConfigEncryptionOrBuilder() { if (configEncryptionBuilder_ != null) { return configEncryptionBuilder_.getMessageOrBuilder(); } else { - return configEncryption_ == null - ? com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance() - : configEncryption_; + return configEncryption_ == null ? + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance() : configEncryption_; } } /** - * - * *
      * Required. Config encryption for user data.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption, - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder, - com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption, com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder, com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder> getConfigEncryptionFieldBuilder() { if (configEncryptionBuilder_ == null) { - configEncryptionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption, - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder, - com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder>( - getConfigEncryption(), getParentForChildren(), isClean()); + configEncryptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption, com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder, com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder>( + getConfigEncryption(), + getParentForChildren(), + isClean()); configEncryption_ = null; } return configEncryptionBuilder_; @@ -4319,64 +3671,44 @@ public Builder clearConfigEncryption() { private com.google.cloud.gkemulticloud.v1.AwsInstancePlacement instancePlacement_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement, - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder, - com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder> - instancePlacementBuilder_; + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement, com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder, com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder> instancePlacementBuilder_; /** - * - * *
      * Optional. The placement to use on control plane instances.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the instancePlacement field is set. */ public boolean hasInstancePlacement() { return ((bitField0_ & 0x00002000) != 0); } /** - * - * *
      * Optional. The placement to use on control plane instances.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; * @return The instancePlacement. */ public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement getInstancePlacement() { if (instancePlacementBuilder_ == null) { - return instancePlacement_ == null - ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance() - : instancePlacement_; + return instancePlacement_ == null ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance() : instancePlacement_; } else { return instancePlacementBuilder_.getMessage(); } } /** - * - * *
      * Optional. The placement to use on control plane instances.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setInstancePlacement( - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement value) { + public Builder setInstancePlacement(com.google.cloud.gkemulticloud.v1.AwsInstancePlacement value) { if (instancePlacementBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4390,16 +3722,12 @@ public Builder setInstancePlacement( return this; } /** - * - * *
      * Optional. The placement to use on control plane instances.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setInstancePlacement( com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder builderForValue) { @@ -4413,24 +3741,18 @@ public Builder setInstancePlacement( return this; } /** - * - * *
      * Optional. The placement to use on control plane instances.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeInstancePlacement( - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement value) { + public Builder mergeInstancePlacement(com.google.cloud.gkemulticloud.v1.AwsInstancePlacement value) { if (instancePlacementBuilder_ == null) { - if (((bitField0_ & 0x00002000) != 0) - && instancePlacement_ != null - && instancePlacement_ - != com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance()) { + if (((bitField0_ & 0x00002000) != 0) && + instancePlacement_ != null && + instancePlacement_ != com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance()) { getInstancePlacementBuilder().mergeFrom(value); } else { instancePlacement_ = value; @@ -4443,16 +3765,12 @@ public Builder mergeInstancePlacement( return this; } /** - * - * *
      * Optional. The placement to use on control plane instances.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearInstancePlacement() { bitField0_ = (bitField0_ & ~0x00002000); @@ -4465,76 +3783,58 @@ public Builder clearInstancePlacement() { return this; } /** - * - * *
      * Optional. The placement to use on control plane instances.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder - getInstancePlacementBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder getInstancePlacementBuilder() { bitField0_ |= 0x00002000; onChanged(); return getInstancePlacementFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The placement to use on control plane instances.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder - getInstancePlacementOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder getInstancePlacementOrBuilder() { if (instancePlacementBuilder_ != null) { return instancePlacementBuilder_.getMessageOrBuilder(); } else { - return instancePlacement_ == null - ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance() - : instancePlacement_; + return instancePlacement_ == null ? + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance() : instancePlacement_; } } /** - * - * *
      * Optional. The placement to use on control plane instances.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement, - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder, - com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement, com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder, com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder> getInstancePlacementFieldBuilder() { if (instancePlacementBuilder_ == null) { - instancePlacementBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement, - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder, - com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder>( - getInstancePlacement(), getParentForChildren(), isClean()); + instancePlacementBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement, com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder, com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder>( + getInstancePlacement(), + getParentForChildren(), + isClean()); instancePlacement_ = null; } return instancePlacementBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4544,12 +3844,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsControlPlane) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsControlPlane) private static final com.google.cloud.gkemulticloud.v1.AwsControlPlane DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsControlPlane(); } @@ -4558,27 +3858,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsControlPlane getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsControlPlane parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsControlPlane parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4593,4 +3893,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsControlPlane getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlaneOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlaneOrBuilder.java similarity index 73% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlaneOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlaneOrBuilder.java index 1c9164e0972d..32799e7c2e49 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlaneOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlaneOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsControlPlaneOrBuilder - extends +public interface AwsControlPlaneOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsControlPlane) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The Kubernetes version to run on control plane replicas
    * (e.g. `1.19.10-gke.1000`).
@@ -36,13 +18,10 @@ public interface AwsControlPlaneOrBuilder
    * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * Required. The Kubernetes version to run on control plane replicas
    * (e.g. `1.19.10-gke.1000`).
@@ -53,14 +32,12 @@ public interface AwsControlPlaneOrBuilder
    * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
    * Optional. The AWS instance type.
    *
@@ -68,13 +45,10 @@ public interface AwsControlPlaneOrBuilder
    * 
* * string instance_type = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The instanceType. */ java.lang.String getInstanceType(); /** - * - * *
    * Optional. The AWS instance type.
    *
@@ -82,58 +56,42 @@ public interface AwsControlPlaneOrBuilder
    * 
* * string instance_type = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for instanceType. */ - com.google.protobuf.ByteString getInstanceTypeBytes(); + com.google.protobuf.ByteString + getInstanceTypeBytes(); /** - * - * *
    * Optional. SSH configuration for how to access the underlying control plane
    * machines.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the sshConfig field is set. */ boolean hasSshConfig(); /** - * - * *
    * Optional. SSH configuration for how to access the underlying control plane
    * machines.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return The sshConfig. */ com.google.cloud.gkemulticloud.v1.AwsSshConfig getSshConfig(); /** - * - * *
    * Optional. SSH configuration for how to access the underlying control plane
    * machines.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder getSshConfigOrBuilder(); /** - * - * *
    * Required. The list of subnets where control plane replicas will run.
    * A replica will be provisioned on each subnet and up to three values
@@ -142,13 +100,11 @@ public interface AwsControlPlaneOrBuilder
    * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the subnetIds. */ - java.util.List getSubnetIdsList(); + java.util.List + getSubnetIdsList(); /** - * - * *
    * Required. The list of subnets where control plane replicas will run.
    * A replica will be provisioned on each subnet and up to three values
@@ -157,13 +113,10 @@ public interface AwsControlPlaneOrBuilder
    * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of subnetIds. */ int getSubnetIdsCount(); /** - * - * *
    * Required. The list of subnets where control plane replicas will run.
    * A replica will be provisioned on each subnet and up to three values
@@ -172,14 +125,11 @@ public interface AwsControlPlaneOrBuilder
    * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The subnetIds at the given index. */ java.lang.String getSubnetIds(int index); /** - * - * *
    * Required. The list of subnets where control plane replicas will run.
    * A replica will be provisioned on each subnet and up to three values
@@ -188,15 +138,13 @@ public interface AwsControlPlaneOrBuilder
    * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the subnetIds at the given index. */ - com.google.protobuf.ByteString getSubnetIdsBytes(int index); + com.google.protobuf.ByteString + getSubnetIdsBytes(int index); /** - * - * *
    * Optional. The IDs of additional security groups to add to control plane
    * replicas. The Anthos Multi-Cloud API will automatically create and manage
@@ -204,13 +152,11 @@ public interface AwsControlPlaneOrBuilder
    * 
* * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the securityGroupIds. */ - java.util.List getSecurityGroupIdsList(); + java.util.List + getSecurityGroupIdsList(); /** - * - * *
    * Optional. The IDs of additional security groups to add to control plane
    * replicas. The Anthos Multi-Cloud API will automatically create and manage
@@ -218,13 +164,10 @@ public interface AwsControlPlaneOrBuilder
    * 
* * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of securityGroupIds. */ int getSecurityGroupIdsCount(); /** - * - * *
    * Optional. The IDs of additional security groups to add to control plane
    * replicas. The Anthos Multi-Cloud API will automatically create and manage
@@ -232,14 +175,11 @@ public interface AwsControlPlaneOrBuilder
    * 
* * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The securityGroupIds at the given index. */ java.lang.String getSecurityGroupIds(int index); /** - * - * *
    * Optional. The IDs of additional security groups to add to control plane
    * replicas. The Anthos Multi-Cloud API will automatically create and manage
@@ -247,42 +187,35 @@ public interface AwsControlPlaneOrBuilder
    * 
* * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the securityGroupIds at the given index. */ - com.google.protobuf.ByteString getSecurityGroupIdsBytes(int index); + com.google.protobuf.ByteString + getSecurityGroupIdsBytes(int index); /** - * - * *
    * Required. The name or ARN of the AWS IAM instance profile to assign to each
    * control plane replica.
    * 
* * string iam_instance_profile = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The iamInstanceProfile. */ java.lang.String getIamInstanceProfile(); /** - * - * *
    * Required. The name or ARN of the AWS IAM instance profile to assign to each
    * control plane replica.
    * 
* * string iam_instance_profile = 7 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for iamInstanceProfile. */ - com.google.protobuf.ByteString getIamInstanceProfileBytes(); + com.google.protobuf.ByteString + getIamInstanceProfileBytes(); /** - * - * *
    * Optional. Configuration related to the root volume provisioned for each
    * control plane replica.
@@ -293,16 +226,11 @@ public interface AwsControlPlaneOrBuilder
    * When unspecified, it defaults to 32 GiB with the GP2 volume type.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the rootVolume field is set. */ boolean hasRootVolume(); /** - * - * *
    * Optional. Configuration related to the root volume provisioned for each
    * control plane replica.
@@ -313,16 +241,11 @@ public interface AwsControlPlaneOrBuilder
    * When unspecified, it defaults to 32 GiB with the GP2 volume type.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The rootVolume. */ com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getRootVolume(); /** - * - * *
    * Optional. Configuration related to the root volume provisioned for each
    * control plane replica.
@@ -333,15 +256,11 @@ public interface AwsControlPlaneOrBuilder
    * When unspecified, it defaults to 32 GiB with the GP2 volume type.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getRootVolumeOrBuilder(); /** - * - * *
    * Optional. Configuration related to the main volume provisioned for each
    * control plane replica.
@@ -353,16 +272,11 @@ public interface AwsControlPlaneOrBuilder
    * When unspecified, it defaults to 8 GiB with the GP2 volume type.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the mainVolume field is set. */ boolean hasMainVolume(); /** - * - * *
    * Optional. Configuration related to the main volume provisioned for each
    * control plane replica.
@@ -374,16 +288,11 @@ public interface AwsControlPlaneOrBuilder
    * When unspecified, it defaults to 8 GiB with the GP2 volume type.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The mainVolume. */ com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getMainVolume(); /** - * - * *
    * Optional. Configuration related to the main volume provisioned for each
    * control plane replica.
@@ -395,56 +304,38 @@ public interface AwsControlPlaneOrBuilder
    * When unspecified, it defaults to 8 GiB with the GP2 volume type.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getMainVolumeOrBuilder(); /** - * - * *
    * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the databaseEncryption field is set. */ boolean hasDatabaseEncryption(); /** - * - * *
    * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; * @return The databaseEncryption. */ com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption getDatabaseEncryption(); /** - * - * *
    * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryptionOrBuilder getDatabaseEncryptionOrBuilder(); /** - * - * *
    * Optional. A set of AWS resource tags to propagate to all underlying managed
    * AWS resources.
@@ -458,8 +349,6 @@ public interface AwsControlPlaneOrBuilder
    */
   int getTagsCount();
   /**
-   *
-   *
    * 
    * Optional. A set of AWS resource tags to propagate to all underlying managed
    * AWS resources.
@@ -471,13 +360,15 @@ public interface AwsControlPlaneOrBuilder
    *
    * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
-  boolean containsTags(java.lang.String key);
-  /** Use {@link #getTagsMap()} instead. */
+  boolean containsTags(
+      java.lang.String key);
+  /**
+   * Use {@link #getTagsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getTags();
+  java.util.Map
+  getTags();
   /**
-   *
-   *
    * 
    * Optional. A set of AWS resource tags to propagate to all underlying managed
    * AWS resources.
@@ -489,10 +380,9 @@ public interface AwsControlPlaneOrBuilder
    *
    * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.util.Map getTagsMap();
+  java.util.Map
+  getTagsMap();
   /**
-   *
-   *
    * 
    * Optional. A set of AWS resource tags to propagate to all underlying managed
    * AWS resources.
@@ -505,13 +395,11 @@ public interface AwsControlPlaneOrBuilder
    * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
   /* nullable */
-  java.lang.String getTagsOrDefault(
+java.lang.String getTagsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Optional. A set of AWS resource tags to propagate to all underlying managed
    * AWS resources.
@@ -523,173 +411,117 @@ java.lang.String getTagsOrDefault(
    *
    * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.lang.String getTagsOrThrow(java.lang.String key);
+  java.lang.String getTagsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Required. Authentication configuration for management of AWS resources.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the awsServicesAuthentication field is set. */ boolean hasAwsServicesAuthentication(); /** - * - * *
    * Required. Authentication configuration for management of AWS resources.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; * @return The awsServicesAuthentication. */ com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication getAwsServicesAuthentication(); /** - * - * *
    * Required. Authentication configuration for management of AWS resources.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.gkemulticloud.v1.AwsServicesAuthenticationOrBuilder - getAwsServicesAuthenticationOrBuilder(); + com.google.cloud.gkemulticloud.v1.AwsServicesAuthenticationOrBuilder getAwsServicesAuthenticationOrBuilder(); /** - * - * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the proxyConfig field is set. */ boolean hasProxyConfig(); /** - * - * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; * @return The proxyConfig. */ com.google.cloud.gkemulticloud.v1.AwsProxyConfig getProxyConfig(); /** - * - * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder getProxyConfigOrBuilder(); /** - * - * *
    * Required. Config encryption for user data.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the configEncryption field is set. */ boolean hasConfigEncryption(); /** - * - * *
    * Required. Config encryption for user data.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; * @return The configEncryption. */ com.google.cloud.gkemulticloud.v1.AwsConfigEncryption getConfigEncryption(); /** - * - * *
    * Required. Config encryption for user data.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder getConfigEncryptionOrBuilder(); /** - * - * *
    * Optional. The placement to use on control plane instances.
    * When unspecified, the VPC's default tenancy will be used.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the instancePlacement field is set. */ boolean hasInstancePlacement(); /** - * - * *
    * Optional. The placement to use on control plane instances.
    * When unspecified, the VPC's default tenancy will be used.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; * @return The instancePlacement. */ com.google.cloud.gkemulticloud.v1.AwsInstancePlacement getInstancePlacement(); /** - * - * *
    * Optional. The placement to use on control plane instances.
    * When unspecified, the VPC's default tenancy will be used.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder getInstancePlacementOrBuilder(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryption.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryption.java similarity index 66% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryption.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryption.java index f90d70dc3e1f..98d7037838f0 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryption.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryption.java @@ -1,80 +1,57 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Configuration related to application-layer secrets encryption.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsDatabaseEncryption} */ -public final class AwsDatabaseEncryption extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AwsDatabaseEncryption extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsDatabaseEncryption) AwsDatabaseEncryptionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AwsDatabaseEncryption.newBuilder() to construct. private AwsDatabaseEncryption(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AwsDatabaseEncryption() { kmsKeyArn_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AwsDatabaseEncryption(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.class, - com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.class, com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.Builder.class); } public static final int KMS_KEY_ARN_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object kmsKeyArn_ = ""; /** - * - * *
    * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
    * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The kmsKeyArn. */ @java.lang.Override @@ -83,29 +60,29 @@ public java.lang.String getKmsKeyArn() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyArn_ = s; return s; } } /** - * - * *
    * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
    * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for kmsKeyArn. */ @java.lang.Override - public com.google.protobuf.ByteString getKmsKeyArnBytes() { + public com.google.protobuf.ByteString + getKmsKeyArnBytes() { java.lang.Object ref = kmsKeyArn_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyArn_ = b; return b; } else { @@ -114,7 +91,6 @@ public com.google.protobuf.ByteString getKmsKeyArnBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,7 +102,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyArn_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kmsKeyArn_); } @@ -150,15 +127,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption other = - (com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption) obj; + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption other = (com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption) obj; - if (!getKmsKeyArn().equals(other.getKmsKeyArn())) return false; + if (!getKmsKeyArn() + .equals(other.getKmsKeyArn())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -178,136 +155,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration related to application-layer secrets encryption.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsDatabaseEncryption} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsDatabaseEncryption) com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryptionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.class, - com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.class, com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -317,9 +289,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_descriptor; } @java.lang.Override @@ -338,11 +310,8 @@ public com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption result = - new com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption result = new com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -358,39 +327,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsDatabaseEncrypti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption)other); } else { super.mergeFrom(other); return this; @@ -398,8 +366,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption other) { - if (other == com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.getDefaultInstance()) return this; if (!other.getKmsKeyArn().isEmpty()) { kmsKeyArn_ = other.kmsKeyArn_; bitField0_ |= 0x00000001; @@ -431,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - kmsKeyArn_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + kmsKeyArn_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -453,25 +418,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object kmsKeyArn_ = ""; /** - * - * *
      * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
      * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The kmsKeyArn. */ public java.lang.String getKmsKeyArn() { java.lang.Object ref = kmsKeyArn_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyArn_ = s; return s; @@ -480,21 +442,20 @@ public java.lang.String getKmsKeyArn() { } } /** - * - * *
      * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
      * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for kmsKeyArn. */ - public com.google.protobuf.ByteString getKmsKeyArnBytes() { + public com.google.protobuf.ByteString + getKmsKeyArnBytes() { java.lang.Object ref = kmsKeyArn_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyArn_ = b; return b; } else { @@ -502,35 +463,28 @@ public com.google.protobuf.ByteString getKmsKeyArnBytes() { } } /** - * - * *
      * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
      * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The kmsKeyArn to set. * @return This builder for chaining. */ - public Builder setKmsKeyArn(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyArn( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } kmsKeyArn_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
      * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearKmsKeyArn() { @@ -540,30 +494,26 @@ public Builder clearKmsKeyArn() { return this; } /** - * - * *
      * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
      * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for kmsKeyArn to set. * @return This builder for chaining. */ - public Builder setKmsKeyArnBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyArnBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); kmsKeyArn_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -573,12 +523,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsDatabaseEncryption) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsDatabaseEncryption) private static final com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption(); } @@ -587,27 +537,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsDatabaseEncryption parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsDatabaseEncryption parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -622,4 +572,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryptionOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryptionOrBuilder.java similarity index 52% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryptionOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryptionOrBuilder.java index 9266cfdb63c2..e5f653670cb3 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryptionOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryptionOrBuilder.java @@ -1,50 +1,29 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsDatabaseEncryptionOrBuilder - extends +public interface AwsDatabaseEncryptionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsDatabaseEncryption) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
    * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The kmsKeyArn. */ java.lang.String getKmsKeyArn(); /** - * - * *
    * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
    * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for kmsKeyArn. */ - com.google.protobuf.ByteString getKmsKeyArnBytes(); + com.google.protobuf.ByteString + getKmsKeyArnBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacement.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacement.java similarity index 63% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacement.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacement.java index f1c04f115786..6ef5005e0073 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacement.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacement.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Details of placement information for an instance.
  * Limitations for using the `host` tenancy:
@@ -31,54 +14,49 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsInstancePlacement}
  */
-public final class AwsInstancePlacement extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AwsInstancePlacement extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsInstancePlacement)
     AwsInstancePlacementOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AwsInstancePlacement.newBuilder() to construct.
   private AwsInstancePlacement(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AwsInstancePlacement() {
     tenancy_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AwsInstancePlacement();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
-        .internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
-        .internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.class,
-            com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder.class);
+            com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.class, com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Tenancy defines how EC2 instances are distributed across physical hardware.
    * 
* * Protobuf enum {@code google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy} */ - public enum Tenancy implements com.google.protobuf.ProtocolMessageEnum { + public enum Tenancy + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not set.
      * 
@@ -87,8 +65,6 @@ public enum Tenancy implements com.google.protobuf.ProtocolMessageEnum { */ TENANCY_UNSPECIFIED(0), /** - * - * *
      * Use default VPC tenancy.
      * 
@@ -97,8 +73,6 @@ public enum Tenancy implements com.google.protobuf.ProtocolMessageEnum { */ DEFAULT(1), /** - * - * *
      * Run a dedicated instance.
      * 
@@ -107,8 +81,6 @@ public enum Tenancy implements com.google.protobuf.ProtocolMessageEnum { */ DEDICATED(2), /** - * - * *
      * Launch this instance to a dedicated host.
      * 
@@ -120,8 +92,6 @@ public enum Tenancy implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not set.
      * 
@@ -130,8 +100,6 @@ public enum Tenancy implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TENANCY_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Use default VPC tenancy.
      * 
@@ -140,8 +108,6 @@ public enum Tenancy implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DEFAULT_VALUE = 1; /** - * - * *
      * Run a dedicated instance.
      * 
@@ -150,8 +116,6 @@ public enum Tenancy implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DEDICATED_VALUE = 2; /** - * - * *
      * Launch this instance to a dedicated host.
      * 
@@ -160,6 +124,7 @@ public enum Tenancy implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HOST_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -184,53 +149,50 @@ public static Tenancy valueOf(int value) { */ public static Tenancy forNumber(int value) { switch (value) { - case 0: - return TENANCY_UNSPECIFIED; - case 1: - return DEFAULT; - case 2: - return DEDICATED; - case 3: - return HOST; - default: - return null; + case 0: return TENANCY_UNSPECIFIED; + case 1: return DEFAULT; + case 2: return DEDICATED; + case 3: return HOST; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Tenancy> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Tenancy findValueByNumber(int number) { + return Tenancy.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Tenancy findValueByNumber(int number) { - return Tenancy.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDescriptor().getEnumTypes().get(0); } private static final Tenancy[] VALUES = values(); - public static Tenancy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Tenancy valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -250,46 +212,30 @@ private Tenancy(int value) { public static final int TENANCY_FIELD_NUMBER = 1; private int tenancy_ = 0; /** - * - * *
    * Required. The tenancy for instance.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for tenancy. */ - @java.lang.Override - public int getTenancyValue() { + @java.lang.Override public int getTenancyValue() { return tenancy_; } /** - * - * *
    * Required. The tenancy for instance.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The tenancy. */ - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy getTenancy() { - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy result = - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy.forNumber(tenancy_); - return result == null - ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy getTenancy() { + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy result = com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy.forNumber(tenancy_); + return result == null ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -301,10 +247,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (tenancy_ - != com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy.TENANCY_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (tenancy_ != com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy.TENANCY_UNSPECIFIED.getNumber()) { output.writeEnum(1, tenancy_); } getUnknownFields().writeTo(output); @@ -316,10 +261,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (tenancy_ - != com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy.TENANCY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, tenancy_); + if (tenancy_ != com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy.TENANCY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, tenancy_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -329,13 +273,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsInstancePlacement)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement other = - (com.google.cloud.gkemulticloud.v1.AwsInstancePlacement) obj; + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement other = (com.google.cloud.gkemulticloud.v1.AwsInstancePlacement) obj; if (tenancy_ != other.tenancy_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -357,104 +300,98 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AwsInstancePlacement parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsInstancePlacement parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsInstancePlacement parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsInstancePlacement parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsInstancePlacement parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsInstancePlacement parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AwsInstancePlacement parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsInstancePlacement parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsInstancePlacement parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsInstancePlacement parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsInstancePlacement parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsInstancePlacement parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsInstancePlacement parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsInstancePlacement parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsInstancePlacement prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Details of placement information for an instance.
    * Limitations for using the `host` tenancy:
@@ -465,32 +402,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsInstancePlacement}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsInstancePlacement)
       com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.class,
-              com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder.class);
+              com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.class, com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -500,9 +438,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_descriptor;
     }
 
     @java.lang.Override
@@ -521,11 +459,8 @@ public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement buildPartial() {
-      com.google.cloud.gkemulticloud.v1.AwsInstancePlacement result =
-          new com.google.cloud.gkemulticloud.v1.AwsInstancePlacement(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.gkemulticloud.v1.AwsInstancePlacement result = new com.google.cloud.gkemulticloud.v1.AwsInstancePlacement(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -541,39 +476,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsInstancePlacemen
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.AwsInstancePlacement) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsInstancePlacement) other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsInstancePlacement)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -581,8 +515,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsInstancePlacement other) {
-      if (other == com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance()) return this;
       if (other.tenancy_ != 0) {
         setTenancyValue(other.getTenancyValue());
       }
@@ -612,19 +545,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                tenancy_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              tenancy_ = input.readEnum();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -634,38 +565,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int tenancy_ = 0;
     /**
-     *
-     *
      * 
      * Required. The tenancy for instance.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for tenancy. */ - @java.lang.Override - public int getTenancyValue() { + @java.lang.Override public int getTenancyValue() { return tenancy_; } /** - * - * *
      * Required. The tenancy for instance.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for tenancy to set. * @return This builder for chaining. */ @@ -676,42 +595,28 @@ public Builder setTenancyValue(int value) { return this; } /** - * - * *
      * Required. The tenancy for instance.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The tenancy. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy getTenancy() { - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy result = - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy.forNumber(tenancy_); - return result == null - ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy.UNRECOGNIZED - : result; + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy result = com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy.forNumber(tenancy_); + return result == null ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy.UNRECOGNIZED : result; } /** - * - * *
      * Required. The tenancy for instance.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The tenancy to set. * @return This builder for chaining. */ - public Builder setTenancy( - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy value) { + public Builder setTenancy(com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy value) { if (value == null) { throw new NullPointerException(); } @@ -721,16 +626,11 @@ public Builder setTenancy( return this; } /** - * - * *
      * Required. The tenancy for instance.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearTenancy() { @@ -739,9 +639,9 @@ public Builder clearTenancy() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -751,12 +651,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsInstancePlacement) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsInstancePlacement) private static final com.google.cloud.gkemulticloud.v1.AwsInstancePlacement DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsInstancePlacement(); } @@ -765,27 +665,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsInstancePlacement getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsInstancePlacement parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsInstancePlacement parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -800,4 +700,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacementOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacementOrBuilder.java new file mode 100644 index 000000000000..fe2dbc644c83 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacementOrBuilder.java @@ -0,0 +1,28 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface AwsInstancePlacementOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsInstancePlacement) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The tenancy for instance.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The enum numeric value on the wire for tenancy. + */ + int getTenancyValue(); + /** + *
+   * Required. The tenancy for instance.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The tenancy. + */ + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy getTenancy(); +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsJsonWebKeys.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsJsonWebKeys.java new file mode 100644 index 000000000000..643b39af56d1 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsJsonWebKeys.java @@ -0,0 +1,882 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +/** + *
+ * AwsJsonWebKeys is a valid JSON Web Key Set as specififed in RFC 7517.
+ * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsJsonWebKeys} + */ +public final class AwsJsonWebKeys extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsJsonWebKeys) + AwsJsonWebKeysOrBuilder { +private static final long serialVersionUID = 0L; + // Use AwsJsonWebKeys.newBuilder() to construct. + private AwsJsonWebKeys(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AwsJsonWebKeys() { + keys_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AwsJsonWebKeys(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsJsonWebKeys_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsJsonWebKeys_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys.class, com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys.Builder.class); + } + + public static final int KEYS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private java.util.List keys_; + /** + *
+   * The public component of the keys used by the cluster to sign token
+   * requests.
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + @java.lang.Override + public java.util.List getKeysList() { + return keys_; + } + /** + *
+   * The public component of the keys used by the cluster to sign token
+   * requests.
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + @java.lang.Override + public java.util.List + getKeysOrBuilderList() { + return keys_; + } + /** + *
+   * The public component of the keys used by the cluster to sign token
+   * requests.
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + @java.lang.Override + public int getKeysCount() { + return keys_.size(); + } + /** + *
+   * The public component of the keys used by the cluster to sign token
+   * requests.
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.Jwk getKeys(int index) { + return keys_.get(index); + } + /** + *
+   * The public component of the keys used by the cluster to sign token
+   * requests.
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.JwkOrBuilder getKeysOrBuilder( + int index) { + return keys_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < keys_.size(); i++) { + output.writeMessage(1, keys_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < keys_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, keys_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys other = (com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys) obj; + + if (!getKeysList() + .equals(other.getKeysList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getKeysCount() > 0) { + hash = (37 * hash) + KEYS_FIELD_NUMBER; + hash = (53 * hash) + getKeysList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * AwsJsonWebKeys is a valid JSON Web Key Set as specififed in RFC 7517.
+   * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsJsonWebKeys} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsJsonWebKeys) + com.google.cloud.gkemulticloud.v1.AwsJsonWebKeysOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsJsonWebKeys_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsJsonWebKeys_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys.class, com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (keysBuilder_ == null) { + keys_ = java.util.Collections.emptyList(); + } else { + keys_ = null; + keysBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsJsonWebKeys_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys build() { + com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys buildPartial() { + com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys result = new com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys result) { + if (keysBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + keys_ = java.util.Collections.unmodifiableList(keys_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.keys_ = keys_; + } else { + result.keys_ = keysBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys other) { + if (other == com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys.getDefaultInstance()) return this; + if (keysBuilder_ == null) { + if (!other.keys_.isEmpty()) { + if (keys_.isEmpty()) { + keys_ = other.keys_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureKeysIsMutable(); + keys_.addAll(other.keys_); + } + onChanged(); + } + } else { + if (!other.keys_.isEmpty()) { + if (keysBuilder_.isEmpty()) { + keysBuilder_.dispose(); + keysBuilder_ = null; + keys_ = other.keys_; + bitField0_ = (bitField0_ & ~0x00000001); + keysBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getKeysFieldBuilder() : null; + } else { + keysBuilder_.addAllMessages(other.keys_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.cloud.gkemulticloud.v1.Jwk m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.Jwk.parser(), + extensionRegistry); + if (keysBuilder_ == null) { + ensureKeysIsMutable(); + keys_.add(m); + } else { + keysBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.util.List keys_ = + java.util.Collections.emptyList(); + private void ensureKeysIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + keys_ = new java.util.ArrayList(keys_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.Jwk, com.google.cloud.gkemulticloud.v1.Jwk.Builder, com.google.cloud.gkemulticloud.v1.JwkOrBuilder> keysBuilder_; + + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public java.util.List getKeysList() { + if (keysBuilder_ == null) { + return java.util.Collections.unmodifiableList(keys_); + } else { + return keysBuilder_.getMessageList(); + } + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public int getKeysCount() { + if (keysBuilder_ == null) { + return keys_.size(); + } else { + return keysBuilder_.getCount(); + } + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public com.google.cloud.gkemulticloud.v1.Jwk getKeys(int index) { + if (keysBuilder_ == null) { + return keys_.get(index); + } else { + return keysBuilder_.getMessage(index); + } + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public Builder setKeys( + int index, com.google.cloud.gkemulticloud.v1.Jwk value) { + if (keysBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureKeysIsMutable(); + keys_.set(index, value); + onChanged(); + } else { + keysBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public Builder setKeys( + int index, com.google.cloud.gkemulticloud.v1.Jwk.Builder builderForValue) { + if (keysBuilder_ == null) { + ensureKeysIsMutable(); + keys_.set(index, builderForValue.build()); + onChanged(); + } else { + keysBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public Builder addKeys(com.google.cloud.gkemulticloud.v1.Jwk value) { + if (keysBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureKeysIsMutable(); + keys_.add(value); + onChanged(); + } else { + keysBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public Builder addKeys( + int index, com.google.cloud.gkemulticloud.v1.Jwk value) { + if (keysBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureKeysIsMutable(); + keys_.add(index, value); + onChanged(); + } else { + keysBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public Builder addKeys( + com.google.cloud.gkemulticloud.v1.Jwk.Builder builderForValue) { + if (keysBuilder_ == null) { + ensureKeysIsMutable(); + keys_.add(builderForValue.build()); + onChanged(); + } else { + keysBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public Builder addKeys( + int index, com.google.cloud.gkemulticloud.v1.Jwk.Builder builderForValue) { + if (keysBuilder_ == null) { + ensureKeysIsMutable(); + keys_.add(index, builderForValue.build()); + onChanged(); + } else { + keysBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public Builder addAllKeys( + java.lang.Iterable values) { + if (keysBuilder_ == null) { + ensureKeysIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, keys_); + onChanged(); + } else { + keysBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public Builder clearKeys() { + if (keysBuilder_ == null) { + keys_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + keysBuilder_.clear(); + } + return this; + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public Builder removeKeys(int index) { + if (keysBuilder_ == null) { + ensureKeysIsMutable(); + keys_.remove(index); + onChanged(); + } else { + keysBuilder_.remove(index); + } + return this; + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public com.google.cloud.gkemulticloud.v1.Jwk.Builder getKeysBuilder( + int index) { + return getKeysFieldBuilder().getBuilder(index); + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public com.google.cloud.gkemulticloud.v1.JwkOrBuilder getKeysOrBuilder( + int index) { + if (keysBuilder_ == null) { + return keys_.get(index); } else { + return keysBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public java.util.List + getKeysOrBuilderList() { + if (keysBuilder_ != null) { + return keysBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(keys_); + } + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public com.google.cloud.gkemulticloud.v1.Jwk.Builder addKeysBuilder() { + return getKeysFieldBuilder().addBuilder( + com.google.cloud.gkemulticloud.v1.Jwk.getDefaultInstance()); + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public com.google.cloud.gkemulticloud.v1.Jwk.Builder addKeysBuilder( + int index) { + return getKeysFieldBuilder().addBuilder( + index, com.google.cloud.gkemulticloud.v1.Jwk.getDefaultInstance()); + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public java.util.List + getKeysBuilderList() { + return getKeysFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.Jwk, com.google.cloud.gkemulticloud.v1.Jwk.Builder, com.google.cloud.gkemulticloud.v1.JwkOrBuilder> + getKeysFieldBuilder() { + if (keysBuilder_ == null) { + keysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.Jwk, com.google.cloud.gkemulticloud.v1.Jwk.Builder, com.google.cloud.gkemulticloud.v1.JwkOrBuilder>( + keys_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + keys_ = null; + } + return keysBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsJsonWebKeys) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsJsonWebKeys) + private static final com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys(); + } + + public static com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsJsonWebKeys parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsJsonWebKeysOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsJsonWebKeysOrBuilder.java new file mode 100644 index 000000000000..ca1dccc4e63e --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsJsonWebKeysOrBuilder.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface AwsJsonWebKeysOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsJsonWebKeys) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The public component of the keys used by the cluster to sign token
+   * requests.
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + java.util.List + getKeysList(); + /** + *
+   * The public component of the keys used by the cluster to sign token
+   * requests.
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + com.google.cloud.gkemulticloud.v1.Jwk getKeys(int index); + /** + *
+   * The public component of the keys used by the cluster to sign token
+   * requests.
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + int getKeysCount(); + /** + *
+   * The public component of the keys used by the cluster to sign token
+   * requests.
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + java.util.List + getKeysOrBuilderList(); + /** + *
+   * The public component of the keys used by the cluster to sign token
+   * requests.
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + com.google.cloud.gkemulticloud.v1.JwkOrBuilder getKeysOrBuilder( + int index); +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfo.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfo.java new file mode 100644 index 000000000000..227c60150eab --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfo.java @@ -0,0 +1,1257 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +/** + *
+ * Kubernetes version information of GKE cluster on AWS.
+ * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsK8sVersionInfo} + */ +public final class AwsK8sVersionInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsK8sVersionInfo) + AwsK8sVersionInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use AwsK8sVersionInfo.newBuilder() to construct. + private AwsK8sVersionInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AwsK8sVersionInfo() { + version_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AwsK8sVersionInfo(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.class, com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder.class); + } + + public static final int VERSION_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object version_ = ""; + /** + *
+   * Kubernetes version name.
+   * 
+ * + * string version = 1; + * @return The version. + */ + @java.lang.Override + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + version_ = s; + return s; + } + } + /** + *
+   * Kubernetes version name.
+   * 
+ * + * string version = 1; + * @return The bytes for version. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ENABLED_FIELD_NUMBER = 3; + private boolean enabled_ = false; + /** + *
+   * Optional. True if the version is available for cluster creation. If a
+   * version is enabled for creation, it can be used to create new clusters.
+   * Otherwise, cluster creation will fail. However, cluster upgrade operations
+   * may succeed, even if the version is not enabled.
+   * 
+ * + * bool enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The enabled. + */ + @java.lang.Override + public boolean getEnabled() { + return enabled_; + } + + public static final int END_OF_LIFE_FIELD_NUMBER = 4; + private boolean endOfLife_ = false; + /** + *
+   * Optional. True if this cluster version belongs to a minor version that has
+   * reached its end of life and is no longer in scope to receive security and
+   * bug fixes.
+   * 
+ * + * bool end_of_life = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The endOfLife. + */ + @java.lang.Override + public boolean getEndOfLife() { + return endOfLife_; + } + + public static final int END_OF_LIFE_DATE_FIELD_NUMBER = 5; + private com.google.type.Date endOfLifeDate_; + /** + *
+   * Optional. The estimated date (in Pacific Time) when this cluster version
+   * will reach its end of life. Or if this version is no longer supported (the
+   * `end_of_life` field is true), this is the actual date (in Pacific time)
+   * when the version reached its end of life.
+   * 
+ * + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the endOfLifeDate field is set. + */ + @java.lang.Override + public boolean hasEndOfLifeDate() { + return endOfLifeDate_ != null; + } + /** + *
+   * Optional. The estimated date (in Pacific Time) when this cluster version
+   * will reach its end of life. Or if this version is no longer supported (the
+   * `end_of_life` field is true), this is the actual date (in Pacific time)
+   * when the version reached its end of life.
+   * 
+ * + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The endOfLifeDate. + */ + @java.lang.Override + public com.google.type.Date getEndOfLifeDate() { + return endOfLifeDate_ == null ? com.google.type.Date.getDefaultInstance() : endOfLifeDate_; + } + /** + *
+   * Optional. The estimated date (in Pacific Time) when this cluster version
+   * will reach its end of life. Or if this version is no longer supported (the
+   * `end_of_life` field is true), this is the actual date (in Pacific time)
+   * when the version reached its end of life.
+   * 
+ * + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public com.google.type.DateOrBuilder getEndOfLifeDateOrBuilder() { + return endOfLifeDate_ == null ? com.google.type.Date.getDefaultInstance() : endOfLifeDate_; + } + + public static final int RELEASE_DATE_FIELD_NUMBER = 6; + private com.google.type.Date releaseDate_; + /** + *
+   * Optional. The date (in Pacific Time) when the cluster version was released.
+   * 
+ * + * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the releaseDate field is set. + */ + @java.lang.Override + public boolean hasReleaseDate() { + return releaseDate_ != null; + } + /** + *
+   * Optional. The date (in Pacific Time) when the cluster version was released.
+   * 
+ * + * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The releaseDate. + */ + @java.lang.Override + public com.google.type.Date getReleaseDate() { + return releaseDate_ == null ? com.google.type.Date.getDefaultInstance() : releaseDate_; + } + /** + *
+   * Optional. The date (in Pacific Time) when the cluster version was released.
+   * 
+ * + * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public com.google.type.DateOrBuilder getReleaseDateOrBuilder() { + return releaseDate_ == null ? com.google.type.Date.getDefaultInstance() : releaseDate_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); + } + if (enabled_ != false) { + output.writeBool(3, enabled_); + } + if (endOfLife_ != false) { + output.writeBool(4, endOfLife_); + } + if (endOfLifeDate_ != null) { + output.writeMessage(5, getEndOfLifeDate()); + } + if (releaseDate_ != null) { + output.writeMessage(6, getReleaseDate()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, version_); + } + if (enabled_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, enabled_); + } + if (endOfLife_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, endOfLife_); + } + if (endOfLifeDate_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getEndOfLifeDate()); + } + if (releaseDate_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getReleaseDate()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo other = (com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo) obj; + + if (!getVersion() + .equals(other.getVersion())) return false; + if (getEnabled() + != other.getEnabled()) return false; + if (getEndOfLife() + != other.getEndOfLife()) return false; + if (hasEndOfLifeDate() != other.hasEndOfLifeDate()) return false; + if (hasEndOfLifeDate()) { + if (!getEndOfLifeDate() + .equals(other.getEndOfLifeDate())) return false; + } + if (hasReleaseDate() != other.hasReleaseDate()) return false; + if (hasReleaseDate()) { + if (!getReleaseDate() + .equals(other.getReleaseDate())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion().hashCode(); + hash = (37 * hash) + ENABLED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); + hash = (37 * hash) + END_OF_LIFE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEndOfLife()); + if (hasEndOfLifeDate()) { + hash = (37 * hash) + END_OF_LIFE_DATE_FIELD_NUMBER; + hash = (53 * hash) + getEndOfLifeDate().hashCode(); + } + if (hasReleaseDate()) { + hash = (37 * hash) + RELEASE_DATE_FIELD_NUMBER; + hash = (53 * hash) + getReleaseDate().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Kubernetes version information of GKE cluster on AWS.
+   * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsK8sVersionInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsK8sVersionInfo) + com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.class, com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + version_ = ""; + enabled_ = false; + endOfLife_ = false; + endOfLifeDate_ = null; + if (endOfLifeDateBuilder_ != null) { + endOfLifeDateBuilder_.dispose(); + endOfLifeDateBuilder_ = null; + } + releaseDate_ = null; + if (releaseDateBuilder_ != null) { + releaseDateBuilder_.dispose(); + releaseDateBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo build() { + com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo buildPartial() { + com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo result = new com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.version_ = version_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.enabled_ = enabled_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.endOfLife_ = endOfLife_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.endOfLifeDate_ = endOfLifeDateBuilder_ == null + ? endOfLifeDate_ + : endOfLifeDateBuilder_.build(); + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.releaseDate_ = releaseDateBuilder_ == null + ? releaseDate_ + : releaseDateBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo other) { + if (other == com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.getDefaultInstance()) return this; + if (!other.getVersion().isEmpty()) { + version_ = other.version_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getEnabled() != false) { + setEnabled(other.getEnabled()); + } + if (other.getEndOfLife() != false) { + setEndOfLife(other.getEndOfLife()); + } + if (other.hasEndOfLifeDate()) { + mergeEndOfLifeDate(other.getEndOfLifeDate()); + } + if (other.hasReleaseDate()) { + mergeReleaseDate(other.getReleaseDate()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 24: { + enabled_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 24 + case 32: { + endOfLife_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 32 + case 42: { + input.readMessage( + getEndOfLifeDateFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 50: { + input.readMessage( + getReleaseDateFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object version_ = ""; + /** + *
+     * Kubernetes version name.
+     * 
+ * + * string version = 1; + * @return The version. + */ + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + version_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Kubernetes version name.
+     * 
+ * + * string version = 1; + * @return The bytes for version. + */ + public com.google.protobuf.ByteString + getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Kubernetes version name.
+     * 
+ * + * string version = 1; + * @param value The version to set. + * @return This builder for chaining. + */ + public Builder setVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + version_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Kubernetes version name.
+     * 
+ * + * string version = 1; + * @return This builder for chaining. + */ + public Builder clearVersion() { + version_ = getDefaultInstance().getVersion(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     * Kubernetes version name.
+     * 
+ * + * string version = 1; + * @param value The bytes for version to set. + * @return This builder for chaining. + */ + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + version_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private boolean enabled_ ; + /** + *
+     * Optional. True if the version is available for cluster creation. If a
+     * version is enabled for creation, it can be used to create new clusters.
+     * Otherwise, cluster creation will fail. However, cluster upgrade operations
+     * may succeed, even if the version is not enabled.
+     * 
+ * + * bool enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The enabled. + */ + @java.lang.Override + public boolean getEnabled() { + return enabled_; + } + /** + *
+     * Optional. True if the version is available for cluster creation. If a
+     * version is enabled for creation, it can be used to create new clusters.
+     * Otherwise, cluster creation will fail. However, cluster upgrade operations
+     * may succeed, even if the version is not enabled.
+     * 
+ * + * bool enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The enabled to set. + * @return This builder for chaining. + */ + public Builder setEnabled(boolean value) { + + enabled_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * Optional. True if the version is available for cluster creation. If a
+     * version is enabled for creation, it can be used to create new clusters.
+     * Otherwise, cluster creation will fail. However, cluster upgrade operations
+     * may succeed, even if the version is not enabled.
+     * 
+ * + * bool enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearEnabled() { + bitField0_ = (bitField0_ & ~0x00000002); + enabled_ = false; + onChanged(); + return this; + } + + private boolean endOfLife_ ; + /** + *
+     * Optional. True if this cluster version belongs to a minor version that has
+     * reached its end of life and is no longer in scope to receive security and
+     * bug fixes.
+     * 
+ * + * bool end_of_life = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The endOfLife. + */ + @java.lang.Override + public boolean getEndOfLife() { + return endOfLife_; + } + /** + *
+     * Optional. True if this cluster version belongs to a minor version that has
+     * reached its end of life and is no longer in scope to receive security and
+     * bug fixes.
+     * 
+ * + * bool end_of_life = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The endOfLife to set. + * @return This builder for chaining. + */ + public Builder setEndOfLife(boolean value) { + + endOfLife_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * Optional. True if this cluster version belongs to a minor version that has
+     * reached its end of life and is no longer in scope to receive security and
+     * bug fixes.
+     * 
+ * + * bool end_of_life = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearEndOfLife() { + bitField0_ = (bitField0_ & ~0x00000004); + endOfLife_ = false; + onChanged(); + return this; + } + + private com.google.type.Date endOfLifeDate_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> endOfLifeDateBuilder_; + /** + *
+     * Optional. The estimated date (in Pacific Time) when this cluster version
+     * will reach its end of life. Or if this version is no longer supported (the
+     * `end_of_life` field is true), this is the actual date (in Pacific time)
+     * when the version reached its end of life.
+     * 
+ * + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the endOfLifeDate field is set. + */ + public boolean hasEndOfLifeDate() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + *
+     * Optional. The estimated date (in Pacific Time) when this cluster version
+     * will reach its end of life. Or if this version is no longer supported (the
+     * `end_of_life` field is true), this is the actual date (in Pacific time)
+     * when the version reached its end of life.
+     * 
+ * + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The endOfLifeDate. + */ + public com.google.type.Date getEndOfLifeDate() { + if (endOfLifeDateBuilder_ == null) { + return endOfLifeDate_ == null ? com.google.type.Date.getDefaultInstance() : endOfLifeDate_; + } else { + return endOfLifeDateBuilder_.getMessage(); + } + } + /** + *
+     * Optional. The estimated date (in Pacific Time) when this cluster version
+     * will reach its end of life. Or if this version is no longer supported (the
+     * `end_of_life` field is true), this is the actual date (in Pacific time)
+     * when the version reached its end of life.
+     * 
+ * + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setEndOfLifeDate(com.google.type.Date value) { + if (endOfLifeDateBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + endOfLifeDate_ = value; + } else { + endOfLifeDateBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Optional. The estimated date (in Pacific Time) when this cluster version
+     * will reach its end of life. Or if this version is no longer supported (the
+     * `end_of_life` field is true), this is the actual date (in Pacific time)
+     * when the version reached its end of life.
+     * 
+ * + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setEndOfLifeDate( + com.google.type.Date.Builder builderForValue) { + if (endOfLifeDateBuilder_ == null) { + endOfLifeDate_ = builderForValue.build(); + } else { + endOfLifeDateBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Optional. The estimated date (in Pacific Time) when this cluster version
+     * will reach its end of life. Or if this version is no longer supported (the
+     * `end_of_life` field is true), this is the actual date (in Pacific time)
+     * when the version reached its end of life.
+     * 
+ * + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder mergeEndOfLifeDate(com.google.type.Date value) { + if (endOfLifeDateBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) && + endOfLifeDate_ != null && + endOfLifeDate_ != com.google.type.Date.getDefaultInstance()) { + getEndOfLifeDateBuilder().mergeFrom(value); + } else { + endOfLifeDate_ = value; + } + } else { + endOfLifeDateBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Optional. The estimated date (in Pacific Time) when this cluster version
+     * will reach its end of life. Or if this version is no longer supported (the
+     * `end_of_life` field is true), this is the actual date (in Pacific time)
+     * when the version reached its end of life.
+     * 
+ * + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder clearEndOfLifeDate() { + bitField0_ = (bitField0_ & ~0x00000008); + endOfLifeDate_ = null; + if (endOfLifeDateBuilder_ != null) { + endOfLifeDateBuilder_.dispose(); + endOfLifeDateBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * Optional. The estimated date (in Pacific Time) when this cluster version
+     * will reach its end of life. Or if this version is no longer supported (the
+     * `end_of_life` field is true), this is the actual date (in Pacific time)
+     * when the version reached its end of life.
+     * 
+ * + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.type.Date.Builder getEndOfLifeDateBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getEndOfLifeDateFieldBuilder().getBuilder(); + } + /** + *
+     * Optional. The estimated date (in Pacific Time) when this cluster version
+     * will reach its end of life. Or if this version is no longer supported (the
+     * `end_of_life` field is true), this is the actual date (in Pacific time)
+     * when the version reached its end of life.
+     * 
+ * + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.type.DateOrBuilder getEndOfLifeDateOrBuilder() { + if (endOfLifeDateBuilder_ != null) { + return endOfLifeDateBuilder_.getMessageOrBuilder(); + } else { + return endOfLifeDate_ == null ? + com.google.type.Date.getDefaultInstance() : endOfLifeDate_; + } + } + /** + *
+     * Optional. The estimated date (in Pacific Time) when this cluster version
+     * will reach its end of life. Or if this version is no longer supported (the
+     * `end_of_life` field is true), this is the actual date (in Pacific time)
+     * when the version reached its end of life.
+     * 
+ * + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + getEndOfLifeDateFieldBuilder() { + if (endOfLifeDateBuilder_ == null) { + endOfLifeDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( + getEndOfLifeDate(), + getParentForChildren(), + isClean()); + endOfLifeDate_ = null; + } + return endOfLifeDateBuilder_; + } + + private com.google.type.Date releaseDate_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> releaseDateBuilder_; + /** + *
+     * Optional. The date (in Pacific Time) when the cluster version was released.
+     * 
+ * + * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the releaseDate field is set. + */ + public boolean hasReleaseDate() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + *
+     * Optional. The date (in Pacific Time) when the cluster version was released.
+     * 
+ * + * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The releaseDate. + */ + public com.google.type.Date getReleaseDate() { + if (releaseDateBuilder_ == null) { + return releaseDate_ == null ? com.google.type.Date.getDefaultInstance() : releaseDate_; + } else { + return releaseDateBuilder_.getMessage(); + } + } + /** + *
+     * Optional. The date (in Pacific Time) when the cluster version was released.
+     * 
+ * + * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setReleaseDate(com.google.type.Date value) { + if (releaseDateBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + releaseDate_ = value; + } else { + releaseDateBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * Optional. The date (in Pacific Time) when the cluster version was released.
+     * 
+ * + * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setReleaseDate( + com.google.type.Date.Builder builderForValue) { + if (releaseDateBuilder_ == null) { + releaseDate_ = builderForValue.build(); + } else { + releaseDateBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * Optional. The date (in Pacific Time) when the cluster version was released.
+     * 
+ * + * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder mergeReleaseDate(com.google.type.Date value) { + if (releaseDateBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) && + releaseDate_ != null && + releaseDate_ != com.google.type.Date.getDefaultInstance()) { + getReleaseDateBuilder().mergeFrom(value); + } else { + releaseDate_ = value; + } + } else { + releaseDateBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * Optional. The date (in Pacific Time) when the cluster version was released.
+     * 
+ * + * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder clearReleaseDate() { + bitField0_ = (bitField0_ & ~0x00000010); + releaseDate_ = null; + if (releaseDateBuilder_ != null) { + releaseDateBuilder_.dispose(); + releaseDateBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * Optional. The date (in Pacific Time) when the cluster version was released.
+     * 
+ * + * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.type.Date.Builder getReleaseDateBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getReleaseDateFieldBuilder().getBuilder(); + } + /** + *
+     * Optional. The date (in Pacific Time) when the cluster version was released.
+     * 
+ * + * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.type.DateOrBuilder getReleaseDateOrBuilder() { + if (releaseDateBuilder_ != null) { + return releaseDateBuilder_.getMessageOrBuilder(); + } else { + return releaseDate_ == null ? + com.google.type.Date.getDefaultInstance() : releaseDate_; + } + } + /** + *
+     * Optional. The date (in Pacific Time) when the cluster version was released.
+     * 
+ * + * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + getReleaseDateFieldBuilder() { + if (releaseDateBuilder_ == null) { + releaseDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( + getReleaseDate(), + getParentForChildren(), + isClean()); + releaseDate_ = null; + } + return releaseDateBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsK8sVersionInfo) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsK8sVersionInfo) + private static final com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo(); + } + + public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsK8sVersionInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfoOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfoOrBuilder.java new file mode 100644 index 000000000000..8b325e5e45e0 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfoOrBuilder.java @@ -0,0 +1,117 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface AwsK8sVersionInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsK8sVersionInfo) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Kubernetes version name.
+   * 
+ * + * string version = 1; + * @return The version. + */ + java.lang.String getVersion(); + /** + *
+   * Kubernetes version name.
+   * 
+ * + * string version = 1; + * @return The bytes for version. + */ + com.google.protobuf.ByteString + getVersionBytes(); + + /** + *
+   * Optional. True if the version is available for cluster creation. If a
+   * version is enabled for creation, it can be used to create new clusters.
+   * Otherwise, cluster creation will fail. However, cluster upgrade operations
+   * may succeed, even if the version is not enabled.
+   * 
+ * + * bool enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The enabled. + */ + boolean getEnabled(); + + /** + *
+   * Optional. True if this cluster version belongs to a minor version that has
+   * reached its end of life and is no longer in scope to receive security and
+   * bug fixes.
+   * 
+ * + * bool end_of_life = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The endOfLife. + */ + boolean getEndOfLife(); + + /** + *
+   * Optional. The estimated date (in Pacific Time) when this cluster version
+   * will reach its end of life. Or if this version is no longer supported (the
+   * `end_of_life` field is true), this is the actual date (in Pacific time)
+   * when the version reached its end of life.
+   * 
+ * + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the endOfLifeDate field is set. + */ + boolean hasEndOfLifeDate(); + /** + *
+   * Optional. The estimated date (in Pacific Time) when this cluster version
+   * will reach its end of life. Or if this version is no longer supported (the
+   * `end_of_life` field is true), this is the actual date (in Pacific time)
+   * when the version reached its end of life.
+   * 
+ * + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The endOfLifeDate. + */ + com.google.type.Date getEndOfLifeDate(); + /** + *
+   * Optional. The estimated date (in Pacific Time) when this cluster version
+   * will reach its end of life. Or if this version is no longer supported (the
+   * `end_of_life` field is true), this is the actual date (in Pacific time)
+   * when the version reached its end of life.
+   * 
+ * + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.type.DateOrBuilder getEndOfLifeDateOrBuilder(); + + /** + *
+   * Optional. The date (in Pacific Time) when the cluster version was released.
+   * 
+ * + * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the releaseDate field is set. + */ + boolean hasReleaseDate(); + /** + *
+   * Optional. The date (in Pacific Time) when the cluster version was released.
+   * 
+ * + * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The releaseDate. + */ + com.google.type.Date getReleaseDate(); + /** + *
+   * Optional. The date (in Pacific Time) when the cluster version was released.
+   * 
+ * + * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.type.DateOrBuilder getReleaseDateOrBuilder(); +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfig.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfig.java similarity index 60% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfig.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfig.java index 49d2e1837849..b3043b850fd6 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfig.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfig.java @@ -1,99 +1,79 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Parameters that describe the nodes in a cluster.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsNodeConfig} */ -public final class AwsNodeConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AwsNodeConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsNodeConfig) AwsNodeConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AwsNodeConfig.newBuilder() to construct. private AwsNodeConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AwsNodeConfig() { instanceType_ = ""; taints_ = java.util.Collections.emptyList(); iamInstanceProfile_ = ""; imageType_ = ""; - securityGroupIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + securityGroupIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AwsNodeConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return internalGetLabels(); case 5: return internalGetTags(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsNodeConfig.class, - com.google.cloud.gkemulticloud.v1.AwsNodeConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsNodeConfig.class, com.google.cloud.gkemulticloud.v1.AwsNodeConfig.Builder.class); } public static final int INSTANCE_TYPE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object instanceType_ = ""; /** - * - * *
-   * Optional. The AWS instance type.
+   * Optional. The EC2 instance type when creating on-Demand instances.
    *
-   * When unspecified, it uses a default based on the node pool's version.
+   * If unspecified during node pool creation, a default will be chosen based on
+   * the node pool version, and assigned to this field.
    * 
* * string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The instanceType. */ @java.lang.Override @@ -102,31 +82,32 @@ public java.lang.String getInstanceType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceType_ = s; return s; } } /** - * - * *
-   * Optional. The AWS instance type.
+   * Optional. The EC2 instance type when creating on-Demand instances.
    *
-   * When unspecified, it uses a default based on the node pool's version.
+   * If unspecified during node pool creation, a default will be chosen based on
+   * the node pool version, and assigned to this field.
    * 
* * string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for instanceType. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceTypeBytes() { + public com.google.protobuf.ByteString + getInstanceTypeBytes() { java.lang.Object ref = instanceType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceType_ = b; return b; } else { @@ -137,8 +118,6 @@ public com.google.protobuf.ByteString getInstanceTypeBytes() { public static final int ROOT_VOLUME_FIELD_NUMBER = 2; private com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate rootVolume_; /** - * - * *
    * Optional. Template for the root volume provisioned for node pool nodes.
    * Volumes will be provisioned in the availability zone assigned
@@ -147,10 +126,7 @@ public com.google.protobuf.ByteString getInstanceTypeBytes() {
    * When unspecified, it defaults to 32 GiB with the GP2 volume type.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the rootVolume field is set. */ @java.lang.Override @@ -158,8 +134,6 @@ public boolean hasRootVolume() { return rootVolume_ != null; } /** - * - * *
    * Optional. Template for the root volume provisioned for node pool nodes.
    * Volumes will be provisioned in the availability zone assigned
@@ -168,21 +142,14 @@ public boolean hasRootVolume() {
    * When unspecified, it defaults to 32 GiB with the GP2 volume type.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The rootVolume. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getRootVolume() { - return rootVolume_ == null - ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() - : rootVolume_; + return rootVolume_ == null ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() : rootVolume_; } /** - * - * *
    * Optional. Template for the root volume provisioned for node pool nodes.
    * Volumes will be provisioned in the availability zone assigned
@@ -191,127 +158,101 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getRootVolume() {
    * When unspecified, it defaults to 32 GiB with the GP2 volume type.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getRootVolumeOrBuilder() { - return rootVolume_ == null - ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() - : rootVolume_; + return rootVolume_ == null ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() : rootVolume_; } public static final int TAINTS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List taints_; /** - * - * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.List getTaintsList() { return taints_; } /** - * - * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List + public java.util.List getTaintsOrBuilderList() { return taints_; } /** - * - * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public int getTaintsCount() { return taints_.size(); } /** - * - * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.NodeTaint getTaints(int index) { return taints_.get(index); } /** - * - * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index) { + public com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder( + int index) { return taints_.get(index); } public static final int LABELS_FIELD_NUMBER = 4; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -321,21 +262,20 @@ public int getLabelsCount() {
    * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getLabelsMap()} instead. */
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
-   *
-   *
    * 
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -349,8 +289,6 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -360,19 +298,17 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getLabelsOrDefault(
+  public /* nullable */
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -382,11 +318,11 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -394,34 +330,32 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   }
 
   public static final int TAGS_FIELD_NUMBER = 5;
-
   private static final class TagsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry defaultEntry =
-        com.google.protobuf.MapEntry.newDefaultInstance(
-            com.google.cloud.gkemulticloud.v1.AwsResourcesProto
-                .internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_TagsEntry_descriptor,
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "",
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "");
+    static final com.google.protobuf.MapEntry<
+        java.lang.String, java.lang.String> defaultEntry =
+            com.google.protobuf.MapEntry
+            .newDefaultInstance(
+                com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_TagsEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "");
   }
-
   @SuppressWarnings("serial")
-  private com.google.protobuf.MapField tags_;
-
-  private com.google.protobuf.MapField internalGetTags() {
+  private com.google.protobuf.MapField<
+      java.lang.String, java.lang.String> tags_;
+  private com.google.protobuf.MapField
+  internalGetTags() {
     if (tags_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(TagsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(
+          TagsDefaultEntryHolder.defaultEntry);
     }
     return tags_;
   }
-
   public int getTagsCount() {
     return internalGetTags().getMap().size();
   }
   /**
-   *
-   *
    * 
    * Optional. Key/value metadata to assign to each underlying AWS resource.
    * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
@@ -432,21 +366,20 @@ public int getTagsCount() {
    * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public boolean containsTags(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsTags(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetTags().getMap().containsKey(key);
   }
-  /** Use {@link #getTagsMap()} instead. */
+  /**
+   * Use {@link #getTagsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getTags() {
     return getTagsMap();
   }
   /**
-   *
-   *
    * 
    * Optional. Key/value metadata to assign to each underlying AWS resource.
    * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
@@ -461,8 +394,6 @@ public java.util.Map getTagsMap() {
     return internalGetTags().getMap();
   }
   /**
-   *
-   *
    * 
    * Optional. Key/value metadata to assign to each underlying AWS resource.
    * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
@@ -473,19 +404,17 @@ public java.util.Map getTagsMap() {
    * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getTagsOrDefault(
+  public /* nullable */
+java.lang.String getTagsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetTags().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetTags().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Optional. Key/value metadata to assign to each underlying AWS resource.
    * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
@@ -496,11 +425,11 @@ public java.util.Map getTagsMap() {
    * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public java.lang.String getTagsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetTags().getMap();
+  public java.lang.String getTagsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetTags().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -508,19 +437,15 @@ public java.lang.String getTagsOrThrow(java.lang.String key) {
   }
 
   public static final int IAM_INSTANCE_PROFILE_FIELD_NUMBER = 6;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object iamInstanceProfile_ = "";
   /**
-   *
-   *
    * 
    * Required. The name or ARN of the AWS IAM role assigned to nodes in the
    * pool.
    * 
* * string iam_instance_profile = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The iamInstanceProfile. */ @java.lang.Override @@ -529,30 +454,30 @@ public java.lang.String getIamInstanceProfile() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); iamInstanceProfile_ = s; return s; } } /** - * - * *
    * Required. The name or ARN of the AWS IAM role assigned to nodes in the
    * pool.
    * 
* * string iam_instance_profile = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for iamInstanceProfile. */ @java.lang.Override - public com.google.protobuf.ByteString getIamInstanceProfileBytes() { + public com.google.protobuf.ByteString + getIamInstanceProfileBytes() { java.lang.Object ref = iamInstanceProfile_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); iamInstanceProfile_ = b; return b; } else { @@ -561,22 +486,17 @@ public com.google.protobuf.ByteString getIamInstanceProfileBytes() { } public static final int IMAGE_TYPE_FIELD_NUMBER = 11; - @SuppressWarnings("serial") private volatile java.lang.Object imageType_ = ""; /** - * - * *
    * Optional. The OS image type to use on node pool instances.
-   * Can have a value of `ubuntu`, or `windows` if the cluster enables
-   * the Windows node pool preview feature.
+   * Can be unspecified, or have a value of `ubuntu`.
    *
    * When unspecified, it defaults to `ubuntu`.
    * 
* * string image_type = 11 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The imageType. */ @java.lang.Override @@ -585,33 +505,32 @@ public java.lang.String getImageType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; } } /** - * - * *
    * Optional. The OS image type to use on node pool instances.
-   * Can have a value of `ubuntu`, or `windows` if the cluster enables
-   * the Windows node pool preview feature.
+   * Can be unspecified, or have a value of `ubuntu`.
    *
    * When unspecified, it defaults to `ubuntu`.
    * 
* * string image_type = 11 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for imageType. */ @java.lang.Override - public com.google.protobuf.ByteString getImageTypeBytes() { + public com.google.protobuf.ByteString + getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageType_ = b; return b; } else { @@ -622,16 +541,11 @@ public com.google.protobuf.ByteString getImageTypeBytes() { public static final int SSH_CONFIG_FIELD_NUMBER = 9; private com.google.cloud.gkemulticloud.v1.AwsSshConfig sshConfig_; /** - * - * *
    * Optional. The SSH configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the sshConfig field is set. */ @java.lang.Override @@ -639,50 +553,34 @@ public boolean hasSshConfig() { return sshConfig_ != null; } /** - * - * *
    * Optional. The SSH configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The sshConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsSshConfig getSshConfig() { - return sshConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance() - : sshConfig_; + return sshConfig_ == null ? com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance() : sshConfig_; } /** - * - * *
    * Optional. The SSH configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder getSshConfigOrBuilder() { - return sshConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance() - : sshConfig_; + return sshConfig_ == null ? com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance() : sshConfig_; } public static final int SECURITY_GROUP_IDS_FIELD_NUMBER = 10; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList securityGroupIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Optional. The IDs of additional security groups to add to nodes in this
    * pool. The manager will automatically create security groups with minimum
@@ -690,15 +588,13 @@ public com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder getSshConfigOrBui
    * 
* * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the securityGroupIds. */ - public com.google.protobuf.ProtocolStringList getSecurityGroupIdsList() { + public com.google.protobuf.ProtocolStringList + getSecurityGroupIdsList() { return securityGroupIds_; } /** - * - * *
    * Optional. The IDs of additional security groups to add to nodes in this
    * pool. The manager will automatically create security groups with minimum
@@ -706,15 +602,12 @@ public com.google.protobuf.ProtocolStringList getSecurityGroupIdsList() {
    * 
* * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of securityGroupIds. */ public int getSecurityGroupIdsCount() { return securityGroupIds_.size(); } /** - * - * *
    * Optional. The IDs of additional security groups to add to nodes in this
    * pool. The manager will automatically create security groups with minimum
@@ -722,7 +615,6 @@ public int getSecurityGroupIdsCount() {
    * 
* * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The securityGroupIds at the given index. */ @@ -730,8 +622,6 @@ public java.lang.String getSecurityGroupIds(int index) { return securityGroupIds_.get(index); } /** - * - * *
    * Optional. The IDs of additional security groups to add to nodes in this
    * pool. The manager will automatically create security groups with minimum
@@ -739,27 +629,22 @@ public java.lang.String getSecurityGroupIds(int index) {
    * 
* * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the securityGroupIds at the given index. */ - public com.google.protobuf.ByteString getSecurityGroupIdsBytes(int index) { + public com.google.protobuf.ByteString + getSecurityGroupIdsBytes(int index) { return securityGroupIds_.getByteString(index); } public static final int PROXY_CONFIG_FIELD_NUMBER = 12; private com.google.cloud.gkemulticloud.v1.AwsProxyConfig proxyConfig_; /** - * - * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the proxyConfig field is set. */ @java.lang.Override @@ -767,55 +652,37 @@ public boolean hasProxyConfig() { return proxyConfig_ != null; } /** - * - * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The proxyConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsProxyConfig getProxyConfig() { - return proxyConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance() - : proxyConfig_; + return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance() : proxyConfig_; } /** - * - * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder getProxyConfigOrBuilder() { - return proxyConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance() - : proxyConfig_; + return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance() : proxyConfig_; } public static final int CONFIG_ENCRYPTION_FIELD_NUMBER = 13; private com.google.cloud.gkemulticloud.v1.AwsConfigEncryption configEncryption_; /** - * - * *
    * Required. Config encryption for user data.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the configEncryption field is set. */ @java.lang.Override @@ -823,57 +690,38 @@ public boolean hasConfigEncryption() { return configEncryption_ != null; } /** - * - * *
    * Required. Config encryption for user data.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; * @return The configEncryption. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsConfigEncryption getConfigEncryption() { - return configEncryption_ == null - ? com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance() - : configEncryption_; + return configEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance() : configEncryption_; } /** - * - * *
    * Required. Config encryption for user data.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder - getConfigEncryptionOrBuilder() { - return configEncryption_ == null - ? com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance() - : configEncryption_; + public com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder getConfigEncryptionOrBuilder() { + return configEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance() : configEncryption_; } public static final int INSTANCE_PLACEMENT_FIELD_NUMBER = 14; private com.google.cloud.gkemulticloud.v1.AwsInstancePlacement instancePlacement_; /** - * - * *
    * Optional. Placement related info for this node.
    * When unspecified, the VPC's default tenancy will be used.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the instancePlacement field is set. */ @java.lang.Override @@ -881,51 +729,34 @@ public boolean hasInstancePlacement() { return instancePlacement_ != null; } /** - * - * *
    * Optional. Placement related info for this node.
    * When unspecified, the VPC's default tenancy will be used.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return The instancePlacement. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement getInstancePlacement() { - return instancePlacement_ == null - ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance() - : instancePlacement_; + return instancePlacement_ == null ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance() : instancePlacement_; } /** - * - * *
    * Optional. Placement related info for this node.
    * When unspecified, the VPC's default tenancy will be used.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder - getInstancePlacementOrBuilder() { - return instancePlacement_ == null - ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance() - : instancePlacement_; + public com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder getInstancePlacementOrBuilder() { + return instancePlacement_ == null ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance() : instancePlacement_; } public static final int AUTOSCALING_METRICS_COLLECTION_FIELD_NUMBER = 15; - private com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection - autoscalingMetricsCollection_; + private com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscalingMetricsCollection_; /** - * - * *
    * Optional. Configuration related to CloudWatch metrics collection on the
    * Auto Scaling group of the node pool.
@@ -933,10 +764,7 @@ public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement getInstancePlaceme
    * When unspecified, metrics collection is disabled.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the autoscalingMetricsCollection field is set. */ @java.lang.Override @@ -944,8 +772,21 @@ public boolean hasAutoscalingMetricsCollection() { return autoscalingMetricsCollection_ != null; } /** + *
+   * Optional. Configuration related to CloudWatch metrics collection on the
+   * Auto Scaling group of the node pool.
    *
+   * When unspecified, metrics collection is disabled.
+   * 
* + * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + * @return The autoscalingMetricsCollection. + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection getAutoscalingMetricsCollection() { + return autoscalingMetricsCollection_ == null ? com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.getDefaultInstance() : autoscalingMetricsCollection_; + } + /** *
    * Optional. Configuration related to CloudWatch metrics collection on the
    * Auto Scaling group of the node pool.
@@ -953,45 +794,64 @@ public boolean hasAutoscalingMetricsCollection() {
    * When unspecified, metrics collection is disabled.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollectionOrBuilder getAutoscalingMetricsCollectionOrBuilder() { + return autoscalingMetricsCollection_ == null ? com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.getDefaultInstance() : autoscalingMetricsCollection_; + } + + public static final int SPOT_CONFIG_FIELD_NUMBER = 16; + private com.google.cloud.gkemulticloud.v1.SpotConfig spotConfig_; + /** + *
+   * Optional. Configuration for provisioning EC2 Spot instances
+   *
+   * When specified, the node pool will provision Spot instances from the set
+   * of spot_config.instance_types.
+   * This field is mutually exclusive with `instance_type`.
+   * 
* - * @return The autoscalingMetricsCollection. + * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the spotConfig field is set. */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection - getAutoscalingMetricsCollection() { - return autoscalingMetricsCollection_ == null - ? com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection - .getDefaultInstance() - : autoscalingMetricsCollection_; + public boolean hasSpotConfig() { + return spotConfig_ != null; } /** + *
+   * Optional. Configuration for provisioning EC2 Spot instances
    *
+   * When specified, the node pool will provision Spot instances from the set
+   * of spot_config.instance_types.
+   * This field is mutually exclusive with `instance_type`.
+   * 
* + * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @return The spotConfig. + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.SpotConfig getSpotConfig() { + return spotConfig_ == null ? com.google.cloud.gkemulticloud.v1.SpotConfig.getDefaultInstance() : spotConfig_; + } + /** *
-   * Optional. Configuration related to CloudWatch metrics collection on the
-   * Auto Scaling group of the node pool.
+   * Optional. Configuration for provisioning EC2 Spot instances
    *
-   * When unspecified, metrics collection is disabled.
+   * When specified, the node pool will provision Spot instances from the set
+   * of spot_config.instance_types.
+   * This field is mutually exclusive with `instance_type`.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollectionOrBuilder - getAutoscalingMetricsCollectionOrBuilder() { - return autoscalingMetricsCollection_ == null - ? com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection - .getDefaultInstance() - : autoscalingMetricsCollection_; + public com.google.cloud.gkemulticloud.v1.SpotConfigOrBuilder getSpotConfigOrBuilder() { + return spotConfig_ == null ? com.google.cloud.gkemulticloud.v1.SpotConfig.getDefaultInstance() : spotConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1003,7 +863,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceType_); } @@ -1013,10 +874,18 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < taints_.size(); i++) { output.writeMessage(3, taints_.get(i)); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetTags(), TagsDefaultEntryHolder.defaultEntry, 5); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetTags(), + TagsDefaultEntryHolder.defaultEntry, + 5); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(iamInstanceProfile_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, iamInstanceProfile_); } @@ -1041,6 +910,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (autoscalingMetricsCollection_ != null) { output.writeMessage(15, getAutoscalingMetricsCollection()); } + if (spotConfig_ != null) { + output.writeMessage(16, getSpotConfig()); + } getUnknownFields().writeTo(output); } @@ -1054,36 +926,39 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instanceType_); } if (rootVolume_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRootVolume()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRootVolume()); } for (int i = 0; i < taints_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, taints_.get(i)); - } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__); - } - for (java.util.Map.Entry entry : - internalGetTags().getMap().entrySet()) { - com.google.protobuf.MapEntry tags__ = - TagsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, tags__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, taints_.get(i)); + } + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, labels__); + } + for (java.util.Map.Entry entry + : internalGetTags().getMap().entrySet()) { + com.google.protobuf.MapEntry + tags__ = TagsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, tags__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(iamInstanceProfile_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, iamInstanceProfile_); } if (sshConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getSshConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getSshConfig()); } { int dataSize = 0; @@ -1097,18 +972,24 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, imageType_); } if (proxyConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getProxyConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getProxyConfig()); } if (configEncryption_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getConfigEncryption()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, getConfigEncryption()); } if (instancePlacement_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getInstancePlacement()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, getInstancePlacement()); } if (autoscalingMetricsCollection_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 15, getAutoscalingMetricsCollection()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, getAutoscalingMetricsCollection()); + } + if (spotConfig_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, getSpotConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1118,45 +999,61 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsNodeConfig)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsNodeConfig other = - (com.google.cloud.gkemulticloud.v1.AwsNodeConfig) obj; + com.google.cloud.gkemulticloud.v1.AwsNodeConfig other = (com.google.cloud.gkemulticloud.v1.AwsNodeConfig) obj; - if (!getInstanceType().equals(other.getInstanceType())) return false; + if (!getInstanceType() + .equals(other.getInstanceType())) return false; if (hasRootVolume() != other.hasRootVolume()) return false; if (hasRootVolume()) { - if (!getRootVolume().equals(other.getRootVolume())) return false; - } - if (!getTaintsList().equals(other.getTaintsList())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!internalGetTags().equals(other.internalGetTags())) return false; - if (!getIamInstanceProfile().equals(other.getIamInstanceProfile())) return false; - if (!getImageType().equals(other.getImageType())) return false; + if (!getRootVolume() + .equals(other.getRootVolume())) return false; + } + if (!getTaintsList() + .equals(other.getTaintsList())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!internalGetTags().equals( + other.internalGetTags())) return false; + if (!getIamInstanceProfile() + .equals(other.getIamInstanceProfile())) return false; + if (!getImageType() + .equals(other.getImageType())) return false; if (hasSshConfig() != other.hasSshConfig()) return false; if (hasSshConfig()) { - if (!getSshConfig().equals(other.getSshConfig())) return false; + if (!getSshConfig() + .equals(other.getSshConfig())) return false; } - if (!getSecurityGroupIdsList().equals(other.getSecurityGroupIdsList())) return false; + if (!getSecurityGroupIdsList() + .equals(other.getSecurityGroupIdsList())) return false; if (hasProxyConfig() != other.hasProxyConfig()) return false; if (hasProxyConfig()) { - if (!getProxyConfig().equals(other.getProxyConfig())) return false; + if (!getProxyConfig() + .equals(other.getProxyConfig())) return false; } if (hasConfigEncryption() != other.hasConfigEncryption()) return false; if (hasConfigEncryption()) { - if (!getConfigEncryption().equals(other.getConfigEncryption())) return false; + if (!getConfigEncryption() + .equals(other.getConfigEncryption())) return false; } if (hasInstancePlacement() != other.hasInstancePlacement()) return false; if (hasInstancePlacement()) { - if (!getInstancePlacement().equals(other.getInstancePlacement())) return false; + if (!getInstancePlacement() + .equals(other.getInstancePlacement())) return false; } if (hasAutoscalingMetricsCollection() != other.hasAutoscalingMetricsCollection()) return false; if (hasAutoscalingMetricsCollection()) { - if (!getAutoscalingMetricsCollection().equals(other.getAutoscalingMetricsCollection())) - return false; + if (!getAutoscalingMetricsCollection() + .equals(other.getAutoscalingMetricsCollection())) return false; + } + if (hasSpotConfig() != other.hasSpotConfig()) return false; + if (hasSpotConfig()) { + if (!getSpotConfig() + .equals(other.getSpotConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1215,165 +1112,167 @@ public int hashCode() { hash = (37 * hash) + AUTOSCALING_METRICS_COLLECTION_FIELD_NUMBER; hash = (53 * hash) + getAutoscalingMetricsCollection().hashCode(); } + if (hasSpotConfig()) { + hash = (37 * hash) + SPOT_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getSpotConfig().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.gkemulticloud.v1.AwsNodeConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.gkemulticloud.v1.AwsNodeConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsNodeConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsNodeConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsNodeConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsNodeConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsNodeConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsNodeConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsNodeConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsNodeConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsNodeConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsNodeConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsNodeConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsNodeConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsNodeConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Parameters that describe the nodes in a cluster.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsNodeConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsNodeConfig) com.google.cloud.gkemulticloud.v1.AwsNodeConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return internalGetLabels(); case 5: return internalGetTags(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 4: return internalGetMutableLabels(); case 5: return internalGetMutableTags(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsNodeConfig.class, - com.google.cloud.gkemulticloud.v1.AwsNodeConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsNodeConfig.class, com.google.cloud.gkemulticloud.v1.AwsNodeConfig.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AwsNodeConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1400,7 +1299,8 @@ public Builder clear() { sshConfigBuilder_.dispose(); sshConfigBuilder_ = null; } - securityGroupIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + securityGroupIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); proxyConfig_ = null; if (proxyConfigBuilder_ != null) { proxyConfigBuilder_.dispose(); @@ -1421,13 +1321,18 @@ public Builder clear() { autoscalingMetricsCollectionBuilder_.dispose(); autoscalingMetricsCollectionBuilder_ = null; } + spotConfig_ = null; + if (spotConfigBuilder_ != null) { + spotConfigBuilder_.dispose(); + spotConfigBuilder_ = null; + } return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_descriptor; } @java.lang.Override @@ -1446,18 +1351,14 @@ public com.google.cloud.gkemulticloud.v1.AwsNodeConfig build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsNodeConfig buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsNodeConfig result = - new com.google.cloud.gkemulticloud.v1.AwsNodeConfig(this); + com.google.cloud.gkemulticloud.v1.AwsNodeConfig result = new com.google.cloud.gkemulticloud.v1.AwsNodeConfig(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.gkemulticloud.v1.AwsNodeConfig result) { + private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.AwsNodeConfig result) { if (taintsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { taints_ = java.util.Collections.unmodifiableList(taints_); @@ -1475,7 +1376,9 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsNodeConfig resul result.instanceType_ = instanceType_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.rootVolume_ = rootVolumeBuilder_ == null ? rootVolume_ : rootVolumeBuilder_.build(); + result.rootVolume_ = rootVolumeBuilder_ == null + ? rootVolume_ + : rootVolumeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.labels_ = internalGetLabels(); @@ -1492,31 +1395,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsNodeConfig resul result.imageType_ = imageType_; } if (((from_bitField0_ & 0x00000080) != 0)) { - result.sshConfig_ = sshConfigBuilder_ == null ? sshConfig_ : sshConfigBuilder_.build(); + result.sshConfig_ = sshConfigBuilder_ == null + ? sshConfig_ + : sshConfigBuilder_.build(); } if (((from_bitField0_ & 0x00000100) != 0)) { securityGroupIds_.makeImmutable(); result.securityGroupIds_ = securityGroupIds_; } if (((from_bitField0_ & 0x00000200) != 0)) { - result.proxyConfig_ = - proxyConfigBuilder_ == null ? proxyConfig_ : proxyConfigBuilder_.build(); + result.proxyConfig_ = proxyConfigBuilder_ == null + ? proxyConfig_ + : proxyConfigBuilder_.build(); } if (((from_bitField0_ & 0x00000400) != 0)) { - result.configEncryption_ = - configEncryptionBuilder_ == null ? configEncryption_ : configEncryptionBuilder_.build(); + result.configEncryption_ = configEncryptionBuilder_ == null + ? configEncryption_ + : configEncryptionBuilder_.build(); } if (((from_bitField0_ & 0x00000800) != 0)) { - result.instancePlacement_ = - instancePlacementBuilder_ == null - ? instancePlacement_ - : instancePlacementBuilder_.build(); + result.instancePlacement_ = instancePlacementBuilder_ == null + ? instancePlacement_ + : instancePlacementBuilder_.build(); } if (((from_bitField0_ & 0x00001000) != 0)) { - result.autoscalingMetricsCollection_ = - autoscalingMetricsCollectionBuilder_ == null - ? autoscalingMetricsCollection_ - : autoscalingMetricsCollectionBuilder_.build(); + result.autoscalingMetricsCollection_ = autoscalingMetricsCollectionBuilder_ == null + ? autoscalingMetricsCollection_ + : autoscalingMetricsCollectionBuilder_.build(); + } + if (((from_bitField0_ & 0x00002000) != 0)) { + result.spotConfig_ = spotConfigBuilder_ == null + ? spotConfig_ + : spotConfigBuilder_.build(); } } @@ -1524,39 +1434,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsNodeConfig resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AwsNodeConfig) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsNodeConfig) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsNodeConfig)other); } else { super.mergeFrom(other); return this; @@ -1564,8 +1473,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsNodeConfig other) { - if (other == com.google.cloud.gkemulticloud.v1.AwsNodeConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.AwsNodeConfig.getDefaultInstance()) return this; if (!other.getInstanceType().isEmpty()) { instanceType_ = other.instanceType_; bitField0_ |= 0x00000001; @@ -1592,18 +1500,19 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsNodeConfig other) taintsBuilder_ = null; taints_ = other.taints_; bitField0_ = (bitField0_ & ~0x00000004); - taintsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTaintsFieldBuilder() - : null; + taintsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTaintsFieldBuilder() : null; } else { taintsBuilder_.addAllMessages(other.taints_); } } } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); bitField0_ |= 0x00000008; - internalGetMutableTags().mergeFrom(other.internalGetTags()); + internalGetMutableTags().mergeFrom( + other.internalGetTags()); bitField0_ |= 0x00000010; if (!other.getIamInstanceProfile().isEmpty()) { iamInstanceProfile_ = other.iamInstanceProfile_; @@ -1640,6 +1549,9 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsNodeConfig other) if (other.hasAutoscalingMetricsCollection()) { mergeAutoscalingMetricsCollection(other.getAutoscalingMetricsCollection()); } + if (other.hasSpotConfig()) { + mergeSpotConfig(other.getSpotConfig()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1666,111 +1578,113 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - instanceType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getRootVolumeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - com.google.cloud.gkemulticloud.v1.NodeTaint m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.NodeTaint.parser(), extensionRegistry); - if (taintsBuilder_ == null) { - ensureTaintsIsMutable(); - taints_.add(m); - } else { - taintsBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: - { - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableLabels() - .getMutableMap() - .put(labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - com.google.protobuf.MapEntry tags__ = - input.readMessage( - TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableTags().getMutableMap().put(tags__.getKey(), tags__.getValue()); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - iamInstanceProfile_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 74: - { - input.readMessage(getSshConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 74 - case 82: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureSecurityGroupIdsIsMutable(); - securityGroupIds_.add(s); - break; - } // case 82 - case 90: - { - imageType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 90 - case 98: - { - input.readMessage(getProxyConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000200; - break; - } // case 98 - case 106: - { - input.readMessage( - getConfigEncryptionFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000400; - break; - } // case 106 - case 114: - { - input.readMessage( - getInstancePlacementFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000800; - break; - } // case 114 - case 122: - { - input.readMessage( - getAutoscalingMetricsCollectionFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00001000; - break; - } // case 122 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + instanceType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getRootVolumeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + com.google.cloud.gkemulticloud.v1.NodeTaint m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.NodeTaint.parser(), + extensionRegistry); + if (taintsBuilder_ == null) { + ensureTaintsIsMutable(); + taints_.add(m); + } else { + taintsBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: { + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLabels().getMutableMap().put( + labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + com.google.protobuf.MapEntry + tags__ = input.readMessage( + TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableTags().getMutableMap().put( + tags__.getKey(), tags__.getValue()); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + iamInstanceProfile_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 74: { + input.readMessage( + getSshConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 74 + case 82: { + java.lang.String s = input.readStringRequireUtf8(); + ensureSecurityGroupIdsIsMutable(); + securityGroupIds_.add(s); + break; + } // case 82 + case 90: { + imageType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 90 + case 98: { + input.readMessage( + getProxyConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 98 + case 106: { + input.readMessage( + getConfigEncryptionFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 106 + case 114: { + input.readMessage( + getInstancePlacementFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000800; + break; + } // case 114 + case 122: { + input.readMessage( + getAutoscalingMetricsCollectionFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00001000; + break; + } // case 122 + case 130: { + input.readMessage( + getSpotConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00002000; + break; + } // case 130 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1780,27 +1694,25 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object instanceType_ = ""; /** - * - * *
-     * Optional. The AWS instance type.
+     * Optional. The EC2 instance type when creating on-Demand instances.
      *
-     * When unspecified, it uses a default based on the node pool's version.
+     * If unspecified during node pool creation, a default will be chosen based on
+     * the node pool version, and assigned to this field.
      * 
* * string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The instanceType. */ public java.lang.String getInstanceType() { java.lang.Object ref = instanceType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceType_ = s; return s; @@ -1809,23 +1721,23 @@ public java.lang.String getInstanceType() { } } /** - * - * *
-     * Optional. The AWS instance type.
+     * Optional. The EC2 instance type when creating on-Demand instances.
      *
-     * When unspecified, it uses a default based on the node pool's version.
+     * If unspecified during node pool creation, a default will be chosen based on
+     * the node pool version, and assigned to this field.
      * 
* * string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for instanceType. */ - public com.google.protobuf.ByteString getInstanceTypeBytes() { + public com.google.protobuf.ByteString + getInstanceTypeBytes() { java.lang.Object ref = instanceType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceType_ = b; return b; } else { @@ -1833,39 +1745,34 @@ public com.google.protobuf.ByteString getInstanceTypeBytes() { } } /** - * - * *
-     * Optional. The AWS instance type.
+     * Optional. The EC2 instance type when creating on-Demand instances.
      *
-     * When unspecified, it uses a default based on the node pool's version.
+     * If unspecified during node pool creation, a default will be chosen based on
+     * the node pool version, and assigned to this field.
      * 
* * string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The instanceType to set. * @return This builder for chaining. */ - public Builder setInstanceType(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceType_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
-     * Optional. The AWS instance type.
+     * Optional. The EC2 instance type when creating on-Demand instances.
      *
-     * When unspecified, it uses a default based on the node pool's version.
+     * If unspecified during node pool creation, a default will be chosen based on
+     * the node pool version, and assigned to this field.
      * 
* * string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearInstanceType() { @@ -1875,23 +1782,20 @@ public Builder clearInstanceType() { return this; } /** - * - * *
-     * Optional. The AWS instance type.
+     * Optional. The EC2 instance type when creating on-Demand instances.
      *
-     * When unspecified, it uses a default based on the node pool's version.
+     * If unspecified during node pool creation, a default will be chosen based on
+     * the node pool version, and assigned to this field.
      * 
* * string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for instanceType to set. * @return This builder for chaining. */ - public Builder setInstanceTypeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceType_ = value; bitField0_ |= 0x00000001; @@ -1901,13 +1805,8 @@ public Builder setInstanceTypeBytes(com.google.protobuf.ByteString value) { private com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate rootVolume_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder> - rootVolumeBuilder_; + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder> rootVolumeBuilder_; /** - * - * *
      * Optional. Template for the root volume provisioned for node pool nodes.
      * Volumes will be provisioned in the availability zone assigned
@@ -1916,18 +1815,13 @@ public Builder setInstanceTypeBytes(com.google.protobuf.ByteString value) {
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the rootVolume field is set. */ public boolean hasRootVolume() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Optional. Template for the root volume provisioned for node pool nodes.
      * Volumes will be provisioned in the availability zone assigned
@@ -1936,24 +1830,17 @@ public boolean hasRootVolume() {
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The rootVolume. */ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getRootVolume() { if (rootVolumeBuilder_ == null) { - return rootVolume_ == null - ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() - : rootVolume_; + return rootVolume_ == null ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() : rootVolume_; } else { return rootVolumeBuilder_.getMessage(); } } /** - * - * *
      * Optional. Template for the root volume provisioned for node pool nodes.
      * Volumes will be provisioned in the availability zone assigned
@@ -1962,9 +1849,7 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getRootVolume() {
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setRootVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate value) { if (rootVolumeBuilder_ == null) { @@ -1980,8 +1865,6 @@ public Builder setRootVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate return this; } /** - * - * *
      * Optional. Template for the root volume provisioned for node pool nodes.
      * Volumes will be provisioned in the availability zone assigned
@@ -1990,9 +1873,7 @@ public Builder setRootVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setRootVolume( com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder builderForValue) { @@ -2006,8 +1887,6 @@ public Builder setRootVolume( return this; } /** - * - * *
      * Optional. Template for the root volume provisioned for node pool nodes.
      * Volumes will be provisioned in the availability zone assigned
@@ -2016,16 +1895,13 @@ public Builder setRootVolume(
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeRootVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate value) { if (rootVolumeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && rootVolume_ != null - && rootVolume_ - != com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + rootVolume_ != null && + rootVolume_ != com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance()) { getRootVolumeBuilder().mergeFrom(value); } else { rootVolume_ = value; @@ -2038,8 +1914,6 @@ public Builder mergeRootVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTempla return this; } /** - * - * *
      * Optional. Template for the root volume provisioned for node pool nodes.
      * Volumes will be provisioned in the availability zone assigned
@@ -2048,9 +1922,7 @@ public Builder mergeRootVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTempla
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearRootVolume() { bitField0_ = (bitField0_ & ~0x00000002); @@ -2063,8 +1935,6 @@ public Builder clearRootVolume() { return this; } /** - * - * *
      * Optional. Template for the root volume provisioned for node pool nodes.
      * Volumes will be provisioned in the availability zone assigned
@@ -2073,9 +1943,7 @@ public Builder clearRootVolume() {
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder getRootVolumeBuilder() { bitField0_ |= 0x00000002; @@ -2083,8 +1951,6 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder getRootVolume return getRootVolumeFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Template for the root volume provisioned for node pool nodes.
      * Volumes will be provisioned in the availability zone assigned
@@ -2093,22 +1959,17 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder getRootVolume
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getRootVolumeOrBuilder() { if (rootVolumeBuilder_ != null) { return rootVolumeBuilder_.getMessageOrBuilder(); } else { - return rootVolume_ == null - ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() - : rootVolume_; + return rootVolume_ == null ? + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() : rootVolume_; } } /** - * - * *
      * Optional. Template for the root volume provisioned for node pool nodes.
      * Volumes will be provisioned in the availability zone assigned
@@ -2117,53 +1978,40 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getRootVolum
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder> getRootVolumeFieldBuilder() { if (rootVolumeBuilder_ == null) { - rootVolumeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder>( - getRootVolume(), getParentForChildren(), isClean()); + rootVolumeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder>( + getRootVolume(), + getParentForChildren(), + isClean()); rootVolume_ = null; } return rootVolumeBuilder_; } private java.util.List taints_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTaintsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { taints_ = new java.util.ArrayList(taints_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.NodeTaint, - com.google.cloud.gkemulticloud.v1.NodeTaint.Builder, - com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder> - taintsBuilder_; + com.google.cloud.gkemulticloud.v1.NodeTaint, com.google.cloud.gkemulticloud.v1.NodeTaint.Builder, com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder> taintsBuilder_; /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public java.util.List getTaintsList() { if (taintsBuilder_ == null) { @@ -2173,15 +2021,11 @@ public java.util.List getTaintsList } } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public int getTaintsCount() { if (taintsBuilder_ == null) { @@ -2191,15 +2035,11 @@ public int getTaintsCount() { } } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.NodeTaint getTaints(int index) { if (taintsBuilder_ == null) { @@ -2209,17 +2049,14 @@ public com.google.cloud.gkemulticloud.v1.NodeTaint getTaints(int index) { } } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setTaints(int index, com.google.cloud.gkemulticloud.v1.NodeTaint value) { + public Builder setTaints( + int index, com.google.cloud.gkemulticloud.v1.NodeTaint value) { if (taintsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2233,15 +2070,11 @@ public Builder setTaints(int index, com.google.cloud.gkemulticloud.v1.NodeTaint return this; } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setTaints( int index, com.google.cloud.gkemulticloud.v1.NodeTaint.Builder builderForValue) { @@ -2255,15 +2088,11 @@ public Builder setTaints( return this; } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addTaints(com.google.cloud.gkemulticloud.v1.NodeTaint value) { if (taintsBuilder_ == null) { @@ -2279,17 +2108,14 @@ public Builder addTaints(com.google.cloud.gkemulticloud.v1.NodeTaint value) { return this; } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder addTaints(int index, com.google.cloud.gkemulticloud.v1.NodeTaint value) { + public Builder addTaints( + int index, com.google.cloud.gkemulticloud.v1.NodeTaint value) { if (taintsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2303,17 +2129,14 @@ public Builder addTaints(int index, com.google.cloud.gkemulticloud.v1.NodeTaint return this; } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder addTaints(com.google.cloud.gkemulticloud.v1.NodeTaint.Builder builderForValue) { + public Builder addTaints( + com.google.cloud.gkemulticloud.v1.NodeTaint.Builder builderForValue) { if (taintsBuilder_ == null) { ensureTaintsIsMutable(); taints_.add(builderForValue.build()); @@ -2324,15 +2147,11 @@ public Builder addTaints(com.google.cloud.gkemulticloud.v1.NodeTaint.Builder bui return this; } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addTaints( int index, com.google.cloud.gkemulticloud.v1.NodeTaint.Builder builderForValue) { @@ -2346,21 +2165,18 @@ public Builder addTaints( return this; } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAllTaints( java.lang.Iterable values) { if (taintsBuilder_ == null) { ensureTaintsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taints_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, taints_); onChanged(); } else { taintsBuilder_.addAllMessages(values); @@ -2368,15 +2184,11 @@ public Builder addAllTaints( return this; } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearTaints() { if (taintsBuilder_ == null) { @@ -2389,15 +2201,11 @@ public Builder clearTaints() { return this; } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder removeTaints(int index) { if (taintsBuilder_ == null) { @@ -2410,50 +2218,39 @@ public Builder removeTaints(int index) { return this; } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.gkemulticloud.v1.NodeTaint.Builder getTaintsBuilder(int index) { + public com.google.cloud.gkemulticloud.v1.NodeTaint.Builder getTaintsBuilder( + int index) { return getTaintsFieldBuilder().getBuilder(index); } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index) { + public com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder( + int index) { if (taintsBuilder_ == null) { - return taints_.get(index); - } else { + return taints_.get(index); } else { return taintsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getTaintsOrBuilderList() { + public java.util.List + getTaintsOrBuilderList() { if (taintsBuilder_ != null) { return taintsBuilder_.getMessageOrBuilderList(); } else { @@ -2461,81 +2258,69 @@ public com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder(i } } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.NodeTaint.Builder addTaintsBuilder() { - return getTaintsFieldBuilder() - .addBuilder(com.google.cloud.gkemulticloud.v1.NodeTaint.getDefaultInstance()); + return getTaintsFieldBuilder().addBuilder( + com.google.cloud.gkemulticloud.v1.NodeTaint.getDefaultInstance()); } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.gkemulticloud.v1.NodeTaint.Builder addTaintsBuilder(int index) { - return getTaintsFieldBuilder() - .addBuilder(index, com.google.cloud.gkemulticloud.v1.NodeTaint.getDefaultInstance()); + public com.google.cloud.gkemulticloud.v1.NodeTaint.Builder addTaintsBuilder( + int index) { + return getTaintsFieldBuilder().addBuilder( + index, com.google.cloud.gkemulticloud.v1.NodeTaint.getDefaultInstance()); } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getTaintsBuilderList() { + public java.util.List + getTaintsBuilderList() { return getTaintsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.NodeTaint, - com.google.cloud.gkemulticloud.v1.NodeTaint.Builder, - com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder> + com.google.cloud.gkemulticloud.v1.NodeTaint, com.google.cloud.gkemulticloud.v1.NodeTaint.Builder, com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder> getTaintsFieldBuilder() { if (taintsBuilder_ == null) { - taintsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.NodeTaint, - com.google.cloud.gkemulticloud.v1.NodeTaint.Builder, - com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder>( - taints_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + taintsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.NodeTaint, com.google.cloud.gkemulticloud.v1.NodeTaint.Builder, com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder>( + taints_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); taints_ = null; } return taintsBuilder_; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2544,13 +2329,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Optional. The initial labels assigned to nodes of this node pool. An object
      * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -2560,21 +2342,20 @@ public int getLabelsCount() {
      * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getLabelsMap()} instead. */
+    /**
+     * Use {@link #getLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
-     *
-     *
      * 
      * Optional. The initial labels assigned to nodes of this node pool. An object
      * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -2588,8 +2369,6 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Optional. The initial labels assigned to nodes of this node pool. An object
      * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -2599,19 +2378,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getLabelsOrDefault(
+    public /* nullable */
+java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Optional. The initial labels assigned to nodes of this node pool. An object
      * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -2621,25 +2398,23 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000008);
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. The initial labels assigned to nodes of this node pool. An object
      * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -2648,22 +2423,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableLabels() {
+    public java.util.Map
+        getMutableLabels() {
       bitField0_ |= 0x00000008;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Optional. The initial labels assigned to nodes of this node pool. An object
      * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -2672,20 +2448,17 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableLabels().getMutableMap().put(key, value);
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000008;
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. The initial labels assigned to nodes of this node pool. An object
      * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -2694,25 +2467,29 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000008;
       return this;
     }
 
-    private com.google.protobuf.MapField tags_;
-
-    private com.google.protobuf.MapField internalGetTags() {
+    private com.google.protobuf.MapField<
+        java.lang.String, java.lang.String> tags_;
+    private com.google.protobuf.MapField
+        internalGetTags() {
       if (tags_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(TagsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(
+            TagsDefaultEntryHolder.defaultEntry);
       }
       return tags_;
     }
-
     private com.google.protobuf.MapField
         internalGetMutableTags() {
       if (tags_ == null) {
-        tags_ = com.google.protobuf.MapField.newMapField(TagsDefaultEntryHolder.defaultEntry);
+        tags_ = com.google.protobuf.MapField.newMapField(
+            TagsDefaultEntryHolder.defaultEntry);
       }
       if (!tags_.isMutable()) {
         tags_ = tags_.copy();
@@ -2721,13 +2498,10 @@ private com.google.protobuf.MapField interna
       onChanged();
       return tags_;
     }
-
     public int getTagsCount() {
       return internalGetTags().getMap().size();
     }
     /**
-     *
-     *
      * 
      * Optional. Key/value metadata to assign to each underlying AWS resource.
      * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
@@ -2738,21 +2512,20 @@ public int getTagsCount() {
      * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public boolean containsTags(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsTags(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetTags().getMap().containsKey(key);
     }
-    /** Use {@link #getTagsMap()} instead. */
+    /**
+     * Use {@link #getTagsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getTags() {
       return getTagsMap();
     }
     /**
-     *
-     *
      * 
      * Optional. Key/value metadata to assign to each underlying AWS resource.
      * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
@@ -2767,8 +2540,6 @@ public java.util.Map getTagsMap() {
       return internalGetTags().getMap();
     }
     /**
-     *
-     *
      * 
      * Optional. Key/value metadata to assign to each underlying AWS resource.
      * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
@@ -2779,19 +2550,17 @@ public java.util.Map getTagsMap() {
      * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getTagsOrDefault(
+    public /* nullable */
+java.lang.String getTagsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetTags().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetTags().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Optional. Key/value metadata to assign to each underlying AWS resource.
      * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
@@ -2802,25 +2571,23 @@ public java.util.Map getTagsMap() {
      * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public java.lang.String getTagsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetTags().getMap();
+    public java.lang.String getTagsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetTags().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearTags() {
       bitField0_ = (bitField0_ & ~0x00000010);
-      internalGetMutableTags().getMutableMap().clear();
+      internalGetMutableTags().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. Key/value metadata to assign to each underlying AWS resource.
      * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
@@ -2830,22 +2597,23 @@ public Builder clearTags() {
      *
      * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder removeTags(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableTags().getMutableMap().remove(key);
+    public Builder removeTags(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableTags().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableTags() {
+    public java.util.Map
+        getMutableTags() {
       bitField0_ |= 0x00000010;
       return internalGetMutableTags().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Optional. Key/value metadata to assign to each underlying AWS resource.
      * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
@@ -2855,20 +2623,17 @@ public java.util.Map getMutableTags() {
      *
      * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putTags(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableTags().getMutableMap().put(key, value);
+    public Builder putTags(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableTags().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000010;
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. Key/value metadata to assign to each underlying AWS resource.
      * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
@@ -2878,29 +2643,29 @@ public Builder putTags(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putAllTags(java.util.Map values) {
-      internalGetMutableTags().getMutableMap().putAll(values);
+    public Builder putAllTags(
+        java.util.Map values) {
+      internalGetMutableTags().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000010;
       return this;
     }
 
     private java.lang.Object iamInstanceProfile_ = "";
     /**
-     *
-     *
      * 
      * Required. The name or ARN of the AWS IAM role assigned to nodes in the
      * pool.
      * 
* * string iam_instance_profile = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The iamInstanceProfile. */ public java.lang.String getIamInstanceProfile() { java.lang.Object ref = iamInstanceProfile_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); iamInstanceProfile_ = s; return s; @@ -2909,22 +2674,21 @@ public java.lang.String getIamInstanceProfile() { } } /** - * - * *
      * Required. The name or ARN of the AWS IAM role assigned to nodes in the
      * pool.
      * 
* * string iam_instance_profile = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for iamInstanceProfile. */ - public com.google.protobuf.ByteString getIamInstanceProfileBytes() { + public com.google.protobuf.ByteString + getIamInstanceProfileBytes() { java.lang.Object ref = iamInstanceProfile_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); iamInstanceProfile_ = b; return b; } else { @@ -2932,37 +2696,30 @@ public com.google.protobuf.ByteString getIamInstanceProfileBytes() { } } /** - * - * *
      * Required. The name or ARN of the AWS IAM role assigned to nodes in the
      * pool.
      * 
* * string iam_instance_profile = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The iamInstanceProfile to set. * @return This builder for chaining. */ - public Builder setIamInstanceProfile(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIamInstanceProfile( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } iamInstanceProfile_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Required. The name or ARN of the AWS IAM role assigned to nodes in the
      * pool.
      * 
* * string iam_instance_profile = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearIamInstanceProfile() { @@ -2972,22 +2729,18 @@ public Builder clearIamInstanceProfile() { return this; } /** - * - * *
      * Required. The name or ARN of the AWS IAM role assigned to nodes in the
      * pool.
      * 
* * string iam_instance_profile = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for iamInstanceProfile to set. * @return This builder for chaining. */ - public Builder setIamInstanceProfileBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIamInstanceProfileBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); iamInstanceProfile_ = value; bitField0_ |= 0x00000020; @@ -2997,24 +2750,21 @@ public Builder setIamInstanceProfileBytes(com.google.protobuf.ByteString value) private java.lang.Object imageType_ = ""; /** - * - * *
      * Optional. The OS image type to use on node pool instances.
-     * Can have a value of `ubuntu`, or `windows` if the cluster enables
-     * the Windows node pool preview feature.
+     * Can be unspecified, or have a value of `ubuntu`.
      *
      * When unspecified, it defaults to `ubuntu`.
      * 
* * string image_type = 11 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The imageType. */ public java.lang.String getImageType() { java.lang.Object ref = imageType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; @@ -3023,25 +2773,23 @@ public java.lang.String getImageType() { } } /** - * - * *
      * Optional. The OS image type to use on node pool instances.
-     * Can have a value of `ubuntu`, or `windows` if the cluster enables
-     * the Windows node pool preview feature.
+     * Can be unspecified, or have a value of `ubuntu`.
      *
      * When unspecified, it defaults to `ubuntu`.
      * 
* * string image_type = 11 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for imageType. */ - public com.google.protobuf.ByteString getImageTypeBytes() { + public com.google.protobuf.ByteString + getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageType_ = b; return b; } else { @@ -3049,43 +2797,34 @@ public com.google.protobuf.ByteString getImageTypeBytes() { } } /** - * - * *
      * Optional. The OS image type to use on node pool instances.
-     * Can have a value of `ubuntu`, or `windows` if the cluster enables
-     * the Windows node pool preview feature.
+     * Can be unspecified, or have a value of `ubuntu`.
      *
      * When unspecified, it defaults to `ubuntu`.
      * 
* * string image_type = 11 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The imageType to set. * @return This builder for chaining. */ - public Builder setImageType(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setImageType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } imageType_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Optional. The OS image type to use on node pool instances.
-     * Can have a value of `ubuntu`, or `windows` if the cluster enables
-     * the Windows node pool preview feature.
+     * Can be unspecified, or have a value of `ubuntu`.
      *
      * When unspecified, it defaults to `ubuntu`.
      * 
* * string image_type = 11 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearImageType() { @@ -3095,25 +2834,20 @@ public Builder clearImageType() { return this; } /** - * - * *
      * Optional. The OS image type to use on node pool instances.
-     * Can have a value of `ubuntu`, or `windows` if the cluster enables
-     * the Windows node pool preview feature.
+     * Can be unspecified, or have a value of `ubuntu`.
      *
      * When unspecified, it defaults to `ubuntu`.
      * 
* * string image_type = 11 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for imageType to set. * @return This builder for chaining. */ - public Builder setImageTypeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setImageTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); imageType_ = value; bitField0_ |= 0x00000040; @@ -3123,58 +2857,39 @@ public Builder setImageTypeBytes(com.google.protobuf.ByteString value) { private com.google.cloud.gkemulticloud.v1.AwsSshConfig sshConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsSshConfig, - com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder, - com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder> - sshConfigBuilder_; + com.google.cloud.gkemulticloud.v1.AwsSshConfig, com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder, com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder> sshConfigBuilder_; /** - * - * *
      * Optional. The SSH configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the sshConfig field is set. */ public boolean hasSshConfig() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * Optional. The SSH configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The sshConfig. */ public com.google.cloud.gkemulticloud.v1.AwsSshConfig getSshConfig() { if (sshConfigBuilder_ == null) { - return sshConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance() - : sshConfig_; + return sshConfig_ == null ? com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance() : sshConfig_; } else { return sshConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. The SSH configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setSshConfig(com.google.cloud.gkemulticloud.v1.AwsSshConfig value) { if (sshConfigBuilder_ == null) { @@ -3190,15 +2905,11 @@ public Builder setSshConfig(com.google.cloud.gkemulticloud.v1.AwsSshConfig value return this; } /** - * - * *
      * Optional. The SSH configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setSshConfig( com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder builderForValue) { @@ -3212,21 +2923,17 @@ public Builder setSshConfig( return this; } /** - * - * *
      * Optional. The SSH configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeSshConfig(com.google.cloud.gkemulticloud.v1.AwsSshConfig value) { if (sshConfigBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) - && sshConfig_ != null - && sshConfig_ != com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) && + sshConfig_ != null && + sshConfig_ != com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance()) { getSshConfigBuilder().mergeFrom(value); } else { sshConfig_ = value; @@ -3239,15 +2946,11 @@ public Builder mergeSshConfig(com.google.cloud.gkemulticloud.v1.AwsSshConfig val return this; } /** - * - * *
      * Optional. The SSH configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearSshConfig() { bitField0_ = (bitField0_ & ~0x00000080); @@ -3260,15 +2963,11 @@ public Builder clearSshConfig() { return this; } /** - * - * *
      * Optional. The SSH configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder getSshConfigBuilder() { bitField0_ |= 0x00000080; @@ -3276,48 +2975,36 @@ public com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder getSshConfigBuilde return getSshConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The SSH configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder getSshConfigOrBuilder() { if (sshConfigBuilder_ != null) { return sshConfigBuilder_.getMessageOrBuilder(); } else { - return sshConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance() - : sshConfig_; + return sshConfig_ == null ? + com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance() : sshConfig_; } } /** - * - * *
      * Optional. The SSH configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsSshConfig, - com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder, - com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsSshConfig, com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder, com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder> getSshConfigFieldBuilder() { if (sshConfigBuilder_ == null) { - sshConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsSshConfig, - com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder, - com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder>( - getSshConfig(), getParentForChildren(), isClean()); + sshConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsSshConfig, com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder, com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder>( + getSshConfig(), + getParentForChildren(), + isClean()); sshConfig_ = null; } return sshConfigBuilder_; @@ -3325,7 +3012,6 @@ public com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder getSshConfigOrBui private com.google.protobuf.LazyStringArrayList securityGroupIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureSecurityGroupIdsIsMutable() { if (!securityGroupIds_.isModifiable()) { securityGroupIds_ = new com.google.protobuf.LazyStringArrayList(securityGroupIds_); @@ -3333,52 +3019,41 @@ private void ensureSecurityGroupIdsIsMutable() { bitField0_ |= 0x00000100; } /** - * - * *
      * Optional. The IDs of additional security groups to add to nodes in this
      * pool. The manager will automatically create security groups with minimum
      * rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the securityGroupIds. */ - public com.google.protobuf.ProtocolStringList getSecurityGroupIdsList() { + public com.google.protobuf.ProtocolStringList + getSecurityGroupIdsList() { securityGroupIds_.makeImmutable(); return securityGroupIds_; } /** - * - * *
      * Optional. The IDs of additional security groups to add to nodes in this
      * pool. The manager will automatically create security groups with minimum
      * rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of securityGroupIds. */ public int getSecurityGroupIdsCount() { return securityGroupIds_.size(); } /** - * - * *
      * Optional. The IDs of additional security groups to add to nodes in this
      * pool. The manager will automatically create security groups with minimum
      * rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The securityGroupIds at the given index. */ @@ -3386,43 +3061,35 @@ public java.lang.String getSecurityGroupIds(int index) { return securityGroupIds_.get(index); } /** - * - * *
      * Optional. The IDs of additional security groups to add to nodes in this
      * pool. The manager will automatically create security groups with minimum
      * rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The bytes of the securityGroupIds at the given index. */ - public com.google.protobuf.ByteString getSecurityGroupIdsBytes(int index) { + public com.google.protobuf.ByteString + getSecurityGroupIdsBytes(int index) { return securityGroupIds_.getByteString(index); } /** - * - * *
      * Optional. The IDs of additional security groups to add to nodes in this
      * pool. The manager will automatically create security groups with minimum
      * rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index to set the value at. * @param value The securityGroupIds to set. * @return This builder for chaining. */ - public Builder setSecurityGroupIds(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSecurityGroupIds( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSecurityGroupIdsIsMutable(); securityGroupIds_.set(index, value); bitField0_ |= 0x00000100; @@ -3430,24 +3097,19 @@ public Builder setSecurityGroupIds(int index, java.lang.String value) { return this; } /** - * - * *
      * Optional. The IDs of additional security groups to add to nodes in this
      * pool. The manager will automatically create security groups with minimum
      * rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; * @param value The securityGroupIds to add. * @return This builder for chaining. */ - public Builder addSecurityGroupIds(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSecurityGroupIds( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSecurityGroupIdsIsMutable(); securityGroupIds_.add(value); bitField0_ |= 0x00000100; @@ -3455,67 +3117,56 @@ public Builder addSecurityGroupIds(java.lang.String value) { return this; } /** - * - * *
      * Optional. The IDs of additional security groups to add to nodes in this
      * pool. The manager will automatically create security groups with minimum
      * rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; * @param values The securityGroupIds to add. * @return This builder for chaining. */ - public Builder addAllSecurityGroupIds(java.lang.Iterable values) { + public Builder addAllSecurityGroupIds( + java.lang.Iterable values) { ensureSecurityGroupIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, securityGroupIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, securityGroupIds_); bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * Optional. The IDs of additional security groups to add to nodes in this
      * pool. The manager will automatically create security groups with minimum
      * rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearSecurityGroupIds() { - securityGroupIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000100); - ; + securityGroupIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000100);; onChanged(); return this; } /** - * - * *
      * Optional. The IDs of additional security groups to add to nodes in this
      * pool. The manager will automatically create security groups with minimum
      * rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; * @param value The bytes of the securityGroupIds to add. * @return This builder for chaining. */ - public Builder addSecurityGroupIdsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSecurityGroupIdsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureSecurityGroupIdsIsMutable(); securityGroupIds_.add(value); @@ -3526,58 +3177,39 @@ public Builder addSecurityGroupIdsBytes(com.google.protobuf.ByteString value) { private com.google.cloud.gkemulticloud.v1.AwsProxyConfig proxyConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsProxyConfig, - com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder, - com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder> - proxyConfigBuilder_; + com.google.cloud.gkemulticloud.v1.AwsProxyConfig, com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder> proxyConfigBuilder_; /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the proxyConfig field is set. */ public boolean hasProxyConfig() { return ((bitField0_ & 0x00000200) != 0); } /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The proxyConfig. */ public com.google.cloud.gkemulticloud.v1.AwsProxyConfig getProxyConfig() { if (proxyConfigBuilder_ == null) { - return proxyConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance() - : proxyConfig_; + return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance() : proxyConfig_; } else { return proxyConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setProxyConfig(com.google.cloud.gkemulticloud.v1.AwsProxyConfig value) { if (proxyConfigBuilder_ == null) { @@ -3593,15 +3225,11 @@ public Builder setProxyConfig(com.google.cloud.gkemulticloud.v1.AwsProxyConfig v return this; } /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setProxyConfig( com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder builderForValue) { @@ -3615,22 +3243,17 @@ public Builder setProxyConfig( return this; } /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeProxyConfig(com.google.cloud.gkemulticloud.v1.AwsProxyConfig value) { if (proxyConfigBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) - && proxyConfig_ != null - && proxyConfig_ - != com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) && + proxyConfig_ != null && + proxyConfig_ != com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance()) { getProxyConfigBuilder().mergeFrom(value); } else { proxyConfig_ = value; @@ -3643,15 +3266,11 @@ public Builder mergeProxyConfig(com.google.cloud.gkemulticloud.v1.AwsProxyConfig return this; } /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearProxyConfig() { bitField0_ = (bitField0_ & ~0x00000200); @@ -3664,15 +3283,11 @@ public Builder clearProxyConfig() { return this; } /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder getProxyConfigBuilder() { bitField0_ |= 0x00000200; @@ -3680,48 +3295,36 @@ public com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder getProxyConfigBu return getProxyConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder getProxyConfigOrBuilder() { if (proxyConfigBuilder_ != null) { return proxyConfigBuilder_.getMessageOrBuilder(); } else { - return proxyConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance() - : proxyConfig_; + return proxyConfig_ == null ? + com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance() : proxyConfig_; } } /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsProxyConfig, - com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder, - com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsProxyConfig, com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder> getProxyConfigFieldBuilder() { if (proxyConfigBuilder_ == null) { - proxyConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsProxyConfig, - com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder, - com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder>( - getProxyConfig(), getParentForChildren(), isClean()); + proxyConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsProxyConfig, com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder>( + getProxyConfig(), + getParentForChildren(), + isClean()); proxyConfig_ = null; } return proxyConfigBuilder_; @@ -3729,61 +3332,41 @@ public com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder getProxyConfigO private com.google.cloud.gkemulticloud.v1.AwsConfigEncryption configEncryption_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption, - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder, - com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder> - configEncryptionBuilder_; + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption, com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder, com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder> configEncryptionBuilder_; /** - * - * *
      * Required. Config encryption for user data.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the configEncryption field is set. */ public boolean hasConfigEncryption() { return ((bitField0_ & 0x00000400) != 0); } /** - * - * *
      * Required. Config encryption for user data.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; * @return The configEncryption. */ public com.google.cloud.gkemulticloud.v1.AwsConfigEncryption getConfigEncryption() { if (configEncryptionBuilder_ == null) { - return configEncryption_ == null - ? com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance() - : configEncryption_; + return configEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance() : configEncryption_; } else { return configEncryptionBuilder_.getMessage(); } } /** - * - * *
      * Required. Config encryption for user data.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setConfigEncryption( - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption value) { + public Builder setConfigEncryption(com.google.cloud.gkemulticloud.v1.AwsConfigEncryption value) { if (configEncryptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3797,15 +3380,11 @@ public Builder setConfigEncryption( return this; } /** - * - * *
      * Required. Config encryption for user data.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setConfigEncryption( com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder builderForValue) { @@ -3819,23 +3398,17 @@ public Builder setConfigEncryption( return this; } /** - * - * *
      * Required. Config encryption for user data.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeConfigEncryption( - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption value) { + public Builder mergeConfigEncryption(com.google.cloud.gkemulticloud.v1.AwsConfigEncryption value) { if (configEncryptionBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) - && configEncryption_ != null - && configEncryption_ - != com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) && + configEncryption_ != null && + configEncryption_ != com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance()) { getConfigEncryptionBuilder().mergeFrom(value); } else { configEncryption_ = value; @@ -3848,15 +3421,11 @@ public Builder mergeConfigEncryption( return this; } /** - * - * *
      * Required. Config encryption for user data.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearConfigEncryption() { bitField0_ = (bitField0_ & ~0x00000400); @@ -3869,66 +3438,48 @@ public Builder clearConfigEncryption() { return this; } /** - * - * *
      * Required. Config encryption for user data.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder - getConfigEncryptionBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder getConfigEncryptionBuilder() { bitField0_ |= 0x00000400; onChanged(); return getConfigEncryptionFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Config encryption for user data.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder - getConfigEncryptionOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder getConfigEncryptionOrBuilder() { if (configEncryptionBuilder_ != null) { return configEncryptionBuilder_.getMessageOrBuilder(); } else { - return configEncryption_ == null - ? com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance() - : configEncryption_; + return configEncryption_ == null ? + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance() : configEncryption_; } } /** - * - * *
      * Required. Config encryption for user data.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption, - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder, - com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption, com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder, com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder> getConfigEncryptionFieldBuilder() { if (configEncryptionBuilder_ == null) { - configEncryptionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption, - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder, - com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder>( - getConfigEncryption(), getParentForChildren(), isClean()); + configEncryptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption, com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder, com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder>( + getConfigEncryption(), + getParentForChildren(), + isClean()); configEncryption_ = null; } return configEncryptionBuilder_; @@ -3936,64 +3487,44 @@ public Builder clearConfigEncryption() { private com.google.cloud.gkemulticloud.v1.AwsInstancePlacement instancePlacement_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement, - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder, - com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder> - instancePlacementBuilder_; + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement, com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder, com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder> instancePlacementBuilder_; /** - * - * *
      * Optional. Placement related info for this node.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the instancePlacement field is set. */ public boolean hasInstancePlacement() { return ((bitField0_ & 0x00000800) != 0); } /** - * - * *
      * Optional. Placement related info for this node.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return The instancePlacement. */ public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement getInstancePlacement() { if (instancePlacementBuilder_ == null) { - return instancePlacement_ == null - ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance() - : instancePlacement_; + return instancePlacement_ == null ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance() : instancePlacement_; } else { return instancePlacementBuilder_.getMessage(); } } /** - * - * *
      * Optional. Placement related info for this node.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setInstancePlacement( - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement value) { + public Builder setInstancePlacement(com.google.cloud.gkemulticloud.v1.AwsInstancePlacement value) { if (instancePlacementBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4007,16 +3538,12 @@ public Builder setInstancePlacement( return this; } /** - * - * *
      * Optional. Placement related info for this node.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setInstancePlacement( com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder builderForValue) { @@ -4030,24 +3557,18 @@ public Builder setInstancePlacement( return this; } /** - * - * *
      * Optional. Placement related info for this node.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeInstancePlacement( - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement value) { + public Builder mergeInstancePlacement(com.google.cloud.gkemulticloud.v1.AwsInstancePlacement value) { if (instancePlacementBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) - && instancePlacement_ != null - && instancePlacement_ - != com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) && + instancePlacement_ != null && + instancePlacement_ != com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance()) { getInstancePlacementBuilder().mergeFrom(value); } else { instancePlacement_ = value; @@ -4060,16 +3581,12 @@ public Builder mergeInstancePlacement( return this; } /** - * - * *
      * Optional. Placement related info for this node.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearInstancePlacement() { bitField0_ = (bitField0_ & ~0x00000800); @@ -4082,84 +3599,60 @@ public Builder clearInstancePlacement() { return this; } /** - * - * *
      * Optional. Placement related info for this node.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder - getInstancePlacementBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder getInstancePlacementBuilder() { bitField0_ |= 0x00000800; onChanged(); return getInstancePlacementFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Placement related info for this node.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder - getInstancePlacementOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder getInstancePlacementOrBuilder() { if (instancePlacementBuilder_ != null) { return instancePlacementBuilder_.getMessageOrBuilder(); } else { - return instancePlacement_ == null - ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance() - : instancePlacement_; + return instancePlacement_ == null ? + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance() : instancePlacement_; } } /** - * - * *
      * Optional. Placement related info for this node.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement, - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder, - com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement, com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder, com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder> getInstancePlacementFieldBuilder() { if (instancePlacementBuilder_ == null) { - instancePlacementBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement, - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder, - com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder>( - getInstancePlacement(), getParentForChildren(), isClean()); + instancePlacementBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement, com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder, com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder>( + getInstancePlacement(), + getParentForChildren(), + isClean()); instancePlacement_ = null; } return instancePlacementBuilder_; } - private com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection - autoscalingMetricsCollection_; + private com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscalingMetricsCollection_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection, - com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.Builder, - com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollectionOrBuilder> - autoscalingMetricsCollectionBuilder_; + com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection, com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.Builder, com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollectionOrBuilder> autoscalingMetricsCollectionBuilder_; /** - * - * *
      * Optional. Configuration related to CloudWatch metrics collection on the
      * Auto Scaling group of the node pool.
@@ -4167,18 +3660,13 @@ public Builder clearInstancePlacement() {
      * When unspecified, metrics collection is disabled.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the autoscalingMetricsCollection field is set. */ public boolean hasAutoscalingMetricsCollection() { return ((bitField0_ & 0x00001000) != 0); } /** - * - * *
      * Optional. Configuration related to CloudWatch metrics collection on the
      * Auto Scaling group of the node pool.
@@ -4186,26 +3674,17 @@ public boolean hasAutoscalingMetricsCollection() {
      * When unspecified, metrics collection is disabled.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; * @return The autoscalingMetricsCollection. */ - public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection - getAutoscalingMetricsCollection() { + public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection getAutoscalingMetricsCollection() { if (autoscalingMetricsCollectionBuilder_ == null) { - return autoscalingMetricsCollection_ == null - ? com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection - .getDefaultInstance() - : autoscalingMetricsCollection_; + return autoscalingMetricsCollection_ == null ? com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.getDefaultInstance() : autoscalingMetricsCollection_; } else { return autoscalingMetricsCollectionBuilder_.getMessage(); } } /** - * - * *
      * Optional. Configuration related to CloudWatch metrics collection on the
      * Auto Scaling group of the node pool.
@@ -4213,12 +3692,9 @@ public boolean hasAutoscalingMetricsCollection() {
      * When unspecified, metrics collection is disabled.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setAutoscalingMetricsCollection( - com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection value) { + public Builder setAutoscalingMetricsCollection(com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection value) { if (autoscalingMetricsCollectionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4232,8 +3708,6 @@ public Builder setAutoscalingMetricsCollection( return this; } /** - * - * *
      * Optional. Configuration related to CloudWatch metrics collection on the
      * Auto Scaling group of the node pool.
@@ -4241,13 +3715,10 @@ public Builder setAutoscalingMetricsCollection(
      * When unspecified, metrics collection is disabled.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setAutoscalingMetricsCollection( - com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.Builder - builderForValue) { + com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.Builder builderForValue) { if (autoscalingMetricsCollectionBuilder_ == null) { autoscalingMetricsCollection_ = builderForValue.build(); } else { @@ -4258,8 +3729,6 @@ public Builder setAutoscalingMetricsCollection( return this; } /** - * - * *
      * Optional. Configuration related to CloudWatch metrics collection on the
      * Auto Scaling group of the node pool.
@@ -4267,18 +3736,13 @@ public Builder setAutoscalingMetricsCollection(
      * When unspecified, metrics collection is disabled.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeAutoscalingMetricsCollection( - com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection value) { + public Builder mergeAutoscalingMetricsCollection(com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection value) { if (autoscalingMetricsCollectionBuilder_ == null) { - if (((bitField0_ & 0x00001000) != 0) - && autoscalingMetricsCollection_ != null - && autoscalingMetricsCollection_ - != com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection - .getDefaultInstance()) { + if (((bitField0_ & 0x00001000) != 0) && + autoscalingMetricsCollection_ != null && + autoscalingMetricsCollection_ != com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.getDefaultInstance()) { getAutoscalingMetricsCollectionBuilder().mergeFrom(value); } else { autoscalingMetricsCollection_ = value; @@ -4291,8 +3755,6 @@ public Builder mergeAutoscalingMetricsCollection( return this; } /** - * - * *
      * Optional. Configuration related to CloudWatch metrics collection on the
      * Auto Scaling group of the node pool.
@@ -4300,9 +3762,7 @@ public Builder mergeAutoscalingMetricsCollection(
      * When unspecified, metrics collection is disabled.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearAutoscalingMetricsCollection() { bitField0_ = (bitField0_ & ~0x00001000); @@ -4315,8 +3775,6 @@ public Builder clearAutoscalingMetricsCollection() { return this; } /** - * - * *
      * Optional. Configuration related to CloudWatch metrics collection on the
      * Auto Scaling group of the node pool.
@@ -4324,19 +3782,14 @@ public Builder clearAutoscalingMetricsCollection() {
      * When unspecified, metrics collection is disabled.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.Builder - getAutoscalingMetricsCollectionBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.Builder getAutoscalingMetricsCollectionBuilder() { bitField0_ |= 0x00001000; onChanged(); return getAutoscalingMetricsCollectionFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Configuration related to CloudWatch metrics collection on the
      * Auto Scaling group of the node pool.
@@ -4344,24 +3797,17 @@ public Builder clearAutoscalingMetricsCollection() {
      * When unspecified, metrics collection is disabled.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollectionOrBuilder - getAutoscalingMetricsCollectionOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollectionOrBuilder getAutoscalingMetricsCollectionOrBuilder() { if (autoscalingMetricsCollectionBuilder_ != null) { return autoscalingMetricsCollectionBuilder_.getMessageOrBuilder(); } else { - return autoscalingMetricsCollection_ == null - ? com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection - .getDefaultInstance() - : autoscalingMetricsCollection_; + return autoscalingMetricsCollection_ == null ? + com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.getDefaultInstance() : autoscalingMetricsCollection_; } } /** - * - * *
      * Optional. Configuration related to CloudWatch metrics collection on the
      * Auto Scaling group of the node pool.
@@ -4369,29 +3815,215 @@ public Builder clearAutoscalingMetricsCollection() {
      * When unspecified, metrics collection is disabled.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection, - com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.Builder, - com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollectionOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection, com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.Builder, com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollectionOrBuilder> getAutoscalingMetricsCollectionFieldBuilder() { if (autoscalingMetricsCollectionBuilder_ == null) { - autoscalingMetricsCollectionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection, - com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.Builder, - com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollectionOrBuilder>( - getAutoscalingMetricsCollection(), getParentForChildren(), isClean()); + autoscalingMetricsCollectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection, com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.Builder, com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollectionOrBuilder>( + getAutoscalingMetricsCollection(), + getParentForChildren(), + isClean()); autoscalingMetricsCollection_ = null; } return autoscalingMetricsCollectionBuilder_; } + private com.google.cloud.gkemulticloud.v1.SpotConfig spotConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.SpotConfig, com.google.cloud.gkemulticloud.v1.SpotConfig.Builder, com.google.cloud.gkemulticloud.v1.SpotConfigOrBuilder> spotConfigBuilder_; + /** + *
+     * Optional. Configuration for provisioning EC2 Spot instances
+     *
+     * When specified, the node pool will provision Spot instances from the set
+     * of spot_config.instance_types.
+     * This field is mutually exclusive with `instance_type`.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the spotConfig field is set. + */ + public boolean hasSpotConfig() { + return ((bitField0_ & 0x00002000) != 0); + } + /** + *
+     * Optional. Configuration for provisioning EC2 Spot instances
+     *
+     * When specified, the node pool will provision Spot instances from the set
+     * of spot_config.instance_types.
+     * This field is mutually exclusive with `instance_type`.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @return The spotConfig. + */ + public com.google.cloud.gkemulticloud.v1.SpotConfig getSpotConfig() { + if (spotConfigBuilder_ == null) { + return spotConfig_ == null ? com.google.cloud.gkemulticloud.v1.SpotConfig.getDefaultInstance() : spotConfig_; + } else { + return spotConfigBuilder_.getMessage(); + } + } + /** + *
+     * Optional. Configuration for provisioning EC2 Spot instances
+     *
+     * When specified, the node pool will provision Spot instances from the set
+     * of spot_config.instance_types.
+     * This field is mutually exclusive with `instance_type`.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setSpotConfig(com.google.cloud.gkemulticloud.v1.SpotConfig value) { + if (spotConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + spotConfig_ = value; + } else { + spotConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + /** + *
+     * Optional. Configuration for provisioning EC2 Spot instances
+     *
+     * When specified, the node pool will provision Spot instances from the set
+     * of spot_config.instance_types.
+     * This field is mutually exclusive with `instance_type`.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setSpotConfig( + com.google.cloud.gkemulticloud.v1.SpotConfig.Builder builderForValue) { + if (spotConfigBuilder_ == null) { + spotConfig_ = builderForValue.build(); + } else { + spotConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + /** + *
+     * Optional. Configuration for provisioning EC2 Spot instances
+     *
+     * When specified, the node pool will provision Spot instances from the set
+     * of spot_config.instance_types.
+     * This field is mutually exclusive with `instance_type`.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder mergeSpotConfig(com.google.cloud.gkemulticloud.v1.SpotConfig value) { + if (spotConfigBuilder_ == null) { + if (((bitField0_ & 0x00002000) != 0) && + spotConfig_ != null && + spotConfig_ != com.google.cloud.gkemulticloud.v1.SpotConfig.getDefaultInstance()) { + getSpotConfigBuilder().mergeFrom(value); + } else { + spotConfig_ = value; + } + } else { + spotConfigBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00002000; + onChanged(); + return this; + } + /** + *
+     * Optional. Configuration for provisioning EC2 Spot instances
+     *
+     * When specified, the node pool will provision Spot instances from the set
+     * of spot_config.instance_types.
+     * This field is mutually exclusive with `instance_type`.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder clearSpotConfig() { + bitField0_ = (bitField0_ & ~0x00002000); + spotConfig_ = null; + if (spotConfigBuilder_ != null) { + spotConfigBuilder_.dispose(); + spotConfigBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * Optional. Configuration for provisioning EC2 Spot instances
+     *
+     * When specified, the node pool will provision Spot instances from the set
+     * of spot_config.instance_types.
+     * This field is mutually exclusive with `instance_type`.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.SpotConfig.Builder getSpotConfigBuilder() { + bitField0_ |= 0x00002000; + onChanged(); + return getSpotConfigFieldBuilder().getBuilder(); + } + /** + *
+     * Optional. Configuration for provisioning EC2 Spot instances
+     *
+     * When specified, the node pool will provision Spot instances from the set
+     * of spot_config.instance_types.
+     * This field is mutually exclusive with `instance_type`.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.SpotConfigOrBuilder getSpotConfigOrBuilder() { + if (spotConfigBuilder_ != null) { + return spotConfigBuilder_.getMessageOrBuilder(); + } else { + return spotConfig_ == null ? + com.google.cloud.gkemulticloud.v1.SpotConfig.getDefaultInstance() : spotConfig_; + } + } + /** + *
+     * Optional. Configuration for provisioning EC2 Spot instances
+     *
+     * When specified, the node pool will provision Spot instances from the set
+     * of spot_config.instance_types.
+     * This field is mutually exclusive with `instance_type`.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.SpotConfig, com.google.cloud.gkemulticloud.v1.SpotConfig.Builder, com.google.cloud.gkemulticloud.v1.SpotConfigOrBuilder> + getSpotConfigFieldBuilder() { + if (spotConfigBuilder_ == null) { + spotConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.SpotConfig, com.google.cloud.gkemulticloud.v1.SpotConfig.Builder, com.google.cloud.gkemulticloud.v1.SpotConfigOrBuilder>( + getSpotConfig(), + getParentForChildren(), + isClean()); + spotConfig_ = null; + } + return spotConfigBuilder_; + } @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4401,12 +4033,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsNodeConfig) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsNodeConfig) private static final com.google.cloud.gkemulticloud.v1.AwsNodeConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsNodeConfig(); } @@ -4415,27 +4047,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsNodeConfig getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsNodeConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsNodeConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4450,4 +4082,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsNodeConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfigOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfigOrBuilder.java similarity index 66% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfigOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfigOrBuilder.java index 12b89045b3d0..8e21f9315f46 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfigOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfigOrBuilder.java @@ -1,60 +1,39 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsNodeConfigOrBuilder - extends +public interface AwsNodeConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsNodeConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
-   * Optional. The AWS instance type.
+   * Optional. The EC2 instance type when creating on-Demand instances.
    *
-   * When unspecified, it uses a default based on the node pool's version.
+   * If unspecified during node pool creation, a default will be chosen based on
+   * the node pool version, and assigned to this field.
    * 
* * string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The instanceType. */ java.lang.String getInstanceType(); /** - * - * *
-   * Optional. The AWS instance type.
+   * Optional. The EC2 instance type when creating on-Demand instances.
    *
-   * When unspecified, it uses a default based on the node pool's version.
+   * If unspecified during node pool creation, a default will be chosen based on
+   * the node pool version, and assigned to this field.
    * 
* * string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for instanceType. */ - com.google.protobuf.ByteString getInstanceTypeBytes(); + com.google.protobuf.ByteString + getInstanceTypeBytes(); /** - * - * *
    * Optional. Template for the root volume provisioned for node pool nodes.
    * Volumes will be provisioned in the availability zone assigned
@@ -63,16 +42,11 @@ public interface AwsNodeConfigOrBuilder
    * When unspecified, it defaults to 32 GiB with the GP2 volume type.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the rootVolume field is set. */ boolean hasRootVolume(); /** - * - * *
    * Optional. Template for the root volume provisioned for node pool nodes.
    * Volumes will be provisioned in the availability zone assigned
@@ -81,16 +55,11 @@ public interface AwsNodeConfigOrBuilder
    * When unspecified, it defaults to 32 GiB with the GP2 volume type.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The rootVolume. */ com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getRootVolume(); /** - * - * *
    * Optional. Template for the root volume provisioned for node pool nodes.
    * Volumes will be provisioned in the availability zone assigned
@@ -99,77 +68,55 @@ public interface AwsNodeConfigOrBuilder
    * When unspecified, it defaults to 32 GiB with the GP2 volume type.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getRootVolumeOrBuilder(); /** - * - * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List getTaintsList(); + java.util.List + getTaintsList(); /** - * - * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.gkemulticloud.v1.NodeTaint getTaints(int index); /** - * - * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; */ int getTaintsCount(); /** - * - * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getTaintsOrBuilderList(); /** - * - * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index); + com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder( + int index); /** - * - * *
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -180,8 +127,6 @@ public interface AwsNodeConfigOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -190,13 +135,15 @@ public interface AwsNodeConfigOrBuilder
    *
    * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    */
-  boolean containsLabels(java.lang.String key);
-  /** Use {@link #getLabelsMap()} instead. */
+  boolean containsLabels(
+      java.lang.String key);
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getLabels();
+  java.util.Map
+  getLabels();
   /**
-   *
-   *
    * 
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -205,10 +152,9 @@ public interface AwsNodeConfigOrBuilder
    *
    * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -218,13 +164,11 @@ public interface AwsNodeConfigOrBuilder
    * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    */
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -233,11 +177,10 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Optional. Key/value metadata to assign to each underlying AWS resource.
    * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
@@ -249,8 +192,6 @@ java.lang.String getLabelsOrDefault(
    */
   int getTagsCount();
   /**
-   *
-   *
    * 
    * Optional. Key/value metadata to assign to each underlying AWS resource.
    * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
@@ -260,13 +201,15 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
    */
-  boolean containsTags(java.lang.String key);
-  /** Use {@link #getTagsMap()} instead. */
+  boolean containsTags(
+      java.lang.String key);
+  /**
+   * Use {@link #getTagsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getTags();
+  java.util.Map
+  getTags();
   /**
-   *
-   *
    * 
    * Optional. Key/value metadata to assign to each underlying AWS resource.
    * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
@@ -276,10 +219,9 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.util.Map getTagsMap();
+  java.util.Map
+  getTagsMap();
   /**
-   *
-   *
    * 
    * Optional. Key/value metadata to assign to each underlying AWS resource.
    * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
@@ -290,13 +232,11 @@ java.lang.String getLabelsOrDefault(
    * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
    */
   /* nullable */
-  java.lang.String getTagsOrDefault(
+java.lang.String getTagsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Optional. Key/value metadata to assign to each underlying AWS resource.
    * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
@@ -306,112 +246,85 @@ java.lang.String getTagsOrDefault(
    *
    * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.lang.String getTagsOrThrow(java.lang.String key);
+  java.lang.String getTagsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Required. The name or ARN of the AWS IAM role assigned to nodes in the
    * pool.
    * 
* * string iam_instance_profile = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The iamInstanceProfile. */ java.lang.String getIamInstanceProfile(); /** - * - * *
    * Required. The name or ARN of the AWS IAM role assigned to nodes in the
    * pool.
    * 
* * string iam_instance_profile = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for iamInstanceProfile. */ - com.google.protobuf.ByteString getIamInstanceProfileBytes(); + com.google.protobuf.ByteString + getIamInstanceProfileBytes(); /** - * - * *
    * Optional. The OS image type to use on node pool instances.
-   * Can have a value of `ubuntu`, or `windows` if the cluster enables
-   * the Windows node pool preview feature.
+   * Can be unspecified, or have a value of `ubuntu`.
    *
    * When unspecified, it defaults to `ubuntu`.
    * 
* * string image_type = 11 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The imageType. */ java.lang.String getImageType(); /** - * - * *
    * Optional. The OS image type to use on node pool instances.
-   * Can have a value of `ubuntu`, or `windows` if the cluster enables
-   * the Windows node pool preview feature.
+   * Can be unspecified, or have a value of `ubuntu`.
    *
    * When unspecified, it defaults to `ubuntu`.
    * 
* * string image_type = 11 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for imageType. */ - com.google.protobuf.ByteString getImageTypeBytes(); + com.google.protobuf.ByteString + getImageTypeBytes(); /** - * - * *
    * Optional. The SSH configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the sshConfig field is set. */ boolean hasSshConfig(); /** - * - * *
    * Optional. The SSH configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The sshConfig. */ com.google.cloud.gkemulticloud.v1.AwsSshConfig getSshConfig(); /** - * - * *
    * Optional. The SSH configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder getSshConfigOrBuilder(); /** - * - * *
    * Optional. The IDs of additional security groups to add to nodes in this
    * pool. The manager will automatically create security groups with minimum
@@ -419,13 +332,11 @@ java.lang.String getTagsOrDefault(
    * 
* * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the securityGroupIds. */ - java.util.List getSecurityGroupIdsList(); + java.util.List + getSecurityGroupIdsList(); /** - * - * *
    * Optional. The IDs of additional security groups to add to nodes in this
    * pool. The manager will automatically create security groups with minimum
@@ -433,13 +344,10 @@ java.lang.String getTagsOrDefault(
    * 
* * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of securityGroupIds. */ int getSecurityGroupIdsCount(); /** - * - * *
    * Optional. The IDs of additional security groups to add to nodes in this
    * pool. The manager will automatically create security groups with minimum
@@ -447,14 +355,11 @@ java.lang.String getTagsOrDefault(
    * 
* * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The securityGroupIds at the given index. */ java.lang.String getSecurityGroupIds(int index); /** - * - * *
    * Optional. The IDs of additional security groups to add to nodes in this
    * pool. The manager will automatically create security groups with minimum
@@ -462,141 +367,97 @@ java.lang.String getTagsOrDefault(
    * 
* * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the securityGroupIds at the given index. */ - com.google.protobuf.ByteString getSecurityGroupIdsBytes(int index); + com.google.protobuf.ByteString + getSecurityGroupIdsBytes(int index); /** - * - * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the proxyConfig field is set. */ boolean hasProxyConfig(); /** - * - * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The proxyConfig. */ com.google.cloud.gkemulticloud.v1.AwsProxyConfig getProxyConfig(); /** - * - * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder getProxyConfigOrBuilder(); /** - * - * *
    * Required. Config encryption for user data.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the configEncryption field is set. */ boolean hasConfigEncryption(); /** - * - * *
    * Required. Config encryption for user data.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; * @return The configEncryption. */ com.google.cloud.gkemulticloud.v1.AwsConfigEncryption getConfigEncryption(); /** - * - * *
    * Required. Config encryption for user data.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder getConfigEncryptionOrBuilder(); /** - * - * *
    * Optional. Placement related info for this node.
    * When unspecified, the VPC's default tenancy will be used.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the instancePlacement field is set. */ boolean hasInstancePlacement(); /** - * - * *
    * Optional. Placement related info for this node.
    * When unspecified, the VPC's default tenancy will be used.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return The instancePlacement. */ com.google.cloud.gkemulticloud.v1.AwsInstancePlacement getInstancePlacement(); /** - * - * *
    * Optional. Placement related info for this node.
    * When unspecified, the VPC's default tenancy will be used.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder getInstancePlacementOrBuilder(); /** - * - * *
    * Optional. Configuration related to CloudWatch metrics collection on the
    * Auto Scaling group of the node pool.
@@ -604,16 +465,23 @@ java.lang.String getTagsOrDefault(
    * When unspecified, metrics collection is disabled.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the autoscalingMetricsCollection field is set. */ boolean hasAutoscalingMetricsCollection(); /** + *
+   * Optional. Configuration related to CloudWatch metrics collection on the
+   * Auto Scaling group of the node pool.
    *
+   * When unspecified, metrics collection is disabled.
+   * 
* + * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + * @return The autoscalingMetricsCollection. + */ + com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection getAutoscalingMetricsCollection(); + /** *
    * Optional. Configuration related to CloudWatch metrics collection on the
    * Auto Scaling group of the node pool.
@@ -621,28 +489,46 @@ java.lang.String getTagsOrDefault(
    * When unspecified, metrics collection is disabled.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollectionOrBuilder getAutoscalingMetricsCollectionOrBuilder(); + + /** + *
+   * Optional. Configuration for provisioning EC2 Spot instances
    *
-   * @return The autoscalingMetricsCollection.
+   * When specified, the node pool will provision Spot instances from the set
+   * of spot_config.instance_types.
+   * This field is mutually exclusive with `instance_type`.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the spotConfig field is set. */ - com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection - getAutoscalingMetricsCollection(); + boolean hasSpotConfig(); /** + *
+   * Optional. Configuration for provisioning EC2 Spot instances
    *
+   * When specified, the node pool will provision Spot instances from the set
+   * of spot_config.instance_types.
+   * This field is mutually exclusive with `instance_type`.
+   * 
* + * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @return The spotConfig. + */ + com.google.cloud.gkemulticloud.v1.SpotConfig getSpotConfig(); + /** *
-   * Optional. Configuration related to CloudWatch metrics collection on the
-   * Auto Scaling group of the node pool.
+   * Optional. Configuration for provisioning EC2 Spot instances
    *
-   * When unspecified, metrics collection is disabled.
+   * When specified, the node pool will provision Spot instances from the set
+   * of spot_config.instance_types.
+   * This field is mutually exclusive with `instance_type`.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollectionOrBuilder - getAutoscalingMetricsCollectionOrBuilder(); + com.google.cloud.gkemulticloud.v1.SpotConfigOrBuilder getSpotConfigOrBuilder(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeManagement.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeManagement.java new file mode 100644 index 000000000000..c6daba90e1d7 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeManagement.java @@ -0,0 +1,510 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +/** + *
+ * AwsNodeManagement defines the set of node management features turned on for
+ * an AWS node pool.
+ * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsNodeManagement} + */ +public final class AwsNodeManagement extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsNodeManagement) + AwsNodeManagementOrBuilder { +private static final long serialVersionUID = 0L; + // Use AwsNodeManagement.newBuilder() to construct. + private AwsNodeManagement(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AwsNodeManagement() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AwsNodeManagement(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodeManagement_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodeManagement_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.AwsNodeManagement.class, com.google.cloud.gkemulticloud.v1.AwsNodeManagement.Builder.class); + } + + public static final int AUTO_REPAIR_FIELD_NUMBER = 1; + private boolean autoRepair_ = false; + /** + *
+   * Optional. Whether or not the nodes will be automatically repaired. When set
+   * to true, the nodes in this node pool will be monitored and if they fail
+   * health checks consistently over a period of time, an automatic repair
+   * action will be triggered to replace them with new nodes.
+   * 
+ * + * bool auto_repair = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return The autoRepair. + */ + @java.lang.Override + public boolean getAutoRepair() { + return autoRepair_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (autoRepair_ != false) { + output.writeBool(1, autoRepair_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (autoRepair_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, autoRepair_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsNodeManagement)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.AwsNodeManagement other = (com.google.cloud.gkemulticloud.v1.AwsNodeManagement) obj; + + if (getAutoRepair() + != other.getAutoRepair()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + AUTO_REPAIR_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAutoRepair()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.AwsNodeManagement parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AwsNodeManagement parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AwsNodeManagement parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AwsNodeManagement parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AwsNodeManagement parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AwsNodeManagement parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AwsNodeManagement parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.AwsNodeManagement parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.AwsNodeManagement parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.AwsNodeManagement parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AwsNodeManagement parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.AwsNodeManagement parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsNodeManagement prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * AwsNodeManagement defines the set of node management features turned on for
+   * an AWS node pool.
+   * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsNodeManagement} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsNodeManagement) + com.google.cloud.gkemulticloud.v1.AwsNodeManagementOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodeManagement_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodeManagement_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.AwsNodeManagement.class, com.google.cloud.gkemulticloud.v1.AwsNodeManagement.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.AwsNodeManagement.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + autoRepair_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodeManagement_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsNodeManagement getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.AwsNodeManagement.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsNodeManagement build() { + com.google.cloud.gkemulticloud.v1.AwsNodeManagement result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsNodeManagement buildPartial() { + com.google.cloud.gkemulticloud.v1.AwsNodeManagement result = new com.google.cloud.gkemulticloud.v1.AwsNodeManagement(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsNodeManagement result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.autoRepair_ = autoRepair_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.AwsNodeManagement) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsNodeManagement)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsNodeManagement other) { + if (other == com.google.cloud.gkemulticloud.v1.AwsNodeManagement.getDefaultInstance()) return this; + if (other.getAutoRepair() != false) { + setAutoRepair(other.getAutoRepair()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + autoRepair_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private boolean autoRepair_ ; + /** + *
+     * Optional. Whether or not the nodes will be automatically repaired. When set
+     * to true, the nodes in this node pool will be monitored and if they fail
+     * health checks consistently over a period of time, an automatic repair
+     * action will be triggered to replace them with new nodes.
+     * 
+ * + * bool auto_repair = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return The autoRepair. + */ + @java.lang.Override + public boolean getAutoRepair() { + return autoRepair_; + } + /** + *
+     * Optional. Whether or not the nodes will be automatically repaired. When set
+     * to true, the nodes in this node pool will be monitored and if they fail
+     * health checks consistently over a period of time, an automatic repair
+     * action will be triggered to replace them with new nodes.
+     * 
+ * + * bool auto_repair = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The autoRepair to set. + * @return This builder for chaining. + */ + public Builder setAutoRepair(boolean value) { + + autoRepair_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Optional. Whether or not the nodes will be automatically repaired. When set
+     * to true, the nodes in this node pool will be monitored and if they fail
+     * health checks consistently over a period of time, an automatic repair
+     * action will be triggered to replace them with new nodes.
+     * 
+ * + * bool auto_repair = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearAutoRepair() { + bitField0_ = (bitField0_ & ~0x00000001); + autoRepair_ = false; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsNodeManagement) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsNodeManagement) + private static final com.google.cloud.gkemulticloud.v1.AwsNodeManagement DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsNodeManagement(); + } + + public static com.google.cloud.gkemulticloud.v1.AwsNodeManagement getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsNodeManagement parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsNodeManagement getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeManagementOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeManagementOrBuilder.java new file mode 100644 index 000000000000..aa14ff5c30d4 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeManagementOrBuilder.java @@ -0,0 +1,22 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface AwsNodeManagementOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsNodeManagement) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Optional. Whether or not the nodes will be automatically repaired. When set
+   * to true, the nodes in this node pool will be monitored and if they fail
+   * health checks consistently over a period of time, an automatic repair
+   * action will be triggered to replace them with new nodes.
+   * 
+ * + * bool auto_repair = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return The autoRepair. + */ + boolean getAutoRepair(); +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePool.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePool.java similarity index 60% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePool.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePool.java index e9800b12f1ef..824e41a537c9 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePool.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePool.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * An Anthos node pool running on AWS.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsNodePool} */ -public final class AwsNodePool extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AwsNodePool extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsNodePool) AwsNodePoolOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AwsNodePool.newBuilder() to construct. private AwsNodePool(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AwsNodePool() { name_ = ""; version_ = ""; @@ -49,49 +31,46 @@ private AwsNodePool() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AwsNodePool(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 22: return internalGetAnnotations(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsNodePool.class, - com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsNodePool.class, com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder.class); } /** - * - * *
    * The lifecycle state of the node pool.
    * 
* * Protobuf enum {@code google.cloud.gkemulticloud.v1.AwsNodePool.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not set.
      * 
@@ -100,8 +79,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The PROVISIONING state indicates the node pool is being created.
      * 
@@ -110,8 +87,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PROVISIONING(1), /** - * - * *
      * The RUNNING state indicates the node pool has been created
      * and is fully usable.
@@ -121,8 +96,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     RUNNING(2),
     /**
-     *
-     *
      * 
      * The RECONCILING state indicates that the node pool is being reconciled.
      * 
@@ -131,8 +104,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RECONCILING(3), /** - * - * *
      * The STOPPING state indicates the node pool is being deleted.
      * 
@@ -141,8 +112,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STOPPING(4), /** - * - * *
      * The ERROR state indicates the node pool is in a broken unrecoverable
      * state.
@@ -152,8 +121,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     ERROR(5),
     /**
-     *
-     *
      * 
      * The DEGRADED state indicates the node pool requires user action to
      * restore full functionality.
@@ -166,8 +133,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not set.
      * 
@@ -176,8 +141,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The PROVISIONING state indicates the node pool is being created.
      * 
@@ -186,8 +149,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROVISIONING_VALUE = 1; /** - * - * *
      * The RUNNING state indicates the node pool has been created
      * and is fully usable.
@@ -197,8 +158,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RUNNING_VALUE = 2;
     /**
-     *
-     *
      * 
      * The RECONCILING state indicates that the node pool is being reconciled.
      * 
@@ -207,8 +166,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RECONCILING_VALUE = 3; /** - * - * *
      * The STOPPING state indicates the node pool is being deleted.
      * 
@@ -217,8 +174,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STOPPING_VALUE = 4; /** - * - * *
      * The ERROR state indicates the node pool is in a broken unrecoverable
      * state.
@@ -228,8 +183,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ERROR_VALUE = 5;
     /**
-     *
-     *
      * 
      * The DEGRADED state indicates the node pool requires user action to
      * restore full functionality.
@@ -239,6 +192,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DEGRADED_VALUE = 6;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -263,57 +217,53 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return PROVISIONING;
-        case 2:
-          return RUNNING;
-        case 3:
-          return RECONCILING;
-        case 4:
-          return STOPPING;
-        case 5:
-          return ERROR;
-        case 6:
-          return DEGRADED;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return PROVISIONING;
+        case 2: return RUNNING;
+        case 3: return RECONCILING;
+        case 4: return STOPPING;
+        case 5: return ERROR;
+        case 6: return DEGRADED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.gkemulticloud.v1.AwsNodePool.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -331,12 +281,9 @@ private State(int value) {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The name of this resource.
    *
@@ -348,7 +295,6 @@ private State(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -357,15 +303,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of this resource.
    *
@@ -377,15 +322,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -394,12 +340,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int VERSION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object version_ = ""; /** - * - * *
    * Required. The Kubernetes version to run on this node pool (e.g.
    * `1.19.10-gke.1000`).
@@ -410,7 +353,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string version = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The version. */ @java.lang.Override @@ -419,15 +361,14 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** - * - * *
    * Required. The Kubernetes version to run on this node pool (e.g.
    * `1.19.10-gke.1000`).
@@ -438,15 +379,16 @@ public java.lang.String getVersion() {
    * 
* * string version = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -457,16 +399,11 @@ public com.google.protobuf.ByteString getVersionBytes() { public static final int CONFIG_FIELD_NUMBER = 28; private com.google.cloud.gkemulticloud.v1.AwsNodeConfig config_; /** - * - * *
    * Required. The configuration of the node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the config field is set. */ @java.lang.Override @@ -474,55 +411,37 @@ public boolean hasConfig() { return config_ != null; } /** - * - * *
    * Required. The configuration of the node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; * @return The config. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsNodeConfig getConfig() { - return config_ == null - ? com.google.cloud.gkemulticloud.v1.AwsNodeConfig.getDefaultInstance() - : config_; + return config_ == null ? com.google.cloud.gkemulticloud.v1.AwsNodeConfig.getDefaultInstance() : config_; } /** - * - * *
    * Required. The configuration of the node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsNodeConfigOrBuilder getConfigOrBuilder() { - return config_ == null - ? com.google.cloud.gkemulticloud.v1.AwsNodeConfig.getDefaultInstance() - : config_; + return config_ == null ? com.google.cloud.gkemulticloud.v1.AwsNodeConfig.getDefaultInstance() : config_; } public static final int AUTOSCALING_FIELD_NUMBER = 25; private com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling_; /** - * - * *
    * Required. Autoscaler configuration for this node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscaling field is set. */ @java.lang.Override @@ -530,56 +449,38 @@ public boolean hasAutoscaling() { return autoscaling_ != null; } /** - * - * *
    * Required. Autoscaler configuration for this node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscaling. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling getAutoscaling() { - return autoscaling_ == null - ? com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.getDefaultInstance() - : autoscaling_; + return autoscaling_ == null ? com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.getDefaultInstance() : autoscaling_; } /** - * - * *
    * Required. Autoscaler configuration for this node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscalingOrBuilder - getAutoscalingOrBuilder() { - return autoscaling_ == null - ? com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.getDefaultInstance() - : autoscaling_; + public com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscalingOrBuilder getAutoscalingOrBuilder() { + return autoscaling_ == null ? com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.getDefaultInstance() : autoscaling_; } public static final int SUBNET_ID_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object subnetId_ = ""; /** - * - * *
    * Required. The subnet where the node pool node run.
    * 
* * string subnet_id = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The subnetId. */ @java.lang.Override @@ -588,29 +489,29 @@ public java.lang.String getSubnetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetId_ = s; return s; } } /** - * - * *
    * Required. The subnet where the node pool node run.
    * 
* * string subnet_id = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for subnetId. */ @java.lang.Override - public com.google.protobuf.ByteString getSubnetIdBytes() { + public com.google.protobuf.ByteString + getSubnetIdBytes() { java.lang.Object ref = subnetId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnetId_ = b; return b; } else { @@ -621,57 +522,38 @@ public com.google.protobuf.ByteString getSubnetIdBytes() { public static final int STATE_FIELD_NUMBER = 16; private int state_ = 0; /** - * - * *
    * Output only. The lifecycle state of the node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The lifecycle state of the node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsNodePool.State getState() { - com.google.cloud.gkemulticloud.v1.AwsNodePool.State result = - com.google.cloud.gkemulticloud.v1.AwsNodePool.State.forNumber(state_); - return result == null - ? com.google.cloud.gkemulticloud.v1.AwsNodePool.State.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsNodePool.State getState() { + com.google.cloud.gkemulticloud.v1.AwsNodePool.State result = com.google.cloud.gkemulticloud.v1.AwsNodePool.State.forNumber(state_); + return result == null ? com.google.cloud.gkemulticloud.v1.AwsNodePool.State.UNRECOGNIZED : result; } public static final int UID_FIELD_NUMBER = 17; - @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** - * - * *
    * Output only. A globally unique identifier for the node pool.
    * 
* * string uid = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -680,29 +562,29 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** - * - * *
    * Output only. A globally unique identifier for the node pool.
    * 
* * string uid = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -713,15 +595,12 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int RECONCILING_FIELD_NUMBER = 18; private boolean reconciling_ = false; /** - * - * *
    * Output only. If set, there are currently changes in flight to the node
    * pool.
    * 
* * bool reconciling = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -732,15 +611,11 @@ public boolean getReconciling() { public static final int CREATE_TIME_FIELD_NUMBER = 19; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time at which this node pool was created.
    * 
* - * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -748,15 +623,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time at which this node pool was created.
    * 
* - * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -764,14 +635,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time at which this node pool was created.
    * 
* - * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -781,15 +649,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 20; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The time at which this node pool was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -797,15 +661,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The time at which this node pool was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -813,14 +673,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The time at which this node pool was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -828,12 +685,9 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int ETAG_FIELD_NUMBER = 21; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -843,7 +697,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string etag = 21; - * * @return The etag. */ @java.lang.Override @@ -852,15 +705,14 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -870,15 +722,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 21; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -887,35 +740,32 @@ public com.google.protobuf.ByteString getEtagBytes() { } public static final int ANNOTATIONS_FIELD_NUMBER = 22; - private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_AnnotationsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } - public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
    * Optional. Annotations on the node pool.
    *
@@ -928,25 +778,23 @@ public int getAnnotationsCount() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetAnnotations().getMap().containsKey(key); } - /** Use {@link #getAnnotationsMap()} instead. */ + /** + * Use {@link #getAnnotationsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** - * - * *
    * Optional. Annotations on the node pool.
    *
@@ -959,16 +807,13 @@ public java.util.Map getAnnotations() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** - * - * *
    * Optional. Annotations on the node pool.
    *
@@ -981,23 +826,20 @@ public java.util.Map getAnnotationsMap() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getAnnotationsOrDefault( + public /* nullable */ +java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Optional. Annotations on the node pool.
    *
@@ -1010,15 +852,14 @@ public java.util.Map getAnnotationsMap() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + public java.lang.String getAnnotationsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1028,17 +869,12 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) { public static final int MAX_PODS_CONSTRAINT_FIELD_NUMBER = 27; private com.google.cloud.gkemulticloud.v1.MaxPodsConstraint maxPodsConstraint_; /** - * - * *
    * Required. The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the maxPodsConstraint field is set. */ @java.lang.Override @@ -1046,128 +882,169 @@ public boolean hasMaxPodsConstraint() { return maxPodsConstraint_ != null; } /** - * - * *
    * Required. The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; * @return The maxPodsConstraint. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.MaxPodsConstraint getMaxPodsConstraint() { - return maxPodsConstraint_ == null - ? com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance() - : maxPodsConstraint_; + return maxPodsConstraint_ == null ? com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance() : maxPodsConstraint_; } /** - * - * *
    * Required. The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder - getMaxPodsConstraintOrBuilder() { - return maxPodsConstraint_ == null - ? com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance() - : maxPodsConstraint_; + public com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder getMaxPodsConstraintOrBuilder() { + return maxPodsConstraint_ == null ? com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance() : maxPodsConstraint_; } public static final int ERRORS_FIELD_NUMBER = 29; - @SuppressWarnings("serial") private java.util.List errors_; /** - * - * *
    * Output only. A set of errors found in the node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getErrorsList() { return errors_; } /** - * - * *
    * Output only. A set of errors found in the node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getErrorsOrBuilderList() { return errors_; } /** - * - * *
    * Output only. A set of errors found in the node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** - * - * *
    * Output only. A set of errors found in the node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsNodePoolError getErrors(int index) { return errors_.get(index); } /** - * - * *
    * Output only. A set of errors found in the node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsNodePoolErrorOrBuilder getErrorsOrBuilder(int index) { + public com.google.cloud.gkemulticloud.v1.AwsNodePoolErrorOrBuilder getErrorsOrBuilder( + int index) { return errors_.get(index); } - private byte memoizedIsInitialized = -1; + public static final int MANAGEMENT_FIELD_NUMBER = 30; + private com.google.cloud.gkemulticloud.v1.AwsNodeManagement management_; + /** + *
+   * Optional. The Management configuration for this node pool.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the management field is set. + */ + @java.lang.Override + public boolean hasManagement() { + return management_ != null; + } + /** + *
+   * Optional. The Management configuration for this node pool.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * @return The management. + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsNodeManagement getManagement() { + return management_ == null ? com.google.cloud.gkemulticloud.v1.AwsNodeManagement.getDefaultInstance() : management_; + } + /** + *
+   * Optional. The Management configuration for this node pool.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsNodeManagementOrBuilder getManagementOrBuilder() { + return management_ == null ? com.google.cloud.gkemulticloud.v1.AwsNodeManagement.getDefaultInstance() : management_; + } + + public static final int UPDATE_SETTINGS_FIELD_NUMBER = 32; + private com.google.cloud.gkemulticloud.v1.UpdateSettings updateSettings_; + /** + *
+   * Optional. Update settings control the speed and disruption of the update.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the updateSettings field is set. + */ + @java.lang.Override + public boolean hasUpdateSettings() { + return updateSettings_ != null; + } + /** + *
+   * Optional. Update settings control the speed and disruption of the update.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * @return The updateSettings. + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.UpdateSettings getUpdateSettings() { + return updateSettings_ == null ? com.google.cloud.gkemulticloud.v1.UpdateSettings.getDefaultInstance() : updateSettings_; + } + /** + *
+   * Optional. Update settings control the speed and disruption of the update.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.UpdateSettingsOrBuilder getUpdateSettingsOrBuilder() { + return updateSettings_ == null ? com.google.cloud.gkemulticloud.v1.UpdateSettings.getDefaultInstance() : updateSettings_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1179,7 +1056,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1189,8 +1067,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnetId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, subnetId_); } - if (state_ - != com.google.cloud.gkemulticloud.v1.AwsNodePool.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ != com.google.cloud.gkemulticloud.v1.AwsNodePool.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(16, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { @@ -1208,8 +1085,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 21, etag_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 22); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetAnnotations(), + AnnotationsDefaultEntryHolder.defaultEntry, + 22); if (autoscaling_ != null) { output.writeMessage(25, getAutoscaling()); } @@ -1222,6 +1103,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < errors_.size(); i++) { output.writeMessage(29, errors_.get(i)); } + if (management_ != null) { + output.writeMessage(30, getManagement()); + } + if (updateSettings_ != null) { + output.writeMessage(32, getUpdateSettings()); + } getUnknownFields().writeTo(output); } @@ -1240,46 +1127,61 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnetId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, subnetId_); } - if (state_ - != com.google.cloud.gkemulticloud.v1.AwsNodePool.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(16, state_); + if (state_ != com.google.cloud.gkemulticloud.v1.AwsNodePool.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(16, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, uid_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(18, reconciling_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(18, reconciling_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(19, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(20, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, etag_); } - for (java.util.Map.Entry entry : - internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry annotations__ = - AnnotationsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, annotations__); + for (java.util.Map.Entry entry + : internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry + annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, annotations__); } if (autoscaling_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(25, getAutoscaling()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(25, getAutoscaling()); } if (maxPodsConstraint_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(27, getMaxPodsConstraint()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(27, getMaxPodsConstraint()); } if (config_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(28, getConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(28, getConfig()); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(29, errors_.get(i)); + } + if (management_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(30, getManagement()); + } + if (updateSettings_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(32, getUpdateSettings()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1289,43 +1191,65 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsNodePool)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsNodePool other = - (com.google.cloud.gkemulticloud.v1.AwsNodePool) obj; + com.google.cloud.gkemulticloud.v1.AwsNodePool other = (com.google.cloud.gkemulticloud.v1.AwsNodePool) obj; - if (!getName().equals(other.getName())) return false; - if (!getVersion().equals(other.getVersion())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; if (hasConfig() != other.hasConfig()) return false; if (hasConfig()) { - if (!getConfig().equals(other.getConfig())) return false; + if (!getConfig() + .equals(other.getConfig())) return false; } if (hasAutoscaling() != other.hasAutoscaling()) return false; if (hasAutoscaling()) { - if (!getAutoscaling().equals(other.getAutoscaling())) return false; + if (!getAutoscaling() + .equals(other.getAutoscaling())) return false; } - if (!getSubnetId().equals(other.getSubnetId())) return false; + if (!getSubnetId() + .equals(other.getSubnetId())) return false; if (state_ != other.state_) return false; - if (!getUid().equals(other.getUid())) return false; - if (getReconciling() != other.getReconciling()) return false; + if (!getUid() + .equals(other.getUid())) return false; + if (getReconciling() + != other.getReconciling()) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } - if (!getEtag().equals(other.getEtag())) return false; - if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; + if (!internalGetAnnotations().equals( + other.internalGetAnnotations())) return false; if (hasMaxPodsConstraint() != other.hasMaxPodsConstraint()) return false; if (hasMaxPodsConstraint()) { - if (!getMaxPodsConstraint().equals(other.getMaxPodsConstraint())) return false; + if (!getMaxPodsConstraint() + .equals(other.getMaxPodsConstraint())) return false; + } + if (!getErrorsList() + .equals(other.getErrorsList())) return false; + if (hasManagement() != other.hasManagement()) return false; + if (hasManagement()) { + if (!getManagement() + .equals(other.getManagement())) return false; + } + if (hasUpdateSettings() != other.hasUpdateSettings()) return false; + if (hasUpdateSettings()) { + if (!getUpdateSettings() + .equals(other.getUpdateSettings())) return false; } - if (!getErrorsList().equals(other.getErrorsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1356,7 +1280,8 @@ public int hashCode() { hash = (37 * hash) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid().hashCode(); hash = (37 * hash) + RECONCILING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReconciling()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReconciling()); if (hasCreateTime()) { hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime().hashCode(); @@ -1379,161 +1304,167 @@ public int hashCode() { hash = (37 * hash) + ERRORS_FIELD_NUMBER; hash = (53 * hash) + getErrorsList().hashCode(); } + if (hasManagement()) { + hash = (37 * hash) + MANAGEMENT_FIELD_NUMBER; + hash = (53 * hash) + getManagement().hashCode(); + } + if (hasUpdateSettings()) { + hash = (37 * hash) + UPDATE_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getUpdateSettings().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.gkemulticloud.v1.AwsNodePool parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.gkemulticloud.v1.AwsNodePool parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePool parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePool parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePool parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePool parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePool parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePool parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePool parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePool parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsNodePool parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsNodePool parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePool parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePool parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsNodePool prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * An Anthos node pool running on AWS.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsNodePool} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsNodePool) com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 22: return internalGetAnnotations(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 22: return internalGetMutableAnnotations(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsNodePool.class, - com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsNodePool.class, com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AwsNodePool.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1578,13 +1509,23 @@ public Builder clear() { errorsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00002000); + management_ = null; + if (managementBuilder_ != null) { + managementBuilder_.dispose(); + managementBuilder_ = null; + } + updateSettings_ = null; + if (updateSettingsBuilder_ != null) { + updateSettingsBuilder_.dispose(); + updateSettingsBuilder_ = null; + } return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_descriptor; } @java.lang.Override @@ -1603,12 +1544,9 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePool build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsNodePool buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsNodePool result = - new com.google.cloud.gkemulticloud.v1.AwsNodePool(this); + com.google.cloud.gkemulticloud.v1.AwsNodePool result = new com.google.cloud.gkemulticloud.v1.AwsNodePool(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1634,11 +1572,14 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsNodePool result) result.version_ = version_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.config_ = configBuilder_ == null ? config_ : configBuilder_.build(); + result.config_ = configBuilder_ == null + ? config_ + : configBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.autoscaling_ = - autoscalingBuilder_ == null ? autoscaling_ : autoscalingBuilder_.build(); + result.autoscaling_ = autoscalingBuilder_ == null + ? autoscaling_ + : autoscalingBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.subnetId_ = subnetId_; @@ -1653,10 +1594,14 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsNodePool result) result.reconciling_ = reconciling_; } if (((from_bitField0_ & 0x00000100) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000400) != 0)) { result.etag_ = etag_; @@ -1666,10 +1611,19 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsNodePool result) result.annotations_.makeImmutable(); } if (((from_bitField0_ & 0x00001000) != 0)) { - result.maxPodsConstraint_ = - maxPodsConstraintBuilder_ == null - ? maxPodsConstraint_ - : maxPodsConstraintBuilder_.build(); + result.maxPodsConstraint_ = maxPodsConstraintBuilder_ == null + ? maxPodsConstraint_ + : maxPodsConstraintBuilder_.build(); + } + if (((from_bitField0_ & 0x00004000) != 0)) { + result.management_ = managementBuilder_ == null + ? management_ + : managementBuilder_.build(); + } + if (((from_bitField0_ & 0x00008000) != 0)) { + result.updateSettings_ = updateSettingsBuilder_ == null + ? updateSettings_ + : updateSettingsBuilder_.build(); } } @@ -1677,39 +1631,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsNodePool result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AwsNodePool) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsNodePool) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsNodePool)other); } else { super.mergeFrom(other); return this; @@ -1761,7 +1714,8 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsNodePool other) { bitField0_ |= 0x00000400; onChanged(); } - internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); + internalGetMutableAnnotations().mergeFrom( + other.internalGetAnnotations()); bitField0_ |= 0x00000800; if (other.hasMaxPodsConstraint()) { mergeMaxPodsConstraint(other.getMaxPodsConstraint()); @@ -1784,15 +1738,20 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsNodePool other) { errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00002000); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() - : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } } } + if (other.hasManagement()) { + mergeManagement(other.getManagement()); + } + if (other.hasUpdateSettings()) { + mergeUpdateSettings(other.getUpdateSettings()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1819,113 +1778,119 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 26: - { - version_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 50: - { - subnetId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 50 - case 128: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 128 - case 138: - { - uid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 138 - case 144: - { - reconciling_ = input.readBool(); - bitField0_ |= 0x00000080; - break; - } // case 144 - case 154: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 154 - case 162: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000200; - break; - } // case 162 - case 170: - { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; - break; - } // case 170 - case 178: - { - com.google.protobuf.MapEntry annotations__ = - input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableAnnotations() - .getMutableMap() - .put(annotations__.getKey(), annotations__.getValue()); - bitField0_ |= 0x00000800; - break; - } // case 178 - case 202: - { - input.readMessage(getAutoscalingFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 202 - case 218: - { - input.readMessage( - getMaxPodsConstraintFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00001000; - break; - } // case 218 - case 226: - { - input.readMessage(getConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 226 - case 234: - { - com.google.cloud.gkemulticloud.v1.AwsNodePoolError m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsNodePoolError.parser(), - extensionRegistry); - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.add(m); - } else { - errorsBuilder_.addMessage(m); - } - break; - } // case 234 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 50: { + subnetId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 50 + case 128: { + state_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 128 + case 138: { + uid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 138 + case 144: { + reconciling_ = input.readBool(); + bitField0_ |= 0x00000080; + break; + } // case 144 + case 154: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 154 + case 162: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 162 + case 170: { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 170 + case 178: { + com.google.protobuf.MapEntry + annotations__ = input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableAnnotations().getMutableMap().put( + annotations__.getKey(), annotations__.getValue()); + bitField0_ |= 0x00000800; + break; + } // case 178 + case 202: { + input.readMessage( + getAutoscalingFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 202 + case 218: { + input.readMessage( + getMaxPodsConstraintFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00001000; + break; + } // case 218 + case 226: { + input.readMessage( + getConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 226 + case 234: { + com.google.cloud.gkemulticloud.v1.AwsNodePoolError m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsNodePoolError.parser(), + extensionRegistry); + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.add(m); + } else { + errorsBuilder_.addMessage(m); + } + break; + } // case 234 + case 242: { + input.readMessage( + getManagementFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00004000; + break; + } // case 242 + case 258: { + input.readMessage( + getUpdateSettingsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00008000; + break; + } // case 258 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); @@ -1934,13 +1899,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The name of this resource.
      *
@@ -1952,13 +1914,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1967,8 +1929,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of this resource.
      *
@@ -1980,14 +1940,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1995,8 +1956,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of this resource.
      *
@@ -2008,22 +1967,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of this resource.
      *
@@ -2035,7 +1990,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -2045,8 +1999,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The name of this resource.
      *
@@ -2058,14 +2010,12 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2075,8 +2025,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
      * Required. The Kubernetes version to run on this node pool (e.g.
      * `1.19.10-gke.1000`).
@@ -2087,13 +2035,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string version = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -2102,8 +2050,6 @@ public java.lang.String getVersion() { } } /** - * - * *
      * Required. The Kubernetes version to run on this node pool (e.g.
      * `1.19.10-gke.1000`).
@@ -2114,14 +2060,15 @@ public java.lang.String getVersion() {
      * 
* * string version = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -2129,8 +2076,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * Required. The Kubernetes version to run on this node pool (e.g.
      * `1.19.10-gke.1000`).
@@ -2141,22 +2086,18 @@ public com.google.protobuf.ByteString getVersionBytes() {
      * 
* * string version = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } version_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The Kubernetes version to run on this node pool (e.g.
      * `1.19.10-gke.1000`).
@@ -2167,7 +2108,6 @@ public Builder setVersion(java.lang.String value) {
      * 
* * string version = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearVersion() { @@ -2177,8 +2117,6 @@ public Builder clearVersion() { return this; } /** - * - * *
      * Required. The Kubernetes version to run on this node pool (e.g.
      * `1.19.10-gke.1000`).
@@ -2189,14 +2127,12 @@ public Builder clearVersion() {
      * 
* * string version = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); version_ = value; bitField0_ |= 0x00000002; @@ -2206,58 +2142,39 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { private com.google.cloud.gkemulticloud.v1.AwsNodeConfig config_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodeConfig, - com.google.cloud.gkemulticloud.v1.AwsNodeConfig.Builder, - com.google.cloud.gkemulticloud.v1.AwsNodeConfigOrBuilder> - configBuilder_; + com.google.cloud.gkemulticloud.v1.AwsNodeConfig, com.google.cloud.gkemulticloud.v1.AwsNodeConfig.Builder, com.google.cloud.gkemulticloud.v1.AwsNodeConfigOrBuilder> configBuilder_; /** - * - * *
      * Required. The configuration of the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the config field is set. */ public boolean hasConfig() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The configuration of the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; * @return The config. */ public com.google.cloud.gkemulticloud.v1.AwsNodeConfig getConfig() { if (configBuilder_ == null) { - return config_ == null - ? com.google.cloud.gkemulticloud.v1.AwsNodeConfig.getDefaultInstance() - : config_; + return config_ == null ? com.google.cloud.gkemulticloud.v1.AwsNodeConfig.getDefaultInstance() : config_; } else { return configBuilder_.getMessage(); } } /** - * - * *
      * Required. The configuration of the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setConfig(com.google.cloud.gkemulticloud.v1.AwsNodeConfig value) { if (configBuilder_ == null) { @@ -2273,15 +2190,11 @@ public Builder setConfig(com.google.cloud.gkemulticloud.v1.AwsNodeConfig value) return this; } /** - * - * *
      * Required. The configuration of the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setConfig( com.google.cloud.gkemulticloud.v1.AwsNodeConfig.Builder builderForValue) { @@ -2295,21 +2208,17 @@ public Builder setConfig( return this; } /** - * - * *
      * Required. The configuration of the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeConfig(com.google.cloud.gkemulticloud.v1.AwsNodeConfig value) { if (configBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && config_ != null - && config_ != com.google.cloud.gkemulticloud.v1.AwsNodeConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + config_ != null && + config_ != com.google.cloud.gkemulticloud.v1.AwsNodeConfig.getDefaultInstance()) { getConfigBuilder().mergeFrom(value); } else { config_ = value; @@ -2322,15 +2231,11 @@ public Builder mergeConfig(com.google.cloud.gkemulticloud.v1.AwsNodeConfig value return this; } /** - * - * *
      * Required. The configuration of the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearConfig() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2343,15 +2248,11 @@ public Builder clearConfig() { return this; } /** - * - * *
      * Required. The configuration of the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AwsNodeConfig.Builder getConfigBuilder() { bitField0_ |= 0x00000004; @@ -2359,48 +2260,36 @@ public com.google.cloud.gkemulticloud.v1.AwsNodeConfig.Builder getConfigBuilder( return getConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The configuration of the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AwsNodeConfigOrBuilder getConfigOrBuilder() { if (configBuilder_ != null) { return configBuilder_.getMessageOrBuilder(); } else { - return config_ == null - ? com.google.cloud.gkemulticloud.v1.AwsNodeConfig.getDefaultInstance() - : config_; + return config_ == null ? + com.google.cloud.gkemulticloud.v1.AwsNodeConfig.getDefaultInstance() : config_; } } /** - * - * *
      * Required. The configuration of the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodeConfig, - com.google.cloud.gkemulticloud.v1.AwsNodeConfig.Builder, - com.google.cloud.gkemulticloud.v1.AwsNodeConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsNodeConfig, com.google.cloud.gkemulticloud.v1.AwsNodeConfig.Builder, com.google.cloud.gkemulticloud.v1.AwsNodeConfigOrBuilder> getConfigFieldBuilder() { if (configBuilder_ == null) { - configBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodeConfig, - com.google.cloud.gkemulticloud.v1.AwsNodeConfig.Builder, - com.google.cloud.gkemulticloud.v1.AwsNodeConfigOrBuilder>( - getConfig(), getParentForChildren(), isClean()); + configBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsNodeConfig, com.google.cloud.gkemulticloud.v1.AwsNodeConfig.Builder, com.google.cloud.gkemulticloud.v1.AwsNodeConfigOrBuilder>( + getConfig(), + getParentForChildren(), + isClean()); config_ = null; } return configBuilder_; @@ -2408,58 +2297,39 @@ public com.google.cloud.gkemulticloud.v1.AwsNodeConfigOrBuilder getConfigOrBuild private com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling, - com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.Builder, - com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscalingOrBuilder> - autoscalingBuilder_; + com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling, com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.Builder, com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscalingOrBuilder> autoscalingBuilder_; /** - * - * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscaling field is set. */ public boolean hasAutoscaling() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscaling. */ public com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling getAutoscaling() { if (autoscalingBuilder_ == null) { - return autoscaling_ == null - ? com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.getDefaultInstance() - : autoscaling_; + return autoscaling_ == null ? com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.getDefaultInstance() : autoscaling_; } else { return autoscalingBuilder_.getMessage(); } } /** - * - * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAutoscaling(com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling value) { if (autoscalingBuilder_ == null) { @@ -2475,15 +2345,11 @@ public Builder setAutoscaling(com.google.cloud.gkemulticloud.v1.AwsNodePoolAutos return this; } /** - * - * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAutoscaling( com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.Builder builderForValue) { @@ -2497,23 +2363,17 @@ public Builder setAutoscaling( return this; } /** - * - * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeAutoscaling( - com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling value) { + public Builder mergeAutoscaling(com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling value) { if (autoscalingBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && autoscaling_ != null - && autoscaling_ - != com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + autoscaling_ != null && + autoscaling_ != com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.getDefaultInstance()) { getAutoscalingBuilder().mergeFrom(value); } else { autoscaling_ = value; @@ -2526,15 +2386,11 @@ public Builder mergeAutoscaling( return this; } /** - * - * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAutoscaling() { bitField0_ = (bitField0_ & ~0x00000008); @@ -2547,66 +2403,48 @@ public Builder clearAutoscaling() { return this; } /** - * - * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.Builder - getAutoscalingBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.Builder getAutoscalingBuilder() { bitField0_ |= 0x00000008; onChanged(); return getAutoscalingFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscalingOrBuilder - getAutoscalingOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscalingOrBuilder getAutoscalingOrBuilder() { if (autoscalingBuilder_ != null) { return autoscalingBuilder_.getMessageOrBuilder(); } else { - return autoscaling_ == null - ? com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.getDefaultInstance() - : autoscaling_; + return autoscaling_ == null ? + com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.getDefaultInstance() : autoscaling_; } } /** - * - * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling, - com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.Builder, - com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscalingOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling, com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.Builder, com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscalingOrBuilder> getAutoscalingFieldBuilder() { if (autoscalingBuilder_ == null) { - autoscalingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling, - com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.Builder, - com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscalingOrBuilder>( - getAutoscaling(), getParentForChildren(), isClean()); + autoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling, com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.Builder, com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscalingOrBuilder>( + getAutoscaling(), + getParentForChildren(), + isClean()); autoscaling_ = null; } return autoscalingBuilder_; @@ -2614,20 +2452,18 @@ public Builder clearAutoscaling() { private java.lang.Object subnetId_ = ""; /** - * - * *
      * Required. The subnet where the node pool node run.
      * 
* * string subnet_id = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The subnetId. */ public java.lang.String getSubnetId() { java.lang.Object ref = subnetId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetId_ = s; return s; @@ -2636,21 +2472,20 @@ public java.lang.String getSubnetId() { } } /** - * - * *
      * Required. The subnet where the node pool node run.
      * 
* * string subnet_id = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for subnetId. */ - public com.google.protobuf.ByteString getSubnetIdBytes() { + public com.google.protobuf.ByteString + getSubnetIdBytes() { java.lang.Object ref = subnetId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnetId_ = b; return b; } else { @@ -2658,35 +2493,28 @@ public com.google.protobuf.ByteString getSubnetIdBytes() { } } /** - * - * *
      * Required. The subnet where the node pool node run.
      * 
* * string subnet_id = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The subnetId to set. * @return This builder for chaining. */ - public Builder setSubnetId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSubnetId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } subnetId_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Required. The subnet where the node pool node run.
      * 
* * string subnet_id = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSubnetId() { @@ -2696,21 +2524,17 @@ public Builder clearSubnetId() { return this; } /** - * - * *
      * Required. The subnet where the node pool node run.
      * 
* * string subnet_id = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for subnetId to set. * @return This builder for chaining. */ - public Builder setSubnetIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSubnetIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); subnetId_ = value; bitField0_ |= 0x00000010; @@ -2720,33 +2544,22 @@ public Builder setSubnetIdBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * Output only. The lifecycle state of the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The lifecycle state of the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2757,37 +2570,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The lifecycle state of the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsNodePool.State getState() { - com.google.cloud.gkemulticloud.v1.AwsNodePool.State result = - com.google.cloud.gkemulticloud.v1.AwsNodePool.State.forNumber(state_); - return result == null - ? com.google.cloud.gkemulticloud.v1.AwsNodePool.State.UNRECOGNIZED - : result; + com.google.cloud.gkemulticloud.v1.AwsNodePool.State result = com.google.cloud.gkemulticloud.v1.AwsNodePool.State.forNumber(state_); + return result == null ? com.google.cloud.gkemulticloud.v1.AwsNodePool.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The lifecycle state of the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -2801,16 +2601,11 @@ public Builder setState(com.google.cloud.gkemulticloud.v1.AwsNodePool.State valu return this; } /** - * - * *
      * Output only. The lifecycle state of the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -2822,20 +2617,18 @@ public Builder clearState() { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. A globally unique identifier for the node pool.
      * 
* * string uid = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -2844,21 +2637,20 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. A globally unique identifier for the node pool.
      * 
* * string uid = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -2866,35 +2658,28 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. A globally unique identifier for the node pool.
      * 
* * string uid = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uid_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Output only. A globally unique identifier for the node pool.
      * 
* * string uid = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { @@ -2904,21 +2689,17 @@ public Builder clearUid() { return this; } /** - * - * *
      * Output only. A globally unique identifier for the node pool.
      * 
* * string uid = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000040; @@ -2926,17 +2707,14 @@ public Builder setUidBytes(com.google.protobuf.ByteString value) { return this; } - private boolean reconciling_; + private boolean reconciling_ ; /** - * - * *
      * Output only. If set, there are currently changes in flight to the node
      * pool.
      * 
* * bool reconciling = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -2944,15 +2722,12 @@ public boolean getReconciling() { return reconciling_; } /** - * - * *
      * Output only. If set, there are currently changes in flight to the node
      * pool.
      * 
* * bool reconciling = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The reconciling to set. * @return This builder for chaining. */ @@ -2964,15 +2739,12 @@ public Builder setReconciling(boolean value) { return this; } /** - * - * *
      * Output only. If set, there are currently changes in flight to the node
      * pool.
      * 
* * bool reconciling = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -2984,58 +2756,39 @@ public Builder clearReconciling() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time at which this node pool was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000100) != 0); } /** - * - * *
      * Output only. The time at which this node pool was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which this node pool was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -3051,17 +2804,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this node pool was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -3072,21 +2822,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time at which this node pool was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -3099,15 +2845,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this node pool was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000100); @@ -3120,15 +2862,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time at which this node pool was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000100; @@ -3136,48 +2874,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which this node pool was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time at which this node pool was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -3185,58 +2911,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000200) != 0); } /** - * - * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3252,17 +2959,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -3273,21 +2977,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -3300,15 +3000,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000200); @@ -3321,15 +3017,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000200; @@ -3337,48 +3029,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -3386,8 +3066,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object etag_ = ""; /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3397,13 +3075,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string etag = 21; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -3412,8 +3090,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3423,14 +3099,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 21; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -3438,8 +3115,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3449,22 +3124,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 21; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3474,7 +3145,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 21; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -3484,8 +3154,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3495,14 +3163,12 @@ public Builder clearEtag() {
      * 
* * string etag = 21; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000400; @@ -3510,8 +3176,8 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -3520,12 +3186,11 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { } return annotations_; } - private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = - com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -3534,13 +3199,10 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { onChanged(); return annotations_; } - public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
      * Optional. Annotations on the node pool.
      *
@@ -3553,25 +3215,23 @@ public int getAnnotationsCount() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetAnnotations().getMap().containsKey(key); } - /** Use {@link #getAnnotationsMap()} instead. */ + /** + * Use {@link #getAnnotationsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** - * - * *
      * Optional. Annotations on the node pool.
      *
@@ -3584,16 +3244,13 @@ public java.util.Map getAnnotations() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** - * - * *
      * Optional. Annotations on the node pool.
      *
@@ -3606,23 +3263,20 @@ public java.util.Map getAnnotationsMap() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getAnnotationsOrDefault( + public /* nullable */ +java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Optional. Annotations on the node pool.
      *
@@ -3635,29 +3289,26 @@ public java.util.Map getAnnotationsMap() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + public java.lang.String getAnnotationsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearAnnotations() { bitField0_ = (bitField0_ & ~0x00000800); - internalGetMutableAnnotations().getMutableMap().clear(); + internalGetMutableAnnotations().getMutableMap() + .clear(); return this; } /** - * - * *
      * Optional. Annotations on the node pool.
      *
@@ -3670,25 +3321,25 @@ public Builder clearAnnotations() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableAnnotations().getMutableMap().remove(key); + public Builder removeAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableAnnotations().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableAnnotations() { + public java.util.Map + getMutableAnnotations() { bitField0_ |= 0x00000800; return internalGetMutableAnnotations().getMutableMap(); } /** - * - * *
      * Optional. Annotations on the node pool.
      *
@@ -3701,23 +3352,19 @@ public java.util.Map getMutableAnnotations()
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAnnotations(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableAnnotations().getMutableMap().put(key, value); + public Builder putAnnotations( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableAnnotations().getMutableMap() + .put(key, value); bitField0_ |= 0x00000800; return this; } /** - * - * *
      * Optional. Annotations on the node pool.
      *
@@ -3730,72 +3377,54 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAllAnnotations(java.util.Map values) { - internalGetMutableAnnotations().getMutableMap().putAll(values); + public Builder putAllAnnotations( + java.util.Map values) { + internalGetMutableAnnotations().getMutableMap() + .putAll(values); bitField0_ |= 0x00000800; return this; } private com.google.cloud.gkemulticloud.v1.MaxPodsConstraint maxPodsConstraint_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint, - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder, - com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder> - maxPodsConstraintBuilder_; + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint, com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder, com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder> maxPodsConstraintBuilder_; /** - * - * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the maxPodsConstraint field is set. */ public boolean hasMaxPodsConstraint() { return ((bitField0_ & 0x00001000) != 0); } /** - * - * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; * @return The maxPodsConstraint. */ public com.google.cloud.gkemulticloud.v1.MaxPodsConstraint getMaxPodsConstraint() { if (maxPodsConstraintBuilder_ == null) { - return maxPodsConstraint_ == null - ? com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance() - : maxPodsConstraint_; + return maxPodsConstraint_ == null ? com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance() : maxPodsConstraint_; } else { return maxPodsConstraintBuilder_.getMessage(); } } /** - * - * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMaxPodsConstraint(com.google.cloud.gkemulticloud.v1.MaxPodsConstraint value) { if (maxPodsConstraintBuilder_ == null) { @@ -3811,16 +3440,12 @@ public Builder setMaxPodsConstraint(com.google.cloud.gkemulticloud.v1.MaxPodsCon return this; } /** - * - * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMaxPodsConstraint( com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder builderForValue) { @@ -3834,24 +3459,18 @@ public Builder setMaxPodsConstraint( return this; } /** - * - * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeMaxPodsConstraint( - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint value) { + public Builder mergeMaxPodsConstraint(com.google.cloud.gkemulticloud.v1.MaxPodsConstraint value) { if (maxPodsConstraintBuilder_ == null) { - if (((bitField0_ & 0x00001000) != 0) - && maxPodsConstraint_ != null - && maxPodsConstraint_ - != com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance()) { + if (((bitField0_ & 0x00001000) != 0) && + maxPodsConstraint_ != null && + maxPodsConstraint_ != com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance()) { getMaxPodsConstraintBuilder().mergeFrom(value); } else { maxPodsConstraint_ = value; @@ -3864,16 +3483,12 @@ public Builder mergeMaxPodsConstraint( return this; } /** - * - * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearMaxPodsConstraint() { bitField0_ = (bitField0_ & ~0x00001000); @@ -3886,101 +3501,74 @@ public Builder clearMaxPodsConstraint() { return this; } /** - * - * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder - getMaxPodsConstraintBuilder() { + public com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder getMaxPodsConstraintBuilder() { bitField0_ |= 0x00001000; onChanged(); return getMaxPodsConstraintFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder - getMaxPodsConstraintOrBuilder() { + public com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder getMaxPodsConstraintOrBuilder() { if (maxPodsConstraintBuilder_ != null) { return maxPodsConstraintBuilder_.getMessageOrBuilder(); } else { - return maxPodsConstraint_ == null - ? com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance() - : maxPodsConstraint_; + return maxPodsConstraint_ == null ? + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance() : maxPodsConstraint_; } } /** - * - * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint, - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder, - com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder> + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint, com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder, com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder> getMaxPodsConstraintFieldBuilder() { if (maxPodsConstraintBuilder_ == null) { - maxPodsConstraintBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint, - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder, - com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder>( - getMaxPodsConstraint(), getParentForChildren(), isClean()); + maxPodsConstraintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint, com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder, com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder>( + getMaxPodsConstraint(), + getParentForChildren(), + isClean()); maxPodsConstraint_ = null; } return maxPodsConstraintBuilder_; } private java.util.List errors_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00002000) != 0)) { - errors_ = - new java.util.ArrayList(errors_); + errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00002000; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodePoolError, - com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder, - com.google.cloud.gkemulticloud.v1.AwsNodePoolErrorOrBuilder> - errorsBuilder_; + com.google.cloud.gkemulticloud.v1.AwsNodePoolError, com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder, com.google.cloud.gkemulticloud.v1.AwsNodePoolErrorOrBuilder> errorsBuilder_; /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getErrorsList() { if (errorsBuilder_ == null) { @@ -3990,15 +3578,11 @@ public java.util.List getErr } } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -4008,15 +3592,11 @@ public int getErrorsCount() { } } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.gkemulticloud.v1.AwsNodePoolError getErrors(int index) { if (errorsBuilder_ == null) { @@ -4026,17 +3606,14 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolError getErrors(int index) { } } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setErrors(int index, com.google.cloud.gkemulticloud.v1.AwsNodePoolError value) { + public Builder setErrors( + int index, com.google.cloud.gkemulticloud.v1.AwsNodePoolError value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4050,15 +3627,11 @@ public Builder setErrors(int index, com.google.cloud.gkemulticloud.v1.AwsNodePoo return this; } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setErrors( int index, com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder builderForValue) { @@ -4072,15 +3645,11 @@ public Builder setErrors( return this; } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addErrors(com.google.cloud.gkemulticloud.v1.AwsNodePoolError value) { if (errorsBuilder_ == null) { @@ -4096,17 +3665,14 @@ public Builder addErrors(com.google.cloud.gkemulticloud.v1.AwsNodePoolError valu return this; } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addErrors(int index, com.google.cloud.gkemulticloud.v1.AwsNodePoolError value) { + public Builder addErrors( + int index, com.google.cloud.gkemulticloud.v1.AwsNodePoolError value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4120,15 +3686,11 @@ public Builder addErrors(int index, com.google.cloud.gkemulticloud.v1.AwsNodePoo return this; } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addErrors( com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder builderForValue) { @@ -4142,15 +3704,11 @@ public Builder addErrors( return this; } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addErrors( int index, com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder builderForValue) { @@ -4164,21 +3722,18 @@ public Builder addErrors( return this; } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllErrors( java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -4186,15 +3741,11 @@ public Builder addAllErrors( return this; } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -4207,15 +3758,11 @@ public Builder clearErrors() { return this; } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -4228,51 +3775,39 @@ public Builder removeErrors(int index) { return this; } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder getErrorsBuilder(int index) { + public com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder getErrorsBuilder( + int index) { return getErrorsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.gkemulticloud.v1.AwsNodePoolErrorOrBuilder getErrorsOrBuilder( int index) { if (errorsBuilder_ == null) { - return errors_.get(index); - } else { + return errors_.get(index); } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -4280,71 +3815,366 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolErrorOrBuilder getErrorsOrBu } } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder addErrorsBuilder() { - return getErrorsFieldBuilder() - .addBuilder(com.google.cloud.gkemulticloud.v1.AwsNodePoolError.getDefaultInstance()); + return getErrorsFieldBuilder().addBuilder( + com.google.cloud.gkemulticloud.v1.AwsNodePoolError.getDefaultInstance()); } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder addErrorsBuilder(int index) { - return getErrorsFieldBuilder() - .addBuilder( - index, com.google.cloud.gkemulticloud.v1.AwsNodePoolError.getDefaultInstance()); + public com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder addErrorsBuilder( + int index) { + return getErrorsFieldBuilder().addBuilder( + index, com.google.cloud.gkemulticloud.v1.AwsNodePoolError.getDefaultInstance()); } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodePoolError, - com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder, - com.google.cloud.gkemulticloud.v1.AwsNodePoolErrorOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsNodePoolError, com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder, com.google.cloud.gkemulticloud.v1.AwsNodePoolErrorOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodePoolError, - com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder, - com.google.cloud.gkemulticloud.v1.AwsNodePoolErrorOrBuilder>( - errors_, ((bitField0_ & 0x00002000) != 0), getParentForChildren(), isClean()); + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsNodePoolError, com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder, com.google.cloud.gkemulticloud.v1.AwsNodePoolErrorOrBuilder>( + errors_, + ((bitField0_ & 0x00002000) != 0), + getParentForChildren(), + isClean()); errors_ = null; } return errorsBuilder_; } + private com.google.cloud.gkemulticloud.v1.AwsNodeManagement management_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsNodeManagement, com.google.cloud.gkemulticloud.v1.AwsNodeManagement.Builder, com.google.cloud.gkemulticloud.v1.AwsNodeManagementOrBuilder> managementBuilder_; + /** + *
+     * Optional. The Management configuration for this node pool.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the management field is set. + */ + public boolean hasManagement() { + return ((bitField0_ & 0x00004000) != 0); + } + /** + *
+     * Optional. The Management configuration for this node pool.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * @return The management. + */ + public com.google.cloud.gkemulticloud.v1.AwsNodeManagement getManagement() { + if (managementBuilder_ == null) { + return management_ == null ? com.google.cloud.gkemulticloud.v1.AwsNodeManagement.getDefaultInstance() : management_; + } else { + return managementBuilder_.getMessage(); + } + } + /** + *
+     * Optional. The Management configuration for this node pool.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setManagement(com.google.cloud.gkemulticloud.v1.AwsNodeManagement value) { + if (managementBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + management_ = value; + } else { + managementBuilder_.setMessage(value); + } + bitField0_ |= 0x00004000; + onChanged(); + return this; + } + /** + *
+     * Optional. The Management configuration for this node pool.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setManagement( + com.google.cloud.gkemulticloud.v1.AwsNodeManagement.Builder builderForValue) { + if (managementBuilder_ == null) { + management_ = builderForValue.build(); + } else { + managementBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00004000; + onChanged(); + return this; + } + /** + *
+     * Optional. The Management configuration for this node pool.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder mergeManagement(com.google.cloud.gkemulticloud.v1.AwsNodeManagement value) { + if (managementBuilder_ == null) { + if (((bitField0_ & 0x00004000) != 0) && + management_ != null && + management_ != com.google.cloud.gkemulticloud.v1.AwsNodeManagement.getDefaultInstance()) { + getManagementBuilder().mergeFrom(value); + } else { + management_ = value; + } + } else { + managementBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00004000; + onChanged(); + return this; + } + /** + *
+     * Optional. The Management configuration for this node pool.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder clearManagement() { + bitField0_ = (bitField0_ & ~0x00004000); + management_ = null; + if (managementBuilder_ != null) { + managementBuilder_.dispose(); + managementBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * Optional. The Management configuration for this node pool.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AwsNodeManagement.Builder getManagementBuilder() { + bitField0_ |= 0x00004000; + onChanged(); + return getManagementFieldBuilder().getBuilder(); + } + /** + *
+     * Optional. The Management configuration for this node pool.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AwsNodeManagementOrBuilder getManagementOrBuilder() { + if (managementBuilder_ != null) { + return managementBuilder_.getMessageOrBuilder(); + } else { + return management_ == null ? + com.google.cloud.gkemulticloud.v1.AwsNodeManagement.getDefaultInstance() : management_; + } + } + /** + *
+     * Optional. The Management configuration for this node pool.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsNodeManagement, com.google.cloud.gkemulticloud.v1.AwsNodeManagement.Builder, com.google.cloud.gkemulticloud.v1.AwsNodeManagementOrBuilder> + getManagementFieldBuilder() { + if (managementBuilder_ == null) { + managementBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsNodeManagement, com.google.cloud.gkemulticloud.v1.AwsNodeManagement.Builder, com.google.cloud.gkemulticloud.v1.AwsNodeManagementOrBuilder>( + getManagement(), + getParentForChildren(), + isClean()); + management_ = null; + } + return managementBuilder_; + } + + private com.google.cloud.gkemulticloud.v1.UpdateSettings updateSettings_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.UpdateSettings, com.google.cloud.gkemulticloud.v1.UpdateSettings.Builder, com.google.cloud.gkemulticloud.v1.UpdateSettingsOrBuilder> updateSettingsBuilder_; + /** + *
+     * Optional. Update settings control the speed and disruption of the update.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the updateSettings field is set. + */ + public boolean hasUpdateSettings() { + return ((bitField0_ & 0x00008000) != 0); + } + /** + *
+     * Optional. Update settings control the speed and disruption of the update.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * @return The updateSettings. + */ + public com.google.cloud.gkemulticloud.v1.UpdateSettings getUpdateSettings() { + if (updateSettingsBuilder_ == null) { + return updateSettings_ == null ? com.google.cloud.gkemulticloud.v1.UpdateSettings.getDefaultInstance() : updateSettings_; + } else { + return updateSettingsBuilder_.getMessage(); + } + } + /** + *
+     * Optional. Update settings control the speed and disruption of the update.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setUpdateSettings(com.google.cloud.gkemulticloud.v1.UpdateSettings value) { + if (updateSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + updateSettings_ = value; + } else { + updateSettingsBuilder_.setMessage(value); + } + bitField0_ |= 0x00008000; + onChanged(); + return this; + } + /** + *
+     * Optional. Update settings control the speed and disruption of the update.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setUpdateSettings( + com.google.cloud.gkemulticloud.v1.UpdateSettings.Builder builderForValue) { + if (updateSettingsBuilder_ == null) { + updateSettings_ = builderForValue.build(); + } else { + updateSettingsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00008000; + onChanged(); + return this; + } + /** + *
+     * Optional. Update settings control the speed and disruption of the update.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder mergeUpdateSettings(com.google.cloud.gkemulticloud.v1.UpdateSettings value) { + if (updateSettingsBuilder_ == null) { + if (((bitField0_ & 0x00008000) != 0) && + updateSettings_ != null && + updateSettings_ != com.google.cloud.gkemulticloud.v1.UpdateSettings.getDefaultInstance()) { + getUpdateSettingsBuilder().mergeFrom(value); + } else { + updateSettings_ = value; + } + } else { + updateSettingsBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00008000; + onChanged(); + return this; + } + /** + *
+     * Optional. Update settings control the speed and disruption of the update.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder clearUpdateSettings() { + bitField0_ = (bitField0_ & ~0x00008000); + updateSettings_ = null; + if (updateSettingsBuilder_ != null) { + updateSettingsBuilder_.dispose(); + updateSettingsBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * Optional. Update settings control the speed and disruption of the update.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.UpdateSettings.Builder getUpdateSettingsBuilder() { + bitField0_ |= 0x00008000; + onChanged(); + return getUpdateSettingsFieldBuilder().getBuilder(); + } + /** + *
+     * Optional. Update settings control the speed and disruption of the update.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.UpdateSettingsOrBuilder getUpdateSettingsOrBuilder() { + if (updateSettingsBuilder_ != null) { + return updateSettingsBuilder_.getMessageOrBuilder(); + } else { + return updateSettings_ == null ? + com.google.cloud.gkemulticloud.v1.UpdateSettings.getDefaultInstance() : updateSettings_; + } + } + /** + *
+     * Optional. Update settings control the speed and disruption of the update.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.UpdateSettings, com.google.cloud.gkemulticloud.v1.UpdateSettings.Builder, com.google.cloud.gkemulticloud.v1.UpdateSettingsOrBuilder> + getUpdateSettingsFieldBuilder() { + if (updateSettingsBuilder_ == null) { + updateSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.UpdateSettings, com.google.cloud.gkemulticloud.v1.UpdateSettings.Builder, com.google.cloud.gkemulticloud.v1.UpdateSettingsOrBuilder>( + getUpdateSettings(), + getParentForChildren(), + isClean()); + updateSettings_ = null; + } + return updateSettingsBuilder_; + } @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4354,12 +4184,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsNodePool) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsNodePool) private static final com.google.cloud.gkemulticloud.v1.AwsNodePool DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsNodePool(); } @@ -4368,27 +4198,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsNodePool getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsNodePool parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsNodePool parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4403,4 +4233,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsNodePool getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscaling.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscaling.java similarity index 68% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscaling.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscaling.java index 39ee892d9392..6e4a40957ab5 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscaling.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscaling.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * AwsNodePoolAutoscaling contains information required by cluster autoscaler
  * to adjust the size of the node pool to the current cluster usage.
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling}
  */
-public final class AwsNodePoolAutoscaling extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AwsNodePoolAutoscaling extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling)
     AwsNodePoolAutoscalingOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AwsNodePoolAutoscaling.newBuilder() to construct.
   private AwsNodePoolAutoscaling(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private AwsNodePoolAutoscaling() {}
+  private AwsNodePoolAutoscaling() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AwsNodePoolAutoscaling();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
-        .internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
-        .internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.class,
-            com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.Builder.class);
+            com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.class, com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.Builder.class);
   }
 
   public static final int MIN_NODE_COUNT_FIELD_NUMBER = 1;
   private int minNodeCount_ = 0;
   /**
-   *
-   *
    * 
    * Required. Minimum number of nodes in the node pool. Must be greater than or
    * equal to 1 and less than or equal to max_node_count.
    * 
* * int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The minNodeCount. */ @java.lang.Override @@ -83,15 +62,12 @@ public int getMinNodeCount() { public static final int MAX_NODE_COUNT_FIELD_NUMBER = 2; private int maxNodeCount_ = 0; /** - * - * *
    * Required. Maximum number of nodes in the node pool. Must be greater than or
    * equal to min_node_count and less than or equal to 50.
    * 
* * int32 max_node_count = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The maxNodeCount. */ @java.lang.Override @@ -100,7 +76,6 @@ public int getMaxNodeCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -112,7 +87,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (minNodeCount_ != 0) { output.writeInt32(1, minNodeCount_); } @@ -129,10 +105,12 @@ public int getSerializedSize() { size = 0; if (minNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, minNodeCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, minNodeCount_); } if (maxNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxNodeCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, maxNodeCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -142,16 +120,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling other = - (com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling) obj; + com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling other = (com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling) obj; - if (getMinNodeCount() != other.getMinNodeCount()) return false; - if (getMaxNodeCount() != other.getMaxNodeCount()) return false; + if (getMinNodeCount() + != other.getMinNodeCount()) return false; + if (getMaxNodeCount() + != other.getMaxNodeCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -173,104 +152,98 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * AwsNodePoolAutoscaling contains information required by cluster autoscaler
    * to adjust the size of the node pool to the current cluster usage.
@@ -278,32 +251,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling)
       com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscalingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.class,
-              com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.Builder.class);
+              com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.class, com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -314,9 +288,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_descriptor;
     }
 
     @java.lang.Override
@@ -335,11 +309,8 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling buildPartial() {
-      com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling result =
-          new com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling result = new com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -358,39 +329,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscal
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling) other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -398,8 +368,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling other) {
-      if (other == com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.getDefaultInstance()) return this;
       if (other.getMinNodeCount() != 0) {
         setMinNodeCount(other.getMinNodeCount());
       }
@@ -432,25 +401,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                minNodeCount_ = input.readInt32();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 16:
-              {
-                maxNodeCount_ = input.readInt32();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              minNodeCount_ = input.readInt32();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 16: {
+              maxNodeCount_ = input.readInt32();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -460,20 +426,16 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private int minNodeCount_;
+    private int minNodeCount_ ;
     /**
-     *
-     *
      * 
      * Required. Minimum number of nodes in the node pool. Must be greater than or
      * equal to 1 and less than or equal to max_node_count.
      * 
* * int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The minNodeCount. */ @java.lang.Override @@ -481,15 +443,12 @@ public int getMinNodeCount() { return minNodeCount_; } /** - * - * *
      * Required. Minimum number of nodes in the node pool. Must be greater than or
      * equal to 1 and less than or equal to max_node_count.
      * 
* * int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The minNodeCount to set. * @return This builder for chaining. */ @@ -501,15 +460,12 @@ public Builder setMinNodeCount(int value) { return this; } /** - * - * *
      * Required. Minimum number of nodes in the node pool. Must be greater than or
      * equal to 1 and less than or equal to max_node_count.
      * 
* * int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearMinNodeCount() { @@ -519,17 +475,14 @@ public Builder clearMinNodeCount() { return this; } - private int maxNodeCount_; + private int maxNodeCount_ ; /** - * - * *
      * Required. Maximum number of nodes in the node pool. Must be greater than or
      * equal to min_node_count and less than or equal to 50.
      * 
* * int32 max_node_count = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The maxNodeCount. */ @java.lang.Override @@ -537,15 +490,12 @@ public int getMaxNodeCount() { return maxNodeCount_; } /** - * - * *
      * Required. Maximum number of nodes in the node pool. Must be greater than or
      * equal to min_node_count and less than or equal to 50.
      * 
* * int32 max_node_count = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The maxNodeCount to set. * @return This builder for chaining. */ @@ -557,15 +507,12 @@ public Builder setMaxNodeCount(int value) { return this; } /** - * - * *
      * Required. Maximum number of nodes in the node pool. Must be greater than or
      * equal to min_node_count and less than or equal to 50.
      * 
* * int32 max_node_count = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearMaxNodeCount() { @@ -574,9 +521,9 @@ public Builder clearMaxNodeCount() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -586,12 +533,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling) private static final com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling(); } @@ -600,27 +547,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsNodePoolAutoscaling parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsNodePoolAutoscaling parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -635,4 +582,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscalingOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscalingOrBuilder.java similarity index 58% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscalingOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscalingOrBuilder.java index 2dbf24a42042..062473ff0028 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscalingOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscalingOrBuilder.java @@ -1,52 +1,30 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsNodePoolAutoscalingOrBuilder - extends +public interface AwsNodePoolAutoscalingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Minimum number of nodes in the node pool. Must be greater than or
    * equal to 1 and less than or equal to max_node_count.
    * 
* * int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The minNodeCount. */ int getMinNodeCount(); /** - * - * *
    * Required. Maximum number of nodes in the node pool. Must be greater than or
    * equal to min_node_count and less than or equal to 50.
    * 
* * int32 max_node_count = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The maxNodeCount. */ int getMaxNodeCount(); diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolError.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolError.java similarity index 66% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolError.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolError.java index 7d20c85f4dc2..bdd5ebe7b6df 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolError.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolError.java @@ -1,80 +1,57 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * AwsNodePoolError describes errors found on AWS node pools.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsNodePoolError} */ -public final class AwsNodePoolError extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AwsNodePoolError extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsNodePoolError) AwsNodePoolErrorOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AwsNodePoolError.newBuilder() to construct. private AwsNodePoolError(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AwsNodePoolError() { message_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AwsNodePoolError(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsNodePoolError.class, - com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsNodePoolError.class, com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder.class); } public static final int MESSAGE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** - * - * *
    * Human-friendly description of the error.
    * 
* * string message = 1; - * * @return The message. */ @java.lang.Override @@ -83,29 +60,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** - * - * *
    * Human-friendly description of the error.
    * 
* * string message = 1; - * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -114,7 +91,6 @@ public com.google.protobuf.ByteString getMessageBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,7 +102,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } @@ -150,15 +127,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsNodePoolError)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsNodePoolError other = - (com.google.cloud.gkemulticloud.v1.AwsNodePoolError) obj; + com.google.cloud.gkemulticloud.v1.AwsNodePoolError other = (com.google.cloud.gkemulticloud.v1.AwsNodePoolError) obj; - if (!getMessage().equals(other.getMessage())) return false; + if (!getMessage() + .equals(other.getMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -178,135 +155,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AwsNodePoolError parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePoolError parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePoolError parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePoolError parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePoolError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePoolError parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AwsNodePoolError parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsNodePoolError parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePoolError parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePoolError parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsNodePoolError parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsNodePoolError parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePoolError parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePoolError parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsNodePoolError prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * AwsNodePoolError describes errors found on AWS node pools.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsNodePoolError} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsNodePoolError) com.google.cloud.gkemulticloud.v1.AwsNodePoolErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsNodePoolError.class, - com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsNodePoolError.class, com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AwsNodePoolError.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -316,9 +289,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_descriptor; } @java.lang.Override @@ -337,11 +310,8 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolError build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsNodePoolError buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsNodePoolError result = - new com.google.cloud.gkemulticloud.v1.AwsNodePoolError(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.AwsNodePoolError result = new com.google.cloud.gkemulticloud.v1.AwsNodePoolError(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -357,39 +327,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsNodePoolError re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AwsNodePoolError) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsNodePoolError) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsNodePoolError)other); } else { super.mergeFrom(other); return this; @@ -397,8 +366,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsNodePoolError other) { - if (other == com.google.cloud.gkemulticloud.v1.AwsNodePoolError.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.AwsNodePoolError.getDefaultInstance()) return this; if (!other.getMessage().isEmpty()) { message_ = other.message_; bitField0_ |= 0x00000001; @@ -430,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -452,25 +418,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object message_ = ""; /** - * - * *
      * Human-friendly description of the error.
      * 
* * string message = 1; - * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -479,21 +442,20 @@ public java.lang.String getMessage() { } } /** - * - * *
      * Human-friendly description of the error.
      * 
* * string message = 1; - * * @return The bytes for message. */ - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -501,35 +463,28 @@ public com.google.protobuf.ByteString getMessageBytes() { } } /** - * - * *
      * Human-friendly description of the error.
      * 
* * string message = 1; - * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Human-friendly description of the error.
      * 
* * string message = 1; - * * @return This builder for chaining. */ public Builder clearMessage() { @@ -539,30 +494,26 @@ public Builder clearMessage() { return this; } /** - * - * *
      * Human-friendly description of the error.
      * 
* * string message = 1; - * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -572,12 +523,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsNodePoolError) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsNodePoolError) private static final com.google.cloud.gkemulticloud.v1.AwsNodePoolError DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsNodePoolError(); } @@ -586,27 +537,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsNodePoolError getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsNodePoolError parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsNodePoolError parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -621,4 +572,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsNodePoolError getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolErrorOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolErrorOrBuilder.java new file mode 100644 index 000000000000..34d6a5c55c8b --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolErrorOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface AwsNodePoolErrorOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsNodePoolError) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Human-friendly description of the error.
+   * 
+ * + * string message = 1; + * @return The message. + */ + java.lang.String getMessage(); + /** + *
+   * Human-friendly description of the error.
+   * 
+ * + * string message = 1; + * @return The bytes for message. + */ + com.google.protobuf.ByteString + getMessageBytes(); +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolName.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolName.java similarity index 100% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolName.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolName.java diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolOrBuilder.java similarity index 68% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolOrBuilder.java index 1b5a0a936165..8ee362ca28ec 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsNodePoolOrBuilder - extends +public interface AwsNodePoolOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsNodePool) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of this resource.
    *
@@ -37,13 +19,10 @@ public interface AwsNodePoolOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of this resource.
    *
@@ -55,14 +34,12 @@ public interface AwsNodePoolOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The Kubernetes version to run on this node pool (e.g.
    * `1.19.10-gke.1000`).
@@ -73,13 +50,10 @@ public interface AwsNodePoolOrBuilder
    * 
* * string version = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * Required. The Kubernetes version to run on this node pool (e.g.
    * `1.19.10-gke.1000`).
@@ -90,265 +64,190 @@ public interface AwsNodePoolOrBuilder
    * 
* * string version = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
    * Required. The configuration of the node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the config field is set. */ boolean hasConfig(); /** - * - * *
    * Required. The configuration of the node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; * @return The config. */ com.google.cloud.gkemulticloud.v1.AwsNodeConfig getConfig(); /** - * - * *
    * Required. The configuration of the node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gkemulticloud.v1.AwsNodeConfigOrBuilder getConfigOrBuilder(); /** - * - * *
    * Required. Autoscaler configuration for this node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscaling field is set. */ boolean hasAutoscaling(); /** - * - * *
    * Required. Autoscaler configuration for this node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscaling. */ com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling getAutoscaling(); /** - * - * *
    * Required. Autoscaler configuration for this node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscalingOrBuilder getAutoscalingOrBuilder(); /** - * - * *
    * Required. The subnet where the node pool node run.
    * 
* * string subnet_id = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The subnetId. */ java.lang.String getSubnetId(); /** - * - * *
    * Required. The subnet where the node pool node run.
    * 
* * string subnet_id = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for subnetId. */ - com.google.protobuf.ByteString getSubnetIdBytes(); + com.google.protobuf.ByteString + getSubnetIdBytes(); /** - * - * *
    * Output only. The lifecycle state of the node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The lifecycle state of the node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.gkemulticloud.v1.AwsNodePool.State getState(); /** - * - * *
    * Output only. A globally unique identifier for the node pool.
    * 
* * string uid = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. A globally unique identifier for the node pool.
    * 
* * string uid = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Output only. If set, there are currently changes in flight to the node
    * pool.
    * 
* * bool reconciling = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ boolean getReconciling(); /** - * - * *
    * Output only. The time at which this node pool was created.
    * 
* - * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time at which this node pool was created.
    * 
* - * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time at which this node pool was created.
    * 
* - * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time at which this node pool was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The time at which this node pool was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The time at which this node pool was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -358,13 +257,10 @@ public interface AwsNodePoolOrBuilder
    * 
* * string etag = 21; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -374,14 +270,12 @@ public interface AwsNodePoolOrBuilder
    * 
* * string etag = 21; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Optional. Annotations on the node pool.
    *
@@ -394,13 +288,10 @@ public interface AwsNodePoolOrBuilder
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; */ int getAnnotationsCount(); /** - * - * *
    * Optional. Annotations on the node pool.
    *
@@ -413,16 +304,17 @@ public interface AwsNodePoolOrBuilder
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; + */ + boolean containsAnnotations( + java.lang.String key); + /** + * Use {@link #getAnnotationsMap()} instead. */ - boolean containsAnnotations(java.lang.String key); - /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Deprecated - java.util.Map getAnnotations(); + java.util.Map + getAnnotations(); /** - * - * *
    * Optional. Annotations on the node pool.
    *
@@ -435,13 +327,11 @@ public interface AwsNodePoolOrBuilder
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map getAnnotationsMap(); + java.util.Map + getAnnotationsMap(); /** - * - * *
    * Optional. Annotations on the node pool.
    *
@@ -454,17 +344,14 @@ public interface AwsNodePoolOrBuilder
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ - java.lang.String getAnnotationsOrDefault( +java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Optional. Annotations on the node pool.
    *
@@ -477,114 +364,136 @@ java.lang.String getAnnotationsOrDefault(
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getAnnotationsOrThrow(java.lang.String key); + java.lang.String getAnnotationsOrThrow( + java.lang.String key); /** - * - * *
    * Required. The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the maxPodsConstraint field is set. */ boolean hasMaxPodsConstraint(); /** - * - * *
    * Required. The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; * @return The maxPodsConstraint. */ com.google.cloud.gkemulticloud.v1.MaxPodsConstraint getMaxPodsConstraint(); /** - * - * *
    * Required. The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder getMaxPodsConstraintOrBuilder(); /** - * - * *
    * Output only. A set of errors found in the node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getErrorsList(); + java.util.List + getErrorsList(); /** - * - * *
    * Output only. A set of errors found in the node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.gkemulticloud.v1.AwsNodePoolError getErrors(int index); /** + *
+   * Output only. A set of errors found in the node pool.
+   * 
* + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + int getErrorsCount(); + /** + *
+   * Output only. A set of errors found in the node pool.
+   * 
* + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + java.util.List + getErrorsOrBuilderList(); + /** *
    * Output only. A set of errors found in the node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - int getErrorsCount(); + com.google.cloud.gkemulticloud.v1.AwsNodePoolErrorOrBuilder getErrorsOrBuilder( + int index); + /** + *
+   * Optional. The Management configuration for this node pool.
+   * 
* + * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the management field is set. + */ + boolean hasManagement(); + /** + *
+   * Optional. The Management configuration for this node pool.
+   * 
* + * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * @return The management. + */ + com.google.cloud.gkemulticloud.v1.AwsNodeManagement getManagement(); + /** *
-   * Output only. A set of errors found in the node pool.
+   * Optional. The Management configuration for this node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List - getErrorsOrBuilderList(); + com.google.cloud.gkemulticloud.v1.AwsNodeManagementOrBuilder getManagementOrBuilder(); + /** + *
+   * Optional. Update settings control the speed and disruption of the update.
+   * 
* + * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the updateSettings field is set. + */ + boolean hasUpdateSettings(); + /** + *
+   * Optional. Update settings control the speed and disruption of the update.
+   * 
* + * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * @return The updateSettings. + */ + com.google.cloud.gkemulticloud.v1.UpdateSettings getUpdateSettings(); + /** *
-   * Output only. A set of errors found in the node pool.
+   * Optional. Update settings control the speed and disruption of the update.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.gkemulticloud.v1.AwsNodePoolErrorOrBuilder getErrorsOrBuilder(int index); + com.google.cloud.gkemulticloud.v1.UpdateSettingsOrBuilder getUpdateSettingsOrBuilder(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsOpenIdConfig.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsOpenIdConfig.java new file mode 100644 index 000000000000..809a26613b58 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsOpenIdConfig.java @@ -0,0 +1,1948 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +/** + *
+ * AwsOpenIdConfig is an OIDC discovery document for the cluster.
+ * See the OpenID Connect Discovery 1.0 specification for details.
+ * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsOpenIdConfig} + */ +public final class AwsOpenIdConfig extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsOpenIdConfig) + AwsOpenIdConfigOrBuilder { +private static final long serialVersionUID = 0L; + // Use AwsOpenIdConfig.newBuilder() to construct. + private AwsOpenIdConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AwsOpenIdConfig() { + issuer_ = ""; + jwksUri_ = ""; + responseTypesSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + subjectTypesSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + idTokenSigningAlgValuesSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + claimsSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + grantTypes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AwsOpenIdConfig(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsOpenIdConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsOpenIdConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig.class, com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig.Builder.class); + } + + public static final int ISSUER_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object issuer_ = ""; + /** + *
+   * OIDC Issuer.
+   * 
+ * + * string issuer = 1; + * @return The issuer. + */ + @java.lang.Override + public java.lang.String getIssuer() { + java.lang.Object ref = issuer_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + issuer_ = s; + return s; + } + } + /** + *
+   * OIDC Issuer.
+   * 
+ * + * string issuer = 1; + * @return The bytes for issuer. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getIssuerBytes() { + java.lang.Object ref = issuer_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + issuer_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int JWKS_URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object jwksUri_ = ""; + /** + *
+   * JSON Web Key uri.
+   * 
+ * + * string jwks_uri = 2; + * @return The jwksUri. + */ + @java.lang.Override + public java.lang.String getJwksUri() { + java.lang.Object ref = jwksUri_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + jwksUri_ = s; + return s; + } + } + /** + *
+   * JSON Web Key uri.
+   * 
+ * + * string jwks_uri = 2; + * @return The bytes for jwksUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getJwksUriBytes() { + java.lang.Object ref = jwksUri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + jwksUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RESPONSE_TYPES_SUPPORTED_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList responseTypesSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+   * Supported response types.
+   * 
+ * + * repeated string response_types_supported = 3; + * @return A list containing the responseTypesSupported. + */ + public com.google.protobuf.ProtocolStringList + getResponseTypesSupportedList() { + return responseTypesSupported_; + } + /** + *
+   * Supported response types.
+   * 
+ * + * repeated string response_types_supported = 3; + * @return The count of responseTypesSupported. + */ + public int getResponseTypesSupportedCount() { + return responseTypesSupported_.size(); + } + /** + *
+   * Supported response types.
+   * 
+ * + * repeated string response_types_supported = 3; + * @param index The index of the element to return. + * @return The responseTypesSupported at the given index. + */ + public java.lang.String getResponseTypesSupported(int index) { + return responseTypesSupported_.get(index); + } + /** + *
+   * Supported response types.
+   * 
+ * + * repeated string response_types_supported = 3; + * @param index The index of the value to return. + * @return The bytes of the responseTypesSupported at the given index. + */ + public com.google.protobuf.ByteString + getResponseTypesSupportedBytes(int index) { + return responseTypesSupported_.getByteString(index); + } + + public static final int SUBJECT_TYPES_SUPPORTED_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList subjectTypesSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+   * Supported subject types.
+   * 
+ * + * repeated string subject_types_supported = 4; + * @return A list containing the subjectTypesSupported. + */ + public com.google.protobuf.ProtocolStringList + getSubjectTypesSupportedList() { + return subjectTypesSupported_; + } + /** + *
+   * Supported subject types.
+   * 
+ * + * repeated string subject_types_supported = 4; + * @return The count of subjectTypesSupported. + */ + public int getSubjectTypesSupportedCount() { + return subjectTypesSupported_.size(); + } + /** + *
+   * Supported subject types.
+   * 
+ * + * repeated string subject_types_supported = 4; + * @param index The index of the element to return. + * @return The subjectTypesSupported at the given index. + */ + public java.lang.String getSubjectTypesSupported(int index) { + return subjectTypesSupported_.get(index); + } + /** + *
+   * Supported subject types.
+   * 
+ * + * repeated string subject_types_supported = 4; + * @param index The index of the value to return. + * @return The bytes of the subjectTypesSupported at the given index. + */ + public com.google.protobuf.ByteString + getSubjectTypesSupportedBytes(int index) { + return subjectTypesSupported_.getByteString(index); + } + + public static final int ID_TOKEN_SIGNING_ALG_VALUES_SUPPORTED_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList idTokenSigningAlgValuesSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+   * supported ID Token signing Algorithms.
+   * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @return A list containing the idTokenSigningAlgValuesSupported. + */ + public com.google.protobuf.ProtocolStringList + getIdTokenSigningAlgValuesSupportedList() { + return idTokenSigningAlgValuesSupported_; + } + /** + *
+   * supported ID Token signing Algorithms.
+   * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @return The count of idTokenSigningAlgValuesSupported. + */ + public int getIdTokenSigningAlgValuesSupportedCount() { + return idTokenSigningAlgValuesSupported_.size(); + } + /** + *
+   * supported ID Token signing Algorithms.
+   * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @param index The index of the element to return. + * @return The idTokenSigningAlgValuesSupported at the given index. + */ + public java.lang.String getIdTokenSigningAlgValuesSupported(int index) { + return idTokenSigningAlgValuesSupported_.get(index); + } + /** + *
+   * supported ID Token signing Algorithms.
+   * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @param index The index of the value to return. + * @return The bytes of the idTokenSigningAlgValuesSupported at the given index. + */ + public com.google.protobuf.ByteString + getIdTokenSigningAlgValuesSupportedBytes(int index) { + return idTokenSigningAlgValuesSupported_.getByteString(index); + } + + public static final int CLAIMS_SUPPORTED_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList claimsSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+   * Supported claims.
+   * 
+ * + * repeated string claims_supported = 6; + * @return A list containing the claimsSupported. + */ + public com.google.protobuf.ProtocolStringList + getClaimsSupportedList() { + return claimsSupported_; + } + /** + *
+   * Supported claims.
+   * 
+ * + * repeated string claims_supported = 6; + * @return The count of claimsSupported. + */ + public int getClaimsSupportedCount() { + return claimsSupported_.size(); + } + /** + *
+   * Supported claims.
+   * 
+ * + * repeated string claims_supported = 6; + * @param index The index of the element to return. + * @return The claimsSupported at the given index. + */ + public java.lang.String getClaimsSupported(int index) { + return claimsSupported_.get(index); + } + /** + *
+   * Supported claims.
+   * 
+ * + * repeated string claims_supported = 6; + * @param index The index of the value to return. + * @return The bytes of the claimsSupported at the given index. + */ + public com.google.protobuf.ByteString + getClaimsSupportedBytes(int index) { + return claimsSupported_.getByteString(index); + } + + public static final int GRANT_TYPES_FIELD_NUMBER = 7; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList grantTypes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+   * Supported grant types.
+   * 
+ * + * repeated string grant_types = 7; + * @return A list containing the grantTypes. + */ + public com.google.protobuf.ProtocolStringList + getGrantTypesList() { + return grantTypes_; + } + /** + *
+   * Supported grant types.
+   * 
+ * + * repeated string grant_types = 7; + * @return The count of grantTypes. + */ + public int getGrantTypesCount() { + return grantTypes_.size(); + } + /** + *
+   * Supported grant types.
+   * 
+ * + * repeated string grant_types = 7; + * @param index The index of the element to return. + * @return The grantTypes at the given index. + */ + public java.lang.String getGrantTypes(int index) { + return grantTypes_.get(index); + } + /** + *
+   * Supported grant types.
+   * 
+ * + * repeated string grant_types = 7; + * @param index The index of the value to return. + * @return The bytes of the grantTypes at the given index. + */ + public com.google.protobuf.ByteString + getGrantTypesBytes(int index) { + return grantTypes_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issuer_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issuer_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jwksUri_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, jwksUri_); + } + for (int i = 0; i < responseTypesSupported_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, responseTypesSupported_.getRaw(i)); + } + for (int i = 0; i < subjectTypesSupported_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, subjectTypesSupported_.getRaw(i)); + } + for (int i = 0; i < idTokenSigningAlgValuesSupported_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, idTokenSigningAlgValuesSupported_.getRaw(i)); + } + for (int i = 0; i < claimsSupported_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, claimsSupported_.getRaw(i)); + } + for (int i = 0; i < grantTypes_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, grantTypes_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issuer_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, issuer_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jwksUri_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, jwksUri_); + } + { + int dataSize = 0; + for (int i = 0; i < responseTypesSupported_.size(); i++) { + dataSize += computeStringSizeNoTag(responseTypesSupported_.getRaw(i)); + } + size += dataSize; + size += 1 * getResponseTypesSupportedList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < subjectTypesSupported_.size(); i++) { + dataSize += computeStringSizeNoTag(subjectTypesSupported_.getRaw(i)); + } + size += dataSize; + size += 1 * getSubjectTypesSupportedList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < idTokenSigningAlgValuesSupported_.size(); i++) { + dataSize += computeStringSizeNoTag(idTokenSigningAlgValuesSupported_.getRaw(i)); + } + size += dataSize; + size += 1 * getIdTokenSigningAlgValuesSupportedList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < claimsSupported_.size(); i++) { + dataSize += computeStringSizeNoTag(claimsSupported_.getRaw(i)); + } + size += dataSize; + size += 1 * getClaimsSupportedList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < grantTypes_.size(); i++) { + dataSize += computeStringSizeNoTag(grantTypes_.getRaw(i)); + } + size += dataSize; + size += 1 * getGrantTypesList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig other = (com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig) obj; + + if (!getIssuer() + .equals(other.getIssuer())) return false; + if (!getJwksUri() + .equals(other.getJwksUri())) return false; + if (!getResponseTypesSupportedList() + .equals(other.getResponseTypesSupportedList())) return false; + if (!getSubjectTypesSupportedList() + .equals(other.getSubjectTypesSupportedList())) return false; + if (!getIdTokenSigningAlgValuesSupportedList() + .equals(other.getIdTokenSigningAlgValuesSupportedList())) return false; + if (!getClaimsSupportedList() + .equals(other.getClaimsSupportedList())) return false; + if (!getGrantTypesList() + .equals(other.getGrantTypesList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ISSUER_FIELD_NUMBER; + hash = (53 * hash) + getIssuer().hashCode(); + hash = (37 * hash) + JWKS_URI_FIELD_NUMBER; + hash = (53 * hash) + getJwksUri().hashCode(); + if (getResponseTypesSupportedCount() > 0) { + hash = (37 * hash) + RESPONSE_TYPES_SUPPORTED_FIELD_NUMBER; + hash = (53 * hash) + getResponseTypesSupportedList().hashCode(); + } + if (getSubjectTypesSupportedCount() > 0) { + hash = (37 * hash) + SUBJECT_TYPES_SUPPORTED_FIELD_NUMBER; + hash = (53 * hash) + getSubjectTypesSupportedList().hashCode(); + } + if (getIdTokenSigningAlgValuesSupportedCount() > 0) { + hash = (37 * hash) + ID_TOKEN_SIGNING_ALG_VALUES_SUPPORTED_FIELD_NUMBER; + hash = (53 * hash) + getIdTokenSigningAlgValuesSupportedList().hashCode(); + } + if (getClaimsSupportedCount() > 0) { + hash = (37 * hash) + CLAIMS_SUPPORTED_FIELD_NUMBER; + hash = (53 * hash) + getClaimsSupportedList().hashCode(); + } + if (getGrantTypesCount() > 0) { + hash = (37 * hash) + GRANT_TYPES_FIELD_NUMBER; + hash = (53 * hash) + getGrantTypesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * AwsOpenIdConfig is an OIDC discovery document for the cluster.
+   * See the OpenID Connect Discovery 1.0 specification for details.
+   * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsOpenIdConfig} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsOpenIdConfig) + com.google.cloud.gkemulticloud.v1.AwsOpenIdConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsOpenIdConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsOpenIdConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig.class, com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + issuer_ = ""; + jwksUri_ = ""; + responseTypesSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + subjectTypesSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + idTokenSigningAlgValuesSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + claimsSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + grantTypes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsOpenIdConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig build() { + com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig buildPartial() { + com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig result = new com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.issuer_ = issuer_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.jwksUri_ = jwksUri_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + responseTypesSupported_.makeImmutable(); + result.responseTypesSupported_ = responseTypesSupported_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + subjectTypesSupported_.makeImmutable(); + result.subjectTypesSupported_ = subjectTypesSupported_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + idTokenSigningAlgValuesSupported_.makeImmutable(); + result.idTokenSigningAlgValuesSupported_ = idTokenSigningAlgValuesSupported_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + claimsSupported_.makeImmutable(); + result.claimsSupported_ = claimsSupported_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + grantTypes_.makeImmutable(); + result.grantTypes_ = grantTypes_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig other) { + if (other == com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig.getDefaultInstance()) return this; + if (!other.getIssuer().isEmpty()) { + issuer_ = other.issuer_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getJwksUri().isEmpty()) { + jwksUri_ = other.jwksUri_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.responseTypesSupported_.isEmpty()) { + if (responseTypesSupported_.isEmpty()) { + responseTypesSupported_ = other.responseTypesSupported_; + bitField0_ |= 0x00000004; + } else { + ensureResponseTypesSupportedIsMutable(); + responseTypesSupported_.addAll(other.responseTypesSupported_); + } + onChanged(); + } + if (!other.subjectTypesSupported_.isEmpty()) { + if (subjectTypesSupported_.isEmpty()) { + subjectTypesSupported_ = other.subjectTypesSupported_; + bitField0_ |= 0x00000008; + } else { + ensureSubjectTypesSupportedIsMutable(); + subjectTypesSupported_.addAll(other.subjectTypesSupported_); + } + onChanged(); + } + if (!other.idTokenSigningAlgValuesSupported_.isEmpty()) { + if (idTokenSigningAlgValuesSupported_.isEmpty()) { + idTokenSigningAlgValuesSupported_ = other.idTokenSigningAlgValuesSupported_; + bitField0_ |= 0x00000010; + } else { + ensureIdTokenSigningAlgValuesSupportedIsMutable(); + idTokenSigningAlgValuesSupported_.addAll(other.idTokenSigningAlgValuesSupported_); + } + onChanged(); + } + if (!other.claimsSupported_.isEmpty()) { + if (claimsSupported_.isEmpty()) { + claimsSupported_ = other.claimsSupported_; + bitField0_ |= 0x00000020; + } else { + ensureClaimsSupportedIsMutable(); + claimsSupported_.addAll(other.claimsSupported_); + } + onChanged(); + } + if (!other.grantTypes_.isEmpty()) { + if (grantTypes_.isEmpty()) { + grantTypes_ = other.grantTypes_; + bitField0_ |= 0x00000040; + } else { + ensureGrantTypesIsMutable(); + grantTypes_.addAll(other.grantTypes_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + issuer_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + jwksUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureResponseTypesSupportedIsMutable(); + responseTypesSupported_.add(s); + break; + } // case 26 + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + ensureSubjectTypesSupportedIsMutable(); + subjectTypesSupported_.add(s); + break; + } // case 34 + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + ensureIdTokenSigningAlgValuesSupportedIsMutable(); + idTokenSigningAlgValuesSupported_.add(s); + break; + } // case 42 + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + ensureClaimsSupportedIsMutable(); + claimsSupported_.add(s); + break; + } // case 50 + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + ensureGrantTypesIsMutable(); + grantTypes_.add(s); + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object issuer_ = ""; + /** + *
+     * OIDC Issuer.
+     * 
+ * + * string issuer = 1; + * @return The issuer. + */ + public java.lang.String getIssuer() { + java.lang.Object ref = issuer_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + issuer_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * OIDC Issuer.
+     * 
+ * + * string issuer = 1; + * @return The bytes for issuer. + */ + public com.google.protobuf.ByteString + getIssuerBytes() { + java.lang.Object ref = issuer_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + issuer_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * OIDC Issuer.
+     * 
+ * + * string issuer = 1; + * @param value The issuer to set. + * @return This builder for chaining. + */ + public Builder setIssuer( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + issuer_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * OIDC Issuer.
+     * 
+ * + * string issuer = 1; + * @return This builder for chaining. + */ + public Builder clearIssuer() { + issuer_ = getDefaultInstance().getIssuer(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     * OIDC Issuer.
+     * 
+ * + * string issuer = 1; + * @param value The bytes for issuer to set. + * @return This builder for chaining. + */ + public Builder setIssuerBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + issuer_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object jwksUri_ = ""; + /** + *
+     * JSON Web Key uri.
+     * 
+ * + * string jwks_uri = 2; + * @return The jwksUri. + */ + public java.lang.String getJwksUri() { + java.lang.Object ref = jwksUri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + jwksUri_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * JSON Web Key uri.
+     * 
+ * + * string jwks_uri = 2; + * @return The bytes for jwksUri. + */ + public com.google.protobuf.ByteString + getJwksUriBytes() { + java.lang.Object ref = jwksUri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + jwksUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * JSON Web Key uri.
+     * 
+ * + * string jwks_uri = 2; + * @param value The jwksUri to set. + * @return This builder for chaining. + */ + public Builder setJwksUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + jwksUri_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * JSON Web Key uri.
+     * 
+ * + * string jwks_uri = 2; + * @return This builder for chaining. + */ + public Builder clearJwksUri() { + jwksUri_ = getDefaultInstance().getJwksUri(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+     * JSON Web Key uri.
+     * 
+ * + * string jwks_uri = 2; + * @param value The bytes for jwksUri to set. + * @return This builder for chaining. + */ + public Builder setJwksUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + jwksUri_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList responseTypesSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureResponseTypesSupportedIsMutable() { + if (!responseTypesSupported_.isModifiable()) { + responseTypesSupported_ = new com.google.protobuf.LazyStringArrayList(responseTypesSupported_); + } + bitField0_ |= 0x00000004; + } + /** + *
+     * Supported response types.
+     * 
+ * + * repeated string response_types_supported = 3; + * @return A list containing the responseTypesSupported. + */ + public com.google.protobuf.ProtocolStringList + getResponseTypesSupportedList() { + responseTypesSupported_.makeImmutable(); + return responseTypesSupported_; + } + /** + *
+     * Supported response types.
+     * 
+ * + * repeated string response_types_supported = 3; + * @return The count of responseTypesSupported. + */ + public int getResponseTypesSupportedCount() { + return responseTypesSupported_.size(); + } + /** + *
+     * Supported response types.
+     * 
+ * + * repeated string response_types_supported = 3; + * @param index The index of the element to return. + * @return The responseTypesSupported at the given index. + */ + public java.lang.String getResponseTypesSupported(int index) { + return responseTypesSupported_.get(index); + } + /** + *
+     * Supported response types.
+     * 
+ * + * repeated string response_types_supported = 3; + * @param index The index of the value to return. + * @return The bytes of the responseTypesSupported at the given index. + */ + public com.google.protobuf.ByteString + getResponseTypesSupportedBytes(int index) { + return responseTypesSupported_.getByteString(index); + } + /** + *
+     * Supported response types.
+     * 
+ * + * repeated string response_types_supported = 3; + * @param index The index to set the value at. + * @param value The responseTypesSupported to set. + * @return This builder for chaining. + */ + public Builder setResponseTypesSupported( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureResponseTypesSupportedIsMutable(); + responseTypesSupported_.set(index, value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * Supported response types.
+     * 
+ * + * repeated string response_types_supported = 3; + * @param value The responseTypesSupported to add. + * @return This builder for chaining. + */ + public Builder addResponseTypesSupported( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureResponseTypesSupportedIsMutable(); + responseTypesSupported_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * Supported response types.
+     * 
+ * + * repeated string response_types_supported = 3; + * @param values The responseTypesSupported to add. + * @return This builder for chaining. + */ + public Builder addAllResponseTypesSupported( + java.lang.Iterable values) { + ensureResponseTypesSupportedIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, responseTypesSupported_); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * Supported response types.
+     * 
+ * + * repeated string response_types_supported = 3; + * @return This builder for chaining. + */ + public Builder clearResponseTypesSupported() { + responseTypesSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; + onChanged(); + return this; + } + /** + *
+     * Supported response types.
+     * 
+ * + * repeated string response_types_supported = 3; + * @param value The bytes of the responseTypesSupported to add. + * @return This builder for chaining. + */ + public Builder addResponseTypesSupportedBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureResponseTypesSupportedIsMutable(); + responseTypesSupported_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList subjectTypesSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureSubjectTypesSupportedIsMutable() { + if (!subjectTypesSupported_.isModifiable()) { + subjectTypesSupported_ = new com.google.protobuf.LazyStringArrayList(subjectTypesSupported_); + } + bitField0_ |= 0x00000008; + } + /** + *
+     * Supported subject types.
+     * 
+ * + * repeated string subject_types_supported = 4; + * @return A list containing the subjectTypesSupported. + */ + public com.google.protobuf.ProtocolStringList + getSubjectTypesSupportedList() { + subjectTypesSupported_.makeImmutable(); + return subjectTypesSupported_; + } + /** + *
+     * Supported subject types.
+     * 
+ * + * repeated string subject_types_supported = 4; + * @return The count of subjectTypesSupported. + */ + public int getSubjectTypesSupportedCount() { + return subjectTypesSupported_.size(); + } + /** + *
+     * Supported subject types.
+     * 
+ * + * repeated string subject_types_supported = 4; + * @param index The index of the element to return. + * @return The subjectTypesSupported at the given index. + */ + public java.lang.String getSubjectTypesSupported(int index) { + return subjectTypesSupported_.get(index); + } + /** + *
+     * Supported subject types.
+     * 
+ * + * repeated string subject_types_supported = 4; + * @param index The index of the value to return. + * @return The bytes of the subjectTypesSupported at the given index. + */ + public com.google.protobuf.ByteString + getSubjectTypesSupportedBytes(int index) { + return subjectTypesSupported_.getByteString(index); + } + /** + *
+     * Supported subject types.
+     * 
+ * + * repeated string subject_types_supported = 4; + * @param index The index to set the value at. + * @param value The subjectTypesSupported to set. + * @return This builder for chaining. + */ + public Builder setSubjectTypesSupported( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureSubjectTypesSupportedIsMutable(); + subjectTypesSupported_.set(index, value); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Supported subject types.
+     * 
+ * + * repeated string subject_types_supported = 4; + * @param value The subjectTypesSupported to add. + * @return This builder for chaining. + */ + public Builder addSubjectTypesSupported( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureSubjectTypesSupportedIsMutable(); + subjectTypesSupported_.add(value); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Supported subject types.
+     * 
+ * + * repeated string subject_types_supported = 4; + * @param values The subjectTypesSupported to add. + * @return This builder for chaining. + */ + public Builder addAllSubjectTypesSupported( + java.lang.Iterable values) { + ensureSubjectTypesSupportedIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, subjectTypesSupported_); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Supported subject types.
+     * 
+ * + * repeated string subject_types_supported = 4; + * @return This builder for chaining. + */ + public Builder clearSubjectTypesSupported() { + subjectTypesSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008);; + onChanged(); + return this; + } + /** + *
+     * Supported subject types.
+     * 
+ * + * repeated string subject_types_supported = 4; + * @param value The bytes of the subjectTypesSupported to add. + * @return This builder for chaining. + */ + public Builder addSubjectTypesSupportedBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureSubjectTypesSupportedIsMutable(); + subjectTypesSupported_.add(value); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList idTokenSigningAlgValuesSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureIdTokenSigningAlgValuesSupportedIsMutable() { + if (!idTokenSigningAlgValuesSupported_.isModifiable()) { + idTokenSigningAlgValuesSupported_ = new com.google.protobuf.LazyStringArrayList(idTokenSigningAlgValuesSupported_); + } + bitField0_ |= 0x00000010; + } + /** + *
+     * supported ID Token signing Algorithms.
+     * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @return A list containing the idTokenSigningAlgValuesSupported. + */ + public com.google.protobuf.ProtocolStringList + getIdTokenSigningAlgValuesSupportedList() { + idTokenSigningAlgValuesSupported_.makeImmutable(); + return idTokenSigningAlgValuesSupported_; + } + /** + *
+     * supported ID Token signing Algorithms.
+     * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @return The count of idTokenSigningAlgValuesSupported. + */ + public int getIdTokenSigningAlgValuesSupportedCount() { + return idTokenSigningAlgValuesSupported_.size(); + } + /** + *
+     * supported ID Token signing Algorithms.
+     * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @param index The index of the element to return. + * @return The idTokenSigningAlgValuesSupported at the given index. + */ + public java.lang.String getIdTokenSigningAlgValuesSupported(int index) { + return idTokenSigningAlgValuesSupported_.get(index); + } + /** + *
+     * supported ID Token signing Algorithms.
+     * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @param index The index of the value to return. + * @return The bytes of the idTokenSigningAlgValuesSupported at the given index. + */ + public com.google.protobuf.ByteString + getIdTokenSigningAlgValuesSupportedBytes(int index) { + return idTokenSigningAlgValuesSupported_.getByteString(index); + } + /** + *
+     * supported ID Token signing Algorithms.
+     * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @param index The index to set the value at. + * @param value The idTokenSigningAlgValuesSupported to set. + * @return This builder for chaining. + */ + public Builder setIdTokenSigningAlgValuesSupported( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureIdTokenSigningAlgValuesSupportedIsMutable(); + idTokenSigningAlgValuesSupported_.set(index, value); + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * supported ID Token signing Algorithms.
+     * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @param value The idTokenSigningAlgValuesSupported to add. + * @return This builder for chaining. + */ + public Builder addIdTokenSigningAlgValuesSupported( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureIdTokenSigningAlgValuesSupportedIsMutable(); + idTokenSigningAlgValuesSupported_.add(value); + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * supported ID Token signing Algorithms.
+     * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @param values The idTokenSigningAlgValuesSupported to add. + * @return This builder for chaining. + */ + public Builder addAllIdTokenSigningAlgValuesSupported( + java.lang.Iterable values) { + ensureIdTokenSigningAlgValuesSupportedIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, idTokenSigningAlgValuesSupported_); + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * supported ID Token signing Algorithms.
+     * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @return This builder for chaining. + */ + public Builder clearIdTokenSigningAlgValuesSupported() { + idTokenSigningAlgValuesSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010);; + onChanged(); + return this; + } + /** + *
+     * supported ID Token signing Algorithms.
+     * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @param value The bytes of the idTokenSigningAlgValuesSupported to add. + * @return This builder for chaining. + */ + public Builder addIdTokenSigningAlgValuesSupportedBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureIdTokenSigningAlgValuesSupportedIsMutable(); + idTokenSigningAlgValuesSupported_.add(value); + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList claimsSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureClaimsSupportedIsMutable() { + if (!claimsSupported_.isModifiable()) { + claimsSupported_ = new com.google.protobuf.LazyStringArrayList(claimsSupported_); + } + bitField0_ |= 0x00000020; + } + /** + *
+     * Supported claims.
+     * 
+ * + * repeated string claims_supported = 6; + * @return A list containing the claimsSupported. + */ + public com.google.protobuf.ProtocolStringList + getClaimsSupportedList() { + claimsSupported_.makeImmutable(); + return claimsSupported_; + } + /** + *
+     * Supported claims.
+     * 
+ * + * repeated string claims_supported = 6; + * @return The count of claimsSupported. + */ + public int getClaimsSupportedCount() { + return claimsSupported_.size(); + } + /** + *
+     * Supported claims.
+     * 
+ * + * repeated string claims_supported = 6; + * @param index The index of the element to return. + * @return The claimsSupported at the given index. + */ + public java.lang.String getClaimsSupported(int index) { + return claimsSupported_.get(index); + } + /** + *
+     * Supported claims.
+     * 
+ * + * repeated string claims_supported = 6; + * @param index The index of the value to return. + * @return The bytes of the claimsSupported at the given index. + */ + public com.google.protobuf.ByteString + getClaimsSupportedBytes(int index) { + return claimsSupported_.getByteString(index); + } + /** + *
+     * Supported claims.
+     * 
+ * + * repeated string claims_supported = 6; + * @param index The index to set the value at. + * @param value The claimsSupported to set. + * @return This builder for chaining. + */ + public Builder setClaimsSupported( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureClaimsSupportedIsMutable(); + claimsSupported_.set(index, value); + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+     * Supported claims.
+     * 
+ * + * repeated string claims_supported = 6; + * @param value The claimsSupported to add. + * @return This builder for chaining. + */ + public Builder addClaimsSupported( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureClaimsSupportedIsMutable(); + claimsSupported_.add(value); + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+     * Supported claims.
+     * 
+ * + * repeated string claims_supported = 6; + * @param values The claimsSupported to add. + * @return This builder for chaining. + */ + public Builder addAllClaimsSupported( + java.lang.Iterable values) { + ensureClaimsSupportedIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, claimsSupported_); + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+     * Supported claims.
+     * 
+ * + * repeated string claims_supported = 6; + * @return This builder for chaining. + */ + public Builder clearClaimsSupported() { + claimsSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020);; + onChanged(); + return this; + } + /** + *
+     * Supported claims.
+     * 
+ * + * repeated string claims_supported = 6; + * @param value The bytes of the claimsSupported to add. + * @return This builder for chaining. + */ + public Builder addClaimsSupportedBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureClaimsSupportedIsMutable(); + claimsSupported_.add(value); + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList grantTypes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureGrantTypesIsMutable() { + if (!grantTypes_.isModifiable()) { + grantTypes_ = new com.google.protobuf.LazyStringArrayList(grantTypes_); + } + bitField0_ |= 0x00000040; + } + /** + *
+     * Supported grant types.
+     * 
+ * + * repeated string grant_types = 7; + * @return A list containing the grantTypes. + */ + public com.google.protobuf.ProtocolStringList + getGrantTypesList() { + grantTypes_.makeImmutable(); + return grantTypes_; + } + /** + *
+     * Supported grant types.
+     * 
+ * + * repeated string grant_types = 7; + * @return The count of grantTypes. + */ + public int getGrantTypesCount() { + return grantTypes_.size(); + } + /** + *
+     * Supported grant types.
+     * 
+ * + * repeated string grant_types = 7; + * @param index The index of the element to return. + * @return The grantTypes at the given index. + */ + public java.lang.String getGrantTypes(int index) { + return grantTypes_.get(index); + } + /** + *
+     * Supported grant types.
+     * 
+ * + * repeated string grant_types = 7; + * @param index The index of the value to return. + * @return The bytes of the grantTypes at the given index. + */ + public com.google.protobuf.ByteString + getGrantTypesBytes(int index) { + return grantTypes_.getByteString(index); + } + /** + *
+     * Supported grant types.
+     * 
+ * + * repeated string grant_types = 7; + * @param index The index to set the value at. + * @param value The grantTypes to set. + * @return This builder for chaining. + */ + public Builder setGrantTypes( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureGrantTypesIsMutable(); + grantTypes_.set(index, value); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+     * Supported grant types.
+     * 
+ * + * repeated string grant_types = 7; + * @param value The grantTypes to add. + * @return This builder for chaining. + */ + public Builder addGrantTypes( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureGrantTypesIsMutable(); + grantTypes_.add(value); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+     * Supported grant types.
+     * 
+ * + * repeated string grant_types = 7; + * @param values The grantTypes to add. + * @return This builder for chaining. + */ + public Builder addAllGrantTypes( + java.lang.Iterable values) { + ensureGrantTypesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, grantTypes_); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+     * Supported grant types.
+     * 
+ * + * repeated string grant_types = 7; + * @return This builder for chaining. + */ + public Builder clearGrantTypes() { + grantTypes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000040);; + onChanged(); + return this; + } + /** + *
+     * Supported grant types.
+     * 
+ * + * repeated string grant_types = 7; + * @param value The bytes of the grantTypes to add. + * @return This builder for chaining. + */ + public Builder addGrantTypesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureGrantTypesIsMutable(); + grantTypes_.add(value); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsOpenIdConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsOpenIdConfig) + private static final com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig(); + } + + public static com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsOpenIdConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsOpenIdConfigOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsOpenIdConfigOrBuilder.java new file mode 100644 index 000000000000..4276e3c3ee9d --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsOpenIdConfigOrBuilder.java @@ -0,0 +1,254 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface AwsOpenIdConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsOpenIdConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * OIDC Issuer.
+   * 
+ * + * string issuer = 1; + * @return The issuer. + */ + java.lang.String getIssuer(); + /** + *
+   * OIDC Issuer.
+   * 
+ * + * string issuer = 1; + * @return The bytes for issuer. + */ + com.google.protobuf.ByteString + getIssuerBytes(); + + /** + *
+   * JSON Web Key uri.
+   * 
+ * + * string jwks_uri = 2; + * @return The jwksUri. + */ + java.lang.String getJwksUri(); + /** + *
+   * JSON Web Key uri.
+   * 
+ * + * string jwks_uri = 2; + * @return The bytes for jwksUri. + */ + com.google.protobuf.ByteString + getJwksUriBytes(); + + /** + *
+   * Supported response types.
+   * 
+ * + * repeated string response_types_supported = 3; + * @return A list containing the responseTypesSupported. + */ + java.util.List + getResponseTypesSupportedList(); + /** + *
+   * Supported response types.
+   * 
+ * + * repeated string response_types_supported = 3; + * @return The count of responseTypesSupported. + */ + int getResponseTypesSupportedCount(); + /** + *
+   * Supported response types.
+   * 
+ * + * repeated string response_types_supported = 3; + * @param index The index of the element to return. + * @return The responseTypesSupported at the given index. + */ + java.lang.String getResponseTypesSupported(int index); + /** + *
+   * Supported response types.
+   * 
+ * + * repeated string response_types_supported = 3; + * @param index The index of the value to return. + * @return The bytes of the responseTypesSupported at the given index. + */ + com.google.protobuf.ByteString + getResponseTypesSupportedBytes(int index); + + /** + *
+   * Supported subject types.
+   * 
+ * + * repeated string subject_types_supported = 4; + * @return A list containing the subjectTypesSupported. + */ + java.util.List + getSubjectTypesSupportedList(); + /** + *
+   * Supported subject types.
+   * 
+ * + * repeated string subject_types_supported = 4; + * @return The count of subjectTypesSupported. + */ + int getSubjectTypesSupportedCount(); + /** + *
+   * Supported subject types.
+   * 
+ * + * repeated string subject_types_supported = 4; + * @param index The index of the element to return. + * @return The subjectTypesSupported at the given index. + */ + java.lang.String getSubjectTypesSupported(int index); + /** + *
+   * Supported subject types.
+   * 
+ * + * repeated string subject_types_supported = 4; + * @param index The index of the value to return. + * @return The bytes of the subjectTypesSupported at the given index. + */ + com.google.protobuf.ByteString + getSubjectTypesSupportedBytes(int index); + + /** + *
+   * supported ID Token signing Algorithms.
+   * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @return A list containing the idTokenSigningAlgValuesSupported. + */ + java.util.List + getIdTokenSigningAlgValuesSupportedList(); + /** + *
+   * supported ID Token signing Algorithms.
+   * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @return The count of idTokenSigningAlgValuesSupported. + */ + int getIdTokenSigningAlgValuesSupportedCount(); + /** + *
+   * supported ID Token signing Algorithms.
+   * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @param index The index of the element to return. + * @return The idTokenSigningAlgValuesSupported at the given index. + */ + java.lang.String getIdTokenSigningAlgValuesSupported(int index); + /** + *
+   * supported ID Token signing Algorithms.
+   * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @param index The index of the value to return. + * @return The bytes of the idTokenSigningAlgValuesSupported at the given index. + */ + com.google.protobuf.ByteString + getIdTokenSigningAlgValuesSupportedBytes(int index); + + /** + *
+   * Supported claims.
+   * 
+ * + * repeated string claims_supported = 6; + * @return A list containing the claimsSupported. + */ + java.util.List + getClaimsSupportedList(); + /** + *
+   * Supported claims.
+   * 
+ * + * repeated string claims_supported = 6; + * @return The count of claimsSupported. + */ + int getClaimsSupportedCount(); + /** + *
+   * Supported claims.
+   * 
+ * + * repeated string claims_supported = 6; + * @param index The index of the element to return. + * @return The claimsSupported at the given index. + */ + java.lang.String getClaimsSupported(int index); + /** + *
+   * Supported claims.
+   * 
+ * + * repeated string claims_supported = 6; + * @param index The index of the value to return. + * @return The bytes of the claimsSupported at the given index. + */ + com.google.protobuf.ByteString + getClaimsSupportedBytes(int index); + + /** + *
+   * Supported grant types.
+   * 
+ * + * repeated string grant_types = 7; + * @return A list containing the grantTypes. + */ + java.util.List + getGrantTypesList(); + /** + *
+   * Supported grant types.
+   * 
+ * + * repeated string grant_types = 7; + * @return The count of grantTypes. + */ + int getGrantTypesCount(); + /** + *
+   * Supported grant types.
+   * 
+ * + * repeated string grant_types = 7; + * @param index The index of the element to return. + * @return The grantTypes at the given index. + */ + java.lang.String getGrantTypes(int index); + /** + *
+   * Supported grant types.
+   * 
+ * + * repeated string grant_types = 7; + * @param index The index of the value to return. + * @return The bytes of the grantTypes at the given index. + */ + com.google.protobuf.ByteString + getGrantTypesBytes(int index); +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfig.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfig.java similarity index 71% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfig.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfig.java index df8376037412..0e3c6c476e2b 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfig.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfig.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Details of a proxy config stored in AWS Secret Manager.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsProxyConfig} */ -public final class AwsProxyConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AwsProxyConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsProxyConfig) AwsProxyConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AwsProxyConfig.newBuilder() to construct. private AwsProxyConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AwsProxyConfig() { secretArn_ = ""; secretVersion_ = ""; @@ -44,32 +26,28 @@ private AwsProxyConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AwsProxyConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsProxyConfig.class, - com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsProxyConfig.class, com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder.class); } public static final int SECRET_ARN_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object secretArn_ = ""; /** - * - * *
    * The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy
    * configuration.
@@ -80,7 +58,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string secret_arn = 1; - * * @return The secretArn. */ @java.lang.Override @@ -89,15 +66,14 @@ public java.lang.String getSecretArn() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); secretArn_ = s; return s; } } /** - * - * *
    * The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy
    * configuration.
@@ -108,15 +84,16 @@ public java.lang.String getSecretArn() {
    * 
* * string secret_arn = 1; - * * @return The bytes for secretArn. */ @java.lang.Override - public com.google.protobuf.ByteString getSecretArnBytes() { + public com.google.protobuf.ByteString + getSecretArnBytes() { java.lang.Object ref = secretArn_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); secretArn_ = b; return b; } else { @@ -125,19 +102,15 @@ public com.google.protobuf.ByteString getSecretArnBytes() { } public static final int SECRET_VERSION_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object secretVersion_ = ""; /** - * - * *
    * The version string of the AWS Secret Manager secret that contains the
    * HTTP(S) proxy configuration.
    * 
* * string secret_version = 2; - * * @return The secretVersion. */ @java.lang.Override @@ -146,30 +119,30 @@ public java.lang.String getSecretVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); secretVersion_ = s; return s; } } /** - * - * *
    * The version string of the AWS Secret Manager secret that contains the
    * HTTP(S) proxy configuration.
    * 
* * string secret_version = 2; - * * @return The bytes for secretVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getSecretVersionBytes() { + public com.google.protobuf.ByteString + getSecretVersionBytes() { java.lang.Object ref = secretVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); secretVersion_ = b; return b; } else { @@ -178,7 +151,6 @@ public com.google.protobuf.ByteString getSecretVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -190,7 +162,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(secretArn_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, secretArn_); } @@ -220,16 +193,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsProxyConfig)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsProxyConfig other = - (com.google.cloud.gkemulticloud.v1.AwsProxyConfig) obj; + com.google.cloud.gkemulticloud.v1.AwsProxyConfig other = (com.google.cloud.gkemulticloud.v1.AwsProxyConfig) obj; - if (!getSecretArn().equals(other.getSecretArn())) return false; - if (!getSecretVersion().equals(other.getSecretVersion())) return false; + if (!getSecretArn() + .equals(other.getSecretArn())) return false; + if (!getSecretVersion() + .equals(other.getSecretVersion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -250,136 +224,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.gkemulticloud.v1.AwsProxyConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.gkemulticloud.v1.AwsProxyConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsProxyConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsProxyConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsProxyConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsProxyConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsProxyConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AwsProxyConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsProxyConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsProxyConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsProxyConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsProxyConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsProxyConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsProxyConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsProxyConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsProxyConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Details of a proxy config stored in AWS Secret Manager.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsProxyConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsProxyConfig) com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsProxyConfig.class, - com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsProxyConfig.class, com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AwsProxyConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -390,9 +360,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_descriptor; } @java.lang.Override @@ -411,11 +381,8 @@ public com.google.cloud.gkemulticloud.v1.AwsProxyConfig build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsProxyConfig buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsProxyConfig result = - new com.google.cloud.gkemulticloud.v1.AwsProxyConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.AwsProxyConfig result = new com.google.cloud.gkemulticloud.v1.AwsProxyConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -434,39 +401,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsProxyConfig resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AwsProxyConfig) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsProxyConfig) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsProxyConfig)other); } else { super.mergeFrom(other); return this; @@ -474,8 +440,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsProxyConfig other) { - if (other == com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance()) return this; if (!other.getSecretArn().isEmpty()) { secretArn_ = other.secretArn_; bitField0_ |= 0x00000001; @@ -512,25 +477,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - secretArn_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - secretVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + secretArn_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + secretVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -540,13 +502,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object secretArn_ = ""; /** - * - * *
      * The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy
      * configuration.
@@ -557,13 +516,13 @@ public Builder mergeFrom(
      * 
* * string secret_arn = 1; - * * @return The secretArn. */ public java.lang.String getSecretArn() { java.lang.Object ref = secretArn_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); secretArn_ = s; return s; @@ -572,8 +531,6 @@ public java.lang.String getSecretArn() { } } /** - * - * *
      * The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy
      * configuration.
@@ -584,14 +541,15 @@ public java.lang.String getSecretArn() {
      * 
* * string secret_arn = 1; - * * @return The bytes for secretArn. */ - public com.google.protobuf.ByteString getSecretArnBytes() { + public com.google.protobuf.ByteString + getSecretArnBytes() { java.lang.Object ref = secretArn_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); secretArn_ = b; return b; } else { @@ -599,8 +557,6 @@ public com.google.protobuf.ByteString getSecretArnBytes() { } } /** - * - * *
      * The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy
      * configuration.
@@ -611,22 +567,18 @@ public com.google.protobuf.ByteString getSecretArnBytes() {
      * 
* * string secret_arn = 1; - * * @param value The secretArn to set. * @return This builder for chaining. */ - public Builder setSecretArn(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSecretArn( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } secretArn_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy
      * configuration.
@@ -637,7 +589,6 @@ public Builder setSecretArn(java.lang.String value) {
      * 
* * string secret_arn = 1; - * * @return This builder for chaining. */ public Builder clearSecretArn() { @@ -647,8 +598,6 @@ public Builder clearSecretArn() { return this; } /** - * - * *
      * The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy
      * configuration.
@@ -659,14 +608,12 @@ public Builder clearSecretArn() {
      * 
* * string secret_arn = 1; - * * @param value The bytes for secretArn to set. * @return This builder for chaining. */ - public Builder setSecretArnBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSecretArnBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); secretArn_ = value; bitField0_ |= 0x00000001; @@ -676,21 +623,19 @@ public Builder setSecretArnBytes(com.google.protobuf.ByteString value) { private java.lang.Object secretVersion_ = ""; /** - * - * *
      * The version string of the AWS Secret Manager secret that contains the
      * HTTP(S) proxy configuration.
      * 
* * string secret_version = 2; - * * @return The secretVersion. */ public java.lang.String getSecretVersion() { java.lang.Object ref = secretVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); secretVersion_ = s; return s; @@ -699,22 +644,21 @@ public java.lang.String getSecretVersion() { } } /** - * - * *
      * The version string of the AWS Secret Manager secret that contains the
      * HTTP(S) proxy configuration.
      * 
* * string secret_version = 2; - * * @return The bytes for secretVersion. */ - public com.google.protobuf.ByteString getSecretVersionBytes() { + public com.google.protobuf.ByteString + getSecretVersionBytes() { java.lang.Object ref = secretVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); secretVersion_ = b; return b; } else { @@ -722,37 +666,30 @@ public com.google.protobuf.ByteString getSecretVersionBytes() { } } /** - * - * *
      * The version string of the AWS Secret Manager secret that contains the
      * HTTP(S) proxy configuration.
      * 
* * string secret_version = 2; - * * @param value The secretVersion to set. * @return This builder for chaining. */ - public Builder setSecretVersion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSecretVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } secretVersion_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The version string of the AWS Secret Manager secret that contains the
      * HTTP(S) proxy configuration.
      * 
* * string secret_version = 2; - * * @return This builder for chaining. */ public Builder clearSecretVersion() { @@ -762,31 +699,27 @@ public Builder clearSecretVersion() { return this; } /** - * - * *
      * The version string of the AWS Secret Manager secret that contains the
      * HTTP(S) proxy configuration.
      * 
* * string secret_version = 2; - * * @param value The bytes for secretVersion to set. * @return This builder for chaining. */ - public Builder setSecretVersionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSecretVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); secretVersion_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -796,12 +729,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsProxyConfig) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsProxyConfig) private static final com.google.cloud.gkemulticloud.v1.AwsProxyConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsProxyConfig(); } @@ -810,27 +743,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsProxyConfig getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsProxyConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsProxyConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -845,4 +778,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsProxyConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfigOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfigOrBuilder.java similarity index 67% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfigOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfigOrBuilder.java index ca4ab716e59c..588e00e801c0 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfigOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsProxyConfigOrBuilder - extends +public interface AwsProxyConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsProxyConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy
    * configuration.
@@ -36,13 +18,10 @@ public interface AwsProxyConfigOrBuilder
    * 
* * string secret_arn = 1; - * * @return The secretArn. */ java.lang.String getSecretArn(); /** - * - * *
    * The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy
    * configuration.
@@ -53,35 +32,30 @@ public interface AwsProxyConfigOrBuilder
    * 
* * string secret_arn = 1; - * * @return The bytes for secretArn. */ - com.google.protobuf.ByteString getSecretArnBytes(); + com.google.protobuf.ByteString + getSecretArnBytes(); /** - * - * *
    * The version string of the AWS Secret Manager secret that contains the
    * HTTP(S) proxy configuration.
    * 
* * string secret_version = 2; - * * @return The secretVersion. */ java.lang.String getSecretVersion(); /** - * - * *
    * The version string of the AWS Secret Manager secret that contains the
    * HTTP(S) proxy configuration.
    * 
* * string secret_version = 2; - * * @return The bytes for secretVersion. */ - com.google.protobuf.ByteString getSecretVersionBytes(); + com.google.protobuf.ByteString + getSecretVersionBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java new file mode 100644 index 000000000000..2e253b42c69b --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java @@ -0,0 +1,591 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public final class AwsResourcesProto { + private AwsResourcesProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsCluster_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsCluster_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsCluster_AnnotationsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsCluster_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_TagsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_TagsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsClusterGroup_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsClusterGroup_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_AnnotationsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_UpdateSettings_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_UpdateSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_SurgeSettings_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_SurgeSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsNodeManagement_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsNodeManagement_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_TagsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_TagsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsOpenIdConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsOpenIdConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsJsonWebKeys_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsJsonWebKeys_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_SpotConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_SpotConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n1google/cloud/gkemulticloud/v1/aws_reso" + + "urces.proto\022\035google.cloud.gkemulticloud." + + "v1\032\037google/api/field_behavior.proto\032\031goo" + + "gle/api/resource.proto\0324google/cloud/gke" + + "multicloud/v1/common_resources.proto\032\037go" + + "ogle/protobuf/timestamp.proto\032\026google/ty" + + "pe/date.proto\"\260\013\n\nAwsCluster\022\014\n\004name\030\001 \001" + + "(\t\022\031\n\013description\030\002 \001(\tB\004\342A\001\001\022M\n\nnetwork" + + "ing\030\003 \001(\01323.google.cloud.gkemulticloud.v" + + "1.AwsClusterNetworkingB\004\342A\001\002\022\030\n\naws_regi" + + "on\030\004 \001(\tB\004\342A\001\002\022K\n\rcontrol_plane\030\005 \001(\0132.." + + "google.cloud.gkemulticloud.v1.AwsControl" + + "PlaneB\004\342A\001\002\022L\n\rauthorization\030\017 \001(\0132/.goo" + + "gle.cloud.gkemulticloud.v1.AwsAuthorizat" + + "ionB\004\342A\001\002\022D\n\005state\030\007 \001(\0162/.google.cloud." + + "gkemulticloud.v1.AwsCluster.StateB\004\342A\001\003\022" + + "\026\n\010endpoint\030\010 \001(\tB\004\342A\001\003\022\021\n\003uid\030\t \001(\tB\004\342A" + + "\001\003\022\031\n\013reconciling\030\n \001(\010B\004\342A\001\003\0225\n\013create_" + + "time\030\013 \001(\0132\032.google.protobuf.TimestampB\004" + + "\342A\001\003\0225\n\013update_time\030\014 \001(\0132\032.google.proto" + + "buf.TimestampB\004\342A\001\003\022\014\n\004etag\030\r \001(\t\022U\n\013ann" + + "otations\030\016 \003(\0132:.google.cloud.gkemulticl" + + "oud.v1.AwsCluster.AnnotationsEntryB\004\342A\001\001" + + "\022]\n\030workload_identity_config\030\020 \001(\01325.goo" + + "gle.cloud.gkemulticloud.v1.WorkloadIdent" + + "ityConfigB\004\342A\001\003\022$\n\026cluster_ca_certificat" + + "e\030\021 \001(\tB\004\342A\001\003\0229\n\005fleet\030\022 \001(\0132$.google.cl" + + "oud.gkemulticloud.v1.FleetB\004\342A\001\002\022J\n\016logg" + + "ing_config\030\023 \001(\0132,.google.cloud.gkemulti" + + "cloud.v1.LoggingConfigB\004\342A\001\001\022D\n\006errors\030\024" + + " \003(\0132..google.cloud.gkemulticloud.v1.Aws" + + "ClusterErrorB\004\342A\001\003\022P\n\021monitoring_config\030" + + "\025 \001(\0132/.google.cloud.gkemulticloud.v1.Mo" + + "nitoringConfigB\004\342A\001\001\022V\n\024binary_authoriza" + + "tion\030\026 \001(\01322.google.cloud.gkemulticloud." + + "v1.BinaryAuthorizationB\004\342A\001\001\0322\n\020Annotati" + + "onsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + + "\"u\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\020\n\014PROV" + + "ISIONING\020\001\022\013\n\007RUNNING\020\002\022\017\n\013RECONCILING\020\003" + + "\022\014\n\010STOPPING\020\004\022\t\n\005ERROR\020\005\022\014\n\010DEGRADED\020\006:" + + "o\352Al\n\'gkemulticloud.googleapis.com/AwsCl" + + "uster\022Aprojects/{project}/locations/{loc" + + "ation}/awsClusters/{aws_cluster}\"\266\007\n\017Aws" + + "ControlPlane\022\025\n\007version\030\001 \001(\tB\004\342A\001\002\022\033\n\ri" + + "nstance_type\030\002 \001(\tB\004\342A\001\001\022E\n\nssh_config\030\016" + + " \001(\0132+.google.cloud.gkemulticloud.v1.Aws" + + "SshConfigB\004\342A\001\001\022\030\n\nsubnet_ids\030\004 \003(\tB\004\342A\001" + + "\002\022 \n\022security_group_ids\030\005 \003(\tB\004\342A\001\001\022\"\n\024i" + + "am_instance_profile\030\007 \001(\tB\004\342A\001\002\022K\n\013root_" + + "volume\030\010 \001(\01320.google.cloud.gkemulticlou" + + "d.v1.AwsVolumeTemplateB\004\342A\001\001\022K\n\013main_vol" + + "ume\030\t \001(\01320.google.cloud.gkemulticloud.v" + + "1.AwsVolumeTemplateB\004\342A\001\001\022W\n\023database_en" + + "cryption\030\n \001(\01324.google.cloud.gkemulticl" + + "oud.v1.AwsDatabaseEncryptionB\004\342A\001\002\022L\n\004ta" + + "gs\030\013 \003(\01328.google.cloud.gkemulticloud.v1" + + ".AwsControlPlane.TagsEntryB\004\342A\001\001\022c\n\033aws_" + + "services_authentication\030\014 \001(\01328.google.c" + + "loud.gkemulticloud.v1.AwsServicesAuthent" + + "icationB\004\342A\001\002\022I\n\014proxy_config\030\020 \001(\0132-.go" + + "ogle.cloud.gkemulticloud.v1.AwsProxyConf" + + "igB\004\342A\001\001\022S\n\021config_encryption\030\021 \001(\01322.go" + + "ogle.cloud.gkemulticloud.v1.AwsConfigEnc" + + "ryptionB\004\342A\001\002\022U\n\022instance_placement\030\022 \001(" + + "\01323.google.cloud.gkemulticloud.v1.AwsIns" + + "tancePlacementB\004\342A\001\001\032+\n\tTagsEntry\022\013\n\003key" + + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\031AwsServices" + + "Authentication\022\026\n\010role_arn\030\001 \001(\tB\004\342A\001\002\022\037" + + "\n\021role_session_name\030\002 \001(\tB\004\342A\001\001\"\250\001\n\020AwsA" + + "uthorization\022H\n\013admin_users\030\001 \003(\0132-.goog" + + "le.cloud.gkemulticloud.v1.AwsClusterUser" + + "B\004\342A\001\001\022J\n\014admin_groups\030\002 \003(\0132..google.cl" + + "oud.gkemulticloud.v1.AwsClusterGroupB\004\342A" + + "\001\001\"(\n\016AwsClusterUser\022\026\n\010username\030\001 \001(\tB\004" + + "\342A\001\002\"&\n\017AwsClusterGroup\022\023\n\005group\030\001 \001(\tB\004" + + "\342A\001\002\"2\n\025AwsDatabaseEncryption\022\031\n\013kms_key" + + "_arn\030\001 \001(\tB\004\342A\001\002\"\211\002\n\021AwsVolumeTemplate\022\026" + + "\n\010size_gib\030\001 \001(\005B\004\342A\001\001\022V\n\013volume_type\030\002 " + + "\001(\0162;.google.cloud.gkemulticloud.v1.AwsV" + + "olumeTemplate.VolumeTypeB\004\342A\001\001\022\022\n\004iops\030\003" + + " \001(\005B\004\342A\001\001\022\030\n\nthroughput\030\005 \001(\005B\004\342A\001\001\022\031\n\013" + + "kms_key_arn\030\004 \001(\tB\004\342A\001\001\";\n\nVolumeType\022\033\n" + + "\027VOLUME_TYPE_UNSPECIFIED\020\000\022\007\n\003GP2\020\001\022\007\n\003G" + + "P3\020\002\"\255\001\n\024AwsClusterNetworking\022\024\n\006vpc_id\030" + + "\001 \001(\tB\004\342A\001\002\022%\n\027pod_address_cidr_blocks\030\002" + + " \003(\tB\004\342A\001\002\022)\n\033service_address_cidr_block" + + "s\030\003 \003(\tB\004\342A\001\002\022-\n\037per_node_pool_sg_rules_" + + "disabled\030\005 \001(\010B\004\342A\001\001\"\234\t\n\013AwsNodePool\022\014\n\004" + + "name\030\001 \001(\t\022\025\n\007version\030\003 \001(\tB\004\342A\001\002\022B\n\006con" + + "fig\030\034 \001(\0132,.google.cloud.gkemulticloud.v" + + "1.AwsNodeConfigB\004\342A\001\002\022P\n\013autoscaling\030\031 \001" + + "(\01325.google.cloud.gkemulticloud.v1.AwsNo" + + "dePoolAutoscalingB\004\342A\001\002\022\027\n\tsubnet_id\030\006 \001" + + "(\tB\004\342A\001\002\022E\n\005state\030\020 \001(\01620.google.cloud.g" + + "kemulticloud.v1.AwsNodePool.StateB\004\342A\001\003\022" + + "\021\n\003uid\030\021 \001(\tB\004\342A\001\003\022\031\n\013reconciling\030\022 \001(\010B" + + "\004\342A\001\003\0225\n\013create_time\030\023 \001(\0132\032.google.prot" + + "obuf.TimestampB\004\342A\001\003\0225\n\013update_time\030\024 \001(" + + "\0132\032.google.protobuf.TimestampB\004\342A\001\003\022\014\n\004e" + + "tag\030\025 \001(\t\022V\n\013annotations\030\026 \003(\0132;.google." + + "cloud.gkemulticloud.v1.AwsNodePool.Annot" + + "ationsEntryB\004\342A\001\001\022S\n\023max_pods_constraint" + + "\030\033 \001(\01320.google.cloud.gkemulticloud.v1.M" + + "axPodsConstraintB\004\342A\001\002\022E\n\006errors\030\035 \003(\0132/" + + ".google.cloud.gkemulticloud.v1.AwsNodePo" + + "olErrorB\004\342A\001\003\022J\n\nmanagement\030\036 \001(\01320.goog" + + "le.cloud.gkemulticloud.v1.AwsNodeManagem" + + "entB\004\342A\001\001\022L\n\017update_settings\030 \001(\0132-.goo" + + "gle.cloud.gkemulticloud.v1.UpdateSetting" + + "sB\004\342A\001\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t" + + "\022\r\n\005value\030\002 \001(\t:\0028\001\"u\n\005State\022\025\n\021STATE_UN" + + "SPECIFIED\020\000\022\020\n\014PROVISIONING\020\001\022\013\n\007RUNNING" + + "\020\002\022\017\n\013RECONCILING\020\003\022\014\n\010STOPPING\020\004\022\t\n\005ERR" + + "OR\020\005\022\014\n\010DEGRADED\020\006:\216\001\352A\212\001\n(gkemulticloud" + + ".googleapis.com/AwsNodePool\022^projects/{p" + + "roject}/locations/{location}/awsClusters" + + "/{aws_cluster}/awsNodePools/{aws_node_po" + + "ol}\"\\\n\016UpdateSettings\022J\n\016surge_settings\030" + + "\001 \001(\0132,.google.cloud.gkemulticloud.v1.Su" + + "rgeSettingsB\004\342A\001\001\"G\n\rSurgeSettings\022\027\n\tma" + + "x_surge\030\001 \001(\005B\004\342A\001\001\022\035\n\017max_unavailable\030\002" + + " \001(\005B\004\342A\001\001\".\n\021AwsNodeManagement\022\031\n\013auto_" + + "repair\030\001 \001(\010B\004\342A\001\001\"\210\010\n\rAwsNodeConfig\022\033\n\r" + + "instance_type\030\001 \001(\tB\004\342A\001\001\022K\n\013root_volume" + + "\030\002 \001(\01320.google.cloud.gkemulticloud.v1.A" + + "wsVolumeTemplateB\004\342A\001\001\022>\n\006taints\030\003 \003(\0132(" + + ".google.cloud.gkemulticloud.v1.NodeTaint" + + "B\004\342A\001\001\022N\n\006labels\030\004 \003(\01328.google.cloud.gk" + + "emulticloud.v1.AwsNodeConfig.LabelsEntry" + + "B\004\342A\001\001\022J\n\004tags\030\005 \003(\01326.google.cloud.gkem" + + "ulticloud.v1.AwsNodeConfig.TagsEntryB\004\342A" + + "\001\001\022\"\n\024iam_instance_profile\030\006 \001(\tB\004\342A\001\002\022\030" + + "\n\nimage_type\030\013 \001(\tB\004\342A\001\001\022E\n\nssh_config\030\t" + + " \001(\0132+.google.cloud.gkemulticloud.v1.Aws" + + "SshConfigB\004\342A\001\001\022 \n\022security_group_ids\030\n " + + "\003(\tB\004\342A\001\001\022I\n\014proxy_config\030\014 \001(\0132-.google" + + ".cloud.gkemulticloud.v1.AwsProxyConfigB\004" + + "\342A\001\001\022S\n\021config_encryption\030\r \001(\01322.google" + + ".cloud.gkemulticloud.v1.AwsConfigEncrypt" + + "ionB\004\342A\001\002\022U\n\022instance_placement\030\016 \001(\01323." + + "google.cloud.gkemulticloud.v1.AwsInstanc" + + "ePlacementB\004\342A\001\001\022q\n\036autoscaling_metrics_" + + "collection\030\017 \001(\0132C.google.cloud.gkemulti" + + "cloud.v1.AwsAutoscalingGroupMetricsColle" + + "ctionB\004\342A\001\001\022D\n\013spot_config\030\020 \001(\0132).googl" + + "e.cloud.gkemulticloud.v1.SpotConfigB\004\342A\001" + + "\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + + " \001(\t:\0028\001\032+\n\tTagsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + + "lue\030\002 \001(\t:\0028\001\"T\n\026AwsNodePoolAutoscaling\022" + + "\034\n\016min_node_count\030\001 \001(\005B\004\342A\001\002\022\034\n\016max_nod" + + "e_count\030\002 \001(\005B\004\342A\001\002\"\324\001\n\017AwsOpenIdConfig\022" + + "\016\n\006issuer\030\001 \001(\t\022\020\n\010jwks_uri\030\002 \001(\t\022 \n\030res" + + "ponse_types_supported\030\003 \003(\t\022\037\n\027subject_t" + + "ypes_supported\030\004 \003(\t\022-\n%id_token_signing" + + "_alg_values_supported\030\005 \003(\t\022\030\n\020claims_su" + + "pported\030\006 \003(\t\022\023\n\013grant_types\030\007 \003(\t\"B\n\016Aw" + + "sJsonWebKeys\0220\n\004keys\030\001 \003(\0132\".google.clou" + + "d.gkemulticloud.v1.Jwk\"\364\001\n\017AwsServerConf" + + "ig\022\014\n\004name\030\001 \001(\t\022H\n\016valid_versions\030\002 \003(\013" + + "20.google.cloud.gkemulticloud.v1.AwsK8sV" + + "ersionInfo\022\035\n\025supported_aws_regions\030\003 \003(" + + "\t:j\352Ag\n,gkemulticloud.googleapis.com/Aws" + + "ServerConfig\0227projects/{project}/locatio" + + "ns/{location}/awsServerConfig\"\270\001\n\021AwsK8s" + + "VersionInfo\022\017\n\007version\030\001 \001(\t\022\025\n\007enabled\030" + + "\003 \001(\010B\004\342A\001\001\022\031\n\013end_of_life\030\004 \001(\010B\004\342A\001\001\0221" + + "\n\020end_of_life_date\030\005 \001(\0132\021.google.type.D" + + "ateB\004\342A\001\001\022-\n\014release_date\030\006 \001(\0132\021.google" + + ".type.DateB\004\342A\001\001\"*\n\014AwsSshConfig\022\032\n\014ec2_" + + "key_pair\030\001 \001(\tB\004\342A\001\002\"<\n\016AwsProxyConfig\022\022" + + "\n\nsecret_arn\030\001 \001(\t\022\026\n\016secret_version\030\002 \001" + + "(\t\"0\n\023AwsConfigEncryption\022\031\n\013kms_key_arn" + + "\030\001 \001(\tB\004\342A\001\002\"\264\001\n\024AwsInstancePlacement\022R\n" + + "\007tenancy\030\001 \001(\0162;.google.cloud.gkemulticl" + + "oud.v1.AwsInstancePlacement.TenancyB\004\342A\001" + + "\002\"H\n\007Tenancy\022\027\n\023TENANCY_UNSPECIFIED\020\000\022\013\n" + + "\007DEFAULT\020\001\022\r\n\tDEDICATED\020\002\022\010\n\004HOST\020\003\"X\n$A" + + "wsAutoscalingGroupMetricsCollection\022\031\n\013g" + + "ranularity\030\001 \001(\tB\004\342A\001\002\022\025\n\007metrics\030\002 \003(\tB" + + "\004\342A\001\001\"*\n\nSpotConfig\022\034\n\016instance_types\030\001 " + + "\003(\tB\004\342A\001\002\"\"\n\017AwsClusterError\022\017\n\007message\030" + + "\001 \001(\t\"#\n\020AwsNodePoolError\022\017\n\007message\030\001 \001" + + "(\tB\344\001\n!com.google.cloud.gkemulticloud.v1" + + "B\021AwsResourcesProtoP\001ZGcloud.google.com/" + + "go/gkemulticloud/apiv1/gkemulticloudpb;g" + + "kemulticloudpb\252\002\035Google.Cloud.GkeMultiCl" + + "oud.V1\312\002\035Google\\Cloud\\GkeMultiCloud\\V1\352\002" + + " Google::Cloud::GkeMultiCloud::V1b\006proto" + + "3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.gkemulticloud.v1.CommonResourcesProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.type.DateProto.getDescriptor(), + }); + internal_static_google_cloud_gkemulticloud_v1_AwsCluster_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_gkemulticloud_v1_AwsCluster_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsCluster_descriptor, + new java.lang.String[] { "Name", "Description", "Networking", "AwsRegion", "ControlPlane", "Authorization", "State", "Endpoint", "Uid", "Reconciling", "CreateTime", "UpdateTime", "Etag", "Annotations", "WorkloadIdentityConfig", "ClusterCaCertificate", "Fleet", "LoggingConfig", "Errors", "MonitoringConfig", "BinaryAuthorization", }); + internal_static_google_cloud_gkemulticloud_v1_AwsCluster_AnnotationsEntry_descriptor = + internal_static_google_cloud_gkemulticloud_v1_AwsCluster_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_gkemulticloud_v1_AwsCluster_AnnotationsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsCluster_AnnotationsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_descriptor, + new java.lang.String[] { "Version", "InstanceType", "SshConfig", "SubnetIds", "SecurityGroupIds", "IamInstanceProfile", "RootVolume", "MainVolume", "DatabaseEncryption", "Tags", "AwsServicesAuthentication", "ProxyConfig", "ConfigEncryption", "InstancePlacement", }); + internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_TagsEntry_descriptor = + internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_TagsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_TagsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_descriptor, + new java.lang.String[] { "RoleArn", "RoleSessionName", }); + internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_descriptor, + new java.lang.String[] { "AdminUsers", "AdminGroups", }); + internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_descriptor, + new java.lang.String[] { "Username", }); + internal_static_google_cloud_gkemulticloud_v1_AwsClusterGroup_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_gkemulticloud_v1_AwsClusterGroup_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsClusterGroup_descriptor, + new java.lang.String[] { "Group", }); + internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_descriptor, + new java.lang.String[] { "KmsKeyArn", }); + internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_descriptor, + new java.lang.String[] { "SizeGib", "VolumeType", "Iops", "Throughput", "KmsKeyArn", }); + internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_descriptor, + new java.lang.String[] { "VpcId", "PodAddressCidrBlocks", "ServiceAddressCidrBlocks", "PerNodePoolSgRulesDisabled", }); + internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_descriptor, + new java.lang.String[] { "Name", "Version", "Config", "Autoscaling", "SubnetId", "State", "Uid", "Reconciling", "CreateTime", "UpdateTime", "Etag", "Annotations", "MaxPodsConstraint", "Errors", "Management", "UpdateSettings", }); + internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_AnnotationsEntry_descriptor = + internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_AnnotationsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_AnnotationsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_gkemulticloud_v1_UpdateSettings_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_gkemulticloud_v1_UpdateSettings_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_UpdateSettings_descriptor, + new java.lang.String[] { "SurgeSettings", }); + internal_static_google_cloud_gkemulticloud_v1_SurgeSettings_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_gkemulticloud_v1_SurgeSettings_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_SurgeSettings_descriptor, + new java.lang.String[] { "MaxSurge", "MaxUnavailable", }); + internal_static_google_cloud_gkemulticloud_v1_AwsNodeManagement_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_gkemulticloud_v1_AwsNodeManagement_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsNodeManagement_descriptor, + new java.lang.String[] { "AutoRepair", }); + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_descriptor, + new java.lang.String[] { "InstanceType", "RootVolume", "Taints", "Labels", "Tags", "IamInstanceProfile", "ImageType", "SshConfig", "SecurityGroupIds", "ProxyConfig", "ConfigEncryption", "InstancePlacement", "AutoscalingMetricsCollection", "SpotConfig", }); + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_LabelsEntry_descriptor = + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_TagsEntry_descriptor = + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_TagsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_TagsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_descriptor, + new java.lang.String[] { "MinNodeCount", "MaxNodeCount", }); + internal_static_google_cloud_gkemulticloud_v1_AwsOpenIdConfig_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_gkemulticloud_v1_AwsOpenIdConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsOpenIdConfig_descriptor, + new java.lang.String[] { "Issuer", "JwksUri", "ResponseTypesSupported", "SubjectTypesSupported", "IdTokenSigningAlgValuesSupported", "ClaimsSupported", "GrantTypes", }); + internal_static_google_cloud_gkemulticloud_v1_AwsJsonWebKeys_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_gkemulticloud_v1_AwsJsonWebKeys_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsJsonWebKeys_descriptor, + new java.lang.String[] { "Keys", }); + internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_descriptor, + new java.lang.String[] { "Name", "ValidVersions", "SupportedAwsRegions", }); + internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_descriptor, + new java.lang.String[] { "Version", "Enabled", "EndOfLife", "EndOfLifeDate", "ReleaseDate", }); + internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_descriptor, + new java.lang.String[] { "Ec2KeyPair", }); + internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_descriptor, + new java.lang.String[] { "SecretArn", "SecretVersion", }); + internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_descriptor, + new java.lang.String[] { "KmsKeyArn", }); + internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_descriptor, + new java.lang.String[] { "Tenancy", }); + internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_descriptor, + new java.lang.String[] { "Granularity", "Metrics", }); + internal_static_google_cloud_gkemulticloud_v1_SpotConfig_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_gkemulticloud_v1_SpotConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_SpotConfig_descriptor, + new java.lang.String[] { "InstanceTypes", }); + internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_descriptor, + new java.lang.String[] { "Message", }); + internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_descriptor, + new java.lang.String[] { "Message", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.gkemulticloud.v1.CommonResourcesProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.type.DateProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfig.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfig.java similarity index 65% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfig.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfig.java index 31766ca29a3b..885067d2d1d8 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfig.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfig.java @@ -1,82 +1,60 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * AwsServerConfig is the configuration of GKE cluster on AWS.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsServerConfig} */ -public final class AwsServerConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AwsServerConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsServerConfig) AwsServerConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AwsServerConfig.newBuilder() to construct. private AwsServerConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AwsServerConfig() { name_ = ""; validVersions_ = java.util.Collections.emptyList(); - supportedAwsRegions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + supportedAwsRegions_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AwsServerConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsServerConfig.class, - com.google.cloud.gkemulticloud.v1.AwsServerConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsServerConfig.class, com.google.cloud.gkemulticloud.v1.AwsServerConfig.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * The resource name of the config.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -85,29 +63,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The resource name of the config.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -116,42 +94,43 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int VALID_VERSIONS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List validVersions_; /** - * - * *
-   * List of valid Kubernetes versions.
+   * List of all released Kubernetes versions, including ones which are end of
+   * life and can no longer be used.  Filter by the `enabled`
+   * property to limit to currently available versions.
+   * Valid versions supported for both create and update operations
    * 
* * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2; */ @java.lang.Override - public java.util.List - getValidVersionsList() { + public java.util.List getValidVersionsList() { return validVersions_; } /** - * - * *
-   * List of valid Kubernetes versions.
+   * List of all released Kubernetes versions, including ones which are end of
+   * life and can no longer be used.  Filter by the `enabled`
+   * property to limit to currently available versions.
+   * Valid versions supported for both create and update operations
    * 
* * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2; */ @java.lang.Override - public java.util.List + public java.util.List getValidVersionsOrBuilderList() { return validVersions_; } /** - * - * *
-   * List of valid Kubernetes versions.
+   * List of all released Kubernetes versions, including ones which are end of
+   * life and can no longer be used.  Filter by the `enabled`
+   * property to limit to currently available versions.
+   * Valid versions supported for both create and update operations
    * 
* * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2; @@ -161,10 +140,11 @@ public int getValidVersionsCount() { return validVersions_.size(); } /** - * - * *
-   * List of valid Kubernetes versions.
+   * List of all released Kubernetes versions, including ones which are end of
+   * life and can no longer be used.  Filter by the `enabled`
+   * property to limit to currently available versions.
+   * Valid versions supported for both create and update operations
    * 
* * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2; @@ -174,10 +154,11 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo getValidVersions(int return validVersions_.get(index); } /** - * - * *
-   * List of valid Kubernetes versions.
+   * List of all released Kubernetes versions, including ones which are end of
+   * life and can no longer be used.  Filter by the `enabled`
+   * property to limit to currently available versions.
+   * Valid versions supported for both create and update operations
    * 
* * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2; @@ -189,47 +170,38 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder getValidVers } public static final int SUPPORTED_AWS_REGIONS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList supportedAwsRegions_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * The list of supported AWS regions.
    * 
* * repeated string supported_aws_regions = 3; - * * @return A list containing the supportedAwsRegions. */ - public com.google.protobuf.ProtocolStringList getSupportedAwsRegionsList() { + public com.google.protobuf.ProtocolStringList + getSupportedAwsRegionsList() { return supportedAwsRegions_; } /** - * - * *
    * The list of supported AWS regions.
    * 
* * repeated string supported_aws_regions = 3; - * * @return The count of supportedAwsRegions. */ public int getSupportedAwsRegionsCount() { return supportedAwsRegions_.size(); } /** - * - * *
    * The list of supported AWS regions.
    * 
* * repeated string supported_aws_regions = 3; - * * @param index The index of the element to return. * @return The supportedAwsRegions at the given index. */ @@ -237,23 +209,20 @@ public java.lang.String getSupportedAwsRegions(int index) { return supportedAwsRegions_.get(index); } /** - * - * *
    * The list of supported AWS regions.
    * 
* * repeated string supported_aws_regions = 3; - * * @param index The index of the value to return. * @return The bytes of the supportedAwsRegions at the given index. */ - public com.google.protobuf.ByteString getSupportedAwsRegionsBytes(int index) { + public com.google.protobuf.ByteString + getSupportedAwsRegionsBytes(int index) { return supportedAwsRegions_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,7 +234,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -288,7 +258,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < validVersions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, validVersions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, validVersions_.get(i)); } { int dataSize = 0; @@ -306,17 +277,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsServerConfig)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsServerConfig other = - (com.google.cloud.gkemulticloud.v1.AwsServerConfig) obj; + com.google.cloud.gkemulticloud.v1.AwsServerConfig other = (com.google.cloud.gkemulticloud.v1.AwsServerConfig) obj; - if (!getName().equals(other.getName())) return false; - if (!getValidVersionsList().equals(other.getValidVersionsList())) return false; - if (!getSupportedAwsRegionsList().equals(other.getSupportedAwsRegionsList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getValidVersionsList() + .equals(other.getValidVersionsList())) return false; + if (!getSupportedAwsRegionsList() + .equals(other.getSupportedAwsRegionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -344,135 +317,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AwsServerConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsServerConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsServerConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsServerConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsServerConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsServerConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AwsServerConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsServerConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsServerConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsServerConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsServerConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsServerConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsServerConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsServerConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsServerConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * AwsServerConfig is the configuration of GKE cluster on AWS.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsServerConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsServerConfig) com.google.cloud.gkemulticloud.v1.AwsServerConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsServerConfig.class, - com.google.cloud.gkemulticloud.v1.AwsServerConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsServerConfig.class, com.google.cloud.gkemulticloud.v1.AwsServerConfig.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AwsServerConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -485,14 +454,15 @@ public Builder clear() { validVersionsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); - supportedAwsRegions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + supportedAwsRegions_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_descriptor; } @java.lang.Override @@ -511,18 +481,14 @@ public com.google.cloud.gkemulticloud.v1.AwsServerConfig build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsServerConfig buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsServerConfig result = - new com.google.cloud.gkemulticloud.v1.AwsServerConfig(this); + com.google.cloud.gkemulticloud.v1.AwsServerConfig result = new com.google.cloud.gkemulticloud.v1.AwsServerConfig(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.gkemulticloud.v1.AwsServerConfig result) { + private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.AwsServerConfig result) { if (validVersionsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { validVersions_ = java.util.Collections.unmodifiableList(validVersions_); @@ -549,39 +515,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsServerConfig res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AwsServerConfig) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsServerConfig) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsServerConfig)other); } else { super.mergeFrom(other); return this; @@ -589,8 +554,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsServerConfig other) { - if (other == com.google.cloud.gkemulticloud.v1.AwsServerConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.AwsServerConfig.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -614,10 +578,9 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsServerConfig other validVersionsBuilder_ = null; validVersions_ = other.validVersions_; bitField0_ = (bitField0_ & ~0x00000002); - validVersionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getValidVersionsFieldBuilder() - : null; + validVersionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getValidVersionsFieldBuilder() : null; } else { validVersionsBuilder_.addAllMessages(other.validVersions_); } @@ -659,40 +622,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.parser(), - extensionRegistry); - if (validVersionsBuilder_ == null) { - ensureValidVersionsIsMutable(); - validVersions_.add(m); - } else { - validVersionsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureSupportedAwsRegionsIsMutable(); - supportedAwsRegions_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.parser(), + extensionRegistry); + if (validVersionsBuilder_ == null) { + ensureValidVersionsIsMutable(); + validVersions_.add(m); + } else { + validVersionsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureSupportedAwsRegionsIsMutable(); + supportedAwsRegions_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -702,25 +661,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The resource name of the config.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -729,21 +685,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the config.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -751,35 +706,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The resource name of the config.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The resource name of the config.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -789,21 +737,17 @@ public Builder clearName() { return this; } /** - * - * *
      * The resource name of the config.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -812,34 +756,28 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } private java.util.List validVersions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureValidVersionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - validVersions_ = - new java.util.ArrayList( - validVersions_); + validVersions_ = new java.util.ArrayList(validVersions_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo, - com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder, - com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder> - validVersionsBuilder_; + com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo, com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder, com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder> validVersionsBuilder_; /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2; */ - public java.util.List - getValidVersionsList() { + public java.util.List getValidVersionsList() { if (validVersionsBuilder_ == null) { return java.util.Collections.unmodifiableList(validVersions_); } else { @@ -847,10 +785,11 @@ private void ensureValidVersionsIsMutable() { } } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2; @@ -863,10 +802,11 @@ public int getValidVersionsCount() { } } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2; @@ -879,10 +819,11 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo getValidVersions(int } } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2; @@ -902,10 +843,11 @@ public Builder setValidVersions( return this; } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2; @@ -922,10 +864,11 @@ public Builder setValidVersions( return this; } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2; @@ -944,10 +887,11 @@ public Builder addValidVersions(com.google.cloud.gkemulticloud.v1.AwsK8sVersionI return this; } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2; @@ -967,10 +911,11 @@ public Builder addValidVersions( return this; } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2; @@ -987,10 +932,11 @@ public Builder addValidVersions( return this; } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2; @@ -1007,10 +953,11 @@ public Builder addValidVersions( return this; } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2; @@ -1019,7 +966,8 @@ public Builder addAllValidVersions( java.lang.Iterable values) { if (validVersionsBuilder_ == null) { ensureValidVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, validVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, validVersions_); onChanged(); } else { validVersionsBuilder_.addAllMessages(values); @@ -1027,10 +975,11 @@ public Builder addAllValidVersions( return this; } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2; @@ -1046,10 +995,11 @@ public Builder clearValidVersions() { return this; } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2; @@ -1065,10 +1015,11 @@ public Builder removeValidVersions(int index) { return this; } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2; @@ -1078,10 +1029,11 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder getValidVersi return getValidVersionsFieldBuilder().getBuilder(index); } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2; @@ -1089,22 +1041,22 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder getValidVersi public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder getValidVersionsOrBuilder( int index) { if (validVersionsBuilder_ == null) { - return validVersions_.get(index); - } else { + return validVersions_.get(index); } else { return validVersionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2; */ - public java.util.List - getValidVersionsOrBuilderList() { + public java.util.List + getValidVersionsOrBuilderList() { if (validVersionsBuilder_ != null) { return validVersionsBuilder_.getMessageOrBuilderList(); } else { @@ -1112,58 +1064,54 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder getValidVers } } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2; */ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder addValidVersionsBuilder() { - return getValidVersionsFieldBuilder() - .addBuilder(com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.getDefaultInstance()); + return getValidVersionsFieldBuilder().addBuilder( + com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.getDefaultInstance()); } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2; */ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder addValidVersionsBuilder( int index) { - return getValidVersionsFieldBuilder() - .addBuilder( - index, com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.getDefaultInstance()); + return getValidVersionsFieldBuilder().addBuilder( + index, com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.getDefaultInstance()); } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2; */ - public java.util.List - getValidVersionsBuilderList() { + public java.util.List + getValidVersionsBuilderList() { return getValidVersionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo, - com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder, - com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo, com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder, com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder> getValidVersionsFieldBuilder() { if (validVersionsBuilder_ == null) { - validVersionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo, - com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder, - com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder>( + validVersionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo, com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder, com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder>( validVersions_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -1175,7 +1123,6 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder addValidVersi private com.google.protobuf.LazyStringArrayList supportedAwsRegions_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureSupportedAwsRegionsIsMutable() { if (!supportedAwsRegions_.isModifiable()) { supportedAwsRegions_ = new com.google.protobuf.LazyStringArrayList(supportedAwsRegions_); @@ -1183,43 +1130,35 @@ private void ensureSupportedAwsRegionsIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * The list of supported AWS regions.
      * 
* * repeated string supported_aws_regions = 3; - * * @return A list containing the supportedAwsRegions. */ - public com.google.protobuf.ProtocolStringList getSupportedAwsRegionsList() { + public com.google.protobuf.ProtocolStringList + getSupportedAwsRegionsList() { supportedAwsRegions_.makeImmutable(); return supportedAwsRegions_; } /** - * - * *
      * The list of supported AWS regions.
      * 
* * repeated string supported_aws_regions = 3; - * * @return The count of supportedAwsRegions. */ public int getSupportedAwsRegionsCount() { return supportedAwsRegions_.size(); } /** - * - * *
      * The list of supported AWS regions.
      * 
* * repeated string supported_aws_regions = 3; - * * @param index The index of the element to return. * @return The supportedAwsRegions at the given index. */ @@ -1227,37 +1166,31 @@ public java.lang.String getSupportedAwsRegions(int index) { return supportedAwsRegions_.get(index); } /** - * - * *
      * The list of supported AWS regions.
      * 
* * repeated string supported_aws_regions = 3; - * * @param index The index of the value to return. * @return The bytes of the supportedAwsRegions at the given index. */ - public com.google.protobuf.ByteString getSupportedAwsRegionsBytes(int index) { + public com.google.protobuf.ByteString + getSupportedAwsRegionsBytes(int index) { return supportedAwsRegions_.getByteString(index); } /** - * - * *
      * The list of supported AWS regions.
      * 
* * repeated string supported_aws_regions = 3; - * * @param index The index to set the value at. * @param value The supportedAwsRegions to set. * @return This builder for chaining. */ - public Builder setSupportedAwsRegions(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSupportedAwsRegions( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSupportedAwsRegionsIsMutable(); supportedAwsRegions_.set(index, value); bitField0_ |= 0x00000004; @@ -1265,21 +1198,17 @@ public Builder setSupportedAwsRegions(int index, java.lang.String value) { return this; } /** - * - * *
      * The list of supported AWS regions.
      * 
* * repeated string supported_aws_regions = 3; - * * @param value The supportedAwsRegions to add. * @return This builder for chaining. */ - public Builder addSupportedAwsRegions(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSupportedAwsRegions( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSupportedAwsRegionsIsMutable(); supportedAwsRegions_.add(value); bitField0_ |= 0x00000004; @@ -1287,58 +1216,50 @@ public Builder addSupportedAwsRegions(java.lang.String value) { return this; } /** - * - * *
      * The list of supported AWS regions.
      * 
* * repeated string supported_aws_regions = 3; - * * @param values The supportedAwsRegions to add. * @return This builder for chaining. */ - public Builder addAllSupportedAwsRegions(java.lang.Iterable values) { + public Builder addAllSupportedAwsRegions( + java.lang.Iterable values) { ensureSupportedAwsRegionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, supportedAwsRegions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, supportedAwsRegions_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The list of supported AWS regions.
      * 
* * repeated string supported_aws_regions = 3; - * * @return This builder for chaining. */ public Builder clearSupportedAwsRegions() { - supportedAwsRegions_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + supportedAwsRegions_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * The list of supported AWS regions.
      * 
* * repeated string supported_aws_regions = 3; - * * @param value The bytes of the supportedAwsRegions to add. * @return This builder for chaining. */ - public Builder addSupportedAwsRegionsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSupportedAwsRegionsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureSupportedAwsRegionsIsMutable(); supportedAwsRegions_.add(value); @@ -1346,9 +1267,9 @@ public Builder addSupportedAwsRegionsBytes(com.google.protobuf.ByteString value) onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1358,12 +1279,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsServerConfig) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsServerConfig) private static final com.google.cloud.gkemulticloud.v1.AwsServerConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsServerConfig(); } @@ -1372,27 +1293,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsServerConfig getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsServerConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsServerConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1407,4 +1328,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsServerConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigName.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigName.java similarity index 100% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigName.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigName.java diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigOrBuilder.java similarity index 61% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigOrBuilder.java index 9524148052d8..54f49dd50ae4 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigOrBuilder.java @@ -1,153 +1,129 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsServerConfigOrBuilder - extends +public interface AwsServerConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsServerConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resource name of the config.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The resource name of the config.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
-   * List of valid Kubernetes versions.
+   * List of all released Kubernetes versions, including ones which are end of
+   * life and can no longer be used.  Filter by the `enabled`
+   * property to limit to currently available versions.
+   * Valid versions supported for both create and update operations
    * 
* * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2; */ - java.util.List getValidVersionsList(); + java.util.List + getValidVersionsList(); /** - * - * *
-   * List of valid Kubernetes versions.
+   * List of all released Kubernetes versions, including ones which are end of
+   * life and can no longer be used.  Filter by the `enabled`
+   * property to limit to currently available versions.
+   * Valid versions supported for both create and update operations
    * 
* * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2; */ com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo getValidVersions(int index); /** - * - * *
-   * List of valid Kubernetes versions.
+   * List of all released Kubernetes versions, including ones which are end of
+   * life and can no longer be used.  Filter by the `enabled`
+   * property to limit to currently available versions.
+   * Valid versions supported for both create and update operations
    * 
* * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2; */ int getValidVersionsCount(); /** - * - * *
-   * List of valid Kubernetes versions.
+   * List of all released Kubernetes versions, including ones which are end of
+   * life and can no longer be used.  Filter by the `enabled`
+   * property to limit to currently available versions.
+   * Valid versions supported for both create and update operations
    * 
* * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2; */ - java.util.List + java.util.List getValidVersionsOrBuilderList(); /** - * - * *
-   * List of valid Kubernetes versions.
+   * List of all released Kubernetes versions, including ones which are end of
+   * life and can no longer be used.  Filter by the `enabled`
+   * property to limit to currently available versions.
+   * Valid versions supported for both create and update operations
    * 
* * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2; */ - com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder getValidVersionsOrBuilder(int index); + com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder getValidVersionsOrBuilder( + int index); /** - * - * *
    * The list of supported AWS regions.
    * 
* * repeated string supported_aws_regions = 3; - * * @return A list containing the supportedAwsRegions. */ - java.util.List getSupportedAwsRegionsList(); + java.util.List + getSupportedAwsRegionsList(); /** - * - * *
    * The list of supported AWS regions.
    * 
* * repeated string supported_aws_regions = 3; - * * @return The count of supportedAwsRegions. */ int getSupportedAwsRegionsCount(); /** - * - * *
    * The list of supported AWS regions.
    * 
* * repeated string supported_aws_regions = 3; - * * @param index The index of the element to return. * @return The supportedAwsRegions at the given index. */ java.lang.String getSupportedAwsRegions(int index); /** - * - * *
    * The list of supported AWS regions.
    * 
* * repeated string supported_aws_regions = 3; - * * @param index The index of the value to return. * @return The bytes of the supportedAwsRegions at the given index. */ - com.google.protobuf.ByteString getSupportedAwsRegionsBytes(int index); + com.google.protobuf.ByteString + getSupportedAwsRegionsBytes(int index); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java new file mode 100644 index 000000000000..41ead70725de --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java @@ -0,0 +1,470 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_service.proto + +package com.google.cloud.gkemulticloud.v1; + +public final class AwsServiceProto { + private AwsServiceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_RollbackAwsNodePoolUpdateRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_RollbackAwsNodePoolUpdateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GetAwsOpenIdConfigRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GetAwsOpenIdConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GetAwsJsonWebKeysRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GetAwsJsonWebKeysRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n/google/cloud/gkemulticloud/v1/aws_serv" + + "ice.proto\022\035google.cloud.gkemulticloud.v1" + + "\032\034google/api/annotations.proto\032\027google/a" + + "pi/client.proto\032\037google/api/field_behavi" + + "or.proto\032\031google/api/resource.proto\0321goo" + + "gle/cloud/gkemulticloud/v1/aws_resources" + + ".proto\0324google/cloud/gkemulticloud/v1/co" + + "mmon_resources.proto\032#google/longrunning" + + "/operations.proto\032\033google/protobuf/empty" + + ".proto\032 google/protobuf/field_mask.proto" + + "\032\037google/protobuf/timestamp.proto\"\326\001\n\027Cr" + + "eateAwsClusterRequest\022@\n\006parent\030\001 \001(\tB0\342" + + "A\001\002\372A)\022\'gkemulticloud.googleapis.com/Aws" + + "Cluster\022D\n\013aws_cluster\030\002 \001(\0132).google.cl" + + "oud.gkemulticloud.v1.AwsClusterB\004\342A\001\002\022\034\n" + + "\016aws_cluster_id\030\003 \001(\tB\004\342A\001\002\022\025\n\rvalidate_" + + "only\030\004 \001(\010\"\255\001\n\027UpdateAwsClusterRequest\022D" + + "\n\013aws_cluster\030\001 \001(\0132).google.cloud.gkemu" + + "lticloud.v1.AwsClusterB\004\342A\001\002\022\025\n\rvalidate" + + "_only\030\002 \001(\010\0225\n\013update_mask\030\004 \001(\0132\032.googl" + + "e.protobuf.FieldMaskB\004\342A\001\002\"V\n\024GetAwsClus" + + "terRequest\022>\n\004name\030\001 \001(\tB0\342A\001\002\372A)\n\'gkemu" + + "lticloud.googleapis.com/AwsCluster\"\201\001\n\026L" + + "istAwsClustersRequest\022@\n\006parent\030\001 \001(\tB0\342" + + "A\001\002\372A)\022\'gkemulticloud.googleapis.com/Aws" + + "Cluster\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token" + + "\030\003 \001(\t\"s\n\027ListAwsClustersResponse\022?\n\014aws" + + "_clusters\030\001 \003(\0132).google.cloud.gkemultic" + + "loud.v1.AwsCluster\022\027\n\017next_page_token\030\002 " + + "\001(\t\"\262\001\n\027DeleteAwsClusterRequest\022>\n\004name\030" + + "\001 \001(\tB0\342A\001\002\372A)\n\'gkemulticloud.googleapis" + + ".com/AwsCluster\022\025\n\rvalidate_only\030\002 \001(\010\022\025" + + "\n\rallow_missing\030\003 \001(\010\022\033\n\rignore_errors\030\005" + + " \001(\010B\004\342A\001\001\022\014\n\004etag\030\004 \001(\t\"\335\001\n\030CreateAwsNo" + + "dePoolRequest\022A\n\006parent\030\001 \001(\tB1\342A\001\002\372A*\022(" + + "gkemulticloud.googleapis.com/AwsNodePool" + + "\022G\n\raws_node_pool\030\002 \001(\0132*.google.cloud.g" + + "kemulticloud.v1.AwsNodePoolB\004\342A\001\002\022\036\n\020aws" + + "_node_pool_id\030\003 \001(\tB\004\342A\001\002\022\025\n\rvalidate_on" + + "ly\030\004 \001(\010\"\261\001\n\030UpdateAwsNodePoolRequest\022G\n" + + "\raws_node_pool\030\001 \001(\0132*.google.cloud.gkem" + + "ulticloud.v1.AwsNodePoolB\004\342A\001\002\022\025\n\rvalida" + + "te_only\030\002 \001(\010\0225\n\013update_mask\030\003 \001(\0132\032.goo" + + "gle.protobuf.FieldMaskB\004\342A\001\002\"~\n Rollback" + + "AwsNodePoolUpdateRequest\022?\n\004name\030\001 \001(\tB1" + + "\342A\001\002\372A*\n(gkemulticloud.googleapis.com/Aw" + + "sNodePool\022\031\n\013respect_pdb\030\002 \001(\010B\004\342A\001\001\"X\n\025" + + "GetAwsNodePoolRequest\022?\n\004name\030\001 \001(\tB1\342A\001" + + "\002\372A*\n(gkemulticloud.googleapis.com/AwsNo" + + "dePool\"\203\001\n\027ListAwsNodePoolsRequest\022A\n\006pa" + + "rent\030\001 \001(\tB1\342A\001\002\372A*\022(gkemulticloud.googl" + + "eapis.com/AwsNodePool\022\021\n\tpage_size\030\002 \001(\005" + + "\022\022\n\npage_token\030\003 \001(\t\"w\n\030ListAwsNodePools" + + "Response\022B\n\016aws_node_pools\030\001 \003(\0132*.googl" + + "e.cloud.gkemulticloud.v1.AwsNodePool\022\027\n\017" + + "next_page_token\030\002 \001(\t\"\264\001\n\030DeleteAwsNodeP" + + "oolRequest\022?\n\004name\030\001 \001(\tB1\342A\001\002\372A*\n(gkemu" + + "lticloud.googleapis.com/AwsNodePool\022\025\n\rv" + + "alidate_only\030\002 \001(\010\022\025\n\rallow_missing\030\003 \001(" + + "\010\022\033\n\rignore_errors\030\005 \001(\010B\004\342A\001\001\022\014\n\004etag\030\004" + + " \001(\t\"b\n\031GetAwsOpenIdConfigRequest\022E\n\013aws" + + "_cluster\030\001 \001(\tB0\342A\001\002\372A)\n\'gkemulticloud.g" + + "oogleapis.com/AwsCluster\"a\n\030GetAwsJsonWe" + + "bKeysRequest\022E\n\013aws_cluster\030\001 \001(\tB0\342A\001\002\372" + + "A)\n\'gkemulticloud.googleapis.com/AwsClus" + + "ter\"`\n\031GetAwsServerConfigRequest\022C\n\004name" + + "\030\001 \001(\tB5\342A\001\002\372A.\n,gkemulticloud.googleapi" + + "s.com/AwsServerConfig\"f\n\035GenerateAwsAcce" + + "ssTokenRequest\022E\n\013aws_cluster\030\001 \001(\tB0\342A\001" + + "\002\372A)\n\'gkemulticloud.googleapis.com/AwsCl" + + "uster\"w\n\036GenerateAwsAccessTokenResponse\022" + + "\032\n\014access_token\030\001 \001(\tB\004\342A\001\003\0229\n\017expiratio" + + "n_time\030\002 \001(\0132\032.google.protobuf.Timestamp" + + "B\004\342A\001\003\"\340\002\n#GenerateAwsClusterAgentTokenR" + + "equest\022E\n\013aws_cluster\030\001 \001(\tB0\342A\001\002\372A)\n\'gk" + + "emulticloud.googleapis.com/AwsCluster\022\033\n" + + "\rsubject_token\030\002 \001(\tB\004\342A\001\002\022 \n\022subject_to" + + "ken_type\030\003 \001(\tB\004\342A\001\002\022\025\n\007version\030\004 \001(\tB\004\342" + + "A\001\002\022\032\n\014node_pool_id\030\005 \001(\tB\004\342A\001\001\022\030\n\ngrant" + + "_type\030\006 \001(\tB\004\342A\001\001\022\026\n\010audience\030\007 \001(\tB\004\342A\001" + + "\001\022\023\n\005scope\030\010 \001(\tB\004\342A\001\001\022\"\n\024requested_toke" + + "n_type\030\t \001(\tB\004\342A\001\001\022\025\n\007options\030\n \001(\tB\004\342A\001" + + "\001\"d\n$GenerateAwsClusterAgentTokenRespons" + + "e\022\024\n\014access_token\030\001 \001(\t\022\022\n\nexpires_in\030\002 " + + "\001(\005\022\022\n\ntoken_type\030\003 \001(\t2\251\035\n\013AwsClusters\022" + + "\366\001\n\020CreateAwsCluster\0226.google.cloud.gkem" + + "ulticloud.v1.CreateAwsClusterRequest\032\035.g" + + "oogle.longrunning.Operation\"\212\001\312A\037\n\nAwsCl" + + "uster\022\021OperationMetadata\332A!parent,aws_cl" + + "uster,aws_cluster_id\202\323\344\223\002>\"//v1/{parent=" + + "projects/*/locations/*}/awsClusters:\013aws" + + "_cluster\022\370\001\n\020UpdateAwsCluster\0226.google.c" + + "loud.gkemulticloud.v1.UpdateAwsClusterRe" + + "quest\032\035.google.longrunning.Operation\"\214\001\312" + + "A\037\n\nAwsCluster\022\021OperationMetadata\332A\027aws_" + + "cluster,update_mask\202\323\344\223\002J2;/v1/{aws_clus" + + "ter.name=projects/*/locations/*/awsClust" + + "ers/*}:\013aws_cluster\022\257\001\n\rGetAwsCluster\0223." + + "google.cloud.gkemulticloud.v1.GetAwsClus" + + "terRequest\032).google.cloud.gkemulticloud." + + "v1.AwsCluster\">\332A\004name\202\323\344\223\0021\022//v1/{name=" + + "projects/*/locations/*/awsClusters/*}\022\302\001" + + "\n\017ListAwsClusters\0225.google.cloud.gkemult" + + "icloud.v1.ListAwsClustersRequest\0326.googl" + + "e.cloud.gkemulticloud.v1.ListAwsClusters" + + "Response\"@\332A\006parent\202\323\344\223\0021\022//v1/{parent=p" + + "rojects/*/locations/*}/awsClusters\022\326\001\n\020D" + + "eleteAwsCluster\0226.google.cloud.gkemultic" + + "loud.v1.DeleteAwsClusterRequest\032\035.google" + + ".longrunning.Operation\"k\312A*\n\025google.prot" + + "obuf.Empty\022\021OperationMetadata\332A\004name\202\323\344\223" + + "\0021*//v1/{name=projects/*/locations/*/aws" + + "Clusters/*}\022\207\002\n\034GenerateAwsClusterAgentT" + + "oken\022B.google.cloud.gkemulticloud.v1.Gen" + + "erateAwsClusterAgentTokenRequest\032C.googl" + + "e.cloud.gkemulticloud.v1.GenerateAwsClus" + + "terAgentTokenResponse\"^\202\323\344\223\002X\"S/v1/{aws_" + + "cluster=projects/*/locations/*/awsCluste" + + "rs/*}:generateAwsClusterAgentToken:\001*\022\354\001" + + "\n\026GenerateAwsAccessToken\022<.google.cloud." + + "gkemulticloud.v1.GenerateAwsAccessTokenR" + + "equest\032=.google.cloud.gkemulticloud.v1.G" + + "enerateAwsAccessTokenResponse\"U\202\323\344\223\002O\022M/" + + "v1/{aws_cluster=projects/*/locations/*/a" + + "wsClusters/*}:generateAwsAccessToken\022\216\002\n" + + "\021CreateAwsNodePool\0227.google.cloud.gkemul" + + "ticloud.v1.CreateAwsNodePoolRequest\032\035.go" + + "ogle.longrunning.Operation\"\240\001\312A \n\013AwsNod" + + "ePool\022\021OperationMetadata\332A%parent,aws_no" + + "de_pool,aws_node_pool_id\202\323\344\223\002O\">/v1/{par" + + "ent=projects/*/locations/*/awsClusters/*" + + "}/awsNodePools:\raws_node_pool\022\220\002\n\021Update" + + "AwsNodePool\0227.google.cloud.gkemulticloud" + + ".v1.UpdateAwsNodePoolRequest\032\035.google.lo" + + "ngrunning.Operation\"\242\001\312A \n\013AwsNodePool\022\021" + + "OperationMetadata\332A\031aws_node_pool,update" + + "_mask\202\323\344\223\002]2L/v1/{aws_node_pool.name=pro" + + "jects/*/locations/*/awsClusters/*/awsNod" + + "ePools/*}:\raws_node_pool\022\371\001\n\031RollbackAws" + + "NodePoolUpdate\022?.google.cloud.gkemulticl" + + "oud.v1.RollbackAwsNodePoolUpdateRequest\032" + + "\035.google.longrunning.Operation\"|\312A \n\013Aws" + + "NodePool\022\021OperationMetadata\332A\004name\202\323\344\223\002L" + + "\"G/v1/{name=projects/*/locations/*/awsCl" + + "usters/*/awsNodePools/*}:rollback:\001*\022\301\001\n" + + "\016GetAwsNodePool\0224.google.cloud.gkemultic" + + "loud.v1.GetAwsNodePoolRequest\032*.google.c" + + "loud.gkemulticloud.v1.AwsNodePool\"M\332A\004na" + + "me\202\323\344\223\002@\022>/v1/{name=projects/*/locations" + + "/*/awsClusters/*/awsNodePools/*}\022\324\001\n\020Lis" + + "tAwsNodePools\0226.google.cloud.gkemulticlo" + + "ud.v1.ListAwsNodePoolsRequest\0327.google.c" + + "loud.gkemulticloud.v1.ListAwsNodePoolsRe" + + "sponse\"O\332A\006parent\202\323\344\223\002@\022>/v1/{parent=pro" + + "jects/*/locations/*/awsClusters/*}/awsNo" + + "dePools\022\347\001\n\021DeleteAwsNodePool\0227.google.c" + + "loud.gkemulticloud.v1.DeleteAwsNodePoolR" + + "equest\032\035.google.longrunning.Operation\"z\312" + + "A*\n\025google.protobuf.Empty\022\021OperationMeta" + + "data\332A\004name\202\323\344\223\002@*>/v1/{name=projects/*/" + + "locations/*/awsClusters/*/awsNodePools/*" + + "}\022\337\001\n\022GetAwsOpenIdConfig\0228.google.cloud." + + "gkemulticloud.v1.GetAwsOpenIdConfigReque" + + "st\032..google.cloud.gkemulticloud.v1.AwsOp" + + "enIdConfig\"_\202\323\344\223\002Y\022W/v1/{aws_cluster=pro" + + "jects/*/locations/*/awsClusters/*}/.well" + + "-known/openid-configuration\022\300\001\n\021GetAwsJs" + + "onWebKeys\0227.google.cloud.gkemulticloud.v" + + "1.GetAwsJsonWebKeysRequest\032-.google.clou" + + "d.gkemulticloud.v1.AwsJsonWebKeys\"C\202\323\344\223\002" + + "=\022;/v1/{aws_cluster=projects/*/locations" + + "/*/awsClusters/*}/jwks\022\300\001\n\022GetAwsServerC" + + "onfig\0228.google.cloud.gkemulticloud.v1.Ge" + + "tAwsServerConfigRequest\032..google.cloud.g" + + "kemulticloud.v1.AwsServerConfig\"@\332A\004name" + + "\202\323\344\223\0023\0221/v1/{name=projects/*/locations/*" + + "/awsServerConfig}\032P\312A\034gkemulticloud.goog" + + "leapis.com\322A.https://www.googleapis.com/" + + "auth/cloud-platformB\342\001\n!com.google.cloud" + + ".gkemulticloud.v1B\017AwsServiceProtoP\001ZGcl" + + "oud.google.com/go/gkemulticloud/apiv1/gk" + + "emulticloudpb;gkemulticloudpb\252\002\035Google.C" + + "loud.GkeMultiCloud.V1\312\002\035Google\\Cloud\\Gke" + + "MultiCloud\\V1\352\002 Google::Cloud::GkeMultiC" + + "loud::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.gkemulticloud.v1.AwsResourcesProto.getDescriptor(), + com.google.cloud.gkemulticloud.v1.CommonResourcesProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_descriptor, + new java.lang.String[] { "Parent", "AwsCluster", "AwsClusterId", "ValidateOnly", }); + internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_descriptor, + new java.lang.String[] { "AwsCluster", "ValidateOnly", "UpdateMask", }); + internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_descriptor, + new java.lang.String[] { "AwsClusters", "NextPageToken", }); + internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_descriptor, + new java.lang.String[] { "Name", "ValidateOnly", "AllowMissing", "IgnoreErrors", "Etag", }); + internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_descriptor, + new java.lang.String[] { "Parent", "AwsNodePool", "AwsNodePoolId", "ValidateOnly", }); + internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_descriptor, + new java.lang.String[] { "AwsNodePool", "ValidateOnly", "UpdateMask", }); + internal_static_google_cloud_gkemulticloud_v1_RollbackAwsNodePoolUpdateRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_gkemulticloud_v1_RollbackAwsNodePoolUpdateRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_RollbackAwsNodePoolUpdateRequest_descriptor, + new java.lang.String[] { "Name", "RespectPdb", }); + internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_descriptor, + new java.lang.String[] { "AwsNodePools", "NextPageToken", }); + internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_descriptor, + new java.lang.String[] { "Name", "ValidateOnly", "AllowMissing", "IgnoreErrors", "Etag", }); + internal_static_google_cloud_gkemulticloud_v1_GetAwsOpenIdConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_gkemulticloud_v1_GetAwsOpenIdConfigRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GetAwsOpenIdConfigRequest_descriptor, + new java.lang.String[] { "AwsCluster", }); + internal_static_google_cloud_gkemulticloud_v1_GetAwsJsonWebKeysRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_gkemulticloud_v1_GetAwsJsonWebKeysRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GetAwsJsonWebKeysRequest_descriptor, + new java.lang.String[] { "AwsCluster", }); + internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_descriptor, + new java.lang.String[] { "AwsCluster", }); + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_descriptor, + new java.lang.String[] { "AccessToken", "ExpirationTime", }); + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenRequest_descriptor, + new java.lang.String[] { "AwsCluster", "SubjectToken", "SubjectTokenType", "Version", "NodePoolId", "GrantType", "Audience", "Scope", "RequestedTokenType", "Options", }); + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenResponse_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenResponse_descriptor, + new java.lang.String[] { "AccessToken", "ExpiresIn", "TokenType", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.gkemulticloud.v1.AwsResourcesProto.getDescriptor(); + com.google.cloud.gkemulticloud.v1.CommonResourcesProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthentication.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthentication.java similarity index 70% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthentication.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthentication.java index 5466ae3bb4ca..af9b5d2922ec 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthentication.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthentication.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Authentication configuration for the management of AWS resources.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsServicesAuthentication} */ -public final class AwsServicesAuthentication extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AwsServicesAuthentication extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsServicesAuthentication) AwsServicesAuthenticationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AwsServicesAuthentication.newBuilder() to construct. private AwsServicesAuthentication(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AwsServicesAuthentication() { roleArn_ = ""; roleSessionName_ = ""; @@ -44,39 +26,34 @@ private AwsServicesAuthentication() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AwsServicesAuthentication(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.class, - com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.class, com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.Builder.class); } public static final int ROLE_ARN_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object roleArn_ = ""; /** - * - * *
    * Required. The Amazon Resource Name (ARN) of the role that the Anthos
    * Multi-Cloud API will assume when managing AWS resources on your account.
    * 
* * string role_arn = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The roleArn. */ @java.lang.Override @@ -85,30 +62,30 @@ public java.lang.String getRoleArn() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); roleArn_ = s; return s; } } /** - * - * *
    * Required. The Amazon Resource Name (ARN) of the role that the Anthos
    * Multi-Cloud API will assume when managing AWS resources on your account.
    * 
* * string role_arn = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for roleArn. */ @java.lang.Override - public com.google.protobuf.ByteString getRoleArnBytes() { + public com.google.protobuf.ByteString + getRoleArnBytes() { java.lang.Object ref = roleArn_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); roleArn_ = b; return b; } else { @@ -117,12 +94,9 @@ public com.google.protobuf.ByteString getRoleArnBytes() { } public static final int ROLE_SESSION_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object roleSessionName_ = ""; /** - * - * *
    * Optional. An identifier for the assumed role session.
    *
@@ -130,7 +104,6 @@ public com.google.protobuf.ByteString getRoleArnBytes() {
    * 
* * string role_session_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The roleSessionName. */ @java.lang.Override @@ -139,15 +112,14 @@ public java.lang.String getRoleSessionName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); roleSessionName_ = s; return s; } } /** - * - * *
    * Optional. An identifier for the assumed role session.
    *
@@ -155,15 +127,16 @@ public java.lang.String getRoleSessionName() {
    * 
* * string role_session_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for roleSessionName. */ @java.lang.Override - public com.google.protobuf.ByteString getRoleSessionNameBytes() { + public com.google.protobuf.ByteString + getRoleSessionNameBytes() { java.lang.Object ref = roleSessionName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); roleSessionName_ = b; return b; } else { @@ -172,7 +145,6 @@ public com.google.protobuf.ByteString getRoleSessionNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -184,7 +156,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(roleArn_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, roleArn_); } @@ -214,16 +187,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication other = - (com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication) obj; + com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication other = (com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication) obj; - if (!getRoleArn().equals(other.getRoleArn())) return false; - if (!getRoleSessionName().equals(other.getRoleSessionName())) return false; + if (!getRoleArn() + .equals(other.getRoleArn())) return false; + if (!getRoleSessionName() + .equals(other.getRoleSessionName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -245,136 +219,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Authentication configuration for the management of AWS resources.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsServicesAuthentication} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsServicesAuthentication) com.google.cloud.gkemulticloud.v1.AwsServicesAuthenticationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.class, - com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.class, com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -385,9 +354,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_descriptor; } @java.lang.Override @@ -406,11 +375,8 @@ public com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication result = - new com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication result = new com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -429,39 +395,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsServicesAuthenti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication)other); } else { super.mergeFrom(other); return this; @@ -469,8 +434,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication other) { - if (other == com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.getDefaultInstance()) return this; if (!other.getRoleArn().isEmpty()) { roleArn_ = other.roleArn_; bitField0_ |= 0x00000001; @@ -507,25 +471,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - roleArn_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - roleSessionName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + roleArn_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + roleSessionName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -535,26 +496,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object roleArn_ = ""; /** - * - * *
      * Required. The Amazon Resource Name (ARN) of the role that the Anthos
      * Multi-Cloud API will assume when managing AWS resources on your account.
      * 
* * string role_arn = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The roleArn. */ public java.lang.String getRoleArn() { java.lang.Object ref = roleArn_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); roleArn_ = s; return s; @@ -563,22 +521,21 @@ public java.lang.String getRoleArn() { } } /** - * - * *
      * Required. The Amazon Resource Name (ARN) of the role that the Anthos
      * Multi-Cloud API will assume when managing AWS resources on your account.
      * 
* * string role_arn = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for roleArn. */ - public com.google.protobuf.ByteString getRoleArnBytes() { + public com.google.protobuf.ByteString + getRoleArnBytes() { java.lang.Object ref = roleArn_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); roleArn_ = b; return b; } else { @@ -586,37 +543,30 @@ public com.google.protobuf.ByteString getRoleArnBytes() { } } /** - * - * *
      * Required. The Amazon Resource Name (ARN) of the role that the Anthos
      * Multi-Cloud API will assume when managing AWS resources on your account.
      * 
* * string role_arn = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The roleArn to set. * @return This builder for chaining. */ - public Builder setRoleArn(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRoleArn( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } roleArn_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The Amazon Resource Name (ARN) of the role that the Anthos
      * Multi-Cloud API will assume when managing AWS resources on your account.
      * 
* * string role_arn = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearRoleArn() { @@ -626,22 +576,18 @@ public Builder clearRoleArn() { return this; } /** - * - * *
      * Required. The Amazon Resource Name (ARN) of the role that the Anthos
      * Multi-Cloud API will assume when managing AWS resources on your account.
      * 
* * string role_arn = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for roleArn to set. * @return This builder for chaining. */ - public Builder setRoleArnBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRoleArnBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); roleArn_ = value; bitField0_ |= 0x00000001; @@ -651,8 +597,6 @@ public Builder setRoleArnBytes(com.google.protobuf.ByteString value) { private java.lang.Object roleSessionName_ = ""; /** - * - * *
      * Optional. An identifier for the assumed role session.
      *
@@ -660,13 +604,13 @@ public Builder setRoleArnBytes(com.google.protobuf.ByteString value) {
      * 
* * string role_session_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The roleSessionName. */ public java.lang.String getRoleSessionName() { java.lang.Object ref = roleSessionName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); roleSessionName_ = s; return s; @@ -675,8 +619,6 @@ public java.lang.String getRoleSessionName() { } } /** - * - * *
      * Optional. An identifier for the assumed role session.
      *
@@ -684,14 +626,15 @@ public java.lang.String getRoleSessionName() {
      * 
* * string role_session_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for roleSessionName. */ - public com.google.protobuf.ByteString getRoleSessionNameBytes() { + public com.google.protobuf.ByteString + getRoleSessionNameBytes() { java.lang.Object ref = roleSessionName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); roleSessionName_ = b; return b; } else { @@ -699,8 +642,6 @@ public com.google.protobuf.ByteString getRoleSessionNameBytes() { } } /** - * - * *
      * Optional. An identifier for the assumed role session.
      *
@@ -708,22 +649,18 @@ public com.google.protobuf.ByteString getRoleSessionNameBytes() {
      * 
* * string role_session_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The roleSessionName to set. * @return This builder for chaining. */ - public Builder setRoleSessionName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRoleSessionName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } roleSessionName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. An identifier for the assumed role session.
      *
@@ -731,7 +668,6 @@ public Builder setRoleSessionName(java.lang.String value) {
      * 
* * string role_session_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRoleSessionName() { @@ -741,8 +677,6 @@ public Builder clearRoleSessionName() { return this; } /** - * - * *
      * Optional. An identifier for the assumed role session.
      *
@@ -750,23 +684,21 @@ public Builder clearRoleSessionName() {
      * 
* * string role_session_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for roleSessionName to set. * @return This builder for chaining. */ - public Builder setRoleSessionNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRoleSessionNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); roleSessionName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -776,12 +708,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsServicesAuthentication) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsServicesAuthentication) private static final com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication(); } @@ -790,27 +722,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsServicesAuthentication parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsServicesAuthentication parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -825,4 +757,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthenticationOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthenticationOrBuilder.java similarity index 65% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthenticationOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthenticationOrBuilder.java index b54f349bef2e..661a64e6ebbf 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthenticationOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthenticationOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsServicesAuthenticationOrBuilder - extends +public interface AwsServicesAuthenticationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsServicesAuthentication) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The Amazon Resource Name (ARN) of the role that the Anthos
    * Multi-Cloud API will assume when managing AWS resources on your account.
    * 
* * string role_arn = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The roleArn. */ java.lang.String getRoleArn(); /** - * - * *
    * Required. The Amazon Resource Name (ARN) of the role that the Anthos
    * Multi-Cloud API will assume when managing AWS resources on your account.
    * 
* * string role_arn = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for roleArn. */ - com.google.protobuf.ByteString getRoleArnBytes(); + com.google.protobuf.ByteString + getRoleArnBytes(); /** - * - * *
    * Optional. An identifier for the assumed role session.
    *
@@ -60,13 +37,10 @@ public interface AwsServicesAuthenticationOrBuilder
    * 
* * string role_session_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The roleSessionName. */ java.lang.String getRoleSessionName(); /** - * - * *
    * Optional. An identifier for the assumed role session.
    *
@@ -74,8 +48,8 @@ public interface AwsServicesAuthenticationOrBuilder
    * 
* * string role_session_name = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for roleSessionName. */ - com.google.protobuf.ByteString getRoleSessionNameBytes(); + com.google.protobuf.ByteString + getRoleSessionNameBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfig.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfig.java similarity index 67% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfig.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfig.java index bf776fff1889..68e01fcf6c48 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfig.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfig.java @@ -1,80 +1,57 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * SSH configuration for AWS resources.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsSshConfig} */ -public final class AwsSshConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AwsSshConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsSshConfig) AwsSshConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AwsSshConfig.newBuilder() to construct. private AwsSshConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AwsSshConfig() { ec2KeyPair_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AwsSshConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsSshConfig.class, - com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsSshConfig.class, com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder.class); } public static final int EC2_KEY_PAIR_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object ec2KeyPair_ = ""; /** - * - * *
    * Required. The name of the EC2 key pair used to login into cluster machines.
    * 
* * string ec2_key_pair = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The ec2KeyPair. */ @java.lang.Override @@ -83,29 +60,29 @@ public java.lang.String getEc2KeyPair() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ec2KeyPair_ = s; return s; } } /** - * - * *
    * Required. The name of the EC2 key pair used to login into cluster machines.
    * 
* * string ec2_key_pair = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for ec2KeyPair. */ @java.lang.Override - public com.google.protobuf.ByteString getEc2KeyPairBytes() { + public com.google.protobuf.ByteString + getEc2KeyPairBytes() { java.lang.Object ref = ec2KeyPair_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ec2KeyPair_ = b; return b; } else { @@ -114,7 +91,6 @@ public com.google.protobuf.ByteString getEc2KeyPairBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,7 +102,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ec2KeyPair_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ec2KeyPair_); } @@ -150,15 +127,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsSshConfig)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsSshConfig other = - (com.google.cloud.gkemulticloud.v1.AwsSshConfig) obj; + com.google.cloud.gkemulticloud.v1.AwsSshConfig other = (com.google.cloud.gkemulticloud.v1.AwsSshConfig) obj; - if (!getEc2KeyPair().equals(other.getEc2KeyPair())) return false; + if (!getEc2KeyPair() + .equals(other.getEc2KeyPair())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -177,136 +154,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.gkemulticloud.v1.AwsSshConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.gkemulticloud.v1.AwsSshConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsSshConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsSshConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsSshConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsSshConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsSshConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsSshConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsSshConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsSshConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsSshConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsSshConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsSshConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsSshConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsSshConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SSH configuration for AWS resources.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsSshConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsSshConfig) com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsSshConfig.class, - com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsSshConfig.class, com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AwsSshConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -316,9 +289,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_descriptor; } @java.lang.Override @@ -337,11 +310,8 @@ public com.google.cloud.gkemulticloud.v1.AwsSshConfig build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsSshConfig buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsSshConfig result = - new com.google.cloud.gkemulticloud.v1.AwsSshConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.AwsSshConfig result = new com.google.cloud.gkemulticloud.v1.AwsSshConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -357,39 +327,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsSshConfig result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AwsSshConfig) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsSshConfig) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsSshConfig)other); } else { super.mergeFrom(other); return this; @@ -429,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - ec2KeyPair_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + ec2KeyPair_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -451,25 +418,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object ec2KeyPair_ = ""; /** - * - * *
      * Required. The name of the EC2 key pair used to login into cluster machines.
      * 
* * string ec2_key_pair = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The ec2KeyPair. */ public java.lang.String getEc2KeyPair() { java.lang.Object ref = ec2KeyPair_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ec2KeyPair_ = s; return s; @@ -478,21 +442,20 @@ public java.lang.String getEc2KeyPair() { } } /** - * - * *
      * Required. The name of the EC2 key pair used to login into cluster machines.
      * 
* * string ec2_key_pair = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for ec2KeyPair. */ - public com.google.protobuf.ByteString getEc2KeyPairBytes() { + public com.google.protobuf.ByteString + getEc2KeyPairBytes() { java.lang.Object ref = ec2KeyPair_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ec2KeyPair_ = b; return b; } else { @@ -500,35 +463,28 @@ public com.google.protobuf.ByteString getEc2KeyPairBytes() { } } /** - * - * *
      * Required. The name of the EC2 key pair used to login into cluster machines.
      * 
* * string ec2_key_pair = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The ec2KeyPair to set. * @return This builder for chaining. */ - public Builder setEc2KeyPair(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEc2KeyPair( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ec2KeyPair_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the EC2 key pair used to login into cluster machines.
      * 
* * string ec2_key_pair = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearEc2KeyPair() { @@ -538,30 +494,26 @@ public Builder clearEc2KeyPair() { return this; } /** - * - * *
      * Required. The name of the EC2 key pair used to login into cluster machines.
      * 
* * string ec2_key_pair = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for ec2KeyPair to set. * @return This builder for chaining. */ - public Builder setEc2KeyPairBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEc2KeyPairBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ec2KeyPair_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -571,12 +523,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsSshConfig) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsSshConfig) private static final com.google.cloud.gkemulticloud.v1.AwsSshConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsSshConfig(); } @@ -585,27 +537,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsSshConfig getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsSshConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsSshConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -620,4 +572,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsSshConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfigOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfigOrBuilder.java similarity index 52% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfigOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfigOrBuilder.java index b243a28f39fa..6a9cb26a17e7 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfigOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfigOrBuilder.java @@ -1,50 +1,29 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsSshConfigOrBuilder - extends +public interface AwsSshConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsSshConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the EC2 key pair used to login into cluster machines.
    * 
* * string ec2_key_pair = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The ec2KeyPair. */ java.lang.String getEc2KeyPair(); /** - * - * *
    * Required. The name of the EC2 key pair used to login into cluster machines.
    * 
* * string ec2_key_pair = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for ec2KeyPair. */ - com.google.protobuf.ByteString getEc2KeyPairBytes(); + com.google.protobuf.ByteString + getEc2KeyPairBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplate.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplate.java similarity index 66% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplate.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplate.java index e6c5974c43e2..4c3d79109406 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplate.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplate.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Configuration template for AWS EBS volumes.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsVolumeTemplate} */ -public final class AwsVolumeTemplate extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AwsVolumeTemplate extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsVolumeTemplate) AwsVolumeTemplateOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AwsVolumeTemplate.newBuilder() to construct. private AwsVolumeTemplate(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AwsVolumeTemplate() { volumeType_ = 0; kmsKeyArn_ = ""; @@ -44,28 +26,25 @@ private AwsVolumeTemplate() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AwsVolumeTemplate(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.class, - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.class, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder.class); } /** - * - * *
    * Types of supported EBS volumes. We currently only support GP2 or GP3
    * volumes.
@@ -75,10 +54,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType}
    */
-  public enum VolumeType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum VolumeType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Not set.
      * 
@@ -87,8 +65,6 @@ public enum VolumeType implements com.google.protobuf.ProtocolMessageEnum { */ VOLUME_TYPE_UNSPECIFIED(0), /** - * - * *
      * GP2 (General Purpose SSD volume type).
      * 
@@ -97,8 +73,6 @@ public enum VolumeType implements com.google.protobuf.ProtocolMessageEnum { */ GP2(1), /** - * - * *
      * GP3 (General Purpose SSD volume type).
      * 
@@ -110,8 +84,6 @@ public enum VolumeType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not set.
      * 
@@ -120,8 +92,6 @@ public enum VolumeType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VOLUME_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * GP2 (General Purpose SSD volume type).
      * 
@@ -130,8 +100,6 @@ public enum VolumeType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GP2_VALUE = 1; /** - * - * *
      * GP3 (General Purpose SSD volume type).
      * 
@@ -140,6 +108,7 @@ public enum VolumeType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GP3_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -164,51 +133,49 @@ public static VolumeType valueOf(int value) { */ public static VolumeType forNumber(int value) { switch (value) { - case 0: - return VOLUME_TYPE_UNSPECIFIED; - case 1: - return GP2; - case 2: - return GP3; - default: - return null; + case 0: return VOLUME_TYPE_UNSPECIFIED; + case 1: return GP2; + case 2: return GP3; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VolumeType findValueByNumber(int number) { - return VolumeType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + VolumeType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public VolumeType findValueByNumber(int number) { + return VolumeType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDescriptor().getEnumTypes().get(0); } private static final VolumeType[] VALUES = values(); - public static VolumeType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static VolumeType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -228,8 +195,6 @@ private VolumeType(int value) { public static final int SIZE_GIB_FIELD_NUMBER = 1; private int sizeGib_ = 0; /** - * - * *
    * Optional. The size of the volume, in GiBs.
    *
@@ -238,7 +203,6 @@ private VolumeType(int value) {
    * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The sizeGib. */ @java.lang.Override @@ -249,60 +213,42 @@ public int getSizeGib() { public static final int VOLUME_TYPE_FIELD_NUMBER = 2; private int volumeType_ = 0; /** - * - * *
    * Optional. Type of the EBS volume.
    *
    * When unspecified, it defaults to GP2 volume.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for volumeType. */ - @java.lang.Override - public int getVolumeTypeValue() { + @java.lang.Override public int getVolumeTypeValue() { return volumeType_; } /** - * - * *
    * Optional. Type of the EBS volume.
    *
    * When unspecified, it defaults to GP2 volume.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The volumeType. */ - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType getVolumeType() { - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType result = - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType.forNumber(volumeType_); - return result == null - ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType getVolumeType() { + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType result = com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType.forNumber(volumeType_); + return result == null ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType.UNRECOGNIZED : result; } public static final int IOPS_FIELD_NUMBER = 3; private int iops_ = 0; /** - * - * *
    * Optional. The number of I/O operations per second (IOPS) to provision for
    * GP3 volume.
    * 
* * int32 iops = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The iops. */ @java.lang.Override @@ -310,13 +256,28 @@ public int getIops() { return iops_; } - public static final int KMS_KEY_ARN_FIELD_NUMBER = 4; + public static final int THROUGHPUT_FIELD_NUMBER = 5; + private int throughput_ = 0; + /** + *
+   * Optional. The throughput that the volume supports, in MiB/s. Only valid if
+   * volume_type is GP3.
+   *
+   * If the volume_type is GP3 and this is not speficied, it defaults to 125.
+   * 
+ * + * int32 throughput = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The throughput. + */ + @java.lang.Override + public int getThroughput() { + return throughput_; + } + public static final int KMS_KEY_ARN_FIELD_NUMBER = 4; @SuppressWarnings("serial") private volatile java.lang.Object kmsKeyArn_ = ""; /** - * - * *
    * Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK)
    * used to encrypt AWS EBS volumes.
@@ -326,7 +287,6 @@ public int getIops() {
    * 
* * string kms_key_arn = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The kmsKeyArn. */ @java.lang.Override @@ -335,15 +295,14 @@ public java.lang.String getKmsKeyArn() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyArn_ = s; return s; } } /** - * - * *
    * Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK)
    * used to encrypt AWS EBS volumes.
@@ -353,15 +312,16 @@ public java.lang.String getKmsKeyArn() {
    * 
* * string kms_key_arn = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for kmsKeyArn. */ @java.lang.Override - public com.google.protobuf.ByteString getKmsKeyArnBytes() { + public com.google.protobuf.ByteString + getKmsKeyArnBytes() { java.lang.Object ref = kmsKeyArn_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyArn_ = b; return b; } else { @@ -370,7 +330,6 @@ public com.google.protobuf.ByteString getKmsKeyArnBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -382,13 +341,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (sizeGib_ != 0) { output.writeInt32(1, sizeGib_); } - if (volumeType_ - != com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType.VOLUME_TYPE_UNSPECIFIED - .getNumber()) { + if (volumeType_ != com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType.VOLUME_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, volumeType_); } if (iops_ != 0) { @@ -397,6 +355,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyArn_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, kmsKeyArn_); } + if (throughput_ != 0) { + output.writeInt32(5, throughput_); + } getUnknownFields().writeTo(output); } @@ -407,19 +368,24 @@ public int getSerializedSize() { size = 0; if (sizeGib_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, sizeGib_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, sizeGib_); } - if (volumeType_ - != com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType.VOLUME_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, volumeType_); + if (volumeType_ != com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType.VOLUME_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, volumeType_); } if (iops_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, iops_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, iops_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyArn_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, kmsKeyArn_); } + if (throughput_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, throughput_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -428,18 +394,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate other = - (com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate) obj; + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate other = (com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate) obj; - if (getSizeGib() != other.getSizeGib()) return false; + if (getSizeGib() + != other.getSizeGib()) return false; if (volumeType_ != other.volumeType_) return false; - if (getIops() != other.getIops()) return false; - if (!getKmsKeyArn().equals(other.getKmsKeyArn())) return false; + if (getIops() + != other.getIops()) return false; + if (getThroughput() + != other.getThroughput()) return false; + if (!getKmsKeyArn() + .equals(other.getKmsKeyArn())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -457,6 +427,8 @@ public int hashCode() { hash = (53 * hash) + volumeType_; hash = (37 * hash) + IOPS_FIELD_NUMBER; hash = (53 * hash) + getIops(); + hash = (37 * hash) + THROUGHPUT_FIELD_NUMBER; + hash = (53 * hash) + getThroughput(); hash = (37 * hash) + KMS_KEY_ARN_FIELD_NUMBER; hash = (53 * hash) + getKmsKeyArn().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -465,135 +437,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration template for AWS EBS volumes.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsVolumeTemplate} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsVolumeTemplate) com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.class, - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.class, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -601,14 +569,15 @@ public Builder clear() { sizeGib_ = 0; volumeType_ = 0; iops_ = 0; + throughput_ = 0; kmsKeyArn_ = ""; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_descriptor; } @java.lang.Override @@ -627,11 +596,8 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate result = - new com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate result = new com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -648,6 +614,9 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate r result.iops_ = iops_; } if (((from_bitField0_ & 0x00000008) != 0)) { + result.throughput_ = throughput_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { result.kmsKeyArn_ = kmsKeyArn_; } } @@ -656,39 +625,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate)other); } else { super.mergeFrom(other); return this; @@ -696,8 +664,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate other) { - if (other == com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance()) return this; if (other.getSizeGib() != 0) { setSizeGib(other.getSizeGib()); } @@ -707,9 +674,12 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate oth if (other.getIops() != 0) { setIops(other.getIops()); } + if (other.getThroughput() != 0) { + setThroughput(other.getThroughput()); + } if (!other.getKmsKeyArn().isEmpty()) { kmsKeyArn_ = other.kmsKeyArn_; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); @@ -738,37 +708,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - sizeGib_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - volumeType_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: - { - iops_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - kmsKeyArn_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + sizeGib_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + volumeType_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + iops_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + kmsKeyArn_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 40: { + throughput_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -778,13 +748,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int sizeGib_; + private int sizeGib_ ; /** - * - * *
      * Optional. The size of the volume, in GiBs.
      *
@@ -793,7 +760,6 @@ public Builder mergeFrom(
      * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The sizeGib. */ @java.lang.Override @@ -801,8 +767,6 @@ public int getSizeGib() { return sizeGib_; } /** - * - * *
      * Optional. The size of the volume, in GiBs.
      *
@@ -811,7 +775,6 @@ public int getSizeGib() {
      * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The sizeGib to set. * @return This builder for chaining. */ @@ -823,8 +786,6 @@ public Builder setSizeGib(int value) { return this; } /** - * - * *
      * Optional. The size of the volume, in GiBs.
      *
@@ -833,7 +794,6 @@ public Builder setSizeGib(int value) {
      * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearSizeGib() { @@ -845,37 +805,26 @@ public Builder clearSizeGib() { private int volumeType_ = 0; /** - * - * *
      * Optional. Type of the EBS volume.
      *
      * When unspecified, it defaults to GP2 volume.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for volumeType. */ - @java.lang.Override - public int getVolumeTypeValue() { + @java.lang.Override public int getVolumeTypeValue() { return volumeType_; } /** - * - * *
      * Optional. Type of the EBS volume.
      *
      * When unspecified, it defaults to GP2 volume.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for volumeType to set. * @return This builder for chaining. */ @@ -886,46 +835,32 @@ public Builder setVolumeTypeValue(int value) { return this; } /** - * - * *
      * Optional. Type of the EBS volume.
      *
      * When unspecified, it defaults to GP2 volume.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The volumeType. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType getVolumeType() { - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType result = - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType.forNumber(volumeType_); - return result == null - ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType.UNRECOGNIZED - : result; + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType result = com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType.forNumber(volumeType_); + return result == null ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType.UNRECOGNIZED : result; } /** - * - * *
      * Optional. Type of the EBS volume.
      *
      * When unspecified, it defaults to GP2 volume.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The volumeType to set. * @return This builder for chaining. */ - public Builder setVolumeType( - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType value) { + public Builder setVolumeType(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType value) { if (value == null) { throw new NullPointerException(); } @@ -935,18 +870,13 @@ public Builder setVolumeType( return this; } /** - * - * *
      * Optional. Type of the EBS volume.
      *
      * When unspecified, it defaults to GP2 volume.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearVolumeType() { @@ -956,17 +886,14 @@ public Builder clearVolumeType() { return this; } - private int iops_; + private int iops_ ; /** - * - * *
      * Optional. The number of I/O operations per second (IOPS) to provision for
      * GP3 volume.
      * 
* * int32 iops = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The iops. */ @java.lang.Override @@ -974,15 +901,12 @@ public int getIops() { return iops_; } /** - * - * *
      * Optional. The number of I/O operations per second (IOPS) to provision for
      * GP3 volume.
      * 
* * int32 iops = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The iops to set. * @return This builder for chaining. */ @@ -994,15 +918,12 @@ public Builder setIops(int value) { return this; } /** - * - * *
      * Optional. The number of I/O operations per second (IOPS) to provision for
      * GP3 volume.
      * 
* * int32 iops = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearIops() { @@ -1012,10 +933,61 @@ public Builder clearIops() { return this; } - private java.lang.Object kmsKeyArn_ = ""; + private int throughput_ ; + /** + *
+     * Optional. The throughput that the volume supports, in MiB/s. Only valid if
+     * volume_type is GP3.
+     *
+     * If the volume_type is GP3 and this is not speficied, it defaults to 125.
+     * 
+ * + * int32 throughput = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The throughput. + */ + @java.lang.Override + public int getThroughput() { + return throughput_; + } + /** + *
+     * Optional. The throughput that the volume supports, in MiB/s. Only valid if
+     * volume_type is GP3.
+     *
+     * If the volume_type is GP3 and this is not speficied, it defaults to 125.
+     * 
+ * + * int32 throughput = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The throughput to set. + * @return This builder for chaining. + */ + public Builder setThroughput(int value) { + + throughput_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } /** + *
+     * Optional. The throughput that the volume supports, in MiB/s. Only valid if
+     * volume_type is GP3.
      *
+     * If the volume_type is GP3 and this is not speficied, it defaults to 125.
+     * 
* + * int32 throughput = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearThroughput() { + bitField0_ = (bitField0_ & ~0x00000008); + throughput_ = 0; + onChanged(); + return this; + } + + private java.lang.Object kmsKeyArn_ = ""; + /** *
      * Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK)
      * used to encrypt AWS EBS volumes.
@@ -1025,13 +997,13 @@ public Builder clearIops() {
      * 
* * string kms_key_arn = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The kmsKeyArn. */ public java.lang.String getKmsKeyArn() { java.lang.Object ref = kmsKeyArn_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyArn_ = s; return s; @@ -1040,8 +1012,6 @@ public java.lang.String getKmsKeyArn() { } } /** - * - * *
      * Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK)
      * used to encrypt AWS EBS volumes.
@@ -1051,14 +1021,15 @@ public java.lang.String getKmsKeyArn() {
      * 
* * string kms_key_arn = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for kmsKeyArn. */ - public com.google.protobuf.ByteString getKmsKeyArnBytes() { + public com.google.protobuf.ByteString + getKmsKeyArnBytes() { java.lang.Object ref = kmsKeyArn_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyArn_ = b; return b; } else { @@ -1066,8 +1037,6 @@ public com.google.protobuf.ByteString getKmsKeyArnBytes() { } } /** - * - * *
      * Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK)
      * used to encrypt AWS EBS volumes.
@@ -1077,22 +1046,18 @@ public com.google.protobuf.ByteString getKmsKeyArnBytes() {
      * 
* * string kms_key_arn = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The kmsKeyArn to set. * @return This builder for chaining. */ - public Builder setKmsKeyArn(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyArn( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } kmsKeyArn_ = value; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK)
      * used to encrypt AWS EBS volumes.
@@ -1102,18 +1067,15 @@ public Builder setKmsKeyArn(java.lang.String value) {
      * 
* * string kms_key_arn = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearKmsKeyArn() { kmsKeyArn_ = getDefaultInstance().getKmsKeyArn(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** - * - * *
      * Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK)
      * used to encrypt AWS EBS volumes.
@@ -1123,23 +1085,21 @@ public Builder clearKmsKeyArn() {
      * 
* * string kms_key_arn = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for kmsKeyArn to set. * @return This builder for chaining. */ - public Builder setKmsKeyArnBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyArnBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); kmsKeyArn_ = value; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1149,12 +1109,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsVolumeTemplate) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsVolumeTemplate) private static final com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate(); } @@ -1163,27 +1123,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsVolumeTemplate parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsVolumeTemplate parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1198,4 +1158,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplateOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplateOrBuilder.java similarity index 67% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplateOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplateOrBuilder.java index b3be10b3083d..f492be7d82b9 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplateOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplateOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsVolumeTemplateOrBuilder - extends +public interface AwsVolumeTemplateOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsVolumeTemplate) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. The size of the volume, in GiBs.
    *
@@ -34,61 +16,58 @@ public interface AwsVolumeTemplateOrBuilder
    * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The sizeGib. */ int getSizeGib(); /** - * - * *
    * Optional. Type of the EBS volume.
    *
    * When unspecified, it defaults to GP2 volume.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for volumeType. */ int getVolumeTypeValue(); /** - * - * *
    * Optional. Type of the EBS volume.
    *
    * When unspecified, it defaults to GP2 volume.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The volumeType. */ com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType getVolumeType(); /** - * - * *
    * Optional. The number of I/O operations per second (IOPS) to provision for
    * GP3 volume.
    * 
* * int32 iops = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The iops. */ int getIops(); /** + *
+   * Optional. The throughput that the volume supports, in MiB/s. Only valid if
+   * volume_type is GP3.
    *
+   * If the volume_type is GP3 and this is not speficied, it defaults to 125.
+   * 
* + * int32 throughput = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The throughput. + */ + int getThroughput(); + + /** *
    * Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK)
    * used to encrypt AWS EBS volumes.
@@ -98,13 +77,10 @@ public interface AwsVolumeTemplateOrBuilder
    * 
* * string kms_key_arn = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The kmsKeyArn. */ java.lang.String getKmsKeyArn(); /** - * - * *
    * Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK)
    * used to encrypt AWS EBS volumes.
@@ -114,8 +90,8 @@ public interface AwsVolumeTemplateOrBuilder
    * 
* * string kms_key_arn = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for kmsKeyArn. */ - com.google.protobuf.ByteString getKmsKeyArnBytes(); + com.google.protobuf.ByteString + getKmsKeyArnBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorization.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorization.java new file mode 100644 index 000000000000..cb4acdad5c96 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorization.java @@ -0,0 +1,1531 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +/** + *
+ * Configuration related to the cluster RBAC settings.
+ * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureAuthorization} + */ +public final class AzureAuthorization extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureAuthorization) + AzureAuthorizationOrBuilder { +private static final long serialVersionUID = 0L; + // Use AzureAuthorization.newBuilder() to construct. + private AzureAuthorization(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AzureAuthorization() { + adminUsers_ = java.util.Collections.emptyList(); + adminGroups_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AzureAuthorization(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.AzureAuthorization.class, com.google.cloud.gkemulticloud.v1.AzureAuthorization.Builder.class); + } + + public static final int ADMIN_USERS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private java.util.List adminUsers_; + /** + *
+   * Optional. Users that can perform operations as a cluster admin. A managed
+   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+   * to the users. Up to ten admin users can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.util.List getAdminUsersList() { + return adminUsers_; + } + /** + *
+   * Optional. Users that can perform operations as a cluster admin. A managed
+   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+   * to the users. Up to ten admin users can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.util.List + getAdminUsersOrBuilderList() { + return adminUsers_; + } + /** + *
+   * Optional. Users that can perform operations as a cluster admin. A managed
+   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+   * to the users. Up to ten admin users can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public int getAdminUsersCount() { + return adminUsers_.size(); + } + /** + *
+   * Optional. Users that can perform operations as a cluster admin. A managed
+   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+   * to the users. Up to ten admin users can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureClusterUser getAdminUsers(int index) { + return adminUsers_.get(index); + } + /** + *
+   * Optional. Users that can perform operations as a cluster admin. A managed
+   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+   * to the users. Up to ten admin users can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder getAdminUsersOrBuilder( + int index) { + return adminUsers_.get(index); + } + + public static final int ADMIN_GROUPS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private java.util.List adminGroups_; + /** + *
+   * Optional. Groups of users that can perform operations as a cluster admin. A
+   * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+   * ClusterRole to the groups. Up to ten admin groups can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.util.List getAdminGroupsList() { + return adminGroups_; + } + /** + *
+   * Optional. Groups of users that can perform operations as a cluster admin. A
+   * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+   * ClusterRole to the groups. Up to ten admin groups can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.util.List + getAdminGroupsOrBuilderList() { + return adminGroups_; + } + /** + *
+   * Optional. Groups of users that can perform operations as a cluster admin. A
+   * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+   * ClusterRole to the groups. Up to ten admin groups can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public int getAdminGroupsCount() { + return adminGroups_.size(); + } + /** + *
+   * Optional. Groups of users that can perform operations as a cluster admin. A
+   * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+   * ClusterRole to the groups. Up to ten admin groups can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureClusterGroup getAdminGroups(int index) { + return adminGroups_.get(index); + } + /** + *
+   * Optional. Groups of users that can perform operations as a cluster admin. A
+   * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+   * ClusterRole to the groups. Up to ten admin groups can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureClusterGroupOrBuilder getAdminGroupsOrBuilder( + int index) { + return adminGroups_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < adminUsers_.size(); i++) { + output.writeMessage(1, adminUsers_.get(i)); + } + for (int i = 0; i < adminGroups_.size(); i++) { + output.writeMessage(2, adminGroups_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < adminUsers_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, adminUsers_.get(i)); + } + for (int i = 0; i < adminGroups_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, adminGroups_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureAuthorization)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.AzureAuthorization other = (com.google.cloud.gkemulticloud.v1.AzureAuthorization) obj; + + if (!getAdminUsersList() + .equals(other.getAdminUsersList())) return false; + if (!getAdminGroupsList() + .equals(other.getAdminGroupsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getAdminUsersCount() > 0) { + hash = (37 * hash) + ADMIN_USERS_FIELD_NUMBER; + hash = (53 * hash) + getAdminUsersList().hashCode(); + } + if (getAdminGroupsCount() > 0) { + hash = (37 * hash) + ADMIN_GROUPS_FIELD_NUMBER; + hash = (53 * hash) + getAdminGroupsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureAuthorization prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Configuration related to the cluster RBAC settings.
+   * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureAuthorization} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureAuthorization) + com.google.cloud.gkemulticloud.v1.AzureAuthorizationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.AzureAuthorization.class, com.google.cloud.gkemulticloud.v1.AzureAuthorization.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.AzureAuthorization.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (adminUsersBuilder_ == null) { + adminUsers_ = java.util.Collections.emptyList(); + } else { + adminUsers_ = null; + adminUsersBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + if (adminGroupsBuilder_ == null) { + adminGroups_ = java.util.Collections.emptyList(); + } else { + adminGroups_ = null; + adminGroupsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureAuthorization getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.AzureAuthorization.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureAuthorization build() { + com.google.cloud.gkemulticloud.v1.AzureAuthorization result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureAuthorization buildPartial() { + com.google.cloud.gkemulticloud.v1.AzureAuthorization result = new com.google.cloud.gkemulticloud.v1.AzureAuthorization(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.AzureAuthorization result) { + if (adminUsersBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + adminUsers_ = java.util.Collections.unmodifiableList(adminUsers_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.adminUsers_ = adminUsers_; + } else { + result.adminUsers_ = adminUsersBuilder_.build(); + } + if (adminGroupsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + adminGroups_ = java.util.Collections.unmodifiableList(adminGroups_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.adminGroups_ = adminGroups_; + } else { + result.adminGroups_ = adminGroupsBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureAuthorization result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.AzureAuthorization) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureAuthorization)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureAuthorization other) { + if (other == com.google.cloud.gkemulticloud.v1.AzureAuthorization.getDefaultInstance()) return this; + if (adminUsersBuilder_ == null) { + if (!other.adminUsers_.isEmpty()) { + if (adminUsers_.isEmpty()) { + adminUsers_ = other.adminUsers_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureAdminUsersIsMutable(); + adminUsers_.addAll(other.adminUsers_); + } + onChanged(); + } + } else { + if (!other.adminUsers_.isEmpty()) { + if (adminUsersBuilder_.isEmpty()) { + adminUsersBuilder_.dispose(); + adminUsersBuilder_ = null; + adminUsers_ = other.adminUsers_; + bitField0_ = (bitField0_ & ~0x00000001); + adminUsersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAdminUsersFieldBuilder() : null; + } else { + adminUsersBuilder_.addAllMessages(other.adminUsers_); + } + } + } + if (adminGroupsBuilder_ == null) { + if (!other.adminGroups_.isEmpty()) { + if (adminGroups_.isEmpty()) { + adminGroups_ = other.adminGroups_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureAdminGroupsIsMutable(); + adminGroups_.addAll(other.adminGroups_); + } + onChanged(); + } + } else { + if (!other.adminGroups_.isEmpty()) { + if (adminGroupsBuilder_.isEmpty()) { + adminGroupsBuilder_.dispose(); + adminGroupsBuilder_ = null; + adminGroups_ = other.adminGroups_; + bitField0_ = (bitField0_ & ~0x00000002); + adminGroupsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAdminGroupsFieldBuilder() : null; + } else { + adminGroupsBuilder_.addAllMessages(other.adminGroups_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.cloud.gkemulticloud.v1.AzureClusterUser m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureClusterUser.parser(), + extensionRegistry); + if (adminUsersBuilder_ == null) { + ensureAdminUsersIsMutable(); + adminUsers_.add(m); + } else { + adminUsersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + com.google.cloud.gkemulticloud.v1.AzureClusterGroup m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureClusterGroup.parser(), + extensionRegistry); + if (adminGroupsBuilder_ == null) { + ensureAdminGroupsIsMutable(); + adminGroups_.add(m); + } else { + adminGroupsBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.util.List adminUsers_ = + java.util.Collections.emptyList(); + private void ensureAdminUsersIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + adminUsers_ = new java.util.ArrayList(adminUsers_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureClusterUser, com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder> adminUsersBuilder_; + + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public java.util.List getAdminUsersList() { + if (adminUsersBuilder_ == null) { + return java.util.Collections.unmodifiableList(adminUsers_); + } else { + return adminUsersBuilder_.getMessageList(); + } + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public int getAdminUsersCount() { + if (adminUsersBuilder_ == null) { + return adminUsers_.size(); + } else { + return adminUsersBuilder_.getCount(); + } + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AzureClusterUser getAdminUsers(int index) { + if (adminUsersBuilder_ == null) { + return adminUsers_.get(index); + } else { + return adminUsersBuilder_.getMessage(index); + } + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setAdminUsers( + int index, com.google.cloud.gkemulticloud.v1.AzureClusterUser value) { + if (adminUsersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdminUsersIsMutable(); + adminUsers_.set(index, value); + onChanged(); + } else { + adminUsersBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setAdminUsers( + int index, com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder builderForValue) { + if (adminUsersBuilder_ == null) { + ensureAdminUsersIsMutable(); + adminUsers_.set(index, builderForValue.build()); + onChanged(); + } else { + adminUsersBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder addAdminUsers(com.google.cloud.gkemulticloud.v1.AzureClusterUser value) { + if (adminUsersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdminUsersIsMutable(); + adminUsers_.add(value); + onChanged(); + } else { + adminUsersBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder addAdminUsers( + int index, com.google.cloud.gkemulticloud.v1.AzureClusterUser value) { + if (adminUsersBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdminUsersIsMutable(); + adminUsers_.add(index, value); + onChanged(); + } else { + adminUsersBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder addAdminUsers( + com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder builderForValue) { + if (adminUsersBuilder_ == null) { + ensureAdminUsersIsMutable(); + adminUsers_.add(builderForValue.build()); + onChanged(); + } else { + adminUsersBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder addAdminUsers( + int index, com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder builderForValue) { + if (adminUsersBuilder_ == null) { + ensureAdminUsersIsMutable(); + adminUsers_.add(index, builderForValue.build()); + onChanged(); + } else { + adminUsersBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder addAllAdminUsers( + java.lang.Iterable values) { + if (adminUsersBuilder_ == null) { + ensureAdminUsersIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, adminUsers_); + onChanged(); + } else { + adminUsersBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder clearAdminUsers() { + if (adminUsersBuilder_ == null) { + adminUsers_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + adminUsersBuilder_.clear(); + } + return this; + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder removeAdminUsers(int index) { + if (adminUsersBuilder_ == null) { + ensureAdminUsersIsMutable(); + adminUsers_.remove(index); + onChanged(); + } else { + adminUsersBuilder_.remove(index); + } + return this; + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder getAdminUsersBuilder( + int index) { + return getAdminUsersFieldBuilder().getBuilder(index); + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder getAdminUsersOrBuilder( + int index) { + if (adminUsersBuilder_ == null) { + return adminUsers_.get(index); } else { + return adminUsersBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public java.util.List + getAdminUsersOrBuilderList() { + if (adminUsersBuilder_ != null) { + return adminUsersBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(adminUsers_); + } + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder addAdminUsersBuilder() { + return getAdminUsersFieldBuilder().addBuilder( + com.google.cloud.gkemulticloud.v1.AzureClusterUser.getDefaultInstance()); + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder addAdminUsersBuilder( + int index) { + return getAdminUsersFieldBuilder().addBuilder( + index, com.google.cloud.gkemulticloud.v1.AzureClusterUser.getDefaultInstance()); + } + /** + *
+     * Optional. Users that can perform operations as a cluster admin. A managed
+     * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+     * to the users. Up to ten admin users can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public java.util.List + getAdminUsersBuilderList() { + return getAdminUsersFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureClusterUser, com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder> + getAdminUsersFieldBuilder() { + if (adminUsersBuilder_ == null) { + adminUsersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureClusterUser, com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder>( + adminUsers_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + adminUsers_ = null; + } + return adminUsersBuilder_; + } + + private java.util.List adminGroups_ = + java.util.Collections.emptyList(); + private void ensureAdminGroupsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + adminGroups_ = new java.util.ArrayList(adminGroups_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureClusterGroup, com.google.cloud.gkemulticloud.v1.AzureClusterGroup.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterGroupOrBuilder> adminGroupsBuilder_; + + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public java.util.List getAdminGroupsList() { + if (adminGroupsBuilder_ == null) { + return java.util.Collections.unmodifiableList(adminGroups_); + } else { + return adminGroupsBuilder_.getMessageList(); + } + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public int getAdminGroupsCount() { + if (adminGroupsBuilder_ == null) { + return adminGroups_.size(); + } else { + return adminGroupsBuilder_.getCount(); + } + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AzureClusterGroup getAdminGroups(int index) { + if (adminGroupsBuilder_ == null) { + return adminGroups_.get(index); + } else { + return adminGroupsBuilder_.getMessage(index); + } + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setAdminGroups( + int index, com.google.cloud.gkemulticloud.v1.AzureClusterGroup value) { + if (adminGroupsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdminGroupsIsMutable(); + adminGroups_.set(index, value); + onChanged(); + } else { + adminGroupsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setAdminGroups( + int index, com.google.cloud.gkemulticloud.v1.AzureClusterGroup.Builder builderForValue) { + if (adminGroupsBuilder_ == null) { + ensureAdminGroupsIsMutable(); + adminGroups_.set(index, builderForValue.build()); + onChanged(); + } else { + adminGroupsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder addAdminGroups(com.google.cloud.gkemulticloud.v1.AzureClusterGroup value) { + if (adminGroupsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdminGroupsIsMutable(); + adminGroups_.add(value); + onChanged(); + } else { + adminGroupsBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder addAdminGroups( + int index, com.google.cloud.gkemulticloud.v1.AzureClusterGroup value) { + if (adminGroupsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdminGroupsIsMutable(); + adminGroups_.add(index, value); + onChanged(); + } else { + adminGroupsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder addAdminGroups( + com.google.cloud.gkemulticloud.v1.AzureClusterGroup.Builder builderForValue) { + if (adminGroupsBuilder_ == null) { + ensureAdminGroupsIsMutable(); + adminGroups_.add(builderForValue.build()); + onChanged(); + } else { + adminGroupsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder addAdminGroups( + int index, com.google.cloud.gkemulticloud.v1.AzureClusterGroup.Builder builderForValue) { + if (adminGroupsBuilder_ == null) { + ensureAdminGroupsIsMutable(); + adminGroups_.add(index, builderForValue.build()); + onChanged(); + } else { + adminGroupsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder addAllAdminGroups( + java.lang.Iterable values) { + if (adminGroupsBuilder_ == null) { + ensureAdminGroupsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, adminGroups_); + onChanged(); + } else { + adminGroupsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder clearAdminGroups() { + if (adminGroupsBuilder_ == null) { + adminGroups_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + adminGroupsBuilder_.clear(); + } + return this; + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder removeAdminGroups(int index) { + if (adminGroupsBuilder_ == null) { + ensureAdminGroupsIsMutable(); + adminGroups_.remove(index); + onChanged(); + } else { + adminGroupsBuilder_.remove(index); + } + return this; + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AzureClusterGroup.Builder getAdminGroupsBuilder( + int index) { + return getAdminGroupsFieldBuilder().getBuilder(index); + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AzureClusterGroupOrBuilder getAdminGroupsOrBuilder( + int index) { + if (adminGroupsBuilder_ == null) { + return adminGroups_.get(index); } else { + return adminGroupsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public java.util.List + getAdminGroupsOrBuilderList() { + if (adminGroupsBuilder_ != null) { + return adminGroupsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(adminGroups_); + } + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AzureClusterGroup.Builder addAdminGroupsBuilder() { + return getAdminGroupsFieldBuilder().addBuilder( + com.google.cloud.gkemulticloud.v1.AzureClusterGroup.getDefaultInstance()); + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AzureClusterGroup.Builder addAdminGroupsBuilder( + int index) { + return getAdminGroupsFieldBuilder().addBuilder( + index, com.google.cloud.gkemulticloud.v1.AzureClusterGroup.getDefaultInstance()); + } + /** + *
+     * Optional. Groups of users that can perform operations as a cluster admin. A
+     * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+     * ClusterRole to the groups. Up to ten admin groups can be provided.
+     *
+     * For more info on RBAC, see
+     * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public java.util.List + getAdminGroupsBuilderList() { + return getAdminGroupsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureClusterGroup, com.google.cloud.gkemulticloud.v1.AzureClusterGroup.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterGroupOrBuilder> + getAdminGroupsFieldBuilder() { + if (adminGroupsBuilder_ == null) { + adminGroupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureClusterGroup, com.google.cloud.gkemulticloud.v1.AzureClusterGroup.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterGroupOrBuilder>( + adminGroups_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + adminGroups_ = null; + } + return adminGroupsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureAuthorization) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureAuthorization) + private static final com.google.cloud.gkemulticloud.v1.AzureAuthorization DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureAuthorization(); + } + + public static com.google.cloud.gkemulticloud.v1.AzureAuthorization getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureAuthorization parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureAuthorization getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorizationOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorizationOrBuilder.java new file mode 100644 index 000000000000..b64c565d3ed7 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorizationOrBuilder.java @@ -0,0 +1,147 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface AzureAuthorizationOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureAuthorization) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Optional. Users that can perform operations as a cluster admin. A managed
+   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+   * to the users. Up to ten admin users can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + java.util.List + getAdminUsersList(); + /** + *
+   * Optional. Users that can perform operations as a cluster admin. A managed
+   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+   * to the users. Up to ten admin users can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.cloud.gkemulticloud.v1.AzureClusterUser getAdminUsers(int index); + /** + *
+   * Optional. Users that can perform operations as a cluster admin. A managed
+   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+   * to the users. Up to ten admin users can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + int getAdminUsersCount(); + /** + *
+   * Optional. Users that can perform operations as a cluster admin. A managed
+   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+   * to the users. Up to ten admin users can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + java.util.List + getAdminUsersOrBuilderList(); + /** + *
+   * Optional. Users that can perform operations as a cluster admin. A managed
+   * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
+   * to the users. Up to ten admin users can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder getAdminUsersOrBuilder( + int index); + + /** + *
+   * Optional. Groups of users that can perform operations as a cluster admin. A
+   * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+   * ClusterRole to the groups. Up to ten admin groups can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + java.util.List + getAdminGroupsList(); + /** + *
+   * Optional. Groups of users that can perform operations as a cluster admin. A
+   * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+   * ClusterRole to the groups. Up to ten admin groups can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.cloud.gkemulticloud.v1.AzureClusterGroup getAdminGroups(int index); + /** + *
+   * Optional. Groups of users that can perform operations as a cluster admin. A
+   * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+   * ClusterRole to the groups. Up to ten admin groups can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + int getAdminGroupsCount(); + /** + *
+   * Optional. Groups of users that can perform operations as a cluster admin. A
+   * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+   * ClusterRole to the groups. Up to ten admin groups can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + java.util.List + getAdminGroupsOrBuilderList(); + /** + *
+   * Optional. Groups of users that can perform operations as a cluster admin. A
+   * managed ClusterRoleBinding will be created to grant the `cluster-admin`
+   * ClusterRole to the groups. Up to ten admin groups can be provided.
+   *
+   * For more info on RBAC, see
+   * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.cloud.gkemulticloud.v1.AzureClusterGroupOrBuilder getAdminGroupsOrBuilder( + int index); +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClient.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClient.java similarity index 70% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClient.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClient.java index 6a9a885ef19b..75837189c5ac 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClient.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClient.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * `AzureClient` resources hold client authentication information needed by the
  * Anthos Multi-Cloud API to manage Azure resources on your Azure subscription.
@@ -38,16 +21,15 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureClient}
  */
-public final class AzureClient extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AzureClient extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureClient)
     AzureClientOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AzureClient.newBuilder() to construct.
   private AzureClient(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AzureClient() {
     name_ = "";
     tenantId_ = "";
@@ -58,43 +40,40 @@ private AzureClient() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AzureClient();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-        .internal_static_google_cloud_gkemulticloud_v1_AzureClient_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClient_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 8:
         return internalGetAnnotations();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-        .internal_static_google_cloud_gkemulticloud_v1_AzureClient_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClient_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.AzureClient.class,
-            com.google.cloud.gkemulticloud.v1.AzureClient.Builder.class);
+            com.google.cloud.gkemulticloud.v1.AzureClient.class, com.google.cloud.gkemulticloud.v1.AzureClient.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The name of this resource.
    *
@@ -106,7 +85,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -115,15 +93,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of this resource.
    *
@@ -135,15 +112,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -152,18 +130,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int TENANT_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object tenantId_ = ""; /** - * - * *
    * Required. The Azure Active Directory Tenant ID.
    * 
* * string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tenantId. */ @java.lang.Override @@ -172,29 +146,29 @@ public java.lang.String getTenantId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tenantId_ = s; return s; } } /** - * - * *
    * Required. The Azure Active Directory Tenant ID.
    * 
* * string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tenantId. */ @java.lang.Override - public com.google.protobuf.ByteString getTenantIdBytes() { + public com.google.protobuf.ByteString + getTenantIdBytes() { java.lang.Object ref = tenantId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tenantId_ = b; return b; } else { @@ -203,18 +177,14 @@ public com.google.protobuf.ByteString getTenantIdBytes() { } public static final int APPLICATION_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object applicationId_ = ""; /** - * - * *
    * Required. The Azure Active Directory Application ID.
    * 
* * string application_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The applicationId. */ @java.lang.Override @@ -223,29 +193,29 @@ public java.lang.String getApplicationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); applicationId_ = s; return s; } } /** - * - * *
    * Required. The Azure Active Directory Application ID.
    * 
* * string application_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for applicationId. */ @java.lang.Override - public com.google.protobuf.ByteString getApplicationIdBytes() { + public com.google.protobuf.ByteString + getApplicationIdBytes() { java.lang.Object ref = applicationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); applicationId_ = b; return b; } else { @@ -256,14 +226,11 @@ public com.google.protobuf.ByteString getApplicationIdBytes() { public static final int RECONCILING_FIELD_NUMBER = 9; private boolean reconciling_ = false; /** - * - * *
    * Output only. If set, there are currently pending changes to the client.
    * 
* * bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -272,35 +239,32 @@ public boolean getReconciling() { } public static final int ANNOTATIONS_FIELD_NUMBER = 8; - private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureClient_AnnotationsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClient_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } - public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
    * Optional. Annotations on the resource.
    *
@@ -313,25 +277,23 @@ public int getAnnotationsCount() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetAnnotations().getMap().containsKey(key); } - /** Use {@link #getAnnotationsMap()} instead. */ + /** + * Use {@link #getAnnotationsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** - * - * *
    * Optional. Annotations on the resource.
    *
@@ -344,16 +306,13 @@ public java.util.Map getAnnotations() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** - * - * *
    * Optional. Annotations on the resource.
    *
@@ -366,23 +325,20 @@ public java.util.Map getAnnotationsMap() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getAnnotationsOrDefault( + public /* nullable */ +java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Optional. Annotations on the resource.
    *
@@ -395,15 +351,14 @@ public java.util.Map getAnnotationsMap() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + public java.lang.String getAnnotationsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -411,18 +366,14 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) { } public static final int PEM_CERTIFICATE_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object pemCertificate_ = ""; /** - * - * *
    * Output only. The PEM encoded x509 certificate.
    * 
* * string pem_certificate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The pemCertificate. */ @java.lang.Override @@ -431,29 +382,29 @@ public java.lang.String getPemCertificate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pemCertificate_ = s; return s; } } /** - * - * *
    * Output only. The PEM encoded x509 certificate.
    * 
* * string pem_certificate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for pemCertificate. */ @java.lang.Override - public com.google.protobuf.ByteString getPemCertificateBytes() { + public com.google.protobuf.ByteString + getPemCertificateBytes() { java.lang.Object ref = pemCertificate_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pemCertificate_ = b; return b; } else { @@ -462,18 +413,14 @@ public com.google.protobuf.ByteString getPemCertificateBytes() { } public static final int UID_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** - * - * *
    * Output only. A globally unique identifier for the client.
    * 
* * string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -482,29 +429,29 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** - * - * *
    * Output only. A globally unique identifier for the client.
    * 
* * string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -515,15 +462,11 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time at which this resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -531,15 +474,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time at which this resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -547,14 +486,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time at which this resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -564,15 +500,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The time at which this client was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -580,15 +512,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The time at which this client was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -596,14 +524,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The time at which this client was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -611,7 +536,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -623,7 +547,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -642,8 +567,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pemCertificate_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, pemCertificate_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 8); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetAnnotations(), + AnnotationsDefaultEntryHolder.defaultEntry, + 8); if (reconciling_ != false) { output.writeBool(9, reconciling_); } @@ -672,26 +601,29 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, uid_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getCreateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pemCertificate_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, pemCertificate_); } - for (java.util.Map.Entry entry : - internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry annotations__ = - AnnotationsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, annotations__); + for (java.util.Map.Entry entry + : internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry + annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, annotations__); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, reconciling_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(9, reconciling_); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getUpdateTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -701,28 +633,36 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureClient)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureClient other = - (com.google.cloud.gkemulticloud.v1.AzureClient) obj; - - if (!getName().equals(other.getName())) return false; - if (!getTenantId().equals(other.getTenantId())) return false; - if (!getApplicationId().equals(other.getApplicationId())) return false; - if (getReconciling() != other.getReconciling()) return false; - if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; - if (!getPemCertificate().equals(other.getPemCertificate())) return false; - if (!getUid().equals(other.getUid())) return false; + com.google.cloud.gkemulticloud.v1.AzureClient other = (com.google.cloud.gkemulticloud.v1.AzureClient) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getTenantId() + .equals(other.getTenantId())) return false; + if (!getApplicationId() + .equals(other.getApplicationId())) return false; + if (getReconciling() + != other.getReconciling()) return false; + if (!internalGetAnnotations().equals( + other.internalGetAnnotations())) return false; + if (!getPemCertificate() + .equals(other.getPemCertificate())) return false; + if (!getUid() + .equals(other.getUid())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -742,7 +682,8 @@ public int hashCode() { hash = (37 * hash) + APPLICATION_ID_FIELD_NUMBER; hash = (53 * hash) + getApplicationId().hashCode(); hash = (37 * hash) + RECONCILING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReconciling()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReconciling()); if (!internalGetAnnotations().getMap().isEmpty()) { hash = (37 * hash) + ANNOTATIONS_FIELD_NUMBER; hash = (53 * hash) + internalGetAnnotations().hashCode(); @@ -764,104 +705,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.gkemulticloud.v1.AzureClient parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.gkemulticloud.v1.AzureClient parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureClient parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureClient parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureClient parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureClient parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureClient parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureClient parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureClient parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureClient parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureClient parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureClient parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureClient parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureClient parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureClient prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `AzureClient` resources hold client authentication information needed by the
    * Anthos Multi-Cloud API to manage Azure resources on your Azure subscription.
@@ -879,52 +815,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureClient}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureClient)
       com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AzureClient_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClient_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 8:
           return internalGetAnnotations();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 8:
           return internalGetMutableAnnotations();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AzureClient_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClient_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.AzureClient.class,
-              com.google.cloud.gkemulticloud.v1.AzureClient.Builder.class);
+              com.google.cloud.gkemulticloud.v1.AzureClient.class, com.google.cloud.gkemulticloud.v1.AzureClient.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.AzureClient.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -950,9 +889,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AzureClient_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClient_descriptor;
     }
 
     @java.lang.Override
@@ -971,11 +910,8 @@ public com.google.cloud.gkemulticloud.v1.AzureClient build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.AzureClient buildPartial() {
-      com.google.cloud.gkemulticloud.v1.AzureClient result =
-          new com.google.cloud.gkemulticloud.v1.AzureClient(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.gkemulticloud.v1.AzureClient result = new com.google.cloud.gkemulticloud.v1.AzureClient(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -1005,10 +941,14 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureClient result)
         result.uid_ = uid_;
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null
+            ? createTime_
+            : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000100) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null
+            ? updateTime_
+            : updateTimeBuilder_.build();
       }
     }
 
@@ -1016,39 +956,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureClient result)
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.AzureClient) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureClient) other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureClient)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1075,7 +1014,8 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureClient other) {
       if (other.getReconciling() != false) {
         setReconciling(other.getReconciling());
       }
-      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
+      internalGetMutableAnnotations().mergeFrom(
+          other.internalGetAnnotations());
       bitField0_ |= 0x00000010;
       if (!other.getPemCertificate().isEmpty()) {
         pemCertificate_ = other.pemCertificate_;
@@ -1119,73 +1059,65 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                tenantId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                applicationId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 42:
-              {
-                uid_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 50
-            case 58:
-              {
-                pemCertificate_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 58
-            case 66:
-              {
-                com.google.protobuf.MapEntry annotations__ =
-                    input.readMessage(
-                        AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableAnnotations()
-                    .getMutableMap()
-                    .put(annotations__.getKey(), annotations__.getValue());
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 66
-            case 72:
-              {
-                reconciling_ = input.readBool();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 72
-            case 82:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000100;
-                break;
-              } // case 82
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              tenantId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              applicationId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 42: {
+              uid_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 50
+            case 58: {
+              pemCertificate_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 58
+            case 66: {
+              com.google.protobuf.MapEntry
+              annotations__ = input.readMessage(
+                  AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableAnnotations().getMutableMap().put(
+                  annotations__.getKey(), annotations__.getValue());
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 66
+            case 72: {
+              reconciling_ = input.readBool();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 72
+            case 82: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000100;
+              break;
+            } // case 82
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1195,13 +1127,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of this resource.
      *
@@ -1213,13 +1142,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1228,8 +1157,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of this resource.
      *
@@ -1241,14 +1168,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1256,8 +1184,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of this resource.
      *
@@ -1269,22 +1195,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of this resource.
      *
@@ -1296,7 +1218,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1306,8 +1227,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The name of this resource.
      *
@@ -1319,14 +1238,12 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1336,20 +1253,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object tenantId_ = ""; /** - * - * *
      * Required. The Azure Active Directory Tenant ID.
      * 
* * string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tenantId. */ public java.lang.String getTenantId() { java.lang.Object ref = tenantId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tenantId_ = s; return s; @@ -1358,21 +1273,20 @@ public java.lang.String getTenantId() { } } /** - * - * *
      * Required. The Azure Active Directory Tenant ID.
      * 
* * string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tenantId. */ - public com.google.protobuf.ByteString getTenantIdBytes() { + public com.google.protobuf.ByteString + getTenantIdBytes() { java.lang.Object ref = tenantId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tenantId_ = b; return b; } else { @@ -1380,35 +1294,28 @@ public com.google.protobuf.ByteString getTenantIdBytes() { } } /** - * - * *
      * Required. The Azure Active Directory Tenant ID.
      * 
* * string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The tenantId to set. * @return This builder for chaining. */ - public Builder setTenantId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTenantId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tenantId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The Azure Active Directory Tenant ID.
      * 
* * string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTenantId() { @@ -1418,21 +1325,17 @@ public Builder clearTenantId() { return this; } /** - * - * *
      * Required. The Azure Active Directory Tenant ID.
      * 
* * string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for tenantId to set. * @return This builder for chaining. */ - public Builder setTenantIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTenantIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tenantId_ = value; bitField0_ |= 0x00000002; @@ -1442,20 +1345,18 @@ public Builder setTenantIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object applicationId_ = ""; /** - * - * *
      * Required. The Azure Active Directory Application ID.
      * 
* * string application_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The applicationId. */ public java.lang.String getApplicationId() { java.lang.Object ref = applicationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); applicationId_ = s; return s; @@ -1464,21 +1365,20 @@ public java.lang.String getApplicationId() { } } /** - * - * *
      * Required. The Azure Active Directory Application ID.
      * 
* * string application_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for applicationId. */ - public com.google.protobuf.ByteString getApplicationIdBytes() { + public com.google.protobuf.ByteString + getApplicationIdBytes() { java.lang.Object ref = applicationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); applicationId_ = b; return b; } else { @@ -1486,35 +1386,28 @@ public com.google.protobuf.ByteString getApplicationIdBytes() { } } /** - * - * *
      * Required. The Azure Active Directory Application ID.
      * 
* * string application_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The applicationId to set. * @return This builder for chaining. */ - public Builder setApplicationId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setApplicationId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } applicationId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The Azure Active Directory Application ID.
      * 
* * string application_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearApplicationId() { @@ -1524,21 +1417,17 @@ public Builder clearApplicationId() { return this; } /** - * - * *
      * Required. The Azure Active Directory Application ID.
      * 
* * string application_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for applicationId to set. * @return This builder for chaining. */ - public Builder setApplicationIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setApplicationIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); applicationId_ = value; bitField0_ |= 0x00000004; @@ -1546,16 +1435,13 @@ public Builder setApplicationIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean reconciling_; + private boolean reconciling_ ; /** - * - * *
      * Output only. If set, there are currently pending changes to the client.
      * 
* * bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -1563,14 +1449,11 @@ public boolean getReconciling() { return reconciling_; } /** - * - * *
      * Output only. If set, there are currently pending changes to the client.
      * 
* * bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The reconciling to set. * @return This builder for chaining. */ @@ -1582,14 +1465,11 @@ public Builder setReconciling(boolean value) { return this; } /** - * - * *
      * Output only. If set, there are currently pending changes to the client.
      * 
* * bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -1599,8 +1479,8 @@ public Builder clearReconciling() { return this; } - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -1609,12 +1489,11 @@ public Builder clearReconciling() { } return annotations_; } - private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = - com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -1623,13 +1502,10 @@ public Builder clearReconciling() { onChanged(); return annotations_; } - public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
      * Optional. Annotations on the resource.
      *
@@ -1642,25 +1518,23 @@ public int getAnnotationsCount() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetAnnotations().getMap().containsKey(key); } - /** Use {@link #getAnnotationsMap()} instead. */ + /** + * Use {@link #getAnnotationsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** - * - * *
      * Optional. Annotations on the resource.
      *
@@ -1673,16 +1547,13 @@ public java.util.Map getAnnotations() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** - * - * *
      * Optional. Annotations on the resource.
      *
@@ -1695,23 +1566,20 @@ public java.util.Map getAnnotationsMap() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getAnnotationsOrDefault( + public /* nullable */ +java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Optional. Annotations on the resource.
      *
@@ -1724,29 +1592,26 @@ public java.util.Map getAnnotationsMap() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + public java.lang.String getAnnotationsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearAnnotations() { bitField0_ = (bitField0_ & ~0x00000010); - internalGetMutableAnnotations().getMutableMap().clear(); + internalGetMutableAnnotations().getMutableMap() + .clear(); return this; } /** - * - * *
      * Optional. Annotations on the resource.
      *
@@ -1759,25 +1624,25 @@ public Builder clearAnnotations() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableAnnotations().getMutableMap().remove(key); + public Builder removeAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableAnnotations().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableAnnotations() { + public java.util.Map + getMutableAnnotations() { bitField0_ |= 0x00000010; return internalGetMutableAnnotations().getMutableMap(); } /** - * - * *
      * Optional. Annotations on the resource.
      *
@@ -1790,23 +1655,19 @@ public java.util.Map getMutableAnnotations()
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAnnotations(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableAnnotations().getMutableMap().put(key, value); + public Builder putAnnotations( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableAnnotations().getMutableMap() + .put(key, value); bitField0_ |= 0x00000010; return this; } /** - * - * *
      * Optional. Annotations on the resource.
      *
@@ -1819,31 +1680,30 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAllAnnotations(java.util.Map values) { - internalGetMutableAnnotations().getMutableMap().putAll(values); + public Builder putAllAnnotations( + java.util.Map values) { + internalGetMutableAnnotations().getMutableMap() + .putAll(values); bitField0_ |= 0x00000010; return this; } private java.lang.Object pemCertificate_ = ""; /** - * - * *
      * Output only. The PEM encoded x509 certificate.
      * 
* * string pem_certificate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The pemCertificate. */ public java.lang.String getPemCertificate() { java.lang.Object ref = pemCertificate_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pemCertificate_ = s; return s; @@ -1852,21 +1712,20 @@ public java.lang.String getPemCertificate() { } } /** - * - * *
      * Output only. The PEM encoded x509 certificate.
      * 
* * string pem_certificate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for pemCertificate. */ - public com.google.protobuf.ByteString getPemCertificateBytes() { + public com.google.protobuf.ByteString + getPemCertificateBytes() { java.lang.Object ref = pemCertificate_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pemCertificate_ = b; return b; } else { @@ -1874,35 +1733,28 @@ public com.google.protobuf.ByteString getPemCertificateBytes() { } } /** - * - * *
      * Output only. The PEM encoded x509 certificate.
      * 
* * string pem_certificate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The pemCertificate to set. * @return This builder for chaining. */ - public Builder setPemCertificate(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPemCertificate( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pemCertificate_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Output only. The PEM encoded x509 certificate.
      * 
* * string pem_certificate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPemCertificate() { @@ -1912,21 +1764,17 @@ public Builder clearPemCertificate() { return this; } /** - * - * *
      * Output only. The PEM encoded x509 certificate.
      * 
* * string pem_certificate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for pemCertificate to set. * @return This builder for chaining. */ - public Builder setPemCertificateBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPemCertificateBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pemCertificate_ = value; bitField0_ |= 0x00000020; @@ -1936,20 +1784,18 @@ public Builder setPemCertificateBytes(com.google.protobuf.ByteString value) { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. A globally unique identifier for the client.
      * 
* * string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -1958,21 +1804,20 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. A globally unique identifier for the client.
      * 
* * string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -1980,35 +1825,28 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. A globally unique identifier for the client.
      * 
* * string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uid_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Output only. A globally unique identifier for the client.
      * 
* * string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { @@ -2018,21 +1856,17 @@ public Builder clearUid() { return this; } /** - * - * *
      * Output only. A globally unique identifier for the client.
      * 
* * string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000040; @@ -2042,58 +1876,39 @@ public Builder setUidBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time at which this resource was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * Output only. The time at which this resource was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which this resource was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2109,17 +1924,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this resource was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -2130,21 +1942,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time at which this resource was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -2157,15 +1965,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this resource was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000080); @@ -2178,15 +1982,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time at which this resource was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000080; @@ -2194,48 +1994,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which this resource was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time at which this resource was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2243,58 +2031,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The time at which this client was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000100) != 0); } /** - * - * *
      * Output only. The time at which this client was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which this client was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2310,17 +2079,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this client was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -2331,21 +2097,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time at which this client was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -2358,15 +2120,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this client was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000100); @@ -2379,15 +2137,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The time at which this client was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000100; @@ -2395,55 +2149,43 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which this client was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The time at which this client was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2453,12 +2195,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureClient) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureClient) private static final com.google.cloud.gkemulticloud.v1.AzureClient DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureClient(); } @@ -2467,27 +2209,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureClient getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureClient parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureClient parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2502,4 +2244,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureClient getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientName.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientName.java similarity index 100% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientName.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientName.java diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientOrBuilder.java similarity index 78% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientOrBuilder.java index 31635204293e..10dd1d8dacce 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureClientOrBuilder - extends +public interface AzureClientOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureClient) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of this resource.
    *
@@ -37,13 +19,10 @@ public interface AzureClientOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of this resource.
    *
@@ -55,77 +34,62 @@ public interface AzureClientOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The Azure Active Directory Tenant ID.
    * 
* * string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tenantId. */ java.lang.String getTenantId(); /** - * - * *
    * Required. The Azure Active Directory Tenant ID.
    * 
* * string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tenantId. */ - com.google.protobuf.ByteString getTenantIdBytes(); + com.google.protobuf.ByteString + getTenantIdBytes(); /** - * - * *
    * Required. The Azure Active Directory Application ID.
    * 
* * string application_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The applicationId. */ java.lang.String getApplicationId(); /** - * - * *
    * Required. The Azure Active Directory Application ID.
    * 
* * string application_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for applicationId. */ - com.google.protobuf.ByteString getApplicationIdBytes(); + com.google.protobuf.ByteString + getApplicationIdBytes(); /** - * - * *
    * Output only. If set, there are currently pending changes to the client.
    * 
* * bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ boolean getReconciling(); /** - * - * *
    * Optional. Annotations on the resource.
    *
@@ -138,13 +102,10 @@ public interface AzureClientOrBuilder
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; */ int getAnnotationsCount(); /** - * - * *
    * Optional. Annotations on the resource.
    *
@@ -157,16 +118,17 @@ public interface AzureClientOrBuilder
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; + */ + boolean containsAnnotations( + java.lang.String key); + /** + * Use {@link #getAnnotationsMap()} instead. */ - boolean containsAnnotations(java.lang.String key); - /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Deprecated - java.util.Map getAnnotations(); + java.util.Map + getAnnotations(); /** - * - * *
    * Optional. Annotations on the resource.
    *
@@ -179,13 +141,11 @@ public interface AzureClientOrBuilder
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map getAnnotationsMap(); + java.util.Map + getAnnotationsMap(); /** - * - * *
    * Optional. Annotations on the resource.
    *
@@ -198,17 +158,14 @@ public interface AzureClientOrBuilder
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ - java.lang.String getAnnotationsOrDefault( +java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Optional. Annotations on the resource.
    *
@@ -221,134 +178,102 @@ java.lang.String getAnnotationsOrDefault(
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getAnnotationsOrThrow(java.lang.String key); + java.lang.String getAnnotationsOrThrow( + java.lang.String key); /** - * - * *
    * Output only. The PEM encoded x509 certificate.
    * 
* * string pem_certificate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The pemCertificate. */ java.lang.String getPemCertificate(); /** - * - * *
    * Output only. The PEM encoded x509 certificate.
    * 
* * string pem_certificate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for pemCertificate. */ - com.google.protobuf.ByteString getPemCertificateBytes(); + com.google.protobuf.ByteString + getPemCertificateBytes(); /** - * - * *
    * Output only. A globally unique identifier for the client.
    * 
* * string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. A globally unique identifier for the client.
    * 
* * string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Output only. The time at which this resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time at which this resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time at which this resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time at which this client was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The time at which this client was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The time at which this client was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureCluster.java similarity index 65% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureCluster.java index 97536eac5cfb..2f4578c8e281 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureCluster.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureCluster.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * An Anthos cluster running on Azure.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureCluster} */ -public final class AzureCluster extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AzureCluster extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureCluster) AzureClusterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AzureCluster.newBuilder() to construct. private AzureCluster(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AzureCluster() { name_ = ""; description_ = ""; @@ -53,49 +35,46 @@ private AzureCluster() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AzureCluster(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureCluster_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureCluster_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 14: return internalGetAnnotations(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureCluster_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureCluster_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureCluster.class, - com.google.cloud.gkemulticloud.v1.AzureCluster.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureCluster.class, com.google.cloud.gkemulticloud.v1.AzureCluster.Builder.class); } /** - * - * *
    * The lifecycle state of the cluster.
    * 
* * Protobuf enum {@code google.cloud.gkemulticloud.v1.AzureCluster.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not set.
      * 
@@ -104,8 +83,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The PROVISIONING state indicates the cluster is being created.
      * 
@@ -114,8 +91,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PROVISIONING(1), /** - * - * *
      * The RUNNING state indicates the cluster has been created and is fully
      * usable.
@@ -125,8 +100,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     RUNNING(2),
     /**
-     *
-     *
      * 
      * The RECONCILING state indicates that some work is actively being done on
      * the cluster, such as upgrading the control plane replicas.
@@ -136,8 +109,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     RECONCILING(3),
     /**
-     *
-     *
      * 
      * The STOPPING state indicates the cluster is being deleted.
      * 
@@ -146,8 +117,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STOPPING(4), /** - * - * *
      * The ERROR state indicates the cluster is in a broken unrecoverable
      * state.
@@ -157,8 +126,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     ERROR(5),
     /**
-     *
-     *
      * 
      * The DEGRADED state indicates the cluster requires user action to
      * restore full functionality.
@@ -171,8 +138,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not set.
      * 
@@ -181,8 +146,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The PROVISIONING state indicates the cluster is being created.
      * 
@@ -191,8 +154,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROVISIONING_VALUE = 1; /** - * - * *
      * The RUNNING state indicates the cluster has been created and is fully
      * usable.
@@ -202,8 +163,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RUNNING_VALUE = 2;
     /**
-     *
-     *
      * 
      * The RECONCILING state indicates that some work is actively being done on
      * the cluster, such as upgrading the control plane replicas.
@@ -213,8 +172,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RECONCILING_VALUE = 3;
     /**
-     *
-     *
      * 
      * The STOPPING state indicates the cluster is being deleted.
      * 
@@ -223,8 +180,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STOPPING_VALUE = 4; /** - * - * *
      * The ERROR state indicates the cluster is in a broken unrecoverable
      * state.
@@ -234,8 +189,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ERROR_VALUE = 5;
     /**
-     *
-     *
      * 
      * The DEGRADED state indicates the cluster requires user action to
      * restore full functionality.
@@ -245,6 +198,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DEGRADED_VALUE = 6;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -269,57 +223,53 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return PROVISIONING;
-        case 2:
-          return RUNNING;
-        case 3:
-          return RECONCILING;
-        case 4:
-          return STOPPING;
-        case 5:
-          return ERROR;
-        case 6:
-          return DEGRADED;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return PROVISIONING;
+        case 2: return RUNNING;
+        case 3: return RECONCILING;
+        case 4: return STOPPING;
+        case 5: return ERROR;
+        case 6: return DEGRADED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.gkemulticloud.v1.AzureCluster.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -337,12 +287,9 @@ private State(int value) {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The name of this resource.
    *
@@ -354,7 +301,6 @@ private State(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -363,15 +309,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of this resource.
    *
@@ -383,15 +328,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -400,19 +346,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Optional. A human readable description of this cluster.
    * Cannot be longer than 255 UTF-8 encoded bytes.
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -421,30 +363,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Optional. A human readable description of this cluster.
    * Cannot be longer than 255 UTF-8 encoded bytes.
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -453,12 +395,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int AZURE_REGION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object azureRegion_ = ""; /** - * - * *
    * Required. The Azure region where the cluster runs.
    *
@@ -469,7 +408,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
    * 
* * string azure_region = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The azureRegion. */ @java.lang.Override @@ -478,15 +416,14 @@ public java.lang.String getAzureRegion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureRegion_ = s; return s; } } /** - * - * *
    * Required. The Azure region where the cluster runs.
    *
@@ -497,15 +434,16 @@ public java.lang.String getAzureRegion() {
    * 
* * string azure_region = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for azureRegion. */ @java.lang.Override - public com.google.protobuf.ByteString getAzureRegionBytes() { + public com.google.protobuf.ByteString + getAzureRegionBytes() { java.lang.Object ref = azureRegion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); azureRegion_ = b; return b; } else { @@ -514,12 +452,9 @@ public com.google.protobuf.ByteString getAzureRegionBytes() { } public static final int RESOURCE_GROUP_ID_FIELD_NUMBER = 17; - @SuppressWarnings("serial") private volatile java.lang.Object resourceGroupId_ = ""; /** - * - * *
    * Required. The ARM ID of the resource group where the cluster resources are
    * deployed. For example:
@@ -527,7 +462,6 @@ public com.google.protobuf.ByteString getAzureRegionBytes() {
    * 
* * string resource_group_id = 17 [(.google.api.field_behavior) = REQUIRED]; - * * @return The resourceGroupId. */ @java.lang.Override @@ -536,15 +470,14 @@ public java.lang.String getResourceGroupId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceGroupId_ = s; return s; } } /** - * - * *
    * Required. The ARM ID of the resource group where the cluster resources are
    * deployed. For example:
@@ -552,15 +485,16 @@ public java.lang.String getResourceGroupId() {
    * 
* * string resource_group_id = 17 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for resourceGroupId. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceGroupIdBytes() { + public com.google.protobuf.ByteString + getResourceGroupIdBytes() { java.lang.Object ref = resourceGroupId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceGroupId_ = b; return b; } else { @@ -569,18 +503,17 @@ public com.google.protobuf.ByteString getResourceGroupIdBytes() { } public static final int AZURE_CLIENT_FIELD_NUMBER = 16; - @SuppressWarnings("serial") private volatile java.lang.Object azureClient_ = ""; /** - * - * *
    * Optional. Name of the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains
    * authentication configuration for how the Anthos Multi-Cloud API connects to
    * Azure APIs.
    *
+   * Either azure_client or azure_services_authentication should be provided.
+   *
    * The `AzureClient` resource must reside on the same Google Cloud Platform
    * project and region as the `AzureCluster`.
    *
@@ -592,7 +525,6 @@ public com.google.protobuf.ByteString getResourceGroupIdBytes() {
    * 
* * string azure_client = 16 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The azureClient. */ @java.lang.Override @@ -601,21 +533,22 @@ public java.lang.String getAzureClient() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureClient_ = s; return s; } } /** - * - * *
    * Optional. Name of the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains
    * authentication configuration for how the Anthos Multi-Cloud API connects to
    * Azure APIs.
    *
+   * Either azure_client or azure_services_authentication should be provided.
+   *
    * The `AzureClient` resource must reside on the same Google Cloud Platform
    * project and region as the `AzureCluster`.
    *
@@ -627,15 +560,16 @@ public java.lang.String getAzureClient() {
    * 
* * string azure_client = 16 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for azureClient. */ @java.lang.Override - public com.google.protobuf.ByteString getAzureClientBytes() { + public com.google.protobuf.ByteString + getAzureClientBytes() { java.lang.Object ref = azureClient_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); azureClient_ = b; return b; } else { @@ -646,16 +580,11 @@ public com.google.protobuf.ByteString getAzureClientBytes() { public static final int NETWORKING_FIELD_NUMBER = 4; private com.google.cloud.gkemulticloud.v1.AzureClusterNetworking networking_; /** - * - * *
    * Required. Cluster-wide networking configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the networking field is set. */ @java.lang.Override @@ -663,56 +592,37 @@ public boolean hasNetworking() { return networking_ != null; } /** - * - * *
    * Required. Cluster-wide networking configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The networking. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureClusterNetworking getNetworking() { - return networking_ == null - ? com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.getDefaultInstance() - : networking_; + return networking_ == null ? com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.getDefaultInstance() : networking_; } /** - * - * *
    * Required. Cluster-wide networking configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AzureClusterNetworkingOrBuilder - getNetworkingOrBuilder() { - return networking_ == null - ? com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.getDefaultInstance() - : networking_; + public com.google.cloud.gkemulticloud.v1.AzureClusterNetworkingOrBuilder getNetworkingOrBuilder() { + return networking_ == null ? com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.getDefaultInstance() : networking_; } public static final int CONTROL_PLANE_FIELD_NUMBER = 5; private com.google.cloud.gkemulticloud.v1.AzureControlPlane controlPlane_; /** - * - * *
    * Required. Configuration related to the cluster control plane.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the controlPlane field is set. */ @java.lang.Override @@ -720,55 +630,37 @@ public boolean hasControlPlane() { return controlPlane_ != null; } /** - * - * *
    * Required. Configuration related to the cluster control plane.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The controlPlane. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureControlPlane getControlPlane() { - return controlPlane_ == null - ? com.google.cloud.gkemulticloud.v1.AzureControlPlane.getDefaultInstance() - : controlPlane_; + return controlPlane_ == null ? com.google.cloud.gkemulticloud.v1.AzureControlPlane.getDefaultInstance() : controlPlane_; } /** - * - * *
    * Required. Configuration related to the cluster control plane.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureControlPlaneOrBuilder getControlPlaneOrBuilder() { - return controlPlane_ == null - ? com.google.cloud.gkemulticloud.v1.AzureControlPlane.getDefaultInstance() - : controlPlane_; + return controlPlane_ == null ? com.google.cloud.gkemulticloud.v1.AzureControlPlane.getDefaultInstance() : controlPlane_; } public static final int AUTHORIZATION_FIELD_NUMBER = 6; private com.google.cloud.gkemulticloud.v1.AzureAuthorization authorization_; /** - * - * *
    * Required. Configuration related to the cluster RBAC settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the authorization field is set. */ @java.lang.Override @@ -776,56 +668,39 @@ public boolean hasAuthorization() { return authorization_ != null; } /** - * - * *
    * Required. Configuration related to the cluster RBAC settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The authorization. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureAuthorization getAuthorization() { - return authorization_ == null - ? com.google.cloud.gkemulticloud.v1.AzureAuthorization.getDefaultInstance() - : authorization_; + return authorization_ == null ? com.google.cloud.gkemulticloud.v1.AzureAuthorization.getDefaultInstance() : authorization_; } /** - * - * *
    * Required. Configuration related to the cluster RBAC settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureAuthorizationOrBuilder getAuthorizationOrBuilder() { - return authorization_ == null - ? com.google.cloud.gkemulticloud.v1.AzureAuthorization.getDefaultInstance() - : authorization_; + return authorization_ == null ? com.google.cloud.gkemulticloud.v1.AzureAuthorization.getDefaultInstance() : authorization_; } public static final int AZURE_SERVICES_AUTHENTICATION_FIELD_NUMBER = 22; - private com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication - azureServicesAuthentication_; + private com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication azureServicesAuthentication_; /** - * - * *
    * Optional. Authentication configuration for management of Azure resources.
-   * 
* - * - * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; - * + * Either azure_client or azure_services_authentication should be provided. + *
* + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the azureServicesAuthentication field is set. */ @java.lang.Override @@ -833,98 +708,68 @@ public boolean hasAzureServicesAuthentication() { return azureServicesAuthentication_ != null; } /** - * - * *
    * Optional. Authentication configuration for management of Azure resources.
-   * 
* - * - * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; - * + * Either azure_client or azure_services_authentication should be provided. + *
* + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; * @return The azureServicesAuthentication. */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication - getAzureServicesAuthentication() { - return azureServicesAuthentication_ == null - ? com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.getDefaultInstance() - : azureServicesAuthentication_; + public com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication getAzureServicesAuthentication() { + return azureServicesAuthentication_ == null ? com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.getDefaultInstance() : azureServicesAuthentication_; } /** - * - * *
    * Optional. Authentication configuration for management of Azure resources.
+   *
+   * Either azure_client or azure_services_authentication should be provided.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder - getAzureServicesAuthenticationOrBuilder() { - return azureServicesAuthentication_ == null - ? com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.getDefaultInstance() - : azureServicesAuthentication_; + public com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder getAzureServicesAuthenticationOrBuilder() { + return azureServicesAuthentication_ == null ? com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.getDefaultInstance() : azureServicesAuthentication_; } public static final int STATE_FIELD_NUMBER = 7; private int state_ = 0; /** - * - * *
    * Output only. The current state of the cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The current state of the cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AzureCluster.State getState() { - com.google.cloud.gkemulticloud.v1.AzureCluster.State result = - com.google.cloud.gkemulticloud.v1.AzureCluster.State.forNumber(state_); - return result == null - ? com.google.cloud.gkemulticloud.v1.AzureCluster.State.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureCluster.State getState() { + com.google.cloud.gkemulticloud.v1.AzureCluster.State result = com.google.cloud.gkemulticloud.v1.AzureCluster.State.forNumber(state_); + return result == null ? com.google.cloud.gkemulticloud.v1.AzureCluster.State.UNRECOGNIZED : result; } public static final int ENDPOINT_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private volatile java.lang.Object endpoint_ = ""; /** - * - * *
    * Output only. The endpoint of the cluster's API server.
    * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The endpoint. */ @java.lang.Override @@ -933,29 +778,29 @@ public java.lang.String getEndpoint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endpoint_ = s; return s; } } /** - * - * *
    * Output only. The endpoint of the cluster's API server.
    * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for endpoint. */ @java.lang.Override - public com.google.protobuf.ByteString getEndpointBytes() { + public com.google.protobuf.ByteString + getEndpointBytes() { java.lang.Object ref = endpoint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); endpoint_ = b; return b; } else { @@ -964,18 +809,14 @@ public com.google.protobuf.ByteString getEndpointBytes() { } public static final int UID_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** - * - * *
    * Output only. A globally unique identifier for the cluster.
    * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -984,29 +825,29 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** - * - * *
    * Output only. A globally unique identifier for the cluster.
    * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -1017,14 +858,11 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int RECONCILING_FIELD_NUMBER = 10; private boolean reconciling_ = false; /** - * - * *
    * Output only. If set, there are currently changes in flight to the cluster.
    * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -1035,15 +873,11 @@ public boolean getReconciling() { public static final int CREATE_TIME_FIELD_NUMBER = 11; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time at which this cluster was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -1051,15 +885,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time at which this cluster was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -1067,14 +897,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time at which this cluster was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -1084,15 +911,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 12; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1100,15 +923,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -1116,14 +935,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -1131,12 +947,9 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int ETAG_FIELD_NUMBER = 13; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -1146,7 +959,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string etag = 13; - * * @return The etag. */ @java.lang.Override @@ -1155,15 +967,14 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -1173,15 +984,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 13; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -1190,35 +1002,32 @@ public com.google.protobuf.ByteString getEtagBytes() { } public static final int ANNOTATIONS_FIELD_NUMBER = 14; - private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureCluster_AnnotationsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureCluster_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } - public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
    * Optional. Annotations on the cluster.
    *
@@ -1231,25 +1040,23 @@ public int getAnnotationsCount() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetAnnotations().getMap().containsKey(key); } - /** Use {@link #getAnnotationsMap()} instead. */ + /** + * Use {@link #getAnnotationsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** - * - * *
    * Optional. Annotations on the cluster.
    *
@@ -1262,16 +1069,13 @@ public java.util.Map getAnnotations() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** - * - * *
    * Optional. Annotations on the cluster.
    *
@@ -1284,23 +1088,20 @@ public java.util.Map getAnnotationsMap() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getAnnotationsOrDefault( + public /* nullable */ +java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Optional. Annotations on the cluster.
    *
@@ -1313,15 +1114,14 @@ public java.util.Map getAnnotationsMap() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + public java.lang.String getAnnotationsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1331,16 +1131,11 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) { public static final int WORKLOAD_IDENTITY_CONFIG_FIELD_NUMBER = 18; private com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workloadIdentityConfig_; /** - * - * *
    * Output only. Workload Identity settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the workloadIdentityConfig field is set. */ @java.lang.Override @@ -1348,56 +1143,38 @@ public boolean hasWorkloadIdentityConfig() { return workloadIdentityConfig_ != null; } /** - * - * *
    * Output only. Workload Identity settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The workloadIdentityConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig getWorkloadIdentityConfig() { - return workloadIdentityConfig_ == null - ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() - : workloadIdentityConfig_; + return workloadIdentityConfig_ == null ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_; } /** - * - * *
    * Output only. Workload Identity settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder - getWorkloadIdentityConfigOrBuilder() { - return workloadIdentityConfig_ == null - ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() - : workloadIdentityConfig_; + public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder() { + return workloadIdentityConfig_ == null ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_; } public static final int CLUSTER_CA_CERTIFICATE_FIELD_NUMBER = 19; - @SuppressWarnings("serial") private volatile java.lang.Object clusterCaCertificate_ = ""; /** - * - * *
    * Output only. PEM encoded x509 certificate of the cluster root of trust.
    * 
* * string cluster_ca_certificate = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The clusterCaCertificate. */ @java.lang.Override @@ -1406,29 +1183,29 @@ public java.lang.String getClusterCaCertificate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterCaCertificate_ = s; return s; } } /** - * - * *
    * Output only. PEM encoded x509 certificate of the cluster root of trust.
    * 
* * string cluster_ca_certificate = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for clusterCaCertificate. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterCaCertificateBytes() { + public com.google.protobuf.ByteString + getClusterCaCertificateBytes() { java.lang.Object ref = clusterCaCertificate_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterCaCertificate_ = b; return b; } else { @@ -1439,16 +1216,11 @@ public com.google.protobuf.ByteString getClusterCaCertificateBytes() { public static final int FLEET_FIELD_NUMBER = 20; private com.google.cloud.gkemulticloud.v1.Fleet fleet_; /** - * - * *
    * Required. Fleet configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the fleet field is set. */ @java.lang.Override @@ -1456,16 +1228,11 @@ public boolean hasFleet() { return fleet_ != null; } /** - * - * *
    * Required. Fleet configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; * @return The fleet. */ @java.lang.Override @@ -1473,15 +1240,11 @@ public com.google.cloud.gkemulticloud.v1.Fleet getFleet() { return fleet_ == null ? com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() : fleet_; } /** - * - * *
    * Required. Fleet configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder() { @@ -1491,16 +1254,11 @@ public com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder() { public static final int MANAGED_RESOURCES_FIELD_NUMBER = 21; private com.google.cloud.gkemulticloud.v1.AzureClusterResources managedResources_; /** - * - * *
    * Output only. Managed Azure resources for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the managedResources field is set. */ @java.lang.Override @@ -1508,56 +1266,37 @@ public boolean hasManagedResources() { return managedResources_ != null; } /** - * - * *
    * Output only. Managed Azure resources for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The managedResources. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureClusterResources getManagedResources() { - return managedResources_ == null - ? com.google.cloud.gkemulticloud.v1.AzureClusterResources.getDefaultInstance() - : managedResources_; + return managedResources_ == null ? com.google.cloud.gkemulticloud.v1.AzureClusterResources.getDefaultInstance() : managedResources_; } /** - * - * *
    * Output only. Managed Azure resources for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AzureClusterResourcesOrBuilder - getManagedResourcesOrBuilder() { - return managedResources_ == null - ? com.google.cloud.gkemulticloud.v1.AzureClusterResources.getDefaultInstance() - : managedResources_; + public com.google.cloud.gkemulticloud.v1.AzureClusterResourcesOrBuilder getManagedResourcesOrBuilder() { + return managedResources_ == null ? com.google.cloud.gkemulticloud.v1.AzureClusterResources.getDefaultInstance() : managedResources_; } public static final int LOGGING_CONFIG_FIELD_NUMBER = 23; private com.google.cloud.gkemulticloud.v1.LoggingConfig loggingConfig_; /** - * - * *
    * Optional. Logging configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the loggingConfig field is set. */ @java.lang.Override @@ -1565,117 +1304,83 @@ public boolean hasLoggingConfig() { return loggingConfig_ != null; } /** - * - * *
    * Optional. Logging configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; * @return The loggingConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.LoggingConfig getLoggingConfig() { - return loggingConfig_ == null - ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() : loggingConfig_; } /** - * - * *
    * Optional. Logging configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder() { - return loggingConfig_ == null - ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() : loggingConfig_; } public static final int ERRORS_FIELD_NUMBER = 24; - @SuppressWarnings("serial") private java.util.List errors_; /** - * - * *
    * Output only. A set of errors found in the cluster.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getErrorsList() { return errors_; } /** - * - * *
    * Output only. A set of errors found in the cluster.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getErrorsOrBuilderList() { return errors_; } /** - * - * *
    * Output only. A set of errors found in the cluster.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** - * - * *
    * Output only. A set of errors found in the cluster.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureClusterError getErrors(int index) { return errors_.get(index); } /** - * - * *
    * Output only. A set of errors found in the cluster.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureClusterErrorOrBuilder getErrorsOrBuilder( @@ -1686,16 +1391,11 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterErrorOrBuilder getErrorsOrB public static final int MONITORING_CONFIG_FIELD_NUMBER = 25; private com.google.cloud.gkemulticloud.v1.MonitoringConfig monitoringConfig_; /** - * - * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the monitoringConfig field is set. */ @java.lang.Override @@ -1703,45 +1403,30 @@ public boolean hasMonitoringConfig() { return monitoringConfig_ != null; } /** - * - * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; * @return The monitoringConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.MonitoringConfig getMonitoringConfig() { - return monitoringConfig_ == null - ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() - : monitoringConfig_; + return monitoringConfig_ == null ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; } /** - * - * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder - getMonitoringConfigOrBuilder() { - return monitoringConfig_ == null - ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() - : monitoringConfig_; + public com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBuilder() { + return monitoringConfig_ == null ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1753,7 +1438,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1772,8 +1458,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (authorization_ != null) { output.writeMessage(6, getAuthorization()); } - if (state_ - != com.google.cloud.gkemulticloud.v1.AzureCluster.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ != com.google.cloud.gkemulticloud.v1.AzureCluster.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(7, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpoint_)) { @@ -1794,8 +1479,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, etag_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 14); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetAnnotations(), + AnnotationsDefaultEntryHolder.defaultEntry, + 14); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(azureClient_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 16, azureClient_); } @@ -1845,17 +1534,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, azureRegion_); } if (networking_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getNetworking()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getNetworking()); } if (controlPlane_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getControlPlane()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getControlPlane()); } if (authorization_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getAuthorization()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getAuthorization()); } - if (state_ - != com.google.cloud.gkemulticloud.v1.AzureCluster.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); + if (state_ != com.google.cloud.gkemulticloud.v1.AzureCluster.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpoint_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, endpoint_); @@ -1864,26 +1556,29 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, uid_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, reconciling_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(10, reconciling_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, etag_); } - for (java.util.Map.Entry entry : - internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry annotations__ = - AnnotationsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, annotations__); + for (java.util.Map.Entry entry + : internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry + annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, annotations__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(azureClient_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, azureClient_); @@ -1892,31 +1587,35 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, resourceGroupId_); } if (workloadIdentityConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(18, getWorkloadIdentityConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, getWorkloadIdentityConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterCaCertificate_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, clusterCaCertificate_); } if (fleet_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getFleet()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(20, getFleet()); } if (managedResources_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getManagedResources()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, getManagedResources()); } if (azureServicesAuthentication_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 22, getAzureServicesAuthentication()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, getAzureServicesAuthentication()); } if (loggingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getLoggingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(23, getLoggingConfig()); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(24, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(24, errors_.get(i)); } if (monitoringConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(25, getMonitoringConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(25, getMonitoringConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1926,71 +1625,92 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureCluster)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureCluster other = - (com.google.cloud.gkemulticloud.v1.AzureCluster) obj; - - if (!getName().equals(other.getName())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getAzureRegion().equals(other.getAzureRegion())) return false; - if (!getResourceGroupId().equals(other.getResourceGroupId())) return false; - if (!getAzureClient().equals(other.getAzureClient())) return false; + com.google.cloud.gkemulticloud.v1.AzureCluster other = (com.google.cloud.gkemulticloud.v1.AzureCluster) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getAzureRegion() + .equals(other.getAzureRegion())) return false; + if (!getResourceGroupId() + .equals(other.getResourceGroupId())) return false; + if (!getAzureClient() + .equals(other.getAzureClient())) return false; if (hasNetworking() != other.hasNetworking()) return false; if (hasNetworking()) { - if (!getNetworking().equals(other.getNetworking())) return false; + if (!getNetworking() + .equals(other.getNetworking())) return false; } if (hasControlPlane() != other.hasControlPlane()) return false; if (hasControlPlane()) { - if (!getControlPlane().equals(other.getControlPlane())) return false; + if (!getControlPlane() + .equals(other.getControlPlane())) return false; } if (hasAuthorization() != other.hasAuthorization()) return false; if (hasAuthorization()) { - if (!getAuthorization().equals(other.getAuthorization())) return false; + if (!getAuthorization() + .equals(other.getAuthorization())) return false; } if (hasAzureServicesAuthentication() != other.hasAzureServicesAuthentication()) return false; if (hasAzureServicesAuthentication()) { - if (!getAzureServicesAuthentication().equals(other.getAzureServicesAuthentication())) - return false; + if (!getAzureServicesAuthentication() + .equals(other.getAzureServicesAuthentication())) return false; } if (state_ != other.state_) return false; - if (!getEndpoint().equals(other.getEndpoint())) return false; - if (!getUid().equals(other.getUid())) return false; - if (getReconciling() != other.getReconciling()) return false; + if (!getEndpoint() + .equals(other.getEndpoint())) return false; + if (!getUid() + .equals(other.getUid())) return false; + if (getReconciling() + != other.getReconciling()) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } - if (!getEtag().equals(other.getEtag())) return false; - if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; + if (!internalGetAnnotations().equals( + other.internalGetAnnotations())) return false; if (hasWorkloadIdentityConfig() != other.hasWorkloadIdentityConfig()) return false; if (hasWorkloadIdentityConfig()) { - if (!getWorkloadIdentityConfig().equals(other.getWorkloadIdentityConfig())) return false; + if (!getWorkloadIdentityConfig() + .equals(other.getWorkloadIdentityConfig())) return false; } - if (!getClusterCaCertificate().equals(other.getClusterCaCertificate())) return false; + if (!getClusterCaCertificate() + .equals(other.getClusterCaCertificate())) return false; if (hasFleet() != other.hasFleet()) return false; if (hasFleet()) { - if (!getFleet().equals(other.getFleet())) return false; + if (!getFleet() + .equals(other.getFleet())) return false; } if (hasManagedResources() != other.hasManagedResources()) return false; if (hasManagedResources()) { - if (!getManagedResources().equals(other.getManagedResources())) return false; + if (!getManagedResources() + .equals(other.getManagedResources())) return false; } if (hasLoggingConfig() != other.hasLoggingConfig()) return false; if (hasLoggingConfig()) { - if (!getLoggingConfig().equals(other.getLoggingConfig())) return false; + if (!getLoggingConfig() + .equals(other.getLoggingConfig())) return false; } - if (!getErrorsList().equals(other.getErrorsList())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; if (hasMonitoringConfig() != other.hasMonitoringConfig()) return false; if (hasMonitoringConfig()) { - if (!getMonitoringConfig().equals(other.getMonitoringConfig())) return false; + if (!getMonitoringConfig() + .equals(other.getMonitoringConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2036,7 +1756,8 @@ public int hashCode() { hash = (37 * hash) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid().hashCode(); hash = (37 * hash) + RECONCILING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReconciling()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReconciling()); if (hasCreateTime()) { hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime().hashCode(); @@ -2082,156 +1803,154 @@ public int hashCode() { return hash; } - public static com.google.cloud.gkemulticloud.v1.AzureCluster parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.gkemulticloud.v1.AzureCluster parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureCluster parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureCluster parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureCluster parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureCluster parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureCluster parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureCluster parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureCluster parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureCluster parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureCluster parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureCluster parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureCluster parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureCluster parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureCluster prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * An Anthos cluster running on Azure.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureCluster} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureCluster) com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureCluster_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureCluster_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 14: return internalGetAnnotations(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 14: return internalGetMutableAnnotations(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureCluster_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureCluster_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureCluster.class, - com.google.cloud.gkemulticloud.v1.AzureCluster.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureCluster.class, com.google.cloud.gkemulticloud.v1.AzureCluster.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AzureCluster.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2314,9 +2033,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureCluster_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureCluster_descriptor; } @java.lang.Override @@ -2335,12 +2054,9 @@ public com.google.cloud.gkemulticloud.v1.AzureCluster build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureCluster buildPartial() { - com.google.cloud.gkemulticloud.v1.AzureCluster result = - new com.google.cloud.gkemulticloud.v1.AzureCluster(this); + com.google.cloud.gkemulticloud.v1.AzureCluster result = new com.google.cloud.gkemulticloud.v1.AzureCluster(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -2375,21 +2091,24 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureCluster result result.azureClient_ = azureClient_; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.networking_ = networkingBuilder_ == null ? networking_ : networkingBuilder_.build(); + result.networking_ = networkingBuilder_ == null + ? networking_ + : networkingBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { - result.controlPlane_ = - controlPlaneBuilder_ == null ? controlPlane_ : controlPlaneBuilder_.build(); + result.controlPlane_ = controlPlaneBuilder_ == null + ? controlPlane_ + : controlPlaneBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { - result.authorization_ = - authorizationBuilder_ == null ? authorization_ : authorizationBuilder_.build(); + result.authorization_ = authorizationBuilder_ == null + ? authorization_ + : authorizationBuilder_.build(); } if (((from_bitField0_ & 0x00000100) != 0)) { - result.azureServicesAuthentication_ = - azureServicesAuthenticationBuilder_ == null - ? azureServicesAuthentication_ - : azureServicesAuthenticationBuilder_.build(); + result.azureServicesAuthentication_ = azureServicesAuthenticationBuilder_ == null + ? azureServicesAuthentication_ + : azureServicesAuthenticationBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { result.state_ = state_; @@ -2404,10 +2123,14 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureCluster result result.reconciling_ = reconciling_; } if (((from_bitField0_ & 0x00002000) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00004000) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00008000) != 0)) { result.etag_ = etag_; @@ -2417,28 +2140,32 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureCluster result result.annotations_.makeImmutable(); } if (((from_bitField0_ & 0x00020000) != 0)) { - result.workloadIdentityConfig_ = - workloadIdentityConfigBuilder_ == null - ? workloadIdentityConfig_ - : workloadIdentityConfigBuilder_.build(); + result.workloadIdentityConfig_ = workloadIdentityConfigBuilder_ == null + ? workloadIdentityConfig_ + : workloadIdentityConfigBuilder_.build(); } if (((from_bitField0_ & 0x00040000) != 0)) { result.clusterCaCertificate_ = clusterCaCertificate_; } if (((from_bitField0_ & 0x00080000) != 0)) { - result.fleet_ = fleetBuilder_ == null ? fleet_ : fleetBuilder_.build(); + result.fleet_ = fleetBuilder_ == null + ? fleet_ + : fleetBuilder_.build(); } if (((from_bitField0_ & 0x00100000) != 0)) { - result.managedResources_ = - managedResourcesBuilder_ == null ? managedResources_ : managedResourcesBuilder_.build(); + result.managedResources_ = managedResourcesBuilder_ == null + ? managedResources_ + : managedResourcesBuilder_.build(); } if (((from_bitField0_ & 0x00200000) != 0)) { - result.loggingConfig_ = - loggingConfigBuilder_ == null ? loggingConfig_ : loggingConfigBuilder_.build(); + result.loggingConfig_ = loggingConfigBuilder_ == null + ? loggingConfig_ + : loggingConfigBuilder_.build(); } if (((from_bitField0_ & 0x00800000) != 0)) { - result.monitoringConfig_ = - monitoringConfigBuilder_ == null ? monitoringConfig_ : monitoringConfigBuilder_.build(); + result.monitoringConfig_ = monitoringConfigBuilder_ == null + ? monitoringConfig_ + : monitoringConfigBuilder_.build(); } } @@ -2446,39 +2173,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureCluster result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AzureCluster) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureCluster) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureCluster)other); } else { super.mergeFrom(other); return this; @@ -2551,7 +2277,8 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureCluster other) { bitField0_ |= 0x00008000; onChanged(); } - internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); + internalGetMutableAnnotations().mergeFrom( + other.internalGetAnnotations()); bitField0_ |= 0x00010000; if (other.hasWorkloadIdentityConfig()) { mergeWorkloadIdentityConfig(other.getWorkloadIdentityConfig()); @@ -2588,10 +2315,9 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureCluster other) { errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00400000); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() - : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -2626,175 +2352,166 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - azureRegion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getNetworkingFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 34 - case 42: - { - input.readMessage(getControlPlaneFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 42 - case 50: - { - input.readMessage(getAuthorizationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 50 - case 56: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000200; - break; - } // case 56 - case 66: - { - endpoint_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; - break; - } // case 66 - case 74: - { - uid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; - break; - } // case 74 - case 80: - { - reconciling_ = input.readBool(); - bitField0_ |= 0x00001000; - break; - } // case 80 - case 90: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00002000; - break; - } // case 90 - case 98: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00004000; - break; - } // case 98 - case 106: - { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00008000; - break; - } // case 106 - case 114: - { - com.google.protobuf.MapEntry annotations__ = - input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableAnnotations() - .getMutableMap() - .put(annotations__.getKey(), annotations__.getValue()); - bitField0_ |= 0x00010000; - break; - } // case 114 - case 130: - { - azureClient_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 130 - case 138: - { - resourceGroupId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 138 - case 146: - { - input.readMessage( - getWorkloadIdentityConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00020000; - break; - } // case 146 - case 154: - { - clusterCaCertificate_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00040000; - break; - } // case 154 - case 162: - { - input.readMessage(getFleetFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00080000; - break; - } // case 162 - case 170: - { - input.readMessage( - getManagedResourcesFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00100000; - break; - } // case 170 - case 178: - { - input.readMessage( - getAzureServicesAuthenticationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 178 - case 186: - { - input.readMessage(getLoggingConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00200000; - break; - } // case 186 - case 194: - { - com.google.cloud.gkemulticloud.v1.AzureClusterError m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureClusterError.parser(), - extensionRegistry); - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.add(m); - } else { - errorsBuilder_.addMessage(m); - } - break; - } // case 194 - case 202: - { - input.readMessage( - getMonitoringConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00800000; - break; - } // case 202 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + azureRegion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getNetworkingFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 34 + case 42: { + input.readMessage( + getControlPlaneFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 42 + case 50: { + input.readMessage( + getAuthorizationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 50 + case 56: { + state_ = input.readEnum(); + bitField0_ |= 0x00000200; + break; + } // case 56 + case 66: { + endpoint_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 66 + case 74: { + uid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 74 + case 80: { + reconciling_ = input.readBool(); + bitField0_ |= 0x00001000; + break; + } // case 80 + case 90: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00002000; + break; + } // case 90 + case 98: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00004000; + break; + } // case 98 + case 106: { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00008000; + break; + } // case 106 + case 114: { + com.google.protobuf.MapEntry + annotations__ = input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableAnnotations().getMutableMap().put( + annotations__.getKey(), annotations__.getValue()); + bitField0_ |= 0x00010000; + break; + } // case 114 + case 130: { + azureClient_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 130 + case 138: { + resourceGroupId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 138 + case 146: { + input.readMessage( + getWorkloadIdentityConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00020000; + break; + } // case 146 + case 154: { + clusterCaCertificate_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00040000; + break; + } // case 154 + case 162: { + input.readMessage( + getFleetFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00080000; + break; + } // case 162 + case 170: { + input.readMessage( + getManagedResourcesFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00100000; + break; + } // case 170 + case 178: { + input.readMessage( + getAzureServicesAuthenticationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 178 + case 186: { + input.readMessage( + getLoggingConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00200000; + break; + } // case 186 + case 194: { + com.google.cloud.gkemulticloud.v1.AzureClusterError m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureClusterError.parser(), + extensionRegistry); + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.add(m); + } else { + errorsBuilder_.addMessage(m); + } + break; + } // case 194 + case 202: { + input.readMessage( + getMonitoringConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00800000; + break; + } // case 202 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2804,13 +2521,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The name of this resource.
      *
@@ -2822,13 +2536,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2837,8 +2551,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of this resource.
      *
@@ -2850,14 +2562,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2865,8 +2578,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of this resource.
      *
@@ -2878,22 +2589,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of this resource.
      *
@@ -2905,7 +2612,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -2915,8 +2621,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The name of this resource.
      *
@@ -2928,14 +2632,12 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2945,21 +2647,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Optional. A human readable description of this cluster.
      * Cannot be longer than 255 UTF-8 encoded bytes.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2968,22 +2668,21 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. A human readable description of this cluster.
      * Cannot be longer than 255 UTF-8 encoded bytes.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2991,37 +2690,30 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. A human readable description of this cluster.
      * Cannot be longer than 255 UTF-8 encoded bytes.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. A human readable description of this cluster.
      * Cannot be longer than 255 UTF-8 encoded bytes.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -3031,22 +2723,18 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Optional. A human readable description of this cluster.
      * Cannot be longer than 255 UTF-8 encoded bytes.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000002; @@ -3056,8 +2744,6 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object azureRegion_ = ""; /** - * - * *
      * Required. The Azure region where the cluster runs.
      *
@@ -3068,13 +2754,13 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
      * 
* * string azure_region = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The azureRegion. */ public java.lang.String getAzureRegion() { java.lang.Object ref = azureRegion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureRegion_ = s; return s; @@ -3083,8 +2769,6 @@ public java.lang.String getAzureRegion() { } } /** - * - * *
      * Required. The Azure region where the cluster runs.
      *
@@ -3095,14 +2779,15 @@ public java.lang.String getAzureRegion() {
      * 
* * string azure_region = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for azureRegion. */ - public com.google.protobuf.ByteString getAzureRegionBytes() { + public com.google.protobuf.ByteString + getAzureRegionBytes() { java.lang.Object ref = azureRegion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); azureRegion_ = b; return b; } else { @@ -3110,8 +2795,6 @@ public com.google.protobuf.ByteString getAzureRegionBytes() { } } /** - * - * *
      * Required. The Azure region where the cluster runs.
      *
@@ -3122,22 +2805,18 @@ public com.google.protobuf.ByteString getAzureRegionBytes() {
      * 
* * string azure_region = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The azureRegion to set. * @return This builder for chaining. */ - public Builder setAzureRegion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAzureRegion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } azureRegion_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The Azure region where the cluster runs.
      *
@@ -3148,7 +2827,6 @@ public Builder setAzureRegion(java.lang.String value) {
      * 
* * string azure_region = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAzureRegion() { @@ -3158,8 +2836,6 @@ public Builder clearAzureRegion() { return this; } /** - * - * *
      * Required. The Azure region where the cluster runs.
      *
@@ -3170,14 +2846,12 @@ public Builder clearAzureRegion() {
      * 
* * string azure_region = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for azureRegion to set. * @return This builder for chaining. */ - public Builder setAzureRegionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAzureRegionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); azureRegion_ = value; bitField0_ |= 0x00000004; @@ -3187,8 +2861,6 @@ public Builder setAzureRegionBytes(com.google.protobuf.ByteString value) { private java.lang.Object resourceGroupId_ = ""; /** - * - * *
      * Required. The ARM ID of the resource group where the cluster resources are
      * deployed. For example:
@@ -3196,13 +2868,13 @@ public Builder setAzureRegionBytes(com.google.protobuf.ByteString value) {
      * 
* * string resource_group_id = 17 [(.google.api.field_behavior) = REQUIRED]; - * * @return The resourceGroupId. */ public java.lang.String getResourceGroupId() { java.lang.Object ref = resourceGroupId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceGroupId_ = s; return s; @@ -3211,8 +2883,6 @@ public java.lang.String getResourceGroupId() { } } /** - * - * *
      * Required. The ARM ID of the resource group where the cluster resources are
      * deployed. For example:
@@ -3220,14 +2890,15 @@ public java.lang.String getResourceGroupId() {
      * 
* * string resource_group_id = 17 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for resourceGroupId. */ - public com.google.protobuf.ByteString getResourceGroupIdBytes() { + public com.google.protobuf.ByteString + getResourceGroupIdBytes() { java.lang.Object ref = resourceGroupId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceGroupId_ = b; return b; } else { @@ -3235,8 +2906,6 @@ public com.google.protobuf.ByteString getResourceGroupIdBytes() { } } /** - * - * *
      * Required. The ARM ID of the resource group where the cluster resources are
      * deployed. For example:
@@ -3244,22 +2913,18 @@ public com.google.protobuf.ByteString getResourceGroupIdBytes() {
      * 
* * string resource_group_id = 17 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The resourceGroupId to set. * @return This builder for chaining. */ - public Builder setResourceGroupId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceGroupId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } resourceGroupId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Required. The ARM ID of the resource group where the cluster resources are
      * deployed. For example:
@@ -3267,7 +2932,6 @@ public Builder setResourceGroupId(java.lang.String value) {
      * 
* * string resource_group_id = 17 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearResourceGroupId() { @@ -3277,8 +2941,6 @@ public Builder clearResourceGroupId() { return this; } /** - * - * *
      * Required. The ARM ID of the resource group where the cluster resources are
      * deployed. For example:
@@ -3286,14 +2948,12 @@ public Builder clearResourceGroupId() {
      * 
* * string resource_group_id = 17 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for resourceGroupId to set. * @return This builder for chaining. */ - public Builder setResourceGroupIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceGroupIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceGroupId_ = value; bitField0_ |= 0x00000008; @@ -3303,14 +2963,14 @@ public Builder setResourceGroupIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object azureClient_ = ""; /** - * - * *
      * Optional. Name of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains
      * authentication configuration for how the Anthos Multi-Cloud API connects to
      * Azure APIs.
      *
+     * Either azure_client or azure_services_authentication should be provided.
+     *
      * The `AzureClient` resource must reside on the same Google Cloud Platform
      * project and region as the `AzureCluster`.
      *
@@ -3322,13 +2982,13 @@ public Builder setResourceGroupIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string azure_client = 16 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The azureClient. */ public java.lang.String getAzureClient() { java.lang.Object ref = azureClient_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureClient_ = s; return s; @@ -3337,14 +2997,14 @@ public java.lang.String getAzureClient() { } } /** - * - * *
      * Optional. Name of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains
      * authentication configuration for how the Anthos Multi-Cloud API connects to
      * Azure APIs.
      *
+     * Either azure_client or azure_services_authentication should be provided.
+     *
      * The `AzureClient` resource must reside on the same Google Cloud Platform
      * project and region as the `AzureCluster`.
      *
@@ -3356,14 +3016,15 @@ public java.lang.String getAzureClient() {
      * 
* * string azure_client = 16 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for azureClient. */ - public com.google.protobuf.ByteString getAzureClientBytes() { + public com.google.protobuf.ByteString + getAzureClientBytes() { java.lang.Object ref = azureClient_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); azureClient_ = b; return b; } else { @@ -3371,14 +3032,14 @@ public com.google.protobuf.ByteString getAzureClientBytes() { } } /** - * - * *
      * Optional. Name of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains
      * authentication configuration for how the Anthos Multi-Cloud API connects to
      * Azure APIs.
      *
+     * Either azure_client or azure_services_authentication should be provided.
+     *
      * The `AzureClient` resource must reside on the same Google Cloud Platform
      * project and region as the `AzureCluster`.
      *
@@ -3390,28 +3051,26 @@ public com.google.protobuf.ByteString getAzureClientBytes() {
      * 
* * string azure_client = 16 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The azureClient to set. * @return This builder for chaining. */ - public Builder setAzureClient(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAzureClient( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } azureClient_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. Name of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains
      * authentication configuration for how the Anthos Multi-Cloud API connects to
      * Azure APIs.
      *
+     * Either azure_client or azure_services_authentication should be provided.
+     *
      * The `AzureClient` resource must reside on the same Google Cloud Platform
      * project and region as the `AzureCluster`.
      *
@@ -3423,7 +3082,6 @@ public Builder setAzureClient(java.lang.String value) {
      * 
* * string azure_client = 16 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearAzureClient() { @@ -3433,14 +3091,14 @@ public Builder clearAzureClient() { return this; } /** - * - * *
      * Optional. Name of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains
      * authentication configuration for how the Anthos Multi-Cloud API connects to
      * Azure APIs.
      *
+     * Either azure_client or azure_services_authentication should be provided.
+     *
      * The `AzureClient` resource must reside on the same Google Cloud Platform
      * project and region as the `AzureCluster`.
      *
@@ -3452,14 +3110,12 @@ public Builder clearAzureClient() {
      * 
* * string azure_client = 16 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for azureClient to set. * @return This builder for chaining. */ - public Builder setAzureClientBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAzureClientBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); azureClient_ = value; bitField0_ |= 0x00000010; @@ -3469,58 +3125,39 @@ public Builder setAzureClientBytes(com.google.protobuf.ByteString value) { private com.google.cloud.gkemulticloud.v1.AzureClusterNetworking networking_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClusterNetworking, - com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.Builder, - com.google.cloud.gkemulticloud.v1.AzureClusterNetworkingOrBuilder> - networkingBuilder_; + com.google.cloud.gkemulticloud.v1.AzureClusterNetworking, com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterNetworkingOrBuilder> networkingBuilder_; /** - * - * *
      * Required. Cluster-wide networking configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the networking field is set. */ public boolean hasNetworking() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Required. Cluster-wide networking configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The networking. */ public com.google.cloud.gkemulticloud.v1.AzureClusterNetworking getNetworking() { if (networkingBuilder_ == null) { - return networking_ == null - ? com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.getDefaultInstance() - : networking_; + return networking_ == null ? com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.getDefaultInstance() : networking_; } else { return networkingBuilder_.getMessage(); } } /** - * - * *
      * Required. Cluster-wide networking configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setNetworking(com.google.cloud.gkemulticloud.v1.AzureClusterNetworking value) { if (networkingBuilder_ == null) { @@ -3536,15 +3173,11 @@ public Builder setNetworking(com.google.cloud.gkemulticloud.v1.AzureClusterNetwo return this; } /** - * - * *
      * Required. Cluster-wide networking configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setNetworking( com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.Builder builderForValue) { @@ -3558,22 +3191,17 @@ public Builder setNetworking( return this; } /** - * - * *
      * Required. Cluster-wide networking configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeNetworking(com.google.cloud.gkemulticloud.v1.AzureClusterNetworking value) { if (networkingBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && networking_ != null - && networking_ - != com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + networking_ != null && + networking_ != com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.getDefaultInstance()) { getNetworkingBuilder().mergeFrom(value); } else { networking_ = value; @@ -3586,15 +3214,11 @@ public Builder mergeNetworking(com.google.cloud.gkemulticloud.v1.AzureClusterNet return this; } /** - * - * *
      * Required. Cluster-wide networking configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearNetworking() { bitField0_ = (bitField0_ & ~0x00000020); @@ -3607,15 +3231,11 @@ public Builder clearNetworking() { return this; } /** - * - * *
      * Required. Cluster-wide networking configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.Builder getNetworkingBuilder() { bitField0_ |= 0x00000020; @@ -3623,49 +3243,36 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.Builder getNetwo return getNetworkingFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Cluster-wide networking configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.gkemulticloud.v1.AzureClusterNetworkingOrBuilder - getNetworkingOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AzureClusterNetworkingOrBuilder getNetworkingOrBuilder() { if (networkingBuilder_ != null) { return networkingBuilder_.getMessageOrBuilder(); } else { - return networking_ == null - ? com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.getDefaultInstance() - : networking_; + return networking_ == null ? + com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.getDefaultInstance() : networking_; } } /** - * - * *
      * Required. Cluster-wide networking configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClusterNetworking, - com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.Builder, - com.google.cloud.gkemulticloud.v1.AzureClusterNetworkingOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureClusterNetworking, com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterNetworkingOrBuilder> getNetworkingFieldBuilder() { if (networkingBuilder_ == null) { - networkingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClusterNetworking, - com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.Builder, - com.google.cloud.gkemulticloud.v1.AzureClusterNetworkingOrBuilder>( - getNetworking(), getParentForChildren(), isClean()); + networkingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureClusterNetworking, com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterNetworkingOrBuilder>( + getNetworking(), + getParentForChildren(), + isClean()); networking_ = null; } return networkingBuilder_; @@ -3673,58 +3280,39 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.Builder getNetwo private com.google.cloud.gkemulticloud.v1.AzureControlPlane controlPlane_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureControlPlane, - com.google.cloud.gkemulticloud.v1.AzureControlPlane.Builder, - com.google.cloud.gkemulticloud.v1.AzureControlPlaneOrBuilder> - controlPlaneBuilder_; + com.google.cloud.gkemulticloud.v1.AzureControlPlane, com.google.cloud.gkemulticloud.v1.AzureControlPlane.Builder, com.google.cloud.gkemulticloud.v1.AzureControlPlaneOrBuilder> controlPlaneBuilder_; /** - * - * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the controlPlane field is set. */ public boolean hasControlPlane() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The controlPlane. */ public com.google.cloud.gkemulticloud.v1.AzureControlPlane getControlPlane() { if (controlPlaneBuilder_ == null) { - return controlPlane_ == null - ? com.google.cloud.gkemulticloud.v1.AzureControlPlane.getDefaultInstance() - : controlPlane_; + return controlPlane_ == null ? com.google.cloud.gkemulticloud.v1.AzureControlPlane.getDefaultInstance() : controlPlane_; } else { return controlPlaneBuilder_.getMessage(); } } /** - * - * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setControlPlane(com.google.cloud.gkemulticloud.v1.AzureControlPlane value) { if (controlPlaneBuilder_ == null) { @@ -3740,15 +3328,11 @@ public Builder setControlPlane(com.google.cloud.gkemulticloud.v1.AzureControlPla return this; } /** - * - * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setControlPlane( com.google.cloud.gkemulticloud.v1.AzureControlPlane.Builder builderForValue) { @@ -3762,22 +3346,17 @@ public Builder setControlPlane( return this; } /** - * - * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeControlPlane(com.google.cloud.gkemulticloud.v1.AzureControlPlane value) { if (controlPlaneBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && controlPlane_ != null - && controlPlane_ - != com.google.cloud.gkemulticloud.v1.AzureControlPlane.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + controlPlane_ != null && + controlPlane_ != com.google.cloud.gkemulticloud.v1.AzureControlPlane.getDefaultInstance()) { getControlPlaneBuilder().mergeFrom(value); } else { controlPlane_ = value; @@ -3790,15 +3369,11 @@ public Builder mergeControlPlane(com.google.cloud.gkemulticloud.v1.AzureControlP return this; } /** - * - * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearControlPlane() { bitField0_ = (bitField0_ & ~0x00000040); @@ -3811,15 +3386,11 @@ public Builder clearControlPlane() { return this; } /** - * - * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AzureControlPlane.Builder getControlPlaneBuilder() { bitField0_ |= 0x00000040; @@ -3827,48 +3398,36 @@ public com.google.cloud.gkemulticloud.v1.AzureControlPlane.Builder getControlPla return getControlPlaneFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AzureControlPlaneOrBuilder getControlPlaneOrBuilder() { if (controlPlaneBuilder_ != null) { return controlPlaneBuilder_.getMessageOrBuilder(); } else { - return controlPlane_ == null - ? com.google.cloud.gkemulticloud.v1.AzureControlPlane.getDefaultInstance() - : controlPlane_; + return controlPlane_ == null ? + com.google.cloud.gkemulticloud.v1.AzureControlPlane.getDefaultInstance() : controlPlane_; } } /** - * - * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureControlPlane, - com.google.cloud.gkemulticloud.v1.AzureControlPlane.Builder, - com.google.cloud.gkemulticloud.v1.AzureControlPlaneOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureControlPlane, com.google.cloud.gkemulticloud.v1.AzureControlPlane.Builder, com.google.cloud.gkemulticloud.v1.AzureControlPlaneOrBuilder> getControlPlaneFieldBuilder() { if (controlPlaneBuilder_ == null) { - controlPlaneBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureControlPlane, - com.google.cloud.gkemulticloud.v1.AzureControlPlane.Builder, - com.google.cloud.gkemulticloud.v1.AzureControlPlaneOrBuilder>( - getControlPlane(), getParentForChildren(), isClean()); + controlPlaneBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureControlPlane, com.google.cloud.gkemulticloud.v1.AzureControlPlane.Builder, com.google.cloud.gkemulticloud.v1.AzureControlPlaneOrBuilder>( + getControlPlane(), + getParentForChildren(), + isClean()); controlPlane_ = null; } return controlPlaneBuilder_; @@ -3876,58 +3435,39 @@ public com.google.cloud.gkemulticloud.v1.AzureControlPlaneOrBuilder getControlPl private com.google.cloud.gkemulticloud.v1.AzureAuthorization authorization_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureAuthorization, - com.google.cloud.gkemulticloud.v1.AzureAuthorization.Builder, - com.google.cloud.gkemulticloud.v1.AzureAuthorizationOrBuilder> - authorizationBuilder_; + com.google.cloud.gkemulticloud.v1.AzureAuthorization, com.google.cloud.gkemulticloud.v1.AzureAuthorization.Builder, com.google.cloud.gkemulticloud.v1.AzureAuthorizationOrBuilder> authorizationBuilder_; /** - * - * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the authorization field is set. */ public boolean hasAuthorization() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The authorization. */ public com.google.cloud.gkemulticloud.v1.AzureAuthorization getAuthorization() { if (authorizationBuilder_ == null) { - return authorization_ == null - ? com.google.cloud.gkemulticloud.v1.AzureAuthorization.getDefaultInstance() - : authorization_; + return authorization_ == null ? com.google.cloud.gkemulticloud.v1.AzureAuthorization.getDefaultInstance() : authorization_; } else { return authorizationBuilder_.getMessage(); } } /** - * - * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAuthorization(com.google.cloud.gkemulticloud.v1.AzureAuthorization value) { if (authorizationBuilder_ == null) { @@ -3943,15 +3483,11 @@ public Builder setAuthorization(com.google.cloud.gkemulticloud.v1.AzureAuthoriza return this; } /** - * - * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAuthorization( com.google.cloud.gkemulticloud.v1.AzureAuthorization.Builder builderForValue) { @@ -3965,22 +3501,17 @@ public Builder setAuthorization( return this; } /** - * - * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAuthorization(com.google.cloud.gkemulticloud.v1.AzureAuthorization value) { if (authorizationBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) - && authorization_ != null - && authorization_ - != com.google.cloud.gkemulticloud.v1.AzureAuthorization.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) && + authorization_ != null && + authorization_ != com.google.cloud.gkemulticloud.v1.AzureAuthorization.getDefaultInstance()) { getAuthorizationBuilder().mergeFrom(value); } else { authorization_ = value; @@ -3993,15 +3524,11 @@ public Builder mergeAuthorization(com.google.cloud.gkemulticloud.v1.AzureAuthori return this; } /** - * - * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAuthorization() { bitField0_ = (bitField0_ & ~0x00000080); @@ -4014,15 +3541,11 @@ public Builder clearAuthorization() { return this; } /** - * - * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AzureAuthorization.Builder getAuthorizationBuilder() { bitField0_ |= 0x00000080; @@ -4030,113 +3553,84 @@ public com.google.cloud.gkemulticloud.v1.AzureAuthorization.Builder getAuthoriza return getAuthorizationFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.gkemulticloud.v1.AzureAuthorizationOrBuilder - getAuthorizationOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AzureAuthorizationOrBuilder getAuthorizationOrBuilder() { if (authorizationBuilder_ != null) { return authorizationBuilder_.getMessageOrBuilder(); } else { - return authorization_ == null - ? com.google.cloud.gkemulticloud.v1.AzureAuthorization.getDefaultInstance() - : authorization_; + return authorization_ == null ? + com.google.cloud.gkemulticloud.v1.AzureAuthorization.getDefaultInstance() : authorization_; } } /** - * - * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureAuthorization, - com.google.cloud.gkemulticloud.v1.AzureAuthorization.Builder, - com.google.cloud.gkemulticloud.v1.AzureAuthorizationOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureAuthorization, com.google.cloud.gkemulticloud.v1.AzureAuthorization.Builder, com.google.cloud.gkemulticloud.v1.AzureAuthorizationOrBuilder> getAuthorizationFieldBuilder() { if (authorizationBuilder_ == null) { - authorizationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureAuthorization, - com.google.cloud.gkemulticloud.v1.AzureAuthorization.Builder, - com.google.cloud.gkemulticloud.v1.AzureAuthorizationOrBuilder>( - getAuthorization(), getParentForChildren(), isClean()); + authorizationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureAuthorization, com.google.cloud.gkemulticloud.v1.AzureAuthorization.Builder, com.google.cloud.gkemulticloud.v1.AzureAuthorizationOrBuilder>( + getAuthorization(), + getParentForChildren(), + isClean()); authorization_ = null; } return authorizationBuilder_; } - private com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication - azureServicesAuthentication_; + private com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication azureServicesAuthentication_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication, - com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder, - com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder> - azureServicesAuthenticationBuilder_; + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication, com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder, com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder> azureServicesAuthenticationBuilder_; /** - * - * *
      * Optional. Authentication configuration for management of Azure resources.
-     * 
* - * - * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; - * + * Either azure_client or azure_services_authentication should be provided. + *
* + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the azureServicesAuthentication field is set. */ public boolean hasAzureServicesAuthentication() { return ((bitField0_ & 0x00000100) != 0); } /** - * - * *
      * Optional. Authentication configuration for management of Azure resources.
-     * 
* - * - * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; - * + * Either azure_client or azure_services_authentication should be provided. + *
* + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; * @return The azureServicesAuthentication. */ - public com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication - getAzureServicesAuthentication() { + public com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication getAzureServicesAuthentication() { if (azureServicesAuthenticationBuilder_ == null) { - return azureServicesAuthentication_ == null - ? com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.getDefaultInstance() - : azureServicesAuthentication_; + return azureServicesAuthentication_ == null ? com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.getDefaultInstance() : azureServicesAuthentication_; } else { return azureServicesAuthenticationBuilder_.getMessage(); } } /** - * - * *
      * Optional. Authentication configuration for management of Azure resources.
+     *
+     * Either azure_client or azure_services_authentication should be provided.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setAzureServicesAuthentication( - com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication value) { + public Builder setAzureServicesAuthentication(com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication value) { if (azureServicesAuthenticationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4150,15 +3644,13 @@ public Builder setAzureServicesAuthentication( return this; } /** - * - * *
      * Optional. Authentication configuration for management of Azure resources.
+     *
+     * Either azure_client or azure_services_authentication should be provided.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setAzureServicesAuthentication( com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder builderForValue) { @@ -4172,24 +3664,19 @@ public Builder setAzureServicesAuthentication( return this; } /** - * - * *
      * Optional. Authentication configuration for management of Azure resources.
+     *
+     * Either azure_client or azure_services_authentication should be provided.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeAzureServicesAuthentication( - com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication value) { + public Builder mergeAzureServicesAuthentication(com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication value) { if (azureServicesAuthenticationBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) - && azureServicesAuthentication_ != null - && azureServicesAuthentication_ - != com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication - .getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) && + azureServicesAuthentication_ != null && + azureServicesAuthentication_ != com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.getDefaultInstance()) { getAzureServicesAuthenticationBuilder().mergeFrom(value); } else { azureServicesAuthentication_ = value; @@ -4202,15 +3689,13 @@ public Builder mergeAzureServicesAuthentication( return this; } /** - * - * *
      * Optional. Authentication configuration for management of Azure resources.
+     *
+     * Either azure_client or azure_services_authentication should be provided.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearAzureServicesAuthentication() { bitField0_ = (bitField0_ & ~0x00000100); @@ -4223,66 +3708,54 @@ public Builder clearAzureServicesAuthentication() { return this; } /** - * - * *
      * Optional. Authentication configuration for management of Azure resources.
+     *
+     * Either azure_client or azure_services_authentication should be provided.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder - getAzureServicesAuthenticationBuilder() { + public com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder getAzureServicesAuthenticationBuilder() { bitField0_ |= 0x00000100; onChanged(); return getAzureServicesAuthenticationFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Authentication configuration for management of Azure resources.
+     *
+     * Either azure_client or azure_services_authentication should be provided.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder - getAzureServicesAuthenticationOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder getAzureServicesAuthenticationOrBuilder() { if (azureServicesAuthenticationBuilder_ != null) { return azureServicesAuthenticationBuilder_.getMessageOrBuilder(); } else { - return azureServicesAuthentication_ == null - ? com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.getDefaultInstance() - : azureServicesAuthentication_; + return azureServicesAuthentication_ == null ? + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.getDefaultInstance() : azureServicesAuthentication_; } } /** - * - * *
      * Optional. Authentication configuration for management of Azure resources.
+     *
+     * Either azure_client or azure_services_authentication should be provided.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication, - com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder, - com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication, com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder, com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder> getAzureServicesAuthenticationFieldBuilder() { if (azureServicesAuthenticationBuilder_ == null) { - azureServicesAuthenticationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication, - com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder, - com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder>( - getAzureServicesAuthentication(), getParentForChildren(), isClean()); + azureServicesAuthenticationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication, com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder, com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder>( + getAzureServicesAuthentication(), + getParentForChildren(), + isClean()); azureServicesAuthentication_ = null; } return azureServicesAuthenticationBuilder_; @@ -4290,33 +3763,22 @@ public Builder clearAzureServicesAuthentication() { private int state_ = 0; /** - * - * *
      * Output only. The current state of the cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The current state of the cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -4327,37 +3789,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The current state of the cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureCluster.State getState() { - com.google.cloud.gkemulticloud.v1.AzureCluster.State result = - com.google.cloud.gkemulticloud.v1.AzureCluster.State.forNumber(state_); - return result == null - ? com.google.cloud.gkemulticloud.v1.AzureCluster.State.UNRECOGNIZED - : result; + com.google.cloud.gkemulticloud.v1.AzureCluster.State result = com.google.cloud.gkemulticloud.v1.AzureCluster.State.forNumber(state_); + return result == null ? com.google.cloud.gkemulticloud.v1.AzureCluster.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current state of the cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -4371,16 +3820,11 @@ public Builder setState(com.google.cloud.gkemulticloud.v1.AzureCluster.State val return this; } /** - * - * *
      * Output only. The current state of the cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -4392,20 +3836,18 @@ public Builder clearState() { private java.lang.Object endpoint_ = ""; /** - * - * *
      * Output only. The endpoint of the cluster's API server.
      * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The endpoint. */ public java.lang.String getEndpoint() { java.lang.Object ref = endpoint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endpoint_ = s; return s; @@ -4414,21 +3856,20 @@ public java.lang.String getEndpoint() { } } /** - * - * *
      * Output only. The endpoint of the cluster's API server.
      * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for endpoint. */ - public com.google.protobuf.ByteString getEndpointBytes() { + public com.google.protobuf.ByteString + getEndpointBytes() { java.lang.Object ref = endpoint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); endpoint_ = b; return b; } else { @@ -4436,35 +3877,28 @@ public com.google.protobuf.ByteString getEndpointBytes() { } } /** - * - * *
      * Output only. The endpoint of the cluster's API server.
      * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The endpoint to set. * @return This builder for chaining. */ - public Builder setEndpoint(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEndpoint( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } endpoint_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** - * - * *
      * Output only. The endpoint of the cluster's API server.
      * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearEndpoint() { @@ -4474,21 +3908,17 @@ public Builder clearEndpoint() { return this; } /** - * - * *
      * Output only. The endpoint of the cluster's API server.
      * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for endpoint to set. * @return This builder for chaining. */ - public Builder setEndpointBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEndpointBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); endpoint_ = value; bitField0_ |= 0x00000400; @@ -4498,20 +3928,18 @@ public Builder setEndpointBytes(com.google.protobuf.ByteString value) { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. A globally unique identifier for the cluster.
      * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -4520,21 +3948,20 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. A globally unique identifier for the cluster.
      * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -4542,35 +3969,28 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. A globally unique identifier for the cluster.
      * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uid_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** - * - * *
      * Output only. A globally unique identifier for the cluster.
      * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { @@ -4580,21 +4000,17 @@ public Builder clearUid() { return this; } /** - * - * *
      * Output only. A globally unique identifier for the cluster.
      * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000800; @@ -4602,16 +4018,13 @@ public Builder setUidBytes(com.google.protobuf.ByteString value) { return this; } - private boolean reconciling_; + private boolean reconciling_ ; /** - * - * *
      * Output only. If set, there are currently changes in flight to the cluster.
      * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -4619,14 +4032,11 @@ public boolean getReconciling() { return reconciling_; } /** - * - * *
      * Output only. If set, there are currently changes in flight to the cluster.
      * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The reconciling to set. * @return This builder for chaining. */ @@ -4638,14 +4048,11 @@ public Builder setReconciling(boolean value) { return this; } /** - * - * *
      * Output only. If set, there are currently changes in flight to the cluster.
      * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -4657,58 +4064,39 @@ public Builder clearReconciling() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time at which this cluster was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00002000) != 0); } /** - * - * *
      * Output only. The time at which this cluster was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which this cluster was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -4724,17 +4112,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this cluster was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -4745,21 +4130,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time at which this cluster was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00002000) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00002000) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -4772,15 +4153,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this cluster was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00002000); @@ -4793,15 +4170,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time at which this cluster was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00002000; @@ -4809,48 +4182,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which this cluster was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time at which this cluster was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -4858,58 +4219,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00004000) != 0); } /** - * - * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -4925,17 +4267,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -4946,21 +4285,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00004000) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00004000) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -4973,15 +4308,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00004000); @@ -4994,15 +4325,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00004000; @@ -5010,48 +4337,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -5059,8 +4374,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object etag_ = ""; /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -5070,13 +4383,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string etag = 13; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -5085,8 +4398,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -5096,14 +4407,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 13; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -5111,8 +4423,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -5122,22 +4432,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 13; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00008000; onChanged(); return this; } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -5147,7 +4453,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 13; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -5157,8 +4462,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -5168,14 +4471,12 @@ public Builder clearEtag() {
      * 
* * string etag = 13; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00008000; @@ -5183,8 +4484,8 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -5193,12 +4494,11 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { } return annotations_; } - private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = - com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -5207,13 +4507,10 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { onChanged(); return annotations_; } - public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
      * Optional. Annotations on the cluster.
      *
@@ -5226,25 +4523,23 @@ public int getAnnotationsCount() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetAnnotations().getMap().containsKey(key); } - /** Use {@link #getAnnotationsMap()} instead. */ + /** + * Use {@link #getAnnotationsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** - * - * *
      * Optional. Annotations on the cluster.
      *
@@ -5257,16 +4552,13 @@ public java.util.Map getAnnotations() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** - * - * *
      * Optional. Annotations on the cluster.
      *
@@ -5279,23 +4571,20 @@ public java.util.Map getAnnotationsMap() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getAnnotationsOrDefault( + public /* nullable */ +java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Optional. Annotations on the cluster.
      *
@@ -5308,29 +4597,26 @@ public java.util.Map getAnnotationsMap() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + public java.lang.String getAnnotationsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearAnnotations() { bitField0_ = (bitField0_ & ~0x00010000); - internalGetMutableAnnotations().getMutableMap().clear(); + internalGetMutableAnnotations().getMutableMap() + .clear(); return this; } /** - * - * *
      * Optional. Annotations on the cluster.
      *
@@ -5343,25 +4629,25 @@ public Builder clearAnnotations() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableAnnotations().getMutableMap().remove(key); + public Builder removeAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableAnnotations().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableAnnotations() { + public java.util.Map + getMutableAnnotations() { bitField0_ |= 0x00010000; return internalGetMutableAnnotations().getMutableMap(); } /** - * - * *
      * Optional. Annotations on the cluster.
      *
@@ -5374,23 +4660,19 @@ public java.util.Map getMutableAnnotations()
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAnnotations(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableAnnotations().getMutableMap().put(key, value); + public Builder putAnnotations( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableAnnotations().getMutableMap() + .put(key, value); bitField0_ |= 0x00010000; return this; } /** - * - * *
      * Optional. Annotations on the cluster.
      *
@@ -5403,72 +4685,53 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAllAnnotations(java.util.Map values) { - internalGetMutableAnnotations().getMutableMap().putAll(values); + public Builder putAllAnnotations( + java.util.Map values) { + internalGetMutableAnnotations().getMutableMap() + .putAll(values); bitField0_ |= 0x00010000; return this; } private com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workloadIdentityConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder> - workloadIdentityConfigBuilder_; + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder> workloadIdentityConfigBuilder_; /** - * - * *
      * Output only. Workload Identity settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the workloadIdentityConfig field is set. */ public boolean hasWorkloadIdentityConfig() { return ((bitField0_ & 0x00020000) != 0); } /** - * - * *
      * Output only. Workload Identity settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The workloadIdentityConfig. */ public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig getWorkloadIdentityConfig() { if (workloadIdentityConfigBuilder_ == null) { - return workloadIdentityConfig_ == null - ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() - : workloadIdentityConfig_; + return workloadIdentityConfig_ == null ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_; } else { return workloadIdentityConfigBuilder_.getMessage(); } } /** - * - * *
      * Output only. Workload Identity settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setWorkloadIdentityConfig( - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig value) { + public Builder setWorkloadIdentityConfig(com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig value) { if (workloadIdentityConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5482,15 +4745,11 @@ public Builder setWorkloadIdentityConfig( return this; } /** - * - * *
      * Output only. Workload Identity settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setWorkloadIdentityConfig( com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder builderForValue) { @@ -5504,23 +4763,17 @@ public Builder setWorkloadIdentityConfig( return this; } /** - * - * *
      * Output only. Workload Identity settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeWorkloadIdentityConfig( - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig value) { + public Builder mergeWorkloadIdentityConfig(com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig value) { if (workloadIdentityConfigBuilder_ == null) { - if (((bitField0_ & 0x00020000) != 0) - && workloadIdentityConfig_ != null - && workloadIdentityConfig_ - != com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00020000) != 0) && + workloadIdentityConfig_ != null && + workloadIdentityConfig_ != com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance()) { getWorkloadIdentityConfigBuilder().mergeFrom(value); } else { workloadIdentityConfig_ = value; @@ -5533,15 +4786,11 @@ public Builder mergeWorkloadIdentityConfig( return this; } /** - * - * *
      * Output only. Workload Identity settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearWorkloadIdentityConfig() { bitField0_ = (bitField0_ & ~0x00020000); @@ -5554,66 +4803,48 @@ public Builder clearWorkloadIdentityConfig() { return this; } /** - * - * *
      * Output only. Workload Identity settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder - getWorkloadIdentityConfigBuilder() { + public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder getWorkloadIdentityConfigBuilder() { bitField0_ |= 0x00020000; onChanged(); return getWorkloadIdentityConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Workload Identity settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder - getWorkloadIdentityConfigOrBuilder() { + public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder() { if (workloadIdentityConfigBuilder_ != null) { return workloadIdentityConfigBuilder_.getMessageOrBuilder(); } else { - return workloadIdentityConfig_ == null - ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() - : workloadIdentityConfig_; + return workloadIdentityConfig_ == null ? + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_; } } /** - * - * *
      * Output only. Workload Identity settings.
      * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder> getWorkloadIdentityConfigFieldBuilder() { if (workloadIdentityConfigBuilder_ == null) { - workloadIdentityConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder>( - getWorkloadIdentityConfig(), getParentForChildren(), isClean()); + workloadIdentityConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder>( + getWorkloadIdentityConfig(), + getParentForChildren(), + isClean()); workloadIdentityConfig_ = null; } return workloadIdentityConfigBuilder_; @@ -5621,20 +4852,18 @@ public Builder clearWorkloadIdentityConfig() { private java.lang.Object clusterCaCertificate_ = ""; /** - * - * *
      * Output only. PEM encoded x509 certificate of the cluster root of trust.
      * 
* * string cluster_ca_certificate = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The clusterCaCertificate. */ public java.lang.String getClusterCaCertificate() { java.lang.Object ref = clusterCaCertificate_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterCaCertificate_ = s; return s; @@ -5643,21 +4872,20 @@ public java.lang.String getClusterCaCertificate() { } } /** - * - * *
      * Output only. PEM encoded x509 certificate of the cluster root of trust.
      * 
* * string cluster_ca_certificate = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for clusterCaCertificate. */ - public com.google.protobuf.ByteString getClusterCaCertificateBytes() { + public com.google.protobuf.ByteString + getClusterCaCertificateBytes() { java.lang.Object ref = clusterCaCertificate_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterCaCertificate_ = b; return b; } else { @@ -5665,35 +4893,28 @@ public com.google.protobuf.ByteString getClusterCaCertificateBytes() { } } /** - * - * *
      * Output only. PEM encoded x509 certificate of the cluster root of trust.
      * 
* * string cluster_ca_certificate = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The clusterCaCertificate to set. * @return This builder for chaining. */ - public Builder setClusterCaCertificate(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterCaCertificate( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clusterCaCertificate_ = value; bitField0_ |= 0x00040000; onChanged(); return this; } /** - * - * *
      * Output only. PEM encoded x509 certificate of the cluster root of trust.
      * 
* * string cluster_ca_certificate = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearClusterCaCertificate() { @@ -5703,21 +4924,17 @@ public Builder clearClusterCaCertificate() { return this; } /** - * - * *
      * Output only. PEM encoded x509 certificate of the cluster root of trust.
      * 
* * string cluster_ca_certificate = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for clusterCaCertificate to set. * @return This builder for chaining. */ - public Builder setClusterCaCertificateBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterCaCertificateBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clusterCaCertificate_ = value; bitField0_ |= 0x00040000; @@ -5727,58 +4944,39 @@ public Builder setClusterCaCertificateBytes(com.google.protobuf.ByteString value private com.google.cloud.gkemulticloud.v1.Fleet fleet_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.Fleet, - com.google.cloud.gkemulticloud.v1.Fleet.Builder, - com.google.cloud.gkemulticloud.v1.FleetOrBuilder> - fleetBuilder_; + com.google.cloud.gkemulticloud.v1.Fleet, com.google.cloud.gkemulticloud.v1.Fleet.Builder, com.google.cloud.gkemulticloud.v1.FleetOrBuilder> fleetBuilder_; /** - * - * *
      * Required. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the fleet field is set. */ public boolean hasFleet() { return ((bitField0_ & 0x00080000) != 0); } /** - * - * *
      * Required. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; * @return The fleet. */ public com.google.cloud.gkemulticloud.v1.Fleet getFleet() { if (fleetBuilder_ == null) { - return fleet_ == null - ? com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() - : fleet_; + return fleet_ == null ? com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() : fleet_; } else { return fleetBuilder_.getMessage(); } } /** - * - * *
      * Required. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { if (fleetBuilder_ == null) { @@ -5794,17 +4992,14 @@ public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { return this; } /** - * - * *
      * Required. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet.Builder builderForValue) { + public Builder setFleet( + com.google.cloud.gkemulticloud.v1.Fleet.Builder builderForValue) { if (fleetBuilder_ == null) { fleet_ = builderForValue.build(); } else { @@ -5815,21 +5010,17 @@ public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet.Builder builderF return this; } /** - * - * *
      * Required. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { if (fleetBuilder_ == null) { - if (((bitField0_ & 0x00080000) != 0) - && fleet_ != null - && fleet_ != com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance()) { + if (((bitField0_ & 0x00080000) != 0) && + fleet_ != null && + fleet_ != com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance()) { getFleetBuilder().mergeFrom(value); } else { fleet_ = value; @@ -5842,15 +5033,11 @@ public Builder mergeFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { return this; } /** - * - * *
      * Required. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearFleet() { bitField0_ = (bitField0_ & ~0x00080000); @@ -5863,15 +5050,11 @@ public Builder clearFleet() { return this; } /** - * - * *
      * Required. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.Fleet.Builder getFleetBuilder() { bitField0_ |= 0x00080000; @@ -5879,48 +5062,36 @@ public com.google.cloud.gkemulticloud.v1.Fleet.Builder getFleetBuilder() { return getFleetFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder() { if (fleetBuilder_ != null) { return fleetBuilder_.getMessageOrBuilder(); } else { - return fleet_ == null - ? com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() - : fleet_; + return fleet_ == null ? + com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() : fleet_; } } /** - * - * *
      * Required. Fleet configuration.
      * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.Fleet, - com.google.cloud.gkemulticloud.v1.Fleet.Builder, - com.google.cloud.gkemulticloud.v1.FleetOrBuilder> + com.google.cloud.gkemulticloud.v1.Fleet, com.google.cloud.gkemulticloud.v1.Fleet.Builder, com.google.cloud.gkemulticloud.v1.FleetOrBuilder> getFleetFieldBuilder() { if (fleetBuilder_ == null) { - fleetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.Fleet, - com.google.cloud.gkemulticloud.v1.Fleet.Builder, - com.google.cloud.gkemulticloud.v1.FleetOrBuilder>( - getFleet(), getParentForChildren(), isClean()); + fleetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.Fleet, com.google.cloud.gkemulticloud.v1.Fleet.Builder, com.google.cloud.gkemulticloud.v1.FleetOrBuilder>( + getFleet(), + getParentForChildren(), + isClean()); fleet_ = null; } return fleetBuilder_; @@ -5928,61 +5099,41 @@ public com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder() { private com.google.cloud.gkemulticloud.v1.AzureClusterResources managedResources_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClusterResources, - com.google.cloud.gkemulticloud.v1.AzureClusterResources.Builder, - com.google.cloud.gkemulticloud.v1.AzureClusterResourcesOrBuilder> - managedResourcesBuilder_; + com.google.cloud.gkemulticloud.v1.AzureClusterResources, com.google.cloud.gkemulticloud.v1.AzureClusterResources.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterResourcesOrBuilder> managedResourcesBuilder_; /** - * - * *
      * Output only. Managed Azure resources for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the managedResources field is set. */ public boolean hasManagedResources() { return ((bitField0_ & 0x00100000) != 0); } /** - * - * *
      * Output only. Managed Azure resources for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The managedResources. */ public com.google.cloud.gkemulticloud.v1.AzureClusterResources getManagedResources() { if (managedResourcesBuilder_ == null) { - return managedResources_ == null - ? com.google.cloud.gkemulticloud.v1.AzureClusterResources.getDefaultInstance() - : managedResources_; + return managedResources_ == null ? com.google.cloud.gkemulticloud.v1.AzureClusterResources.getDefaultInstance() : managedResources_; } else { return managedResourcesBuilder_.getMessage(); } } /** - * - * *
      * Output only. Managed Azure resources for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setManagedResources( - com.google.cloud.gkemulticloud.v1.AzureClusterResources value) { + public Builder setManagedResources(com.google.cloud.gkemulticloud.v1.AzureClusterResources value) { if (managedResourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5996,15 +5147,11 @@ public Builder setManagedResources( return this; } /** - * - * *
      * Output only. Managed Azure resources for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setManagedResources( com.google.cloud.gkemulticloud.v1.AzureClusterResources.Builder builderForValue) { @@ -6018,23 +5165,17 @@ public Builder setManagedResources( return this; } /** - * - * *
      * Output only. Managed Azure resources for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeManagedResources( - com.google.cloud.gkemulticloud.v1.AzureClusterResources value) { + public Builder mergeManagedResources(com.google.cloud.gkemulticloud.v1.AzureClusterResources value) { if (managedResourcesBuilder_ == null) { - if (((bitField0_ & 0x00100000) != 0) - && managedResources_ != null - && managedResources_ - != com.google.cloud.gkemulticloud.v1.AzureClusterResources.getDefaultInstance()) { + if (((bitField0_ & 0x00100000) != 0) && + managedResources_ != null && + managedResources_ != com.google.cloud.gkemulticloud.v1.AzureClusterResources.getDefaultInstance()) { getManagedResourcesBuilder().mergeFrom(value); } else { managedResources_ = value; @@ -6047,15 +5188,11 @@ public Builder mergeManagedResources( return this; } /** - * - * *
      * Output only. Managed Azure resources for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearManagedResources() { bitField0_ = (bitField0_ & ~0x00100000); @@ -6068,66 +5205,48 @@ public Builder clearManagedResources() { return this; } /** - * - * *
      * Output only. Managed Azure resources for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.gkemulticloud.v1.AzureClusterResources.Builder - getManagedResourcesBuilder() { + public com.google.cloud.gkemulticloud.v1.AzureClusterResources.Builder getManagedResourcesBuilder() { bitField0_ |= 0x00100000; onChanged(); return getManagedResourcesFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Managed Azure resources for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.gkemulticloud.v1.AzureClusterResourcesOrBuilder - getManagedResourcesOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AzureClusterResourcesOrBuilder getManagedResourcesOrBuilder() { if (managedResourcesBuilder_ != null) { return managedResourcesBuilder_.getMessageOrBuilder(); } else { - return managedResources_ == null - ? com.google.cloud.gkemulticloud.v1.AzureClusterResources.getDefaultInstance() - : managedResources_; + return managedResources_ == null ? + com.google.cloud.gkemulticloud.v1.AzureClusterResources.getDefaultInstance() : managedResources_; } } /** - * - * *
      * Output only. Managed Azure resources for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClusterResources, - com.google.cloud.gkemulticloud.v1.AzureClusterResources.Builder, - com.google.cloud.gkemulticloud.v1.AzureClusterResourcesOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureClusterResources, com.google.cloud.gkemulticloud.v1.AzureClusterResources.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterResourcesOrBuilder> getManagedResourcesFieldBuilder() { if (managedResourcesBuilder_ == null) { - managedResourcesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClusterResources, - com.google.cloud.gkemulticloud.v1.AzureClusterResources.Builder, - com.google.cloud.gkemulticloud.v1.AzureClusterResourcesOrBuilder>( - getManagedResources(), getParentForChildren(), isClean()); + managedResourcesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureClusterResources, com.google.cloud.gkemulticloud.v1.AzureClusterResources.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterResourcesOrBuilder>( + getManagedResources(), + getParentForChildren(), + isClean()); managedResources_ = null; } return managedResourcesBuilder_; @@ -6135,58 +5254,39 @@ public Builder clearManagedResources() { private com.google.cloud.gkemulticloud.v1.LoggingConfig loggingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.LoggingConfig, - com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, - com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder> - loggingConfigBuilder_; + com.google.cloud.gkemulticloud.v1.LoggingConfig, com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder> loggingConfigBuilder_; /** - * - * *
      * Optional. Logging configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return ((bitField0_ & 0x00200000) != 0); } /** - * - * *
      * Optional. Logging configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; * @return The loggingConfig. */ public com.google.cloud.gkemulticloud.v1.LoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { - return loggingConfig_ == null - ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() : loggingConfig_; } else { return loggingConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. Logging configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setLoggingConfig(com.google.cloud.gkemulticloud.v1.LoggingConfig value) { if (loggingConfigBuilder_ == null) { @@ -6202,15 +5302,11 @@ public Builder setLoggingConfig(com.google.cloud.gkemulticloud.v1.LoggingConfig return this; } /** - * - * *
      * Optional. Logging configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setLoggingConfig( com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder builderForValue) { @@ -6224,22 +5320,17 @@ public Builder setLoggingConfig( return this; } /** - * - * *
      * Optional. Logging configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeLoggingConfig(com.google.cloud.gkemulticloud.v1.LoggingConfig value) { if (loggingConfigBuilder_ == null) { - if (((bitField0_ & 0x00200000) != 0) - && loggingConfig_ != null - && loggingConfig_ - != com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00200000) != 0) && + loggingConfig_ != null && + loggingConfig_ != com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance()) { getLoggingConfigBuilder().mergeFrom(value); } else { loggingConfig_ = value; @@ -6252,15 +5343,11 @@ public Builder mergeLoggingConfig(com.google.cloud.gkemulticloud.v1.LoggingConfi return this; } /** - * - * *
      * Optional. Logging configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearLoggingConfig() { bitField0_ = (bitField0_ & ~0x00200000); @@ -6273,15 +5360,11 @@ public Builder clearLoggingConfig() { return this; } /** - * - * *
      * Optional. Logging configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder getLoggingConfigBuilder() { bitField0_ |= 0x00200000; @@ -6289,80 +5372,59 @@ public com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder getLoggingConfigB return getLoggingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Logging configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder() { if (loggingConfigBuilder_ != null) { return loggingConfigBuilder_.getMessageOrBuilder(); } else { - return loggingConfig_ == null - ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? + com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() : loggingConfig_; } } /** - * - * *
      * Optional. Logging configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.LoggingConfig, - com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, - com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.LoggingConfig, com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder> getLoggingConfigFieldBuilder() { if (loggingConfigBuilder_ == null) { - loggingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.LoggingConfig, - com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, - com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder>( - getLoggingConfig(), getParentForChildren(), isClean()); + loggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.LoggingConfig, com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder>( + getLoggingConfig(), + getParentForChildren(), + isClean()); loggingConfig_ = null; } return loggingConfigBuilder_; } private java.util.List errors_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00400000) != 0)) { - errors_ = - new java.util.ArrayList(errors_); + errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00400000; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClusterError, - com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder, - com.google.cloud.gkemulticloud.v1.AzureClusterErrorOrBuilder> - errorsBuilder_; + com.google.cloud.gkemulticloud.v1.AzureClusterError, com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterErrorOrBuilder> errorsBuilder_; /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getErrorsList() { if (errorsBuilder_ == null) { @@ -6372,15 +5434,11 @@ public java.util.List getEr } } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -6390,15 +5448,11 @@ public int getErrorsCount() { } } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.gkemulticloud.v1.AzureClusterError getErrors(int index) { if (errorsBuilder_ == null) { @@ -6408,17 +5462,14 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterError getErrors(int index) } } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setErrors(int index, com.google.cloud.gkemulticloud.v1.AzureClusterError value) { + public Builder setErrors( + int index, com.google.cloud.gkemulticloud.v1.AzureClusterError value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6432,15 +5483,11 @@ public Builder setErrors(int index, com.google.cloud.gkemulticloud.v1.AzureClust return this; } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setErrors( int index, com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder builderForValue) { @@ -6454,15 +5501,11 @@ public Builder setErrors( return this; } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addErrors(com.google.cloud.gkemulticloud.v1.AzureClusterError value) { if (errorsBuilder_ == null) { @@ -6478,17 +5521,14 @@ public Builder addErrors(com.google.cloud.gkemulticloud.v1.AzureClusterError val return this; } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addErrors(int index, com.google.cloud.gkemulticloud.v1.AzureClusterError value) { + public Builder addErrors( + int index, com.google.cloud.gkemulticloud.v1.AzureClusterError value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6502,15 +5542,11 @@ public Builder addErrors(int index, com.google.cloud.gkemulticloud.v1.AzureClust return this; } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addErrors( com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder builderForValue) { @@ -6524,15 +5560,11 @@ public Builder addErrors( return this; } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addErrors( int index, com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder builderForValue) { @@ -6546,21 +5578,18 @@ public Builder addErrors( return this; } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllErrors( java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -6568,15 +5597,11 @@ public Builder addAllErrors( return this; } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -6589,15 +5614,11 @@ public Builder clearErrors() { return this; } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -6610,51 +5631,39 @@ public Builder removeErrors(int index) { return this; } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder getErrorsBuilder(int index) { + public com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder getErrorsBuilder( + int index) { return getErrorsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.gkemulticloud.v1.AzureClusterErrorOrBuilder getErrorsOrBuilder( int index) { if (errorsBuilder_ == null) { - return errors_.get(index); - } else { + return errors_.get(index); } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -6662,64 +5671,49 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterErrorOrBuilder getErrorsOrB } } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder addErrorsBuilder() { - return getErrorsFieldBuilder() - .addBuilder(com.google.cloud.gkemulticloud.v1.AzureClusterError.getDefaultInstance()); + return getErrorsFieldBuilder().addBuilder( + com.google.cloud.gkemulticloud.v1.AzureClusterError.getDefaultInstance()); } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder addErrorsBuilder(int index) { - return getErrorsFieldBuilder() - .addBuilder( - index, com.google.cloud.gkemulticloud.v1.AzureClusterError.getDefaultInstance()); + public com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder addErrorsBuilder( + int index) { + return getErrorsFieldBuilder().addBuilder( + index, com.google.cloud.gkemulticloud.v1.AzureClusterError.getDefaultInstance()); } /** - * - * *
      * Output only. A set of errors found in the cluster.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClusterError, - com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder, - com.google.cloud.gkemulticloud.v1.AzureClusterErrorOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureClusterError, com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterErrorOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClusterError, - com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder, - com.google.cloud.gkemulticloud.v1.AzureClusterErrorOrBuilder>( - errors_, ((bitField0_ & 0x00400000) != 0), getParentForChildren(), isClean()); + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureClusterError, com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterErrorOrBuilder>( + errors_, + ((bitField0_ & 0x00400000) != 0), + getParentForChildren(), + isClean()); errors_ = null; } return errorsBuilder_; @@ -6727,58 +5721,39 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder addErrorsBuil private com.google.cloud.gkemulticloud.v1.MonitoringConfig monitoringConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.MonitoringConfig, - com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, - com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder> - monitoringConfigBuilder_; + com.google.cloud.gkemulticloud.v1.MonitoringConfig, com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder> monitoringConfigBuilder_; /** - * - * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the monitoringConfig field is set. */ public boolean hasMonitoringConfig() { return ((bitField0_ & 0x00800000) != 0); } /** - * - * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; * @return The monitoringConfig. */ public com.google.cloud.gkemulticloud.v1.MonitoringConfig getMonitoringConfig() { if (monitoringConfigBuilder_ == null) { - return monitoringConfig_ == null - ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() - : monitoringConfig_; + return monitoringConfig_ == null ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; } else { return monitoringConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setMonitoringConfig(com.google.cloud.gkemulticloud.v1.MonitoringConfig value) { if (monitoringConfigBuilder_ == null) { @@ -6794,15 +5769,11 @@ public Builder setMonitoringConfig(com.google.cloud.gkemulticloud.v1.MonitoringC return this; } /** - * - * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setMonitoringConfig( com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder builderForValue) { @@ -6816,22 +5787,17 @@ public Builder setMonitoringConfig( return this; } /** - * - * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeMonitoringConfig(com.google.cloud.gkemulticloud.v1.MonitoringConfig value) { if (monitoringConfigBuilder_ == null) { - if (((bitField0_ & 0x00800000) != 0) - && monitoringConfig_ != null - && monitoringConfig_ - != com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00800000) != 0) && + monitoringConfig_ != null && + monitoringConfig_ != com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance()) { getMonitoringConfigBuilder().mergeFrom(value); } else { monitoringConfig_ = value; @@ -6844,15 +5810,11 @@ public Builder mergeMonitoringConfig(com.google.cloud.gkemulticloud.v1.Monitorin return this; } /** - * - * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearMonitoringConfig() { bitField0_ = (bitField0_ & ~0x00800000); @@ -6865,15 +5827,11 @@ public Builder clearMonitoringConfig() { return this; } /** - * - * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder getMonitoringConfigBuilder() { bitField0_ |= 0x00800000; @@ -6881,56 +5839,43 @@ public com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder getMonitoringC return getMonitoringConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder - getMonitoringConfigOrBuilder() { + public com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBuilder() { if (monitoringConfigBuilder_ != null) { return monitoringConfigBuilder_.getMessageOrBuilder(); } else { - return monitoringConfig_ == null - ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() - : monitoringConfig_; + return monitoringConfig_ == null ? + com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; } } /** - * - * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.MonitoringConfig, - com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, - com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.MonitoringConfig, com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder> getMonitoringConfigFieldBuilder() { if (monitoringConfigBuilder_ == null) { - monitoringConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.MonitoringConfig, - com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, - com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder>( - getMonitoringConfig(), getParentForChildren(), isClean()); + monitoringConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.MonitoringConfig, com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder>( + getMonitoringConfig(), + getParentForChildren(), + isClean()); monitoringConfig_ = null; } return monitoringConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -6940,12 +5885,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureCluster) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureCluster) private static final com.google.cloud.gkemulticloud.v1.AzureCluster DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureCluster(); } @@ -6954,27 +5899,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureCluster getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureCluster parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureCluster parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6989,4 +5934,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureCluster getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterError.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterError.java similarity index 66% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterError.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterError.java index 27fef2361b8a..12a9177dd982 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterError.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterError.java @@ -1,80 +1,57 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * AzureClusterError describes errors found on Azure clusters.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureClusterError} */ -public final class AzureClusterError extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AzureClusterError extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureClusterError) AzureClusterErrorOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AzureClusterError.newBuilder() to construct. private AzureClusterError(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AzureClusterError() { message_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AzureClusterError(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureClusterError.class, - com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureClusterError.class, com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder.class); } public static final int MESSAGE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** - * - * *
    * Human-friendly description of the error.
    * 
* * string message = 1; - * * @return The message. */ @java.lang.Override @@ -83,29 +60,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** - * - * *
    * Human-friendly description of the error.
    * 
* * string message = 1; - * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -114,7 +91,6 @@ public com.google.protobuf.ByteString getMessageBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,7 +102,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } @@ -150,15 +127,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureClusterError)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureClusterError other = - (com.google.cloud.gkemulticloud.v1.AzureClusterError) obj; + com.google.cloud.gkemulticloud.v1.AzureClusterError other = (com.google.cloud.gkemulticloud.v1.AzureClusterError) obj; - if (!getMessage().equals(other.getMessage())) return false; + if (!getMessage() + .equals(other.getMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -178,135 +155,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AzureClusterError parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterError parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterError parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterError parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterError parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AzureClusterError parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureClusterError parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterError parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterError parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureClusterError parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureClusterError parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterError parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterError parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureClusterError prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * AzureClusterError describes errors found on Azure clusters.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureClusterError} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureClusterError) com.google.cloud.gkemulticloud.v1.AzureClusterErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureClusterError.class, - com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureClusterError.class, com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AzureClusterError.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -316,9 +289,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_descriptor; } @java.lang.Override @@ -337,11 +310,8 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterError build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureClusterError buildPartial() { - com.google.cloud.gkemulticloud.v1.AzureClusterError result = - new com.google.cloud.gkemulticloud.v1.AzureClusterError(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.AzureClusterError result = new com.google.cloud.gkemulticloud.v1.AzureClusterError(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -357,39 +327,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureClusterError r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AzureClusterError) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureClusterError) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureClusterError)other); } else { super.mergeFrom(other); return this; @@ -397,8 +366,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureClusterError other) { - if (other == com.google.cloud.gkemulticloud.v1.AzureClusterError.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.AzureClusterError.getDefaultInstance()) return this; if (!other.getMessage().isEmpty()) { message_ = other.message_; bitField0_ |= 0x00000001; @@ -430,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -452,25 +418,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object message_ = ""; /** - * - * *
      * Human-friendly description of the error.
      * 
* * string message = 1; - * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -479,21 +442,20 @@ public java.lang.String getMessage() { } } /** - * - * *
      * Human-friendly description of the error.
      * 
* * string message = 1; - * * @return The bytes for message. */ - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -501,35 +463,28 @@ public com.google.protobuf.ByteString getMessageBytes() { } } /** - * - * *
      * Human-friendly description of the error.
      * 
* * string message = 1; - * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Human-friendly description of the error.
      * 
* * string message = 1; - * * @return This builder for chaining. */ public Builder clearMessage() { @@ -539,30 +494,26 @@ public Builder clearMessage() { return this; } /** - * - * *
      * Human-friendly description of the error.
      * 
* * string message = 1; - * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -572,12 +523,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureClusterError) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureClusterError) private static final com.google.cloud.gkemulticloud.v1.AzureClusterError DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureClusterError(); } @@ -586,27 +537,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureClusterError getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureClusterError parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureClusterError parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -621,4 +572,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureClusterError getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterErrorOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterErrorOrBuilder.java new file mode 100644 index 000000000000..5efdc0c2ec83 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterErrorOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface AzureClusterErrorOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureClusterError) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Human-friendly description of the error.
+   * 
+ * + * string message = 1; + * @return The message. + */ + java.lang.String getMessage(); + /** + *
+   * Human-friendly description of the error.
+   * 
+ * + * string message = 1; + * @return The bytes for message. + */ + com.google.protobuf.ByteString + getMessageBytes(); +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterGroup.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterGroup.java new file mode 100644 index 000000000000..aac364e91749 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterGroup.java @@ -0,0 +1,577 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +/** + *
+ * Identities of a group-type subject for Azure clusters.
+ * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureClusterGroup} + */ +public final class AzureClusterGroup extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureClusterGroup) + AzureClusterGroupOrBuilder { +private static final long serialVersionUID = 0L; + // Use AzureClusterGroup.newBuilder() to construct. + private AzureClusterGroup(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AzureClusterGroup() { + group_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AzureClusterGroup(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterGroup_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterGroup_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.AzureClusterGroup.class, com.google.cloud.gkemulticloud.v1.AzureClusterGroup.Builder.class); + } + + public static final int GROUP_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object group_ = ""; + /** + *
+   * Required. The name of the group, e.g. `my-group@domain.com`.
+   * 
+ * + * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The group. + */ + @java.lang.Override + public java.lang.String getGroup() { + java.lang.Object ref = group_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + group_ = s; + return s; + } + } + /** + *
+   * Required. The name of the group, e.g. `my-group@domain.com`.
+   * 
+ * + * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for group. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getGroupBytes() { + java.lang.Object ref = group_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + group_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(group_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(group_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, group_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureClusterGroup)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.AzureClusterGroup other = (com.google.cloud.gkemulticloud.v1.AzureClusterGroup) obj; + + if (!getGroup() + .equals(other.getGroup())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + GROUP_FIELD_NUMBER; + hash = (53 * hash) + getGroup().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.AzureClusterGroup parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AzureClusterGroup parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AzureClusterGroup parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AzureClusterGroup parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AzureClusterGroup parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AzureClusterGroup parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AzureClusterGroup parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.AzureClusterGroup parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.AzureClusterGroup parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.AzureClusterGroup parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AzureClusterGroup parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.AzureClusterGroup parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureClusterGroup prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Identities of a group-type subject for Azure clusters.
+   * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureClusterGroup} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureClusterGroup) + com.google.cloud.gkemulticloud.v1.AzureClusterGroupOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterGroup_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterGroup_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.AzureClusterGroup.class, com.google.cloud.gkemulticloud.v1.AzureClusterGroup.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.AzureClusterGroup.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + group_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterGroup_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureClusterGroup getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.AzureClusterGroup.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureClusterGroup build() { + com.google.cloud.gkemulticloud.v1.AzureClusterGroup result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureClusterGroup buildPartial() { + com.google.cloud.gkemulticloud.v1.AzureClusterGroup result = new com.google.cloud.gkemulticloud.v1.AzureClusterGroup(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureClusterGroup result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.group_ = group_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.AzureClusterGroup) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureClusterGroup)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureClusterGroup other) { + if (other == com.google.cloud.gkemulticloud.v1.AzureClusterGroup.getDefaultInstance()) return this; + if (!other.getGroup().isEmpty()) { + group_ = other.group_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + group_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object group_ = ""; + /** + *
+     * Required. The name of the group, e.g. `my-group@domain.com`.
+     * 
+ * + * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The group. + */ + public java.lang.String getGroup() { + java.lang.Object ref = group_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + group_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The name of the group, e.g. `my-group@domain.com`.
+     * 
+ * + * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for group. + */ + public com.google.protobuf.ByteString + getGroupBytes() { + java.lang.Object ref = group_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + group_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The name of the group, e.g. `my-group@domain.com`.
+     * 
+ * + * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param value The group to set. + * @return This builder for chaining. + */ + public Builder setGroup( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + group_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Required. The name of the group, e.g. `my-group@domain.com`.
+     * 
+ * + * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearGroup() { + group_ = getDefaultInstance().getGroup(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     * Required. The name of the group, e.g. `my-group@domain.com`.
+     * 
+ * + * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for group to set. + * @return This builder for chaining. + */ + public Builder setGroupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + group_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureClusterGroup) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureClusterGroup) + private static final com.google.cloud.gkemulticloud.v1.AzureClusterGroup DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureClusterGroup(); + } + + public static com.google.cloud.gkemulticloud.v1.AzureClusterGroup getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureClusterGroup parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureClusterGroup getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterGroupOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterGroupOrBuilder.java new file mode 100644 index 000000000000..3c71bb5692d7 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterGroupOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface AzureClusterGroupOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureClusterGroup) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the group, e.g. `my-group@domain.com`.
+   * 
+ * + * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The group. + */ + java.lang.String getGroup(); + /** + *
+   * Required. The name of the group, e.g. `my-group@domain.com`.
+   * 
+ * + * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for group. + */ + com.google.protobuf.ByteString + getGroupBytes(); +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterName.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterName.java similarity index 100% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterName.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterName.java diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworking.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworking.java similarity index 73% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworking.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworking.java index c4b67b7e7715..b0c80c46e384 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworking.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworking.java @@ -1,77 +1,57 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * ClusterNetworking contains cluster-wide networking configuration.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureClusterNetworking} */ -public final class AzureClusterNetworking extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AzureClusterNetworking extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureClusterNetworking) AzureClusterNetworkingOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AzureClusterNetworking.newBuilder() to construct. private AzureClusterNetworking(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AzureClusterNetworking() { virtualNetworkId_ = ""; - podAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList(); - serviceAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList(); + podAddressCidrBlocks_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + serviceAddressCidrBlocks_ = + com.google.protobuf.LazyStringArrayList.emptyList(); serviceLoadBalancerSubnetId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AzureClusterNetworking(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.class, - com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.class, com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.Builder.class); } public static final int VIRTUAL_NETWORK_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object virtualNetworkId_ = ""; /** - * - * *
    * Required. The Azure Resource Manager (ARM) ID of the VNet associated with
    * your cluster.
@@ -86,7 +66,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string virtual_network_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The virtualNetworkId. */ @java.lang.Override @@ -95,15 +74,14 @@ public java.lang.String getVirtualNetworkId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); virtualNetworkId_ = s; return s; } } /** - * - * *
    * Required. The Azure Resource Manager (ARM) ID of the VNet associated with
    * your cluster.
@@ -118,15 +96,16 @@ public java.lang.String getVirtualNetworkId() {
    * 
* * string virtual_network_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for virtualNetworkId. */ @java.lang.Override - public com.google.protobuf.ByteString getVirtualNetworkIdBytes() { + public com.google.protobuf.ByteString + getVirtualNetworkIdBytes() { java.lang.Object ref = virtualNetworkId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); virtualNetworkId_ = b; return b; } else { @@ -135,13 +114,10 @@ public com.google.protobuf.ByteString getVirtualNetworkIdBytes() { } public static final int POD_ADDRESS_CIDR_BLOCKS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList podAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Required. The IP address range of the pods in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -152,17 +128,14 @@ public com.google.protobuf.ByteString getVirtualNetworkIdBytes() {
    * This field cannot be changed after creation.
    * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the podAddressCidrBlocks. */ - public com.google.protobuf.ProtocolStringList getPodAddressCidrBlocksList() { + public com.google.protobuf.ProtocolStringList + getPodAddressCidrBlocksList() { return podAddressCidrBlocks_; } /** - * - * *
    * Required. The IP address range of the pods in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -173,17 +146,13 @@ public com.google.protobuf.ProtocolStringList getPodAddressCidrBlocksList() {
    * This field cannot be changed after creation.
    * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of podAddressCidrBlocks. */ public int getPodAddressCidrBlocksCount() { return podAddressCidrBlocks_.size(); } /** - * - * *
    * Required. The IP address range of the pods in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -194,9 +163,7 @@ public int getPodAddressCidrBlocksCount() {
    * This field cannot be changed after creation.
    * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The podAddressCidrBlocks at the given index. */ @@ -204,8 +171,6 @@ public java.lang.String getPodAddressCidrBlocks(int index) { return podAddressCidrBlocks_.get(index); } /** - * - * *
    * Required. The IP address range of the pods in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -216,24 +181,20 @@ public java.lang.String getPodAddressCidrBlocks(int index) {
    * This field cannot be changed after creation.
    * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The bytes of the podAddressCidrBlocks at the given index. */ - public com.google.protobuf.ByteString getPodAddressCidrBlocksBytes(int index) { + public com.google.protobuf.ByteString + getPodAddressCidrBlocksBytes(int index) { return podAddressCidrBlocks_.getByteString(index); } public static final int SERVICE_ADDRESS_CIDR_BLOCKS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList serviceAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Required. The IP address range for services in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -244,18 +205,14 @@ public com.google.protobuf.ByteString getPodAddressCidrBlocksBytes(int index) {
    * This field cannot be changed after creating a cluster.
    * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the serviceAddressCidrBlocks. */ - public com.google.protobuf.ProtocolStringList getServiceAddressCidrBlocksList() { + public com.google.protobuf.ProtocolStringList + getServiceAddressCidrBlocksList() { return serviceAddressCidrBlocks_; } /** - * - * *
    * Required. The IP address range for services in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -266,18 +223,13 @@ public com.google.protobuf.ProtocolStringList getServiceAddressCidrBlocksList()
    * This field cannot be changed after creating a cluster.
    * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The count of serviceAddressCidrBlocks. */ public int getServiceAddressCidrBlocksCount() { return serviceAddressCidrBlocks_.size(); } /** - * - * *
    * Required. The IP address range for services in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -288,10 +240,7 @@ public int getServiceAddressCidrBlocksCount() {
    * This field cannot be changed after creating a cluster.
    * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The serviceAddressCidrBlocks at the given index. */ @@ -299,8 +248,6 @@ public java.lang.String getServiceAddressCidrBlocks(int index) { return serviceAddressCidrBlocks_.get(index); } /** - * - * *
    * Required. The IP address range for services in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -311,24 +258,19 @@ public java.lang.String getServiceAddressCidrBlocks(int index) {
    * This field cannot be changed after creating a cluster.
    * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The bytes of the serviceAddressCidrBlocks at the given index. */ - public com.google.protobuf.ByteString getServiceAddressCidrBlocksBytes(int index) { + public com.google.protobuf.ByteString + getServiceAddressCidrBlocksBytes(int index) { return serviceAddressCidrBlocks_.getByteString(index); } public static final int SERVICE_LOAD_BALANCER_SUBNET_ID_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object serviceLoadBalancerSubnetId_ = ""; /** - * - * *
    * Optional. The ARM ID of the subnet where Kubernetes private service type
    * load balancers are deployed. When unspecified, it defaults to
@@ -338,9 +280,7 @@ public com.google.protobuf.ByteString getServiceAddressCidrBlocksBytes(int index
    * "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid456"
    * 
* - * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The serviceLoadBalancerSubnetId. */ @java.lang.Override @@ -349,15 +289,14 @@ public java.lang.String getServiceLoadBalancerSubnetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceLoadBalancerSubnetId_ = s; return s; } } /** - * - * *
    * Optional. The ARM ID of the subnet where Kubernetes private service type
    * load balancers are deployed. When unspecified, it defaults to
@@ -367,17 +306,17 @@ public java.lang.String getServiceLoadBalancerSubnetId() {
    * "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid456"
    * 
* - * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The bytes for serviceLoadBalancerSubnetId. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceLoadBalancerSubnetIdBytes() { + public com.google.protobuf.ByteString + getServiceLoadBalancerSubnetIdBytes() { java.lang.Object ref = serviceLoadBalancerSubnetId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceLoadBalancerSubnetId_ = b; return b; } else { @@ -386,7 +325,6 @@ public com.google.protobuf.ByteString getServiceLoadBalancerSubnetIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -398,17 +336,16 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(virtualNetworkId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, virtualNetworkId_); } for (int i = 0; i < podAddressCidrBlocks_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 2, podAddressCidrBlocks_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, podAddressCidrBlocks_.getRaw(i)); } for (int i = 0; i < serviceAddressCidrBlocks_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 3, serviceAddressCidrBlocks_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, serviceAddressCidrBlocks_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceLoadBalancerSubnetId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, serviceLoadBalancerSubnetId_); @@ -442,8 +379,7 @@ public int getSerializedSize() { size += 1 * getServiceAddressCidrBlocksList().size(); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceLoadBalancerSubnetId_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(5, serviceLoadBalancerSubnetId_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, serviceLoadBalancerSubnetId_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -453,20 +389,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureClusterNetworking)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureClusterNetworking other = - (com.google.cloud.gkemulticloud.v1.AzureClusterNetworking) obj; + com.google.cloud.gkemulticloud.v1.AzureClusterNetworking other = (com.google.cloud.gkemulticloud.v1.AzureClusterNetworking) obj; - if (!getVirtualNetworkId().equals(other.getVirtualNetworkId())) return false; - if (!getPodAddressCidrBlocksList().equals(other.getPodAddressCidrBlocksList())) return false; - if (!getServiceAddressCidrBlocksList().equals(other.getServiceAddressCidrBlocksList())) - return false; - if (!getServiceLoadBalancerSubnetId().equals(other.getServiceLoadBalancerSubnetId())) - return false; + if (!getVirtualNetworkId() + .equals(other.getVirtualNetworkId())) return false; + if (!getPodAddressCidrBlocksList() + .equals(other.getPodAddressCidrBlocksList())) return false; + if (!getServiceAddressCidrBlocksList() + .equals(other.getServiceAddressCidrBlocksList())) return false; + if (!getServiceLoadBalancerSubnetId() + .equals(other.getServiceLoadBalancerSubnetId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -496,151 +433,148 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AzureClusterNetworking parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterNetworking parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterNetworking parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterNetworking parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterNetworking parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterNetworking parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AzureClusterNetworking parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureClusterNetworking parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterNetworking parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterNetworking parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureClusterNetworking parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureClusterNetworking parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterNetworking parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterNetworking parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.AzureClusterNetworking prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureClusterNetworking prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ClusterNetworking contains cluster-wide networking configuration.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureClusterNetworking} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureClusterNetworking) com.google.cloud.gkemulticloud.v1.AzureClusterNetworkingOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.class, - com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.class, com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; virtualNetworkId_ = ""; - podAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList(); - serviceAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList(); + podAddressCidrBlocks_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + serviceAddressCidrBlocks_ = + com.google.protobuf.LazyStringArrayList.emptyList(); serviceLoadBalancerSubnetId_ = ""; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_descriptor; } @java.lang.Override @@ -659,11 +593,8 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterNetworking build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureClusterNetworking buildPartial() { - com.google.cloud.gkemulticloud.v1.AzureClusterNetworking result = - new com.google.cloud.gkemulticloud.v1.AzureClusterNetworking(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.AzureClusterNetworking result = new com.google.cloud.gkemulticloud.v1.AzureClusterNetworking(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -690,39 +621,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureClusterNetwork public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AzureClusterNetworking) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureClusterNetworking) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureClusterNetworking)other); } else { super.mergeFrom(other); return this; @@ -730,8 +660,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureClusterNetworking other) { - if (other == com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.getDefaultInstance()) return this; if (!other.getVirtualNetworkId().isEmpty()) { virtualNetworkId_ = other.virtualNetworkId_; bitField0_ |= 0x00000001; @@ -788,39 +717,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - virtualNetworkId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensurePodAddressCidrBlocksIsMutable(); - podAddressCidrBlocks_.add(s); - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureServiceAddressCidrBlocksIsMutable(); - serviceAddressCidrBlocks_.add(s); - break; - } // case 26 - case 42: - { - serviceLoadBalancerSubnetId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + virtualNetworkId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensurePodAddressCidrBlocksIsMutable(); + podAddressCidrBlocks_.add(s); + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureServiceAddressCidrBlocksIsMutable(); + serviceAddressCidrBlocks_.add(s); + break; + } // case 26 + case 42: { + serviceLoadBalancerSubnetId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -830,13 +754,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object virtualNetworkId_ = ""; /** - * - * *
      * Required. The Azure Resource Manager (ARM) ID of the VNet associated with
      * your cluster.
@@ -851,13 +772,13 @@ public Builder mergeFrom(
      * 
* * string virtual_network_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The virtualNetworkId. */ public java.lang.String getVirtualNetworkId() { java.lang.Object ref = virtualNetworkId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); virtualNetworkId_ = s; return s; @@ -866,8 +787,6 @@ public java.lang.String getVirtualNetworkId() { } } /** - * - * *
      * Required. The Azure Resource Manager (ARM) ID of the VNet associated with
      * your cluster.
@@ -882,14 +801,15 @@ public java.lang.String getVirtualNetworkId() {
      * 
* * string virtual_network_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for virtualNetworkId. */ - public com.google.protobuf.ByteString getVirtualNetworkIdBytes() { + public com.google.protobuf.ByteString + getVirtualNetworkIdBytes() { java.lang.Object ref = virtualNetworkId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); virtualNetworkId_ = b; return b; } else { @@ -897,8 +817,6 @@ public com.google.protobuf.ByteString getVirtualNetworkIdBytes() { } } /** - * - * *
      * Required. The Azure Resource Manager (ARM) ID of the VNet associated with
      * your cluster.
@@ -913,22 +831,18 @@ public com.google.protobuf.ByteString getVirtualNetworkIdBytes() {
      * 
* * string virtual_network_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The virtualNetworkId to set. * @return This builder for chaining. */ - public Builder setVirtualNetworkId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVirtualNetworkId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } virtualNetworkId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The Azure Resource Manager (ARM) ID of the VNet associated with
      * your cluster.
@@ -943,7 +857,6 @@ public Builder setVirtualNetworkId(java.lang.String value) {
      * 
* * string virtual_network_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearVirtualNetworkId() { @@ -953,8 +866,6 @@ public Builder clearVirtualNetworkId() { return this; } /** - * - * *
      * Required. The Azure Resource Manager (ARM) ID of the VNet associated with
      * your cluster.
@@ -969,14 +880,12 @@ public Builder clearVirtualNetworkId() {
      * 
* * string virtual_network_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for virtualNetworkId to set. * @return This builder for chaining. */ - public Builder setVirtualNetworkIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVirtualNetworkIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); virtualNetworkId_ = value; bitField0_ |= 0x00000001; @@ -986,7 +895,6 @@ public Builder setVirtualNetworkIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList podAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensurePodAddressCidrBlocksIsMutable() { if (!podAddressCidrBlocks_.isModifiable()) { podAddressCidrBlocks_ = new com.google.protobuf.LazyStringArrayList(podAddressCidrBlocks_); @@ -994,8 +902,6 @@ private void ensurePodAddressCidrBlocksIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
      * Required. The IP address range of the pods in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1006,18 +912,15 @@ private void ensurePodAddressCidrBlocksIsMutable() {
      * This field cannot be changed after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the podAddressCidrBlocks. */ - public com.google.protobuf.ProtocolStringList getPodAddressCidrBlocksList() { + public com.google.protobuf.ProtocolStringList + getPodAddressCidrBlocksList() { podAddressCidrBlocks_.makeImmutable(); return podAddressCidrBlocks_; } /** - * - * *
      * Required. The IP address range of the pods in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1028,17 +931,13 @@ public com.google.protobuf.ProtocolStringList getPodAddressCidrBlocksList() {
      * This field cannot be changed after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of podAddressCidrBlocks. */ public int getPodAddressCidrBlocksCount() { return podAddressCidrBlocks_.size(); } /** - * - * *
      * Required. The IP address range of the pods in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1049,9 +948,7 @@ public int getPodAddressCidrBlocksCount() {
      * This field cannot be changed after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The podAddressCidrBlocks at the given index. */ @@ -1059,8 +956,6 @@ public java.lang.String getPodAddressCidrBlocks(int index) { return podAddressCidrBlocks_.get(index); } /** - * - * *
      * Required. The IP address range of the pods in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1071,18 +966,15 @@ public java.lang.String getPodAddressCidrBlocks(int index) {
      * This field cannot be changed after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The bytes of the podAddressCidrBlocks at the given index. */ - public com.google.protobuf.ByteString getPodAddressCidrBlocksBytes(int index) { + public com.google.protobuf.ByteString + getPodAddressCidrBlocksBytes(int index) { return podAddressCidrBlocks_.getByteString(index); } /** - * - * *
      * Required. The IP address range of the pods in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1093,17 +985,14 @@ public com.google.protobuf.ByteString getPodAddressCidrBlocksBytes(int index) {
      * This field cannot be changed after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index to set the value at. * @param value The podAddressCidrBlocks to set. * @return This builder for chaining. */ - public Builder setPodAddressCidrBlocks(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPodAddressCidrBlocks( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensurePodAddressCidrBlocksIsMutable(); podAddressCidrBlocks_.set(index, value); bitField0_ |= 0x00000002; @@ -1111,8 +1000,6 @@ public Builder setPodAddressCidrBlocks(int index, java.lang.String value) { return this; } /** - * - * *
      * Required. The IP address range of the pods in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1123,16 +1010,13 @@ public Builder setPodAddressCidrBlocks(int index, java.lang.String value) {
      * This field cannot be changed after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The podAddressCidrBlocks to add. * @return This builder for chaining. */ - public Builder addPodAddressCidrBlocks(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addPodAddressCidrBlocks( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensurePodAddressCidrBlocksIsMutable(); podAddressCidrBlocks_.add(value); bitField0_ |= 0x00000002; @@ -1140,8 +1024,6 @@ public Builder addPodAddressCidrBlocks(java.lang.String value) { return this; } /** - * - * *
      * Required. The IP address range of the pods in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1152,22 +1034,20 @@ public Builder addPodAddressCidrBlocks(java.lang.String value) {
      * This field cannot be changed after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @param values The podAddressCidrBlocks to add. * @return This builder for chaining. */ - public Builder addAllPodAddressCidrBlocks(java.lang.Iterable values) { + public Builder addAllPodAddressCidrBlocks( + java.lang.Iterable values) { ensurePodAddressCidrBlocksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, podAddressCidrBlocks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, podAddressCidrBlocks_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The IP address range of the pods in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1178,21 +1058,17 @@ public Builder addAllPodAddressCidrBlocks(java.lang.Iterable v
      * This field cannot be changed after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearPodAddressCidrBlocks() { - podAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + podAddressCidrBlocks_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
      * Required. The IP address range of the pods in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1203,16 +1079,13 @@ public Builder clearPodAddressCidrBlocks() {
      * This field cannot be changed after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The bytes of the podAddressCidrBlocks to add. * @return This builder for chaining. */ - public Builder addPodAddressCidrBlocksBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addPodAddressCidrBlocksBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePodAddressCidrBlocksIsMutable(); podAddressCidrBlocks_.add(value); @@ -1223,17 +1096,13 @@ public Builder addPodAddressCidrBlocksBytes(com.google.protobuf.ByteString value private com.google.protobuf.LazyStringArrayList serviceAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureServiceAddressCidrBlocksIsMutable() { if (!serviceAddressCidrBlocks_.isModifiable()) { - serviceAddressCidrBlocks_ = - new com.google.protobuf.LazyStringArrayList(serviceAddressCidrBlocks_); + serviceAddressCidrBlocks_ = new com.google.protobuf.LazyStringArrayList(serviceAddressCidrBlocks_); } bitField0_ |= 0x00000004; } /** - * - * *
      * Required. The IP address range for services in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1244,19 +1113,15 @@ private void ensureServiceAddressCidrBlocksIsMutable() {
      * This field cannot be changed after creating a cluster.
      * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the serviceAddressCidrBlocks. */ - public com.google.protobuf.ProtocolStringList getServiceAddressCidrBlocksList() { + public com.google.protobuf.ProtocolStringList + getServiceAddressCidrBlocksList() { serviceAddressCidrBlocks_.makeImmutable(); return serviceAddressCidrBlocks_; } /** - * - * *
      * Required. The IP address range for services in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1267,18 +1132,13 @@ public com.google.protobuf.ProtocolStringList getServiceAddressCidrBlocksList()
      * This field cannot be changed after creating a cluster.
      * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The count of serviceAddressCidrBlocks. */ public int getServiceAddressCidrBlocksCount() { return serviceAddressCidrBlocks_.size(); } /** - * - * *
      * Required. The IP address range for services in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1289,10 +1149,7 @@ public int getServiceAddressCidrBlocksCount() {
      * This field cannot be changed after creating a cluster.
      * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The serviceAddressCidrBlocks at the given index. */ @@ -1300,8 +1157,6 @@ public java.lang.String getServiceAddressCidrBlocks(int index) { return serviceAddressCidrBlocks_.get(index); } /** - * - * *
      * Required. The IP address range for services in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1312,19 +1167,15 @@ public java.lang.String getServiceAddressCidrBlocks(int index) {
      * This field cannot be changed after creating a cluster.
      * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The bytes of the serviceAddressCidrBlocks at the given index. */ - public com.google.protobuf.ByteString getServiceAddressCidrBlocksBytes(int index) { + public com.google.protobuf.ByteString + getServiceAddressCidrBlocksBytes(int index) { return serviceAddressCidrBlocks_.getByteString(index); } /** - * - * *
      * Required. The IP address range for services in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1335,18 +1186,14 @@ public com.google.protobuf.ByteString getServiceAddressCidrBlocksBytes(int index
      * This field cannot be changed after creating a cluster.
      * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @param index The index to set the value at. * @param value The serviceAddressCidrBlocks to set. * @return This builder for chaining. */ - public Builder setServiceAddressCidrBlocks(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setServiceAddressCidrBlocks( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureServiceAddressCidrBlocksIsMutable(); serviceAddressCidrBlocks_.set(index, value); bitField0_ |= 0x00000004; @@ -1354,8 +1201,6 @@ public Builder setServiceAddressCidrBlocks(int index, java.lang.String value) { return this; } /** - * - * *
      * Required. The IP address range for services in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1366,17 +1211,13 @@ public Builder setServiceAddressCidrBlocks(int index, java.lang.String value) {
      * This field cannot be changed after creating a cluster.
      * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The serviceAddressCidrBlocks to add. * @return This builder for chaining. */ - public Builder addServiceAddressCidrBlocks(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addServiceAddressCidrBlocks( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureServiceAddressCidrBlocksIsMutable(); serviceAddressCidrBlocks_.add(value); bitField0_ |= 0x00000004; @@ -1384,8 +1225,6 @@ public Builder addServiceAddressCidrBlocks(java.lang.String value) { return this; } /** - * - * *
      * Required. The IP address range for services in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1396,23 +1235,20 @@ public Builder addServiceAddressCidrBlocks(java.lang.String value) {
      * This field cannot be changed after creating a cluster.
      * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @param values The serviceAddressCidrBlocks to add. * @return This builder for chaining. */ - public Builder addAllServiceAddressCidrBlocks(java.lang.Iterable values) { + public Builder addAllServiceAddressCidrBlocks( + java.lang.Iterable values) { ensureServiceAddressCidrBlocksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, serviceAddressCidrBlocks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, serviceAddressCidrBlocks_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The IP address range for services in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1423,22 +1259,17 @@ public Builder addAllServiceAddressCidrBlocks(java.lang.Iterable
      *
-     * 
-     * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED];
-     * 
-     *
+     * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED];
      * @return This builder for chaining.
      */
     public Builder clearServiceAddressCidrBlocks() {
-      serviceAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList();
-      bitField0_ = (bitField0_ & ~0x00000004);
-      ;
+      serviceAddressCidrBlocks_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
+      bitField0_ = (bitField0_ & ~0x00000004);;
       onChanged();
       return this;
     }
     /**
-     *
-     *
      * 
      * Required. The IP address range for services in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1449,17 +1280,13 @@ public Builder clearServiceAddressCidrBlocks() {
      * This field cannot be changed after creating a cluster.
      * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The bytes of the serviceAddressCidrBlocks to add. * @return This builder for chaining. */ - public Builder addServiceAddressCidrBlocksBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addServiceAddressCidrBlocksBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureServiceAddressCidrBlocksIsMutable(); serviceAddressCidrBlocks_.add(value); @@ -1470,8 +1297,6 @@ public Builder addServiceAddressCidrBlocksBytes(com.google.protobuf.ByteString v private java.lang.Object serviceLoadBalancerSubnetId_ = ""; /** - * - * *
      * Optional. The ARM ID of the subnet where Kubernetes private service type
      * load balancers are deployed. When unspecified, it defaults to
@@ -1481,15 +1306,14 @@ public Builder addServiceAddressCidrBlocksBytes(com.google.protobuf.ByteString v
      * "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid456"
      * 
* - * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The serviceLoadBalancerSubnetId. */ public java.lang.String getServiceLoadBalancerSubnetId() { java.lang.Object ref = serviceLoadBalancerSubnetId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceLoadBalancerSubnetId_ = s; return s; @@ -1498,8 +1322,6 @@ public java.lang.String getServiceLoadBalancerSubnetId() { } } /** - * - * *
      * Optional. The ARM ID of the subnet where Kubernetes private service type
      * load balancers are deployed. When unspecified, it defaults to
@@ -1509,16 +1331,16 @@ public java.lang.String getServiceLoadBalancerSubnetId() {
      * "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid456"
      * 
* - * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The bytes for serviceLoadBalancerSubnetId. */ - public com.google.protobuf.ByteString getServiceLoadBalancerSubnetIdBytes() { + public com.google.protobuf.ByteString + getServiceLoadBalancerSubnetIdBytes() { java.lang.Object ref = serviceLoadBalancerSubnetId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceLoadBalancerSubnetId_ = b; return b; } else { @@ -1526,8 +1348,6 @@ public com.google.protobuf.ByteString getServiceLoadBalancerSubnetIdBytes() { } } /** - * - * *
      * Optional. The ARM ID of the subnet where Kubernetes private service type
      * load balancers are deployed. When unspecified, it defaults to
@@ -1537,24 +1357,19 @@ public com.google.protobuf.ByteString getServiceLoadBalancerSubnetIdBytes() {
      * "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid456"
      * 
* - * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param value The serviceLoadBalancerSubnetId to set. * @return This builder for chaining. */ - public Builder setServiceLoadBalancerSubnetId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setServiceLoadBalancerSubnetId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } serviceLoadBalancerSubnetId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. The ARM ID of the subnet where Kubernetes private service type
      * load balancers are deployed. When unspecified, it defaults to
@@ -1564,9 +1379,7 @@ public Builder setServiceLoadBalancerSubnetId(java.lang.String value) {
      * "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid456"
      * 
* - * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearServiceLoadBalancerSubnetId() { @@ -1576,8 +1389,6 @@ public Builder clearServiceLoadBalancerSubnetId() { return this; } /** - * - * *
      * Optional. The ARM ID of the subnet where Kubernetes private service type
      * load balancers are deployed. When unspecified, it defaults to
@@ -1587,25 +1398,22 @@ public Builder clearServiceLoadBalancerSubnetId() {
      * "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid456"
      * 
* - * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param value The bytes for serviceLoadBalancerSubnetId to set. * @return This builder for chaining. */ - public Builder setServiceLoadBalancerSubnetIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setServiceLoadBalancerSubnetIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); serviceLoadBalancerSubnetId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1615,12 +1423,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureClusterNetworking) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureClusterNetworking) private static final com.google.cloud.gkemulticloud.v1.AzureClusterNetworking DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureClusterNetworking(); } @@ -1629,27 +1437,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureClusterNetworking getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureClusterNetworking parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureClusterNetworking parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1664,4 +1472,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureClusterNetworking getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworkingOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworkingOrBuilder.java similarity index 76% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworkingOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworkingOrBuilder.java index 0503b11f660f..3ef954ff0ea2 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworkingOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworkingOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureClusterNetworkingOrBuilder - extends +public interface AzureClusterNetworkingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureClusterNetworking) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The Azure Resource Manager (ARM) ID of the VNet associated with
    * your cluster.
@@ -40,13 +22,10 @@ public interface AzureClusterNetworkingOrBuilder
    * 
* * string virtual_network_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The virtualNetworkId. */ java.lang.String getVirtualNetworkId(); /** - * - * *
    * Required. The Azure Resource Manager (ARM) ID of the VNet associated with
    * your cluster.
@@ -61,14 +40,12 @@ public interface AzureClusterNetworkingOrBuilder
    * 
* * string virtual_network_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for virtualNetworkId. */ - com.google.protobuf.ByteString getVirtualNetworkIdBytes(); + com.google.protobuf.ByteString + getVirtualNetworkIdBytes(); /** - * - * *
    * Required. The IP address range of the pods in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -79,15 +56,12 @@ public interface AzureClusterNetworkingOrBuilder
    * This field cannot be changed after creation.
    * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the podAddressCidrBlocks. */ - java.util.List getPodAddressCidrBlocksList(); + java.util.List + getPodAddressCidrBlocksList(); /** - * - * *
    * Required. The IP address range of the pods in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -98,15 +72,11 @@ public interface AzureClusterNetworkingOrBuilder
    * This field cannot be changed after creation.
    * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of podAddressCidrBlocks. */ int getPodAddressCidrBlocksCount(); /** - * - * *
    * Required. The IP address range of the pods in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -117,16 +87,12 @@ public interface AzureClusterNetworkingOrBuilder
    * This field cannot be changed after creation.
    * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The podAddressCidrBlocks at the given index. */ java.lang.String getPodAddressCidrBlocks(int index); /** - * - * *
    * Required. The IP address range of the pods in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -137,17 +103,14 @@ public interface AzureClusterNetworkingOrBuilder
    * This field cannot be changed after creation.
    * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The bytes of the podAddressCidrBlocks at the given index. */ - com.google.protobuf.ByteString getPodAddressCidrBlocksBytes(int index); + com.google.protobuf.ByteString + getPodAddressCidrBlocksBytes(int index); /** - * - * *
    * Required. The IP address range for services in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -158,16 +121,12 @@ public interface AzureClusterNetworkingOrBuilder
    * This field cannot be changed after creating a cluster.
    * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the serviceAddressCidrBlocks. */ - java.util.List getServiceAddressCidrBlocksList(); + java.util.List + getServiceAddressCidrBlocksList(); /** - * - * *
    * Required. The IP address range for services in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -178,16 +137,11 @@ public interface AzureClusterNetworkingOrBuilder
    * This field cannot be changed after creating a cluster.
    * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The count of serviceAddressCidrBlocks. */ int getServiceAddressCidrBlocksCount(); /** - * - * *
    * Required. The IP address range for services in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -198,17 +152,12 @@ public interface AzureClusterNetworkingOrBuilder
    * This field cannot be changed after creating a cluster.
    * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The serviceAddressCidrBlocks at the given index. */ java.lang.String getServiceAddressCidrBlocks(int index); /** - * - * *
    * Required. The IP address range for services in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -219,18 +168,14 @@ public interface AzureClusterNetworkingOrBuilder
    * This field cannot be changed after creating a cluster.
    * 
* - * - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The bytes of the serviceAddressCidrBlocks at the given index. */ - com.google.protobuf.ByteString getServiceAddressCidrBlocksBytes(int index); + com.google.protobuf.ByteString + getServiceAddressCidrBlocksBytes(int index); /** - * - * *
    * Optional. The ARM ID of the subnet where Kubernetes private service type
    * load balancers are deployed. When unspecified, it defaults to
@@ -240,15 +185,11 @@ public interface AzureClusterNetworkingOrBuilder
    * "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid456"
    * 
* - * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The serviceLoadBalancerSubnetId. */ java.lang.String getServiceLoadBalancerSubnetId(); /** - * - * *
    * Optional. The ARM ID of the subnet where Kubernetes private service type
    * load balancers are deployed. When unspecified, it defaults to
@@ -258,10 +199,9 @@ public interface AzureClusterNetworkingOrBuilder
    * "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid456"
    * 
* - * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The bytes for serviceLoadBalancerSubnetId. */ - com.google.protobuf.ByteString getServiceLoadBalancerSubnetIdBytes(); + com.google.protobuf.ByteString + getServiceLoadBalancerSubnetIdBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterOrBuilder.java similarity index 69% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterOrBuilder.java index 483261ca5dde..4504f119033b 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureClusterOrBuilder - extends +public interface AzureClusterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureCluster) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of this resource.
    *
@@ -37,13 +19,10 @@ public interface AzureClusterOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of this resource.
    *
@@ -55,41 +34,34 @@ public interface AzureClusterOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. A human readable description of this cluster.
    * Cannot be longer than 255 UTF-8 encoded bytes.
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. A human readable description of this cluster.
    * Cannot be longer than 255 UTF-8 encoded bytes.
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Required. The Azure region where the cluster runs.
    *
@@ -100,13 +72,10 @@ public interface AzureClusterOrBuilder
    * 
* * string azure_region = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The azureRegion. */ java.lang.String getAzureRegion(); /** - * - * *
    * Required. The Azure region where the cluster runs.
    *
@@ -117,14 +86,12 @@ public interface AzureClusterOrBuilder
    * 
* * string azure_region = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for azureRegion. */ - com.google.protobuf.ByteString getAzureRegionBytes(); + com.google.protobuf.ByteString + getAzureRegionBytes(); /** - * - * *
    * Required. The ARM ID of the resource group where the cluster resources are
    * deployed. For example:
@@ -132,13 +99,10 @@ public interface AzureClusterOrBuilder
    * 
* * string resource_group_id = 17 [(.google.api.field_behavior) = REQUIRED]; - * * @return The resourceGroupId. */ java.lang.String getResourceGroupId(); /** - * - * *
    * Required. The ARM ID of the resource group where the cluster resources are
    * deployed. For example:
@@ -146,20 +110,20 @@ public interface AzureClusterOrBuilder
    * 
* * string resource_group_id = 17 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for resourceGroupId. */ - com.google.protobuf.ByteString getResourceGroupIdBytes(); + com.google.protobuf.ByteString + getResourceGroupIdBytes(); /** - * - * *
    * Optional. Name of the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains
    * authentication configuration for how the Anthos Multi-Cloud API connects to
    * Azure APIs.
    *
+   * Either azure_client or azure_services_authentication should be provided.
+   *
    * The `AzureClient` resource must reside on the same Google Cloud Platform
    * project and region as the `AzureCluster`.
    *
@@ -171,19 +135,18 @@ public interface AzureClusterOrBuilder
    * 
* * string azure_client = 16 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The azureClient. */ java.lang.String getAzureClient(); /** - * - * *
    * Optional. Name of the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains
    * authentication configuration for how the Anthos Multi-Cloud API connects to
    * Azure APIs.
    *
+   * Either azure_client or azure_services_authentication should be provided.
+   *
    * The `AzureClient` resource must reside on the same Google Cloud Platform
    * project and region as the `AzureCluster`.
    *
@@ -195,347 +158,249 @@ public interface AzureClusterOrBuilder
    * 
* * string azure_client = 16 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for azureClient. */ - com.google.protobuf.ByteString getAzureClientBytes(); + com.google.protobuf.ByteString + getAzureClientBytes(); /** - * - * *
    * Required. Cluster-wide networking configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the networking field is set. */ boolean hasNetworking(); /** - * - * *
    * Required. Cluster-wide networking configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The networking. */ com.google.cloud.gkemulticloud.v1.AzureClusterNetworking getNetworking(); /** - * - * *
    * Required. Cluster-wide networking configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gkemulticloud.v1.AzureClusterNetworkingOrBuilder getNetworkingOrBuilder(); /** - * - * *
    * Required. Configuration related to the cluster control plane.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the controlPlane field is set. */ boolean hasControlPlane(); /** - * - * *
    * Required. Configuration related to the cluster control plane.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The controlPlane. */ com.google.cloud.gkemulticloud.v1.AzureControlPlane getControlPlane(); /** - * - * *
    * Required. Configuration related to the cluster control plane.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gkemulticloud.v1.AzureControlPlaneOrBuilder getControlPlaneOrBuilder(); /** - * - * *
    * Required. Configuration related to the cluster RBAC settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the authorization field is set. */ boolean hasAuthorization(); /** - * - * *
    * Required. Configuration related to the cluster RBAC settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The authorization. */ com.google.cloud.gkemulticloud.v1.AzureAuthorization getAuthorization(); /** - * - * *
    * Required. Configuration related to the cluster RBAC settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gkemulticloud.v1.AzureAuthorizationOrBuilder getAuthorizationOrBuilder(); /** - * - * *
    * Optional. Authentication configuration for management of Azure resources.
-   * 
* - * - * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; - * + * Either azure_client or azure_services_authentication should be provided. + *
* + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the azureServicesAuthentication field is set. */ boolean hasAzureServicesAuthentication(); /** - * - * *
    * Optional. Authentication configuration for management of Azure resources.
-   * 
* - * - * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; - * + * Either azure_client or azure_services_authentication should be provided. + *
* + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; * @return The azureServicesAuthentication. */ com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication getAzureServicesAuthentication(); /** - * - * *
    * Optional. Authentication configuration for management of Azure resources.
+   *
+   * Either azure_client or azure_services_authentication should be provided.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder - getAzureServicesAuthenticationOrBuilder(); + com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder getAzureServicesAuthenticationOrBuilder(); /** - * - * *
    * Output only. The current state of the cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current state of the cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.gkemulticloud.v1.AzureCluster.State getState(); /** - * - * *
    * Output only. The endpoint of the cluster's API server.
    * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The endpoint. */ java.lang.String getEndpoint(); /** - * - * *
    * Output only. The endpoint of the cluster's API server.
    * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for endpoint. */ - com.google.protobuf.ByteString getEndpointBytes(); + com.google.protobuf.ByteString + getEndpointBytes(); /** - * - * *
    * Output only. A globally unique identifier for the cluster.
    * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. A globally unique identifier for the cluster.
    * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Output only. If set, there are currently changes in flight to the cluster.
    * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ boolean getReconciling(); /** - * - * *
    * Output only. The time at which this cluster was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time at which this cluster was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time at which this cluster was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -545,13 +410,10 @@ public interface AzureClusterOrBuilder
    * 
* * string etag = 13; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -561,14 +423,12 @@ public interface AzureClusterOrBuilder
    * 
* * string etag = 13; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Optional. Annotations on the cluster.
    *
@@ -581,13 +441,10 @@ public interface AzureClusterOrBuilder
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; */ int getAnnotationsCount(); /** - * - * *
    * Optional. Annotations on the cluster.
    *
@@ -600,16 +457,17 @@ public interface AzureClusterOrBuilder
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + */ + boolean containsAnnotations( + java.lang.String key); + /** + * Use {@link #getAnnotationsMap()} instead. */ - boolean containsAnnotations(java.lang.String key); - /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Deprecated - java.util.Map getAnnotations(); + java.util.Map + getAnnotations(); /** - * - * *
    * Optional. Annotations on the cluster.
    *
@@ -622,13 +480,11 @@ public interface AzureClusterOrBuilder
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map getAnnotationsMap(); + java.util.Map + getAnnotationsMap(); /** - * - * *
    * Optional. Annotations on the cluster.
    *
@@ -641,17 +497,14 @@ public interface AzureClusterOrBuilder
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ - java.lang.String getAnnotationsOrDefault( +java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Optional. Annotations on the cluster.
    *
@@ -664,301 +517,207 @@ java.lang.String getAnnotationsOrDefault(
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getAnnotationsOrThrow(java.lang.String key); + java.lang.String getAnnotationsOrThrow( + java.lang.String key); /** - * - * *
    * Output only. Workload Identity settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the workloadIdentityConfig field is set. */ boolean hasWorkloadIdentityConfig(); /** - * - * *
    * Output only. Workload Identity settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The workloadIdentityConfig. */ com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig getWorkloadIdentityConfig(); /** - * - * *
    * Output only. Workload Identity settings.
    * 
* - * - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder - getWorkloadIdentityConfigOrBuilder(); + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder(); /** - * - * *
    * Output only. PEM encoded x509 certificate of the cluster root of trust.
    * 
* * string cluster_ca_certificate = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The clusterCaCertificate. */ java.lang.String getClusterCaCertificate(); /** - * - * *
    * Output only. PEM encoded x509 certificate of the cluster root of trust.
    * 
* * string cluster_ca_certificate = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for clusterCaCertificate. */ - com.google.protobuf.ByteString getClusterCaCertificateBytes(); + com.google.protobuf.ByteString + getClusterCaCertificateBytes(); /** - * - * *
    * Required. Fleet configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the fleet field is set. */ boolean hasFleet(); /** - * - * *
    * Required. Fleet configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; * @return The fleet. */ com.google.cloud.gkemulticloud.v1.Fleet getFleet(); /** - * - * *
    * Required. Fleet configuration.
    * 
* - * - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder(); /** - * - * *
    * Output only. Managed Azure resources for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the managedResources field is set. */ boolean hasManagedResources(); /** - * - * *
    * Output only. Managed Azure resources for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The managedResources. */ com.google.cloud.gkemulticloud.v1.AzureClusterResources getManagedResources(); /** - * - * *
    * Output only. Managed Azure resources for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.gkemulticloud.v1.AzureClusterResourcesOrBuilder getManagedResourcesOrBuilder(); /** - * - * *
    * Optional. Logging configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** - * - * *
    * Optional. Logging configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; * @return The loggingConfig. */ com.google.cloud.gkemulticloud.v1.LoggingConfig getLoggingConfig(); /** - * - * *
    * Optional. Logging configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder(); /** - * - * *
    * Output only. A set of errors found in the cluster.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getErrorsList(); + java.util.List + getErrorsList(); /** - * - * *
    * Output only. A set of errors found in the cluster.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.gkemulticloud.v1.AzureClusterError getErrors(int index); /** - * - * *
    * Output only. A set of errors found in the cluster.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getErrorsCount(); /** - * - * *
    * Output only. A set of errors found in the cluster.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getErrorsOrBuilderList(); /** - * - * *
    * Output only. A set of errors found in the cluster.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.gkemulticloud.v1.AzureClusterErrorOrBuilder getErrorsOrBuilder(int index); + com.google.cloud.gkemulticloud.v1.AzureClusterErrorOrBuilder getErrorsOrBuilder( + int index); /** - * - * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the monitoringConfig field is set. */ boolean hasMonitoringConfig(); /** - * - * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; * @return The monitoringConfig. */ com.google.cloud.gkemulticloud.v1.MonitoringConfig getMonitoringConfig(); /** - * - * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBuilder(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResources.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResources.java similarity index 65% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResources.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResources.java index ecbdcb5e8cc4..e78c837bd88d 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResources.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResources.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Managed Azure resources for the cluster.
  *
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureClusterResources}
  */
-public final class AzureClusterResources extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AzureClusterResources extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureClusterResources)
     AzureClusterResourcesOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AzureClusterResources.newBuilder() to construct.
   private AzureClusterResources(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AzureClusterResources() {
     networkSecurityGroupId_ = "";
     controlPlaneApplicationSecurityGroupId_ = "";
@@ -46,38 +28,33 @@ private AzureClusterResources() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AzureClusterResources();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-        .internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-        .internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.AzureClusterResources.class,
-            com.google.cloud.gkemulticloud.v1.AzureClusterResources.Builder.class);
+            com.google.cloud.gkemulticloud.v1.AzureClusterResources.class, com.google.cloud.gkemulticloud.v1.AzureClusterResources.Builder.class);
   }
 
   public static final int NETWORK_SECURITY_GROUP_ID_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object networkSecurityGroupId_ = "";
   /**
-   *
-   *
    * 
    * Output only. The ARM ID of the cluster network security group.
    * 
* * string network_security_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The networkSecurityGroupId. */ @java.lang.Override @@ -86,29 +63,29 @@ public java.lang.String getNetworkSecurityGroupId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkSecurityGroupId_ = s; return s; } } /** - * - * *
    * Output only. The ARM ID of the cluster network security group.
    * 
* * string network_security_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for networkSecurityGroupId. */ @java.lang.Override - public com.google.protobuf.ByteString getNetworkSecurityGroupIdBytes() { + public com.google.protobuf.ByteString + getNetworkSecurityGroupIdBytes() { java.lang.Object ref = networkSecurityGroupId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); networkSecurityGroupId_ = b; return b; } else { @@ -117,20 +94,14 @@ public com.google.protobuf.ByteString getNetworkSecurityGroupIdBytes() { } public static final int CONTROL_PLANE_APPLICATION_SECURITY_GROUP_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object controlPlaneApplicationSecurityGroupId_ = ""; /** - * - * *
    * Output only. The ARM ID of the control plane application security group.
    * 
* - * - * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The controlPlaneApplicationSecurityGroupId. */ @java.lang.Override @@ -139,31 +110,29 @@ public java.lang.String getControlPlaneApplicationSecurityGroupId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); controlPlaneApplicationSecurityGroupId_ = s; return s; } } /** - * - * *
    * Output only. The ARM ID of the control plane application security group.
    * 
* - * - * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for controlPlaneApplicationSecurityGroupId. */ @java.lang.Override - public com.google.protobuf.ByteString getControlPlaneApplicationSecurityGroupIdBytes() { + public com.google.protobuf.ByteString + getControlPlaneApplicationSecurityGroupIdBytes() { java.lang.Object ref = controlPlaneApplicationSecurityGroupId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); controlPlaneApplicationSecurityGroupId_ = b; return b; } else { @@ -172,7 +141,6 @@ public com.google.protobuf.ByteString getControlPlaneApplicationSecurityGroupIdB } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -184,14 +152,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(networkSecurityGroupId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, networkSecurityGroupId_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty( - controlPlaneApplicationSecurityGroupId_)) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 2, controlPlaneApplicationSecurityGroupId_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(controlPlaneApplicationSecurityGroupId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, controlPlaneApplicationSecurityGroupId_); } getUnknownFields().writeTo(output); } @@ -205,11 +172,8 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(networkSecurityGroupId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, networkSecurityGroupId_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty( - controlPlaneApplicationSecurityGroupId_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize( - 2, controlPlaneApplicationSecurityGroupId_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(controlPlaneApplicationSecurityGroupId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, controlPlaneApplicationSecurityGroupId_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -219,15 +183,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureClusterResources)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureClusterResources other = - (com.google.cloud.gkemulticloud.v1.AzureClusterResources) obj; + com.google.cloud.gkemulticloud.v1.AzureClusterResources other = (com.google.cloud.gkemulticloud.v1.AzureClusterResources) obj; - if (!getNetworkSecurityGroupId().equals(other.getNetworkSecurityGroupId())) return false; + if (!getNetworkSecurityGroupId() + .equals(other.getNetworkSecurityGroupId())) return false; if (!getControlPlaneApplicationSecurityGroupId() .equals(other.getControlPlaneApplicationSecurityGroupId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -251,104 +215,98 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AzureClusterResources parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterResources parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterResources parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterResources parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterResources parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterResources parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AzureClusterResources parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureClusterResources parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterResources parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterResources parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureClusterResources parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureClusterResources parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterResources parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterResources parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.AzureClusterResources prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureClusterResources prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Managed Azure resources for the cluster.
    *
@@ -357,32 +315,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureClusterResources}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureClusterResources)
       com.google.cloud.gkemulticloud.v1.AzureClusterResourcesOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.AzureClusterResources.class,
-              com.google.cloud.gkemulticloud.v1.AzureClusterResources.Builder.class);
+              com.google.cloud.gkemulticloud.v1.AzureClusterResources.class, com.google.cloud.gkemulticloud.v1.AzureClusterResources.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.AzureClusterResources.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -393,9 +352,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_descriptor;
     }
 
     @java.lang.Override
@@ -414,11 +373,8 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterResources build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.AzureClusterResources buildPartial() {
-      com.google.cloud.gkemulticloud.v1.AzureClusterResources result =
-          new com.google.cloud.gkemulticloud.v1.AzureClusterResources(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.gkemulticloud.v1.AzureClusterResources result = new com.google.cloud.gkemulticloud.v1.AzureClusterResources(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -437,39 +393,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureClusterResourc
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.AzureClusterResources) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureClusterResources) other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureClusterResources)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -477,8 +432,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureClusterResources other) {
-      if (other == com.google.cloud.gkemulticloud.v1.AzureClusterResources.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.gkemulticloud.v1.AzureClusterResources.getDefaultInstance()) return this;
       if (!other.getNetworkSecurityGroupId().isEmpty()) {
         networkSecurityGroupId_ = other.networkSecurityGroupId_;
         bitField0_ |= 0x00000001;
@@ -515,25 +469,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                networkSecurityGroupId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                controlPlaneApplicationSecurityGroupId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              networkSecurityGroupId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              controlPlaneApplicationSecurityGroupId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -543,26 +494,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object networkSecurityGroupId_ = "";
     /**
-     *
-     *
      * 
      * Output only. The ARM ID of the cluster network security group.
      * 
* - * string network_security_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string network_security_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The networkSecurityGroupId. */ public java.lang.String getNetworkSecurityGroupId() { java.lang.Object ref = networkSecurityGroupId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkSecurityGroupId_ = s; return s; @@ -571,22 +518,20 @@ public java.lang.String getNetworkSecurityGroupId() { } } /** - * - * *
      * Output only. The ARM ID of the cluster network security group.
      * 
* - * string network_security_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string network_security_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for networkSecurityGroupId. */ - public com.google.protobuf.ByteString getNetworkSecurityGroupIdBytes() { + public com.google.protobuf.ByteString + getNetworkSecurityGroupIdBytes() { java.lang.Object ref = networkSecurityGroupId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); networkSecurityGroupId_ = b; return b; } else { @@ -594,37 +539,28 @@ public com.google.protobuf.ByteString getNetworkSecurityGroupIdBytes() { } } /** - * - * *
      * Output only. The ARM ID of the cluster network security group.
      * 
* - * string network_security_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string network_security_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The networkSecurityGroupId to set. * @return This builder for chaining. */ - public Builder setNetworkSecurityGroupId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkSecurityGroupId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } networkSecurityGroupId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The ARM ID of the cluster network security group.
      * 
* - * string network_security_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string network_security_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearNetworkSecurityGroupId() { @@ -634,22 +570,17 @@ public Builder clearNetworkSecurityGroupId() { return this; } /** - * - * *
      * Output only. The ARM ID of the cluster network security group.
      * 
* - * string network_security_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string network_security_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes for networkSecurityGroupId to set. * @return This builder for chaining. */ - public Builder setNetworkSecurityGroupIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkSecurityGroupIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); networkSecurityGroupId_ = value; bitField0_ |= 0x00000001; @@ -659,22 +590,18 @@ public Builder setNetworkSecurityGroupIdBytes(com.google.protobuf.ByteString val private java.lang.Object controlPlaneApplicationSecurityGroupId_ = ""; /** - * - * *
      * Output only. The ARM ID of the control plane application security group.
      * 
* - * - * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The controlPlaneApplicationSecurityGroupId. */ public java.lang.String getControlPlaneApplicationSecurityGroupId() { java.lang.Object ref = controlPlaneApplicationSecurityGroupId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); controlPlaneApplicationSecurityGroupId_ = s; return s; @@ -683,23 +610,20 @@ public java.lang.String getControlPlaneApplicationSecurityGroupId() { } } /** - * - * *
      * Output only. The ARM ID of the control plane application security group.
      * 
* - * - * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for controlPlaneApplicationSecurityGroupId. */ - public com.google.protobuf.ByteString getControlPlaneApplicationSecurityGroupIdBytes() { + public com.google.protobuf.ByteString + getControlPlaneApplicationSecurityGroupIdBytes() { java.lang.Object ref = controlPlaneApplicationSecurityGroupId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); controlPlaneApplicationSecurityGroupId_ = b; return b; } else { @@ -707,76 +631,57 @@ public com.google.protobuf.ByteString getControlPlaneApplicationSecurityGroupIdB } } /** - * - * *
      * Output only. The ARM ID of the control plane application security group.
      * 
* - * - * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The controlPlaneApplicationSecurityGroupId to set. * @return This builder for chaining. */ - public Builder setControlPlaneApplicationSecurityGroupId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setControlPlaneApplicationSecurityGroupId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } controlPlaneApplicationSecurityGroupId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. The ARM ID of the control plane application security group.
      * 
* - * - * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearControlPlaneApplicationSecurityGroupId() { - controlPlaneApplicationSecurityGroupId_ = - getDefaultInstance().getControlPlaneApplicationSecurityGroupId(); + controlPlaneApplicationSecurityGroupId_ = getDefaultInstance().getControlPlaneApplicationSecurityGroupId(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** - * - * *
      * Output only. The ARM ID of the control plane application security group.
      * 
* - * - * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes for controlPlaneApplicationSecurityGroupId to set. * @return This builder for chaining. */ public Builder setControlPlaneApplicationSecurityGroupIdBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); controlPlaneApplicationSecurityGroupId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -786,12 +691,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureClusterResources) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureClusterResources) private static final com.google.cloud.gkemulticloud.v1.AzureClusterResources DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureClusterResources(); } @@ -800,27 +705,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureClusterResources getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureClusterResources parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureClusterResources parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -835,4 +740,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureClusterResources getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResourcesOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResourcesOrBuilder.java similarity index 53% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResourcesOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResourcesOrBuilder.java index a57ba00b62f0..ff122c53e04f 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResourcesOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResourcesOrBuilder.java @@ -1,79 +1,49 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureClusterResourcesOrBuilder - extends +public interface AzureClusterResourcesOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureClusterResources) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The ARM ID of the cluster network security group.
    * 
* * string network_security_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The networkSecurityGroupId. */ java.lang.String getNetworkSecurityGroupId(); /** - * - * *
    * Output only. The ARM ID of the cluster network security group.
    * 
* * string network_security_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for networkSecurityGroupId. */ - com.google.protobuf.ByteString getNetworkSecurityGroupIdBytes(); + com.google.protobuf.ByteString + getNetworkSecurityGroupIdBytes(); /** - * - * *
    * Output only. The ARM ID of the control plane application security group.
    * 
* - * - * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The controlPlaneApplicationSecurityGroupId. */ java.lang.String getControlPlaneApplicationSecurityGroupId(); /** - * - * *
    * Output only. The ARM ID of the control plane application security group.
    * 
* - * - * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for controlPlaneApplicationSecurityGroupId. */ - com.google.protobuf.ByteString getControlPlaneApplicationSecurityGroupIdBytes(); + com.google.protobuf.ByteString + getControlPlaneApplicationSecurityGroupIdBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUser.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUser.java similarity index 67% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUser.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUser.java index 21f555049a2f..e9269175d560 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUser.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUser.java @@ -1,80 +1,57 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Identities of a user-type subject for Azure clusters.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureClusterUser} */ -public final class AzureClusterUser extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AzureClusterUser extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureClusterUser) AzureClusterUserOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AzureClusterUser.newBuilder() to construct. private AzureClusterUser(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AzureClusterUser() { username_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AzureClusterUser(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureClusterUser.class, - com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureClusterUser.class, com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder.class); } public static final int USERNAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object username_ = ""; /** - * - * *
    * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
    * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The username. */ @java.lang.Override @@ -83,29 +60,29 @@ public java.lang.String getUsername() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; } } /** - * - * *
    * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
    * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for username. */ @java.lang.Override - public com.google.protobuf.ByteString getUsernameBytes() { + public com.google.protobuf.ByteString + getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); username_ = b; return b; } else { @@ -114,7 +91,6 @@ public com.google.protobuf.ByteString getUsernameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,7 +102,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(username_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, username_); } @@ -150,15 +127,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureClusterUser)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureClusterUser other = - (com.google.cloud.gkemulticloud.v1.AzureClusterUser) obj; + com.google.cloud.gkemulticloud.v1.AzureClusterUser other = (com.google.cloud.gkemulticloud.v1.AzureClusterUser) obj; - if (!getUsername().equals(other.getUsername())) return false; + if (!getUsername() + .equals(other.getUsername())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -178,135 +155,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AzureClusterUser parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterUser parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterUser parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterUser parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterUser parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterUser parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AzureClusterUser parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureClusterUser parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterUser parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterUser parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureClusterUser parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureClusterUser parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterUser parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterUser parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureClusterUser prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Identities of a user-type subject for Azure clusters.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureClusterUser} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureClusterUser) com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureClusterUser.class, - com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureClusterUser.class, com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AzureClusterUser.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -316,9 +289,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_descriptor; } @java.lang.Override @@ -337,11 +310,8 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterUser build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureClusterUser buildPartial() { - com.google.cloud.gkemulticloud.v1.AzureClusterUser result = - new com.google.cloud.gkemulticloud.v1.AzureClusterUser(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.AzureClusterUser result = new com.google.cloud.gkemulticloud.v1.AzureClusterUser(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -357,39 +327,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureClusterUser re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AzureClusterUser) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureClusterUser) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureClusterUser)other); } else { super.mergeFrom(other); return this; @@ -397,8 +366,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureClusterUser other) { - if (other == com.google.cloud.gkemulticloud.v1.AzureClusterUser.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.AzureClusterUser.getDefaultInstance()) return this; if (!other.getUsername().isEmpty()) { username_ = other.username_; bitField0_ |= 0x00000001; @@ -430,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - username_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + username_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -452,25 +418,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object username_ = ""; /** - * - * *
      * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
      * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The username. */ public java.lang.String getUsername() { java.lang.Object ref = username_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; @@ -479,21 +442,20 @@ public java.lang.String getUsername() { } } /** - * - * *
      * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
      * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for username. */ - public com.google.protobuf.ByteString getUsernameBytes() { + public com.google.protobuf.ByteString + getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); username_ = b; return b; } else { @@ -501,35 +463,28 @@ public com.google.protobuf.ByteString getUsernameBytes() { } } /** - * - * *
      * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
      * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The username to set. * @return This builder for chaining. */ - public Builder setUsername(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUsername( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } username_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
      * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUsername() { @@ -539,30 +494,26 @@ public Builder clearUsername() { return this; } /** - * - * *
      * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
      * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for username to set. * @return This builder for chaining. */ - public Builder setUsernameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUsernameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); username_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -572,12 +523,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureClusterUser) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureClusterUser) private static final com.google.cloud.gkemulticloud.v1.AzureClusterUser DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureClusterUser(); } @@ -586,27 +537,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureClusterUser getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureClusterUser parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureClusterUser parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -621,4 +572,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureClusterUser getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUserOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUserOrBuilder.java similarity index 51% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUserOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUserOrBuilder.java index c885e1a90ef5..c31987404201 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUserOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUserOrBuilder.java @@ -1,50 +1,29 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureClusterUserOrBuilder - extends +public interface AzureClusterUserOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureClusterUser) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
    * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The username. */ java.lang.String getUsername(); /** - * - * *
    * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
    * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for username. */ - com.google.protobuf.ByteString getUsernameBytes(); + com.google.protobuf.ByteString + getUsernameBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryption.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryption.java similarity index 72% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryption.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryption.java index ceef3a85b890..19372e61e3e4 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryption.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryption.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Configuration related to config data encryption.
  *
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureConfigEncryption}
  */
-public final class AzureConfigEncryption extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AzureConfigEncryption extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureConfigEncryption)
     AzureConfigEncryptionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AzureConfigEncryption.newBuilder() to construct.
   private AzureConfigEncryption(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AzureConfigEncryption() {
     keyId_ = "";
     publicKey_ = "";
@@ -47,32 +29,28 @@ private AzureConfigEncryption() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AzureConfigEncryption();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-        .internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-        .internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.class,
-            com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder.class);
+            com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.class, com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder.class);
   }
 
   public static final int KEY_ID_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object keyId_ = "";
   /**
-   *
-   *
    * 
    * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config
    * data.
@@ -82,7 +60,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string key_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The keyId. */ @java.lang.Override @@ -91,15 +68,14 @@ public java.lang.String getKeyId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyId_ = s; return s; } } /** - * - * *
    * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config
    * data.
@@ -109,15 +85,16 @@ public java.lang.String getKeyId() {
    * 
* * string key_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for keyId. */ @java.lang.Override - public com.google.protobuf.ByteString getKeyIdBytes() { + public com.google.protobuf.ByteString + getKeyIdBytes() { java.lang.Object ref = keyId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); keyId_ = b; return b; } else { @@ -126,12 +103,9 @@ public com.google.protobuf.ByteString getKeyIdBytes() { } public static final int PUBLIC_KEY_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object publicKey_ = ""; /** - * - * *
    * Optional. RSA key of the Azure Key Vault public key to use for encrypting
    * the data.
@@ -142,7 +116,6 @@ public com.google.protobuf.ByteString getKeyIdBytes() {
    * 
* * string public_key = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The publicKey. */ @java.lang.Override @@ -151,15 +124,14 @@ public java.lang.String getPublicKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicKey_ = s; return s; } } /** - * - * *
    * Optional. RSA key of the Azure Key Vault public key to use for encrypting
    * the data.
@@ -170,15 +142,16 @@ public java.lang.String getPublicKey() {
    * 
* * string public_key = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for publicKey. */ @java.lang.Override - public com.google.protobuf.ByteString getPublicKeyBytes() { + public com.google.protobuf.ByteString + getPublicKeyBytes() { java.lang.Object ref = publicKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); publicKey_ = b; return b; } else { @@ -187,7 +160,6 @@ public com.google.protobuf.ByteString getPublicKeyBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, keyId_); } @@ -229,16 +202,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureConfigEncryption)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption other = - (com.google.cloud.gkemulticloud.v1.AzureConfigEncryption) obj; + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption other = (com.google.cloud.gkemulticloud.v1.AzureConfigEncryption) obj; - if (!getKeyId().equals(other.getKeyId())) return false; - if (!getPublicKey().equals(other.getPublicKey())) return false; + if (!getKeyId() + .equals(other.getKeyId())) return false; + if (!getPublicKey() + .equals(other.getPublicKey())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -260,104 +234,98 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AzureConfigEncryption parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureConfigEncryption parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureConfigEncryption parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureConfigEncryption parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureConfigEncryption parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureConfigEncryption parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AzureConfigEncryption parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureConfigEncryption parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureConfigEncryption parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureConfigEncryption parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureConfigEncryption parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureConfigEncryption parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureConfigEncryption parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureConfigEncryption parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureConfigEncryption prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration related to config data encryption.
    *
@@ -367,32 +335,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureConfigEncryption}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureConfigEncryption)
       com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.class,
-              com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder.class);
+              com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.class, com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -403,9 +372,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_descriptor;
     }
 
     @java.lang.Override
@@ -424,11 +393,8 @@ public com.google.cloud.gkemulticloud.v1.AzureConfigEncryption build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.AzureConfigEncryption buildPartial() {
-      com.google.cloud.gkemulticloud.v1.AzureConfigEncryption result =
-          new com.google.cloud.gkemulticloud.v1.AzureConfigEncryption(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.gkemulticloud.v1.AzureConfigEncryption result = new com.google.cloud.gkemulticloud.v1.AzureConfigEncryption(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -447,39 +413,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureConfigEncrypti
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.AzureConfigEncryption) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureConfigEncryption) other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureConfigEncryption)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -487,8 +452,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureConfigEncryption other) {
-      if (other == com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance()) return this;
       if (!other.getKeyId().isEmpty()) {
         keyId_ = other.keyId_;
         bitField0_ |= 0x00000001;
@@ -525,25 +489,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18:
-              {
-                keyId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 18
-            case 26:
-              {
-                publicKey_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 18: {
+              keyId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 18
+            case 26: {
+              publicKey_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -553,13 +514,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object keyId_ = "";
     /**
-     *
-     *
      * 
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config
      * data.
@@ -569,13 +527,13 @@ public Builder mergeFrom(
      * 
* * string key_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The keyId. */ public java.lang.String getKeyId() { java.lang.Object ref = keyId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyId_ = s; return s; @@ -584,8 +542,6 @@ public java.lang.String getKeyId() { } } /** - * - * *
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config
      * data.
@@ -595,14 +551,15 @@ public java.lang.String getKeyId() {
      * 
* * string key_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for keyId. */ - public com.google.protobuf.ByteString getKeyIdBytes() { + public com.google.protobuf.ByteString + getKeyIdBytes() { java.lang.Object ref = keyId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); keyId_ = b; return b; } else { @@ -610,8 +567,6 @@ public com.google.protobuf.ByteString getKeyIdBytes() { } } /** - * - * *
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config
      * data.
@@ -621,22 +576,18 @@ public com.google.protobuf.ByteString getKeyIdBytes() {
      * 
* * string key_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The keyId to set. * @return This builder for chaining. */ - public Builder setKeyId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKeyId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } keyId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config
      * data.
@@ -646,7 +597,6 @@ public Builder setKeyId(java.lang.String value) {
      * 
* * string key_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearKeyId() { @@ -656,8 +606,6 @@ public Builder clearKeyId() { return this; } /** - * - * *
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config
      * data.
@@ -667,14 +615,12 @@ public Builder clearKeyId() {
      * 
* * string key_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for keyId to set. * @return This builder for chaining. */ - public Builder setKeyIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKeyIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); keyId_ = value; bitField0_ |= 0x00000001; @@ -684,8 +630,6 @@ public Builder setKeyIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object publicKey_ = ""; /** - * - * *
      * Optional. RSA key of the Azure Key Vault public key to use for encrypting
      * the data.
@@ -696,13 +640,13 @@ public Builder setKeyIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string public_key = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The publicKey. */ public java.lang.String getPublicKey() { java.lang.Object ref = publicKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicKey_ = s; return s; @@ -711,8 +655,6 @@ public java.lang.String getPublicKey() { } } /** - * - * *
      * Optional. RSA key of the Azure Key Vault public key to use for encrypting
      * the data.
@@ -723,14 +665,15 @@ public java.lang.String getPublicKey() {
      * 
* * string public_key = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for publicKey. */ - public com.google.protobuf.ByteString getPublicKeyBytes() { + public com.google.protobuf.ByteString + getPublicKeyBytes() { java.lang.Object ref = publicKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); publicKey_ = b; return b; } else { @@ -738,8 +681,6 @@ public com.google.protobuf.ByteString getPublicKeyBytes() { } } /** - * - * *
      * Optional. RSA key of the Azure Key Vault public key to use for encrypting
      * the data.
@@ -750,22 +691,18 @@ public com.google.protobuf.ByteString getPublicKeyBytes() {
      * 
* * string public_key = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The publicKey to set. * @return This builder for chaining. */ - public Builder setPublicKey(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPublicKey( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } publicKey_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. RSA key of the Azure Key Vault public key to use for encrypting
      * the data.
@@ -776,7 +713,6 @@ public Builder setPublicKey(java.lang.String value) {
      * 
* * string public_key = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPublicKey() { @@ -786,8 +722,6 @@ public Builder clearPublicKey() { return this; } /** - * - * *
      * Optional. RSA key of the Azure Key Vault public key to use for encrypting
      * the data.
@@ -798,23 +732,21 @@ public Builder clearPublicKey() {
      * 
* * string public_key = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for publicKey to set. * @return This builder for chaining. */ - public Builder setPublicKeyBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPublicKeyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); publicKey_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -824,12 +756,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureConfigEncryption) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureConfigEncryption) private static final com.google.cloud.gkemulticloud.v1.AzureConfigEncryption DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureConfigEncryption(); } @@ -838,27 +770,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureConfigEncryption getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureConfigEncryption parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureConfigEncryption parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -873,4 +805,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureConfigEncryption getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryptionOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryptionOrBuilder.java similarity index 72% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryptionOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryptionOrBuilder.java index 559f4db273fa..ce281dcfbd46 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryptionOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryptionOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureConfigEncryptionOrBuilder - extends +public interface AzureConfigEncryptionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureConfigEncryption) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config
    * data.
@@ -35,13 +17,10 @@ public interface AzureConfigEncryptionOrBuilder
    * 
* * string key_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The keyId. */ java.lang.String getKeyId(); /** - * - * *
    * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config
    * data.
@@ -51,14 +30,12 @@ public interface AzureConfigEncryptionOrBuilder
    * 
* * string key_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for keyId. */ - com.google.protobuf.ByteString getKeyIdBytes(); + com.google.protobuf.ByteString + getKeyIdBytes(); /** - * - * *
    * Optional. RSA key of the Azure Key Vault public key to use for encrypting
    * the data.
@@ -69,13 +46,10 @@ public interface AzureConfigEncryptionOrBuilder
    * 
* * string public_key = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The publicKey. */ java.lang.String getPublicKey(); /** - * - * *
    * Optional. RSA key of the Azure Key Vault public key to use for encrypting
    * the data.
@@ -86,8 +60,8 @@ public interface AzureConfigEncryptionOrBuilder
    * 
* * string public_key = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for publicKey. */ - com.google.protobuf.ByteString getPublicKeyBytes(); + com.google.protobuf.ByteString + getPublicKeyBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlane.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlane.java similarity index 66% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlane.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlane.java index 11aff2e3385a..e9578fd6de6f 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlane.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlane.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * AzureControlPlane represents the control plane configurations.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureControlPlane} */ -public final class AzureControlPlane extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AzureControlPlane extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureControlPlane) AzureControlPlaneOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AzureControlPlane.newBuilder() to construct. private AzureControlPlane(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AzureControlPlane() { version_ = ""; subnetId_ = ""; @@ -47,43 +29,40 @@ private AzureControlPlane() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AzureControlPlane(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 7: return internalGetTags(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureControlPlane.class, - com.google.cloud.gkemulticloud.v1.AzureControlPlane.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureControlPlane.class, com.google.cloud.gkemulticloud.v1.AzureControlPlane.Builder.class); } public static final int VERSION_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object version_ = ""; /** - * - * *
    * Required. The Kubernetes version to run on control plane replicas
    * (e.g. `1.19.10-gke.1000`).
@@ -94,7 +73,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The version. */ @java.lang.Override @@ -103,15 +81,14 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** - * - * *
    * Required. The Kubernetes version to run on control plane replicas
    * (e.g. `1.19.10-gke.1000`).
@@ -122,15 +99,16 @@ public java.lang.String getVersion() {
    * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -139,12 +117,9 @@ public com.google.protobuf.ByteString getVersionBytes() { } public static final int SUBNET_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object subnetId_ = ""; /** - * - * *
    * Optional. The ARM ID of the default subnet for the control plane. The
    * control plane VMs are deployed in this subnet, unless
@@ -159,7 +134,6 @@ public com.google.protobuf.ByteString getVersionBytes() {
    * 
* * string subnet_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The subnetId. */ @java.lang.Override @@ -168,15 +142,14 @@ public java.lang.String getSubnetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetId_ = s; return s; } } /** - * - * *
    * Optional. The ARM ID of the default subnet for the control plane. The
    * control plane VMs are deployed in this subnet, unless
@@ -191,15 +164,16 @@ public java.lang.String getSubnetId() {
    * 
* * string subnet_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for subnetId. */ @java.lang.Override - public com.google.protobuf.ByteString getSubnetIdBytes() { + public com.google.protobuf.ByteString + getSubnetIdBytes() { java.lang.Object ref = subnetId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnetId_ = b; return b; } else { @@ -208,12 +182,9 @@ public com.google.protobuf.ByteString getSubnetIdBytes() { } public static final int VM_SIZE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object vmSize_ = ""; /** - * - * *
    * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
    *
@@ -224,7 +195,6 @@ public com.google.protobuf.ByteString getSubnetIdBytes() {
    * 
* * string vm_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The vmSize. */ @java.lang.Override @@ -233,15 +203,14 @@ public java.lang.String getVmSize() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vmSize_ = s; return s; } } /** - * - * *
    * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
    *
@@ -252,15 +221,16 @@ public java.lang.String getVmSize() {
    * 
* * string vm_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for vmSize. */ @java.lang.Override - public com.google.protobuf.ByteString getVmSizeBytes() { + public com.google.protobuf.ByteString + getVmSizeBytes() { java.lang.Object ref = vmSize_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); vmSize_ = b; return b; } else { @@ -271,17 +241,12 @@ public com.google.protobuf.ByteString getVmSizeBytes() { public static final int SSH_CONFIG_FIELD_NUMBER = 11; private com.google.cloud.gkemulticloud.v1.AzureSshConfig sshConfig_; /** - * - * *
    * Required. SSH configuration for how to access the underlying control plane
    * machines.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the sshConfig field is set. */ @java.lang.Override @@ -289,49 +254,34 @@ public boolean hasSshConfig() { return sshConfig_ != null; } /** - * - * *
    * Required. SSH configuration for how to access the underlying control plane
    * machines.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; * @return The sshConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureSshConfig getSshConfig() { - return sshConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance() - : sshConfig_; + return sshConfig_ == null ? com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance() : sshConfig_; } /** - * - * *
    * Required. SSH configuration for how to access the underlying control plane
    * machines.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder getSshConfigOrBuilder() { - return sshConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance() - : sshConfig_; + return sshConfig_ == null ? com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance() : sshConfig_; } public static final int ROOT_VOLUME_FIELD_NUMBER = 4; private com.google.cloud.gkemulticloud.v1.AzureDiskTemplate rootVolume_; /** - * - * *
    * Optional. Configuration related to the root volume provisioned for each
    * control plane replica.
@@ -339,10 +289,7 @@ public com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder getSshConfigOrB
    * When unspecified, it defaults to 32-GiB Azure Disk.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the rootVolume field is set. */ @java.lang.Override @@ -350,8 +297,6 @@ public boolean hasRootVolume() { return rootVolume_ != null; } /** - * - * *
    * Optional. Configuration related to the root volume provisioned for each
    * control plane replica.
@@ -359,21 +304,14 @@ public boolean hasRootVolume() {
    * When unspecified, it defaults to 32-GiB Azure Disk.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The rootVolume. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getRootVolume() { - return rootVolume_ == null - ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() - : rootVolume_; + return rootVolume_ == null ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() : rootVolume_; } /** - * - * *
    * Optional. Configuration related to the root volume provisioned for each
    * control plane replica.
@@ -381,22 +319,16 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getRootVolume() {
    * When unspecified, it defaults to 32-GiB Azure Disk.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getRootVolumeOrBuilder() { - return rootVolume_ == null - ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() - : rootVolume_; + return rootVolume_ == null ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() : rootVolume_; } public static final int MAIN_VOLUME_FIELD_NUMBER = 5; private com.google.cloud.gkemulticloud.v1.AzureDiskTemplate mainVolume_; /** - * - * *
    * Optional. Configuration related to the main volume provisioned for each
    * control plane replica.
@@ -405,10 +337,7 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getRootVolum
    * When unspecified, it defaults to a 8-GiB Azure Disk.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the mainVolume field is set. */ @java.lang.Override @@ -416,8 +345,6 @@ public boolean hasMainVolume() { return mainVolume_ != null; } /** - * - * *
    * Optional. Configuration related to the main volume provisioned for each
    * control plane replica.
@@ -426,21 +353,14 @@ public boolean hasMainVolume() {
    * When unspecified, it defaults to a 8-GiB Azure Disk.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The mainVolume. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getMainVolume() { - return mainVolume_ == null - ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() - : mainVolume_; + return mainVolume_ == null ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() : mainVolume_; } /** - * - * *
    * Optional. Configuration related to the main volume provisioned for each
    * control plane replica.
@@ -449,30 +369,21 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getMainVolume() {
    * When unspecified, it defaults to a 8-GiB Azure Disk.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getMainVolumeOrBuilder() { - return mainVolume_ == null - ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() - : mainVolume_; + return mainVolume_ == null ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() : mainVolume_; } public static final int DATABASE_ENCRYPTION_FIELD_NUMBER = 10; private com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption databaseEncryption_; /** - * - * *
    * Optional. Configuration related to application-layer secrets encryption.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the databaseEncryption field is set. */ @java.lang.Override @@ -480,56 +391,37 @@ public boolean hasDatabaseEncryption() { return databaseEncryption_ != null; } /** - * - * *
    * Optional. Configuration related to application-layer secrets encryption.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return The databaseEncryption. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption getDatabaseEncryption() { - return databaseEncryption_ == null - ? com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.getDefaultInstance() - : databaseEncryption_; + return databaseEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.getDefaultInstance() : databaseEncryption_; } /** - * - * *
    * Optional. Configuration related to application-layer secrets encryption.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryptionOrBuilder - getDatabaseEncryptionOrBuilder() { - return databaseEncryption_ == null - ? com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.getDefaultInstance() - : databaseEncryption_; + public com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryptionOrBuilder getDatabaseEncryptionOrBuilder() { + return databaseEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.getDefaultInstance() : databaseEncryption_; } public static final int PROXY_CONFIG_FIELD_NUMBER = 12; private com.google.cloud.gkemulticloud.v1.AzureProxyConfig proxyConfig_; /** - * - * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the proxyConfig field is set. */ @java.lang.Override @@ -537,55 +429,37 @@ public boolean hasProxyConfig() { return proxyConfig_ != null; } /** - * - * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The proxyConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureProxyConfig getProxyConfig() { - return proxyConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance() - : proxyConfig_; + return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance() : proxyConfig_; } /** - * - * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder getProxyConfigOrBuilder() { - return proxyConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance() - : proxyConfig_; + return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance() : proxyConfig_; } public static final int CONFIG_ENCRYPTION_FIELD_NUMBER = 14; private com.google.cloud.gkemulticloud.v1.AzureConfigEncryption configEncryption_; /** - * - * *
    * Optional. Configuration related to vm config encryption.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the configEncryption field is set. */ @java.lang.Override @@ -593,72 +467,56 @@ public boolean hasConfigEncryption() { return configEncryption_ != null; } /** - * - * *
    * Optional. Configuration related to vm config encryption.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return The configEncryption. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureConfigEncryption getConfigEncryption() { - return configEncryption_ == null - ? com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance() - : configEncryption_; + return configEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance() : configEncryption_; } /** - * - * *
    * Optional. Configuration related to vm config encryption.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder - getConfigEncryptionOrBuilder() { - return configEncryption_ == null - ? com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance() - : configEncryption_; + public com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder getConfigEncryptionOrBuilder() { + return configEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance() : configEncryption_; } public static final int TAGS_FIELD_NUMBER = 7; - private static final class TagsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_TagsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_TagsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField tags_; - - private com.google.protobuf.MapField internalGetTags() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> tags_; + private com.google.protobuf.MapField + internalGetTags() { if (tags_ == null) { - return com.google.protobuf.MapField.emptyMapField(TagsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + TagsDefaultEntryHolder.defaultEntry); } return tags_; } - public int getTagsCount() { return internalGetTags().getMap().size(); } /** - * - * *
    * Optional. A set of tags to apply to all underlying control plane Azure
    * resources.
@@ -667,21 +525,20 @@ public int getTagsCount() {
    * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public boolean containsTags(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsTags(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetTags().getMap().containsKey(key);
   }
-  /** Use {@link #getTagsMap()} instead. */
+  /**
+   * Use {@link #getTagsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getTags() {
     return getTagsMap();
   }
   /**
-   *
-   *
    * 
    * Optional. A set of tags to apply to all underlying control plane Azure
    * resources.
@@ -694,8 +551,6 @@ public java.util.Map getTagsMap() {
     return internalGetTags().getMap();
   }
   /**
-   *
-   *
    * 
    * Optional. A set of tags to apply to all underlying control plane Azure
    * resources.
@@ -704,19 +559,17 @@ public java.util.Map getTagsMap() {
    * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getTagsOrDefault(
+  public /* nullable */
+java.lang.String getTagsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetTags().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetTags().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Optional. A set of tags to apply to all underlying control plane Azure
    * resources.
@@ -725,11 +578,11 @@ public java.util.Map getTagsMap() {
    * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public java.lang.String getTagsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetTags().getMap();
+  public java.lang.String getTagsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetTags().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -737,12 +590,9 @@ public java.lang.String getTagsOrThrow(java.lang.String key) {
   }
 
   public static final int REPLICA_PLACEMENTS_FIELD_NUMBER = 13;
-
   @SuppressWarnings("serial")
   private java.util.List replicaPlacements_;
   /**
-   *
-   *
    * 
    * Optional. Configuration for where to place the control plane replicas.
    *
@@ -751,18 +601,13 @@ public java.lang.String getTagsOrThrow(java.lang.String key) {
    * to the three control plane replicas as evenly as possible.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List - getReplicaPlacementsList() { + public java.util.List getReplicaPlacementsList() { return replicaPlacements_; } /** - * - * *
    * Optional. Configuration for where to place the control plane replicas.
    *
@@ -771,18 +616,14 @@ public java.lang.String getTagsOrThrow(java.lang.String key) {
    * to the three control plane replicas as evenly as possible.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List + public java.util.List getReplicaPlacementsOrBuilderList() { return replicaPlacements_; } /** - * - * *
    * Optional. Configuration for where to place the control plane replicas.
    *
@@ -791,17 +632,13 @@ public java.lang.String getTagsOrThrow(java.lang.String key) {
    * to the three control plane replicas as evenly as possible.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public int getReplicaPlacementsCount() { return replicaPlacements_.size(); } /** - * - * *
    * Optional. Configuration for where to place the control plane replicas.
    *
@@ -810,17 +647,13 @@ public int getReplicaPlacementsCount() {
    * to the three control plane replicas as evenly as possible.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.ReplicaPlacement getReplicaPlacements(int index) { return replicaPlacements_.get(index); } /** - * - * *
    * Optional. Configuration for where to place the control plane replicas.
    *
@@ -829,9 +662,7 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacement getReplicaPlacements(i
    * to the three control plane replicas as evenly as possible.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder getReplicaPlacementsOrBuilder( @@ -840,12 +671,9 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder getReplicaPla } public static final int ENDPOINT_SUBNET_ID_FIELD_NUMBER = 15; - @SuppressWarnings("serial") private volatile java.lang.Object endpointSubnetId_ = ""; /** - * - * *
    * Optional. The ARM ID of the subnet where the control plane load balancer is
    * deployed. When unspecified, it defaults to AzureControlPlane.subnet_id.
@@ -855,7 +683,6 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder getReplicaPla
    * 
* * string endpoint_subnet_id = 15 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The endpointSubnetId. */ @java.lang.Override @@ -864,15 +691,14 @@ public java.lang.String getEndpointSubnetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endpointSubnetId_ = s; return s; } } /** - * - * *
    * Optional. The ARM ID of the subnet where the control plane load balancer is
    * deployed. When unspecified, it defaults to AzureControlPlane.subnet_id.
@@ -882,15 +708,16 @@ public java.lang.String getEndpointSubnetId() {
    * 
* * string endpoint_subnet_id = 15 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for endpointSubnetId. */ @java.lang.Override - public com.google.protobuf.ByteString getEndpointSubnetIdBytes() { + public com.google.protobuf.ByteString + getEndpointSubnetIdBytes() { java.lang.Object ref = endpointSubnetId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); endpointSubnetId_ = b; return b; } else { @@ -899,7 +726,6 @@ public com.google.protobuf.ByteString getEndpointSubnetIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -911,7 +737,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); } @@ -927,8 +754,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (mainVolume_ != null) { output.writeMessage(5, getMainVolume()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetTags(), TagsDefaultEntryHolder.defaultEntry, 7); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetTags(), + TagsDefaultEntryHolder.defaultEntry, + 7); if (databaseEncryption_ != null) { output.writeMessage(10, getDatabaseEncryption()); } @@ -966,36 +797,42 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, vmSize_); } if (rootVolume_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRootVolume()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getRootVolume()); } if (mainVolume_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getMainVolume()); - } - for (java.util.Map.Entry entry : - internalGetTags().getMap().entrySet()) { - com.google.protobuf.MapEntry tags__ = - TagsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, tags__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getMainVolume()); + } + for (java.util.Map.Entry entry + : internalGetTags().getMap().entrySet()) { + com.google.protobuf.MapEntry + tags__ = TagsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, tags__); } if (databaseEncryption_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getDatabaseEncryption()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getDatabaseEncryption()); } if (sshConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getSshConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getSshConfig()); } if (proxyConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getProxyConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getProxyConfig()); } for (int i = 0; i < replicaPlacements_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(13, replicaPlacements_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, replicaPlacements_.get(i)); } if (configEncryption_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getConfigEncryption()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, getConfigEncryption()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpointSubnetId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, endpointSubnetId_); @@ -1008,44 +845,55 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureControlPlane)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureControlPlane other = - (com.google.cloud.gkemulticloud.v1.AzureControlPlane) obj; + com.google.cloud.gkemulticloud.v1.AzureControlPlane other = (com.google.cloud.gkemulticloud.v1.AzureControlPlane) obj; - if (!getVersion().equals(other.getVersion())) return false; - if (!getSubnetId().equals(other.getSubnetId())) return false; - if (!getVmSize().equals(other.getVmSize())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getSubnetId() + .equals(other.getSubnetId())) return false; + if (!getVmSize() + .equals(other.getVmSize())) return false; if (hasSshConfig() != other.hasSshConfig()) return false; if (hasSshConfig()) { - if (!getSshConfig().equals(other.getSshConfig())) return false; + if (!getSshConfig() + .equals(other.getSshConfig())) return false; } if (hasRootVolume() != other.hasRootVolume()) return false; if (hasRootVolume()) { - if (!getRootVolume().equals(other.getRootVolume())) return false; + if (!getRootVolume() + .equals(other.getRootVolume())) return false; } if (hasMainVolume() != other.hasMainVolume()) return false; if (hasMainVolume()) { - if (!getMainVolume().equals(other.getMainVolume())) return false; + if (!getMainVolume() + .equals(other.getMainVolume())) return false; } if (hasDatabaseEncryption() != other.hasDatabaseEncryption()) return false; if (hasDatabaseEncryption()) { - if (!getDatabaseEncryption().equals(other.getDatabaseEncryption())) return false; + if (!getDatabaseEncryption() + .equals(other.getDatabaseEncryption())) return false; } if (hasProxyConfig() != other.hasProxyConfig()) return false; if (hasProxyConfig()) { - if (!getProxyConfig().equals(other.getProxyConfig())) return false; + if (!getProxyConfig() + .equals(other.getProxyConfig())) return false; } if (hasConfigEncryption() != other.hasConfigEncryption()) return false; if (hasConfigEncryption()) { - if (!getConfigEncryption().equals(other.getConfigEncryption())) return false; - } - if (!internalGetTags().equals(other.internalGetTags())) return false; - if (!getReplicaPlacementsList().equals(other.getReplicaPlacementsList())) return false; - if (!getEndpointSubnetId().equals(other.getEndpointSubnetId())) return false; + if (!getConfigEncryption() + .equals(other.getConfigEncryption())) return false; + } + if (!internalGetTags().equals( + other.internalGetTags())) return false; + if (!getReplicaPlacementsList() + .equals(other.getReplicaPlacementsList())) return false; + if (!getEndpointSubnetId() + .equals(other.getEndpointSubnetId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1103,155 +951,153 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AzureControlPlane parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureControlPlane parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureControlPlane parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureControlPlane parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureControlPlane parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureControlPlane parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AzureControlPlane parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureControlPlane parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureControlPlane parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureControlPlane parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureControlPlane parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureControlPlane parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureControlPlane parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureControlPlane parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureControlPlane prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * AzureControlPlane represents the control plane configurations.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureControlPlane} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureControlPlane) com.google.cloud.gkemulticloud.v1.AzureControlPlaneOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 7: return internalGetTags(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 7: return internalGetMutableTags(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureControlPlane.class, - com.google.cloud.gkemulticloud.v1.AzureControlPlane.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureControlPlane.class, com.google.cloud.gkemulticloud.v1.AzureControlPlane.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AzureControlPlane.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1302,9 +1148,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_descriptor; } @java.lang.Override @@ -1323,18 +1169,14 @@ public com.google.cloud.gkemulticloud.v1.AzureControlPlane build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureControlPlane buildPartial() { - com.google.cloud.gkemulticloud.v1.AzureControlPlane result = - new com.google.cloud.gkemulticloud.v1.AzureControlPlane(this); + com.google.cloud.gkemulticloud.v1.AzureControlPlane result = new com.google.cloud.gkemulticloud.v1.AzureControlPlane(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.gkemulticloud.v1.AzureControlPlane result) { + private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.AzureControlPlane result) { if (replicaPlacementsBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0)) { replicaPlacements_ = java.util.Collections.unmodifiableList(replicaPlacements_); @@ -1358,27 +1200,34 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureControlPlane r result.vmSize_ = vmSize_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.sshConfig_ = sshConfigBuilder_ == null ? sshConfig_ : sshConfigBuilder_.build(); + result.sshConfig_ = sshConfigBuilder_ == null + ? sshConfig_ + : sshConfigBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.rootVolume_ = rootVolumeBuilder_ == null ? rootVolume_ : rootVolumeBuilder_.build(); + result.rootVolume_ = rootVolumeBuilder_ == null + ? rootVolume_ + : rootVolumeBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.mainVolume_ = mainVolumeBuilder_ == null ? mainVolume_ : mainVolumeBuilder_.build(); + result.mainVolume_ = mainVolumeBuilder_ == null + ? mainVolume_ + : mainVolumeBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { - result.databaseEncryption_ = - databaseEncryptionBuilder_ == null - ? databaseEncryption_ - : databaseEncryptionBuilder_.build(); + result.databaseEncryption_ = databaseEncryptionBuilder_ == null + ? databaseEncryption_ + : databaseEncryptionBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { - result.proxyConfig_ = - proxyConfigBuilder_ == null ? proxyConfig_ : proxyConfigBuilder_.build(); + result.proxyConfig_ = proxyConfigBuilder_ == null + ? proxyConfig_ + : proxyConfigBuilder_.build(); } if (((from_bitField0_ & 0x00000100) != 0)) { - result.configEncryption_ = - configEncryptionBuilder_ == null ? configEncryption_ : configEncryptionBuilder_.build(); + result.configEncryption_ = configEncryptionBuilder_ == null + ? configEncryption_ + : configEncryptionBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { result.tags_ = internalGetTags(); @@ -1393,39 +1242,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureControlPlane r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AzureControlPlane) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureControlPlane) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureControlPlane)other); } else { super.mergeFrom(other); return this; @@ -1433,8 +1281,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureControlPlane other) { - if (other == com.google.cloud.gkemulticloud.v1.AzureControlPlane.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.AzureControlPlane.getDefaultInstance()) return this; if (!other.getVersion().isEmpty()) { version_ = other.version_; bitField0_ |= 0x00000001; @@ -1468,7 +1315,8 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureControlPlane oth if (other.hasConfigEncryption()) { mergeConfigEncryption(other.getConfigEncryption()); } - internalGetMutableTags().mergeFrom(other.internalGetTags()); + internalGetMutableTags().mergeFrom( + other.internalGetTags()); bitField0_ |= 0x00000200; if (replicaPlacementsBuilder_ == null) { if (!other.replicaPlacements_.isEmpty()) { @@ -1488,10 +1336,9 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureControlPlane oth replicaPlacementsBuilder_ = null; replicaPlacements_ = other.replicaPlacements_; bitField0_ = (bitField0_ & ~0x00000400); - replicaPlacementsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getReplicaPlacementsFieldBuilder() - : null; + replicaPlacementsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getReplicaPlacementsFieldBuilder() : null; } else { replicaPlacementsBuilder_.addAllMessages(other.replicaPlacements_); } @@ -1528,98 +1375,96 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - version_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - subnetId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - vmSize_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getRootVolumeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 42: - { - input.readMessage(getMainVolumeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 42 - case 58: - { - com.google.protobuf.MapEntry tags__ = - input.readMessage( - TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableTags().getMutableMap().put(tags__.getKey(), tags__.getValue()); - bitField0_ |= 0x00000200; - break; - } // case 58 - case 82: - { - input.readMessage( - getDatabaseEncryptionFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 82 - case 90: - { - input.readMessage(getSshConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 90 - case 98: - { - input.readMessage(getProxyConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 98 - case 106: - { - com.google.cloud.gkemulticloud.v1.ReplicaPlacement m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.ReplicaPlacement.parser(), - extensionRegistry); - if (replicaPlacementsBuilder_ == null) { - ensureReplicaPlacementsIsMutable(); - replicaPlacements_.add(m); - } else { - replicaPlacementsBuilder_.addMessage(m); - } - break; - } // case 106 - case 114: - { - input.readMessage( - getConfigEncryptionFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 114 - case 122: - { - endpointSubnetId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; - break; - } // case 122 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + subnetId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + vmSize_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getRootVolumeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 42: { + input.readMessage( + getMainVolumeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 42 + case 58: { + com.google.protobuf.MapEntry + tags__ = input.readMessage( + TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableTags().getMutableMap().put( + tags__.getKey(), tags__.getValue()); + bitField0_ |= 0x00000200; + break; + } // case 58 + case 82: { + input.readMessage( + getDatabaseEncryptionFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 82 + case 90: { + input.readMessage( + getSshConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 90 + case 98: { + input.readMessage( + getProxyConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 98 + case 106: { + com.google.cloud.gkemulticloud.v1.ReplicaPlacement m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.ReplicaPlacement.parser(), + extensionRegistry); + if (replicaPlacementsBuilder_ == null) { + ensureReplicaPlacementsIsMutable(); + replicaPlacements_.add(m); + } else { + replicaPlacementsBuilder_.addMessage(m); + } + break; + } // case 106 + case 114: { + input.readMessage( + getConfigEncryptionFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 114 + case 122: { + endpointSubnetId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 122 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1629,13 +1474,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object version_ = ""; /** - * - * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1646,13 +1488,13 @@ public Builder mergeFrom(
      * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -1661,8 +1503,6 @@ public java.lang.String getVersion() { } } /** - * - * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1673,14 +1513,15 @@ public java.lang.String getVersion() {
      * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -1688,8 +1529,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1700,22 +1539,18 @@ public com.google.protobuf.ByteString getVersionBytes() {
      * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } version_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1726,7 +1561,6 @@ public Builder setVersion(java.lang.String value) {
      * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearVersion() { @@ -1736,8 +1570,6 @@ public Builder clearVersion() { return this; } /** - * - * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1748,14 +1580,12 @@ public Builder clearVersion() {
      * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); version_ = value; bitField0_ |= 0x00000001; @@ -1765,8 +1595,6 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object subnetId_ = ""; /** - * - * *
      * Optional. The ARM ID of the default subnet for the control plane. The
      * control plane VMs are deployed in this subnet, unless
@@ -1781,13 +1609,13 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) {
      * 
* * string subnet_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The subnetId. */ public java.lang.String getSubnetId() { java.lang.Object ref = subnetId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetId_ = s; return s; @@ -1796,8 +1624,6 @@ public java.lang.String getSubnetId() { } } /** - * - * *
      * Optional. The ARM ID of the default subnet for the control plane. The
      * control plane VMs are deployed in this subnet, unless
@@ -1812,14 +1638,15 @@ public java.lang.String getSubnetId() {
      * 
* * string subnet_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for subnetId. */ - public com.google.protobuf.ByteString getSubnetIdBytes() { + public com.google.protobuf.ByteString + getSubnetIdBytes() { java.lang.Object ref = subnetId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnetId_ = b; return b; } else { @@ -1827,8 +1654,6 @@ public com.google.protobuf.ByteString getSubnetIdBytes() { } } /** - * - * *
      * Optional. The ARM ID of the default subnet for the control plane. The
      * control plane VMs are deployed in this subnet, unless
@@ -1843,22 +1668,18 @@ public com.google.protobuf.ByteString getSubnetIdBytes() {
      * 
* * string subnet_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The subnetId to set. * @return This builder for chaining. */ - public Builder setSubnetId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSubnetId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } subnetId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. The ARM ID of the default subnet for the control plane. The
      * control plane VMs are deployed in this subnet, unless
@@ -1873,7 +1694,6 @@ public Builder setSubnetId(java.lang.String value) {
      * 
* * string subnet_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearSubnetId() { @@ -1883,8 +1703,6 @@ public Builder clearSubnetId() { return this; } /** - * - * *
      * Optional. The ARM ID of the default subnet for the control plane. The
      * control plane VMs are deployed in this subnet, unless
@@ -1899,14 +1717,12 @@ public Builder clearSubnetId() {
      * 
* * string subnet_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for subnetId to set. * @return This builder for chaining. */ - public Builder setSubnetIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSubnetIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); subnetId_ = value; bitField0_ |= 0x00000002; @@ -1916,8 +1732,6 @@ public Builder setSubnetIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object vmSize_ = ""; /** - * - * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      *
@@ -1928,13 +1742,13 @@ public Builder setSubnetIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string vm_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The vmSize. */ public java.lang.String getVmSize() { java.lang.Object ref = vmSize_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vmSize_ = s; return s; @@ -1943,8 +1757,6 @@ public java.lang.String getVmSize() { } } /** - * - * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      *
@@ -1955,14 +1767,15 @@ public java.lang.String getVmSize() {
      * 
* * string vm_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for vmSize. */ - public com.google.protobuf.ByteString getVmSizeBytes() { + public com.google.protobuf.ByteString + getVmSizeBytes() { java.lang.Object ref = vmSize_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); vmSize_ = b; return b; } else { @@ -1970,8 +1783,6 @@ public com.google.protobuf.ByteString getVmSizeBytes() { } } /** - * - * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      *
@@ -1982,22 +1793,18 @@ public com.google.protobuf.ByteString getVmSizeBytes() {
      * 
* * string vm_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The vmSize to set. * @return This builder for chaining. */ - public Builder setVmSize(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVmSize( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } vmSize_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      *
@@ -2008,7 +1815,6 @@ public Builder setVmSize(java.lang.String value) {
      * 
* * string vm_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearVmSize() { @@ -2018,8 +1824,6 @@ public Builder clearVmSize() { return this; } /** - * - * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      *
@@ -2030,14 +1834,12 @@ public Builder clearVmSize() {
      * 
* * string vm_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for vmSize to set. * @return This builder for chaining. */ - public Builder setVmSizeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVmSizeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); vmSize_ = value; bitField0_ |= 0x00000004; @@ -2047,61 +1849,42 @@ public Builder setVmSizeBytes(com.google.protobuf.ByteString value) { private com.google.cloud.gkemulticloud.v1.AzureSshConfig sshConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureSshConfig, - com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder, - com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder> - sshConfigBuilder_; + com.google.cloud.gkemulticloud.v1.AzureSshConfig, com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder, com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder> sshConfigBuilder_; /** - * - * *
      * Required. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the sshConfig field is set. */ public boolean hasSshConfig() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Required. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; * @return The sshConfig. */ public com.google.cloud.gkemulticloud.v1.AzureSshConfig getSshConfig() { if (sshConfigBuilder_ == null) { - return sshConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance() - : sshConfig_; + return sshConfig_ == null ? com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance() : sshConfig_; } else { return sshConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSshConfig(com.google.cloud.gkemulticloud.v1.AzureSshConfig value) { if (sshConfigBuilder_ == null) { @@ -2117,16 +1900,12 @@ public Builder setSshConfig(com.google.cloud.gkemulticloud.v1.AzureSshConfig val return this; } /** - * - * *
      * Required. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSshConfig( com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder builderForValue) { @@ -2140,23 +1919,18 @@ public Builder setSshConfig( return this; } /** - * - * *
      * Required. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeSshConfig(com.google.cloud.gkemulticloud.v1.AzureSshConfig value) { if (sshConfigBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && sshConfig_ != null - && sshConfig_ - != com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + sshConfig_ != null && + sshConfig_ != com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance()) { getSshConfigBuilder().mergeFrom(value); } else { sshConfig_ = value; @@ -2169,16 +1943,12 @@ public Builder mergeSshConfig(com.google.cloud.gkemulticloud.v1.AzureSshConfig v return this; } /** - * - * *
      * Required. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearSshConfig() { bitField0_ = (bitField0_ & ~0x00000008); @@ -2191,16 +1961,12 @@ public Builder clearSshConfig() { return this; } /** - * - * *
      * Required. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder getSshConfigBuilder() { bitField0_ |= 0x00000008; @@ -2208,50 +1974,38 @@ public com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder getSshConfigBuil return getSshConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder getSshConfigOrBuilder() { if (sshConfigBuilder_ != null) { return sshConfigBuilder_.getMessageOrBuilder(); } else { - return sshConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance() - : sshConfig_; + return sshConfig_ == null ? + com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance() : sshConfig_; } } /** - * - * *
      * Required. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureSshConfig, - com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder, - com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureSshConfig, com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder, com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder> getSshConfigFieldBuilder() { if (sshConfigBuilder_ == null) { - sshConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureSshConfig, - com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder, - com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder>( - getSshConfig(), getParentForChildren(), isClean()); + sshConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureSshConfig, com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder, com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder>( + getSshConfig(), + getParentForChildren(), + isClean()); sshConfig_ = null; } return sshConfigBuilder_; @@ -2259,13 +2013,8 @@ public com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder getSshConfigOrB private com.google.cloud.gkemulticloud.v1.AzureDiskTemplate rootVolume_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, - com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder> - rootVolumeBuilder_; + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder> rootVolumeBuilder_; /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2273,18 +2022,13 @@ public com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder getSshConfigOrB
      * When unspecified, it defaults to 32-GiB Azure Disk.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the rootVolume field is set. */ public boolean hasRootVolume() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2292,24 +2036,17 @@ public boolean hasRootVolume() {
      * When unspecified, it defaults to 32-GiB Azure Disk.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The rootVolume. */ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getRootVolume() { if (rootVolumeBuilder_ == null) { - return rootVolume_ == null - ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() - : rootVolume_; + return rootVolume_ == null ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() : rootVolume_; } else { return rootVolumeBuilder_.getMessage(); } } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2317,9 +2054,7 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getRootVolume() {
      * When unspecified, it defaults to 32-GiB Azure Disk.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setRootVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate value) { if (rootVolumeBuilder_ == null) { @@ -2335,8 +2070,6 @@ public Builder setRootVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate return this; } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2344,9 +2077,7 @@ public Builder setRootVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate
      * When unspecified, it defaults to 32-GiB Azure Disk.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setRootVolume( com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder builderForValue) { @@ -2360,8 +2091,6 @@ public Builder setRootVolume( return this; } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2369,16 +2098,13 @@ public Builder setRootVolume(
      * When unspecified, it defaults to 32-GiB Azure Disk.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeRootVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate value) { if (rootVolumeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && rootVolume_ != null - && rootVolume_ - != com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + rootVolume_ != null && + rootVolume_ != com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance()) { getRootVolumeBuilder().mergeFrom(value); } else { rootVolume_ = value; @@ -2391,8 +2117,6 @@ public Builder mergeRootVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTempla return this; } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2400,9 +2124,7 @@ public Builder mergeRootVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTempla
      * When unspecified, it defaults to 32-GiB Azure Disk.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearRootVolume() { bitField0_ = (bitField0_ & ~0x00000010); @@ -2415,8 +2137,6 @@ public Builder clearRootVolume() { return this; } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2424,9 +2144,7 @@ public Builder clearRootVolume() {
      * When unspecified, it defaults to 32-GiB Azure Disk.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder getRootVolumeBuilder() { bitField0_ |= 0x00000010; @@ -2434,8 +2152,6 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder getRootVolume return getRootVolumeFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2443,22 +2159,17 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder getRootVolume
      * When unspecified, it defaults to 32-GiB Azure Disk.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getRootVolumeOrBuilder() { if (rootVolumeBuilder_ != null) { return rootVolumeBuilder_.getMessageOrBuilder(); } else { - return rootVolume_ == null - ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() - : rootVolume_; + return rootVolume_ == null ? + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() : rootVolume_; } } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2466,22 +2177,17 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getRootVolum
      * When unspecified, it defaults to 32-GiB Azure Disk.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, - com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder> getRootVolumeFieldBuilder() { if (rootVolumeBuilder_ == null) { - rootVolumeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, - com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder>( - getRootVolume(), getParentForChildren(), isClean()); + rootVolumeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder>( + getRootVolume(), + getParentForChildren(), + isClean()); rootVolume_ = null; } return rootVolumeBuilder_; @@ -2489,13 +2195,8 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getRootVolum private com.google.cloud.gkemulticloud.v1.AzureDiskTemplate mainVolume_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, - com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder> - mainVolumeBuilder_; + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder> mainVolumeBuilder_; /** - * - * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2504,18 +2205,13 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getRootVolum
      * When unspecified, it defaults to a 8-GiB Azure Disk.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the mainVolume field is set. */ public boolean hasMainVolume() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2524,24 +2220,17 @@ public boolean hasMainVolume() {
      * When unspecified, it defaults to a 8-GiB Azure Disk.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The mainVolume. */ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getMainVolume() { if (mainVolumeBuilder_ == null) { - return mainVolume_ == null - ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() - : mainVolume_; + return mainVolume_ == null ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() : mainVolume_; } else { return mainVolumeBuilder_.getMessage(); } } /** - * - * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2550,9 +2239,7 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getMainVolume() {
      * When unspecified, it defaults to a 8-GiB Azure Disk.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setMainVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate value) { if (mainVolumeBuilder_ == null) { @@ -2568,8 +2255,6 @@ public Builder setMainVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate return this; } /** - * - * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2578,9 +2263,7 @@ public Builder setMainVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate
      * When unspecified, it defaults to a 8-GiB Azure Disk.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setMainVolume( com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder builderForValue) { @@ -2594,8 +2277,6 @@ public Builder setMainVolume( return this; } /** - * - * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2604,16 +2285,13 @@ public Builder setMainVolume(
      * When unspecified, it defaults to a 8-GiB Azure Disk.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeMainVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate value) { if (mainVolumeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && mainVolume_ != null - && mainVolume_ - != com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + mainVolume_ != null && + mainVolume_ != com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance()) { getMainVolumeBuilder().mergeFrom(value); } else { mainVolume_ = value; @@ -2626,8 +2304,6 @@ public Builder mergeMainVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTempla return this; } /** - * - * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2636,9 +2312,7 @@ public Builder mergeMainVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTempla
      * When unspecified, it defaults to a 8-GiB Azure Disk.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearMainVolume() { bitField0_ = (bitField0_ & ~0x00000020); @@ -2651,8 +2325,6 @@ public Builder clearMainVolume() { return this; } /** - * - * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2661,9 +2333,7 @@ public Builder clearMainVolume() {
      * When unspecified, it defaults to a 8-GiB Azure Disk.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder getMainVolumeBuilder() { bitField0_ |= 0x00000020; @@ -2671,8 +2341,6 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder getMainVolume return getMainVolumeFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2681,22 +2349,17 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder getMainVolume
      * When unspecified, it defaults to a 8-GiB Azure Disk.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getMainVolumeOrBuilder() { if (mainVolumeBuilder_ != null) { return mainVolumeBuilder_.getMessageOrBuilder(); } else { - return mainVolume_ == null - ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() - : mainVolume_; + return mainVolume_ == null ? + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() : mainVolume_; } } /** - * - * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2705,22 +2368,17 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getMainVolum
      * When unspecified, it defaults to a 8-GiB Azure Disk.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, - com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder> getMainVolumeFieldBuilder() { if (mainVolumeBuilder_ == null) { - mainVolumeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, - com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder>( - getMainVolume(), getParentForChildren(), isClean()); + mainVolumeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder>( + getMainVolume(), + getParentForChildren(), + isClean()); mainVolume_ = null; } return mainVolumeBuilder_; @@ -2728,61 +2386,41 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getMainVolum private com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption databaseEncryption_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption, - com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.Builder, - com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryptionOrBuilder> - databaseEncryptionBuilder_; + com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption, com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.Builder, com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryptionOrBuilder> databaseEncryptionBuilder_; /** - * - * *
      * Optional. Configuration related to application-layer secrets encryption.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the databaseEncryption field is set. */ public boolean hasDatabaseEncryption() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Optional. Configuration related to application-layer secrets encryption.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return The databaseEncryption. */ public com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption getDatabaseEncryption() { if (databaseEncryptionBuilder_ == null) { - return databaseEncryption_ == null - ? com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.getDefaultInstance() - : databaseEncryption_; + return databaseEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.getDefaultInstance() : databaseEncryption_; } else { return databaseEncryptionBuilder_.getMessage(); } } /** - * - * *
      * Optional. Configuration related to application-layer secrets encryption.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setDatabaseEncryption( - com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption value) { + public Builder setDatabaseEncryption(com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption value) { if (databaseEncryptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2796,15 +2434,11 @@ public Builder setDatabaseEncryption( return this; } /** - * - * *
      * Optional. Configuration related to application-layer secrets encryption.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setDatabaseEncryption( com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.Builder builderForValue) { @@ -2818,23 +2452,17 @@ public Builder setDatabaseEncryption( return this; } /** - * - * *
      * Optional. Configuration related to application-layer secrets encryption.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeDatabaseEncryption( - com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption value) { + public Builder mergeDatabaseEncryption(com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption value) { if (databaseEncryptionBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && databaseEncryption_ != null - && databaseEncryption_ - != com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + databaseEncryption_ != null && + databaseEncryption_ != com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.getDefaultInstance()) { getDatabaseEncryptionBuilder().mergeFrom(value); } else { databaseEncryption_ = value; @@ -2847,15 +2475,11 @@ public Builder mergeDatabaseEncryption( return this; } /** - * - * *
      * Optional. Configuration related to application-layer secrets encryption.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearDatabaseEncryption() { bitField0_ = (bitField0_ & ~0x00000040); @@ -2868,66 +2492,48 @@ public Builder clearDatabaseEncryption() { return this; } /** - * - * *
      * Optional. Configuration related to application-layer secrets encryption.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.Builder - getDatabaseEncryptionBuilder() { + public com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.Builder getDatabaseEncryptionBuilder() { bitField0_ |= 0x00000040; onChanged(); return getDatabaseEncryptionFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Configuration related to application-layer secrets encryption.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryptionOrBuilder - getDatabaseEncryptionOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryptionOrBuilder getDatabaseEncryptionOrBuilder() { if (databaseEncryptionBuilder_ != null) { return databaseEncryptionBuilder_.getMessageOrBuilder(); } else { - return databaseEncryption_ == null - ? com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.getDefaultInstance() - : databaseEncryption_; + return databaseEncryption_ == null ? + com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.getDefaultInstance() : databaseEncryption_; } } /** - * - * *
      * Optional. Configuration related to application-layer secrets encryption.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption, - com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.Builder, - com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryptionOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption, com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.Builder, com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryptionOrBuilder> getDatabaseEncryptionFieldBuilder() { if (databaseEncryptionBuilder_ == null) { - databaseEncryptionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption, - com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.Builder, - com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryptionOrBuilder>( - getDatabaseEncryption(), getParentForChildren(), isClean()); + databaseEncryptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption, com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.Builder, com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryptionOrBuilder>( + getDatabaseEncryption(), + getParentForChildren(), + isClean()); databaseEncryption_ = null; } return databaseEncryptionBuilder_; @@ -2935,58 +2541,39 @@ public Builder clearDatabaseEncryption() { private com.google.cloud.gkemulticloud.v1.AzureProxyConfig proxyConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureProxyConfig, - com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder, - com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder> - proxyConfigBuilder_; + com.google.cloud.gkemulticloud.v1.AzureProxyConfig, com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder> proxyConfigBuilder_; /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the proxyConfig field is set. */ public boolean hasProxyConfig() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The proxyConfig. */ public com.google.cloud.gkemulticloud.v1.AzureProxyConfig getProxyConfig() { if (proxyConfigBuilder_ == null) { - return proxyConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance() - : proxyConfig_; + return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance() : proxyConfig_; } else { return proxyConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setProxyConfig(com.google.cloud.gkemulticloud.v1.AzureProxyConfig value) { if (proxyConfigBuilder_ == null) { @@ -3002,15 +2589,11 @@ public Builder setProxyConfig(com.google.cloud.gkemulticloud.v1.AzureProxyConfig return this; } /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setProxyConfig( com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder builderForValue) { @@ -3024,22 +2607,17 @@ public Builder setProxyConfig( return this; } /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeProxyConfig(com.google.cloud.gkemulticloud.v1.AzureProxyConfig value) { if (proxyConfigBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) - && proxyConfig_ != null - && proxyConfig_ - != com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) && + proxyConfig_ != null && + proxyConfig_ != com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance()) { getProxyConfigBuilder().mergeFrom(value); } else { proxyConfig_ = value; @@ -3052,15 +2630,11 @@ public Builder mergeProxyConfig(com.google.cloud.gkemulticloud.v1.AzureProxyConf return this; } /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearProxyConfig() { bitField0_ = (bitField0_ & ~0x00000080); @@ -3073,15 +2647,11 @@ public Builder clearProxyConfig() { return this; } /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder getProxyConfigBuilder() { bitField0_ |= 0x00000080; @@ -3089,48 +2659,36 @@ public com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder getProxyConfig return getProxyConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder getProxyConfigOrBuilder() { if (proxyConfigBuilder_ != null) { return proxyConfigBuilder_.getMessageOrBuilder(); } else { - return proxyConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance() - : proxyConfig_; + return proxyConfig_ == null ? + com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance() : proxyConfig_; } } /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureProxyConfig, - com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder, - com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureProxyConfig, com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder> getProxyConfigFieldBuilder() { if (proxyConfigBuilder_ == null) { - proxyConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureProxyConfig, - com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder, - com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder>( - getProxyConfig(), getParentForChildren(), isClean()); + proxyConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureProxyConfig, com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder>( + getProxyConfig(), + getParentForChildren(), + isClean()); proxyConfig_ = null; } return proxyConfigBuilder_; @@ -3138,61 +2696,41 @@ public com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder getProxyConfi private com.google.cloud.gkemulticloud.v1.AzureConfigEncryption configEncryption_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption, - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder, - com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder> - configEncryptionBuilder_; + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption, com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder, com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder> configEncryptionBuilder_; /** - * - * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the configEncryption field is set. */ public boolean hasConfigEncryption() { return ((bitField0_ & 0x00000100) != 0); } /** - * - * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return The configEncryption. */ public com.google.cloud.gkemulticloud.v1.AzureConfigEncryption getConfigEncryption() { if (configEncryptionBuilder_ == null) { - return configEncryption_ == null - ? com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance() - : configEncryption_; + return configEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance() : configEncryption_; } else { return configEncryptionBuilder_.getMessage(); } } /** - * - * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setConfigEncryption( - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption value) { + public Builder setConfigEncryption(com.google.cloud.gkemulticloud.v1.AzureConfigEncryption value) { if (configEncryptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3206,15 +2744,11 @@ public Builder setConfigEncryption( return this; } /** - * - * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setConfigEncryption( com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder builderForValue) { @@ -3228,23 +2762,17 @@ public Builder setConfigEncryption( return this; } /** - * - * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeConfigEncryption( - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption value) { + public Builder mergeConfigEncryption(com.google.cloud.gkemulticloud.v1.AzureConfigEncryption value) { if (configEncryptionBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) - && configEncryption_ != null - && configEncryption_ - != com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) && + configEncryption_ != null && + configEncryption_ != com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance()) { getConfigEncryptionBuilder().mergeFrom(value); } else { configEncryption_ = value; @@ -3257,15 +2785,11 @@ public Builder mergeConfigEncryption( return this; } /** - * - * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearConfigEncryption() { bitField0_ = (bitField0_ & ~0x00000100); @@ -3278,84 +2802,68 @@ public Builder clearConfigEncryption() { return this; } /** - * - * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder - getConfigEncryptionBuilder() { + public com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder getConfigEncryptionBuilder() { bitField0_ |= 0x00000100; onChanged(); return getConfigEncryptionFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder - getConfigEncryptionOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder getConfigEncryptionOrBuilder() { if (configEncryptionBuilder_ != null) { return configEncryptionBuilder_.getMessageOrBuilder(); } else { - return configEncryption_ == null - ? com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance() - : configEncryption_; + return configEncryption_ == null ? + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance() : configEncryption_; } } /** - * - * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption, - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder, - com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption, com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder, com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder> getConfigEncryptionFieldBuilder() { if (configEncryptionBuilder_ == null) { - configEncryptionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption, - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder, - com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder>( - getConfigEncryption(), getParentForChildren(), isClean()); + configEncryptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption, com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder, com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder>( + getConfigEncryption(), + getParentForChildren(), + isClean()); configEncryption_ = null; } return configEncryptionBuilder_; } - private com.google.protobuf.MapField tags_; - - private com.google.protobuf.MapField internalGetTags() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> tags_; + private com.google.protobuf.MapField + internalGetTags() { if (tags_ == null) { - return com.google.protobuf.MapField.emptyMapField(TagsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + TagsDefaultEntryHolder.defaultEntry); } return tags_; } - private com.google.protobuf.MapField internalGetMutableTags() { if (tags_ == null) { - tags_ = com.google.protobuf.MapField.newMapField(TagsDefaultEntryHolder.defaultEntry); + tags_ = com.google.protobuf.MapField.newMapField( + TagsDefaultEntryHolder.defaultEntry); } if (!tags_.isMutable()) { tags_ = tags_.copy(); @@ -3364,13 +2872,10 @@ private com.google.protobuf.MapField interna onChanged(); return tags_; } - public int getTagsCount() { return internalGetTags().getMap().size(); } /** - * - * *
      * Optional. A set of tags to apply to all underlying control plane Azure
      * resources.
@@ -3379,21 +2884,20 @@ public int getTagsCount() {
      * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public boolean containsTags(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsTags(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetTags().getMap().containsKey(key);
     }
-    /** Use {@link #getTagsMap()} instead. */
+    /**
+     * Use {@link #getTagsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getTags() {
       return getTagsMap();
     }
     /**
-     *
-     *
      * 
      * Optional. A set of tags to apply to all underlying control plane Azure
      * resources.
@@ -3406,8 +2910,6 @@ public java.util.Map getTagsMap() {
       return internalGetTags().getMap();
     }
     /**
-     *
-     *
      * 
      * Optional. A set of tags to apply to all underlying control plane Azure
      * resources.
@@ -3416,19 +2918,17 @@ public java.util.Map getTagsMap() {
      * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getTagsOrDefault(
+    public /* nullable */
+java.lang.String getTagsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetTags().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetTags().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Optional. A set of tags to apply to all underlying control plane Azure
      * resources.
@@ -3437,25 +2937,23 @@ public java.util.Map getTagsMap() {
      * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public java.lang.String getTagsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetTags().getMap();
+    public java.lang.String getTagsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetTags().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearTags() {
       bitField0_ = (bitField0_ & ~0x00000200);
-      internalGetMutableTags().getMutableMap().clear();
+      internalGetMutableTags().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. A set of tags to apply to all underlying control plane Azure
      * resources.
@@ -3463,22 +2961,23 @@ public Builder clearTags() {
      *
      * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder removeTags(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableTags().getMutableMap().remove(key);
+    public Builder removeTags(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableTags().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableTags() {
+    public java.util.Map
+        getMutableTags() {
       bitField0_ |= 0x00000200;
       return internalGetMutableTags().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Optional. A set of tags to apply to all underlying control plane Azure
      * resources.
@@ -3486,20 +2985,17 @@ public java.util.Map getMutableTags() {
      *
      * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putTags(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableTags().getMutableMap().put(key, value);
+    public Builder putTags(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableTags().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000200;
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. A set of tags to apply to all underlying control plane Azure
      * resources.
@@ -3507,33 +3003,27 @@ public Builder putTags(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putAllTags(java.util.Map values) {
-      internalGetMutableTags().getMutableMap().putAll(values);
+    public Builder putAllTags(
+        java.util.Map values) {
+      internalGetMutableTags().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000200;
       return this;
     }
 
     private java.util.List replicaPlacements_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureReplicaPlacementsIsMutable() {
       if (!((bitField0_ & 0x00000400) != 0)) {
-        replicaPlacements_ =
-            new java.util.ArrayList(
-                replicaPlacements_);
+        replicaPlacements_ = new java.util.ArrayList(replicaPlacements_);
         bitField0_ |= 0x00000400;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.gkemulticloud.v1.ReplicaPlacement,
-            com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder,
-            com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder>
-        replicaPlacementsBuilder_;
+        com.google.cloud.gkemulticloud.v1.ReplicaPlacement, com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder, com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder> replicaPlacementsBuilder_;
 
     /**
-     *
-     *
      * 
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3542,12 +3032,9 @@ private void ensureReplicaPlacementsIsMutable() {
      * to the three control plane replicas as evenly as possible.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getReplicaPlacementsList() { + public java.util.List getReplicaPlacementsList() { if (replicaPlacementsBuilder_ == null) { return java.util.Collections.unmodifiableList(replicaPlacements_); } else { @@ -3555,8 +3042,6 @@ private void ensureReplicaPlacementsIsMutable() { } } /** - * - * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3565,9 +3050,7 @@ private void ensureReplicaPlacementsIsMutable() {
      * to the three control plane replicas as evenly as possible.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; */ public int getReplicaPlacementsCount() { if (replicaPlacementsBuilder_ == null) { @@ -3577,8 +3060,6 @@ public int getReplicaPlacementsCount() { } } /** - * - * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3587,9 +3068,7 @@ public int getReplicaPlacementsCount() {
      * to the three control plane replicas as evenly as possible.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.ReplicaPlacement getReplicaPlacements(int index) { if (replicaPlacementsBuilder_ == null) { @@ -3599,8 +3078,6 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacement getReplicaPlacements(i } } /** - * - * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3609,9 +3086,7 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacement getReplicaPlacements(i
      * to the three control plane replicas as evenly as possible.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setReplicaPlacements( int index, com.google.cloud.gkemulticloud.v1.ReplicaPlacement value) { @@ -3628,8 +3103,6 @@ public Builder setReplicaPlacements( return this; } /** - * - * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3638,9 +3111,7 @@ public Builder setReplicaPlacements(
      * to the three control plane replicas as evenly as possible.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setReplicaPlacements( int index, com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder builderForValue) { @@ -3654,8 +3125,6 @@ public Builder setReplicaPlacements( return this; } /** - * - * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3664,9 +3133,7 @@ public Builder setReplicaPlacements(
      * to the three control plane replicas as evenly as possible.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addReplicaPlacements(com.google.cloud.gkemulticloud.v1.ReplicaPlacement value) { if (replicaPlacementsBuilder_ == null) { @@ -3682,8 +3149,6 @@ public Builder addReplicaPlacements(com.google.cloud.gkemulticloud.v1.ReplicaPla return this; } /** - * - * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3692,9 +3157,7 @@ public Builder addReplicaPlacements(com.google.cloud.gkemulticloud.v1.ReplicaPla
      * to the three control plane replicas as evenly as possible.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addReplicaPlacements( int index, com.google.cloud.gkemulticloud.v1.ReplicaPlacement value) { @@ -3711,8 +3174,6 @@ public Builder addReplicaPlacements( return this; } /** - * - * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3721,9 +3182,7 @@ public Builder addReplicaPlacements(
      * to the three control plane replicas as evenly as possible.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addReplicaPlacements( com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder builderForValue) { @@ -3737,8 +3196,6 @@ public Builder addReplicaPlacements( return this; } /** - * - * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3747,9 +3204,7 @@ public Builder addReplicaPlacements(
      * to the three control plane replicas as evenly as possible.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addReplicaPlacements( int index, com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder builderForValue) { @@ -3763,8 +3218,6 @@ public Builder addReplicaPlacements( return this; } /** - * - * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3773,15 +3226,14 @@ public Builder addReplicaPlacements(
      * to the three control plane replicas as evenly as possible.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAllReplicaPlacements( java.lang.Iterable values) { if (replicaPlacementsBuilder_ == null) { ensureReplicaPlacementsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, replicaPlacements_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, replicaPlacements_); onChanged(); } else { replicaPlacementsBuilder_.addAllMessages(values); @@ -3789,8 +3241,6 @@ public Builder addAllReplicaPlacements( return this; } /** - * - * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3799,9 +3249,7 @@ public Builder addAllReplicaPlacements(
      * to the three control plane replicas as evenly as possible.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearReplicaPlacements() { if (replicaPlacementsBuilder_ == null) { @@ -3814,8 +3262,6 @@ public Builder clearReplicaPlacements() { return this; } /** - * - * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3824,9 +3270,7 @@ public Builder clearReplicaPlacements() {
      * to the three control plane replicas as evenly as possible.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder removeReplicaPlacements(int index) { if (replicaPlacementsBuilder_ == null) { @@ -3839,8 +3283,6 @@ public Builder removeReplicaPlacements(int index) { return this; } /** - * - * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3849,17 +3291,13 @@ public Builder removeReplicaPlacements(int index) {
      * to the three control plane replicas as evenly as possible.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder getReplicaPlacementsBuilder( int index) { return getReplicaPlacementsFieldBuilder().getBuilder(index); } /** - * - * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3868,21 +3306,16 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder getReplicaPlac
      * to the three control plane replicas as evenly as possible.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder - getReplicaPlacementsOrBuilder(int index) { + public com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder getReplicaPlacementsOrBuilder( + int index) { if (replicaPlacementsBuilder_ == null) { - return replicaPlacements_.get(index); - } else { + return replicaPlacements_.get(index); } else { return replicaPlacementsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3891,12 +3324,10 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder getReplicaPlac
      * to the three control plane replicas as evenly as possible.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getReplicaPlacementsOrBuilderList() { + public java.util.List + getReplicaPlacementsOrBuilderList() { if (replicaPlacementsBuilder_ != null) { return replicaPlacementsBuilder_.getMessageOrBuilderList(); } else { @@ -3904,8 +3335,6 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder getReplicaPlac } } /** - * - * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3914,18 +3343,13 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder getReplicaPlac
      * to the three control plane replicas as evenly as possible.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder - addReplicaPlacementsBuilder() { - return getReplicaPlacementsFieldBuilder() - .addBuilder(com.google.cloud.gkemulticloud.v1.ReplicaPlacement.getDefaultInstance()); + public com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder addReplicaPlacementsBuilder() { + return getReplicaPlacementsFieldBuilder().addBuilder( + com.google.cloud.gkemulticloud.v1.ReplicaPlacement.getDefaultInstance()); } /** - * - * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3934,19 +3358,14 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder getReplicaPlac
      * to the three control plane replicas as evenly as possible.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder addReplicaPlacementsBuilder( int index) { - return getReplicaPlacementsFieldBuilder() - .addBuilder( - index, com.google.cloud.gkemulticloud.v1.ReplicaPlacement.getDefaultInstance()); + return getReplicaPlacementsFieldBuilder().addBuilder( + index, com.google.cloud.gkemulticloud.v1.ReplicaPlacement.getDefaultInstance()); } /** - * - * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3955,26 +3374,18 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder addReplicaPlac
      * to the three control plane replicas as evenly as possible.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getReplicaPlacementsBuilderList() { + public java.util.List + getReplicaPlacementsBuilderList() { return getReplicaPlacementsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.ReplicaPlacement, - com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder, - com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder> + com.google.cloud.gkemulticloud.v1.ReplicaPlacement, com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder, com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder> getReplicaPlacementsFieldBuilder() { if (replicaPlacementsBuilder_ == null) { - replicaPlacementsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.ReplicaPlacement, - com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder, - com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder>( + replicaPlacementsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.ReplicaPlacement, com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder, com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder>( replicaPlacements_, ((bitField0_ & 0x00000400) != 0), getParentForChildren(), @@ -3986,8 +3397,6 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder addReplicaPlac private java.lang.Object endpointSubnetId_ = ""; /** - * - * *
      * Optional. The ARM ID of the subnet where the control plane load balancer is
      * deployed. When unspecified, it defaults to AzureControlPlane.subnet_id.
@@ -3997,13 +3406,13 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder addReplicaPlac
      * 
* * string endpoint_subnet_id = 15 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The endpointSubnetId. */ public java.lang.String getEndpointSubnetId() { java.lang.Object ref = endpointSubnetId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endpointSubnetId_ = s; return s; @@ -4012,8 +3421,6 @@ public java.lang.String getEndpointSubnetId() { } } /** - * - * *
      * Optional. The ARM ID of the subnet where the control plane load balancer is
      * deployed. When unspecified, it defaults to AzureControlPlane.subnet_id.
@@ -4023,14 +3430,15 @@ public java.lang.String getEndpointSubnetId() {
      * 
* * string endpoint_subnet_id = 15 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for endpointSubnetId. */ - public com.google.protobuf.ByteString getEndpointSubnetIdBytes() { + public com.google.protobuf.ByteString + getEndpointSubnetIdBytes() { java.lang.Object ref = endpointSubnetId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); endpointSubnetId_ = b; return b; } else { @@ -4038,8 +3446,6 @@ public com.google.protobuf.ByteString getEndpointSubnetIdBytes() { } } /** - * - * *
      * Optional. The ARM ID of the subnet where the control plane load balancer is
      * deployed. When unspecified, it defaults to AzureControlPlane.subnet_id.
@@ -4049,22 +3455,18 @@ public com.google.protobuf.ByteString getEndpointSubnetIdBytes() {
      * 
* * string endpoint_subnet_id = 15 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The endpointSubnetId to set. * @return This builder for chaining. */ - public Builder setEndpointSubnetId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEndpointSubnetId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } endpointSubnetId_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** - * - * *
      * Optional. The ARM ID of the subnet where the control plane load balancer is
      * deployed. When unspecified, it defaults to AzureControlPlane.subnet_id.
@@ -4074,7 +3476,6 @@ public Builder setEndpointSubnetId(java.lang.String value) {
      * 
* * string endpoint_subnet_id = 15 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEndpointSubnetId() { @@ -4084,8 +3485,6 @@ public Builder clearEndpointSubnetId() { return this; } /** - * - * *
      * Optional. The ARM ID of the subnet where the control plane load balancer is
      * deployed. When unspecified, it defaults to AzureControlPlane.subnet_id.
@@ -4095,23 +3494,21 @@ public Builder clearEndpointSubnetId() {
      * 
* * string endpoint_subnet_id = 15 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for endpointSubnetId to set. * @return This builder for chaining. */ - public Builder setEndpointSubnetIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEndpointSubnetIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); endpointSubnetId_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4121,12 +3518,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureControlPlane) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureControlPlane) private static final com.google.cloud.gkemulticloud.v1.AzureControlPlane DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureControlPlane(); } @@ -4135,27 +3532,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureControlPlane getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureControlPlane parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureControlPlane parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4170,4 +3567,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureControlPlane getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlaneOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlaneOrBuilder.java similarity index 71% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlaneOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlaneOrBuilder.java index d6945b40adc2..87cce09be60e 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlaneOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlaneOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureControlPlaneOrBuilder - extends +public interface AzureControlPlaneOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureControlPlane) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The Kubernetes version to run on control plane replicas
    * (e.g. `1.19.10-gke.1000`).
@@ -36,13 +18,10 @@ public interface AzureControlPlaneOrBuilder
    * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * Required. The Kubernetes version to run on control plane replicas
    * (e.g. `1.19.10-gke.1000`).
@@ -53,14 +32,12 @@ public interface AzureControlPlaneOrBuilder
    * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
    * Optional. The ARM ID of the default subnet for the control plane. The
    * control plane VMs are deployed in this subnet, unless
@@ -75,13 +52,10 @@ public interface AzureControlPlaneOrBuilder
    * 
* * string subnet_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The subnetId. */ java.lang.String getSubnetId(); /** - * - * *
    * Optional. The ARM ID of the default subnet for the control plane. The
    * control plane VMs are deployed in this subnet, unless
@@ -96,14 +70,12 @@ public interface AzureControlPlaneOrBuilder
    * 
* * string subnet_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for subnetId. */ - com.google.protobuf.ByteString getSubnetIdBytes(); + com.google.protobuf.ByteString + getSubnetIdBytes(); /** - * - * *
    * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
    *
@@ -114,13 +86,10 @@ public interface AzureControlPlaneOrBuilder
    * 
* * string vm_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The vmSize. */ java.lang.String getVmSize(); /** - * - * *
    * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
    *
@@ -131,58 +100,42 @@ public interface AzureControlPlaneOrBuilder
    * 
* * string vm_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for vmSize. */ - com.google.protobuf.ByteString getVmSizeBytes(); + com.google.protobuf.ByteString + getVmSizeBytes(); /** - * - * *
    * Required. SSH configuration for how to access the underlying control plane
    * machines.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the sshConfig field is set. */ boolean hasSshConfig(); /** - * - * *
    * Required. SSH configuration for how to access the underlying control plane
    * machines.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; * @return The sshConfig. */ com.google.cloud.gkemulticloud.v1.AzureSshConfig getSshConfig(); /** - * - * *
    * Required. SSH configuration for how to access the underlying control plane
    * machines.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder getSshConfigOrBuilder(); /** - * - * *
    * Optional. Configuration related to the root volume provisioned for each
    * control plane replica.
@@ -190,16 +143,11 @@ public interface AzureControlPlaneOrBuilder
    * When unspecified, it defaults to 32-GiB Azure Disk.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the rootVolume field is set. */ boolean hasRootVolume(); /** - * - * *
    * Optional. Configuration related to the root volume provisioned for each
    * control plane replica.
@@ -207,16 +155,11 @@ public interface AzureControlPlaneOrBuilder
    * When unspecified, it defaults to 32-GiB Azure Disk.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The rootVolume. */ com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getRootVolume(); /** - * - * *
    * Optional. Configuration related to the root volume provisioned for each
    * control plane replica.
@@ -224,15 +167,11 @@ public interface AzureControlPlaneOrBuilder
    * When unspecified, it defaults to 32-GiB Azure Disk.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getRootVolumeOrBuilder(); /** - * - * *
    * Optional. Configuration related to the main volume provisioned for each
    * control plane replica.
@@ -241,16 +180,11 @@ public interface AzureControlPlaneOrBuilder
    * When unspecified, it defaults to a 8-GiB Azure Disk.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the mainVolume field is set. */ boolean hasMainVolume(); /** - * - * *
    * Optional. Configuration related to the main volume provisioned for each
    * control plane replica.
@@ -259,16 +193,11 @@ public interface AzureControlPlaneOrBuilder
    * When unspecified, it defaults to a 8-GiB Azure Disk.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The mainVolume. */ com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getMainVolume(); /** - * - * *
    * Optional. Configuration related to the main volume provisioned for each
    * control plane replica.
@@ -277,139 +206,92 @@ public interface AzureControlPlaneOrBuilder
    * When unspecified, it defaults to a 8-GiB Azure Disk.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getMainVolumeOrBuilder(); /** - * - * *
    * Optional. Configuration related to application-layer secrets encryption.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the databaseEncryption field is set. */ boolean hasDatabaseEncryption(); /** - * - * *
    * Optional. Configuration related to application-layer secrets encryption.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return The databaseEncryption. */ com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption getDatabaseEncryption(); /** - * - * *
    * Optional. Configuration related to application-layer secrets encryption.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryptionOrBuilder - getDatabaseEncryptionOrBuilder(); + com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryptionOrBuilder getDatabaseEncryptionOrBuilder(); /** - * - * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the proxyConfig field is set. */ boolean hasProxyConfig(); /** - * - * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The proxyConfig. */ com.google.cloud.gkemulticloud.v1.AzureProxyConfig getProxyConfig(); /** - * - * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder getProxyConfigOrBuilder(); /** - * - * *
    * Optional. Configuration related to vm config encryption.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the configEncryption field is set. */ boolean hasConfigEncryption(); /** - * - * *
    * Optional. Configuration related to vm config encryption.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; * @return The configEncryption. */ com.google.cloud.gkemulticloud.v1.AzureConfigEncryption getConfigEncryption(); /** - * - * *
    * Optional. Configuration related to vm config encryption.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder getConfigEncryptionOrBuilder(); /** - * - * *
    * Optional. A set of tags to apply to all underlying control plane Azure
    * resources.
@@ -419,8 +301,6 @@ public interface AzureControlPlaneOrBuilder
    */
   int getTagsCount();
   /**
-   *
-   *
    * 
    * Optional. A set of tags to apply to all underlying control plane Azure
    * resources.
@@ -428,13 +308,15 @@ public interface AzureControlPlaneOrBuilder
    *
    * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL];
    */
-  boolean containsTags(java.lang.String key);
-  /** Use {@link #getTagsMap()} instead. */
+  boolean containsTags(
+      java.lang.String key);
+  /**
+   * Use {@link #getTagsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getTags();
+  java.util.Map
+  getTags();
   /**
-   *
-   *
    * 
    * Optional. A set of tags to apply to all underlying control plane Azure
    * resources.
@@ -442,10 +324,9 @@ public interface AzureControlPlaneOrBuilder
    *
    * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.util.Map getTagsMap();
+  java.util.Map
+  getTagsMap();
   /**
-   *
-   *
    * 
    * Optional. A set of tags to apply to all underlying control plane Azure
    * resources.
@@ -454,13 +335,11 @@ public interface AzureControlPlaneOrBuilder
    * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL];
    */
   /* nullable */
-  java.lang.String getTagsOrDefault(
+java.lang.String getTagsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Optional. A set of tags to apply to all underlying control plane Azure
    * resources.
@@ -468,11 +347,10 @@ java.lang.String getTagsOrDefault(
    *
    * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.lang.String getTagsOrThrow(java.lang.String key);
+  java.lang.String getTagsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Optional. Configuration for where to place the control plane replicas.
    *
@@ -481,14 +359,11 @@ java.lang.String getTagsOrDefault(
    * to the three control plane replicas as evenly as possible.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List getReplicaPlacementsList(); + java.util.List + getReplicaPlacementsList(); /** - * - * *
    * Optional. Configuration for where to place the control plane replicas.
    *
@@ -497,14 +372,10 @@ java.lang.String getTagsOrDefault(
    * to the three control plane replicas as evenly as possible.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.gkemulticloud.v1.ReplicaPlacement getReplicaPlacements(int index); /** - * - * *
    * Optional. Configuration for where to place the control plane replicas.
    *
@@ -513,14 +384,10 @@ java.lang.String getTagsOrDefault(
    * to the three control plane replicas as evenly as possible.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; */ int getReplicaPlacementsCount(); /** - * - * *
    * Optional. Configuration for where to place the control plane replicas.
    *
@@ -529,15 +396,11 @@ java.lang.String getTagsOrDefault(
    * to the three control plane replicas as evenly as possible.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getReplicaPlacementsOrBuilderList(); /** - * - * *
    * Optional. Configuration for where to place the control plane replicas.
    *
@@ -546,16 +409,12 @@ java.lang.String getTagsOrDefault(
    * to the three control plane replicas as evenly as possible.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder getReplicaPlacementsOrBuilder( int index); /** - * - * *
    * Optional. The ARM ID of the subnet where the control plane load balancer is
    * deployed. When unspecified, it defaults to AzureControlPlane.subnet_id.
@@ -565,13 +424,10 @@ com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder getReplicaPlacements
    * 
* * string endpoint_subnet_id = 15 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The endpointSubnetId. */ java.lang.String getEndpointSubnetId(); /** - * - * *
    * Optional. The ARM ID of the subnet where the control plane load balancer is
    * deployed. When unspecified, it defaults to AzureControlPlane.subnet_id.
@@ -581,8 +437,8 @@ com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder getReplicaPlacements
    * 
* * string endpoint_subnet_id = 15 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for endpointSubnetId. */ - com.google.protobuf.ByteString getEndpointSubnetIdBytes(); + com.google.protobuf.ByteString + getEndpointSubnetIdBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryption.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryption.java similarity index 70% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryption.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryption.java index b3afc4a7935d..11ac89071a1a 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryption.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryption.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Configuration related to application-layer secrets encryption.
  *
@@ -30,48 +13,43 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureDatabaseEncryption}
  */
-public final class AzureDatabaseEncryption extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AzureDatabaseEncryption extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureDatabaseEncryption)
     AzureDatabaseEncryptionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AzureDatabaseEncryption.newBuilder() to construct.
   private AzureDatabaseEncryption(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AzureDatabaseEncryption() {
     keyId_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AzureDatabaseEncryption();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-        .internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-        .internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.class,
-            com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.Builder.class);
+            com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.class, com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.Builder.class);
   }
 
   public static final int KEY_ID_FIELD_NUMBER = 3;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object keyId_ = "";
   /**
-   *
-   *
    * 
    * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.
    *
@@ -82,7 +60,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string key_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The keyId. */ @java.lang.Override @@ -91,15 +68,14 @@ public java.lang.String getKeyId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyId_ = s; return s; } } /** - * - * *
    * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.
    *
@@ -110,15 +86,16 @@ public java.lang.String getKeyId() {
    * 
* * string key_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for keyId. */ @java.lang.Override - public com.google.protobuf.ByteString getKeyIdBytes() { + public com.google.protobuf.ByteString + getKeyIdBytes() { java.lang.Object ref = keyId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); keyId_ = b; return b; } else { @@ -127,7 +104,6 @@ public com.google.protobuf.ByteString getKeyIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +115,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, keyId_); } @@ -163,15 +140,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption other = - (com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption) obj; + com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption other = (com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption) obj; - if (!getKeyId().equals(other.getKeyId())) return false; + if (!getKeyId() + .equals(other.getKeyId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -191,104 +168,98 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration related to application-layer secrets encryption.
    *
@@ -298,32 +269,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureDatabaseEncryption}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureDatabaseEncryption)
       com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryptionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.class,
-              com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.Builder.class);
+              com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.class, com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -333,9 +305,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_descriptor;
     }
 
     @java.lang.Override
@@ -354,11 +326,8 @@ public com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption buildPartial() {
-      com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption result =
-          new com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption result = new com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -374,39 +343,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryp
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption) other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -414,8 +382,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption other) {
-      if (other == com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.getDefaultInstance()) return this;
       if (!other.getKeyId().isEmpty()) {
         keyId_ = other.keyId_;
         bitField0_ |= 0x00000001;
@@ -447,19 +414,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 26:
-              {
-                keyId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 26: {
+              keyId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -469,13 +434,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object keyId_ = "";
     /**
-     *
-     *
      * 
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.
      *
@@ -486,13 +448,13 @@ public Builder mergeFrom(
      * 
* * string key_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The keyId. */ public java.lang.String getKeyId() { java.lang.Object ref = keyId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyId_ = s; return s; @@ -501,8 +463,6 @@ public java.lang.String getKeyId() { } } /** - * - * *
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.
      *
@@ -513,14 +473,15 @@ public java.lang.String getKeyId() {
      * 
* * string key_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for keyId. */ - public com.google.protobuf.ByteString getKeyIdBytes() { + public com.google.protobuf.ByteString + getKeyIdBytes() { java.lang.Object ref = keyId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); keyId_ = b; return b; } else { @@ -528,8 +489,6 @@ public com.google.protobuf.ByteString getKeyIdBytes() { } } /** - * - * *
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.
      *
@@ -540,22 +499,18 @@ public com.google.protobuf.ByteString getKeyIdBytes() {
      * 
* * string key_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The keyId to set. * @return This builder for chaining. */ - public Builder setKeyId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKeyId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } keyId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.
      *
@@ -566,7 +521,6 @@ public Builder setKeyId(java.lang.String value) {
      * 
* * string key_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearKeyId() { @@ -576,8 +530,6 @@ public Builder clearKeyId() { return this; } /** - * - * *
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.
      *
@@ -588,23 +540,21 @@ public Builder clearKeyId() {
      * 
* * string key_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for keyId to set. * @return This builder for chaining. */ - public Builder setKeyIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKeyIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); keyId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -614,12 +564,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureDatabaseEncryption) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureDatabaseEncryption) private static final com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption(); } @@ -628,27 +578,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureDatabaseEncryption parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureDatabaseEncryption parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -663,4 +613,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryptionOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryptionOrBuilder.java similarity index 65% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryptionOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryptionOrBuilder.java index 5d40c7eb3bcb..56d1215984ff 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryptionOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryptionOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureDatabaseEncryptionOrBuilder - extends +public interface AzureDatabaseEncryptionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureDatabaseEncryption) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.
    *
@@ -36,13 +18,10 @@ public interface AzureDatabaseEncryptionOrBuilder
    * 
* * string key_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The keyId. */ java.lang.String getKeyId(); /** - * - * *
    * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.
    *
@@ -53,8 +32,8 @@ public interface AzureDatabaseEncryptionOrBuilder
    * 
* * string key_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for keyId. */ - com.google.protobuf.ByteString getKeyIdBytes(); + com.google.protobuf.ByteString + getKeyIdBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplate.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplate.java similarity index 66% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplate.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplate.java index 0bcd1124bb90..162b55045659 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplate.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplate.java @@ -1,70 +1,50 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Configuration for Azure Disks.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureDiskTemplate} */ -public final class AzureDiskTemplate extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AzureDiskTemplate extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureDiskTemplate) AzureDiskTemplateOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AzureDiskTemplate.newBuilder() to construct. private AzureDiskTemplate(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AzureDiskTemplate() {} + private AzureDiskTemplate() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AzureDiskTemplate(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.class, - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.class, com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder.class); } public static final int SIZE_GIB_FIELD_NUMBER = 1; private int sizeGib_ = 0; /** - * - * *
    * Optional. The size of the disk, in GiBs.
    *
@@ -73,7 +53,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The sizeGib. */ @java.lang.Override @@ -82,7 +61,6 @@ public int getSizeGib() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -94,7 +72,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (sizeGib_ != 0) { output.writeInt32(1, sizeGib_); } @@ -108,7 +87,8 @@ public int getSerializedSize() { size = 0; if (sizeGib_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, sizeGib_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, sizeGib_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -118,15 +98,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureDiskTemplate)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate other = - (com.google.cloud.gkemulticloud.v1.AzureDiskTemplate) obj; + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate other = (com.google.cloud.gkemulticloud.v1.AzureDiskTemplate) obj; - if (getSizeGib() != other.getSizeGib()) return false; + if (getSizeGib() + != other.getSizeGib()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -146,135 +126,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AzureDiskTemplate parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureDiskTemplate parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureDiskTemplate parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureDiskTemplate parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureDiskTemplate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureDiskTemplate parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AzureDiskTemplate parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureDiskTemplate parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureDiskTemplate parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureDiskTemplate parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureDiskTemplate parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureDiskTemplate parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureDiskTemplate parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureDiskTemplate parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for Azure Disks.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureDiskTemplate} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureDiskTemplate) com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.class, - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.class, com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -284,9 +260,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_descriptor; } @java.lang.Override @@ -305,11 +281,8 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate buildPartial() { - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate result = - new com.google.cloud.gkemulticloud.v1.AzureDiskTemplate(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate result = new com.google.cloud.gkemulticloud.v1.AzureDiskTemplate(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -325,39 +298,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AzureDiskTemplate) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureDiskTemplate) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureDiskTemplate)other); } else { super.mergeFrom(other); return this; @@ -365,8 +337,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate other) { - if (other == com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance()) return this; if (other.getSizeGib() != 0) { setSizeGib(other.getSizeGib()); } @@ -396,19 +367,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - sizeGib_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + sizeGib_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -418,13 +387,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int sizeGib_; + private int sizeGib_ ; /** - * - * *
      * Optional. The size of the disk, in GiBs.
      *
@@ -433,7 +399,6 @@ public Builder mergeFrom(
      * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The sizeGib. */ @java.lang.Override @@ -441,8 +406,6 @@ public int getSizeGib() { return sizeGib_; } /** - * - * *
      * Optional. The size of the disk, in GiBs.
      *
@@ -451,7 +414,6 @@ public int getSizeGib() {
      * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The sizeGib to set. * @return This builder for chaining. */ @@ -463,8 +425,6 @@ public Builder setSizeGib(int value) { return this; } /** - * - * *
      * Optional. The size of the disk, in GiBs.
      *
@@ -473,7 +433,6 @@ public Builder setSizeGib(int value) {
      * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearSizeGib() { @@ -482,9 +441,9 @@ public Builder clearSizeGib() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -494,12 +453,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureDiskTemplate) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureDiskTemplate) private static final com.google.cloud.gkemulticloud.v1.AzureDiskTemplate DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureDiskTemplate(); } @@ -508,27 +467,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureDiskTemplate parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureDiskTemplate parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -543,4 +502,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplateOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplateOrBuilder.java new file mode 100644 index 000000000000..41e47e64892f --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplateOrBuilder.java @@ -0,0 +1,22 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface AzureDiskTemplateOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureDiskTemplate) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Optional. The size of the disk, in GiBs.
+   *
+   * When unspecified, a default value is provided. See the specific reference
+   * in the parent resource.
+   * 
+ * + * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return The sizeGib. + */ + int getSizeGib(); +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureJsonWebKeys.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureJsonWebKeys.java new file mode 100644 index 000000000000..7d635874e25e --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureJsonWebKeys.java @@ -0,0 +1,882 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +/** + *
+ * AzureJsonWebKeys is a valid JSON Web Key Set as specififed in RFC 7517.
+ * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureJsonWebKeys} + */ +public final class AzureJsonWebKeys extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureJsonWebKeys) + AzureJsonWebKeysOrBuilder { +private static final long serialVersionUID = 0L; + // Use AzureJsonWebKeys.newBuilder() to construct. + private AzureJsonWebKeys(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AzureJsonWebKeys() { + keys_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AzureJsonWebKeys(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureJsonWebKeys_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureJsonWebKeys_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys.class, com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys.Builder.class); + } + + public static final int KEYS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private java.util.List keys_; + /** + *
+   * The public component of the keys used by the cluster to sign token
+   * requests.
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + @java.lang.Override + public java.util.List getKeysList() { + return keys_; + } + /** + *
+   * The public component of the keys used by the cluster to sign token
+   * requests.
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + @java.lang.Override + public java.util.List + getKeysOrBuilderList() { + return keys_; + } + /** + *
+   * The public component of the keys used by the cluster to sign token
+   * requests.
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + @java.lang.Override + public int getKeysCount() { + return keys_.size(); + } + /** + *
+   * The public component of the keys used by the cluster to sign token
+   * requests.
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.Jwk getKeys(int index) { + return keys_.get(index); + } + /** + *
+   * The public component of the keys used by the cluster to sign token
+   * requests.
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.JwkOrBuilder getKeysOrBuilder( + int index) { + return keys_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < keys_.size(); i++) { + output.writeMessage(1, keys_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < keys_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, keys_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys other = (com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys) obj; + + if (!getKeysList() + .equals(other.getKeysList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getKeysCount() > 0) { + hash = (37 * hash) + KEYS_FIELD_NUMBER; + hash = (53 * hash) + getKeysList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * AzureJsonWebKeys is a valid JSON Web Key Set as specififed in RFC 7517.
+   * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureJsonWebKeys} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureJsonWebKeys) + com.google.cloud.gkemulticloud.v1.AzureJsonWebKeysOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureJsonWebKeys_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureJsonWebKeys_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys.class, com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (keysBuilder_ == null) { + keys_ = java.util.Collections.emptyList(); + } else { + keys_ = null; + keysBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureJsonWebKeys_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys build() { + com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys buildPartial() { + com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys result = new com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys result) { + if (keysBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + keys_ = java.util.Collections.unmodifiableList(keys_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.keys_ = keys_; + } else { + result.keys_ = keysBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys other) { + if (other == com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys.getDefaultInstance()) return this; + if (keysBuilder_ == null) { + if (!other.keys_.isEmpty()) { + if (keys_.isEmpty()) { + keys_ = other.keys_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureKeysIsMutable(); + keys_.addAll(other.keys_); + } + onChanged(); + } + } else { + if (!other.keys_.isEmpty()) { + if (keysBuilder_.isEmpty()) { + keysBuilder_.dispose(); + keysBuilder_ = null; + keys_ = other.keys_; + bitField0_ = (bitField0_ & ~0x00000001); + keysBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getKeysFieldBuilder() : null; + } else { + keysBuilder_.addAllMessages(other.keys_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.cloud.gkemulticloud.v1.Jwk m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.Jwk.parser(), + extensionRegistry); + if (keysBuilder_ == null) { + ensureKeysIsMutable(); + keys_.add(m); + } else { + keysBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.util.List keys_ = + java.util.Collections.emptyList(); + private void ensureKeysIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + keys_ = new java.util.ArrayList(keys_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.Jwk, com.google.cloud.gkemulticloud.v1.Jwk.Builder, com.google.cloud.gkemulticloud.v1.JwkOrBuilder> keysBuilder_; + + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public java.util.List getKeysList() { + if (keysBuilder_ == null) { + return java.util.Collections.unmodifiableList(keys_); + } else { + return keysBuilder_.getMessageList(); + } + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public int getKeysCount() { + if (keysBuilder_ == null) { + return keys_.size(); + } else { + return keysBuilder_.getCount(); + } + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public com.google.cloud.gkemulticloud.v1.Jwk getKeys(int index) { + if (keysBuilder_ == null) { + return keys_.get(index); + } else { + return keysBuilder_.getMessage(index); + } + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public Builder setKeys( + int index, com.google.cloud.gkemulticloud.v1.Jwk value) { + if (keysBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureKeysIsMutable(); + keys_.set(index, value); + onChanged(); + } else { + keysBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public Builder setKeys( + int index, com.google.cloud.gkemulticloud.v1.Jwk.Builder builderForValue) { + if (keysBuilder_ == null) { + ensureKeysIsMutable(); + keys_.set(index, builderForValue.build()); + onChanged(); + } else { + keysBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public Builder addKeys(com.google.cloud.gkemulticloud.v1.Jwk value) { + if (keysBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureKeysIsMutable(); + keys_.add(value); + onChanged(); + } else { + keysBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public Builder addKeys( + int index, com.google.cloud.gkemulticloud.v1.Jwk value) { + if (keysBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureKeysIsMutable(); + keys_.add(index, value); + onChanged(); + } else { + keysBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public Builder addKeys( + com.google.cloud.gkemulticloud.v1.Jwk.Builder builderForValue) { + if (keysBuilder_ == null) { + ensureKeysIsMutable(); + keys_.add(builderForValue.build()); + onChanged(); + } else { + keysBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public Builder addKeys( + int index, com.google.cloud.gkemulticloud.v1.Jwk.Builder builderForValue) { + if (keysBuilder_ == null) { + ensureKeysIsMutable(); + keys_.add(index, builderForValue.build()); + onChanged(); + } else { + keysBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public Builder addAllKeys( + java.lang.Iterable values) { + if (keysBuilder_ == null) { + ensureKeysIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, keys_); + onChanged(); + } else { + keysBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public Builder clearKeys() { + if (keysBuilder_ == null) { + keys_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + keysBuilder_.clear(); + } + return this; + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public Builder removeKeys(int index) { + if (keysBuilder_ == null) { + ensureKeysIsMutable(); + keys_.remove(index); + onChanged(); + } else { + keysBuilder_.remove(index); + } + return this; + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public com.google.cloud.gkemulticloud.v1.Jwk.Builder getKeysBuilder( + int index) { + return getKeysFieldBuilder().getBuilder(index); + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public com.google.cloud.gkemulticloud.v1.JwkOrBuilder getKeysOrBuilder( + int index) { + if (keysBuilder_ == null) { + return keys_.get(index); } else { + return keysBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public java.util.List + getKeysOrBuilderList() { + if (keysBuilder_ != null) { + return keysBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(keys_); + } + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public com.google.cloud.gkemulticloud.v1.Jwk.Builder addKeysBuilder() { + return getKeysFieldBuilder().addBuilder( + com.google.cloud.gkemulticloud.v1.Jwk.getDefaultInstance()); + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public com.google.cloud.gkemulticloud.v1.Jwk.Builder addKeysBuilder( + int index) { + return getKeysFieldBuilder().addBuilder( + index, com.google.cloud.gkemulticloud.v1.Jwk.getDefaultInstance()); + } + /** + *
+     * The public component of the keys used by the cluster to sign token
+     * requests.
+     * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + public java.util.List + getKeysBuilderList() { + return getKeysFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.Jwk, com.google.cloud.gkemulticloud.v1.Jwk.Builder, com.google.cloud.gkemulticloud.v1.JwkOrBuilder> + getKeysFieldBuilder() { + if (keysBuilder_ == null) { + keysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.Jwk, com.google.cloud.gkemulticloud.v1.Jwk.Builder, com.google.cloud.gkemulticloud.v1.JwkOrBuilder>( + keys_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + keys_ = null; + } + return keysBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureJsonWebKeys) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureJsonWebKeys) + private static final com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys(); + } + + public static com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureJsonWebKeys parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureJsonWebKeysOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureJsonWebKeysOrBuilder.java new file mode 100644 index 000000000000..a9754f59bc1a --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureJsonWebKeysOrBuilder.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface AzureJsonWebKeysOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureJsonWebKeys) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The public component of the keys used by the cluster to sign token
+   * requests.
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + java.util.List + getKeysList(); + /** + *
+   * The public component of the keys used by the cluster to sign token
+   * requests.
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + com.google.cloud.gkemulticloud.v1.Jwk getKeys(int index); + /** + *
+   * The public component of the keys used by the cluster to sign token
+   * requests.
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + int getKeysCount(); + /** + *
+   * The public component of the keys used by the cluster to sign token
+   * requests.
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + java.util.List + getKeysOrBuilderList(); + /** + *
+   * The public component of the keys used by the cluster to sign token
+   * requests.
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1; + */ + com.google.cloud.gkemulticloud.v1.JwkOrBuilder getKeysOrBuilder( + int index); +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfo.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfo.java new file mode 100644 index 000000000000..57a0c3d685c8 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfo.java @@ -0,0 +1,1257 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +/** + *
+ * Kubernetes version information of GKE cluster on Azure.
+ * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureK8sVersionInfo} + */ +public final class AzureK8sVersionInfo extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureK8sVersionInfo) + AzureK8sVersionInfoOrBuilder { +private static final long serialVersionUID = 0L; + // Use AzureK8sVersionInfo.newBuilder() to construct. + private AzureK8sVersionInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AzureK8sVersionInfo() { + version_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AzureK8sVersionInfo(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.class, com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder.class); + } + + public static final int VERSION_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object version_ = ""; + /** + *
+   * Kubernetes version name (for example, `1.19.10-gke.1000`)
+   * 
+ * + * string version = 1; + * @return The version. + */ + @java.lang.Override + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + version_ = s; + return s; + } + } + /** + *
+   * Kubernetes version name (for example, `1.19.10-gke.1000`)
+   * 
+ * + * string version = 1; + * @return The bytes for version. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ENABLED_FIELD_NUMBER = 3; + private boolean enabled_ = false; + /** + *
+   * Optional. True if the version is available for cluster creation. If a
+   * version is enabled for creation, it can be used to create new clusters.
+   * Otherwise, cluster creation will fail. However, cluster upgrade operations
+   * may succeed, even if the version is not enabled.
+   * 
+ * + * bool enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The enabled. + */ + @java.lang.Override + public boolean getEnabled() { + return enabled_; + } + + public static final int END_OF_LIFE_FIELD_NUMBER = 4; + private boolean endOfLife_ = false; + /** + *
+   * Optional. True if this cluster version belongs to a minor version that has
+   * reached its end of life and is no longer in scope to receive security and
+   * bug fixes.
+   * 
+ * + * bool end_of_life = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The endOfLife. + */ + @java.lang.Override + public boolean getEndOfLife() { + return endOfLife_; + } + + public static final int END_OF_LIFE_DATE_FIELD_NUMBER = 5; + private com.google.type.Date endOfLifeDate_; + /** + *
+   * Optional. The estimated date (in Pacific Time) when this cluster version
+   * will reach its end of life. Or if this version is no longer supported (the
+   * `end_of_life` field is true), this is the actual date (in Pacific time)
+   * when the version reached its end of life.
+   * 
+ * + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the endOfLifeDate field is set. + */ + @java.lang.Override + public boolean hasEndOfLifeDate() { + return endOfLifeDate_ != null; + } + /** + *
+   * Optional. The estimated date (in Pacific Time) when this cluster version
+   * will reach its end of life. Or if this version is no longer supported (the
+   * `end_of_life` field is true), this is the actual date (in Pacific time)
+   * when the version reached its end of life.
+   * 
+ * + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The endOfLifeDate. + */ + @java.lang.Override + public com.google.type.Date getEndOfLifeDate() { + return endOfLifeDate_ == null ? com.google.type.Date.getDefaultInstance() : endOfLifeDate_; + } + /** + *
+   * Optional. The estimated date (in Pacific Time) when this cluster version
+   * will reach its end of life. Or if this version is no longer supported (the
+   * `end_of_life` field is true), this is the actual date (in Pacific time)
+   * when the version reached its end of life.
+   * 
+ * + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public com.google.type.DateOrBuilder getEndOfLifeDateOrBuilder() { + return endOfLifeDate_ == null ? com.google.type.Date.getDefaultInstance() : endOfLifeDate_; + } + + public static final int RELEASE_DATE_FIELD_NUMBER = 6; + private com.google.type.Date releaseDate_; + /** + *
+   * Optional. The date (in Pacific Time) when the cluster version was released.
+   * 
+ * + * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the releaseDate field is set. + */ + @java.lang.Override + public boolean hasReleaseDate() { + return releaseDate_ != null; + } + /** + *
+   * Optional. The date (in Pacific Time) when the cluster version was released.
+   * 
+ * + * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The releaseDate. + */ + @java.lang.Override + public com.google.type.Date getReleaseDate() { + return releaseDate_ == null ? com.google.type.Date.getDefaultInstance() : releaseDate_; + } + /** + *
+   * Optional. The date (in Pacific Time) when the cluster version was released.
+   * 
+ * + * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public com.google.type.DateOrBuilder getReleaseDateOrBuilder() { + return releaseDate_ == null ? com.google.type.Date.getDefaultInstance() : releaseDate_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); + } + if (enabled_ != false) { + output.writeBool(3, enabled_); + } + if (endOfLife_ != false) { + output.writeBool(4, endOfLife_); + } + if (endOfLifeDate_ != null) { + output.writeMessage(5, getEndOfLifeDate()); + } + if (releaseDate_ != null) { + output.writeMessage(6, getReleaseDate()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, version_); + } + if (enabled_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, enabled_); + } + if (endOfLife_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, endOfLife_); + } + if (endOfLifeDate_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getEndOfLifeDate()); + } + if (releaseDate_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getReleaseDate()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo other = (com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo) obj; + + if (!getVersion() + .equals(other.getVersion())) return false; + if (getEnabled() + != other.getEnabled()) return false; + if (getEndOfLife() + != other.getEndOfLife()) return false; + if (hasEndOfLifeDate() != other.hasEndOfLifeDate()) return false; + if (hasEndOfLifeDate()) { + if (!getEndOfLifeDate() + .equals(other.getEndOfLifeDate())) return false; + } + if (hasReleaseDate() != other.hasReleaseDate()) return false; + if (hasReleaseDate()) { + if (!getReleaseDate() + .equals(other.getReleaseDate())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion().hashCode(); + hash = (37 * hash) + ENABLED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); + hash = (37 * hash) + END_OF_LIFE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEndOfLife()); + if (hasEndOfLifeDate()) { + hash = (37 * hash) + END_OF_LIFE_DATE_FIELD_NUMBER; + hash = (53 * hash) + getEndOfLifeDate().hashCode(); + } + if (hasReleaseDate()) { + hash = (37 * hash) + RELEASE_DATE_FIELD_NUMBER; + hash = (53 * hash) + getReleaseDate().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Kubernetes version information of GKE cluster on Azure.
+   * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureK8sVersionInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureK8sVersionInfo) + com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.class, com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + version_ = ""; + enabled_ = false; + endOfLife_ = false; + endOfLifeDate_ = null; + if (endOfLifeDateBuilder_ != null) { + endOfLifeDateBuilder_.dispose(); + endOfLifeDateBuilder_ = null; + } + releaseDate_ = null; + if (releaseDateBuilder_ != null) { + releaseDateBuilder_.dispose(); + releaseDateBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo build() { + com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo buildPartial() { + com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo result = new com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.version_ = version_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.enabled_ = enabled_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.endOfLife_ = endOfLife_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.endOfLifeDate_ = endOfLifeDateBuilder_ == null + ? endOfLifeDate_ + : endOfLifeDateBuilder_.build(); + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.releaseDate_ = releaseDateBuilder_ == null + ? releaseDate_ + : releaseDateBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo other) { + if (other == com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.getDefaultInstance()) return this; + if (!other.getVersion().isEmpty()) { + version_ = other.version_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getEnabled() != false) { + setEnabled(other.getEnabled()); + } + if (other.getEndOfLife() != false) { + setEndOfLife(other.getEndOfLife()); + } + if (other.hasEndOfLifeDate()) { + mergeEndOfLifeDate(other.getEndOfLifeDate()); + } + if (other.hasReleaseDate()) { + mergeReleaseDate(other.getReleaseDate()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 24: { + enabled_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 24 + case 32: { + endOfLife_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 32 + case 42: { + input.readMessage( + getEndOfLifeDateFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 50: { + input.readMessage( + getReleaseDateFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object version_ = ""; + /** + *
+     * Kubernetes version name (for example, `1.19.10-gke.1000`)
+     * 
+ * + * string version = 1; + * @return The version. + */ + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + version_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Kubernetes version name (for example, `1.19.10-gke.1000`)
+     * 
+ * + * string version = 1; + * @return The bytes for version. + */ + public com.google.protobuf.ByteString + getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Kubernetes version name (for example, `1.19.10-gke.1000`)
+     * 
+ * + * string version = 1; + * @param value The version to set. + * @return This builder for chaining. + */ + public Builder setVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + version_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Kubernetes version name (for example, `1.19.10-gke.1000`)
+     * 
+ * + * string version = 1; + * @return This builder for chaining. + */ + public Builder clearVersion() { + version_ = getDefaultInstance().getVersion(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     * Kubernetes version name (for example, `1.19.10-gke.1000`)
+     * 
+ * + * string version = 1; + * @param value The bytes for version to set. + * @return This builder for chaining. + */ + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + version_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private boolean enabled_ ; + /** + *
+     * Optional. True if the version is available for cluster creation. If a
+     * version is enabled for creation, it can be used to create new clusters.
+     * Otherwise, cluster creation will fail. However, cluster upgrade operations
+     * may succeed, even if the version is not enabled.
+     * 
+ * + * bool enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The enabled. + */ + @java.lang.Override + public boolean getEnabled() { + return enabled_; + } + /** + *
+     * Optional. True if the version is available for cluster creation. If a
+     * version is enabled for creation, it can be used to create new clusters.
+     * Otherwise, cluster creation will fail. However, cluster upgrade operations
+     * may succeed, even if the version is not enabled.
+     * 
+ * + * bool enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The enabled to set. + * @return This builder for chaining. + */ + public Builder setEnabled(boolean value) { + + enabled_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * Optional. True if the version is available for cluster creation. If a
+     * version is enabled for creation, it can be used to create new clusters.
+     * Otherwise, cluster creation will fail. However, cluster upgrade operations
+     * may succeed, even if the version is not enabled.
+     * 
+ * + * bool enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearEnabled() { + bitField0_ = (bitField0_ & ~0x00000002); + enabled_ = false; + onChanged(); + return this; + } + + private boolean endOfLife_ ; + /** + *
+     * Optional. True if this cluster version belongs to a minor version that has
+     * reached its end of life and is no longer in scope to receive security and
+     * bug fixes.
+     * 
+ * + * bool end_of_life = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The endOfLife. + */ + @java.lang.Override + public boolean getEndOfLife() { + return endOfLife_; + } + /** + *
+     * Optional. True if this cluster version belongs to a minor version that has
+     * reached its end of life and is no longer in scope to receive security and
+     * bug fixes.
+     * 
+ * + * bool end_of_life = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The endOfLife to set. + * @return This builder for chaining. + */ + public Builder setEndOfLife(boolean value) { + + endOfLife_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * Optional. True if this cluster version belongs to a minor version that has
+     * reached its end of life and is no longer in scope to receive security and
+     * bug fixes.
+     * 
+ * + * bool end_of_life = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearEndOfLife() { + bitField0_ = (bitField0_ & ~0x00000004); + endOfLife_ = false; + onChanged(); + return this; + } + + private com.google.type.Date endOfLifeDate_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> endOfLifeDateBuilder_; + /** + *
+     * Optional. The estimated date (in Pacific Time) when this cluster version
+     * will reach its end of life. Or if this version is no longer supported (the
+     * `end_of_life` field is true), this is the actual date (in Pacific time)
+     * when the version reached its end of life.
+     * 
+ * + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the endOfLifeDate field is set. + */ + public boolean hasEndOfLifeDate() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + *
+     * Optional. The estimated date (in Pacific Time) when this cluster version
+     * will reach its end of life. Or if this version is no longer supported (the
+     * `end_of_life` field is true), this is the actual date (in Pacific time)
+     * when the version reached its end of life.
+     * 
+ * + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The endOfLifeDate. + */ + public com.google.type.Date getEndOfLifeDate() { + if (endOfLifeDateBuilder_ == null) { + return endOfLifeDate_ == null ? com.google.type.Date.getDefaultInstance() : endOfLifeDate_; + } else { + return endOfLifeDateBuilder_.getMessage(); + } + } + /** + *
+     * Optional. The estimated date (in Pacific Time) when this cluster version
+     * will reach its end of life. Or if this version is no longer supported (the
+     * `end_of_life` field is true), this is the actual date (in Pacific time)
+     * when the version reached its end of life.
+     * 
+ * + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setEndOfLifeDate(com.google.type.Date value) { + if (endOfLifeDateBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + endOfLifeDate_ = value; + } else { + endOfLifeDateBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Optional. The estimated date (in Pacific Time) when this cluster version
+     * will reach its end of life. Or if this version is no longer supported (the
+     * `end_of_life` field is true), this is the actual date (in Pacific time)
+     * when the version reached its end of life.
+     * 
+ * + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setEndOfLifeDate( + com.google.type.Date.Builder builderForValue) { + if (endOfLifeDateBuilder_ == null) { + endOfLifeDate_ = builderForValue.build(); + } else { + endOfLifeDateBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Optional. The estimated date (in Pacific Time) when this cluster version
+     * will reach its end of life. Or if this version is no longer supported (the
+     * `end_of_life` field is true), this is the actual date (in Pacific time)
+     * when the version reached its end of life.
+     * 
+ * + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder mergeEndOfLifeDate(com.google.type.Date value) { + if (endOfLifeDateBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) && + endOfLifeDate_ != null && + endOfLifeDate_ != com.google.type.Date.getDefaultInstance()) { + getEndOfLifeDateBuilder().mergeFrom(value); + } else { + endOfLifeDate_ = value; + } + } else { + endOfLifeDateBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Optional. The estimated date (in Pacific Time) when this cluster version
+     * will reach its end of life. Or if this version is no longer supported (the
+     * `end_of_life` field is true), this is the actual date (in Pacific time)
+     * when the version reached its end of life.
+     * 
+ * + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder clearEndOfLifeDate() { + bitField0_ = (bitField0_ & ~0x00000008); + endOfLifeDate_ = null; + if (endOfLifeDateBuilder_ != null) { + endOfLifeDateBuilder_.dispose(); + endOfLifeDateBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * Optional. The estimated date (in Pacific Time) when this cluster version
+     * will reach its end of life. Or if this version is no longer supported (the
+     * `end_of_life` field is true), this is the actual date (in Pacific time)
+     * when the version reached its end of life.
+     * 
+ * + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.type.Date.Builder getEndOfLifeDateBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getEndOfLifeDateFieldBuilder().getBuilder(); + } + /** + *
+     * Optional. The estimated date (in Pacific Time) when this cluster version
+     * will reach its end of life. Or if this version is no longer supported (the
+     * `end_of_life` field is true), this is the actual date (in Pacific time)
+     * when the version reached its end of life.
+     * 
+ * + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.type.DateOrBuilder getEndOfLifeDateOrBuilder() { + if (endOfLifeDateBuilder_ != null) { + return endOfLifeDateBuilder_.getMessageOrBuilder(); + } else { + return endOfLifeDate_ == null ? + com.google.type.Date.getDefaultInstance() : endOfLifeDate_; + } + } + /** + *
+     * Optional. The estimated date (in Pacific Time) when this cluster version
+     * will reach its end of life. Or if this version is no longer supported (the
+     * `end_of_life` field is true), this is the actual date (in Pacific time)
+     * when the version reached its end of life.
+     * 
+ * + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + getEndOfLifeDateFieldBuilder() { + if (endOfLifeDateBuilder_ == null) { + endOfLifeDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( + getEndOfLifeDate(), + getParentForChildren(), + isClean()); + endOfLifeDate_ = null; + } + return endOfLifeDateBuilder_; + } + + private com.google.type.Date releaseDate_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> releaseDateBuilder_; + /** + *
+     * Optional. The date (in Pacific Time) when the cluster version was released.
+     * 
+ * + * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the releaseDate field is set. + */ + public boolean hasReleaseDate() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + *
+     * Optional. The date (in Pacific Time) when the cluster version was released.
+     * 
+ * + * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The releaseDate. + */ + public com.google.type.Date getReleaseDate() { + if (releaseDateBuilder_ == null) { + return releaseDate_ == null ? com.google.type.Date.getDefaultInstance() : releaseDate_; + } else { + return releaseDateBuilder_.getMessage(); + } + } + /** + *
+     * Optional. The date (in Pacific Time) when the cluster version was released.
+     * 
+ * + * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setReleaseDate(com.google.type.Date value) { + if (releaseDateBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + releaseDate_ = value; + } else { + releaseDateBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * Optional. The date (in Pacific Time) when the cluster version was released.
+     * 
+ * + * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setReleaseDate( + com.google.type.Date.Builder builderForValue) { + if (releaseDateBuilder_ == null) { + releaseDate_ = builderForValue.build(); + } else { + releaseDateBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * Optional. The date (in Pacific Time) when the cluster version was released.
+     * 
+ * + * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder mergeReleaseDate(com.google.type.Date value) { + if (releaseDateBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) && + releaseDate_ != null && + releaseDate_ != com.google.type.Date.getDefaultInstance()) { + getReleaseDateBuilder().mergeFrom(value); + } else { + releaseDate_ = value; + } + } else { + releaseDateBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * Optional. The date (in Pacific Time) when the cluster version was released.
+     * 
+ * + * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder clearReleaseDate() { + bitField0_ = (bitField0_ & ~0x00000010); + releaseDate_ = null; + if (releaseDateBuilder_ != null) { + releaseDateBuilder_.dispose(); + releaseDateBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * Optional. The date (in Pacific Time) when the cluster version was released.
+     * 
+ * + * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.type.Date.Builder getReleaseDateBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getReleaseDateFieldBuilder().getBuilder(); + } + /** + *
+     * Optional. The date (in Pacific Time) when the cluster version was released.
+     * 
+ * + * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.type.DateOrBuilder getReleaseDateOrBuilder() { + if (releaseDateBuilder_ != null) { + return releaseDateBuilder_.getMessageOrBuilder(); + } else { + return releaseDate_ == null ? + com.google.type.Date.getDefaultInstance() : releaseDate_; + } + } + /** + *
+     * Optional. The date (in Pacific Time) when the cluster version was released.
+     * 
+ * + * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + getReleaseDateFieldBuilder() { + if (releaseDateBuilder_ == null) { + releaseDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( + getReleaseDate(), + getParentForChildren(), + isClean()); + releaseDate_ = null; + } + return releaseDateBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureK8sVersionInfo) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureK8sVersionInfo) + private static final com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo(); + } + + public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureK8sVersionInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfoOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfoOrBuilder.java new file mode 100644 index 000000000000..7b2ffd3e7e91 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfoOrBuilder.java @@ -0,0 +1,117 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface AzureK8sVersionInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureK8sVersionInfo) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Kubernetes version name (for example, `1.19.10-gke.1000`)
+   * 
+ * + * string version = 1; + * @return The version. + */ + java.lang.String getVersion(); + /** + *
+   * Kubernetes version name (for example, `1.19.10-gke.1000`)
+   * 
+ * + * string version = 1; + * @return The bytes for version. + */ + com.google.protobuf.ByteString + getVersionBytes(); + + /** + *
+   * Optional. True if the version is available for cluster creation. If a
+   * version is enabled for creation, it can be used to create new clusters.
+   * Otherwise, cluster creation will fail. However, cluster upgrade operations
+   * may succeed, even if the version is not enabled.
+   * 
+ * + * bool enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The enabled. + */ + boolean getEnabled(); + + /** + *
+   * Optional. True if this cluster version belongs to a minor version that has
+   * reached its end of life and is no longer in scope to receive security and
+   * bug fixes.
+   * 
+ * + * bool end_of_life = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The endOfLife. + */ + boolean getEndOfLife(); + + /** + *
+   * Optional. The estimated date (in Pacific Time) when this cluster version
+   * will reach its end of life. Or if this version is no longer supported (the
+   * `end_of_life` field is true), this is the actual date (in Pacific time)
+   * when the version reached its end of life.
+   * 
+ * + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the endOfLifeDate field is set. + */ + boolean hasEndOfLifeDate(); + /** + *
+   * Optional. The estimated date (in Pacific Time) when this cluster version
+   * will reach its end of life. Or if this version is no longer supported (the
+   * `end_of_life` field is true), this is the actual date (in Pacific time)
+   * when the version reached its end of life.
+   * 
+ * + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The endOfLifeDate. + */ + com.google.type.Date getEndOfLifeDate(); + /** + *
+   * Optional. The estimated date (in Pacific Time) when this cluster version
+   * will reach its end of life. Or if this version is no longer supported (the
+   * `end_of_life` field is true), this is the actual date (in Pacific time)
+   * when the version reached its end of life.
+   * 
+ * + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.type.DateOrBuilder getEndOfLifeDateOrBuilder(); + + /** + *
+   * Optional. The date (in Pacific Time) when the cluster version was released.
+   * 
+ * + * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the releaseDate field is set. + */ + boolean hasReleaseDate(); + /** + *
+   * Optional. The date (in Pacific Time) when the cluster version was released.
+   * 
+ * + * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The releaseDate. + */ + com.google.type.Date getReleaseDate(); + /** + *
+   * Optional. The date (in Pacific Time) when the cluster version was released.
+   * 
+ * + * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.type.DateOrBuilder getReleaseDateOrBuilder(); +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfig.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfig.java similarity index 62% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfig.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfig.java index f391dbe47d72..cb78889979f3 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfig.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Parameters that describe the configuration of all node machines
  * on a given node pool.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureNodeConfig}
  */
-public final class AzureNodeConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AzureNodeConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureNodeConfig)
     AzureNodeConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AzureNodeConfig.newBuilder() to construct.
   private AzureNodeConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AzureNodeConfig() {
     vmSize_ = "";
     imageType_ = "";
@@ -46,45 +28,42 @@ private AzureNodeConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AzureNodeConfig();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-        .internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 3:
         return internalGetTags();
       case 11:
         return internalGetLabels();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-        .internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.AzureNodeConfig.class,
-            com.google.cloud.gkemulticloud.v1.AzureNodeConfig.Builder.class);
+            com.google.cloud.gkemulticloud.v1.AzureNodeConfig.class, com.google.cloud.gkemulticloud.v1.AzureNodeConfig.Builder.class);
   }
 
   public static final int VM_SIZE_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object vmSize_ = "";
   /**
-   *
-   *
    * 
    * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
    *
@@ -95,7 +74,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The vmSize. */ @java.lang.Override @@ -104,15 +82,14 @@ public java.lang.String getVmSize() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vmSize_ = s; return s; } } /** - * - * *
    * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
    *
@@ -123,15 +100,16 @@ public java.lang.String getVmSize() {
    * 
* * string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for vmSize. */ @java.lang.Override - public com.google.protobuf.ByteString getVmSizeBytes() { + public com.google.protobuf.ByteString + getVmSizeBytes() { java.lang.Object ref = vmSize_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); vmSize_ = b; return b; } else { @@ -142,8 +120,6 @@ public com.google.protobuf.ByteString getVmSizeBytes() { public static final int ROOT_VOLUME_FIELD_NUMBER = 2; private com.google.cloud.gkemulticloud.v1.AzureDiskTemplate rootVolume_; /** - * - * *
    * Optional. Configuration related to the root volume provisioned for each
    * node pool machine.
@@ -151,10 +127,7 @@ public com.google.protobuf.ByteString getVmSizeBytes() {
    * When unspecified, it defaults to a 32-GiB Azure Disk.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the rootVolume field is set. */ @java.lang.Override @@ -162,8 +135,6 @@ public boolean hasRootVolume() { return rootVolume_ != null; } /** - * - * *
    * Optional. Configuration related to the root volume provisioned for each
    * node pool machine.
@@ -171,21 +142,14 @@ public boolean hasRootVolume() {
    * When unspecified, it defaults to a 32-GiB Azure Disk.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The rootVolume. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getRootVolume() { - return rootVolume_ == null - ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() - : rootVolume_; + return rootVolume_ == null ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() : rootVolume_; } /** - * - * *
    * Optional. Configuration related to the root volume provisioned for each
    * node pool machine.
@@ -193,46 +157,40 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getRootVolume() {
    * When unspecified, it defaults to a 32-GiB Azure Disk.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getRootVolumeOrBuilder() { - return rootVolume_ == null - ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() - : rootVolume_; + return rootVolume_ == null ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() : rootVolume_; } public static final int TAGS_FIELD_NUMBER = 3; - private static final class TagsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_TagsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_TagsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField tags_; - - private com.google.protobuf.MapField internalGetTags() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> tags_; + private com.google.protobuf.MapField + internalGetTags() { if (tags_ == null) { - return com.google.protobuf.MapField.emptyMapField(TagsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + TagsDefaultEntryHolder.defaultEntry); } return tags_; } - public int getTagsCount() { return internalGetTags().getMap().size(); } /** - * - * *
    * Optional. A set of tags to apply to all underlying Azure resources for this
    * node pool. This currently only includes Virtual Machine Scale Sets.
@@ -245,21 +203,20 @@ public int getTagsCount() {
    * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public boolean containsTags(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsTags(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetTags().getMap().containsKey(key);
   }
-  /** Use {@link #getTagsMap()} instead. */
+  /**
+   * Use {@link #getTagsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getTags() {
     return getTagsMap();
   }
   /**
-   *
-   *
    * 
    * Optional. A set of tags to apply to all underlying Azure resources for this
    * node pool. This currently only includes Virtual Machine Scale Sets.
@@ -276,8 +233,6 @@ public java.util.Map getTagsMap() {
     return internalGetTags().getMap();
   }
   /**
-   *
-   *
    * 
    * Optional. A set of tags to apply to all underlying Azure resources for this
    * node pool. This currently only includes Virtual Machine Scale Sets.
@@ -290,19 +245,17 @@ public java.util.Map getTagsMap() {
    * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getTagsOrDefault(
+  public /* nullable */
+java.lang.String getTagsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetTags().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetTags().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Optional. A set of tags to apply to all underlying Azure resources for this
    * node pool. This currently only includes Virtual Machine Scale Sets.
@@ -315,11 +268,11 @@ public java.util.Map getTagsMap() {
    * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public java.lang.String getTagsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetTags().getMap();
+  public java.lang.String getTagsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetTags().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -327,22 +280,17 @@ public java.lang.String getTagsOrThrow(java.lang.String key) {
   }
 
   public static final int IMAGE_TYPE_FIELD_NUMBER = 8;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object imageType_ = "";
   /**
-   *
-   *
    * 
    * Optional. The OS image type to use on node pool instances.
-   * Can have a value of `ubuntu`, or `windows` if the cluster enables
-   * the Windows node pool preview feature.
+   * Can be unspecified, or have a value of `ubuntu`.
    *
    * When unspecified, it defaults to `ubuntu`.
    * 
* * string image_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The imageType. */ @java.lang.Override @@ -351,33 +299,32 @@ public java.lang.String getImageType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; } } /** - * - * *
    * Optional. The OS image type to use on node pool instances.
-   * Can have a value of `ubuntu`, or `windows` if the cluster enables
-   * the Windows node pool preview feature.
+   * Can be unspecified, or have a value of `ubuntu`.
    *
    * When unspecified, it defaults to `ubuntu`.
    * 
* * string image_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for imageType. */ @java.lang.Override - public com.google.protobuf.ByteString getImageTypeBytes() { + public com.google.protobuf.ByteString + getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageType_ = b; return b; } else { @@ -388,16 +335,11 @@ public com.google.protobuf.ByteString getImageTypeBytes() { public static final int SSH_CONFIG_FIELD_NUMBER = 7; private com.google.cloud.gkemulticloud.v1.AzureSshConfig sshConfig_; /** - * - * *
    * Required. SSH configuration for how to access the node pool machines.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the sshConfig field is set. */ @java.lang.Override @@ -405,55 +347,37 @@ public boolean hasSshConfig() { return sshConfig_ != null; } /** - * - * *
    * Required. SSH configuration for how to access the node pool machines.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The sshConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureSshConfig getSshConfig() { - return sshConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance() - : sshConfig_; + return sshConfig_ == null ? com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance() : sshConfig_; } /** - * - * *
    * Required. SSH configuration for how to access the node pool machines.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder getSshConfigOrBuilder() { - return sshConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance() - : sshConfig_; + return sshConfig_ == null ? com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance() : sshConfig_; } public static final int PROXY_CONFIG_FIELD_NUMBER = 9; private com.google.cloud.gkemulticloud.v1.AzureProxyConfig proxyConfig_; /** - * - * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the proxyConfig field is set. */ @java.lang.Override @@ -461,55 +385,37 @@ public boolean hasProxyConfig() { return proxyConfig_ != null; } /** - * - * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The proxyConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureProxyConfig getProxyConfig() { - return proxyConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance() - : proxyConfig_; + return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance() : proxyConfig_; } /** - * - * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder getProxyConfigOrBuilder() { - return proxyConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance() - : proxyConfig_; + return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance() : proxyConfig_; } public static final int CONFIG_ENCRYPTION_FIELD_NUMBER = 12; private com.google.cloud.gkemulticloud.v1.AzureConfigEncryption configEncryption_; /** - * - * *
    * Optional. Configuration related to vm config encryption.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the configEncryption field is set. */ @java.lang.Override @@ -517,153 +423,117 @@ public boolean hasConfigEncryption() { return configEncryption_ != null; } /** - * - * *
    * Optional. Configuration related to vm config encryption.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The configEncryption. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureConfigEncryption getConfigEncryption() { - return configEncryption_ == null - ? com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance() - : configEncryption_; + return configEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance() : configEncryption_; } /** - * - * *
    * Optional. Configuration related to vm config encryption.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder - getConfigEncryptionOrBuilder() { - return configEncryption_ == null - ? com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance() - : configEncryption_; + public com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder getConfigEncryptionOrBuilder() { + return configEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance() : configEncryption_; } public static final int TAINTS_FIELD_NUMBER = 10; - @SuppressWarnings("serial") private java.util.List taints_; /** - * - * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.List getTaintsList() { return taints_; } /** - * - * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List + public java.util.List getTaintsOrBuilderList() { return taints_; } /** - * - * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public int getTaintsCount() { return taints_.size(); } /** - * - * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.NodeTaint getTaints(int index) { return taints_.get(index); } /** - * - * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index) { + public com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder( + int index) { return taints_.get(index); } public static final int LABELS_FIELD_NUMBER = 11; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -673,21 +543,20 @@ public int getLabelsCount() {
    * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getLabelsMap()} instead. */
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
-   *
-   *
    * 
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -701,8 +570,6 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -712,19 +579,17 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getLabelsOrDefault(
+  public /* nullable */
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -734,11 +599,11 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -746,7 +611,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -758,15 +622,20 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vmSize_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, vmSize_);
     }
     if (rootVolume_ != null) {
       output.writeMessage(2, getRootVolume());
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetTags(), TagsDefaultEntryHolder.defaultEntry, 3);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetTags(),
+        TagsDefaultEntryHolder.defaultEntry,
+        3);
     if (sshConfig_ != null) {
       output.writeMessage(7, getSshConfig());
     }
@@ -779,8 +648,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     for (int i = 0; i < taints_.size(); i++) {
       output.writeMessage(10, taints_.get(i));
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 11);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetLabels(),
+        LabelsDefaultEntryHolder.defaultEntry,
+        11);
     if (configEncryption_ != null) {
       output.writeMessage(12, getConfigEncryption());
     }
@@ -797,42 +670,47 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, vmSize_);
     }
     if (rootVolume_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRootVolume());
-    }
-    for (java.util.Map.Entry entry :
-        internalGetTags().getMap().entrySet()) {
-      com.google.protobuf.MapEntry tags__ =
-          TagsDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, tags__);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getRootVolume());
+    }
+    for (java.util.Map.Entry entry
+         : internalGetTags().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      tags__ = TagsDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, tags__);
     }
     if (sshConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getSshConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, getSshConfig());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageType_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, imageType_);
     }
     if (proxyConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getProxyConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(9, getProxyConfig());
     }
     for (int i = 0; i < taints_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, taints_.get(i));
-    }
-    for (java.util.Map.Entry entry :
-        internalGetLabels().getMap().entrySet()) {
-      com.google.protobuf.MapEntry labels__ =
-          LabelsDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, labels__);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(10, taints_.get(i));
+    }
+    for (java.util.Map.Entry entry
+         : internalGetLabels().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(11, labels__);
     }
     if (configEncryption_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getConfigEncryption());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(12, getConfigEncryption());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -842,35 +720,43 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureNodeConfig)) {
       return super.equals(obj);
     }
-    com.google.cloud.gkemulticloud.v1.AzureNodeConfig other =
-        (com.google.cloud.gkemulticloud.v1.AzureNodeConfig) obj;
+    com.google.cloud.gkemulticloud.v1.AzureNodeConfig other = (com.google.cloud.gkemulticloud.v1.AzureNodeConfig) obj;
 
-    if (!getVmSize().equals(other.getVmSize())) return false;
+    if (!getVmSize()
+        .equals(other.getVmSize())) return false;
     if (hasRootVolume() != other.hasRootVolume()) return false;
     if (hasRootVolume()) {
-      if (!getRootVolume().equals(other.getRootVolume())) return false;
+      if (!getRootVolume()
+          .equals(other.getRootVolume())) return false;
     }
-    if (!internalGetTags().equals(other.internalGetTags())) return false;
-    if (!getImageType().equals(other.getImageType())) return false;
+    if (!internalGetTags().equals(
+        other.internalGetTags())) return false;
+    if (!getImageType()
+        .equals(other.getImageType())) return false;
     if (hasSshConfig() != other.hasSshConfig()) return false;
     if (hasSshConfig()) {
-      if (!getSshConfig().equals(other.getSshConfig())) return false;
+      if (!getSshConfig()
+          .equals(other.getSshConfig())) return false;
     }
     if (hasProxyConfig() != other.hasProxyConfig()) return false;
     if (hasProxyConfig()) {
-      if (!getProxyConfig().equals(other.getProxyConfig())) return false;
+      if (!getProxyConfig()
+          .equals(other.getProxyConfig())) return false;
     }
     if (hasConfigEncryption() != other.hasConfigEncryption()) return false;
     if (hasConfigEncryption()) {
-      if (!getConfigEncryption().equals(other.getConfigEncryption())) return false;
+      if (!getConfigEncryption()
+          .equals(other.getConfigEncryption())) return false;
     }
-    if (!getTaintsList().equals(other.getTaintsList())) return false;
-    if (!internalGetLabels().equals(other.internalGetLabels())) return false;
+    if (!getTaintsList()
+        .equals(other.getTaintsList())) return false;
+    if (!internalGetLabels().equals(
+        other.internalGetLabels())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -920,103 +806,98 @@ public int hashCode() {
   }
 
   public static com.google.cloud.gkemulticloud.v1.AzureNodeConfig parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.gkemulticloud.v1.AzureNodeConfig parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.gkemulticloud.v1.AzureNodeConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.gkemulticloud.v1.AzureNodeConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.gkemulticloud.v1.AzureNodeConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.gkemulticloud.v1.AzureNodeConfig parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.gkemulticloud.v1.AzureNodeConfig parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.gkemulticloud.v1.AzureNodeConfig parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.gkemulticloud.v1.AzureNodeConfig parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.gkemulticloud.v1.AzureNodeConfig parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.gkemulticloud.v1.AzureNodeConfig parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.gkemulticloud.v1.AzureNodeConfig parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.gkemulticloud.v1.AzureNodeConfig parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.gkemulticloud.v1.AzureNodeConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureNodeConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Parameters that describe the configuration of all node machines
    * on a given node pool.
@@ -1024,56 +905,59 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureNodeConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureNodeConfig)
       com.google.cloud.gkemulticloud.v1.AzureNodeConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 3:
           return internalGetTags();
         case 11:
           return internalGetLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 3:
           return internalGetMutableTags();
         case 11:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.AzureNodeConfig.class,
-              com.google.cloud.gkemulticloud.v1.AzureNodeConfig.Builder.class);
+              com.google.cloud.gkemulticloud.v1.AzureNodeConfig.class, com.google.cloud.gkemulticloud.v1.AzureNodeConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.AzureNodeConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1113,9 +997,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor;
     }
 
     @java.lang.Override
@@ -1134,18 +1018,14 @@ public com.google.cloud.gkemulticloud.v1.AzureNodeConfig build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.AzureNodeConfig buildPartial() {
-      com.google.cloud.gkemulticloud.v1.AzureNodeConfig result =
-          new com.google.cloud.gkemulticloud.v1.AzureNodeConfig(this);
+      com.google.cloud.gkemulticloud.v1.AzureNodeConfig result = new com.google.cloud.gkemulticloud.v1.AzureNodeConfig(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.gkemulticloud.v1.AzureNodeConfig result) {
+    private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.AzureNodeConfig result) {
       if (taintsBuilder_ == null) {
         if (((bitField0_ & 0x00000080) != 0)) {
           taints_ = java.util.Collections.unmodifiableList(taints_);
@@ -1163,7 +1043,9 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureNodeConfig res
         result.vmSize_ = vmSize_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.rootVolume_ = rootVolumeBuilder_ == null ? rootVolume_ : rootVolumeBuilder_.build();
+        result.rootVolume_ = rootVolumeBuilder_ == null
+            ? rootVolume_
+            : rootVolumeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.tags_ = internalGetTags();
@@ -1173,15 +1055,19 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureNodeConfig res
         result.imageType_ = imageType_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.sshConfig_ = sshConfigBuilder_ == null ? sshConfig_ : sshConfigBuilder_.build();
+        result.sshConfig_ = sshConfigBuilder_ == null
+            ? sshConfig_
+            : sshConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.proxyConfig_ =
-            proxyConfigBuilder_ == null ? proxyConfig_ : proxyConfigBuilder_.build();
+        result.proxyConfig_ = proxyConfigBuilder_ == null
+            ? proxyConfig_
+            : proxyConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.configEncryption_ =
-            configEncryptionBuilder_ == null ? configEncryption_ : configEncryptionBuilder_.build();
+        result.configEncryption_ = configEncryptionBuilder_ == null
+            ? configEncryption_
+            : configEncryptionBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000100) != 0)) {
         result.labels_ = internalGetLabels();
@@ -1193,39 +1079,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureNodeConfig res
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.AzureNodeConfig) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureNodeConfig) other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureNodeConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1233,8 +1118,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureNodeConfig other) {
-      if (other == com.google.cloud.gkemulticloud.v1.AzureNodeConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.gkemulticloud.v1.AzureNodeConfig.getDefaultInstance()) return this;
       if (!other.getVmSize().isEmpty()) {
         vmSize_ = other.vmSize_;
         bitField0_ |= 0x00000001;
@@ -1243,7 +1127,8 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureNodeConfig other
       if (other.hasRootVolume()) {
         mergeRootVolume(other.getRootVolume());
       }
-      internalGetMutableTags().mergeFrom(other.internalGetTags());
+      internalGetMutableTags().mergeFrom(
+          other.internalGetTags());
       bitField0_ |= 0x00000004;
       if (!other.getImageType().isEmpty()) {
         imageType_ = other.imageType_;
@@ -1277,16 +1162,16 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureNodeConfig other
             taintsBuilder_ = null;
             taints_ = other.taints_;
             bitField0_ = (bitField0_ & ~0x00000080);
-            taintsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getTaintsFieldBuilder()
-                    : null;
+            taintsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getTaintsFieldBuilder() : null;
           } else {
             taintsBuilder_.addAllMessages(other.taints_);
           }
         }
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       bitField0_ |= 0x00000100;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1314,84 +1199,81 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                vmSize_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getRootVolumeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                com.google.protobuf.MapEntry tags__ =
-                    input.readMessage(
-                        TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-                internalGetMutableTags().getMutableMap().put(tags__.getKey(), tags__.getValue());
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 58:
-              {
-                input.readMessage(getSshConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 58
-            case 66:
-              {
-                imageType_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 66
-            case 74:
-              {
-                input.readMessage(getProxyConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 74
-            case 82:
-              {
-                com.google.cloud.gkemulticloud.v1.NodeTaint m =
-                    input.readMessage(
-                        com.google.cloud.gkemulticloud.v1.NodeTaint.parser(), extensionRegistry);
-                if (taintsBuilder_ == null) {
-                  ensureTaintsIsMutable();
-                  taints_.add(m);
-                } else {
-                  taintsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 82
-            case 90:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                bitField0_ |= 0x00000100;
-                break;
-              } // case 90
-            case 98:
-              {
-                input.readMessage(
-                    getConfigEncryptionFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 98
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              vmSize_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getRootVolumeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              com.google.protobuf.MapEntry
+              tags__ = input.readMessage(
+                  TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableTags().getMutableMap().put(
+                  tags__.getKey(), tags__.getValue());
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 58: {
+              input.readMessage(
+                  getSshConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 58
+            case 66: {
+              imageType_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 66
+            case 74: {
+              input.readMessage(
+                  getProxyConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 74
+            case 82: {
+              com.google.cloud.gkemulticloud.v1.NodeTaint m =
+                  input.readMessage(
+                      com.google.cloud.gkemulticloud.v1.NodeTaint.parser(),
+                      extensionRegistry);
+              if (taintsBuilder_ == null) {
+                ensureTaintsIsMutable();
+                taints_.add(m);
+              } else {
+                taintsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 82
+            case 90: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              bitField0_ |= 0x00000100;
+              break;
+            } // case 90
+            case 98: {
+              input.readMessage(
+                  getConfigEncryptionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 98
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1401,13 +1283,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object vmSize_ = "";
     /**
-     *
-     *
      * 
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      *
@@ -1418,13 +1297,13 @@ public Builder mergeFrom(
      * 
* * string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The vmSize. */ public java.lang.String getVmSize() { java.lang.Object ref = vmSize_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vmSize_ = s; return s; @@ -1433,8 +1312,6 @@ public java.lang.String getVmSize() { } } /** - * - * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      *
@@ -1445,14 +1322,15 @@ public java.lang.String getVmSize() {
      * 
* * string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for vmSize. */ - public com.google.protobuf.ByteString getVmSizeBytes() { + public com.google.protobuf.ByteString + getVmSizeBytes() { java.lang.Object ref = vmSize_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); vmSize_ = b; return b; } else { @@ -1460,8 +1338,6 @@ public com.google.protobuf.ByteString getVmSizeBytes() { } } /** - * - * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      *
@@ -1472,22 +1348,18 @@ public com.google.protobuf.ByteString getVmSizeBytes() {
      * 
* * string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The vmSize to set. * @return This builder for chaining. */ - public Builder setVmSize(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVmSize( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } vmSize_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      *
@@ -1498,7 +1370,6 @@ public Builder setVmSize(java.lang.String value) {
      * 
* * string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearVmSize() { @@ -1508,8 +1379,6 @@ public Builder clearVmSize() { return this; } /** - * - * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      *
@@ -1520,14 +1389,12 @@ public Builder clearVmSize() {
      * 
* * string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for vmSize to set. * @return This builder for chaining. */ - public Builder setVmSizeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVmSizeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); vmSize_ = value; bitField0_ |= 0x00000001; @@ -1537,13 +1404,8 @@ public Builder setVmSizeBytes(com.google.protobuf.ByteString value) { private com.google.cloud.gkemulticloud.v1.AzureDiskTemplate rootVolume_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, - com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder> - rootVolumeBuilder_; + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder> rootVolumeBuilder_; /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * node pool machine.
@@ -1551,18 +1413,13 @@ public Builder setVmSizeBytes(com.google.protobuf.ByteString value) {
      * When unspecified, it defaults to a 32-GiB Azure Disk.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the rootVolume field is set. */ public boolean hasRootVolume() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * node pool machine.
@@ -1570,24 +1427,17 @@ public boolean hasRootVolume() {
      * When unspecified, it defaults to a 32-GiB Azure Disk.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The rootVolume. */ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getRootVolume() { if (rootVolumeBuilder_ == null) { - return rootVolume_ == null - ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() - : rootVolume_; + return rootVolume_ == null ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() : rootVolume_; } else { return rootVolumeBuilder_.getMessage(); } } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * node pool machine.
@@ -1595,9 +1445,7 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getRootVolume() {
      * When unspecified, it defaults to a 32-GiB Azure Disk.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setRootVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate value) { if (rootVolumeBuilder_ == null) { @@ -1613,8 +1461,6 @@ public Builder setRootVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate return this; } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * node pool machine.
@@ -1622,9 +1468,7 @@ public Builder setRootVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate
      * When unspecified, it defaults to a 32-GiB Azure Disk.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setRootVolume( com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder builderForValue) { @@ -1638,8 +1482,6 @@ public Builder setRootVolume( return this; } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * node pool machine.
@@ -1647,16 +1489,13 @@ public Builder setRootVolume(
      * When unspecified, it defaults to a 32-GiB Azure Disk.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeRootVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate value) { if (rootVolumeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && rootVolume_ != null - && rootVolume_ - != com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + rootVolume_ != null && + rootVolume_ != com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance()) { getRootVolumeBuilder().mergeFrom(value); } else { rootVolume_ = value; @@ -1669,8 +1508,6 @@ public Builder mergeRootVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTempla return this; } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * node pool machine.
@@ -1678,9 +1515,7 @@ public Builder mergeRootVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTempla
      * When unspecified, it defaults to a 32-GiB Azure Disk.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearRootVolume() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1693,8 +1528,6 @@ public Builder clearRootVolume() { return this; } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * node pool machine.
@@ -1702,9 +1535,7 @@ public Builder clearRootVolume() {
      * When unspecified, it defaults to a 32-GiB Azure Disk.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder getRootVolumeBuilder() { bitField0_ |= 0x00000002; @@ -1712,8 +1543,6 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder getRootVolume return getRootVolumeFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * node pool machine.
@@ -1721,22 +1550,17 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder getRootVolume
      * When unspecified, it defaults to a 32-GiB Azure Disk.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getRootVolumeOrBuilder() { if (rootVolumeBuilder_ != null) { return rootVolumeBuilder_.getMessageOrBuilder(); } else { - return rootVolume_ == null - ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() - : rootVolume_; + return rootVolume_ == null ? + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() : rootVolume_; } } /** - * - * *
      * Optional. Configuration related to the root volume provisioned for each
      * node pool machine.
@@ -1744,40 +1568,37 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getRootVolum
      * When unspecified, it defaults to a 32-GiB Azure Disk.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, - com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder> getRootVolumeFieldBuilder() { if (rootVolumeBuilder_ == null) { - rootVolumeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, - com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder>( - getRootVolume(), getParentForChildren(), isClean()); + rootVolumeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder>( + getRootVolume(), + getParentForChildren(), + isClean()); rootVolume_ = null; } return rootVolumeBuilder_; } - private com.google.protobuf.MapField tags_; - - private com.google.protobuf.MapField internalGetTags() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> tags_; + private com.google.protobuf.MapField + internalGetTags() { if (tags_ == null) { - return com.google.protobuf.MapField.emptyMapField(TagsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + TagsDefaultEntryHolder.defaultEntry); } return tags_; } - private com.google.protobuf.MapField internalGetMutableTags() { if (tags_ == null) { - tags_ = com.google.protobuf.MapField.newMapField(TagsDefaultEntryHolder.defaultEntry); + tags_ = com.google.protobuf.MapField.newMapField( + TagsDefaultEntryHolder.defaultEntry); } if (!tags_.isMutable()) { tags_ = tags_.copy(); @@ -1786,13 +1607,10 @@ private com.google.protobuf.MapField interna onChanged(); return tags_; } - public int getTagsCount() { return internalGetTags().getMap().size(); } /** - * - * *
      * Optional. A set of tags to apply to all underlying Azure resources for this
      * node pool. This currently only includes Virtual Machine Scale Sets.
@@ -1805,21 +1623,20 @@ public int getTagsCount() {
      * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public boolean containsTags(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsTags(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetTags().getMap().containsKey(key);
     }
-    /** Use {@link #getTagsMap()} instead. */
+    /**
+     * Use {@link #getTagsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getTags() {
       return getTagsMap();
     }
     /**
-     *
-     *
      * 
      * Optional. A set of tags to apply to all underlying Azure resources for this
      * node pool. This currently only includes Virtual Machine Scale Sets.
@@ -1836,8 +1653,6 @@ public java.util.Map getTagsMap() {
       return internalGetTags().getMap();
     }
     /**
-     *
-     *
      * 
      * Optional. A set of tags to apply to all underlying Azure resources for this
      * node pool. This currently only includes Virtual Machine Scale Sets.
@@ -1850,19 +1665,17 @@ public java.util.Map getTagsMap() {
      * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getTagsOrDefault(
+    public /* nullable */
+java.lang.String getTagsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetTags().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetTags().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Optional. A set of tags to apply to all underlying Azure resources for this
      * node pool. This currently only includes Virtual Machine Scale Sets.
@@ -1875,25 +1688,23 @@ public java.util.Map getTagsMap() {
      * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public java.lang.String getTagsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetTags().getMap();
+    public java.lang.String getTagsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetTags().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearTags() {
       bitField0_ = (bitField0_ & ~0x00000004);
-      internalGetMutableTags().getMutableMap().clear();
+      internalGetMutableTags().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. A set of tags to apply to all underlying Azure resources for this
      * node pool. This currently only includes Virtual Machine Scale Sets.
@@ -1905,22 +1716,23 @@ public Builder clearTags() {
      *
      * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder removeTags(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableTags().getMutableMap().remove(key);
+    public Builder removeTags(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableTags().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableTags() {
+    public java.util.Map
+        getMutableTags() {
       bitField0_ |= 0x00000004;
       return internalGetMutableTags().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Optional. A set of tags to apply to all underlying Azure resources for this
      * node pool. This currently only includes Virtual Machine Scale Sets.
@@ -1932,20 +1744,17 @@ public java.util.Map getMutableTags() {
      *
      * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putTags(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableTags().getMutableMap().put(key, value);
+    public Builder putTags(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableTags().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000004;
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. A set of tags to apply to all underlying Azure resources for this
      * node pool. This currently only includes Virtual Machine Scale Sets.
@@ -1957,32 +1766,31 @@ public Builder putTags(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putAllTags(java.util.Map values) {
-      internalGetMutableTags().getMutableMap().putAll(values);
+    public Builder putAllTags(
+        java.util.Map values) {
+      internalGetMutableTags().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000004;
       return this;
     }
 
     private java.lang.Object imageType_ = "";
     /**
-     *
-     *
      * 
      * Optional. The OS image type to use on node pool instances.
-     * Can have a value of `ubuntu`, or `windows` if the cluster enables
-     * the Windows node pool preview feature.
+     * Can be unspecified, or have a value of `ubuntu`.
      *
      * When unspecified, it defaults to `ubuntu`.
      * 
* * string image_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The imageType. */ public java.lang.String getImageType() { java.lang.Object ref = imageType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; @@ -1991,25 +1799,23 @@ public java.lang.String getImageType() { } } /** - * - * *
      * Optional. The OS image type to use on node pool instances.
-     * Can have a value of `ubuntu`, or `windows` if the cluster enables
-     * the Windows node pool preview feature.
+     * Can be unspecified, or have a value of `ubuntu`.
      *
      * When unspecified, it defaults to `ubuntu`.
      * 
* * string image_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for imageType. */ - public com.google.protobuf.ByteString getImageTypeBytes() { + public com.google.protobuf.ByteString + getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageType_ = b; return b; } else { @@ -2017,43 +1823,34 @@ public com.google.protobuf.ByteString getImageTypeBytes() { } } /** - * - * *
      * Optional. The OS image type to use on node pool instances.
-     * Can have a value of `ubuntu`, or `windows` if the cluster enables
-     * the Windows node pool preview feature.
+     * Can be unspecified, or have a value of `ubuntu`.
      *
      * When unspecified, it defaults to `ubuntu`.
      * 
* * string image_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The imageType to set. * @return This builder for chaining. */ - public Builder setImageType(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setImageType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } imageType_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. The OS image type to use on node pool instances.
-     * Can have a value of `ubuntu`, or `windows` if the cluster enables
-     * the Windows node pool preview feature.
+     * Can be unspecified, or have a value of `ubuntu`.
      *
      * When unspecified, it defaults to `ubuntu`.
      * 
* * string image_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearImageType() { @@ -2063,25 +1860,20 @@ public Builder clearImageType() { return this; } /** - * - * *
      * Optional. The OS image type to use on node pool instances.
-     * Can have a value of `ubuntu`, or `windows` if the cluster enables
-     * the Windows node pool preview feature.
+     * Can be unspecified, or have a value of `ubuntu`.
      *
      * When unspecified, it defaults to `ubuntu`.
      * 
* * string image_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for imageType to set. * @return This builder for chaining. */ - public Builder setImageTypeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setImageTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); imageType_ = value; bitField0_ |= 0x00000008; @@ -2091,58 +1883,39 @@ public Builder setImageTypeBytes(com.google.protobuf.ByteString value) { private com.google.cloud.gkemulticloud.v1.AzureSshConfig sshConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureSshConfig, - com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder, - com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder> - sshConfigBuilder_; + com.google.cloud.gkemulticloud.v1.AzureSshConfig, com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder, com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder> sshConfigBuilder_; /** - * - * *
      * Required. SSH configuration for how to access the node pool machines.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the sshConfig field is set. */ public boolean hasSshConfig() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Required. SSH configuration for how to access the node pool machines.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The sshConfig. */ public com.google.cloud.gkemulticloud.v1.AzureSshConfig getSshConfig() { if (sshConfigBuilder_ == null) { - return sshConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance() - : sshConfig_; + return sshConfig_ == null ? com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance() : sshConfig_; } else { return sshConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. SSH configuration for how to access the node pool machines.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSshConfig(com.google.cloud.gkemulticloud.v1.AzureSshConfig value) { if (sshConfigBuilder_ == null) { @@ -2158,15 +1931,11 @@ public Builder setSshConfig(com.google.cloud.gkemulticloud.v1.AzureSshConfig val return this; } /** - * - * *
      * Required. SSH configuration for how to access the node pool machines.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSshConfig( com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder builderForValue) { @@ -2180,22 +1949,17 @@ public Builder setSshConfig( return this; } /** - * - * *
      * Required. SSH configuration for how to access the node pool machines.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeSshConfig(com.google.cloud.gkemulticloud.v1.AzureSshConfig value) { if (sshConfigBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && sshConfig_ != null - && sshConfig_ - != com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + sshConfig_ != null && + sshConfig_ != com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance()) { getSshConfigBuilder().mergeFrom(value); } else { sshConfig_ = value; @@ -2208,15 +1972,11 @@ public Builder mergeSshConfig(com.google.cloud.gkemulticloud.v1.AzureSshConfig v return this; } /** - * - * *
      * Required. SSH configuration for how to access the node pool machines.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearSshConfig() { bitField0_ = (bitField0_ & ~0x00000010); @@ -2229,15 +1989,11 @@ public Builder clearSshConfig() { return this; } /** - * - * *
      * Required. SSH configuration for how to access the node pool machines.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder getSshConfigBuilder() { bitField0_ |= 0x00000010; @@ -2245,48 +2001,36 @@ public com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder getSshConfigBuil return getSshConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. SSH configuration for how to access the node pool machines.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder getSshConfigOrBuilder() { if (sshConfigBuilder_ != null) { return sshConfigBuilder_.getMessageOrBuilder(); } else { - return sshConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance() - : sshConfig_; + return sshConfig_ == null ? + com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance() : sshConfig_; } } /** - * - * *
      * Required. SSH configuration for how to access the node pool machines.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureSshConfig, - com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder, - com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureSshConfig, com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder, com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder> getSshConfigFieldBuilder() { if (sshConfigBuilder_ == null) { - sshConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureSshConfig, - com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder, - com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder>( - getSshConfig(), getParentForChildren(), isClean()); + sshConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureSshConfig, com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder, com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder>( + getSshConfig(), + getParentForChildren(), + isClean()); sshConfig_ = null; } return sshConfigBuilder_; @@ -2294,58 +2038,39 @@ public com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder getSshConfigOrB private com.google.cloud.gkemulticloud.v1.AzureProxyConfig proxyConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureProxyConfig, - com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder, - com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder> - proxyConfigBuilder_; + com.google.cloud.gkemulticloud.v1.AzureProxyConfig, com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder> proxyConfigBuilder_; /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the proxyConfig field is set. */ public boolean hasProxyConfig() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The proxyConfig. */ public com.google.cloud.gkemulticloud.v1.AzureProxyConfig getProxyConfig() { if (proxyConfigBuilder_ == null) { - return proxyConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance() - : proxyConfig_; + return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance() : proxyConfig_; } else { return proxyConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setProxyConfig(com.google.cloud.gkemulticloud.v1.AzureProxyConfig value) { if (proxyConfigBuilder_ == null) { @@ -2361,15 +2086,11 @@ public Builder setProxyConfig(com.google.cloud.gkemulticloud.v1.AzureProxyConfig return this; } /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setProxyConfig( com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder builderForValue) { @@ -2383,22 +2104,17 @@ public Builder setProxyConfig( return this; } /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeProxyConfig(com.google.cloud.gkemulticloud.v1.AzureProxyConfig value) { if (proxyConfigBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && proxyConfig_ != null - && proxyConfig_ - != com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + proxyConfig_ != null && + proxyConfig_ != com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance()) { getProxyConfigBuilder().mergeFrom(value); } else { proxyConfig_ = value; @@ -2411,15 +2127,11 @@ public Builder mergeProxyConfig(com.google.cloud.gkemulticloud.v1.AzureProxyConf return this; } /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearProxyConfig() { bitField0_ = (bitField0_ & ~0x00000020); @@ -2432,15 +2144,11 @@ public Builder clearProxyConfig() { return this; } /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder getProxyConfigBuilder() { bitField0_ |= 0x00000020; @@ -2448,48 +2156,36 @@ public com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder getProxyConfig return getProxyConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder getProxyConfigOrBuilder() { if (proxyConfigBuilder_ != null) { return proxyConfigBuilder_.getMessageOrBuilder(); } else { - return proxyConfig_ == null - ? com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance() - : proxyConfig_; + return proxyConfig_ == null ? + com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance() : proxyConfig_; } } /** - * - * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureProxyConfig, - com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder, - com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureProxyConfig, com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder> getProxyConfigFieldBuilder() { if (proxyConfigBuilder_ == null) { - proxyConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureProxyConfig, - com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder, - com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder>( - getProxyConfig(), getParentForChildren(), isClean()); + proxyConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureProxyConfig, com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder>( + getProxyConfig(), + getParentForChildren(), + isClean()); proxyConfig_ = null; } return proxyConfigBuilder_; @@ -2497,61 +2193,41 @@ public com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder getProxyConfi private com.google.cloud.gkemulticloud.v1.AzureConfigEncryption configEncryption_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption, - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder, - com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder> - configEncryptionBuilder_; + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption, com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder, com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder> configEncryptionBuilder_; /** - * - * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the configEncryption field is set. */ public boolean hasConfigEncryption() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The configEncryption. */ public com.google.cloud.gkemulticloud.v1.AzureConfigEncryption getConfigEncryption() { if (configEncryptionBuilder_ == null) { - return configEncryption_ == null - ? com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance() - : configEncryption_; + return configEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance() : configEncryption_; } else { return configEncryptionBuilder_.getMessage(); } } /** - * - * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setConfigEncryption( - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption value) { + public Builder setConfigEncryption(com.google.cloud.gkemulticloud.v1.AzureConfigEncryption value) { if (configEncryptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2565,15 +2241,11 @@ public Builder setConfigEncryption( return this; } /** - * - * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setConfigEncryption( com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder builderForValue) { @@ -2587,23 +2259,17 @@ public Builder setConfigEncryption( return this; } /** - * - * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeConfigEncryption( - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption value) { + public Builder mergeConfigEncryption(com.google.cloud.gkemulticloud.v1.AzureConfigEncryption value) { if (configEncryptionBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && configEncryption_ != null - && configEncryption_ - != com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + configEncryption_ != null && + configEncryption_ != com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance()) { getConfigEncryptionBuilder().mergeFrom(value); } else { configEncryption_ = value; @@ -2616,15 +2282,11 @@ public Builder mergeConfigEncryption( return this; } /** - * - * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearConfigEncryption() { bitField0_ = (bitField0_ & ~0x00000040); @@ -2637,97 +2299,71 @@ public Builder clearConfigEncryption() { return this; } /** - * - * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder - getConfigEncryptionBuilder() { + public com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder getConfigEncryptionBuilder() { bitField0_ |= 0x00000040; onChanged(); return getConfigEncryptionFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder - getConfigEncryptionOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder getConfigEncryptionOrBuilder() { if (configEncryptionBuilder_ != null) { return configEncryptionBuilder_.getMessageOrBuilder(); } else { - return configEncryption_ == null - ? com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance() - : configEncryption_; + return configEncryption_ == null ? + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance() : configEncryption_; } } /** - * - * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption, - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder, - com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption, com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder, com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder> getConfigEncryptionFieldBuilder() { if (configEncryptionBuilder_ == null) { - configEncryptionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption, - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder, - com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder>( - getConfigEncryption(), getParentForChildren(), isClean()); + configEncryptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption, com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder, com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder>( + getConfigEncryption(), + getParentForChildren(), + isClean()); configEncryption_ = null; } return configEncryptionBuilder_; } private java.util.List taints_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTaintsIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { taints_ = new java.util.ArrayList(taints_); bitField0_ |= 0x00000080; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.NodeTaint, - com.google.cloud.gkemulticloud.v1.NodeTaint.Builder, - com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder> - taintsBuilder_; + com.google.cloud.gkemulticloud.v1.NodeTaint, com.google.cloud.gkemulticloud.v1.NodeTaint.Builder, com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder> taintsBuilder_; /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public java.util.List getTaintsList() { if (taintsBuilder_ == null) { @@ -2737,15 +2373,11 @@ public java.util.List getTaintsList } } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public int getTaintsCount() { if (taintsBuilder_ == null) { @@ -2755,15 +2387,11 @@ public int getTaintsCount() { } } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.NodeTaint getTaints(int index) { if (taintsBuilder_ == null) { @@ -2773,17 +2401,14 @@ public com.google.cloud.gkemulticloud.v1.NodeTaint getTaints(int index) { } } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setTaints(int index, com.google.cloud.gkemulticloud.v1.NodeTaint value) { + public Builder setTaints( + int index, com.google.cloud.gkemulticloud.v1.NodeTaint value) { if (taintsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2797,15 +2422,11 @@ public Builder setTaints(int index, com.google.cloud.gkemulticloud.v1.NodeTaint return this; } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setTaints( int index, com.google.cloud.gkemulticloud.v1.NodeTaint.Builder builderForValue) { @@ -2819,15 +2440,11 @@ public Builder setTaints( return this; } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addTaints(com.google.cloud.gkemulticloud.v1.NodeTaint value) { if (taintsBuilder_ == null) { @@ -2843,17 +2460,14 @@ public Builder addTaints(com.google.cloud.gkemulticloud.v1.NodeTaint value) { return this; } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder addTaints(int index, com.google.cloud.gkemulticloud.v1.NodeTaint value) { + public Builder addTaints( + int index, com.google.cloud.gkemulticloud.v1.NodeTaint value) { if (taintsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2867,17 +2481,14 @@ public Builder addTaints(int index, com.google.cloud.gkemulticloud.v1.NodeTaint return this; } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder addTaints(com.google.cloud.gkemulticloud.v1.NodeTaint.Builder builderForValue) { + public Builder addTaints( + com.google.cloud.gkemulticloud.v1.NodeTaint.Builder builderForValue) { if (taintsBuilder_ == null) { ensureTaintsIsMutable(); taints_.add(builderForValue.build()); @@ -2888,15 +2499,11 @@ public Builder addTaints(com.google.cloud.gkemulticloud.v1.NodeTaint.Builder bui return this; } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addTaints( int index, com.google.cloud.gkemulticloud.v1.NodeTaint.Builder builderForValue) { @@ -2910,21 +2517,18 @@ public Builder addTaints( return this; } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAllTaints( java.lang.Iterable values) { if (taintsBuilder_ == null) { ensureTaintsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taints_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, taints_); onChanged(); } else { taintsBuilder_.addAllMessages(values); @@ -2932,15 +2536,11 @@ public Builder addAllTaints( return this; } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearTaints() { if (taintsBuilder_ == null) { @@ -2953,15 +2553,11 @@ public Builder clearTaints() { return this; } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder removeTaints(int index) { if (taintsBuilder_ == null) { @@ -2974,50 +2570,39 @@ public Builder removeTaints(int index) { return this; } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.gkemulticloud.v1.NodeTaint.Builder getTaintsBuilder(int index) { + public com.google.cloud.gkemulticloud.v1.NodeTaint.Builder getTaintsBuilder( + int index) { return getTaintsFieldBuilder().getBuilder(index); } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index) { + public com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder( + int index) { if (taintsBuilder_ == null) { - return taints_.get(index); - } else { + return taints_.get(index); } else { return taintsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getTaintsOrBuilderList() { + public java.util.List + getTaintsOrBuilderList() { if (taintsBuilder_ != null) { return taintsBuilder_.getMessageOrBuilderList(); } else { @@ -3025,81 +2610,69 @@ public com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder(i } } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.gkemulticloud.v1.NodeTaint.Builder addTaintsBuilder() { - return getTaintsFieldBuilder() - .addBuilder(com.google.cloud.gkemulticloud.v1.NodeTaint.getDefaultInstance()); + return getTaintsFieldBuilder().addBuilder( + com.google.cloud.gkemulticloud.v1.NodeTaint.getDefaultInstance()); } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.gkemulticloud.v1.NodeTaint.Builder addTaintsBuilder(int index) { - return getTaintsFieldBuilder() - .addBuilder(index, com.google.cloud.gkemulticloud.v1.NodeTaint.getDefaultInstance()); + public com.google.cloud.gkemulticloud.v1.NodeTaint.Builder addTaintsBuilder( + int index) { + return getTaintsFieldBuilder().addBuilder( + index, com.google.cloud.gkemulticloud.v1.NodeTaint.getDefaultInstance()); } /** - * - * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getTaintsBuilderList() { + public java.util.List + getTaintsBuilderList() { return getTaintsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.NodeTaint, - com.google.cloud.gkemulticloud.v1.NodeTaint.Builder, - com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder> + com.google.cloud.gkemulticloud.v1.NodeTaint, com.google.cloud.gkemulticloud.v1.NodeTaint.Builder, com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder> getTaintsFieldBuilder() { if (taintsBuilder_ == null) { - taintsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.NodeTaint, - com.google.cloud.gkemulticloud.v1.NodeTaint.Builder, - com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder>( - taints_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), isClean()); + taintsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.NodeTaint, com.google.cloud.gkemulticloud.v1.NodeTaint.Builder, com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder>( + taints_, + ((bitField0_ & 0x00000080) != 0), + getParentForChildren(), + isClean()); taints_ = null; } return taintsBuilder_; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -3108,13 +2681,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Optional. The initial labels assigned to nodes of this node pool. An object
      * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -3124,21 +2694,20 @@ public int getLabelsCount() {
      * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getLabelsMap()} instead. */
+    /**
+     * Use {@link #getLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
-     *
-     *
      * 
      * Optional. The initial labels assigned to nodes of this node pool. An object
      * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -3152,8 +2721,6 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Optional. The initial labels assigned to nodes of this node pool. An object
      * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -3163,19 +2730,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getLabelsOrDefault(
+    public /* nullable */
+java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Optional. The initial labels assigned to nodes of this node pool. An object
      * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -3185,25 +2750,23 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000100);
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. The initial labels assigned to nodes of this node pool. An object
      * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -3212,22 +2775,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableLabels() {
+    public java.util.Map
+        getMutableLabels() {
       bitField0_ |= 0x00000100;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Optional. The initial labels assigned to nodes of this node pool. An object
      * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -3236,20 +2800,17 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableLabels().getMutableMap().put(key, value);
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000100;
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. The initial labels assigned to nodes of this node pool. An object
      * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -3258,14 +2819,16 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000100;
       return this;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -3275,12 +2838,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureNodeConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureNodeConfig)
   private static final com.google.cloud.gkemulticloud.v1.AzureNodeConfig DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureNodeConfig();
   }
@@ -3289,27 +2852,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureNodeConfig getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public AzureNodeConfig parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public AzureNodeConfig parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3324,4 +2887,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.gkemulticloud.v1.AzureNodeConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfigOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfigOrBuilder.java
similarity index 67%
rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfigOrBuilder.java
rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfigOrBuilder.java
index dd58f03276b6..2c8058b677bd 100644
--- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfigOrBuilder.java
+++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfigOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/gkemulticloud/v1/azure_resources.proto
 
 package com.google.cloud.gkemulticloud.v1;
 
-public interface AzureNodeConfigOrBuilder
-    extends
+public interface AzureNodeConfigOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureNodeConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
    *
@@ -36,13 +18,10 @@ public interface AzureNodeConfigOrBuilder
    * 
* * string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The vmSize. */ java.lang.String getVmSize(); /** - * - * *
    * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
    *
@@ -53,14 +32,12 @@ public interface AzureNodeConfigOrBuilder
    * 
* * string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for vmSize. */ - com.google.protobuf.ByteString getVmSizeBytes(); + com.google.protobuf.ByteString + getVmSizeBytes(); /** - * - * *
    * Optional. Configuration related to the root volume provisioned for each
    * node pool machine.
@@ -68,16 +45,11 @@ public interface AzureNodeConfigOrBuilder
    * When unspecified, it defaults to a 32-GiB Azure Disk.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the rootVolume field is set. */ boolean hasRootVolume(); /** - * - * *
    * Optional. Configuration related to the root volume provisioned for each
    * node pool machine.
@@ -85,16 +57,11 @@ public interface AzureNodeConfigOrBuilder
    * When unspecified, it defaults to a 32-GiB Azure Disk.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The rootVolume. */ com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getRootVolume(); /** - * - * *
    * Optional. Configuration related to the root volume provisioned for each
    * node pool machine.
@@ -102,15 +69,11 @@ public interface AzureNodeConfigOrBuilder
    * When unspecified, it defaults to a 32-GiB Azure Disk.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getRootVolumeOrBuilder(); /** - * - * *
    * Optional. A set of tags to apply to all underlying Azure resources for this
    * node pool. This currently only includes Virtual Machine Scale Sets.
@@ -124,8 +87,6 @@ public interface AzureNodeConfigOrBuilder
    */
   int getTagsCount();
   /**
-   *
-   *
    * 
    * Optional. A set of tags to apply to all underlying Azure resources for this
    * node pool. This currently only includes Virtual Machine Scale Sets.
@@ -137,13 +98,15 @@ public interface AzureNodeConfigOrBuilder
    *
    * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
    */
-  boolean containsTags(java.lang.String key);
-  /** Use {@link #getTagsMap()} instead. */
+  boolean containsTags(
+      java.lang.String key);
+  /**
+   * Use {@link #getTagsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getTags();
+  java.util.Map
+  getTags();
   /**
-   *
-   *
    * 
    * Optional. A set of tags to apply to all underlying Azure resources for this
    * node pool. This currently only includes Virtual Machine Scale Sets.
@@ -155,10 +118,9 @@ public interface AzureNodeConfigOrBuilder
    *
    * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.util.Map getTagsMap();
+  java.util.Map
+  getTagsMap();
   /**
-   *
-   *
    * 
    * Optional. A set of tags to apply to all underlying Azure resources for this
    * node pool. This currently only includes Virtual Machine Scale Sets.
@@ -171,13 +133,11 @@ public interface AzureNodeConfigOrBuilder
    * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
    */
   /* nullable */
-  java.lang.String getTagsOrDefault(
+java.lang.String getTagsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Optional. A set of tags to apply to all underlying Azure resources for this
    * node pool. This currently only includes Virtual Machine Scale Sets.
@@ -189,229 +149,161 @@ java.lang.String getTagsOrDefault(
    *
    * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.lang.String getTagsOrThrow(java.lang.String key);
+  java.lang.String getTagsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Optional. The OS image type to use on node pool instances.
-   * Can have a value of `ubuntu`, or `windows` if the cluster enables
-   * the Windows node pool preview feature.
+   * Can be unspecified, or have a value of `ubuntu`.
    *
    * When unspecified, it defaults to `ubuntu`.
    * 
* * string image_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The imageType. */ java.lang.String getImageType(); /** - * - * *
    * Optional. The OS image type to use on node pool instances.
-   * Can have a value of `ubuntu`, or `windows` if the cluster enables
-   * the Windows node pool preview feature.
+   * Can be unspecified, or have a value of `ubuntu`.
    *
    * When unspecified, it defaults to `ubuntu`.
    * 
* * string image_type = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for imageType. */ - com.google.protobuf.ByteString getImageTypeBytes(); + com.google.protobuf.ByteString + getImageTypeBytes(); /** - * - * *
    * Required. SSH configuration for how to access the node pool machines.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the sshConfig field is set. */ boolean hasSshConfig(); /** - * - * *
    * Required. SSH configuration for how to access the node pool machines.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The sshConfig. */ com.google.cloud.gkemulticloud.v1.AzureSshConfig getSshConfig(); /** - * - * *
    * Required. SSH configuration for how to access the node pool machines.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder getSshConfigOrBuilder(); /** - * - * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the proxyConfig field is set. */ boolean hasProxyConfig(); /** - * - * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The proxyConfig. */ com.google.cloud.gkemulticloud.v1.AzureProxyConfig getProxyConfig(); /** - * - * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder getProxyConfigOrBuilder(); /** - * - * *
    * Optional. Configuration related to vm config encryption.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the configEncryption field is set. */ boolean hasConfigEncryption(); /** - * - * *
    * Optional. Configuration related to vm config encryption.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The configEncryption. */ com.google.cloud.gkemulticloud.v1.AzureConfigEncryption getConfigEncryption(); /** - * - * *
    * Optional. Configuration related to vm config encryption.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder getConfigEncryptionOrBuilder(); /** - * - * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List getTaintsList(); + java.util.List + getTaintsList(); /** - * - * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.gkemulticloud.v1.NodeTaint getTaints(int index); /** - * - * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; */ int getTaintsCount(); /** - * - * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getTaintsOrBuilderList(); /** - * - * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index); + com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder( + int index); /** - * - * *
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -422,8 +314,6 @@ java.lang.String getTagsOrDefault(
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -432,13 +322,15 @@ java.lang.String getTagsOrDefault(
    *
    * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
-  boolean containsLabels(java.lang.String key);
-  /** Use {@link #getLabelsMap()} instead. */
+  boolean containsLabels(
+      java.lang.String key);
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getLabels();
+  java.util.Map
+  getLabels();
   /**
-   *
-   *
    * 
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -447,10 +339,9 @@ java.lang.String getTagsOrDefault(
    *
    * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -460,13 +351,11 @@ java.lang.String getTagsOrDefault(
    * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -475,5 +364,6 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 }
diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeManagement.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeManagement.java
new file mode 100644
index 000000000000..bcdc8b280ee1
--- /dev/null
+++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeManagement.java
@@ -0,0 +1,510 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/gkemulticloud/v1/azure_resources.proto
+
+package com.google.cloud.gkemulticloud.v1;
+
+/**
+ * 
+ * AzureNodeManagement defines the set of node management features turned on for
+ * an Azure node pool.
+ * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureNodeManagement} + */ +public final class AzureNodeManagement extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureNodeManagement) + AzureNodeManagementOrBuilder { +private static final long serialVersionUID = 0L; + // Use AzureNodeManagement.newBuilder() to construct. + private AzureNodeManagement(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AzureNodeManagement() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AzureNodeManagement(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodeManagement_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodeManagement_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.AzureNodeManagement.class, com.google.cloud.gkemulticloud.v1.AzureNodeManagement.Builder.class); + } + + public static final int AUTO_REPAIR_FIELD_NUMBER = 1; + private boolean autoRepair_ = false; + /** + *
+   * Optional. Whether or not the nodes will be automatically repaired. When set
+   * to true, the nodes in this node pool will be monitored and if they fail
+   * health checks consistently over a period of time, an automatic repair
+   * action will be triggered to replace them with new nodes.
+   * 
+ * + * bool auto_repair = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return The autoRepair. + */ + @java.lang.Override + public boolean getAutoRepair() { + return autoRepair_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (autoRepair_ != false) { + output.writeBool(1, autoRepair_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (autoRepair_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, autoRepair_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureNodeManagement)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.AzureNodeManagement other = (com.google.cloud.gkemulticloud.v1.AzureNodeManagement) obj; + + if (getAutoRepair() + != other.getAutoRepair()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + AUTO_REPAIR_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAutoRepair()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.AzureNodeManagement parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AzureNodeManagement parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AzureNodeManagement parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AzureNodeManagement parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AzureNodeManagement parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AzureNodeManagement parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AzureNodeManagement parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.AzureNodeManagement parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.AzureNodeManagement parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.AzureNodeManagement parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AzureNodeManagement parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.AzureNodeManagement parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureNodeManagement prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * AzureNodeManagement defines the set of node management features turned on for
+   * an Azure node pool.
+   * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureNodeManagement} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureNodeManagement) + com.google.cloud.gkemulticloud.v1.AzureNodeManagementOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodeManagement_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodeManagement_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.AzureNodeManagement.class, com.google.cloud.gkemulticloud.v1.AzureNodeManagement.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.AzureNodeManagement.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + autoRepair_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodeManagement_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureNodeManagement getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.AzureNodeManagement.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureNodeManagement build() { + com.google.cloud.gkemulticloud.v1.AzureNodeManagement result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureNodeManagement buildPartial() { + com.google.cloud.gkemulticloud.v1.AzureNodeManagement result = new com.google.cloud.gkemulticloud.v1.AzureNodeManagement(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureNodeManagement result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.autoRepair_ = autoRepair_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.AzureNodeManagement) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureNodeManagement)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureNodeManagement other) { + if (other == com.google.cloud.gkemulticloud.v1.AzureNodeManagement.getDefaultInstance()) return this; + if (other.getAutoRepair() != false) { + setAutoRepair(other.getAutoRepair()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + autoRepair_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private boolean autoRepair_ ; + /** + *
+     * Optional. Whether or not the nodes will be automatically repaired. When set
+     * to true, the nodes in this node pool will be monitored and if they fail
+     * health checks consistently over a period of time, an automatic repair
+     * action will be triggered to replace them with new nodes.
+     * 
+ * + * bool auto_repair = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return The autoRepair. + */ + @java.lang.Override + public boolean getAutoRepair() { + return autoRepair_; + } + /** + *
+     * Optional. Whether or not the nodes will be automatically repaired. When set
+     * to true, the nodes in this node pool will be monitored and if they fail
+     * health checks consistently over a period of time, an automatic repair
+     * action will be triggered to replace them with new nodes.
+     * 
+ * + * bool auto_repair = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The autoRepair to set. + * @return This builder for chaining. + */ + public Builder setAutoRepair(boolean value) { + + autoRepair_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Optional. Whether or not the nodes will be automatically repaired. When set
+     * to true, the nodes in this node pool will be monitored and if they fail
+     * health checks consistently over a period of time, an automatic repair
+     * action will be triggered to replace them with new nodes.
+     * 
+ * + * bool auto_repair = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearAutoRepair() { + bitField0_ = (bitField0_ & ~0x00000001); + autoRepair_ = false; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureNodeManagement) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureNodeManagement) + private static final com.google.cloud.gkemulticloud.v1.AzureNodeManagement DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureNodeManagement(); + } + + public static com.google.cloud.gkemulticloud.v1.AzureNodeManagement getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureNodeManagement parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureNodeManagement getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeManagementOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeManagementOrBuilder.java new file mode 100644 index 000000000000..6a8dac73cd80 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeManagementOrBuilder.java @@ -0,0 +1,22 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface AzureNodeManagementOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureNodeManagement) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Optional. Whether or not the nodes will be automatically repaired. When set
+   * to true, the nodes in this node pool will be monitored and if they fail
+   * health checks consistently over a period of time, an automatic repair
+   * action will be triggered to replace them with new nodes.
+   * 
+ * + * bool auto_repair = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return The autoRepair. + */ + boolean getAutoRepair(); +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePool.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePool.java similarity index 65% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePool.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePool.java index 78337d0a9fac..08e54b18fe38 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePool.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePool.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * An Anthos node pool running on Azure.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureNodePool} */ -public final class AzureNodePool extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AzureNodePool extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureNodePool) AzureNodePoolOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AzureNodePool.newBuilder() to construct. private AzureNodePool(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AzureNodePool() { name_ = ""; version_ = ""; @@ -50,49 +32,46 @@ private AzureNodePool() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AzureNodePool(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 13: return internalGetAnnotations(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureNodePool.class, - com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureNodePool.class, com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder.class); } /** - * - * *
    * The lifecycle state of the node pool.
    * 
* * Protobuf enum {@code google.cloud.gkemulticloud.v1.AzureNodePool.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not set.
      * 
@@ -101,8 +80,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The PROVISIONING state indicates the node pool is being created.
      * 
@@ -111,8 +88,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PROVISIONING(1), /** - * - * *
      * The RUNNING state indicates the node pool has been created and is fully
      * usable.
@@ -122,8 +97,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     RUNNING(2),
     /**
-     *
-     *
      * 
      * The RECONCILING state indicates that the node pool is being reconciled.
      * 
@@ -132,8 +105,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RECONCILING(3), /** - * - * *
      * The STOPPING state indicates the node pool is being deleted.
      * 
@@ -142,8 +113,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STOPPING(4), /** - * - * *
      * The ERROR state indicates the node pool is in a broken unrecoverable
      * state.
@@ -153,8 +122,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     ERROR(5),
     /**
-     *
-     *
      * 
      * The DEGRADED state indicates the node pool requires user action to
      * restore full functionality.
@@ -167,8 +134,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not set.
      * 
@@ -177,8 +142,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The PROVISIONING state indicates the node pool is being created.
      * 
@@ -187,8 +150,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROVISIONING_VALUE = 1; /** - * - * *
      * The RUNNING state indicates the node pool has been created and is fully
      * usable.
@@ -198,8 +159,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RUNNING_VALUE = 2;
     /**
-     *
-     *
      * 
      * The RECONCILING state indicates that the node pool is being reconciled.
      * 
@@ -208,8 +167,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RECONCILING_VALUE = 3; /** - * - * *
      * The STOPPING state indicates the node pool is being deleted.
      * 
@@ -218,8 +175,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STOPPING_VALUE = 4; /** - * - * *
      * The ERROR state indicates the node pool is in a broken unrecoverable
      * state.
@@ -229,8 +184,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ERROR_VALUE = 5;
     /**
-     *
-     *
      * 
      * The DEGRADED state indicates the node pool requires user action to
      * restore full functionality.
@@ -240,6 +193,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DEGRADED_VALUE = 6;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -264,57 +218,53 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return PROVISIONING;
-        case 2:
-          return RUNNING;
-        case 3:
-          return RECONCILING;
-        case 4:
-          return STOPPING;
-        case 5:
-          return ERROR;
-        case 6:
-          return DEGRADED;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return PROVISIONING;
+        case 2: return RUNNING;
+        case 3: return RECONCILING;
+        case 4: return STOPPING;
+        case 5: return ERROR;
+        case 6: return DEGRADED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.gkemulticloud.v1.AzureNodePool.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -332,12 +282,9 @@ private State(int value) {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The name of this resource.
    *
@@ -349,7 +296,6 @@ private State(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -358,15 +304,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of this resource.
    *
@@ -378,15 +323,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -395,19 +341,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int VERSION_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object version_ = ""; /** - * - * *
    * Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this
    * node pool.
    * 
* * string version = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The version. */ @java.lang.Override @@ -416,30 +358,30 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** - * - * *
    * Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this
    * node pool.
    * 
* * string version = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -450,16 +392,11 @@ public com.google.protobuf.ByteString getVersionBytes() { public static final int CONFIG_FIELD_NUMBER = 22; private com.google.cloud.gkemulticloud.v1.AzureNodeConfig config_; /** - * - * *
    * Required. The node configuration of the node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the config field is set. */ @java.lang.Override @@ -467,56 +404,39 @@ public boolean hasConfig() { return config_ != null; } /** - * - * *
    * Required. The node configuration of the node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; * @return The config. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureNodeConfig getConfig() { - return config_ == null - ? com.google.cloud.gkemulticloud.v1.AzureNodeConfig.getDefaultInstance() - : config_; + return config_ == null ? com.google.cloud.gkemulticloud.v1.AzureNodeConfig.getDefaultInstance() : config_; } /** - * - * *
    * Required. The node configuration of the node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureNodeConfigOrBuilder getConfigOrBuilder() { - return config_ == null - ? com.google.cloud.gkemulticloud.v1.AzureNodeConfig.getDefaultInstance() - : config_; + return config_ == null ? com.google.cloud.gkemulticloud.v1.AzureNodeConfig.getDefaultInstance() : config_; } public static final int SUBNET_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object subnetId_ = ""; /** - * - * *
    * Required. The ARM ID of the subnet where the node pool VMs run. Make sure
    * it's a subnet under the virtual network in the cluster configuration.
    * 
* * string subnet_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The subnetId. */ @java.lang.Override @@ -525,30 +445,30 @@ public java.lang.String getSubnetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetId_ = s; return s; } } /** - * - * *
    * Required. The ARM ID of the subnet where the node pool VMs run. Make sure
    * it's a subnet under the virtual network in the cluster configuration.
    * 
* * string subnet_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for subnetId. */ @java.lang.Override - public com.google.protobuf.ByteString getSubnetIdBytes() { + public com.google.protobuf.ByteString + getSubnetIdBytes() { java.lang.Object ref = subnetId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnetId_ = b; return b; } else { @@ -559,16 +479,11 @@ public com.google.protobuf.ByteString getSubnetIdBytes() { public static final int AUTOSCALING_FIELD_NUMBER = 4; private com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling_; /** - * - * *
    * Required. Autoscaler configuration for this node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscaling field is set. */ @java.lang.Override @@ -576,97 +491,64 @@ public boolean hasAutoscaling() { return autoscaling_ != null; } /** - * - * *
    * Required. Autoscaler configuration for this node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscaling. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling getAutoscaling() { - return autoscaling_ == null - ? com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.getDefaultInstance() - : autoscaling_; + return autoscaling_ == null ? com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.getDefaultInstance() : autoscaling_; } /** - * - * *
    * Required. Autoscaler configuration for this node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscalingOrBuilder - getAutoscalingOrBuilder() { - return autoscaling_ == null - ? com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.getDefaultInstance() - : autoscaling_; + public com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscalingOrBuilder getAutoscalingOrBuilder() { + return autoscaling_ == null ? com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.getDefaultInstance() : autoscaling_; } public static final int STATE_FIELD_NUMBER = 6; private int state_ = 0; /** - * - * *
    * Output only. The current state of the node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The current state of the node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AzureNodePool.State getState() { - com.google.cloud.gkemulticloud.v1.AzureNodePool.State result = - com.google.cloud.gkemulticloud.v1.AzureNodePool.State.forNumber(state_); - return result == null - ? com.google.cloud.gkemulticloud.v1.AzureNodePool.State.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureNodePool.State getState() { + com.google.cloud.gkemulticloud.v1.AzureNodePool.State result = com.google.cloud.gkemulticloud.v1.AzureNodePool.State.forNumber(state_); + return result == null ? com.google.cloud.gkemulticloud.v1.AzureNodePool.State.UNRECOGNIZED : result; } public static final int UID_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** - * - * *
    * Output only. A globally unique identifier for the node pool.
    * 
* * string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -675,29 +557,29 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** - * - * *
    * Output only. A globally unique identifier for the node pool.
    * 
* * string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -708,15 +590,12 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int RECONCILING_FIELD_NUMBER = 9; private boolean reconciling_ = false; /** - * - * *
    * Output only. If set, there are currently pending changes to the node
    * pool.
    * 
* * bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -727,15 +606,11 @@ public boolean getReconciling() { public static final int CREATE_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time at which this node pool was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -743,15 +618,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time at which this node pool was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -759,14 +630,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time at which this node pool was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -776,15 +644,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 11; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The time at which this node pool was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -792,15 +656,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The time at which this node pool was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -808,14 +668,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The time at which this node pool was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -823,12 +680,9 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int ETAG_FIELD_NUMBER = 12; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -838,7 +692,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string etag = 12; - * * @return The etag. */ @java.lang.Override @@ -847,15 +700,14 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -865,15 +717,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 12; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -882,35 +735,32 @@ public com.google.protobuf.ByteString getEtagBytes() { } public static final int ANNOTATIONS_FIELD_NUMBER = 13; - private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_AnnotationsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } - public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
    * Optional. Annotations on the node pool.
    *
@@ -923,25 +773,23 @@ public int getAnnotationsCount() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetAnnotations().getMap().containsKey(key); } - /** Use {@link #getAnnotationsMap()} instead. */ + /** + * Use {@link #getAnnotationsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** - * - * *
    * Optional. Annotations on the node pool.
    *
@@ -954,16 +802,13 @@ public java.util.Map getAnnotations() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** - * - * *
    * Optional. Annotations on the node pool.
    *
@@ -976,23 +821,20 @@ public java.util.Map getAnnotationsMap() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getAnnotationsOrDefault( + public /* nullable */ +java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Optional. Annotations on the node pool.
    *
@@ -1005,15 +847,14 @@ public java.util.Map getAnnotationsMap() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + public java.lang.String getAnnotationsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1023,17 +864,12 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) { public static final int MAX_PODS_CONSTRAINT_FIELD_NUMBER = 21; private com.google.cloud.gkemulticloud.v1.MaxPodsConstraint maxPodsConstraint_; /** - * - * *
    * Required. The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the maxPodsConstraint field is set. */ @java.lang.Override @@ -1041,52 +877,35 @@ public boolean hasMaxPodsConstraint() { return maxPodsConstraint_ != null; } /** - * - * *
    * Required. The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; * @return The maxPodsConstraint. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.MaxPodsConstraint getMaxPodsConstraint() { - return maxPodsConstraint_ == null - ? com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance() - : maxPodsConstraint_; + return maxPodsConstraint_ == null ? com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance() : maxPodsConstraint_; } /** - * - * *
    * Required. The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder - getMaxPodsConstraintOrBuilder() { - return maxPodsConstraint_ == null - ? com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance() - : maxPodsConstraint_; + public com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder getMaxPodsConstraintOrBuilder() { + return maxPodsConstraint_ == null ? com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance() : maxPodsConstraint_; } public static final int AZURE_AVAILABILITY_ZONE_FIELD_NUMBER = 23; - @SuppressWarnings("serial") private volatile java.lang.Object azureAvailabilityZone_ = ""; /** - * - * *
    * Optional. The Azure availability zone of the nodes in this nodepool.
    *
@@ -1094,7 +913,6 @@ public com.google.cloud.gkemulticloud.v1.MaxPodsConstraint getMaxPodsConstraint(
    * 
* * string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The azureAvailabilityZone. */ @java.lang.Override @@ -1103,15 +921,14 @@ public java.lang.String getAzureAvailabilityZone() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureAvailabilityZone_ = s; return s; } } /** - * - * *
    * Optional. The Azure availability zone of the nodes in this nodepool.
    *
@@ -1119,15 +936,16 @@ public java.lang.String getAzureAvailabilityZone() {
    * 
* * string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for azureAvailabilityZone. */ @java.lang.Override - public com.google.protobuf.ByteString getAzureAvailabilityZoneBytes() { + public com.google.protobuf.ByteString + getAzureAvailabilityZoneBytes() { java.lang.Object ref = azureAvailabilityZone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); azureAvailabilityZone_ = b; return b; } else { @@ -1136,80 +954,59 @@ public com.google.protobuf.ByteString getAzureAvailabilityZoneBytes() { } public static final int ERRORS_FIELD_NUMBER = 29; - @SuppressWarnings("serial") private java.util.List errors_; /** - * - * *
    * Output only. A set of errors found in the node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getErrorsList() { return errors_; } /** - * - * *
    * Output only. A set of errors found in the node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getErrorsOrBuilderList() { return errors_; } /** - * - * *
    * Output only. A set of errors found in the node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** - * - * *
    * Output only. A set of errors found in the node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureNodePoolError getErrors(int index) { return errors_.get(index); } /** - * - * *
    * Output only. A set of errors found in the node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureNodePoolErrorOrBuilder getErrorsOrBuilder( @@ -1217,8 +1014,45 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolErrorOrBuilder getErrorsOr return errors_.get(index); } - private byte memoizedIsInitialized = -1; + public static final int MANAGEMENT_FIELD_NUMBER = 30; + private com.google.cloud.gkemulticloud.v1.AzureNodeManagement management_; + /** + *
+   * Optional. The Management configuration for this node pool.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the management field is set. + */ + @java.lang.Override + public boolean hasManagement() { + return management_ != null; + } + /** + *
+   * Optional. The Management configuration for this node pool.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * @return The management. + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureNodeManagement getManagement() { + return management_ == null ? com.google.cloud.gkemulticloud.v1.AzureNodeManagement.getDefaultInstance() : management_; + } + /** + *
+   * Optional. The Management configuration for this node pool.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureNodeManagementOrBuilder getManagementOrBuilder() { + return management_ == null ? com.google.cloud.gkemulticloud.v1.AzureNodeManagement.getDefaultInstance() : management_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1230,7 +1064,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1243,8 +1078,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (autoscaling_ != null) { output.writeMessage(4, getAutoscaling()); } - if (state_ - != com.google.cloud.gkemulticloud.v1.AzureNodePool.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ != com.google.cloud.gkemulticloud.v1.AzureNodePool.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(6, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { @@ -1262,8 +1096,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, etag_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 13); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetAnnotations(), + AnnotationsDefaultEntryHolder.defaultEntry, + 13); if (maxPodsConstraint_ != null) { output.writeMessage(21, getMaxPodsConstraint()); } @@ -1276,6 +1114,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < errors_.size(); i++) { output.writeMessage(29, errors_.get(i)); } + if (management_ != null) { + output.writeMessage(30, getManagement()); + } getUnknownFields().writeTo(output); } @@ -1295,48 +1136,59 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, subnetId_); } if (autoscaling_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getAutoscaling()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getAutoscaling()); } - if (state_ - != com.google.cloud.gkemulticloud.v1.AzureNodePool.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, state_); + if (state_ != com.google.cloud.gkemulticloud.v1.AzureNodePool.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, uid_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, reconciling_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(9, reconciling_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, etag_); } - for (java.util.Map.Entry entry : - internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry annotations__ = - AnnotationsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, annotations__); + for (java.util.Map.Entry entry + : internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry + annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, annotations__); } if (maxPodsConstraint_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getMaxPodsConstraint()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, getMaxPodsConstraint()); } if (config_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, getConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(azureAvailabilityZone_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, azureAvailabilityZone_); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(29, errors_.get(i)); + } + if (management_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(30, getManagement()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1346,44 +1198,62 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureNodePool)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureNodePool other = - (com.google.cloud.gkemulticloud.v1.AzureNodePool) obj; + com.google.cloud.gkemulticloud.v1.AzureNodePool other = (com.google.cloud.gkemulticloud.v1.AzureNodePool) obj; - if (!getName().equals(other.getName())) return false; - if (!getVersion().equals(other.getVersion())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; if (hasConfig() != other.hasConfig()) return false; if (hasConfig()) { - if (!getConfig().equals(other.getConfig())) return false; + if (!getConfig() + .equals(other.getConfig())) return false; } - if (!getSubnetId().equals(other.getSubnetId())) return false; + if (!getSubnetId() + .equals(other.getSubnetId())) return false; if (hasAutoscaling() != other.hasAutoscaling()) return false; if (hasAutoscaling()) { - if (!getAutoscaling().equals(other.getAutoscaling())) return false; + if (!getAutoscaling() + .equals(other.getAutoscaling())) return false; } if (state_ != other.state_) return false; - if (!getUid().equals(other.getUid())) return false; - if (getReconciling() != other.getReconciling()) return false; + if (!getUid() + .equals(other.getUid())) return false; + if (getReconciling() + != other.getReconciling()) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } - if (!getEtag().equals(other.getEtag())) return false; - if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; + if (!internalGetAnnotations().equals( + other.internalGetAnnotations())) return false; if (hasMaxPodsConstraint() != other.hasMaxPodsConstraint()) return false; if (hasMaxPodsConstraint()) { - if (!getMaxPodsConstraint().equals(other.getMaxPodsConstraint())) return false; + if (!getMaxPodsConstraint() + .equals(other.getMaxPodsConstraint())) return false; + } + if (!getAzureAvailabilityZone() + .equals(other.getAzureAvailabilityZone())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; + if (hasManagement() != other.hasManagement()) return false; + if (hasManagement()) { + if (!getManagement() + .equals(other.getManagement())) return false; } - if (!getAzureAvailabilityZone().equals(other.getAzureAvailabilityZone())) return false; - if (!getErrorsList().equals(other.getErrorsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1414,7 +1284,8 @@ public int hashCode() { hash = (37 * hash) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid().hashCode(); hash = (37 * hash) + RECONCILING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReconciling()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReconciling()); if (hasCreateTime()) { hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime().hashCode(); @@ -1439,161 +1310,163 @@ public int hashCode() { hash = (37 * hash) + ERRORS_FIELD_NUMBER; hash = (53 * hash) + getErrorsList().hashCode(); } + if (hasManagement()) { + hash = (37 * hash) + MANAGEMENT_FIELD_NUMBER; + hash = (53 * hash) + getManagement().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.gkemulticloud.v1.AzureNodePool parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.gkemulticloud.v1.AzureNodePool parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePool parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePool parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePool parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePool parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePool parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePool parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePool parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePool parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureNodePool parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureNodePool parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePool parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePool parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureNodePool prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * An Anthos node pool running on Azure.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureNodePool} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureNodePool) com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 13: return internalGetAnnotations(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 13: return internalGetMutableAnnotations(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureNodePool.class, - com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureNodePool.class, com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AzureNodePool.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1639,13 +1512,18 @@ public Builder clear() { errorsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00004000); + management_ = null; + if (managementBuilder_ != null) { + managementBuilder_.dispose(); + managementBuilder_ = null; + } return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_descriptor; } @java.lang.Override @@ -1664,18 +1542,14 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePool build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureNodePool buildPartial() { - com.google.cloud.gkemulticloud.v1.AzureNodePool result = - new com.google.cloud.gkemulticloud.v1.AzureNodePool(this); + com.google.cloud.gkemulticloud.v1.AzureNodePool result = new com.google.cloud.gkemulticloud.v1.AzureNodePool(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.gkemulticloud.v1.AzureNodePool result) { + private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.AzureNodePool result) { if (errorsBuilder_ == null) { if (((bitField0_ & 0x00004000) != 0)) { errors_ = java.util.Collections.unmodifiableList(errors_); @@ -1696,14 +1570,17 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureNodePool resul result.version_ = version_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.config_ = configBuilder_ == null ? config_ : configBuilder_.build(); + result.config_ = configBuilder_ == null + ? config_ + : configBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.subnetId_ = subnetId_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.autoscaling_ = - autoscalingBuilder_ == null ? autoscaling_ : autoscalingBuilder_.build(); + result.autoscaling_ = autoscalingBuilder_ == null + ? autoscaling_ + : autoscalingBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { result.state_ = state_; @@ -1715,10 +1592,14 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureNodePool resul result.reconciling_ = reconciling_; } if (((from_bitField0_ & 0x00000100) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000400) != 0)) { result.etag_ = etag_; @@ -1728,53 +1609,56 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureNodePool resul result.annotations_.makeImmutable(); } if (((from_bitField0_ & 0x00001000) != 0)) { - result.maxPodsConstraint_ = - maxPodsConstraintBuilder_ == null - ? maxPodsConstraint_ - : maxPodsConstraintBuilder_.build(); + result.maxPodsConstraint_ = maxPodsConstraintBuilder_ == null + ? maxPodsConstraint_ + : maxPodsConstraintBuilder_.build(); } if (((from_bitField0_ & 0x00002000) != 0)) { result.azureAvailabilityZone_ = azureAvailabilityZone_; } + if (((from_bitField0_ & 0x00008000) != 0)) { + result.management_ = managementBuilder_ == null + ? management_ + : managementBuilder_.build(); + } } @java.lang.Override public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AzureNodePool) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureNodePool) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureNodePool)other); } else { super.mergeFrom(other); return this; @@ -1782,8 +1666,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureNodePool other) { - if (other == com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1827,7 +1710,8 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureNodePool other) bitField0_ |= 0x00000400; onChanged(); } - internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); + internalGetMutableAnnotations().mergeFrom( + other.internalGetAnnotations()); bitField0_ |= 0x00000800; if (other.hasMaxPodsConstraint()) { mergeMaxPodsConstraint(other.getMaxPodsConstraint()); @@ -1855,15 +1739,17 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureNodePool other) errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00004000); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() - : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } } } + if (other.hasManagement()) { + mergeManagement(other.getManagement()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1890,118 +1776,116 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - version_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - subnetId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 26 - case 34: - { - input.readMessage(getAutoscalingFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 48: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 66: - { - uid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 66 - case 72: - { - reconciling_ = input.readBool(); - bitField0_ |= 0x00000080; - break; - } // case 72 - case 82: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 82 - case 90: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000200; - break; - } // case 90 - case 98: - { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; - break; - } // case 98 - case 106: - { - com.google.protobuf.MapEntry annotations__ = - input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableAnnotations() - .getMutableMap() - .put(annotations__.getKey(), annotations__.getValue()); - bitField0_ |= 0x00000800; - break; - } // case 106 - case 170: - { - input.readMessage( - getMaxPodsConstraintFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00001000; - break; - } // case 170 - case 178: - { - input.readMessage(getConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 178 - case 186: - { - azureAvailabilityZone_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00002000; - break; - } // case 186 - case 234: - { - com.google.cloud.gkemulticloud.v1.AzureNodePoolError m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureNodePoolError.parser(), - extensionRegistry); - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.add(m); - } else { - errorsBuilder_.addMessage(m); - } - break; - } // case 234 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + subnetId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 26 + case 34: { + input.readMessage( + getAutoscalingFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 48: { + state_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 66: { + uid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 66 + case 72: { + reconciling_ = input.readBool(); + bitField0_ |= 0x00000080; + break; + } // case 72 + case 82: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 82 + case 90: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 90 + case 98: { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 98 + case 106: { + com.google.protobuf.MapEntry + annotations__ = input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableAnnotations().getMutableMap().put( + annotations__.getKey(), annotations__.getValue()); + bitField0_ |= 0x00000800; + break; + } // case 106 + case 170: { + input.readMessage( + getMaxPodsConstraintFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00001000; + break; + } // case 170 + case 178: { + input.readMessage( + getConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 178 + case 186: { + azureAvailabilityZone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00002000; + break; + } // case 186 + case 234: { + com.google.cloud.gkemulticloud.v1.AzureNodePoolError m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureNodePoolError.parser(), + extensionRegistry); + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.add(m); + } else { + errorsBuilder_.addMessage(m); + } + break; + } // case 234 + case 242: { + input.readMessage( + getManagementFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00008000; + break; + } // case 242 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2011,13 +1895,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The name of this resource.
      *
@@ -2029,13 +1910,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2044,8 +1925,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of this resource.
      *
@@ -2057,14 +1936,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2072,8 +1952,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of this resource.
      *
@@ -2085,22 +1963,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of this resource.
      *
@@ -2112,7 +1986,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -2122,8 +1995,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The name of this resource.
      *
@@ -2135,14 +2006,12 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2152,21 +2021,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
      * Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this
      * node pool.
      * 
* * string version = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -2175,22 +2042,21 @@ public java.lang.String getVersion() { } } /** - * - * *
      * Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this
      * node pool.
      * 
* * string version = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -2198,37 +2064,30 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this
      * node pool.
      * 
* * string version = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } version_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this
      * node pool.
      * 
* * string version = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearVersion() { @@ -2238,22 +2097,18 @@ public Builder clearVersion() { return this; } /** - * - * *
      * Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this
      * node pool.
      * 
* * string version = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); version_ = value; bitField0_ |= 0x00000002; @@ -2263,58 +2118,39 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { private com.google.cloud.gkemulticloud.v1.AzureNodeConfig config_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodeConfig, - com.google.cloud.gkemulticloud.v1.AzureNodeConfig.Builder, - com.google.cloud.gkemulticloud.v1.AzureNodeConfigOrBuilder> - configBuilder_; + com.google.cloud.gkemulticloud.v1.AzureNodeConfig, com.google.cloud.gkemulticloud.v1.AzureNodeConfig.Builder, com.google.cloud.gkemulticloud.v1.AzureNodeConfigOrBuilder> configBuilder_; /** - * - * *
      * Required. The node configuration of the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the config field is set. */ public boolean hasConfig() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The node configuration of the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; * @return The config. */ public com.google.cloud.gkemulticloud.v1.AzureNodeConfig getConfig() { if (configBuilder_ == null) { - return config_ == null - ? com.google.cloud.gkemulticloud.v1.AzureNodeConfig.getDefaultInstance() - : config_; + return config_ == null ? com.google.cloud.gkemulticloud.v1.AzureNodeConfig.getDefaultInstance() : config_; } else { return configBuilder_.getMessage(); } } /** - * - * *
      * Required. The node configuration of the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setConfig(com.google.cloud.gkemulticloud.v1.AzureNodeConfig value) { if (configBuilder_ == null) { @@ -2330,15 +2166,11 @@ public Builder setConfig(com.google.cloud.gkemulticloud.v1.AzureNodeConfig value return this; } /** - * - * *
      * Required. The node configuration of the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setConfig( com.google.cloud.gkemulticloud.v1.AzureNodeConfig.Builder builderForValue) { @@ -2352,21 +2184,17 @@ public Builder setConfig( return this; } /** - * - * *
      * Required. The node configuration of the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeConfig(com.google.cloud.gkemulticloud.v1.AzureNodeConfig value) { if (configBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && config_ != null - && config_ != com.google.cloud.gkemulticloud.v1.AzureNodeConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + config_ != null && + config_ != com.google.cloud.gkemulticloud.v1.AzureNodeConfig.getDefaultInstance()) { getConfigBuilder().mergeFrom(value); } else { config_ = value; @@ -2379,15 +2207,11 @@ public Builder mergeConfig(com.google.cloud.gkemulticloud.v1.AzureNodeConfig val return this; } /** - * - * *
      * Required. The node configuration of the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearConfig() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2400,15 +2224,11 @@ public Builder clearConfig() { return this; } /** - * - * *
      * Required. The node configuration of the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AzureNodeConfig.Builder getConfigBuilder() { bitField0_ |= 0x00000004; @@ -2416,48 +2236,36 @@ public com.google.cloud.gkemulticloud.v1.AzureNodeConfig.Builder getConfigBuilde return getConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The node configuration of the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AzureNodeConfigOrBuilder getConfigOrBuilder() { if (configBuilder_ != null) { return configBuilder_.getMessageOrBuilder(); } else { - return config_ == null - ? com.google.cloud.gkemulticloud.v1.AzureNodeConfig.getDefaultInstance() - : config_; + return config_ == null ? + com.google.cloud.gkemulticloud.v1.AzureNodeConfig.getDefaultInstance() : config_; } } /** - * - * *
      * Required. The node configuration of the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodeConfig, - com.google.cloud.gkemulticloud.v1.AzureNodeConfig.Builder, - com.google.cloud.gkemulticloud.v1.AzureNodeConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureNodeConfig, com.google.cloud.gkemulticloud.v1.AzureNodeConfig.Builder, com.google.cloud.gkemulticloud.v1.AzureNodeConfigOrBuilder> getConfigFieldBuilder() { if (configBuilder_ == null) { - configBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodeConfig, - com.google.cloud.gkemulticloud.v1.AzureNodeConfig.Builder, - com.google.cloud.gkemulticloud.v1.AzureNodeConfigOrBuilder>( - getConfig(), getParentForChildren(), isClean()); + configBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureNodeConfig, com.google.cloud.gkemulticloud.v1.AzureNodeConfig.Builder, com.google.cloud.gkemulticloud.v1.AzureNodeConfigOrBuilder>( + getConfig(), + getParentForChildren(), + isClean()); config_ = null; } return configBuilder_; @@ -2465,21 +2273,19 @@ public com.google.cloud.gkemulticloud.v1.AzureNodeConfigOrBuilder getConfigOrBui private java.lang.Object subnetId_ = ""; /** - * - * *
      * Required. The ARM ID of the subnet where the node pool VMs run. Make sure
      * it's a subnet under the virtual network in the cluster configuration.
      * 
* * string subnet_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The subnetId. */ public java.lang.String getSubnetId() { java.lang.Object ref = subnetId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetId_ = s; return s; @@ -2488,22 +2294,21 @@ public java.lang.String getSubnetId() { } } /** - * - * *
      * Required. The ARM ID of the subnet where the node pool VMs run. Make sure
      * it's a subnet under the virtual network in the cluster configuration.
      * 
* * string subnet_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for subnetId. */ - public com.google.protobuf.ByteString getSubnetIdBytes() { + public com.google.protobuf.ByteString + getSubnetIdBytes() { java.lang.Object ref = subnetId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnetId_ = b; return b; } else { @@ -2511,37 +2316,30 @@ public com.google.protobuf.ByteString getSubnetIdBytes() { } } /** - * - * *
      * Required. The ARM ID of the subnet where the node pool VMs run. Make sure
      * it's a subnet under the virtual network in the cluster configuration.
      * 
* * string subnet_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The subnetId to set. * @return This builder for chaining. */ - public Builder setSubnetId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSubnetId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } subnetId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Required. The ARM ID of the subnet where the node pool VMs run. Make sure
      * it's a subnet under the virtual network in the cluster configuration.
      * 
* * string subnet_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSubnetId() { @@ -2551,22 +2349,18 @@ public Builder clearSubnetId() { return this; } /** - * - * *
      * Required. The ARM ID of the subnet where the node pool VMs run. Make sure
      * it's a subnet under the virtual network in the cluster configuration.
      * 
* * string subnet_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for subnetId to set. * @return This builder for chaining. */ - public Builder setSubnetIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSubnetIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); subnetId_ = value; bitField0_ |= 0x00000008; @@ -2576,61 +2370,41 @@ public Builder setSubnetIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling, - com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.Builder, - com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscalingOrBuilder> - autoscalingBuilder_; + com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling, com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.Builder, com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscalingOrBuilder> autoscalingBuilder_; /** - * - * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscaling field is set. */ public boolean hasAutoscaling() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscaling. */ public com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling getAutoscaling() { if (autoscalingBuilder_ == null) { - return autoscaling_ == null - ? com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.getDefaultInstance() - : autoscaling_; + return autoscaling_ == null ? com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.getDefaultInstance() : autoscaling_; } else { return autoscalingBuilder_.getMessage(); } } /** - * - * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setAutoscaling( - com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling value) { + public Builder setAutoscaling(com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling value) { if (autoscalingBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2644,15 +2418,11 @@ public Builder setAutoscaling( return this; } /** - * - * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAutoscaling( com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.Builder builderForValue) { @@ -2666,24 +2436,17 @@ public Builder setAutoscaling( return this; } /** - * - * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeAutoscaling( - com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling value) { + public Builder mergeAutoscaling(com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling value) { if (autoscalingBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && autoscaling_ != null - && autoscaling_ - != com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling - .getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + autoscaling_ != null && + autoscaling_ != com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.getDefaultInstance()) { getAutoscalingBuilder().mergeFrom(value); } else { autoscaling_ = value; @@ -2696,15 +2459,11 @@ public Builder mergeAutoscaling( return this; } /** - * - * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAutoscaling() { bitField0_ = (bitField0_ & ~0x00000010); @@ -2717,66 +2476,48 @@ public Builder clearAutoscaling() { return this; } /** - * - * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.Builder - getAutoscalingBuilder() { + public com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.Builder getAutoscalingBuilder() { bitField0_ |= 0x00000010; onChanged(); return getAutoscalingFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscalingOrBuilder - getAutoscalingOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscalingOrBuilder getAutoscalingOrBuilder() { if (autoscalingBuilder_ != null) { return autoscalingBuilder_.getMessageOrBuilder(); } else { - return autoscaling_ == null - ? com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.getDefaultInstance() - : autoscaling_; + return autoscaling_ == null ? + com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.getDefaultInstance() : autoscaling_; } } /** - * - * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling, - com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.Builder, - com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscalingOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling, com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.Builder, com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscalingOrBuilder> getAutoscalingFieldBuilder() { if (autoscalingBuilder_ == null) { - autoscalingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling, - com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.Builder, - com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscalingOrBuilder>( - getAutoscaling(), getParentForChildren(), isClean()); + autoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling, com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.Builder, com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscalingOrBuilder>( + getAutoscaling(), + getParentForChildren(), + isClean()); autoscaling_ = null; } return autoscalingBuilder_; @@ -2784,33 +2525,22 @@ public Builder clearAutoscaling() { private int state_ = 0; /** - * - * *
      * Output only. The current state of the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The current state of the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2821,37 +2551,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The current state of the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureNodePool.State getState() { - com.google.cloud.gkemulticloud.v1.AzureNodePool.State result = - com.google.cloud.gkemulticloud.v1.AzureNodePool.State.forNumber(state_); - return result == null - ? com.google.cloud.gkemulticloud.v1.AzureNodePool.State.UNRECOGNIZED - : result; + com.google.cloud.gkemulticloud.v1.AzureNodePool.State result = com.google.cloud.gkemulticloud.v1.AzureNodePool.State.forNumber(state_); + return result == null ? com.google.cloud.gkemulticloud.v1.AzureNodePool.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current state of the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -2865,16 +2582,11 @@ public Builder setState(com.google.cloud.gkemulticloud.v1.AzureNodePool.State va return this; } /** - * - * *
      * Output only. The current state of the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -2886,20 +2598,18 @@ public Builder clearState() { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. A globally unique identifier for the node pool.
      * 
* * string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -2908,21 +2618,20 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. A globally unique identifier for the node pool.
      * 
* * string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -2930,35 +2639,28 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. A globally unique identifier for the node pool.
      * 
* * string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uid_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Output only. A globally unique identifier for the node pool.
      * 
* * string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { @@ -2968,21 +2670,17 @@ public Builder clearUid() { return this; } /** - * - * *
      * Output only. A globally unique identifier for the node pool.
      * 
* * string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000040; @@ -2990,17 +2688,14 @@ public Builder setUidBytes(com.google.protobuf.ByteString value) { return this; } - private boolean reconciling_; + private boolean reconciling_ ; /** - * - * *
      * Output only. If set, there are currently pending changes to the node
      * pool.
      * 
* * bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -3008,15 +2703,12 @@ public boolean getReconciling() { return reconciling_; } /** - * - * *
      * Output only. If set, there are currently pending changes to the node
      * pool.
      * 
* * bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The reconciling to set. * @return This builder for chaining. */ @@ -3028,15 +2720,12 @@ public Builder setReconciling(boolean value) { return this; } /** - * - * *
      * Output only. If set, there are currently pending changes to the node
      * pool.
      * 
* * bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -3048,58 +2737,39 @@ public Builder clearReconciling() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time at which this node pool was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000100) != 0); } /** - * - * *
      * Output only. The time at which this node pool was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which this node pool was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -3115,17 +2785,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this node pool was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -3136,21 +2803,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time at which this node pool was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -3163,15 +2826,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this node pool was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000100); @@ -3184,15 +2843,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time at which this node pool was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000100; @@ -3200,48 +2855,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which this node pool was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time at which this node pool was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -3249,58 +2892,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000200) != 0); } /** - * - * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3316,17 +2940,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -3337,21 +2958,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -3364,15 +2981,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000200); @@ -3385,15 +2998,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000200; @@ -3401,48 +3010,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -3450,8 +3047,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object etag_ = ""; /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3461,13 +3056,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string etag = 12; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -3476,8 +3071,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3487,14 +3080,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 12; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -3502,8 +3096,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3513,22 +3105,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 12; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3538,7 +3126,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 12; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -3548,8 +3135,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3559,14 +3144,12 @@ public Builder clearEtag() {
      * 
* * string etag = 12; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000400; @@ -3574,8 +3157,8 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -3584,12 +3167,11 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { } return annotations_; } - private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = - com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -3598,13 +3180,10 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { onChanged(); return annotations_; } - public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
      * Optional. Annotations on the node pool.
      *
@@ -3617,25 +3196,23 @@ public int getAnnotationsCount() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetAnnotations().getMap().containsKey(key); } - /** Use {@link #getAnnotationsMap()} instead. */ + /** + * Use {@link #getAnnotationsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** - * - * *
      * Optional. Annotations on the node pool.
      *
@@ -3648,16 +3225,13 @@ public java.util.Map getAnnotations() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** - * - * *
      * Optional. Annotations on the node pool.
      *
@@ -3670,23 +3244,20 @@ public java.util.Map getAnnotationsMap() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ java.lang.String getAnnotationsOrDefault( + public /* nullable */ +java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Optional. Annotations on the node pool.
      *
@@ -3699,29 +3270,26 @@ public java.util.Map getAnnotationsMap() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + public java.lang.String getAnnotationsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearAnnotations() { bitField0_ = (bitField0_ & ~0x00000800); - internalGetMutableAnnotations().getMutableMap().clear(); + internalGetMutableAnnotations().getMutableMap() + .clear(); return this; } /** - * - * *
      * Optional. Annotations on the node pool.
      *
@@ -3734,25 +3302,25 @@ public Builder clearAnnotations() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableAnnotations().getMutableMap().remove(key); + public Builder removeAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableAnnotations().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableAnnotations() { + public java.util.Map + getMutableAnnotations() { bitField0_ |= 0x00000800; return internalGetMutableAnnotations().getMutableMap(); } /** - * - * *
      * Optional. Annotations on the node pool.
      *
@@ -3765,23 +3333,19 @@ public java.util.Map getMutableAnnotations()
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAnnotations(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableAnnotations().getMutableMap().put(key, value); + public Builder putAnnotations( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableAnnotations().getMutableMap() + .put(key, value); bitField0_ |= 0x00000800; return this; } /** - * - * *
      * Optional. Annotations on the node pool.
      *
@@ -3794,72 +3358,54 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder putAllAnnotations(java.util.Map values) { - internalGetMutableAnnotations().getMutableMap().putAll(values); + public Builder putAllAnnotations( + java.util.Map values) { + internalGetMutableAnnotations().getMutableMap() + .putAll(values); bitField0_ |= 0x00000800; return this; } private com.google.cloud.gkemulticloud.v1.MaxPodsConstraint maxPodsConstraint_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint, - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder, - com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder> - maxPodsConstraintBuilder_; + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint, com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder, com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder> maxPodsConstraintBuilder_; /** - * - * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the maxPodsConstraint field is set. */ public boolean hasMaxPodsConstraint() { return ((bitField0_ & 0x00001000) != 0); } /** - * - * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; * @return The maxPodsConstraint. */ public com.google.cloud.gkemulticloud.v1.MaxPodsConstraint getMaxPodsConstraint() { if (maxPodsConstraintBuilder_ == null) { - return maxPodsConstraint_ == null - ? com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance() - : maxPodsConstraint_; + return maxPodsConstraint_ == null ? com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance() : maxPodsConstraint_; } else { return maxPodsConstraintBuilder_.getMessage(); } } /** - * - * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMaxPodsConstraint(com.google.cloud.gkemulticloud.v1.MaxPodsConstraint value) { if (maxPodsConstraintBuilder_ == null) { @@ -3875,16 +3421,12 @@ public Builder setMaxPodsConstraint(com.google.cloud.gkemulticloud.v1.MaxPodsCon return this; } /** - * - * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMaxPodsConstraint( com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder builderForValue) { @@ -3898,24 +3440,18 @@ public Builder setMaxPodsConstraint( return this; } /** - * - * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeMaxPodsConstraint( - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint value) { + public Builder mergeMaxPodsConstraint(com.google.cloud.gkemulticloud.v1.MaxPodsConstraint value) { if (maxPodsConstraintBuilder_ == null) { - if (((bitField0_ & 0x00001000) != 0) - && maxPodsConstraint_ != null - && maxPodsConstraint_ - != com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance()) { + if (((bitField0_ & 0x00001000) != 0) && + maxPodsConstraint_ != null && + maxPodsConstraint_ != com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance()) { getMaxPodsConstraintBuilder().mergeFrom(value); } else { maxPodsConstraint_ = value; @@ -3928,16 +3464,12 @@ public Builder mergeMaxPodsConstraint( return this; } /** - * - * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearMaxPodsConstraint() { bitField0_ = (bitField0_ & ~0x00001000); @@ -3950,69 +3482,51 @@ public Builder clearMaxPodsConstraint() { return this; } /** - * - * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder - getMaxPodsConstraintBuilder() { + public com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder getMaxPodsConstraintBuilder() { bitField0_ |= 0x00001000; onChanged(); return getMaxPodsConstraintFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder - getMaxPodsConstraintOrBuilder() { + public com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder getMaxPodsConstraintOrBuilder() { if (maxPodsConstraintBuilder_ != null) { return maxPodsConstraintBuilder_.getMessageOrBuilder(); } else { - return maxPodsConstraint_ == null - ? com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance() - : maxPodsConstraint_; + return maxPodsConstraint_ == null ? + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance() : maxPodsConstraint_; } } /** - * - * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint, - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder, - com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder> + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint, com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder, com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder> getMaxPodsConstraintFieldBuilder() { if (maxPodsConstraintBuilder_ == null) { - maxPodsConstraintBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint, - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder, - com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder>( - getMaxPodsConstraint(), getParentForChildren(), isClean()); + maxPodsConstraintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint, com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder, com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder>( + getMaxPodsConstraint(), + getParentForChildren(), + isClean()); maxPodsConstraint_ = null; } return maxPodsConstraintBuilder_; @@ -4020,8 +3534,6 @@ public Builder clearMaxPodsConstraint() { private java.lang.Object azureAvailabilityZone_ = ""; /** - * - * *
      * Optional. The Azure availability zone of the nodes in this nodepool.
      *
@@ -4029,13 +3541,13 @@ public Builder clearMaxPodsConstraint() {
      * 
* * string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The azureAvailabilityZone. */ public java.lang.String getAzureAvailabilityZone() { java.lang.Object ref = azureAvailabilityZone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureAvailabilityZone_ = s; return s; @@ -4044,8 +3556,6 @@ public java.lang.String getAzureAvailabilityZone() { } } /** - * - * *
      * Optional. The Azure availability zone of the nodes in this nodepool.
      *
@@ -4053,14 +3563,15 @@ public java.lang.String getAzureAvailabilityZone() {
      * 
* * string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for azureAvailabilityZone. */ - public com.google.protobuf.ByteString getAzureAvailabilityZoneBytes() { + public com.google.protobuf.ByteString + getAzureAvailabilityZoneBytes() { java.lang.Object ref = azureAvailabilityZone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); azureAvailabilityZone_ = b; return b; } else { @@ -4068,8 +3579,6 @@ public com.google.protobuf.ByteString getAzureAvailabilityZoneBytes() { } } /** - * - * *
      * Optional. The Azure availability zone of the nodes in this nodepool.
      *
@@ -4077,22 +3586,18 @@ public com.google.protobuf.ByteString getAzureAvailabilityZoneBytes() {
      * 
* * string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The azureAvailabilityZone to set. * @return This builder for chaining. */ - public Builder setAzureAvailabilityZone(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAzureAvailabilityZone( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } azureAvailabilityZone_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** - * - * *
      * Optional. The Azure availability zone of the nodes in this nodepool.
      *
@@ -4100,7 +3605,6 @@ public Builder setAzureAvailabilityZone(java.lang.String value) {
      * 
* * string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearAzureAvailabilityZone() { @@ -4110,8 +3614,6 @@ public Builder clearAzureAvailabilityZone() { return this; } /** - * - * *
      * Optional. The Azure availability zone of the nodes in this nodepool.
      *
@@ -4119,14 +3621,12 @@ public Builder clearAzureAvailabilityZone() {
      * 
* * string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for azureAvailabilityZone to set. * @return This builder for chaining. */ - public Builder setAzureAvailabilityZoneBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAzureAvailabilityZoneBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); azureAvailabilityZone_ = value; bitField0_ |= 0x00002000; @@ -4135,32 +3635,23 @@ public Builder setAzureAvailabilityZoneBytes(com.google.protobuf.ByteString valu } private java.util.List errors_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00004000) != 0)) { - errors_ = - new java.util.ArrayList(errors_); + errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00004000; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodePoolError, - com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder, - com.google.cloud.gkemulticloud.v1.AzureNodePoolErrorOrBuilder> - errorsBuilder_; + com.google.cloud.gkemulticloud.v1.AzureNodePoolError, com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder, com.google.cloud.gkemulticloud.v1.AzureNodePoolErrorOrBuilder> errorsBuilder_; /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getErrorsList() { if (errorsBuilder_ == null) { @@ -4170,15 +3661,11 @@ public java.util.List getE } } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -4188,15 +3675,11 @@ public int getErrorsCount() { } } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.gkemulticloud.v1.AzureNodePoolError getErrors(int index) { if (errorsBuilder_ == null) { @@ -4206,15 +3689,11 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolError getErrors(int index) } } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setErrors( int index, com.google.cloud.gkemulticloud.v1.AzureNodePoolError value) { @@ -4231,15 +3710,11 @@ public Builder setErrors( return this; } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setErrors( int index, com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder builderForValue) { @@ -4253,15 +3728,11 @@ public Builder setErrors( return this; } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addErrors(com.google.cloud.gkemulticloud.v1.AzureNodePoolError value) { if (errorsBuilder_ == null) { @@ -4277,15 +3748,11 @@ public Builder addErrors(com.google.cloud.gkemulticloud.v1.AzureNodePoolError va return this; } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addErrors( int index, com.google.cloud.gkemulticloud.v1.AzureNodePoolError value) { @@ -4302,15 +3769,11 @@ public Builder addErrors( return this; } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addErrors( com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder builderForValue) { @@ -4324,15 +3787,11 @@ public Builder addErrors( return this; } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addErrors( int index, com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder builderForValue) { @@ -4346,21 +3805,18 @@ public Builder addErrors( return this; } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllErrors( java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -4368,15 +3824,11 @@ public Builder addAllErrors( return this; } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -4389,15 +3841,11 @@ public Builder clearErrors() { return this; } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -4410,52 +3858,39 @@ public Builder removeErrors(int index) { return this; } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder getErrorsBuilder( int index) { return getErrorsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.gkemulticloud.v1.AzureNodePoolErrorOrBuilder getErrorsOrBuilder( int index) { if (errorsBuilder_ == null) { - return errors_.get(index); - } else { + return errors_.get(index); } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -4463,72 +3898,211 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolErrorOrBuilder getErrorsOr } } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder addErrorsBuilder() { - return getErrorsFieldBuilder() - .addBuilder(com.google.cloud.gkemulticloud.v1.AzureNodePoolError.getDefaultInstance()); + return getErrorsFieldBuilder().addBuilder( + com.google.cloud.gkemulticloud.v1.AzureNodePoolError.getDefaultInstance()); } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder addErrorsBuilder( int index) { - return getErrorsFieldBuilder() - .addBuilder( - index, com.google.cloud.gkemulticloud.v1.AzureNodePoolError.getDefaultInstance()); + return getErrorsFieldBuilder().addBuilder( + index, com.google.cloud.gkemulticloud.v1.AzureNodePoolError.getDefaultInstance()); } /** - * - * *
      * Output only. A set of errors found in the node pool.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodePoolError, - com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder, - com.google.cloud.gkemulticloud.v1.AzureNodePoolErrorOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureNodePoolError, com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder, com.google.cloud.gkemulticloud.v1.AzureNodePoolErrorOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodePoolError, - com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder, - com.google.cloud.gkemulticloud.v1.AzureNodePoolErrorOrBuilder>( - errors_, ((bitField0_ & 0x00004000) != 0), getParentForChildren(), isClean()); + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureNodePoolError, com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder, com.google.cloud.gkemulticloud.v1.AzureNodePoolErrorOrBuilder>( + errors_, + ((bitField0_ & 0x00004000) != 0), + getParentForChildren(), + isClean()); errors_ = null; } return errorsBuilder_; } + private com.google.cloud.gkemulticloud.v1.AzureNodeManagement management_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureNodeManagement, com.google.cloud.gkemulticloud.v1.AzureNodeManagement.Builder, com.google.cloud.gkemulticloud.v1.AzureNodeManagementOrBuilder> managementBuilder_; + /** + *
+     * Optional. The Management configuration for this node pool.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the management field is set. + */ + public boolean hasManagement() { + return ((bitField0_ & 0x00008000) != 0); + } + /** + *
+     * Optional. The Management configuration for this node pool.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * @return The management. + */ + public com.google.cloud.gkemulticloud.v1.AzureNodeManagement getManagement() { + if (managementBuilder_ == null) { + return management_ == null ? com.google.cloud.gkemulticloud.v1.AzureNodeManagement.getDefaultInstance() : management_; + } else { + return managementBuilder_.getMessage(); + } + } + /** + *
+     * Optional. The Management configuration for this node pool.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setManagement(com.google.cloud.gkemulticloud.v1.AzureNodeManagement value) { + if (managementBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + management_ = value; + } else { + managementBuilder_.setMessage(value); + } + bitField0_ |= 0x00008000; + onChanged(); + return this; + } + /** + *
+     * Optional. The Management configuration for this node pool.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setManagement( + com.google.cloud.gkemulticloud.v1.AzureNodeManagement.Builder builderForValue) { + if (managementBuilder_ == null) { + management_ = builderForValue.build(); + } else { + managementBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00008000; + onChanged(); + return this; + } + /** + *
+     * Optional. The Management configuration for this node pool.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder mergeManagement(com.google.cloud.gkemulticloud.v1.AzureNodeManagement value) { + if (managementBuilder_ == null) { + if (((bitField0_ & 0x00008000) != 0) && + management_ != null && + management_ != com.google.cloud.gkemulticloud.v1.AzureNodeManagement.getDefaultInstance()) { + getManagementBuilder().mergeFrom(value); + } else { + management_ = value; + } + } else { + managementBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00008000; + onChanged(); + return this; + } + /** + *
+     * Optional. The Management configuration for this node pool.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder clearManagement() { + bitField0_ = (bitField0_ & ~0x00008000); + management_ = null; + if (managementBuilder_ != null) { + managementBuilder_.dispose(); + managementBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * Optional. The Management configuration for this node pool.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AzureNodeManagement.Builder getManagementBuilder() { + bitField0_ |= 0x00008000; + onChanged(); + return getManagementFieldBuilder().getBuilder(); + } + /** + *
+     * Optional. The Management configuration for this node pool.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AzureNodeManagementOrBuilder getManagementOrBuilder() { + if (managementBuilder_ != null) { + return managementBuilder_.getMessageOrBuilder(); + } else { + return management_ == null ? + com.google.cloud.gkemulticloud.v1.AzureNodeManagement.getDefaultInstance() : management_; + } + } + /** + *
+     * Optional. The Management configuration for this node pool.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureNodeManagement, com.google.cloud.gkemulticloud.v1.AzureNodeManagement.Builder, com.google.cloud.gkemulticloud.v1.AzureNodeManagementOrBuilder> + getManagementFieldBuilder() { + if (managementBuilder_ == null) { + managementBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureNodeManagement, com.google.cloud.gkemulticloud.v1.AzureNodeManagement.Builder, com.google.cloud.gkemulticloud.v1.AzureNodeManagementOrBuilder>( + getManagement(), + getParentForChildren(), + isClean()); + management_ = null; + } + return managementBuilder_; + } @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4538,12 +4112,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureNodePool) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureNodePool) private static final com.google.cloud.gkemulticloud.v1.AzureNodePool DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureNodePool(); } @@ -4552,27 +4126,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureNodePool getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureNodePool parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureNodePool parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4587,4 +4161,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureNodePool getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscaling.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscaling.java similarity index 69% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscaling.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscaling.java index efbde1dc630c..3e14fc379456 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscaling.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscaling.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Configuration related to Kubernetes cluster autoscaler.
  *
@@ -30,51 +13,47 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling}
  */
-public final class AzureNodePoolAutoscaling extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AzureNodePoolAutoscaling extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling)
     AzureNodePoolAutoscalingOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AzureNodePoolAutoscaling.newBuilder() to construct.
   private AzureNodePoolAutoscaling(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private AzureNodePoolAutoscaling() {}
+  private AzureNodePoolAutoscaling() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AzureNodePoolAutoscaling();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-        .internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-        .internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.class,
-            com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.Builder.class);
+            com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.class, com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.Builder.class);
   }
 
   public static final int MIN_NODE_COUNT_FIELD_NUMBER = 1;
   private int minNodeCount_ = 0;
   /**
-   *
-   *
    * 
    * Required. Minimum number of nodes in the node pool. Must be greater than or
    * equal to 1 and less than or equal to max_node_count.
    * 
* * int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The minNodeCount. */ @java.lang.Override @@ -85,15 +64,12 @@ public int getMinNodeCount() { public static final int MAX_NODE_COUNT_FIELD_NUMBER = 2; private int maxNodeCount_ = 0; /** - * - * *
    * Required. Maximum number of nodes in the node pool. Must be greater than or
    * equal to min_node_count and less than or equal to 50.
    * 
* * int32 max_node_count = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The maxNodeCount. */ @java.lang.Override @@ -102,7 +78,6 @@ public int getMaxNodeCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -114,7 +89,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (minNodeCount_ != 0) { output.writeInt32(1, minNodeCount_); } @@ -131,10 +107,12 @@ public int getSerializedSize() { size = 0; if (minNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, minNodeCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, minNodeCount_); } if (maxNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxNodeCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, maxNodeCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -144,16 +122,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling other = - (com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling) obj; + com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling other = (com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling) obj; - if (getMinNodeCount() != other.getMinNodeCount()) return false; - if (getMaxNodeCount() != other.getMaxNodeCount()) return false; + if (getMinNodeCount() + != other.getMinNodeCount()) return false; + if (getMaxNodeCount() + != other.getMaxNodeCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -175,104 +154,98 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration related to Kubernetes cluster autoscaler.
    *
@@ -282,32 +255,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling)
       com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscalingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.class,
-              com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.Builder.class);
+              com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.class, com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -318,9 +292,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_descriptor;
     }
 
     @java.lang.Override
@@ -339,11 +313,8 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling buildPartial() {
-      com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling result =
-          new com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling result = new com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -362,39 +333,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureNodePoolAutosc
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling) other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -402,8 +372,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling other) {
-      if (other == com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.getDefaultInstance()) return this;
       if (other.getMinNodeCount() != 0) {
         setMinNodeCount(other.getMinNodeCount());
       }
@@ -436,25 +405,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                minNodeCount_ = input.readInt32();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 16:
-              {
-                maxNodeCount_ = input.readInt32();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              minNodeCount_ = input.readInt32();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 16: {
+              maxNodeCount_ = input.readInt32();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -464,20 +430,16 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private int minNodeCount_;
+    private int minNodeCount_ ;
     /**
-     *
-     *
      * 
      * Required. Minimum number of nodes in the node pool. Must be greater than or
      * equal to 1 and less than or equal to max_node_count.
      * 
* * int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The minNodeCount. */ @java.lang.Override @@ -485,15 +447,12 @@ public int getMinNodeCount() { return minNodeCount_; } /** - * - * *
      * Required. Minimum number of nodes in the node pool. Must be greater than or
      * equal to 1 and less than or equal to max_node_count.
      * 
* * int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The minNodeCount to set. * @return This builder for chaining. */ @@ -505,15 +464,12 @@ public Builder setMinNodeCount(int value) { return this; } /** - * - * *
      * Required. Minimum number of nodes in the node pool. Must be greater than or
      * equal to 1 and less than or equal to max_node_count.
      * 
* * int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearMinNodeCount() { @@ -523,17 +479,14 @@ public Builder clearMinNodeCount() { return this; } - private int maxNodeCount_; + private int maxNodeCount_ ; /** - * - * *
      * Required. Maximum number of nodes in the node pool. Must be greater than or
      * equal to min_node_count and less than or equal to 50.
      * 
* * int32 max_node_count = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The maxNodeCount. */ @java.lang.Override @@ -541,15 +494,12 @@ public int getMaxNodeCount() { return maxNodeCount_; } /** - * - * *
      * Required. Maximum number of nodes in the node pool. Must be greater than or
      * equal to min_node_count and less than or equal to 50.
      * 
* * int32 max_node_count = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The maxNodeCount to set. * @return This builder for chaining. */ @@ -561,15 +511,12 @@ public Builder setMaxNodeCount(int value) { return this; } /** - * - * *
      * Required. Maximum number of nodes in the node pool. Must be greater than or
      * equal to min_node_count and less than or equal to 50.
      * 
* * int32 max_node_count = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearMaxNodeCount() { @@ -578,9 +525,9 @@ public Builder clearMaxNodeCount() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -590,12 +537,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling) private static final com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling(); } @@ -604,27 +551,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureNodePoolAutoscaling parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureNodePoolAutoscaling parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -639,4 +586,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscalingOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscalingOrBuilder.java similarity index 58% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscalingOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscalingOrBuilder.java index 031a0639dc85..bf895604bb3f 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscalingOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscalingOrBuilder.java @@ -1,52 +1,30 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureNodePoolAutoscalingOrBuilder - extends +public interface AzureNodePoolAutoscalingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Minimum number of nodes in the node pool. Must be greater than or
    * equal to 1 and less than or equal to max_node_count.
    * 
* * int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The minNodeCount. */ int getMinNodeCount(); /** - * - * *
    * Required. Maximum number of nodes in the node pool. Must be greater than or
    * equal to min_node_count and less than or equal to 50.
    * 
* * int32 max_node_count = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The maxNodeCount. */ int getMaxNodeCount(); diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolError.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolError.java similarity index 67% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolError.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolError.java index d47e83f34d53..4bf436abac7e 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolError.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolError.java @@ -1,80 +1,57 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * AzureNodePoolError describes errors found on Azure node pools.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureNodePoolError} */ -public final class AzureNodePoolError extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AzureNodePoolError extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureNodePoolError) AzureNodePoolErrorOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AzureNodePoolError.newBuilder() to construct. private AzureNodePoolError(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AzureNodePoolError() { message_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AzureNodePoolError(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureNodePoolError.class, - com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureNodePoolError.class, com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder.class); } public static final int MESSAGE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** - * - * *
    * Human-friendly description of the error.
    * 
* * string message = 1; - * * @return The message. */ @java.lang.Override @@ -83,29 +60,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** - * - * *
    * Human-friendly description of the error.
    * 
* * string message = 1; - * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -114,7 +91,6 @@ public com.google.protobuf.ByteString getMessageBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,7 +102,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } @@ -150,15 +127,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureNodePoolError)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureNodePoolError other = - (com.google.cloud.gkemulticloud.v1.AzureNodePoolError) obj; + com.google.cloud.gkemulticloud.v1.AzureNodePoolError other = (com.google.cloud.gkemulticloud.v1.AzureNodePoolError) obj; - if (!getMessage().equals(other.getMessage())) return false; + if (!getMessage() + .equals(other.getMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -178,135 +155,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AzureNodePoolError parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePoolError parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePoolError parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePoolError parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePoolError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePoolError parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AzureNodePoolError parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureNodePoolError parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePoolError parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePoolError parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureNodePoolError parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureNodePoolError parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePoolError parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePoolError parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureNodePoolError prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * AzureNodePoolError describes errors found on Azure node pools.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureNodePoolError} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureNodePoolError) com.google.cloud.gkemulticloud.v1.AzureNodePoolErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureNodePoolError.class, - com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureNodePoolError.class, com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AzureNodePoolError.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -316,9 +289,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_descriptor; } @java.lang.Override @@ -337,11 +310,8 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolError build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureNodePoolError buildPartial() { - com.google.cloud.gkemulticloud.v1.AzureNodePoolError result = - new com.google.cloud.gkemulticloud.v1.AzureNodePoolError(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.AzureNodePoolError result = new com.google.cloud.gkemulticloud.v1.AzureNodePoolError(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -357,39 +327,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureNodePoolError public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AzureNodePoolError) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureNodePoolError) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureNodePoolError)other); } else { super.mergeFrom(other); return this; @@ -397,8 +366,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureNodePoolError other) { - if (other == com.google.cloud.gkemulticloud.v1.AzureNodePoolError.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.AzureNodePoolError.getDefaultInstance()) return this; if (!other.getMessage().isEmpty()) { message_ = other.message_; bitField0_ |= 0x00000001; @@ -430,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -452,25 +418,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object message_ = ""; /** - * - * *
      * Human-friendly description of the error.
      * 
* * string message = 1; - * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -479,21 +442,20 @@ public java.lang.String getMessage() { } } /** - * - * *
      * Human-friendly description of the error.
      * 
* * string message = 1; - * * @return The bytes for message. */ - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -501,35 +463,28 @@ public com.google.protobuf.ByteString getMessageBytes() { } } /** - * - * *
      * Human-friendly description of the error.
      * 
* * string message = 1; - * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Human-friendly description of the error.
      * 
* * string message = 1; - * * @return This builder for chaining. */ public Builder clearMessage() { @@ -539,30 +494,26 @@ public Builder clearMessage() { return this; } /** - * - * *
      * Human-friendly description of the error.
      * 
* * string message = 1; - * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -572,12 +523,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureNodePoolError) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureNodePoolError) private static final com.google.cloud.gkemulticloud.v1.AzureNodePoolError DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureNodePoolError(); } @@ -586,27 +537,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureNodePoolError getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureNodePoolError parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureNodePoolError parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -621,4 +572,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureNodePoolError getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolErrorOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolErrorOrBuilder.java new file mode 100644 index 000000000000..8f6b9beb03ea --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolErrorOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface AzureNodePoolErrorOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureNodePoolError) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Human-friendly description of the error.
+   * 
+ * + * string message = 1; + * @return The message. + */ + java.lang.String getMessage(); + /** + *
+   * Human-friendly description of the error.
+   * 
+ * + * string message = 1; + * @return The bytes for message. + */ + com.google.protobuf.ByteString + getMessageBytes(); +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolName.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolName.java similarity index 100% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolName.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolName.java diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolOrBuilder.java similarity index 71% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolOrBuilder.java index b6c68b850a01..9addf59d0ad0 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureNodePoolOrBuilder - extends +public interface AzureNodePoolOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureNodePool) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of this resource.
    *
@@ -37,13 +19,10 @@ public interface AzureNodePoolOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of this resource.
    *
@@ -55,294 +34,214 @@ public interface AzureNodePoolOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this
    * node pool.
    * 
* * string version = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this
    * node pool.
    * 
* * string version = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
    * Required. The node configuration of the node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the config field is set. */ boolean hasConfig(); /** - * - * *
    * Required. The node configuration of the node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; * @return The config. */ com.google.cloud.gkemulticloud.v1.AzureNodeConfig getConfig(); /** - * - * *
    * Required. The node configuration of the node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gkemulticloud.v1.AzureNodeConfigOrBuilder getConfigOrBuilder(); /** - * - * *
    * Required. The ARM ID of the subnet where the node pool VMs run. Make sure
    * it's a subnet under the virtual network in the cluster configuration.
    * 
* * string subnet_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The subnetId. */ java.lang.String getSubnetId(); /** - * - * *
    * Required. The ARM ID of the subnet where the node pool VMs run. Make sure
    * it's a subnet under the virtual network in the cluster configuration.
    * 
* * string subnet_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for subnetId. */ - com.google.protobuf.ByteString getSubnetIdBytes(); + com.google.protobuf.ByteString + getSubnetIdBytes(); /** - * - * *
    * Required. Autoscaler configuration for this node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscaling field is set. */ boolean hasAutoscaling(); /** - * - * *
    * Required. Autoscaler configuration for this node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscaling. */ com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling getAutoscaling(); /** - * - * *
    * Required. Autoscaler configuration for this node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscalingOrBuilder getAutoscalingOrBuilder(); /** - * - * *
    * Output only. The current state of the node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current state of the node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.gkemulticloud.v1.AzureNodePool.State getState(); /** - * - * *
    * Output only. A globally unique identifier for the node pool.
    * 
* * string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. A globally unique identifier for the node pool.
    * 
* * string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Output only. If set, there are currently pending changes to the node
    * pool.
    * 
* * bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ boolean getReconciling(); /** - * - * *
    * Output only. The time at which this node pool was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time at which this node pool was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time at which this node pool was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time at which this node pool was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The time at which this node pool was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The time at which this node pool was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -352,13 +251,10 @@ public interface AzureNodePoolOrBuilder
    * 
* * string etag = 12; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -368,14 +264,12 @@ public interface AzureNodePoolOrBuilder
    * 
* * string etag = 12; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Optional. Annotations on the node pool.
    *
@@ -388,13 +282,10 @@ public interface AzureNodePoolOrBuilder
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; */ int getAnnotationsCount(); /** - * - * *
    * Optional. Annotations on the node pool.
    *
@@ -407,16 +298,17 @@ public interface AzureNodePoolOrBuilder
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + */ + boolean containsAnnotations( + java.lang.String key); + /** + * Use {@link #getAnnotationsMap()} instead. */ - boolean containsAnnotations(java.lang.String key); - /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Deprecated - java.util.Map getAnnotations(); + java.util.Map + getAnnotations(); /** - * - * *
    * Optional. Annotations on the node pool.
    *
@@ -429,13 +321,11 @@ public interface AzureNodePoolOrBuilder
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map getAnnotationsMap(); + java.util.Map + getAnnotationsMap(); /** - * - * *
    * Optional. Annotations on the node pool.
    *
@@ -448,17 +338,14 @@ public interface AzureNodePoolOrBuilder
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ - java.lang.String getAnnotationsOrDefault( +java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Optional. Annotations on the node pool.
    *
@@ -471,58 +358,42 @@ java.lang.String getAnnotationsOrDefault(
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getAnnotationsOrThrow(java.lang.String key); + java.lang.String getAnnotationsOrThrow( + java.lang.String key); /** - * - * *
    * Required. The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the maxPodsConstraint field is set. */ boolean hasMaxPodsConstraint(); /** - * - * *
    * Required. The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; * @return The maxPodsConstraint. */ com.google.cloud.gkemulticloud.v1.MaxPodsConstraint getMaxPodsConstraint(); /** - * - * *
    * Required. The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* - * - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder getMaxPodsConstraintOrBuilder(); /** - * - * *
    * Optional. The Azure availability zone of the nodes in this nodepool.
    *
@@ -530,13 +401,10 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The azureAvailabilityZone. */ java.lang.String getAzureAvailabilityZone(); /** - * - * *
    * Optional. The Azure availability zone of the nodes in this nodepool.
    *
@@ -544,70 +412,79 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for azureAvailabilityZone. */ - com.google.protobuf.ByteString getAzureAvailabilityZoneBytes(); + com.google.protobuf.ByteString + getAzureAvailabilityZoneBytes(); /** - * - * *
    * Output only. A set of errors found in the node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getErrorsList(); + java.util.List + getErrorsList(); /** - * - * *
    * Output only. A set of errors found in the node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.gkemulticloud.v1.AzureNodePoolError getErrors(int index); /** - * - * *
    * Output only. A set of errors found in the node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getErrorsCount(); /** - * - * *
    * Output only. A set of errors found in the node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getErrorsOrBuilderList(); /** + *
+   * Output only. A set of errors found in the node pool.
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.cloud.gkemulticloud.v1.AzureNodePoolErrorOrBuilder getErrorsOrBuilder( + int index); + + /** + *
+   * Optional. The Management configuration for this node pool.
+   * 
* + * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the management field is set. + */ + boolean hasManagement(); + /** + *
+   * Optional. The Management configuration for this node pool.
+   * 
* + * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * @return The management. + */ + com.google.cloud.gkemulticloud.v1.AzureNodeManagement getManagement(); + /** *
-   * Output only. A set of errors found in the node pool.
+   * Optional. The Management configuration for this node pool.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.gkemulticloud.v1.AzureNodePoolErrorOrBuilder getErrorsOrBuilder(int index); + com.google.cloud.gkemulticloud.v1.AzureNodeManagementOrBuilder getManagementOrBuilder(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureOpenIdConfig.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureOpenIdConfig.java new file mode 100644 index 000000000000..a69ea5c4b819 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureOpenIdConfig.java @@ -0,0 +1,1948 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +/** + *
+ * AzureOpenIdConfig is an OIDC discovery document for the cluster.
+ * See the OpenID Connect Discovery 1.0 specification for details.
+ * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureOpenIdConfig} + */ +public final class AzureOpenIdConfig extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureOpenIdConfig) + AzureOpenIdConfigOrBuilder { +private static final long serialVersionUID = 0L; + // Use AzureOpenIdConfig.newBuilder() to construct. + private AzureOpenIdConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AzureOpenIdConfig() { + issuer_ = ""; + jwksUri_ = ""; + responseTypesSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + subjectTypesSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + idTokenSigningAlgValuesSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + claimsSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + grantTypes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AzureOpenIdConfig(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureOpenIdConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureOpenIdConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig.class, com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig.Builder.class); + } + + public static final int ISSUER_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object issuer_ = ""; + /** + *
+   * OIDC Issuer.
+   * 
+ * + * string issuer = 1; + * @return The issuer. + */ + @java.lang.Override + public java.lang.String getIssuer() { + java.lang.Object ref = issuer_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + issuer_ = s; + return s; + } + } + /** + *
+   * OIDC Issuer.
+   * 
+ * + * string issuer = 1; + * @return The bytes for issuer. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getIssuerBytes() { + java.lang.Object ref = issuer_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + issuer_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int JWKS_URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object jwksUri_ = ""; + /** + *
+   * JSON Web Key uri.
+   * 
+ * + * string jwks_uri = 2; + * @return The jwksUri. + */ + @java.lang.Override + public java.lang.String getJwksUri() { + java.lang.Object ref = jwksUri_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + jwksUri_ = s; + return s; + } + } + /** + *
+   * JSON Web Key uri.
+   * 
+ * + * string jwks_uri = 2; + * @return The bytes for jwksUri. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getJwksUriBytes() { + java.lang.Object ref = jwksUri_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + jwksUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RESPONSE_TYPES_SUPPORTED_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList responseTypesSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+   * Supported response types.
+   * 
+ * + * repeated string response_types_supported = 3; + * @return A list containing the responseTypesSupported. + */ + public com.google.protobuf.ProtocolStringList + getResponseTypesSupportedList() { + return responseTypesSupported_; + } + /** + *
+   * Supported response types.
+   * 
+ * + * repeated string response_types_supported = 3; + * @return The count of responseTypesSupported. + */ + public int getResponseTypesSupportedCount() { + return responseTypesSupported_.size(); + } + /** + *
+   * Supported response types.
+   * 
+ * + * repeated string response_types_supported = 3; + * @param index The index of the element to return. + * @return The responseTypesSupported at the given index. + */ + public java.lang.String getResponseTypesSupported(int index) { + return responseTypesSupported_.get(index); + } + /** + *
+   * Supported response types.
+   * 
+ * + * repeated string response_types_supported = 3; + * @param index The index of the value to return. + * @return The bytes of the responseTypesSupported at the given index. + */ + public com.google.protobuf.ByteString + getResponseTypesSupportedBytes(int index) { + return responseTypesSupported_.getByteString(index); + } + + public static final int SUBJECT_TYPES_SUPPORTED_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList subjectTypesSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+   * Supported subject types.
+   * 
+ * + * repeated string subject_types_supported = 4; + * @return A list containing the subjectTypesSupported. + */ + public com.google.protobuf.ProtocolStringList + getSubjectTypesSupportedList() { + return subjectTypesSupported_; + } + /** + *
+   * Supported subject types.
+   * 
+ * + * repeated string subject_types_supported = 4; + * @return The count of subjectTypesSupported. + */ + public int getSubjectTypesSupportedCount() { + return subjectTypesSupported_.size(); + } + /** + *
+   * Supported subject types.
+   * 
+ * + * repeated string subject_types_supported = 4; + * @param index The index of the element to return. + * @return The subjectTypesSupported at the given index. + */ + public java.lang.String getSubjectTypesSupported(int index) { + return subjectTypesSupported_.get(index); + } + /** + *
+   * Supported subject types.
+   * 
+ * + * repeated string subject_types_supported = 4; + * @param index The index of the value to return. + * @return The bytes of the subjectTypesSupported at the given index. + */ + public com.google.protobuf.ByteString + getSubjectTypesSupportedBytes(int index) { + return subjectTypesSupported_.getByteString(index); + } + + public static final int ID_TOKEN_SIGNING_ALG_VALUES_SUPPORTED_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList idTokenSigningAlgValuesSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+   * supported ID Token signing Algorithms.
+   * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @return A list containing the idTokenSigningAlgValuesSupported. + */ + public com.google.protobuf.ProtocolStringList + getIdTokenSigningAlgValuesSupportedList() { + return idTokenSigningAlgValuesSupported_; + } + /** + *
+   * supported ID Token signing Algorithms.
+   * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @return The count of idTokenSigningAlgValuesSupported. + */ + public int getIdTokenSigningAlgValuesSupportedCount() { + return idTokenSigningAlgValuesSupported_.size(); + } + /** + *
+   * supported ID Token signing Algorithms.
+   * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @param index The index of the element to return. + * @return The idTokenSigningAlgValuesSupported at the given index. + */ + public java.lang.String getIdTokenSigningAlgValuesSupported(int index) { + return idTokenSigningAlgValuesSupported_.get(index); + } + /** + *
+   * supported ID Token signing Algorithms.
+   * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @param index The index of the value to return. + * @return The bytes of the idTokenSigningAlgValuesSupported at the given index. + */ + public com.google.protobuf.ByteString + getIdTokenSigningAlgValuesSupportedBytes(int index) { + return idTokenSigningAlgValuesSupported_.getByteString(index); + } + + public static final int CLAIMS_SUPPORTED_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList claimsSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+   * Supported claims.
+   * 
+ * + * repeated string claims_supported = 6; + * @return A list containing the claimsSupported. + */ + public com.google.protobuf.ProtocolStringList + getClaimsSupportedList() { + return claimsSupported_; + } + /** + *
+   * Supported claims.
+   * 
+ * + * repeated string claims_supported = 6; + * @return The count of claimsSupported. + */ + public int getClaimsSupportedCount() { + return claimsSupported_.size(); + } + /** + *
+   * Supported claims.
+   * 
+ * + * repeated string claims_supported = 6; + * @param index The index of the element to return. + * @return The claimsSupported at the given index. + */ + public java.lang.String getClaimsSupported(int index) { + return claimsSupported_.get(index); + } + /** + *
+   * Supported claims.
+   * 
+ * + * repeated string claims_supported = 6; + * @param index The index of the value to return. + * @return The bytes of the claimsSupported at the given index. + */ + public com.google.protobuf.ByteString + getClaimsSupportedBytes(int index) { + return claimsSupported_.getByteString(index); + } + + public static final int GRANT_TYPES_FIELD_NUMBER = 7; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList grantTypes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+   * Supported grant types.
+   * 
+ * + * repeated string grant_types = 7; + * @return A list containing the grantTypes. + */ + public com.google.protobuf.ProtocolStringList + getGrantTypesList() { + return grantTypes_; + } + /** + *
+   * Supported grant types.
+   * 
+ * + * repeated string grant_types = 7; + * @return The count of grantTypes. + */ + public int getGrantTypesCount() { + return grantTypes_.size(); + } + /** + *
+   * Supported grant types.
+   * 
+ * + * repeated string grant_types = 7; + * @param index The index of the element to return. + * @return The grantTypes at the given index. + */ + public java.lang.String getGrantTypes(int index) { + return grantTypes_.get(index); + } + /** + *
+   * Supported grant types.
+   * 
+ * + * repeated string grant_types = 7; + * @param index The index of the value to return. + * @return The bytes of the grantTypes at the given index. + */ + public com.google.protobuf.ByteString + getGrantTypesBytes(int index) { + return grantTypes_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issuer_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issuer_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jwksUri_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, jwksUri_); + } + for (int i = 0; i < responseTypesSupported_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, responseTypesSupported_.getRaw(i)); + } + for (int i = 0; i < subjectTypesSupported_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, subjectTypesSupported_.getRaw(i)); + } + for (int i = 0; i < idTokenSigningAlgValuesSupported_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, idTokenSigningAlgValuesSupported_.getRaw(i)); + } + for (int i = 0; i < claimsSupported_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, claimsSupported_.getRaw(i)); + } + for (int i = 0; i < grantTypes_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, grantTypes_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issuer_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, issuer_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jwksUri_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, jwksUri_); + } + { + int dataSize = 0; + for (int i = 0; i < responseTypesSupported_.size(); i++) { + dataSize += computeStringSizeNoTag(responseTypesSupported_.getRaw(i)); + } + size += dataSize; + size += 1 * getResponseTypesSupportedList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < subjectTypesSupported_.size(); i++) { + dataSize += computeStringSizeNoTag(subjectTypesSupported_.getRaw(i)); + } + size += dataSize; + size += 1 * getSubjectTypesSupportedList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < idTokenSigningAlgValuesSupported_.size(); i++) { + dataSize += computeStringSizeNoTag(idTokenSigningAlgValuesSupported_.getRaw(i)); + } + size += dataSize; + size += 1 * getIdTokenSigningAlgValuesSupportedList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < claimsSupported_.size(); i++) { + dataSize += computeStringSizeNoTag(claimsSupported_.getRaw(i)); + } + size += dataSize; + size += 1 * getClaimsSupportedList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < grantTypes_.size(); i++) { + dataSize += computeStringSizeNoTag(grantTypes_.getRaw(i)); + } + size += dataSize; + size += 1 * getGrantTypesList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig other = (com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig) obj; + + if (!getIssuer() + .equals(other.getIssuer())) return false; + if (!getJwksUri() + .equals(other.getJwksUri())) return false; + if (!getResponseTypesSupportedList() + .equals(other.getResponseTypesSupportedList())) return false; + if (!getSubjectTypesSupportedList() + .equals(other.getSubjectTypesSupportedList())) return false; + if (!getIdTokenSigningAlgValuesSupportedList() + .equals(other.getIdTokenSigningAlgValuesSupportedList())) return false; + if (!getClaimsSupportedList() + .equals(other.getClaimsSupportedList())) return false; + if (!getGrantTypesList() + .equals(other.getGrantTypesList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ISSUER_FIELD_NUMBER; + hash = (53 * hash) + getIssuer().hashCode(); + hash = (37 * hash) + JWKS_URI_FIELD_NUMBER; + hash = (53 * hash) + getJwksUri().hashCode(); + if (getResponseTypesSupportedCount() > 0) { + hash = (37 * hash) + RESPONSE_TYPES_SUPPORTED_FIELD_NUMBER; + hash = (53 * hash) + getResponseTypesSupportedList().hashCode(); + } + if (getSubjectTypesSupportedCount() > 0) { + hash = (37 * hash) + SUBJECT_TYPES_SUPPORTED_FIELD_NUMBER; + hash = (53 * hash) + getSubjectTypesSupportedList().hashCode(); + } + if (getIdTokenSigningAlgValuesSupportedCount() > 0) { + hash = (37 * hash) + ID_TOKEN_SIGNING_ALG_VALUES_SUPPORTED_FIELD_NUMBER; + hash = (53 * hash) + getIdTokenSigningAlgValuesSupportedList().hashCode(); + } + if (getClaimsSupportedCount() > 0) { + hash = (37 * hash) + CLAIMS_SUPPORTED_FIELD_NUMBER; + hash = (53 * hash) + getClaimsSupportedList().hashCode(); + } + if (getGrantTypesCount() > 0) { + hash = (37 * hash) + GRANT_TYPES_FIELD_NUMBER; + hash = (53 * hash) + getGrantTypesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * AzureOpenIdConfig is an OIDC discovery document for the cluster.
+   * See the OpenID Connect Discovery 1.0 specification for details.
+   * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureOpenIdConfig} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureOpenIdConfig) + com.google.cloud.gkemulticloud.v1.AzureOpenIdConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureOpenIdConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureOpenIdConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig.class, com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + issuer_ = ""; + jwksUri_ = ""; + responseTypesSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + subjectTypesSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + idTokenSigningAlgValuesSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + claimsSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + grantTypes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureOpenIdConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig build() { + com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig buildPartial() { + com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig result = new com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.issuer_ = issuer_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.jwksUri_ = jwksUri_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + responseTypesSupported_.makeImmutable(); + result.responseTypesSupported_ = responseTypesSupported_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + subjectTypesSupported_.makeImmutable(); + result.subjectTypesSupported_ = subjectTypesSupported_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + idTokenSigningAlgValuesSupported_.makeImmutable(); + result.idTokenSigningAlgValuesSupported_ = idTokenSigningAlgValuesSupported_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + claimsSupported_.makeImmutable(); + result.claimsSupported_ = claimsSupported_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + grantTypes_.makeImmutable(); + result.grantTypes_ = grantTypes_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig other) { + if (other == com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig.getDefaultInstance()) return this; + if (!other.getIssuer().isEmpty()) { + issuer_ = other.issuer_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getJwksUri().isEmpty()) { + jwksUri_ = other.jwksUri_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.responseTypesSupported_.isEmpty()) { + if (responseTypesSupported_.isEmpty()) { + responseTypesSupported_ = other.responseTypesSupported_; + bitField0_ |= 0x00000004; + } else { + ensureResponseTypesSupportedIsMutable(); + responseTypesSupported_.addAll(other.responseTypesSupported_); + } + onChanged(); + } + if (!other.subjectTypesSupported_.isEmpty()) { + if (subjectTypesSupported_.isEmpty()) { + subjectTypesSupported_ = other.subjectTypesSupported_; + bitField0_ |= 0x00000008; + } else { + ensureSubjectTypesSupportedIsMutable(); + subjectTypesSupported_.addAll(other.subjectTypesSupported_); + } + onChanged(); + } + if (!other.idTokenSigningAlgValuesSupported_.isEmpty()) { + if (idTokenSigningAlgValuesSupported_.isEmpty()) { + idTokenSigningAlgValuesSupported_ = other.idTokenSigningAlgValuesSupported_; + bitField0_ |= 0x00000010; + } else { + ensureIdTokenSigningAlgValuesSupportedIsMutable(); + idTokenSigningAlgValuesSupported_.addAll(other.idTokenSigningAlgValuesSupported_); + } + onChanged(); + } + if (!other.claimsSupported_.isEmpty()) { + if (claimsSupported_.isEmpty()) { + claimsSupported_ = other.claimsSupported_; + bitField0_ |= 0x00000020; + } else { + ensureClaimsSupportedIsMutable(); + claimsSupported_.addAll(other.claimsSupported_); + } + onChanged(); + } + if (!other.grantTypes_.isEmpty()) { + if (grantTypes_.isEmpty()) { + grantTypes_ = other.grantTypes_; + bitField0_ |= 0x00000040; + } else { + ensureGrantTypesIsMutable(); + grantTypes_.addAll(other.grantTypes_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + issuer_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + jwksUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureResponseTypesSupportedIsMutable(); + responseTypesSupported_.add(s); + break; + } // case 26 + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + ensureSubjectTypesSupportedIsMutable(); + subjectTypesSupported_.add(s); + break; + } // case 34 + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + ensureIdTokenSigningAlgValuesSupportedIsMutable(); + idTokenSigningAlgValuesSupported_.add(s); + break; + } // case 42 + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + ensureClaimsSupportedIsMutable(); + claimsSupported_.add(s); + break; + } // case 50 + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + ensureGrantTypesIsMutable(); + grantTypes_.add(s); + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object issuer_ = ""; + /** + *
+     * OIDC Issuer.
+     * 
+ * + * string issuer = 1; + * @return The issuer. + */ + public java.lang.String getIssuer() { + java.lang.Object ref = issuer_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + issuer_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * OIDC Issuer.
+     * 
+ * + * string issuer = 1; + * @return The bytes for issuer. + */ + public com.google.protobuf.ByteString + getIssuerBytes() { + java.lang.Object ref = issuer_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + issuer_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * OIDC Issuer.
+     * 
+ * + * string issuer = 1; + * @param value The issuer to set. + * @return This builder for chaining. + */ + public Builder setIssuer( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + issuer_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * OIDC Issuer.
+     * 
+ * + * string issuer = 1; + * @return This builder for chaining. + */ + public Builder clearIssuer() { + issuer_ = getDefaultInstance().getIssuer(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     * OIDC Issuer.
+     * 
+ * + * string issuer = 1; + * @param value The bytes for issuer to set. + * @return This builder for chaining. + */ + public Builder setIssuerBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + issuer_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object jwksUri_ = ""; + /** + *
+     * JSON Web Key uri.
+     * 
+ * + * string jwks_uri = 2; + * @return The jwksUri. + */ + public java.lang.String getJwksUri() { + java.lang.Object ref = jwksUri_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + jwksUri_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * JSON Web Key uri.
+     * 
+ * + * string jwks_uri = 2; + * @return The bytes for jwksUri. + */ + public com.google.protobuf.ByteString + getJwksUriBytes() { + java.lang.Object ref = jwksUri_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + jwksUri_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * JSON Web Key uri.
+     * 
+ * + * string jwks_uri = 2; + * @param value The jwksUri to set. + * @return This builder for chaining. + */ + public Builder setJwksUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + jwksUri_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * JSON Web Key uri.
+     * 
+ * + * string jwks_uri = 2; + * @return This builder for chaining. + */ + public Builder clearJwksUri() { + jwksUri_ = getDefaultInstance().getJwksUri(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+     * JSON Web Key uri.
+     * 
+ * + * string jwks_uri = 2; + * @param value The bytes for jwksUri to set. + * @return This builder for chaining. + */ + public Builder setJwksUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + jwksUri_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList responseTypesSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureResponseTypesSupportedIsMutable() { + if (!responseTypesSupported_.isModifiable()) { + responseTypesSupported_ = new com.google.protobuf.LazyStringArrayList(responseTypesSupported_); + } + bitField0_ |= 0x00000004; + } + /** + *
+     * Supported response types.
+     * 
+ * + * repeated string response_types_supported = 3; + * @return A list containing the responseTypesSupported. + */ + public com.google.protobuf.ProtocolStringList + getResponseTypesSupportedList() { + responseTypesSupported_.makeImmutable(); + return responseTypesSupported_; + } + /** + *
+     * Supported response types.
+     * 
+ * + * repeated string response_types_supported = 3; + * @return The count of responseTypesSupported. + */ + public int getResponseTypesSupportedCount() { + return responseTypesSupported_.size(); + } + /** + *
+     * Supported response types.
+     * 
+ * + * repeated string response_types_supported = 3; + * @param index The index of the element to return. + * @return The responseTypesSupported at the given index. + */ + public java.lang.String getResponseTypesSupported(int index) { + return responseTypesSupported_.get(index); + } + /** + *
+     * Supported response types.
+     * 
+ * + * repeated string response_types_supported = 3; + * @param index The index of the value to return. + * @return The bytes of the responseTypesSupported at the given index. + */ + public com.google.protobuf.ByteString + getResponseTypesSupportedBytes(int index) { + return responseTypesSupported_.getByteString(index); + } + /** + *
+     * Supported response types.
+     * 
+ * + * repeated string response_types_supported = 3; + * @param index The index to set the value at. + * @param value The responseTypesSupported to set. + * @return This builder for chaining. + */ + public Builder setResponseTypesSupported( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureResponseTypesSupportedIsMutable(); + responseTypesSupported_.set(index, value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * Supported response types.
+     * 
+ * + * repeated string response_types_supported = 3; + * @param value The responseTypesSupported to add. + * @return This builder for chaining. + */ + public Builder addResponseTypesSupported( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureResponseTypesSupportedIsMutable(); + responseTypesSupported_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * Supported response types.
+     * 
+ * + * repeated string response_types_supported = 3; + * @param values The responseTypesSupported to add. + * @return This builder for chaining. + */ + public Builder addAllResponseTypesSupported( + java.lang.Iterable values) { + ensureResponseTypesSupportedIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, responseTypesSupported_); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * Supported response types.
+     * 
+ * + * repeated string response_types_supported = 3; + * @return This builder for chaining. + */ + public Builder clearResponseTypesSupported() { + responseTypesSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; + onChanged(); + return this; + } + /** + *
+     * Supported response types.
+     * 
+ * + * repeated string response_types_supported = 3; + * @param value The bytes of the responseTypesSupported to add. + * @return This builder for chaining. + */ + public Builder addResponseTypesSupportedBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureResponseTypesSupportedIsMutable(); + responseTypesSupported_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList subjectTypesSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureSubjectTypesSupportedIsMutable() { + if (!subjectTypesSupported_.isModifiable()) { + subjectTypesSupported_ = new com.google.protobuf.LazyStringArrayList(subjectTypesSupported_); + } + bitField0_ |= 0x00000008; + } + /** + *
+     * Supported subject types.
+     * 
+ * + * repeated string subject_types_supported = 4; + * @return A list containing the subjectTypesSupported. + */ + public com.google.protobuf.ProtocolStringList + getSubjectTypesSupportedList() { + subjectTypesSupported_.makeImmutable(); + return subjectTypesSupported_; + } + /** + *
+     * Supported subject types.
+     * 
+ * + * repeated string subject_types_supported = 4; + * @return The count of subjectTypesSupported. + */ + public int getSubjectTypesSupportedCount() { + return subjectTypesSupported_.size(); + } + /** + *
+     * Supported subject types.
+     * 
+ * + * repeated string subject_types_supported = 4; + * @param index The index of the element to return. + * @return The subjectTypesSupported at the given index. + */ + public java.lang.String getSubjectTypesSupported(int index) { + return subjectTypesSupported_.get(index); + } + /** + *
+     * Supported subject types.
+     * 
+ * + * repeated string subject_types_supported = 4; + * @param index The index of the value to return. + * @return The bytes of the subjectTypesSupported at the given index. + */ + public com.google.protobuf.ByteString + getSubjectTypesSupportedBytes(int index) { + return subjectTypesSupported_.getByteString(index); + } + /** + *
+     * Supported subject types.
+     * 
+ * + * repeated string subject_types_supported = 4; + * @param index The index to set the value at. + * @param value The subjectTypesSupported to set. + * @return This builder for chaining. + */ + public Builder setSubjectTypesSupported( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureSubjectTypesSupportedIsMutable(); + subjectTypesSupported_.set(index, value); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Supported subject types.
+     * 
+ * + * repeated string subject_types_supported = 4; + * @param value The subjectTypesSupported to add. + * @return This builder for chaining. + */ + public Builder addSubjectTypesSupported( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureSubjectTypesSupportedIsMutable(); + subjectTypesSupported_.add(value); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Supported subject types.
+     * 
+ * + * repeated string subject_types_supported = 4; + * @param values The subjectTypesSupported to add. + * @return This builder for chaining. + */ + public Builder addAllSubjectTypesSupported( + java.lang.Iterable values) { + ensureSubjectTypesSupportedIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, subjectTypesSupported_); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Supported subject types.
+     * 
+ * + * repeated string subject_types_supported = 4; + * @return This builder for chaining. + */ + public Builder clearSubjectTypesSupported() { + subjectTypesSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008);; + onChanged(); + return this; + } + /** + *
+     * Supported subject types.
+     * 
+ * + * repeated string subject_types_supported = 4; + * @param value The bytes of the subjectTypesSupported to add. + * @return This builder for chaining. + */ + public Builder addSubjectTypesSupportedBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureSubjectTypesSupportedIsMutable(); + subjectTypesSupported_.add(value); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList idTokenSigningAlgValuesSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureIdTokenSigningAlgValuesSupportedIsMutable() { + if (!idTokenSigningAlgValuesSupported_.isModifiable()) { + idTokenSigningAlgValuesSupported_ = new com.google.protobuf.LazyStringArrayList(idTokenSigningAlgValuesSupported_); + } + bitField0_ |= 0x00000010; + } + /** + *
+     * supported ID Token signing Algorithms.
+     * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @return A list containing the idTokenSigningAlgValuesSupported. + */ + public com.google.protobuf.ProtocolStringList + getIdTokenSigningAlgValuesSupportedList() { + idTokenSigningAlgValuesSupported_.makeImmutable(); + return idTokenSigningAlgValuesSupported_; + } + /** + *
+     * supported ID Token signing Algorithms.
+     * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @return The count of idTokenSigningAlgValuesSupported. + */ + public int getIdTokenSigningAlgValuesSupportedCount() { + return idTokenSigningAlgValuesSupported_.size(); + } + /** + *
+     * supported ID Token signing Algorithms.
+     * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @param index The index of the element to return. + * @return The idTokenSigningAlgValuesSupported at the given index. + */ + public java.lang.String getIdTokenSigningAlgValuesSupported(int index) { + return idTokenSigningAlgValuesSupported_.get(index); + } + /** + *
+     * supported ID Token signing Algorithms.
+     * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @param index The index of the value to return. + * @return The bytes of the idTokenSigningAlgValuesSupported at the given index. + */ + public com.google.protobuf.ByteString + getIdTokenSigningAlgValuesSupportedBytes(int index) { + return idTokenSigningAlgValuesSupported_.getByteString(index); + } + /** + *
+     * supported ID Token signing Algorithms.
+     * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @param index The index to set the value at. + * @param value The idTokenSigningAlgValuesSupported to set. + * @return This builder for chaining. + */ + public Builder setIdTokenSigningAlgValuesSupported( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureIdTokenSigningAlgValuesSupportedIsMutable(); + idTokenSigningAlgValuesSupported_.set(index, value); + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * supported ID Token signing Algorithms.
+     * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @param value The idTokenSigningAlgValuesSupported to add. + * @return This builder for chaining. + */ + public Builder addIdTokenSigningAlgValuesSupported( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureIdTokenSigningAlgValuesSupportedIsMutable(); + idTokenSigningAlgValuesSupported_.add(value); + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * supported ID Token signing Algorithms.
+     * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @param values The idTokenSigningAlgValuesSupported to add. + * @return This builder for chaining. + */ + public Builder addAllIdTokenSigningAlgValuesSupported( + java.lang.Iterable values) { + ensureIdTokenSigningAlgValuesSupportedIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, idTokenSigningAlgValuesSupported_); + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * supported ID Token signing Algorithms.
+     * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @return This builder for chaining. + */ + public Builder clearIdTokenSigningAlgValuesSupported() { + idTokenSigningAlgValuesSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010);; + onChanged(); + return this; + } + /** + *
+     * supported ID Token signing Algorithms.
+     * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @param value The bytes of the idTokenSigningAlgValuesSupported to add. + * @return This builder for chaining. + */ + public Builder addIdTokenSigningAlgValuesSupportedBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureIdTokenSigningAlgValuesSupportedIsMutable(); + idTokenSigningAlgValuesSupported_.add(value); + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList claimsSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureClaimsSupportedIsMutable() { + if (!claimsSupported_.isModifiable()) { + claimsSupported_ = new com.google.protobuf.LazyStringArrayList(claimsSupported_); + } + bitField0_ |= 0x00000020; + } + /** + *
+     * Supported claims.
+     * 
+ * + * repeated string claims_supported = 6; + * @return A list containing the claimsSupported. + */ + public com.google.protobuf.ProtocolStringList + getClaimsSupportedList() { + claimsSupported_.makeImmutable(); + return claimsSupported_; + } + /** + *
+     * Supported claims.
+     * 
+ * + * repeated string claims_supported = 6; + * @return The count of claimsSupported. + */ + public int getClaimsSupportedCount() { + return claimsSupported_.size(); + } + /** + *
+     * Supported claims.
+     * 
+ * + * repeated string claims_supported = 6; + * @param index The index of the element to return. + * @return The claimsSupported at the given index. + */ + public java.lang.String getClaimsSupported(int index) { + return claimsSupported_.get(index); + } + /** + *
+     * Supported claims.
+     * 
+ * + * repeated string claims_supported = 6; + * @param index The index of the value to return. + * @return The bytes of the claimsSupported at the given index. + */ + public com.google.protobuf.ByteString + getClaimsSupportedBytes(int index) { + return claimsSupported_.getByteString(index); + } + /** + *
+     * Supported claims.
+     * 
+ * + * repeated string claims_supported = 6; + * @param index The index to set the value at. + * @param value The claimsSupported to set. + * @return This builder for chaining. + */ + public Builder setClaimsSupported( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureClaimsSupportedIsMutable(); + claimsSupported_.set(index, value); + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+     * Supported claims.
+     * 
+ * + * repeated string claims_supported = 6; + * @param value The claimsSupported to add. + * @return This builder for chaining. + */ + public Builder addClaimsSupported( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureClaimsSupportedIsMutable(); + claimsSupported_.add(value); + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+     * Supported claims.
+     * 
+ * + * repeated string claims_supported = 6; + * @param values The claimsSupported to add. + * @return This builder for chaining. + */ + public Builder addAllClaimsSupported( + java.lang.Iterable values) { + ensureClaimsSupportedIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, claimsSupported_); + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+     * Supported claims.
+     * 
+ * + * repeated string claims_supported = 6; + * @return This builder for chaining. + */ + public Builder clearClaimsSupported() { + claimsSupported_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020);; + onChanged(); + return this; + } + /** + *
+     * Supported claims.
+     * 
+ * + * repeated string claims_supported = 6; + * @param value The bytes of the claimsSupported to add. + * @return This builder for chaining. + */ + public Builder addClaimsSupportedBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureClaimsSupportedIsMutable(); + claimsSupported_.add(value); + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList grantTypes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureGrantTypesIsMutable() { + if (!grantTypes_.isModifiable()) { + grantTypes_ = new com.google.protobuf.LazyStringArrayList(grantTypes_); + } + bitField0_ |= 0x00000040; + } + /** + *
+     * Supported grant types.
+     * 
+ * + * repeated string grant_types = 7; + * @return A list containing the grantTypes. + */ + public com.google.protobuf.ProtocolStringList + getGrantTypesList() { + grantTypes_.makeImmutable(); + return grantTypes_; + } + /** + *
+     * Supported grant types.
+     * 
+ * + * repeated string grant_types = 7; + * @return The count of grantTypes. + */ + public int getGrantTypesCount() { + return grantTypes_.size(); + } + /** + *
+     * Supported grant types.
+     * 
+ * + * repeated string grant_types = 7; + * @param index The index of the element to return. + * @return The grantTypes at the given index. + */ + public java.lang.String getGrantTypes(int index) { + return grantTypes_.get(index); + } + /** + *
+     * Supported grant types.
+     * 
+ * + * repeated string grant_types = 7; + * @param index The index of the value to return. + * @return The bytes of the grantTypes at the given index. + */ + public com.google.protobuf.ByteString + getGrantTypesBytes(int index) { + return grantTypes_.getByteString(index); + } + /** + *
+     * Supported grant types.
+     * 
+ * + * repeated string grant_types = 7; + * @param index The index to set the value at. + * @param value The grantTypes to set. + * @return This builder for chaining. + */ + public Builder setGrantTypes( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureGrantTypesIsMutable(); + grantTypes_.set(index, value); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+     * Supported grant types.
+     * 
+ * + * repeated string grant_types = 7; + * @param value The grantTypes to add. + * @return This builder for chaining. + */ + public Builder addGrantTypes( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureGrantTypesIsMutable(); + grantTypes_.add(value); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+     * Supported grant types.
+     * 
+ * + * repeated string grant_types = 7; + * @param values The grantTypes to add. + * @return This builder for chaining. + */ + public Builder addAllGrantTypes( + java.lang.Iterable values) { + ensureGrantTypesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, grantTypes_); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+     * Supported grant types.
+     * 
+ * + * repeated string grant_types = 7; + * @return This builder for chaining. + */ + public Builder clearGrantTypes() { + grantTypes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000040);; + onChanged(); + return this; + } + /** + *
+     * Supported grant types.
+     * 
+ * + * repeated string grant_types = 7; + * @param value The bytes of the grantTypes to add. + * @return This builder for chaining. + */ + public Builder addGrantTypesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureGrantTypesIsMutable(); + grantTypes_.add(value); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureOpenIdConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureOpenIdConfig) + private static final com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig(); + } + + public static com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureOpenIdConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureOpenIdConfigOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureOpenIdConfigOrBuilder.java new file mode 100644 index 000000000000..5855d91ffa90 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureOpenIdConfigOrBuilder.java @@ -0,0 +1,254 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface AzureOpenIdConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureOpenIdConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * OIDC Issuer.
+   * 
+ * + * string issuer = 1; + * @return The issuer. + */ + java.lang.String getIssuer(); + /** + *
+   * OIDC Issuer.
+   * 
+ * + * string issuer = 1; + * @return The bytes for issuer. + */ + com.google.protobuf.ByteString + getIssuerBytes(); + + /** + *
+   * JSON Web Key uri.
+   * 
+ * + * string jwks_uri = 2; + * @return The jwksUri. + */ + java.lang.String getJwksUri(); + /** + *
+   * JSON Web Key uri.
+   * 
+ * + * string jwks_uri = 2; + * @return The bytes for jwksUri. + */ + com.google.protobuf.ByteString + getJwksUriBytes(); + + /** + *
+   * Supported response types.
+   * 
+ * + * repeated string response_types_supported = 3; + * @return A list containing the responseTypesSupported. + */ + java.util.List + getResponseTypesSupportedList(); + /** + *
+   * Supported response types.
+   * 
+ * + * repeated string response_types_supported = 3; + * @return The count of responseTypesSupported. + */ + int getResponseTypesSupportedCount(); + /** + *
+   * Supported response types.
+   * 
+ * + * repeated string response_types_supported = 3; + * @param index The index of the element to return. + * @return The responseTypesSupported at the given index. + */ + java.lang.String getResponseTypesSupported(int index); + /** + *
+   * Supported response types.
+   * 
+ * + * repeated string response_types_supported = 3; + * @param index The index of the value to return. + * @return The bytes of the responseTypesSupported at the given index. + */ + com.google.protobuf.ByteString + getResponseTypesSupportedBytes(int index); + + /** + *
+   * Supported subject types.
+   * 
+ * + * repeated string subject_types_supported = 4; + * @return A list containing the subjectTypesSupported. + */ + java.util.List + getSubjectTypesSupportedList(); + /** + *
+   * Supported subject types.
+   * 
+ * + * repeated string subject_types_supported = 4; + * @return The count of subjectTypesSupported. + */ + int getSubjectTypesSupportedCount(); + /** + *
+   * Supported subject types.
+   * 
+ * + * repeated string subject_types_supported = 4; + * @param index The index of the element to return. + * @return The subjectTypesSupported at the given index. + */ + java.lang.String getSubjectTypesSupported(int index); + /** + *
+   * Supported subject types.
+   * 
+ * + * repeated string subject_types_supported = 4; + * @param index The index of the value to return. + * @return The bytes of the subjectTypesSupported at the given index. + */ + com.google.protobuf.ByteString + getSubjectTypesSupportedBytes(int index); + + /** + *
+   * supported ID Token signing Algorithms.
+   * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @return A list containing the idTokenSigningAlgValuesSupported. + */ + java.util.List + getIdTokenSigningAlgValuesSupportedList(); + /** + *
+   * supported ID Token signing Algorithms.
+   * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @return The count of idTokenSigningAlgValuesSupported. + */ + int getIdTokenSigningAlgValuesSupportedCount(); + /** + *
+   * supported ID Token signing Algorithms.
+   * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @param index The index of the element to return. + * @return The idTokenSigningAlgValuesSupported at the given index. + */ + java.lang.String getIdTokenSigningAlgValuesSupported(int index); + /** + *
+   * supported ID Token signing Algorithms.
+   * 
+ * + * repeated string id_token_signing_alg_values_supported = 5; + * @param index The index of the value to return. + * @return The bytes of the idTokenSigningAlgValuesSupported at the given index. + */ + com.google.protobuf.ByteString + getIdTokenSigningAlgValuesSupportedBytes(int index); + + /** + *
+   * Supported claims.
+   * 
+ * + * repeated string claims_supported = 6; + * @return A list containing the claimsSupported. + */ + java.util.List + getClaimsSupportedList(); + /** + *
+   * Supported claims.
+   * 
+ * + * repeated string claims_supported = 6; + * @return The count of claimsSupported. + */ + int getClaimsSupportedCount(); + /** + *
+   * Supported claims.
+   * 
+ * + * repeated string claims_supported = 6; + * @param index The index of the element to return. + * @return The claimsSupported at the given index. + */ + java.lang.String getClaimsSupported(int index); + /** + *
+   * Supported claims.
+   * 
+ * + * repeated string claims_supported = 6; + * @param index The index of the value to return. + * @return The bytes of the claimsSupported at the given index. + */ + com.google.protobuf.ByteString + getClaimsSupportedBytes(int index); + + /** + *
+   * Supported grant types.
+   * 
+ * + * repeated string grant_types = 7; + * @return A list containing the grantTypes. + */ + java.util.List + getGrantTypesList(); + /** + *
+   * Supported grant types.
+   * 
+ * + * repeated string grant_types = 7; + * @return The count of grantTypes. + */ + int getGrantTypesCount(); + /** + *
+   * Supported grant types.
+   * 
+ * + * repeated string grant_types = 7; + * @param index The index of the element to return. + * @return The grantTypes at the given index. + */ + java.lang.String getGrantTypes(int index); + /** + *
+   * Supported grant types.
+   * 
+ * + * repeated string grant_types = 7; + * @param index The index of the value to return. + * @return The bytes of the grantTypes at the given index. + */ + com.google.protobuf.ByteString + getGrantTypesBytes(int index); +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfig.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfig.java similarity index 72% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfig.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfig.java index 00e71372a1e0..750961fe0e87 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfig.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfig.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Details of a proxy config stored in Azure Key Vault.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureProxyConfig} */ -public final class AzureProxyConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AzureProxyConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureProxyConfig) AzureProxyConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AzureProxyConfig.newBuilder() to construct. private AzureProxyConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AzureProxyConfig() { resourceGroupId_ = ""; secretId_ = ""; @@ -44,32 +26,28 @@ private AzureProxyConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AzureProxyConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureProxyConfig.class, - com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureProxyConfig.class, com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder.class); } public static final int RESOURCE_GROUP_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object resourceGroupId_ = ""; /** - * - * *
    * The ARM ID the of the resource group containing proxy keyvault.
    *
@@ -78,7 +56,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string resource_group_id = 1; - * * @return The resourceGroupId. */ @java.lang.Override @@ -87,15 +64,14 @@ public java.lang.String getResourceGroupId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceGroupId_ = s; return s; } } /** - * - * *
    * The ARM ID the of the resource group containing proxy keyvault.
    *
@@ -104,15 +80,16 @@ public java.lang.String getResourceGroupId() {
    * 
* * string resource_group_id = 1; - * * @return The bytes for resourceGroupId. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceGroupIdBytes() { + public com.google.protobuf.ByteString + getResourceGroupIdBytes() { java.lang.Object ref = resourceGroupId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceGroupId_ = b; return b; } else { @@ -121,12 +98,9 @@ public com.google.protobuf.ByteString getResourceGroupIdBytes() { } public static final int SECRET_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object secretId_ = ""; /** - * - * *
    * The URL the of the proxy setting secret with its version.
    *
@@ -139,7 +113,6 @@ public com.google.protobuf.ByteString getResourceGroupIdBytes() {
    * 
* * string secret_id = 2; - * * @return The secretId. */ @java.lang.Override @@ -148,15 +121,14 @@ public java.lang.String getSecretId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); secretId_ = s; return s; } } /** - * - * *
    * The URL the of the proxy setting secret with its version.
    *
@@ -169,15 +141,16 @@ public java.lang.String getSecretId() {
    * 
* * string secret_id = 2; - * * @return The bytes for secretId. */ @java.lang.Override - public com.google.protobuf.ByteString getSecretIdBytes() { + public com.google.protobuf.ByteString + getSecretIdBytes() { java.lang.Object ref = secretId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); secretId_ = b; return b; } else { @@ -186,7 +159,6 @@ public com.google.protobuf.ByteString getSecretIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -198,7 +170,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceGroupId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceGroupId_); } @@ -228,16 +201,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureProxyConfig)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureProxyConfig other = - (com.google.cloud.gkemulticloud.v1.AzureProxyConfig) obj; + com.google.cloud.gkemulticloud.v1.AzureProxyConfig other = (com.google.cloud.gkemulticloud.v1.AzureProxyConfig) obj; - if (!getResourceGroupId().equals(other.getResourceGroupId())) return false; - if (!getSecretId().equals(other.getSecretId())) return false; + if (!getResourceGroupId() + .equals(other.getResourceGroupId())) return false; + if (!getSecretId() + .equals(other.getSecretId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -259,135 +233,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AzureProxyConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureProxyConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureProxyConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureProxyConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureProxyConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureProxyConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AzureProxyConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureProxyConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureProxyConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureProxyConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureProxyConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureProxyConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureProxyConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureProxyConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureProxyConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Details of a proxy config stored in Azure Key Vault.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureProxyConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureProxyConfig) com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureProxyConfig.class, - com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureProxyConfig.class, com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AzureProxyConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -398,9 +368,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_descriptor; } @java.lang.Override @@ -419,11 +389,8 @@ public com.google.cloud.gkemulticloud.v1.AzureProxyConfig build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureProxyConfig buildPartial() { - com.google.cloud.gkemulticloud.v1.AzureProxyConfig result = - new com.google.cloud.gkemulticloud.v1.AzureProxyConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.AzureProxyConfig result = new com.google.cloud.gkemulticloud.v1.AzureProxyConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -442,39 +409,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureProxyConfig re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AzureProxyConfig) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureProxyConfig) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureProxyConfig)other); } else { super.mergeFrom(other); return this; @@ -482,8 +448,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureProxyConfig other) { - if (other == com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance()) return this; if (!other.getResourceGroupId().isEmpty()) { resourceGroupId_ = other.resourceGroupId_; bitField0_ |= 0x00000001; @@ -520,25 +485,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - resourceGroupId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - secretId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + resourceGroupId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + secretId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -548,13 +510,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object resourceGroupId_ = ""; /** - * - * *
      * The ARM ID the of the resource group containing proxy keyvault.
      *
@@ -563,13 +522,13 @@ public Builder mergeFrom(
      * 
* * string resource_group_id = 1; - * * @return The resourceGroupId. */ public java.lang.String getResourceGroupId() { java.lang.Object ref = resourceGroupId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceGroupId_ = s; return s; @@ -578,8 +537,6 @@ public java.lang.String getResourceGroupId() { } } /** - * - * *
      * The ARM ID the of the resource group containing proxy keyvault.
      *
@@ -588,14 +545,15 @@ public java.lang.String getResourceGroupId() {
      * 
* * string resource_group_id = 1; - * * @return The bytes for resourceGroupId. */ - public com.google.protobuf.ByteString getResourceGroupIdBytes() { + public com.google.protobuf.ByteString + getResourceGroupIdBytes() { java.lang.Object ref = resourceGroupId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceGroupId_ = b; return b; } else { @@ -603,8 +561,6 @@ public com.google.protobuf.ByteString getResourceGroupIdBytes() { } } /** - * - * *
      * The ARM ID the of the resource group containing proxy keyvault.
      *
@@ -613,22 +569,18 @@ public com.google.protobuf.ByteString getResourceGroupIdBytes() {
      * 
* * string resource_group_id = 1; - * * @param value The resourceGroupId to set. * @return This builder for chaining. */ - public Builder setResourceGroupId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceGroupId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } resourceGroupId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The ARM ID the of the resource group containing proxy keyvault.
      *
@@ -637,7 +589,6 @@ public Builder setResourceGroupId(java.lang.String value) {
      * 
* * string resource_group_id = 1; - * * @return This builder for chaining. */ public Builder clearResourceGroupId() { @@ -647,8 +598,6 @@ public Builder clearResourceGroupId() { return this; } /** - * - * *
      * The ARM ID the of the resource group containing proxy keyvault.
      *
@@ -657,14 +606,12 @@ public Builder clearResourceGroupId() {
      * 
* * string resource_group_id = 1; - * * @param value The bytes for resourceGroupId to set. * @return This builder for chaining. */ - public Builder setResourceGroupIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResourceGroupIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceGroupId_ = value; bitField0_ |= 0x00000001; @@ -674,8 +621,6 @@ public Builder setResourceGroupIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object secretId_ = ""; /** - * - * *
      * The URL the of the proxy setting secret with its version.
      *
@@ -688,13 +633,13 @@ public Builder setResourceGroupIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string secret_id = 2; - * * @return The secretId. */ public java.lang.String getSecretId() { java.lang.Object ref = secretId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); secretId_ = s; return s; @@ -703,8 +648,6 @@ public java.lang.String getSecretId() { } } /** - * - * *
      * The URL the of the proxy setting secret with its version.
      *
@@ -717,14 +660,15 @@ public java.lang.String getSecretId() {
      * 
* * string secret_id = 2; - * * @return The bytes for secretId. */ - public com.google.protobuf.ByteString getSecretIdBytes() { + public com.google.protobuf.ByteString + getSecretIdBytes() { java.lang.Object ref = secretId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); secretId_ = b; return b; } else { @@ -732,8 +676,6 @@ public com.google.protobuf.ByteString getSecretIdBytes() { } } /** - * - * *
      * The URL the of the proxy setting secret with its version.
      *
@@ -746,22 +688,18 @@ public com.google.protobuf.ByteString getSecretIdBytes() {
      * 
* * string secret_id = 2; - * * @param value The secretId to set. * @return This builder for chaining. */ - public Builder setSecretId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSecretId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } secretId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The URL the of the proxy setting secret with its version.
      *
@@ -774,7 +712,6 @@ public Builder setSecretId(java.lang.String value) {
      * 
* * string secret_id = 2; - * * @return This builder for chaining. */ public Builder clearSecretId() { @@ -784,8 +721,6 @@ public Builder clearSecretId() { return this; } /** - * - * *
      * The URL the of the proxy setting secret with its version.
      *
@@ -798,23 +733,21 @@ public Builder clearSecretId() {
      * 
* * string secret_id = 2; - * * @param value The bytes for secretId to set. * @return This builder for chaining. */ - public Builder setSecretIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSecretIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); secretId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -824,12 +757,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureProxyConfig) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureProxyConfig) private static final com.google.cloud.gkemulticloud.v1.AzureProxyConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureProxyConfig(); } @@ -838,27 +771,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureProxyConfig getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureProxyConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureProxyConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -873,4 +806,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureProxyConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfigOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfigOrBuilder.java similarity index 71% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfigOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfigOrBuilder.java index 42ed9edf71b2..d2a06b20cad8 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfigOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureProxyConfigOrBuilder - extends +public interface AzureProxyConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureProxyConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The ARM ID the of the resource group containing proxy keyvault.
    *
@@ -34,13 +16,10 @@ public interface AzureProxyConfigOrBuilder
    * 
* * string resource_group_id = 1; - * * @return The resourceGroupId. */ java.lang.String getResourceGroupId(); /** - * - * *
    * The ARM ID the of the resource group containing proxy keyvault.
    *
@@ -49,14 +28,12 @@ public interface AzureProxyConfigOrBuilder
    * 
* * string resource_group_id = 1; - * * @return The bytes for resourceGroupId. */ - com.google.protobuf.ByteString getResourceGroupIdBytes(); + com.google.protobuf.ByteString + getResourceGroupIdBytes(); /** - * - * *
    * The URL the of the proxy setting secret with its version.
    *
@@ -69,13 +46,10 @@ public interface AzureProxyConfigOrBuilder
    * 
* * string secret_id = 2; - * * @return The secretId. */ java.lang.String getSecretId(); /** - * - * *
    * The URL the of the proxy setting secret with its version.
    *
@@ -88,8 +62,8 @@ public interface AzureProxyConfigOrBuilder
    * 
* * string secret_id = 2; - * * @return The bytes for secretId. */ - com.google.protobuf.ByteString getSecretIdBytes(); + com.google.protobuf.ByteString + getSecretIdBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java new file mode 100644 index 000000000000..c4a89d700c48 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java @@ -0,0 +1,575 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public final class AzureResourcesProto { + private AzureResourcesProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureCluster_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureCluster_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureCluster_AnnotationsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureCluster_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_TagsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_TagsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureClient_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureClient_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureClient_AnnotationsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureClient_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureClusterGroup_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureClusterGroup_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_AnnotationsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureNodeManagement_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureNodeManagement_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_TagsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_TagsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureOpenIdConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureOpenIdConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureJsonWebKeys_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureJsonWebKeys_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n3google/cloud/gkemulticloud/v1/azure_re" + + "sources.proto\022\035google.cloud.gkemulticlou" + + "d.v1\032\037google/api/field_behavior.proto\032\031g" + + "oogle/api/resource.proto\0324google/cloud/g" + + "kemulticloud/v1/common_resources.proto\032\037" + + "google/protobuf/timestamp.proto\032\026google/" + + "type/date.proto\"\353\014\n\014AzureCluster\022\014\n\004name" + + "\030\001 \001(\t\022\031\n\013description\030\002 \001(\tB\004\342A\001\001\022\032\n\014azu" + + "re_region\030\003 \001(\tB\004\342A\001\002\022\037\n\021resource_group_" + + "id\030\021 \001(\tB\004\342A\001\002\022\032\n\014azure_client\030\020 \001(\tB\004\342A" + + "\001\001\022O\n\nnetworking\030\004 \001(\01325.google.cloud.gk" + + "emulticloud.v1.AzureClusterNetworkingB\004\342" + + "A\001\002\022M\n\rcontrol_plane\030\005 \001(\01320.google.clou" + + "d.gkemulticloud.v1.AzureControlPlaneB\004\342A" + + "\001\002\022N\n\rauthorization\030\006 \001(\01321.google.cloud" + + ".gkemulticloud.v1.AzureAuthorizationB\004\342A" + + "\001\002\022g\n\035azure_services_authentication\030\026 \001(" + + "\0132:.google.cloud.gkemulticloud.v1.AzureS" + + "ervicesAuthenticationB\004\342A\001\001\022F\n\005state\030\007 \001" + + "(\01621.google.cloud.gkemulticloud.v1.Azure" + + "Cluster.StateB\004\342A\001\003\022\026\n\010endpoint\030\010 \001(\tB\004\342" + + "A\001\003\022\021\n\003uid\030\t \001(\tB\004\342A\001\003\022\031\n\013reconciling\030\n " + + "\001(\010B\004\342A\001\003\0225\n\013create_time\030\013 \001(\0132\032.google." + + "protobuf.TimestampB\004\342A\001\003\0225\n\013update_time\030" + + "\014 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + + "\014\n\004etag\030\r \001(\t\022W\n\013annotations\030\016 \003(\0132<.goo" + + "gle.cloud.gkemulticloud.v1.AzureCluster." + + "AnnotationsEntryB\004\342A\001\001\022]\n\030workload_ident" + + "ity_config\030\022 \001(\01325.google.cloud.gkemulti" + + "cloud.v1.WorkloadIdentityConfigB\004\342A\001\003\022$\n" + + "\026cluster_ca_certificate\030\023 \001(\tB\004\342A\001\003\0229\n\005f" + + "leet\030\024 \001(\0132$.google.cloud.gkemulticloud." + + "v1.FleetB\004\342A\001\002\022U\n\021managed_resources\030\025 \001(" + + "\01324.google.cloud.gkemulticloud.v1.AzureC" + + "lusterResourcesB\004\342A\001\003\022J\n\016logging_config\030" + + "\027 \001(\0132,.google.cloud.gkemulticloud.v1.Lo" + + "ggingConfigB\004\342A\001\001\022F\n\006errors\030\030 \003(\01320.goog" + + "le.cloud.gkemulticloud.v1.AzureClusterEr" + + "rorB\004\342A\001\003\022P\n\021monitoring_config\030\031 \001(\0132/.g" + + "oogle.cloud.gkemulticloud.v1.MonitoringC" + + "onfigB\004\342A\001\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001" + + " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"u\n\005State\022\025\n\021STAT" + + "E_UNSPECIFIED\020\000\022\020\n\014PROVISIONING\020\001\022\013\n\007RUN" + + "NING\020\002\022\017\n\013RECONCILING\020\003\022\014\n\010STOPPING\020\004\022\t\n" + + "\005ERROR\020\005\022\014\n\010DEGRADED\020\006:u\352Ar\n)gkemulticlo" + + "ud.googleapis.com/AzureCluster\022Eprojects" + + "/{project}/locations/{location}/azureClu" + + "sters/{azure_cluster}\"\273\001\n\026AzureClusterNe" + + "tworking\022 \n\022virtual_network_id\030\001 \001(\tB\004\342A" + + "\001\002\022%\n\027pod_address_cidr_blocks\030\002 \003(\tB\004\342A\001" + + "\002\022)\n\033service_address_cidr_blocks\030\003 \003(\tB\004" + + "\342A\001\002\022-\n\037service_load_balancer_subnet_id\030" + + "\005 \001(\tB\004\342A\001\001\"\256\006\n\021AzureControlPlane\022\025\n\007ver" + + "sion\030\001 \001(\tB\004\342A\001\002\022\027\n\tsubnet_id\030\002 \001(\tB\004\342A\001" + + "\001\022\025\n\007vm_size\030\003 \001(\tB\004\342A\001\001\022G\n\nssh_config\030\013" + + " \001(\0132-.google.cloud.gkemulticloud.v1.Azu" + + "reSshConfigB\004\342A\001\002\022K\n\013root_volume\030\004 \001(\01320" + + ".google.cloud.gkemulticloud.v1.AzureDisk" + + "TemplateB\004\342A\001\001\022K\n\013main_volume\030\005 \001(\01320.go" + + "ogle.cloud.gkemulticloud.v1.AzureDiskTem" + + "plateB\004\342A\001\001\022Y\n\023database_encryption\030\n \001(\013" + + "26.google.cloud.gkemulticloud.v1.AzureDa" + + "tabaseEncryptionB\004\342A\001\001\022K\n\014proxy_config\030\014" + + " \001(\0132/.google.cloud.gkemulticloud.v1.Azu" + + "reProxyConfigB\004\342A\001\001\022U\n\021config_encryption" + + "\030\016 \001(\01324.google.cloud.gkemulticloud.v1.A" + + "zureConfigEncryptionB\004\342A\001\001\022N\n\004tags\030\007 \003(\013" + + "2:.google.cloud.gkemulticloud.v1.AzureCo" + + "ntrolPlane.TagsEntryB\004\342A\001\001\022Q\n\022replica_pl" + + "acements\030\r \003(\0132/.google.cloud.gkemulticl" + + "oud.v1.ReplicaPlacementB\004\342A\001\001\022 \n\022endpoin" + + "t_subnet_id\030\017 \001(\tB\004\342A\001\001\032+\n\tTagsEntry\022\013\n\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"R\n\020ReplicaP" + + "lacement\022\027\n\tsubnet_id\030\001 \001(\tB\004\342A\001\002\022%\n\027azu" + + "re_availability_zone\030\002 \001(\tB\004\342A\001\002\"@\n\020Azur" + + "eProxyConfig\022\031\n\021resource_group_id\030\001 \001(\t\022" + + "\021\n\tsecret_id\030\002 \001(\t\"/\n\027AzureDatabaseEncry" + + "ption\022\024\n\006key_id\030\003 \001(\tB\004\342A\001\002\"G\n\025AzureConf" + + "igEncryption\022\024\n\006key_id\030\002 \001(\tB\004\342A\001\002\022\030\n\npu" + + "blic_key\030\003 \001(\tB\004\342A\001\001\"+\n\021AzureDiskTemplat" + + "e\022\026\n\010size_gib\030\001 \001(\005B\004\342A\001\001\"\215\004\n\013AzureClien" + + "t\022\014\n\004name\030\001 \001(\t\022\027\n\ttenant_id\030\002 \001(\tB\004\342A\001\002" + + "\022\034\n\016application_id\030\003 \001(\tB\004\342A\001\002\022\031\n\013reconc" + + "iling\030\t \001(\010B\004\342A\001\003\022V\n\013annotations\030\010 \003(\0132;" + + ".google.cloud.gkemulticloud.v1.AzureClie" + + "nt.AnnotationsEntryB\004\342A\001\001\022\035\n\017pem_certifi" + + "cate\030\007 \001(\tB\004\342A\001\003\022\021\n\003uid\030\005 \001(\tB\004\342A\001\003\0225\n\013c" + + "reate_time\030\006 \001(\0132\032.google.protobuf.Times" + + "tampB\004\342A\001\003\0225\n\013update_time\030\n \001(\0132\032.google" + + ".protobuf.TimestampB\004\342A\001\003\0322\n\020Annotations" + + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:r\352" + + "Ao\n(gkemulticloud.googleapis.com/AzureCl" + + "ient\022Cprojects/{project}/locations/{loca" + + "tion}/azureClients/{azure_client}\"\256\001\n\022Az" + + "ureAuthorization\022J\n\013admin_users\030\001 \003(\0132/." + + "google.cloud.gkemulticloud.v1.AzureClust" + + "erUserB\004\342A\001\001\022L\n\014admin_groups\030\002 \003(\01320.goo" + + "gle.cloud.gkemulticloud.v1.AzureClusterG" + + "roupB\004\342A\001\001\"T\n\033AzureServicesAuthenticatio" + + "n\022\027\n\ttenant_id\030\001 \001(\tB\004\342A\001\002\022\034\n\016applicatio" + + "n_id\030\002 \001(\tB\004\342A\001\002\"*\n\020AzureClusterUser\022\026\n\010" + + "username\030\001 \001(\tB\004\342A\001\002\"(\n\021AzureClusterGrou" + + "p\022\023\n\005group\030\001 \001(\tB\004\342A\001\002\"\215\t\n\rAzureNodePool" + + "\022\014\n\004name\030\001 \001(\t\022\025\n\007version\030\002 \001(\tB\004\342A\001\002\022D\n" + + "\006config\030\026 \001(\0132..google.cloud.gkemulticlo" + + "ud.v1.AzureNodeConfigB\004\342A\001\002\022\027\n\tsubnet_id" + + "\030\003 \001(\tB\004\342A\001\002\022R\n\013autoscaling\030\004 \001(\01327.goog" + + "le.cloud.gkemulticloud.v1.AzureNodePoolA" + + "utoscalingB\004\342A\001\002\022G\n\005state\030\006 \001(\01622.google" + + ".cloud.gkemulticloud.v1.AzureNodePool.St" + + "ateB\004\342A\001\003\022\021\n\003uid\030\010 \001(\tB\004\342A\001\003\022\031\n\013reconcil" + + "ing\030\t \001(\010B\004\342A\001\003\0225\n\013create_time\030\n \001(\0132\032.g" + + "oogle.protobuf.TimestampB\004\342A\001\003\0225\n\013update" + + "_time\030\013 \001(\0132\032.google.protobuf.TimestampB" + + "\004\342A\001\003\022\014\n\004etag\030\014 \001(\t\022X\n\013annotations\030\r \003(\013" + + "2=.google.cloud.gkemulticloud.v1.AzureNo" + + "dePool.AnnotationsEntryB\004\342A\001\001\022S\n\023max_pod" + + "s_constraint\030\025 \001(\01320.google.cloud.gkemul" + + "ticloud.v1.MaxPodsConstraintB\004\342A\001\002\022%\n\027az" + + "ure_availability_zone\030\027 \001(\tB\004\342A\001\001\022G\n\006err" + + "ors\030\035 \003(\01321.google.cloud.gkemulticloud.v" + + "1.AzureNodePoolErrorB\004\342A\001\003\022L\n\nmanagement" + + "\030\036 \001(\01322.google.cloud.gkemulticloud.v1.A" + + "zureNodeManagementB\004\342A\001\001\0322\n\020AnnotationsE" + + "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"u\n\005" + + "State\022\025\n\021STATE_UNSPECIFIED\020\000\022\020\n\014PROVISIO" + + "NING\020\001\022\013\n\007RUNNING\020\002\022\017\n\013RECONCILING\020\003\022\014\n\010" + + "STOPPING\020\004\022\t\n\005ERROR\020\005\022\014\n\010DEGRADED\020\006:\230\001\352A" + + "\224\001\n*gkemulticloud.googleapis.com/AzureNo" + + "dePool\022fprojects/{project}/locations/{lo" + + "cation}/azureClusters/{azure_cluster}/az" + + "ureNodePools/{azure_node_pool}\"0\n\023AzureN" + + "odeManagement\022\031\n\013auto_repair\030\001 \001(\010B\004\342A\001\001" + + "\"\270\005\n\017AzureNodeConfig\022\025\n\007vm_size\030\001 \001(\tB\004\342" + + "A\001\001\022K\n\013root_volume\030\002 \001(\01320.google.cloud." + + "gkemulticloud.v1.AzureDiskTemplateB\004\342A\001\001" + + "\022L\n\004tags\030\003 \003(\01328.google.cloud.gkemulticl" + + "oud.v1.AzureNodeConfig.TagsEntryB\004\342A\001\001\022\030" + + "\n\nimage_type\030\010 \001(\tB\004\342A\001\001\022G\n\nssh_config\030\007" + + " \001(\0132-.google.cloud.gkemulticloud.v1.Azu" + + "reSshConfigB\004\342A\001\002\022K\n\014proxy_config\030\t \001(\0132" + + "/.google.cloud.gkemulticloud.v1.AzurePro" + + "xyConfigB\004\342A\001\001\022U\n\021config_encryption\030\014 \001(" + + "\01324.google.cloud.gkemulticloud.v1.AzureC" + + "onfigEncryptionB\004\342A\001\001\022>\n\006taints\030\n \003(\0132(." + + "google.cloud.gkemulticloud.v1.NodeTaintB" + + "\004\342A\001\001\022P\n\006labels\030\013 \003(\0132:.google.cloud.gke" + + "multicloud.v1.AzureNodeConfig.LabelsEntr" + + "yB\004\342A\001\001\032+\n\tTagsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" + + "ue\030\002 \001(\t:\0028\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t" + + "\022\r\n\005value\030\002 \001(\t:\0028\001\"V\n\030AzureNodePoolAuto" + + "scaling\022\034\n\016min_node_count\030\001 \001(\005B\004\342A\001\002\022\034\n" + + "\016max_node_count\030\002 \001(\005B\004\342A\001\002\"\326\001\n\021AzureOpe" + + "nIdConfig\022\016\n\006issuer\030\001 \001(\t\022\020\n\010jwks_uri\030\002 " + + "\001(\t\022 \n\030response_types_supported\030\003 \003(\t\022\037\n" + + "\027subject_types_supported\030\004 \003(\t\022-\n%id_tok" + + "en_signing_alg_values_supported\030\005 \003(\t\022\030\n" + + "\020claims_supported\030\006 \003(\t\022\023\n\013grant_types\030\007" + + " \003(\t\"D\n\020AzureJsonWebKeys\0220\n\004keys\030\001 \003(\0132\"" + + ".google.cloud.gkemulticloud.v1.Jwk\"\376\001\n\021A" + + "zureServerConfig\022\014\n\004name\030\001 \001(\t\022J\n\016valid_" + + "versions\030\002 \003(\01322.google.cloud.gkemulticl" + + "oud.v1.AzureK8sVersionInfo\022\037\n\027supported_" + + "azure_regions\030\003 \003(\t:n\352Ak\n.gkemulticloud." + + "googleapis.com/AzureServerConfig\0229projec" + + "ts/{project}/locations/{location}/azureS" + + "erverConfig\"\272\001\n\023AzureK8sVersionInfo\022\017\n\007v" + + "ersion\030\001 \001(\t\022\025\n\007enabled\030\003 \001(\010B\004\342A\001\001\022\031\n\013e" + + "nd_of_life\030\004 \001(\010B\004\342A\001\001\0221\n\020end_of_life_da" + + "te\030\005 \001(\0132\021.google.type.DateB\004\342A\001\001\022-\n\014rel" + + "ease_date\030\006 \001(\0132\021.google.type.DateB\004\342A\001\001" + + "\".\n\016AzureSshConfig\022\034\n\016authorized_key\030\001 \001" + + "(\tB\004\342A\001\002\"{\n\025AzureClusterResources\022\'\n\031net" + + "work_security_group_id\030\001 \001(\tB\004\342A\001\003\0229\n+co" + + "ntrol_plane_application_security_group_i" + + "d\030\002 \001(\tB\004\342A\001\003\"$\n\021AzureClusterError\022\017\n\007me" + + "ssage\030\001 \001(\t\"%\n\022AzureNodePoolError\022\017\n\007mes" + + "sage\030\001 \001(\tB\346\001\n!com.google.cloud.gkemulti" + + "cloud.v1B\023AzureResourcesProtoP\001ZGcloud.g" + + "oogle.com/go/gkemulticloud/apiv1/gkemult" + + "icloudpb;gkemulticloudpb\252\002\035Google.Cloud." + + "GkeMultiCloud.V1\312\002\035Google\\Cloud\\GkeMulti" + + "Cloud\\V1\352\002 Google::Cloud::GkeMultiCloud:" + + ":V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.gkemulticloud.v1.CommonResourcesProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.type.DateProto.getDescriptor(), + }); + internal_static_google_cloud_gkemulticloud_v1_AzureCluster_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_gkemulticloud_v1_AzureCluster_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureCluster_descriptor, + new java.lang.String[] { "Name", "Description", "AzureRegion", "ResourceGroupId", "AzureClient", "Networking", "ControlPlane", "Authorization", "AzureServicesAuthentication", "State", "Endpoint", "Uid", "Reconciling", "CreateTime", "UpdateTime", "Etag", "Annotations", "WorkloadIdentityConfig", "ClusterCaCertificate", "Fleet", "ManagedResources", "LoggingConfig", "Errors", "MonitoringConfig", }); + internal_static_google_cloud_gkemulticloud_v1_AzureCluster_AnnotationsEntry_descriptor = + internal_static_google_cloud_gkemulticloud_v1_AzureCluster_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_gkemulticloud_v1_AzureCluster_AnnotationsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureCluster_AnnotationsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_descriptor, + new java.lang.String[] { "VirtualNetworkId", "PodAddressCidrBlocks", "ServiceAddressCidrBlocks", "ServiceLoadBalancerSubnetId", }); + internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_descriptor, + new java.lang.String[] { "Version", "SubnetId", "VmSize", "SshConfig", "RootVolume", "MainVolume", "DatabaseEncryption", "ProxyConfig", "ConfigEncryption", "Tags", "ReplicaPlacements", "EndpointSubnetId", }); + internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_TagsEntry_descriptor = + internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_TagsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_TagsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_descriptor, + new java.lang.String[] { "SubnetId", "AzureAvailabilityZone", }); + internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_descriptor, + new java.lang.String[] { "ResourceGroupId", "SecretId", }); + internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_descriptor, + new java.lang.String[] { "KeyId", }); + internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_descriptor, + new java.lang.String[] { "KeyId", "PublicKey", }); + internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_descriptor, + new java.lang.String[] { "SizeGib", }); + internal_static_google_cloud_gkemulticloud_v1_AzureClient_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_gkemulticloud_v1_AzureClient_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureClient_descriptor, + new java.lang.String[] { "Name", "TenantId", "ApplicationId", "Reconciling", "Annotations", "PemCertificate", "Uid", "CreateTime", "UpdateTime", }); + internal_static_google_cloud_gkemulticloud_v1_AzureClient_AnnotationsEntry_descriptor = + internal_static_google_cloud_gkemulticloud_v1_AzureClient_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_gkemulticloud_v1_AzureClient_AnnotationsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureClient_AnnotationsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_descriptor, + new java.lang.String[] { "AdminUsers", "AdminGroups", }); + internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_descriptor, + new java.lang.String[] { "TenantId", "ApplicationId", }); + internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_descriptor, + new java.lang.String[] { "Username", }); + internal_static_google_cloud_gkemulticloud_v1_AzureClusterGroup_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_gkemulticloud_v1_AzureClusterGroup_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureClusterGroup_descriptor, + new java.lang.String[] { "Group", }); + internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_descriptor, + new java.lang.String[] { "Name", "Version", "Config", "SubnetId", "Autoscaling", "State", "Uid", "Reconciling", "CreateTime", "UpdateTime", "Etag", "Annotations", "MaxPodsConstraint", "AzureAvailabilityZone", "Errors", "Management", }); + internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_AnnotationsEntry_descriptor = + internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_AnnotationsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_AnnotationsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_gkemulticloud_v1_AzureNodeManagement_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_gkemulticloud_v1_AzureNodeManagement_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureNodeManagement_descriptor, + new java.lang.String[] { "AutoRepair", }); + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor, + new java.lang.String[] { "VmSize", "RootVolume", "Tags", "ImageType", "SshConfig", "ProxyConfig", "ConfigEncryption", "Taints", "Labels", }); + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_TagsEntry_descriptor = + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_TagsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_TagsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_LabelsEntry_descriptor = + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_descriptor, + new java.lang.String[] { "MinNodeCount", "MaxNodeCount", }); + internal_static_google_cloud_gkemulticloud_v1_AzureOpenIdConfig_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_gkemulticloud_v1_AzureOpenIdConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureOpenIdConfig_descriptor, + new java.lang.String[] { "Issuer", "JwksUri", "ResponseTypesSupported", "SubjectTypesSupported", "IdTokenSigningAlgValuesSupported", "ClaimsSupported", "GrantTypes", }); + internal_static_google_cloud_gkemulticloud_v1_AzureJsonWebKeys_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_gkemulticloud_v1_AzureJsonWebKeys_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureJsonWebKeys_descriptor, + new java.lang.String[] { "Keys", }); + internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_descriptor, + new java.lang.String[] { "Name", "ValidVersions", "SupportedAzureRegions", }); + internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_descriptor, + new java.lang.String[] { "Version", "Enabled", "EndOfLife", "EndOfLifeDate", "ReleaseDate", }); + internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_descriptor, + new java.lang.String[] { "AuthorizedKey", }); + internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_descriptor, + new java.lang.String[] { "NetworkSecurityGroupId", "ControlPlaneApplicationSecurityGroupId", }); + internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_descriptor, + new java.lang.String[] { "Message", }); + internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_descriptor, + new java.lang.String[] { "Message", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.gkemulticloud.v1.CommonResourcesProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.type.DateProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfig.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfig.java similarity index 67% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfig.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfig.java index 0648982c7d71..72b2f374a67a 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfig.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * AzureServerConfig contains information about a Google Cloud location, such as
  * supported Azure regions and Kubernetes versions.
@@ -28,50 +11,46 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureServerConfig}
  */
-public final class AzureServerConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AzureServerConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureServerConfig)
     AzureServerConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AzureServerConfig.newBuilder() to construct.
   private AzureServerConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AzureServerConfig() {
     name_ = "";
     validVersions_ = java.util.Collections.emptyList();
-    supportedAzureRegions_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    supportedAzureRegions_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AzureServerConfig();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-        .internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-        .internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.AzureServerConfig.class,
-            com.google.cloud.gkemulticloud.v1.AzureServerConfig.Builder.class);
+            com.google.cloud.gkemulticloud.v1.AzureServerConfig.class, com.google.cloud.gkemulticloud.v1.AzureServerConfig.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The `AzureServerConfig` resource name.
    *
@@ -83,7 +62,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -92,15 +70,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The `AzureServerConfig` resource name.
    *
@@ -112,15 +89,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -129,42 +107,43 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int VALID_VERSIONS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List validVersions_; /** - * - * *
-   * List of valid Kubernetes versions.
+   * List of all released Kubernetes versions, including ones which are end of
+   * life and can no longer be used.  Filter by the `enabled`
+   * property to limit to currently available versions.
+   * Valid versions supported for both create and update operations
    * 
* * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2; */ @java.lang.Override - public java.util.List - getValidVersionsList() { + public java.util.List getValidVersionsList() { return validVersions_; } /** - * - * *
-   * List of valid Kubernetes versions.
+   * List of all released Kubernetes versions, including ones which are end of
+   * life and can no longer be used.  Filter by the `enabled`
+   * property to limit to currently available versions.
+   * Valid versions supported for both create and update operations
    * 
* * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2; */ @java.lang.Override - public java.util.List + public java.util.List getValidVersionsOrBuilderList() { return validVersions_; } /** - * - * *
-   * List of valid Kubernetes versions.
+   * List of all released Kubernetes versions, including ones which are end of
+   * life and can no longer be used.  Filter by the `enabled`
+   * property to limit to currently available versions.
+   * Valid versions supported for both create and update operations
    * 
* * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2; @@ -174,10 +153,11 @@ public int getValidVersionsCount() { return validVersions_.size(); } /** - * - * *
-   * List of valid Kubernetes versions.
+   * List of all released Kubernetes versions, including ones which are end of
+   * life and can no longer be used.  Filter by the `enabled`
+   * property to limit to currently available versions.
+   * Valid versions supported for both create and update operations
    * 
* * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2; @@ -187,10 +167,11 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo getValidVersions(in return validVersions_.get(index); } /** - * - * *
-   * List of valid Kubernetes versions.
+   * List of all released Kubernetes versions, including ones which are end of
+   * life and can no longer be used.  Filter by the `enabled`
+   * property to limit to currently available versions.
+   * Valid versions supported for both create and update operations
    * 
* * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2; @@ -202,47 +183,38 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfoOrBuilder getValidVe } public static final int SUPPORTED_AZURE_REGIONS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList supportedAzureRegions_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * The list of supported Azure regions.
    * 
* * repeated string supported_azure_regions = 3; - * * @return A list containing the supportedAzureRegions. */ - public com.google.protobuf.ProtocolStringList getSupportedAzureRegionsList() { + public com.google.protobuf.ProtocolStringList + getSupportedAzureRegionsList() { return supportedAzureRegions_; } /** - * - * *
    * The list of supported Azure regions.
    * 
* * repeated string supported_azure_regions = 3; - * * @return The count of supportedAzureRegions. */ public int getSupportedAzureRegionsCount() { return supportedAzureRegions_.size(); } /** - * - * *
    * The list of supported Azure regions.
    * 
* * repeated string supported_azure_regions = 3; - * * @param index The index of the element to return. * @return The supportedAzureRegions at the given index. */ @@ -250,23 +222,20 @@ public java.lang.String getSupportedAzureRegions(int index) { return supportedAzureRegions_.get(index); } /** - * - * *
    * The list of supported Azure regions.
    * 
* * repeated string supported_azure_regions = 3; - * * @param index The index of the value to return. * @return The bytes of the supportedAzureRegions at the given index. */ - public com.google.protobuf.ByteString getSupportedAzureRegionsBytes(int index) { + public com.google.protobuf.ByteString + getSupportedAzureRegionsBytes(int index) { return supportedAzureRegions_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -278,7 +247,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -286,8 +256,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(2, validVersions_.get(i)); } for (int i = 0; i < supportedAzureRegions_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 3, supportedAzureRegions_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, supportedAzureRegions_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -302,7 +271,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < validVersions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, validVersions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, validVersions_.get(i)); } { int dataSize = 0; @@ -320,17 +290,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureServerConfig)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureServerConfig other = - (com.google.cloud.gkemulticloud.v1.AzureServerConfig) obj; + com.google.cloud.gkemulticloud.v1.AzureServerConfig other = (com.google.cloud.gkemulticloud.v1.AzureServerConfig) obj; - if (!getName().equals(other.getName())) return false; - if (!getValidVersionsList().equals(other.getValidVersionsList())) return false; - if (!getSupportedAzureRegionsList().equals(other.getSupportedAzureRegionsList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getValidVersionsList() + .equals(other.getValidVersionsList())) return false; + if (!getSupportedAzureRegionsList() + .equals(other.getSupportedAzureRegionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -358,103 +330,98 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AzureServerConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureServerConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureServerConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureServerConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureServerConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureServerConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AzureServerConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureServerConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureServerConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureServerConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureServerConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureServerConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureServerConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureServerConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureServerConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * AzureServerConfig contains information about a Google Cloud location, such as
    * supported Azure regions and Kubernetes versions.
@@ -462,32 +429,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureServerConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureServerConfig)
       com.google.cloud.gkemulticloud.v1.AzureServerConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.AzureServerConfig.class,
-              com.google.cloud.gkemulticloud.v1.AzureServerConfig.Builder.class);
+              com.google.cloud.gkemulticloud.v1.AzureServerConfig.class, com.google.cloud.gkemulticloud.v1.AzureServerConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.AzureServerConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -500,14 +468,15 @@ public Builder clear() {
         validVersionsBuilder_.clear();
       }
       bitField0_ = (bitField0_ & ~0x00000002);
-      supportedAzureRegions_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      supportedAzureRegions_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_descriptor;
     }
 
     @java.lang.Override
@@ -526,18 +495,14 @@ public com.google.cloud.gkemulticloud.v1.AzureServerConfig build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.AzureServerConfig buildPartial() {
-      com.google.cloud.gkemulticloud.v1.AzureServerConfig result =
-          new com.google.cloud.gkemulticloud.v1.AzureServerConfig(this);
+      com.google.cloud.gkemulticloud.v1.AzureServerConfig result = new com.google.cloud.gkemulticloud.v1.AzureServerConfig(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.gkemulticloud.v1.AzureServerConfig result) {
+    private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.AzureServerConfig result) {
       if (validVersionsBuilder_ == null) {
         if (((bitField0_ & 0x00000002) != 0)) {
           validVersions_ = java.util.Collections.unmodifiableList(validVersions_);
@@ -564,39 +529,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureServerConfig r
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.AzureServerConfig) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureServerConfig) other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureServerConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -604,8 +568,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureServerConfig other) {
-      if (other == com.google.cloud.gkemulticloud.v1.AzureServerConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.gkemulticloud.v1.AzureServerConfig.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -629,10 +592,9 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureServerConfig oth
             validVersionsBuilder_ = null;
             validVersions_ = other.validVersions_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            validVersionsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getValidVersionsFieldBuilder()
-                    : null;
+            validVersionsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getValidVersionsFieldBuilder() : null;
           } else {
             validVersionsBuilder_.addAllMessages(other.validVersions_);
           }
@@ -674,40 +636,36 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo m =
-                    input.readMessage(
-                        com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.parser(),
-                        extensionRegistry);
-                if (validVersionsBuilder_ == null) {
-                  ensureValidVersionsIsMutable();
-                  validVersions_.add(m);
-                } else {
-                  validVersionsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureSupportedAzureRegionsIsMutable();
-                supportedAzureRegions_.add(s);
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo m =
+                  input.readMessage(
+                      com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.parser(),
+                      extensionRegistry);
+              if (validVersionsBuilder_ == null) {
+                ensureValidVersionsIsMutable();
+                validVersions_.add(m);
+              } else {
+                validVersionsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureSupportedAzureRegionsIsMutable();
+              supportedAzureRegions_.add(s);
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -717,13 +675,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The `AzureServerConfig` resource name.
      *
@@ -735,13 +690,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -750,8 +705,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The `AzureServerConfig` resource name.
      *
@@ -763,14 +716,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -778,8 +732,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The `AzureServerConfig` resource name.
      *
@@ -791,22 +743,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The `AzureServerConfig` resource name.
      *
@@ -818,7 +766,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -828,8 +775,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The `AzureServerConfig` resource name.
      *
@@ -841,14 +786,12 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -857,34 +800,28 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } private java.util.List validVersions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureValidVersionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - validVersions_ = - new java.util.ArrayList( - validVersions_); + validVersions_ = new java.util.ArrayList(validVersions_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo, - com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder, - com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfoOrBuilder> - validVersionsBuilder_; + com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo, com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder, com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfoOrBuilder> validVersionsBuilder_; /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2; */ - public java.util.List - getValidVersionsList() { + public java.util.List getValidVersionsList() { if (validVersionsBuilder_ == null) { return java.util.Collections.unmodifiableList(validVersions_); } else { @@ -892,10 +829,11 @@ private void ensureValidVersionsIsMutable() { } } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2; @@ -908,10 +846,11 @@ public int getValidVersionsCount() { } } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2; @@ -924,10 +863,11 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo getValidVersions(in } } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2; @@ -947,10 +887,11 @@ public Builder setValidVersions( return this; } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2; @@ -967,10 +908,11 @@ public Builder setValidVersions( return this; } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2; @@ -989,10 +931,11 @@ public Builder addValidVersions(com.google.cloud.gkemulticloud.v1.AzureK8sVersio return this; } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2; @@ -1012,10 +955,11 @@ public Builder addValidVersions( return this; } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2; @@ -1032,10 +976,11 @@ public Builder addValidVersions( return this; } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2; @@ -1052,20 +997,21 @@ public Builder addValidVersions( return this; } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2; */ public Builder addAllValidVersions( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (validVersionsBuilder_ == null) { ensureValidVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, validVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, validVersions_); onChanged(); } else { validVersionsBuilder_.addAllMessages(values); @@ -1073,10 +1019,11 @@ public Builder addAllValidVersions( return this; } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2; @@ -1092,10 +1039,11 @@ public Builder clearValidVersions() { return this; } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2; @@ -1111,10 +1059,11 @@ public Builder removeValidVersions(int index) { return this; } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2; @@ -1124,10 +1073,11 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder getValidVer return getValidVersionsFieldBuilder().getBuilder(index); } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2; @@ -1135,22 +1085,22 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder getValidVer public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfoOrBuilder getValidVersionsOrBuilder( int index) { if (validVersionsBuilder_ == null) { - return validVersions_.get(index); - } else { + return validVersions_.get(index); } else { return validVersionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2; */ - public java.util.List - getValidVersionsOrBuilderList() { + public java.util.List + getValidVersionsOrBuilderList() { if (validVersionsBuilder_ != null) { return validVersionsBuilder_.getMessageOrBuilderList(); } else { @@ -1158,58 +1108,54 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfoOrBuilder getValidVe } } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2; */ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder addValidVersionsBuilder() { - return getValidVersionsFieldBuilder() - .addBuilder(com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.getDefaultInstance()); + return getValidVersionsFieldBuilder().addBuilder( + com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.getDefaultInstance()); } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2; */ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder addValidVersionsBuilder( int index) { - return getValidVersionsFieldBuilder() - .addBuilder( - index, com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.getDefaultInstance()); + return getValidVersionsFieldBuilder().addBuilder( + index, com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.getDefaultInstance()); } /** - * - * *
-     * List of valid Kubernetes versions.
+     * List of all released Kubernetes versions, including ones which are end of
+     * life and can no longer be used.  Filter by the `enabled`
+     * property to limit to currently available versions.
+     * Valid versions supported for both create and update operations
      * 
* * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2; */ - public java.util.List - getValidVersionsBuilderList() { + public java.util.List + getValidVersionsBuilderList() { return getValidVersionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo, - com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder, - com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfoOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo, com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder, com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfoOrBuilder> getValidVersionsFieldBuilder() { if (validVersionsBuilder_ == null) { - validVersionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo, - com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder, - com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfoOrBuilder>( + validVersionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo, com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder, com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfoOrBuilder>( validVersions_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -1221,52 +1167,42 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder addValidVer private com.google.protobuf.LazyStringArrayList supportedAzureRegions_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureSupportedAzureRegionsIsMutable() { if (!supportedAzureRegions_.isModifiable()) { - supportedAzureRegions_ = - new com.google.protobuf.LazyStringArrayList(supportedAzureRegions_); + supportedAzureRegions_ = new com.google.protobuf.LazyStringArrayList(supportedAzureRegions_); } bitField0_ |= 0x00000004; } /** - * - * *
      * The list of supported Azure regions.
      * 
* * repeated string supported_azure_regions = 3; - * * @return A list containing the supportedAzureRegions. */ - public com.google.protobuf.ProtocolStringList getSupportedAzureRegionsList() { + public com.google.protobuf.ProtocolStringList + getSupportedAzureRegionsList() { supportedAzureRegions_.makeImmutable(); return supportedAzureRegions_; } /** - * - * *
      * The list of supported Azure regions.
      * 
* * repeated string supported_azure_regions = 3; - * * @return The count of supportedAzureRegions. */ public int getSupportedAzureRegionsCount() { return supportedAzureRegions_.size(); } /** - * - * *
      * The list of supported Azure regions.
      * 
* * repeated string supported_azure_regions = 3; - * * @param index The index of the element to return. * @return The supportedAzureRegions at the given index. */ @@ -1274,37 +1210,31 @@ public java.lang.String getSupportedAzureRegions(int index) { return supportedAzureRegions_.get(index); } /** - * - * *
      * The list of supported Azure regions.
      * 
* * repeated string supported_azure_regions = 3; - * * @param index The index of the value to return. * @return The bytes of the supportedAzureRegions at the given index. */ - public com.google.protobuf.ByteString getSupportedAzureRegionsBytes(int index) { + public com.google.protobuf.ByteString + getSupportedAzureRegionsBytes(int index) { return supportedAzureRegions_.getByteString(index); } /** - * - * *
      * The list of supported Azure regions.
      * 
* * repeated string supported_azure_regions = 3; - * * @param index The index to set the value at. * @param value The supportedAzureRegions to set. * @return This builder for chaining. */ - public Builder setSupportedAzureRegions(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSupportedAzureRegions( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSupportedAzureRegionsIsMutable(); supportedAzureRegions_.set(index, value); bitField0_ |= 0x00000004; @@ -1312,21 +1242,17 @@ public Builder setSupportedAzureRegions(int index, java.lang.String value) { return this; } /** - * - * *
      * The list of supported Azure regions.
      * 
* * repeated string supported_azure_regions = 3; - * * @param value The supportedAzureRegions to add. * @return This builder for chaining. */ - public Builder addSupportedAzureRegions(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSupportedAzureRegions( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSupportedAzureRegionsIsMutable(); supportedAzureRegions_.add(value); bitField0_ |= 0x00000004; @@ -1334,58 +1260,50 @@ public Builder addSupportedAzureRegions(java.lang.String value) { return this; } /** - * - * *
      * The list of supported Azure regions.
      * 
* * repeated string supported_azure_regions = 3; - * * @param values The supportedAzureRegions to add. * @return This builder for chaining. */ - public Builder addAllSupportedAzureRegions(java.lang.Iterable values) { + public Builder addAllSupportedAzureRegions( + java.lang.Iterable values) { ensureSupportedAzureRegionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, supportedAzureRegions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, supportedAzureRegions_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The list of supported Azure regions.
      * 
* * repeated string supported_azure_regions = 3; - * * @return This builder for chaining. */ public Builder clearSupportedAzureRegions() { - supportedAzureRegions_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + supportedAzureRegions_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * The list of supported Azure regions.
      * 
* * repeated string supported_azure_regions = 3; - * * @param value The bytes of the supportedAzureRegions to add. * @return This builder for chaining. */ - public Builder addSupportedAzureRegionsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSupportedAzureRegionsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureSupportedAzureRegionsIsMutable(); supportedAzureRegions_.add(value); @@ -1393,9 +1311,9 @@ public Builder addSupportedAzureRegionsBytes(com.google.protobuf.ByteString valu onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1405,12 +1323,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureServerConfig) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureServerConfig) private static final com.google.cloud.gkemulticloud.v1.AzureServerConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureServerConfig(); } @@ -1419,27 +1337,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureServerConfig getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureServerConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureServerConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1454,4 +1372,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureServerConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigName.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigName.java similarity index 100% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigName.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigName.java diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigOrBuilder.java similarity index 66% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigOrBuilder.java index 05ab1e8bd725..132b44843b27 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureServerConfigOrBuilder - extends +public interface AzureServerConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureServerConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The `AzureServerConfig` resource name.
    *
@@ -37,13 +19,10 @@ public interface AzureServerConfigOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The `AzureServerConfig` resource name.
    *
@@ -55,57 +34,63 @@ public interface AzureServerConfigOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
-   * List of valid Kubernetes versions.
+   * List of all released Kubernetes versions, including ones which are end of
+   * life and can no longer be used.  Filter by the `enabled`
+   * property to limit to currently available versions.
+   * Valid versions supported for both create and update operations
    * 
* * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2; */ - java.util.List getValidVersionsList(); + java.util.List + getValidVersionsList(); /** - * - * *
-   * List of valid Kubernetes versions.
+   * List of all released Kubernetes versions, including ones which are end of
+   * life and can no longer be used.  Filter by the `enabled`
+   * property to limit to currently available versions.
+   * Valid versions supported for both create and update operations
    * 
* * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2; */ com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo getValidVersions(int index); /** - * - * *
-   * List of valid Kubernetes versions.
+   * List of all released Kubernetes versions, including ones which are end of
+   * life and can no longer be used.  Filter by the `enabled`
+   * property to limit to currently available versions.
+   * Valid versions supported for both create and update operations
    * 
* * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2; */ int getValidVersionsCount(); /** - * - * *
-   * List of valid Kubernetes versions.
+   * List of all released Kubernetes versions, including ones which are end of
+   * life and can no longer be used.  Filter by the `enabled`
+   * property to limit to currently available versions.
+   * Valid versions supported for both create and update operations
    * 
* * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2; */ - java.util.List + java.util.List getValidVersionsOrBuilderList(); /** - * - * *
-   * List of valid Kubernetes versions.
+   * List of all released Kubernetes versions, including ones which are end of
+   * life and can no longer be used.  Filter by the `enabled`
+   * property to limit to currently available versions.
+   * Valid versions supported for both create and update operations
    * 
* * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2; @@ -114,53 +99,43 @@ com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfoOrBuilder getValidVersionsO int index); /** - * - * *
    * The list of supported Azure regions.
    * 
* * repeated string supported_azure_regions = 3; - * * @return A list containing the supportedAzureRegions. */ - java.util.List getSupportedAzureRegionsList(); + java.util.List + getSupportedAzureRegionsList(); /** - * - * *
    * The list of supported Azure regions.
    * 
* * repeated string supported_azure_regions = 3; - * * @return The count of supportedAzureRegions. */ int getSupportedAzureRegionsCount(); /** - * - * *
    * The list of supported Azure regions.
    * 
* * repeated string supported_azure_regions = 3; - * * @param index The index of the element to return. * @return The supportedAzureRegions at the given index. */ java.lang.String getSupportedAzureRegions(int index); /** - * - * *
    * The list of supported Azure regions.
    * 
* * repeated string supported_azure_regions = 3; - * * @param index The index of the value to return. * @return The bytes of the supportedAzureRegions at the given index. */ - com.google.protobuf.ByteString getSupportedAzureRegionsBytes(int index); + com.google.protobuf.ByteString + getSupportedAzureRegionsBytes(int index); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java new file mode 100644 index 000000000000..61931bf4636d --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java @@ -0,0 +1,550 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_service.proto + +package com.google.cloud.gkemulticloud.v1; + +public final class AzureServiceProto { + private AzureServiceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GetAzureOpenIdConfigRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GetAzureOpenIdConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GetAzureJsonWebKeysRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GetAzureJsonWebKeysRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n1google/cloud/gkemulticloud/v1/azure_se" + + "rvice.proto\022\035google.cloud.gkemulticloud." + + "v1\032\034google/api/annotations.proto\032\027google" + + "/api/client.proto\032\037google/api/field_beha" + + "vior.proto\032\031google/api/resource.proto\0323g" + + "oogle/cloud/gkemulticloud/v1/azure_resou" + + "rces.proto\0324google/cloud/gkemulticloud/v" + + "1/common_resources.proto\032#google/longrun" + + "ning/operations.proto\032\033google/protobuf/e" + + "mpty.proto\032 google/protobuf/field_mask.p" + + "roto\032\037google/protobuf/timestamp.proto\"\340\001" + + "\n\031CreateAzureClusterRequest\022B\n\006parent\030\001 " + + "\001(\tB2\342A\001\002\372A+\022)gkemulticloud.googleapis.c" + + "om/AzureCluster\022H\n\razure_cluster\030\002 \001(\0132+" + + ".google.cloud.gkemulticloud.v1.AzureClus" + + "terB\004\342A\001\002\022\036\n\020azure_cluster_id\030\003 \001(\tB\004\342A\001" + + "\002\022\025\n\rvalidate_only\030\004 \001(\010\"\263\001\n\031UpdateAzure" + + "ClusterRequest\022H\n\razure_cluster\030\001 \001(\0132+." + + "google.cloud.gkemulticloud.v1.AzureClust" + + "erB\004\342A\001\002\022\025\n\rvalidate_only\030\002 \001(\010\0225\n\013updat" + + "e_mask\030\004 \001(\0132\032.google.protobuf.FieldMask" + + "B\004\342A\001\002\"Z\n\026GetAzureClusterRequest\022@\n\004name" + + "\030\001 \001(\tB2\342A\001\002\372A+\n)gkemulticloud.googleapi" + + "s.com/AzureCluster\"\205\001\n\030ListAzureClusters" + + "Request\022B\n\006parent\030\001 \001(\tB2\342A\001\002\372A+\022)gkemul" + + "ticloud.googleapis.com/AzureCluster\022\021\n\tp" + + "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"y\n\031Li" + + "stAzureClustersResponse\022C\n\016azure_cluster" + + "s\030\001 \003(\0132+.google.cloud.gkemulticloud.v1." + + "AzureCluster\022\027\n\017next_page_token\030\002 \001(\t\"\231\001" + + "\n\031DeleteAzureClusterRequest\022@\n\004name\030\001 \001(" + + "\tB2\342A\001\002\372A+\n)gkemulticloud.googleapis.com" + + "/AzureCluster\022\025\n\rallow_missing\030\002 \001(\010\022\025\n\r" + + "validate_only\030\003 \001(\010\022\014\n\004etag\030\004 \001(\t\"\347\001\n\032Cr" + + "eateAzureNodePoolRequest\022C\n\006parent\030\001 \001(\t" + + "B3\342A\001\002\372A,\022*gkemulticloud.googleapis.com/" + + "AzureNodePool\022K\n\017azure_node_pool\030\002 \001(\0132," + + ".google.cloud.gkemulticloud.v1.AzureNode" + + "PoolB\004\342A\001\002\022 \n\022azure_node_pool_id\030\003 \001(\tB\004" + + "\342A\001\002\022\025\n\rvalidate_only\030\004 \001(\010\"\267\001\n\032UpdateAz" + + "ureNodePoolRequest\022K\n\017azure_node_pool\030\001 " + + "\001(\0132,.google.cloud.gkemulticloud.v1.Azur" + + "eNodePoolB\004\342A\001\002\022\025\n\rvalidate_only\030\002 \001(\010\0225" + + "\n\013update_mask\030\003 \001(\0132\032.google.protobuf.Fi" + + "eldMaskB\004\342A\001\002\"\\\n\027GetAzureNodePoolRequest" + + "\022A\n\004name\030\001 \001(\tB3\342A\001\002\372A,\n*gkemulticloud.g" + + "oogleapis.com/AzureNodePool\"\207\001\n\031ListAzur" + + "eNodePoolsRequest\022C\n\006parent\030\001 \001(\tB3\342A\001\002\372" + + "A,\022*gkemulticloud.googleapis.com/AzureNo" + + "dePool\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030" + + "\003 \001(\t\"}\n\032ListAzureNodePoolsResponse\022F\n\020a" + + "zure_node_pools\030\001 \003(\0132,.google.cloud.gke" + + "multicloud.v1.AzureNodePool\022\027\n\017next_page" + + "_token\030\002 \001(\t\"\233\001\n\032DeleteAzureNodePoolRequ" + + "est\022A\n\004name\030\001 \001(\tB3\342A\001\002\372A,\n*gkemulticlou" + + "d.googleapis.com/AzureNodePool\022\025\n\rvalida" + + "te_only\030\002 \001(\010\022\025\n\rallow_missing\030\003 \001(\010\022\014\n\004" + + "etag\030\004 \001(\t\"h\n\033GetAzureOpenIdConfigReques" + + "t\022I\n\razure_cluster\030\001 \001(\tB2\342A\001\002\372A+\n)gkemu" + + "lticloud.googleapis.com/AzureCluster\"g\n\032" + + "GetAzureJsonWebKeysRequest\022I\n\razure_clus" + + "ter\030\001 \001(\tB2\342A\001\002\372A+\n)gkemulticloud.google" + + "apis.com/AzureCluster\"d\n\033GetAzureServerC" + + "onfigRequest\022E\n\004name\030\001 \001(\tB7\342A\001\002\372A0\n.gke" + + "multicloud.googleapis.com/AzureServerCon" + + "fig\"\333\001\n\030CreateAzureClientRequest\022A\n\006pare" + + "nt\030\001 \001(\tB1\342A\001\002\372A*\022(gkemulticloud.googlea" + + "pis.com/AzureClient\022F\n\014azure_client\030\002 \001(" + + "\0132*.google.cloud.gkemulticloud.v1.AzureC" + + "lientB\004\342A\001\002\022\035\n\017azure_client_id\030\004 \001(\tB\004\342A" + + "\001\002\022\025\n\rvalidate_only\030\003 \001(\010\"X\n\025GetAzureCli" + + "entRequest\022?\n\004name\030\001 \001(\tB1\342A\001\002\372A*\n(gkemu" + + "lticloud.googleapis.com/AzureClient\"\203\001\n\027" + + "ListAzureClientsRequest\022A\n\006parent\030\001 \001(\tB" + + "1\342A\001\002\372A*\022(gkemulticloud.googleapis.com/A" + + "zureClient\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" + + "ken\030\003 \001(\t\"v\n\030ListAzureClientsResponse\022A\n" + + "\razure_clients\030\001 \003(\0132*.google.cloud.gkem" + + "ulticloud.v1.AzureClient\022\027\n\017next_page_to" + + "ken\030\002 \001(\t\"\211\001\n\030DeleteAzureClientRequest\022?" + + "\n\004name\030\001 \001(\tB1\342A\001\002\372A*\n(gkemulticloud.goo" + + "gleapis.com/AzureClient\022\025\n\rallow_missing" + + "\030\002 \001(\010\022\025\n\rvalidate_only\030\003 \001(\010\"l\n\037Generat" + + "eAzureAccessTokenRequest\022I\n\razure_cluste" + + "r\030\001 \001(\tB2\342A\001\002\372A+\n)gkemulticloud.googleap" + + "is.com/AzureCluster\"y\n GenerateAzureAcce" + + "ssTokenResponse\022\032\n\014access_token\030\001 \001(\tB\004\342" + + "A\001\003\0229\n\017expiration_time\030\002 \001(\0132\032.google.pr" + + "otobuf.TimestampB\004\342A\001\003\"\346\002\n%GenerateAzure" + + "ClusterAgentTokenRequest\022I\n\razure_cluste" + + "r\030\001 \001(\tB2\342A\001\002\372A+\n)gkemulticloud.googleap" + + "is.com/AzureCluster\022\033\n\rsubject_token\030\002 \001" + + "(\tB\004\342A\001\002\022 \n\022subject_token_type\030\003 \001(\tB\004\342A" + + "\001\002\022\025\n\007version\030\004 \001(\tB\004\342A\001\002\022\032\n\014node_pool_i" + + "d\030\005 \001(\tB\004\342A\001\001\022\030\n\ngrant_type\030\006 \001(\tB\004\342A\001\001\022" + + "\026\n\010audience\030\007 \001(\tB\004\342A\001\001\022\023\n\005scope\030\010 \001(\tB\004" + + "\342A\001\001\022\"\n\024requested_token_type\030\t \001(\tB\004\342A\001\001" + + "\022\025\n\007options\030\n \001(\tB\004\342A\001\001\"f\n&GenerateAzure" + + "ClusterAgentTokenResponse\022\024\n\014access_toke" + + "n\030\001 \001(\t\022\022\n\nexpires_in\030\002 \001(\005\022\022\n\ntoken_typ" + + "e\030\003 \001(\t2\314#\n\rAzureClusters\022\375\001\n\021CreateAzur" + + "eClient\0227.google.cloud.gkemulticloud.v1." + + "CreateAzureClientRequest\032\035.google.longru" + + "nning.Operation\"\217\001\312A \n\013AzureClient\022\021Oper" + + "ationMetadata\332A#parent,azure_client,azur" + + "e_client_id\202\323\344\223\002@\"0/v1/{parent=projects/" + + "*/locations/*}/azureClients:\014azure_clien" + + "t\022\263\001\n\016GetAzureClient\0224.google.cloud.gkem" + + "ulticloud.v1.GetAzureClientRequest\032*.goo" + + "gle.cloud.gkemulticloud.v1.AzureClient\"?" + + "\332A\004name\202\323\344\223\0022\0220/v1/{name=projects/*/loca" + + "tions/*/azureClients/*}\022\306\001\n\020ListAzureCli" + + "ents\0226.google.cloud.gkemulticloud.v1.Lis" + + "tAzureClientsRequest\0327.google.cloud.gkem" + + "ulticloud.v1.ListAzureClientsResponse\"A\332" + + "A\006parent\202\323\344\223\0022\0220/v1/{parent=projects/*/l" + + "ocations/*}/azureClients\022\331\001\n\021DeleteAzure" + + "Client\0227.google.cloud.gkemulticloud.v1.D" + + "eleteAzureClientRequest\032\035.google.longrun" + + "ning.Operation\"l\312A*\n\025google.protobuf.Emp" + + "ty\022\021OperationMetadata\332A\004name\202\323\344\223\0022*0/v1/" + + "{name=projects/*/locations/*/azureClient" + + "s/*}\022\204\002\n\022CreateAzureCluster\0228.google.clo" + + "ud.gkemulticloud.v1.CreateAzureClusterRe" + + "quest\032\035.google.longrunning.Operation\"\224\001\312" + + "A!\n\014AzureCluster\022\021OperationMetadata\332A%pa" + + "rent,azure_cluster,azure_cluster_id\202\323\344\223\002" + + "B\"1/v1/{parent=projects/*/locations/*}/a" + + "zureClusters:\razure_cluster\022\206\002\n\022UpdateAz" + + "ureCluster\0228.google.cloud.gkemulticloud." + + "v1.UpdateAzureClusterRequest\032\035.google.lo" + + "ngrunning.Operation\"\226\001\312A!\n\014AzureCluster\022" + + "\021OperationMetadata\332A\031azure_cluster,updat" + + "e_mask\202\323\344\223\002P2?/v1/{azure_cluster.name=pr" + + "ojects/*/locations/*/azureClusters/*}:\ra" + + "zure_cluster\022\267\001\n\017GetAzureCluster\0225.googl" + + "e.cloud.gkemulticloud.v1.GetAzureCluster" + + "Request\032+.google.cloud.gkemulticloud.v1." + + "AzureCluster\"@\332A\004name\202\323\344\223\0023\0221/v1/{name=p" + + "rojects/*/locations/*/azureClusters/*}\022\312" + + "\001\n\021ListAzureClusters\0227.google.cloud.gkem" + + "ulticloud.v1.ListAzureClustersRequest\0328." + + "google.cloud.gkemulticloud.v1.ListAzureC" + + "lustersResponse\"B\332A\006parent\202\323\344\223\0023\0221/v1/{p" + + "arent=projects/*/locations/*}/azureClust" + + "ers\022\334\001\n\022DeleteAzureCluster\0228.google.clou" + + "d.gkemulticloud.v1.DeleteAzureClusterReq" + + "uest\032\035.google.longrunning.Operation\"m\312A*" + + "\n\025google.protobuf.Empty\022\021OperationMetada" + + "ta\332A\004name\202\323\344\223\0023*1/v1/{name=projects/*/lo" + + "cations/*/azureClusters/*}\022\223\002\n\036GenerateA" + + "zureClusterAgentToken\022D.google.cloud.gke" + + "multicloud.v1.GenerateAzureClusterAgentT" + + "okenRequest\032E.google.cloud.gkemulticloud" + + ".v1.GenerateAzureClusterAgentTokenRespon" + + "se\"d\202\323\344\223\002^\"Y/v1/{azure_cluster=projects/" + + "*/locations/*/azureClusters/*}:generateA" + + "zureClusterAgentToken:\001*\022\370\001\n\030GenerateAzu" + + "reAccessToken\022>.google.cloud.gkemulticlo" + + "ud.v1.GenerateAzureAccessTokenRequest\032?." + + "google.cloud.gkemulticloud.v1.GenerateAz" + + "ureAccessTokenResponse\"[\202\323\344\223\002U\022S/v1/{azu" + + "re_cluster=projects/*/locations/*/azureC" + + "lusters/*}:generateAzureAccessToken\022\236\002\n\023" + + "CreateAzureNodePool\0229.google.cloud.gkemu" + + "lticloud.v1.CreateAzureNodePoolRequest\032\035" + + ".google.longrunning.Operation\"\254\001\312A\"\n\rAzu" + + "reNodePool\022\021OperationMetadata\332A)parent,a" + + "zure_node_pool,azure_node_pool_id\202\323\344\223\002U\"" + + "B/v1/{parent=projects/*/locations/*/azur" + + "eClusters/*}/azureNodePools:\017azure_node_" + + "pool\022\240\002\n\023UpdateAzureNodePool\0229.google.cl" + + "oud.gkemulticloud.v1.UpdateAzureNodePool" + + "Request\032\035.google.longrunning.Operation\"\256" + + "\001\312A\"\n\rAzureNodePool\022\021OperationMetadata\332A" + + "\033azure_node_pool,update_mask\202\323\344\223\002e2R/v1/" + + "{azure_node_pool.name=projects/*/locatio" + + "ns/*/azureClusters/*/azureNodePools/*}:\017" + + "azure_node_pool\022\313\001\n\020GetAzureNodePool\0226.g" + + "oogle.cloud.gkemulticloud.v1.GetAzureNod" + + "ePoolRequest\032,.google.cloud.gkemulticlou" + + "d.v1.AzureNodePool\"Q\332A\004name\202\323\344\223\002D\022B/v1/{" + + "name=projects/*/locations/*/azureCluster" + + "s/*/azureNodePools/*}\022\336\001\n\022ListAzureNodeP" + + "ools\0228.google.cloud.gkemulticloud.v1.Lis" + + "tAzureNodePoolsRequest\0329.google.cloud.gk" + + "emulticloud.v1.ListAzureNodePoolsRespons" + + "e\"S\332A\006parent\202\323\344\223\002D\022B/v1/{parent=projects" + + "/*/locations/*/azureClusters/*}/azureNod" + + "ePools\022\357\001\n\023DeleteAzureNodePool\0229.google." + + "cloud.gkemulticloud.v1.DeleteAzureNodePo" + + "olRequest\032\035.google.longrunning.Operation" + + "\"~\312A*\n\025google.protobuf.Empty\022\021OperationM" + + "etadata\332A\004name\202\323\344\223\002D*B/v1/{name=projects" + + "/*/locations/*/azureClusters/*/azureNode" + + "Pools/*}\022\371\001\n\024GetAzureOpenIdConfig\022:.goog" + + "le.cloud.gkemulticloud.v1.GetAzureOpenId" + + "ConfigRequest\0320.google.cloud.gkemulticlo" + + "ud.v1.AzureOpenIdConfig\"s\332A\razure_cluste" + + "r\202\323\344\223\002]\022[/v1/{azure_cluster=projects/*/l" + + "ocations/*/azureClusters/*}/.well-known/" + + "openid-configuration\022\332\001\n\023GetAzureJsonWeb" + + "Keys\0229.google.cloud.gkemulticloud.v1.Get" + + "AzureJsonWebKeysRequest\032/.google.cloud.g" + + "kemulticloud.v1.AzureJsonWebKeys\"W\332A\razu" + + "re_cluster\202\323\344\223\002A\022?/v1/{azure_cluster=pro" + + "jects/*/locations/*/azureClusters/*}/jwk" + + "s\022\310\001\n\024GetAzureServerConfig\022:.google.clou" + + "d.gkemulticloud.v1.GetAzureServerConfigR" + + "equest\0320.google.cloud.gkemulticloud.v1.A" + + "zureServerConfig\"B\332A\004name\202\323\344\223\0025\0223/v1/{na" + + "me=projects/*/locations/*/azureServerCon" + + "fig}\032P\312A\034gkemulticloud.googleapis.com\322A." + + "https://www.googleapis.com/auth/cloud-pl" + + "atformB\344\001\n!com.google.cloud.gkemulticlou" + + "d.v1B\021AzureServiceProtoP\001ZGcloud.google." + + "com/go/gkemulticloud/apiv1/gkemulticloud" + + "pb;gkemulticloudpb\252\002\035Google.Cloud.GkeMul" + + "tiCloud.V1\312\002\035Google\\Cloud\\GkeMultiCloud\\" + + "V1\352\002 Google::Cloud::GkeMultiCloud::V1b\006p" + + "roto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.gkemulticloud.v1.AzureResourcesProto.getDescriptor(), + com.google.cloud.gkemulticloud.v1.CommonResourcesProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_descriptor, + new java.lang.String[] { "Parent", "AzureCluster", "AzureClusterId", "ValidateOnly", }); + internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_descriptor, + new java.lang.String[] { "AzureCluster", "ValidateOnly", "UpdateMask", }); + internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_descriptor, + new java.lang.String[] { "AzureClusters", "NextPageToken", }); + internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_descriptor, + new java.lang.String[] { "Name", "AllowMissing", "ValidateOnly", "Etag", }); + internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_descriptor, + new java.lang.String[] { "Parent", "AzureNodePool", "AzureNodePoolId", "ValidateOnly", }); + internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_descriptor, + new java.lang.String[] { "AzureNodePool", "ValidateOnly", "UpdateMask", }); + internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_descriptor, + new java.lang.String[] { "AzureNodePools", "NextPageToken", }); + internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_descriptor, + new java.lang.String[] { "Name", "ValidateOnly", "AllowMissing", "Etag", }); + internal_static_google_cloud_gkemulticloud_v1_GetAzureOpenIdConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_gkemulticloud_v1_GetAzureOpenIdConfigRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GetAzureOpenIdConfigRequest_descriptor, + new java.lang.String[] { "AzureCluster", }); + internal_static_google_cloud_gkemulticloud_v1_GetAzureJsonWebKeysRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_gkemulticloud_v1_GetAzureJsonWebKeysRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GetAzureJsonWebKeysRequest_descriptor, + new java.lang.String[] { "AzureCluster", }); + internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_descriptor, + new java.lang.String[] { "Parent", "AzureClient", "AzureClientId", "ValidateOnly", }); + internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_descriptor, + new java.lang.String[] { "AzureClients", "NextPageToken", }); + internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_descriptor, + new java.lang.String[] { "Name", "AllowMissing", "ValidateOnly", }); + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_descriptor, + new java.lang.String[] { "AzureCluster", }); + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_descriptor, + new java.lang.String[] { "AccessToken", "ExpirationTime", }); + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenRequest_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenRequest_descriptor, + new java.lang.String[] { "AzureCluster", "SubjectToken", "SubjectTokenType", "Version", "NodePoolId", "GrantType", "Audience", "Scope", "RequestedTokenType", "Options", }); + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenResponse_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenResponse_descriptor, + new java.lang.String[] { "AccessToken", "ExpiresIn", "TokenType", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.gkemulticloud.v1.AzureResourcesProto.getDescriptor(); + com.google.cloud.gkemulticloud.v1.CommonResourcesProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthentication.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthentication.java similarity index 68% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthentication.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthentication.java index f437eba1cb5f..8be3b0c579c4 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthentication.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthentication.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Authentication configuration for the management of Azure resources.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureServicesAuthentication} */ -public final class AzureServicesAuthentication extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AzureServicesAuthentication extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureServicesAuthentication) AzureServicesAuthenticationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AzureServicesAuthentication.newBuilder() to construct. private AzureServicesAuthentication(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AzureServicesAuthentication() { tenantId_ = ""; applicationId_ = ""; @@ -44,38 +26,33 @@ private AzureServicesAuthentication() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AzureServicesAuthentication(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.class, - com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.class, com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder.class); } public static final int TENANT_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object tenantId_ = ""; /** - * - * *
    * Required. The Azure Active Directory Tenant ID.
    * 
* * string tenant_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tenantId. */ @java.lang.Override @@ -84,29 +61,29 @@ public java.lang.String getTenantId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tenantId_ = s; return s; } } /** - * - * *
    * Required. The Azure Active Directory Tenant ID.
    * 
* * string tenant_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tenantId. */ @java.lang.Override - public com.google.protobuf.ByteString getTenantIdBytes() { + public com.google.protobuf.ByteString + getTenantIdBytes() { java.lang.Object ref = tenantId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tenantId_ = b; return b; } else { @@ -115,18 +92,14 @@ public com.google.protobuf.ByteString getTenantIdBytes() { } public static final int APPLICATION_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object applicationId_ = ""; /** - * - * *
    * Required. The Azure Active Directory Application ID.
    * 
* * string application_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The applicationId. */ @java.lang.Override @@ -135,29 +108,29 @@ public java.lang.String getApplicationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); applicationId_ = s; return s; } } /** - * - * *
    * Required. The Azure Active Directory Application ID.
    * 
* * string application_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for applicationId. */ @java.lang.Override - public com.google.protobuf.ByteString getApplicationIdBytes() { + public com.google.protobuf.ByteString + getApplicationIdBytes() { java.lang.Object ref = applicationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); applicationId_ = b; return b; } else { @@ -166,7 +139,6 @@ public com.google.protobuf.ByteString getApplicationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,7 +150,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tenantId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tenantId_); } @@ -208,16 +181,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication other = - (com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication) obj; + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication other = (com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication) obj; - if (!getTenantId().equals(other.getTenantId())) return false; - if (!getApplicationId().equals(other.getApplicationId())) return false; + if (!getTenantId() + .equals(other.getTenantId())) return false; + if (!getApplicationId() + .equals(other.getApplicationId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -239,136 +213,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Authentication configuration for the management of Azure resources.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureServicesAuthentication} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureServicesAuthentication) com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.class, - com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.class, com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -379,14 +348,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication - getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.getDefaultInstance(); } @@ -401,17 +369,13 @@ public com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication buildPartial() { - com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication result = - new com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication result = new com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication result) { + private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.tenantId_ = tenantId_; @@ -425,39 +389,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication)other); } else { super.mergeFrom(other); return this; @@ -465,9 +428,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication other) { - if (other - == com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.getDefaultInstance()) return this; if (!other.getTenantId().isEmpty()) { tenantId_ = other.tenantId_; bitField0_ |= 0x00000001; @@ -504,25 +465,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - tenantId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - applicationId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + tenantId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + applicationId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -532,25 +490,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object tenantId_ = ""; /** - * - * *
      * Required. The Azure Active Directory Tenant ID.
      * 
* * string tenant_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tenantId. */ public java.lang.String getTenantId() { java.lang.Object ref = tenantId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tenantId_ = s; return s; @@ -559,21 +514,20 @@ public java.lang.String getTenantId() { } } /** - * - * *
      * Required. The Azure Active Directory Tenant ID.
      * 
* * string tenant_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tenantId. */ - public com.google.protobuf.ByteString getTenantIdBytes() { + public com.google.protobuf.ByteString + getTenantIdBytes() { java.lang.Object ref = tenantId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tenantId_ = b; return b; } else { @@ -581,35 +535,28 @@ public com.google.protobuf.ByteString getTenantIdBytes() { } } /** - * - * *
      * Required. The Azure Active Directory Tenant ID.
      * 
* * string tenant_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The tenantId to set. * @return This builder for chaining. */ - public Builder setTenantId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTenantId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tenantId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The Azure Active Directory Tenant ID.
      * 
* * string tenant_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTenantId() { @@ -619,21 +566,17 @@ public Builder clearTenantId() { return this; } /** - * - * *
      * Required. The Azure Active Directory Tenant ID.
      * 
* * string tenant_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for tenantId to set. * @return This builder for chaining. */ - public Builder setTenantIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTenantIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tenantId_ = value; bitField0_ |= 0x00000001; @@ -643,20 +586,18 @@ public Builder setTenantIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object applicationId_ = ""; /** - * - * *
      * Required. The Azure Active Directory Application ID.
      * 
* * string application_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The applicationId. */ public java.lang.String getApplicationId() { java.lang.Object ref = applicationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); applicationId_ = s; return s; @@ -665,21 +606,20 @@ public java.lang.String getApplicationId() { } } /** - * - * *
      * Required. The Azure Active Directory Application ID.
      * 
* * string application_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for applicationId. */ - public com.google.protobuf.ByteString getApplicationIdBytes() { + public com.google.protobuf.ByteString + getApplicationIdBytes() { java.lang.Object ref = applicationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); applicationId_ = b; return b; } else { @@ -687,35 +627,28 @@ public com.google.protobuf.ByteString getApplicationIdBytes() { } } /** - * - * *
      * Required. The Azure Active Directory Application ID.
      * 
* * string application_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The applicationId to set. * @return This builder for chaining. */ - public Builder setApplicationId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setApplicationId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } applicationId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The Azure Active Directory Application ID.
      * 
* * string application_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearApplicationId() { @@ -725,30 +658,26 @@ public Builder clearApplicationId() { return this; } /** - * - * *
      * Required. The Azure Active Directory Application ID.
      * 
* * string application_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for applicationId to set. * @return This builder for chaining. */ - public Builder setApplicationIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setApplicationIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); applicationId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -758,13 +687,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureServicesAuthentication) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureServicesAuthentication) - private static final com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication - DEFAULT_INSTANCE; - + private static final com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication(); } @@ -773,27 +701,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureServicesAuthentication parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureServicesAuthentication parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -808,4 +736,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthenticationOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthenticationOrBuilder.java similarity index 60% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthenticationOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthenticationOrBuilder.java index e4fc44b7e0bc..412ee6ecfef2 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthenticationOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthenticationOrBuilder.java @@ -1,75 +1,49 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureServicesAuthenticationOrBuilder - extends +public interface AzureServicesAuthenticationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureServicesAuthentication) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The Azure Active Directory Tenant ID.
    * 
* * string tenant_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tenantId. */ java.lang.String getTenantId(); /** - * - * *
    * Required. The Azure Active Directory Tenant ID.
    * 
* * string tenant_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tenantId. */ - com.google.protobuf.ByteString getTenantIdBytes(); + com.google.protobuf.ByteString + getTenantIdBytes(); /** - * - * *
    * Required. The Azure Active Directory Application ID.
    * 
* * string application_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The applicationId. */ java.lang.String getApplicationId(); /** - * - * *
    * Required. The Azure Active Directory Application ID.
    * 
* * string application_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for applicationId. */ - com.google.protobuf.ByteString getApplicationIdBytes(); + com.google.protobuf.ByteString + getApplicationIdBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfig.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfig.java similarity index 68% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfig.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfig.java index e12a7326aa12..681eee26b1f6 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfig.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfig.java @@ -1,74 +1,52 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * SSH configuration for Azure resources.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureSshConfig} */ -public final class AzureSshConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AzureSshConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureSshConfig) AzureSshConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AzureSshConfig.newBuilder() to construct. private AzureSshConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AzureSshConfig() { authorizedKey_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AzureSshConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureSshConfig.class, - com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureSshConfig.class, com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder.class); } public static final int AUTHORIZED_KEY_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object authorizedKey_ = ""; /** - * - * *
    * Required. The SSH public key data for VMs managed by Anthos. This accepts
    * the authorized_keys file format used in OpenSSH according to the sshd(8)
@@ -76,7 +54,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string authorized_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The authorizedKey. */ @java.lang.Override @@ -85,15 +62,14 @@ public java.lang.String getAuthorizedKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authorizedKey_ = s; return s; } } /** - * - * *
    * Required. The SSH public key data for VMs managed by Anthos. This accepts
    * the authorized_keys file format used in OpenSSH according to the sshd(8)
@@ -101,15 +77,16 @@ public java.lang.String getAuthorizedKey() {
    * 
* * string authorized_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for authorizedKey. */ @java.lang.Override - public com.google.protobuf.ByteString getAuthorizedKeyBytes() { + public com.google.protobuf.ByteString + getAuthorizedKeyBytes() { java.lang.Object ref = authorizedKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); authorizedKey_ = b; return b; } else { @@ -118,7 +95,6 @@ public com.google.protobuf.ByteString getAuthorizedKeyBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -130,7 +106,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authorizedKey_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, authorizedKey_); } @@ -154,15 +131,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureSshConfig)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureSshConfig other = - (com.google.cloud.gkemulticloud.v1.AzureSshConfig) obj; + com.google.cloud.gkemulticloud.v1.AzureSshConfig other = (com.google.cloud.gkemulticloud.v1.AzureSshConfig) obj; - if (!getAuthorizedKey().equals(other.getAuthorizedKey())) return false; + if (!getAuthorizedKey() + .equals(other.getAuthorizedKey())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -181,136 +158,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.gkemulticloud.v1.AzureSshConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.gkemulticloud.v1.AzureSshConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureSshConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureSshConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureSshConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureSshConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.AzureSshConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.AzureSshConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureSshConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureSshConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureSshConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureSshConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureSshConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureSshConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AzureSshConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureSshConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SSH configuration for Azure resources.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureSshConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureSshConfig) com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureSshConfig.class, - com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureSshConfig.class, com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AzureSshConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -320,9 +293,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_descriptor; } @java.lang.Override @@ -341,11 +314,8 @@ public com.google.cloud.gkemulticloud.v1.AzureSshConfig build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureSshConfig buildPartial() { - com.google.cloud.gkemulticloud.v1.AzureSshConfig result = - new com.google.cloud.gkemulticloud.v1.AzureSshConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.AzureSshConfig result = new com.google.cloud.gkemulticloud.v1.AzureSshConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -361,39 +331,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureSshConfig resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AzureSshConfig) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureSshConfig) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureSshConfig)other); } else { super.mergeFrom(other); return this; @@ -401,8 +370,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureSshConfig other) { - if (other == com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance()) return this; if (!other.getAuthorizedKey().isEmpty()) { authorizedKey_ = other.authorizedKey_; bitField0_ |= 0x00000001; @@ -434,19 +402,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - authorizedKey_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + authorizedKey_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -456,13 +422,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object authorizedKey_ = ""; /** - * - * *
      * Required. The SSH public key data for VMs managed by Anthos. This accepts
      * the authorized_keys file format used in OpenSSH according to the sshd(8)
@@ -470,13 +433,13 @@ public Builder mergeFrom(
      * 
* * string authorized_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The authorizedKey. */ public java.lang.String getAuthorizedKey() { java.lang.Object ref = authorizedKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authorizedKey_ = s; return s; @@ -485,8 +448,6 @@ public java.lang.String getAuthorizedKey() { } } /** - * - * *
      * Required. The SSH public key data for VMs managed by Anthos. This accepts
      * the authorized_keys file format used in OpenSSH according to the sshd(8)
@@ -494,14 +455,15 @@ public java.lang.String getAuthorizedKey() {
      * 
* * string authorized_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for authorizedKey. */ - public com.google.protobuf.ByteString getAuthorizedKeyBytes() { + public com.google.protobuf.ByteString + getAuthorizedKeyBytes() { java.lang.Object ref = authorizedKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); authorizedKey_ = b; return b; } else { @@ -509,8 +471,6 @@ public com.google.protobuf.ByteString getAuthorizedKeyBytes() { } } /** - * - * *
      * Required. The SSH public key data for VMs managed by Anthos. This accepts
      * the authorized_keys file format used in OpenSSH according to the sshd(8)
@@ -518,22 +478,18 @@ public com.google.protobuf.ByteString getAuthorizedKeyBytes() {
      * 
* * string authorized_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The authorizedKey to set. * @return This builder for chaining. */ - public Builder setAuthorizedKey(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAuthorizedKey( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } authorizedKey_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The SSH public key data for VMs managed by Anthos. This accepts
      * the authorized_keys file format used in OpenSSH according to the sshd(8)
@@ -541,7 +497,6 @@ public Builder setAuthorizedKey(java.lang.String value) {
      * 
* * string authorized_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAuthorizedKey() { @@ -551,8 +506,6 @@ public Builder clearAuthorizedKey() { return this; } /** - * - * *
      * Required. The SSH public key data for VMs managed by Anthos. This accepts
      * the authorized_keys file format used in OpenSSH according to the sshd(8)
@@ -560,23 +513,21 @@ public Builder clearAuthorizedKey() {
      * 
* * string authorized_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for authorizedKey to set. * @return This builder for chaining. */ - public Builder setAuthorizedKeyBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAuthorizedKeyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); authorizedKey_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -586,12 +537,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureSshConfig) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureSshConfig) private static final com.google.cloud.gkemulticloud.v1.AzureSshConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureSshConfig(); } @@ -600,27 +551,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureSshConfig getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureSshConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureSshConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -635,4 +586,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureSshConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfigOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfigOrBuilder.java similarity index 58% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfigOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfigOrBuilder.java index 4ebcd01da51c..c1bbabb0853e 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfigOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureSshConfigOrBuilder - extends +public interface AzureSshConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureSshConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The SSH public key data for VMs managed by Anthos. This accepts
    * the authorized_keys file format used in OpenSSH according to the sshd(8)
@@ -33,13 +15,10 @@ public interface AzureSshConfigOrBuilder
    * 
* * string authorized_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The authorizedKey. */ java.lang.String getAuthorizedKey(); /** - * - * *
    * Required. The SSH public key data for VMs managed by Anthos. This accepts
    * the authorized_keys file format used in OpenSSH according to the sshd(8)
@@ -47,8 +26,8 @@ public interface AzureSshConfigOrBuilder
    * 
* * string authorized_key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for authorizedKey. */ - com.google.protobuf.ByteString getAuthorizedKeyBytes(); + com.google.protobuf.ByteString + getAuthorizedKeyBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/BinaryAuthorization.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/BinaryAuthorization.java new file mode 100644 index 000000000000..8026e1ea8a58 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/BinaryAuthorization.java @@ -0,0 +1,689 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/common_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +/** + *
+ * Configuration for Binary Authorization.
+ * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.BinaryAuthorization} + */ +public final class BinaryAuthorization extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.BinaryAuthorization) + BinaryAuthorizationOrBuilder { +private static final long serialVersionUID = 0L; + // Use BinaryAuthorization.newBuilder() to construct. + private BinaryAuthorization(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private BinaryAuthorization() { + evaluationMode_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BinaryAuthorization(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_BinaryAuthorization_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_BinaryAuthorization_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.BinaryAuthorization.class, com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder.class); + } + + /** + *
+   * Binary Authorization mode of operation.
+   * 
+ * + * Protobuf enum {@code google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode} + */ + public enum EvaluationMode + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+     * Default value
+     * 
+ * + * EVALUATION_MODE_UNSPECIFIED = 0; + */ + EVALUATION_MODE_UNSPECIFIED(0), + /** + *
+     * Disable BinaryAuthorization
+     * 
+ * + * DISABLED = 1; + */ + DISABLED(1), + /** + *
+     * Enforce Kubernetes admission requests with BinaryAuthorization using the
+     * project's singleton policy.
+     * 
+ * + * PROJECT_SINGLETON_POLICY_ENFORCE = 2; + */ + PROJECT_SINGLETON_POLICY_ENFORCE(2), + UNRECOGNIZED(-1), + ; + + /** + *
+     * Default value
+     * 
+ * + * EVALUATION_MODE_UNSPECIFIED = 0; + */ + public static final int EVALUATION_MODE_UNSPECIFIED_VALUE = 0; + /** + *
+     * Disable BinaryAuthorization
+     * 
+ * + * DISABLED = 1; + */ + public static final int DISABLED_VALUE = 1; + /** + *
+     * Enforce Kubernetes admission requests with BinaryAuthorization using the
+     * project's singleton policy.
+     * 
+ * + * PROJECT_SINGLETON_POLICY_ENFORCE = 2; + */ + public static final int PROJECT_SINGLETON_POLICY_ENFORCE_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static EvaluationMode valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static EvaluationMode forNumber(int value) { + switch (value) { + case 0: return EVALUATION_MODE_UNSPECIFIED; + case 1: return DISABLED; + case 2: return PROJECT_SINGLETON_POLICY_ENFORCE; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + EvaluationMode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public EvaluationMode findValueByNumber(int number) { + return EvaluationMode.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDescriptor().getEnumTypes().get(0); + } + + private static final EvaluationMode[] VALUES = values(); + + public static EvaluationMode valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private EvaluationMode(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode) + } + + public static final int EVALUATION_MODE_FIELD_NUMBER = 1; + private int evaluationMode_ = 0; + /** + *
+   * Mode of operation for binauthz policy evaluation. If unspecified, defaults
+   * to DISABLED.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 1; + * @return The enum numeric value on the wire for evaluationMode. + */ + @java.lang.Override public int getEvaluationModeValue() { + return evaluationMode_; + } + /** + *
+   * Mode of operation for binauthz policy evaluation. If unspecified, defaults
+   * to DISABLED.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 1; + * @return The evaluationMode. + */ + @java.lang.Override public com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode getEvaluationMode() { + com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode result = com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode.forNumber(evaluationMode_); + return result == null ? com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (evaluationMode_ != com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode.EVALUATION_MODE_UNSPECIFIED.getNumber()) { + output.writeEnum(1, evaluationMode_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (evaluationMode_ != com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode.EVALUATION_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, evaluationMode_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.BinaryAuthorization)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.BinaryAuthorization other = (com.google.cloud.gkemulticloud.v1.BinaryAuthorization) obj; + + if (evaluationMode_ != other.evaluationMode_) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + EVALUATION_MODE_FIELD_NUMBER; + hash = (53 * hash) + evaluationMode_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.BinaryAuthorization parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.BinaryAuthorization parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.BinaryAuthorization parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.BinaryAuthorization parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.BinaryAuthorization parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.BinaryAuthorization parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.BinaryAuthorization parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.BinaryAuthorization parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.BinaryAuthorization parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.BinaryAuthorization parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.BinaryAuthorization parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.BinaryAuthorization parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.BinaryAuthorization prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Configuration for Binary Authorization.
+   * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.BinaryAuthorization} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.BinaryAuthorization) + com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_BinaryAuthorization_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_BinaryAuthorization_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.BinaryAuthorization.class, com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.BinaryAuthorization.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + evaluationMode_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_BinaryAuthorization_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.BinaryAuthorization getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.BinaryAuthorization build() { + com.google.cloud.gkemulticloud.v1.BinaryAuthorization result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.BinaryAuthorization buildPartial() { + com.google.cloud.gkemulticloud.v1.BinaryAuthorization result = new com.google.cloud.gkemulticloud.v1.BinaryAuthorization(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.gkemulticloud.v1.BinaryAuthorization result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.evaluationMode_ = evaluationMode_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.BinaryAuthorization) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.BinaryAuthorization)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.BinaryAuthorization other) { + if (other == com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance()) return this; + if (other.evaluationMode_ != 0) { + setEvaluationModeValue(other.getEvaluationModeValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + evaluationMode_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int evaluationMode_ = 0; + /** + *
+     * Mode of operation for binauthz policy evaluation. If unspecified, defaults
+     * to DISABLED.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 1; + * @return The enum numeric value on the wire for evaluationMode. + */ + @java.lang.Override public int getEvaluationModeValue() { + return evaluationMode_; + } + /** + *
+     * Mode of operation for binauthz policy evaluation. If unspecified, defaults
+     * to DISABLED.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 1; + * @param value The enum numeric value on the wire for evaluationMode to set. + * @return This builder for chaining. + */ + public Builder setEvaluationModeValue(int value) { + evaluationMode_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Mode of operation for binauthz policy evaluation. If unspecified, defaults
+     * to DISABLED.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 1; + * @return The evaluationMode. + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode getEvaluationMode() { + com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode result = com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode.forNumber(evaluationMode_); + return result == null ? com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode.UNRECOGNIZED : result; + } + /** + *
+     * Mode of operation for binauthz policy evaluation. If unspecified, defaults
+     * to DISABLED.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 1; + * @param value The evaluationMode to set. + * @return This builder for chaining. + */ + public Builder setEvaluationMode(com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + evaluationMode_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+     * Mode of operation for binauthz policy evaluation. If unspecified, defaults
+     * to DISABLED.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 1; + * @return This builder for chaining. + */ + public Builder clearEvaluationMode() { + bitField0_ = (bitField0_ & ~0x00000001); + evaluationMode_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.BinaryAuthorization) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.BinaryAuthorization) + private static final com.google.cloud.gkemulticloud.v1.BinaryAuthorization DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.BinaryAuthorization(); + } + + public static com.google.cloud.gkemulticloud.v1.BinaryAuthorization getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BinaryAuthorization parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.BinaryAuthorization getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/BinaryAuthorizationOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/BinaryAuthorizationOrBuilder.java new file mode 100644 index 000000000000..1698c4c521e0 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/BinaryAuthorizationOrBuilder.java @@ -0,0 +1,30 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/common_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface BinaryAuthorizationOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.BinaryAuthorization) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Mode of operation for binauthz policy evaluation. If unspecified, defaults
+   * to DISABLED.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 1; + * @return The enum numeric value on the wire for evaluationMode. + */ + int getEvaluationModeValue(); + /** + *
+   * Mode of operation for binauthz policy evaluation. If unspecified, defaults
+   * to DISABLED.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 1; + * @return The evaluationMode. + */ + com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode getEvaluationMode(); +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java new file mode 100644 index 000000000000..f69e39ccd1ed --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java @@ -0,0 +1,211 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/common_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public final class CommonResourcesProto { + private CommonResourcesProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_Jwk_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_Jwk_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_NodeTaint_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_NodeTaint_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_Fleet_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_Fleet_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_BinaryAuthorization_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_BinaryAuthorization_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n4google/cloud/gkemulticloud/v1/common_r" + + "esources.proto\022\035google.cloud.gkemulticlo" + + "ud.v1\032\037google/api/field_behavior.proto\032\037" + + "google/protobuf/timestamp.proto\"r\n\003Jwk\022\013" + + "\n\003kty\030\001 \001(\t\022\013\n\003alg\030\002 \001(\t\022\013\n\003use\030\003 \001(\t\022\013\n" + + "\003kid\030\004 \001(\t\022\t\n\001n\030\005 \001(\t\022\t\n\001e\030\006 \001(\t\022\t\n\001x\030\007 " + + "\001(\t\022\t\n\001y\030\010 \001(\t\022\013\n\003crv\030\t \001(\t\"^\n\026WorkloadI" + + "dentityConfig\022\022\n\nissuer_uri\030\001 \001(\t\022\025\n\rwor" + + "kload_pool\030\002 \001(\t\022\031\n\021identity_provider\030\003 " + + "\001(\t\"4\n\021MaxPodsConstraint\022\037\n\021max_pods_per" + + "_node\030\001 \001(\003B\004\342A\001\002\"\207\002\n\021OperationMetadata\022" + + "5\n\013create_time\030\001 \001(\0132\032.google.protobuf.T" + + "imestampB\004\342A\001\003\0222\n\010end_time\030\002 \001(\0132\032.googl" + + "e.protobuf.TimestampB\004\342A\001\003\022\024\n\006target\030\003 \001" + + "(\tB\004\342A\001\003\022\033\n\rstatus_detail\030\004 \001(\tB\004\342A\001\003\022\032\n" + + "\014error_detail\030\005 \001(\tB\004\342A\001\003\022\022\n\004verb\030\007 \001(\tB" + + "\004\342A\001\003\022$\n\026requested_cancellation\030\006 \001(\010B\004\342" + + "A\001\003\"\325\001\n\tNodeTaint\022\021\n\003key\030\001 \001(\tB\004\342A\001\002\022\023\n\005" + + "value\030\002 \001(\tB\004\342A\001\002\022E\n\006effect\030\003 \001(\0162/.goog" + + "le.cloud.gkemulticloud.v1.NodeTaint.Effe" + + "ctB\004\342A\001\002\"Y\n\006Effect\022\026\n\022EFFECT_UNSPECIFIED" + + "\020\000\022\017\n\013NO_SCHEDULE\020\001\022\026\n\022PREFER_NO_SCHEDUL" + + "E\020\002\022\016\n\nNO_EXECUTE\020\003\"8\n\005Fleet\022\025\n\007project\030" + + "\001 \001(\tB\004\342A\001\002\022\030\n\nmembership\030\002 \001(\tB\004\342A\001\003\"`\n" + + "\rLoggingConfig\022O\n\020component_config\030\001 \001(\013" + + "25.google.cloud.gkemulticloud.v1.Logging" + + "ComponentConfig\"\302\001\n\026LoggingComponentConf" + + "ig\022Z\n\021enable_components\030\001 \003(\0162?.google.c" + + "loud.gkemulticloud.v1.LoggingComponentCo" + + "nfig.Component\"L\n\tComponent\022\031\n\025COMPONENT" + + "_UNSPECIFIED\020\000\022\025\n\021SYSTEM_COMPONENTS\020\001\022\r\n" + + "\tWORKLOADS\020\002\"m\n\020MonitoringConfig\022Y\n\031mana" + + "ged_prometheus_config\030\002 \001(\01326.google.clo" + + "ud.gkemulticloud.v1.ManagedPrometheusCon" + + "fig\"*\n\027ManagedPrometheusConfig\022\017\n\007enable" + + "d\030\001 \001(\010\"\330\001\n\023BinaryAuthorization\022Z\n\017evalu" + + "ation_mode\030\001 \001(\0162A.google.cloud.gkemulti" + + "cloud.v1.BinaryAuthorization.EvaluationM" + + "ode\"e\n\016EvaluationMode\022\037\n\033EVALUATION_MODE" + + "_UNSPECIFIED\020\000\022\014\n\010DISABLED\020\001\022$\n PROJECT_" + + "SINGLETON_POLICY_ENFORCE\020\002B\347\001\n!com.googl" + + "e.cloud.gkemulticloud.v1B\024CommonResource" + + "sProtoP\001ZGcloud.google.com/go/gkemulticl" + + "oud/apiv1/gkemulticloudpb;gkemulticloudp" + + "b\252\002\035Google.Cloud.GkeMultiCloud.V1\312\002\035Goog" + + "le\\Cloud\\GkeMultiCloud\\V1\352\002 Google::Clou" + + "d::GkeMultiCloud::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_gkemulticloud_v1_Jwk_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_gkemulticloud_v1_Jwk_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_Jwk_descriptor, + new java.lang.String[] { "Kty", "Alg", "Use", "Kid", "N", "E", "X", "Y", "Crv", }); + internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_descriptor, + new java.lang.String[] { "IssuerUri", "WorkloadPool", "IdentityProvider", }); + internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_descriptor, + new java.lang.String[] { "MaxPodsPerNode", }); + internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_descriptor, + new java.lang.String[] { "CreateTime", "EndTime", "Target", "StatusDetail", "ErrorDetail", "Verb", "RequestedCancellation", }); + internal_static_google_cloud_gkemulticloud_v1_NodeTaint_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_gkemulticloud_v1_NodeTaint_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_NodeTaint_descriptor, + new java.lang.String[] { "Key", "Value", "Effect", }); + internal_static_google_cloud_gkemulticloud_v1_Fleet_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_gkemulticloud_v1_Fleet_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_Fleet_descriptor, + new java.lang.String[] { "Project", "Membership", }); + internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_descriptor, + new java.lang.String[] { "ComponentConfig", }); + internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_descriptor, + new java.lang.String[] { "EnableComponents", }); + internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_descriptor, + new java.lang.String[] { "ManagedPrometheusConfig", }); + internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_descriptor, + new java.lang.String[] { "Enabled", }); + internal_static_google_cloud_gkemulticloud_v1_BinaryAuthorization_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_gkemulticloud_v1_BinaryAuthorization_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_BinaryAuthorization_descriptor, + new java.lang.String[] { "EvaluationMode", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAttachedClusterRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAttachedClusterRequest.java similarity index 68% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAttachedClusterRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAttachedClusterRequest.java index 719ee56eff62..d73f01fe1eae 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAttachedClusterRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAttachedClusterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Request message for `AttachedClusters.CreateAttachedCluster` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest} */ -public final class CreateAttachedClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateAttachedClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest) CreateAttachedClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateAttachedClusterRequest.newBuilder() to construct. private CreateAttachedClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateAttachedClusterRequest() { parent_ = ""; attachedClusterId_ = ""; @@ -44,32 +26,28 @@ private CreateAttachedClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateAttachedClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_CreateAttachedClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAttachedClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_CreateAttachedClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAttachedClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest.class, - com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest.class, com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The parent location where this
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -81,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -93,15 +68,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent location where this
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -113,18 +87,17 @@ public java.lang.String getParent() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -135,17 +108,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int ATTACHED_CLUSTER_FIELD_NUMBER = 2; private com.google.cloud.gkemulticloud.v1.AttachedCluster attachedCluster_; /** - * - * *
    * Required. The specification of the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the attachedCluster field is set. */ @java.lang.Override @@ -153,51 +121,35 @@ public boolean hasAttachedCluster() { return attachedCluster_ != null; } /** - * - * *
    * Required. The specification of the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The attachedCluster. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedCluster getAttachedCluster() { - return attachedCluster_ == null - ? com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance() - : attachedCluster_; + return attachedCluster_ == null ? com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance() : attachedCluster_; } /** - * - * *
    * Required. The specification of the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder getAttachedClusterOrBuilder() { - return attachedCluster_ == null - ? com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance() - : attachedCluster_; + return attachedCluster_ == null ? com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance() : attachedCluster_; } public static final int ATTACHED_CLUSTER_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object attachedClusterId_ = ""; /** - * - * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -211,7 +163,6 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder getAttachedClu
    * 
* * string attached_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The attachedClusterId. */ @java.lang.Override @@ -220,15 +171,14 @@ public java.lang.String getAttachedClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attachedClusterId_ = s; return s; } } /** - * - * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -242,15 +192,16 @@ public java.lang.String getAttachedClusterId() {
    * 
* * string attached_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for attachedClusterId. */ @java.lang.Override - public com.google.protobuf.ByteString getAttachedClusterIdBytes() { + public com.google.protobuf.ByteString + getAttachedClusterIdBytes() { java.lang.Object ref = attachedClusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); attachedClusterId_ = b; return b; } else { @@ -261,14 +212,11 @@ public com.google.protobuf.ByteString getAttachedClusterIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * If set, only validate the request, but do not actually create the cluster.
    * 
* * bool validate_only = 4; - * * @return The validateOnly. */ @java.lang.Override @@ -277,7 +225,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -289,7 +236,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -315,13 +263,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (attachedCluster_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAttachedCluster()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAttachedCluster()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attachedClusterId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, attachedClusterId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -331,21 +281,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest other = - (com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest) obj; + com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest other = (com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasAttachedCluster() != other.hasAttachedCluster()) return false; if (hasAttachedCluster()) { - if (!getAttachedCluster().equals(other.getAttachedCluster())) return false; + if (!getAttachedCluster() + .equals(other.getAttachedCluster())) return false; } - if (!getAttachedClusterId().equals(other.getAttachedClusterId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getAttachedClusterId() + .equals(other.getAttachedClusterId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -366,143 +319,139 @@ public int hashCode() { hash = (37 * hash) + ATTACHED_CLUSTER_ID_FIELD_NUMBER; hash = (53 * hash) + getAttachedClusterId().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `AttachedClusters.CreateAttachedCluster` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest) com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_CreateAttachedClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAttachedClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_CreateAttachedClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAttachedClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest.class, - com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest.class, com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -519,14 +468,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_CreateAttachedClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAttachedClusterRequest_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest - getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest.getDefaultInstance(); } @@ -541,24 +489,21 @@ public com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest result = - new com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest result = new com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest result) { + private void buildPartial0(com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.attachedCluster_ = - attachedClusterBuilder_ == null ? attachedCluster_ : attachedClusterBuilder_.build(); + result.attachedCluster_ = attachedClusterBuilder_ == null + ? attachedCluster_ + : attachedClusterBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.attachedClusterId_ = attachedClusterId_; @@ -572,39 +517,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -612,9 +556,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest other) { - if (other - == com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -657,37 +599,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getAttachedClusterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - attachedClusterId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getAttachedClusterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + attachedClusterId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -697,13 +636,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent location where this
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -715,16 +651,14 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -733,8 +667,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent location where this
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -746,17 +678,16 @@ public java.lang.String getParent() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -764,8 +695,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent location where this
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -777,25 +706,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent location where this
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -807,10 +730,7 @@ public Builder setParent(java.lang.String value) {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -820,8 +740,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent location where this
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -833,17 +751,13 @@ public Builder clearParent() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -853,61 +767,42 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.gkemulticloud.v1.AttachedCluster attachedCluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedCluster, - com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder, - com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder> - attachedClusterBuilder_; + com.google.cloud.gkemulticloud.v1.AttachedCluster, com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder> attachedClusterBuilder_; /** - * - * *
      * Required. The specification of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the attachedCluster field is set. */ public boolean hasAttachedCluster() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The specification of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The attachedCluster. */ public com.google.cloud.gkemulticloud.v1.AttachedCluster getAttachedCluster() { if (attachedClusterBuilder_ == null) { - return attachedCluster_ == null - ? com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance() - : attachedCluster_; + return attachedCluster_ == null ? com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance() : attachedCluster_; } else { return attachedClusterBuilder_.getMessage(); } } /** - * - * *
      * Required. The specification of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAttachedCluster(com.google.cloud.gkemulticloud.v1.AttachedCluster value) { if (attachedClusterBuilder_ == null) { @@ -923,16 +818,12 @@ public Builder setAttachedCluster(com.google.cloud.gkemulticloud.v1.AttachedClus return this; } /** - * - * *
      * Required. The specification of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAttachedCluster( com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder builderForValue) { @@ -946,23 +837,18 @@ public Builder setAttachedCluster( return this; } /** - * - * *
      * Required. The specification of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAttachedCluster(com.google.cloud.gkemulticloud.v1.AttachedCluster value) { if (attachedClusterBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && attachedCluster_ != null - && attachedCluster_ - != com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + attachedCluster_ != null && + attachedCluster_ != com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance()) { getAttachedClusterBuilder().mergeFrom(value); } else { attachedCluster_ = value; @@ -975,16 +861,12 @@ public Builder mergeAttachedCluster(com.google.cloud.gkemulticloud.v1.AttachedCl return this; } /** - * - * *
      * Required. The specification of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAttachedCluster() { bitField0_ = (bitField0_ & ~0x00000002); @@ -997,16 +879,12 @@ public Builder clearAttachedCluster() { return this; } /** - * - * *
      * Required. The specification of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder getAttachedClusterBuilder() { bitField0_ |= 0x00000002; @@ -1014,51 +892,38 @@ public com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder getAttachedClus return getAttachedClusterFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The specification of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder - getAttachedClusterOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder getAttachedClusterOrBuilder() { if (attachedClusterBuilder_ != null) { return attachedClusterBuilder_.getMessageOrBuilder(); } else { - return attachedCluster_ == null - ? com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance() - : attachedCluster_; + return attachedCluster_ == null ? + com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance() : attachedCluster_; } } /** - * - * *
      * Required. The specification of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedCluster, - com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder, - com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder> + com.google.cloud.gkemulticloud.v1.AttachedCluster, com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder> getAttachedClusterFieldBuilder() { if (attachedClusterBuilder_ == null) { - attachedClusterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedCluster, - com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder, - com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder>( - getAttachedCluster(), getParentForChildren(), isClean()); + attachedClusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AttachedCluster, com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder>( + getAttachedCluster(), + getParentForChildren(), + isClean()); attachedCluster_ = null; } return attachedClusterBuilder_; @@ -1066,8 +931,6 @@ public com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder getAttachedClus private java.lang.Object attachedClusterId_ = ""; /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1081,13 +944,13 @@ public com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder getAttachedClus
      * 
* * string attached_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The attachedClusterId. */ public java.lang.String getAttachedClusterId() { java.lang.Object ref = attachedClusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attachedClusterId_ = s; return s; @@ -1096,8 +959,6 @@ public java.lang.String getAttachedClusterId() { } } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1111,14 +972,15 @@ public java.lang.String getAttachedClusterId() {
      * 
* * string attached_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for attachedClusterId. */ - public com.google.protobuf.ByteString getAttachedClusterIdBytes() { + public com.google.protobuf.ByteString + getAttachedClusterIdBytes() { java.lang.Object ref = attachedClusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); attachedClusterId_ = b; return b; } else { @@ -1126,8 +988,6 @@ public com.google.protobuf.ByteString getAttachedClusterIdBytes() { } } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1141,22 +1001,18 @@ public com.google.protobuf.ByteString getAttachedClusterIdBytes() {
      * 
* * string attached_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The attachedClusterId to set. * @return This builder for chaining. */ - public Builder setAttachedClusterId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAttachedClusterId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } attachedClusterId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1170,7 +1026,6 @@ public Builder setAttachedClusterId(java.lang.String value) {
      * 
* * string attached_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAttachedClusterId() { @@ -1180,8 +1035,6 @@ public Builder clearAttachedClusterId() { return this; } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1195,14 +1048,12 @@ public Builder clearAttachedClusterId() {
      * 
* * string attached_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for attachedClusterId to set. * @return This builder for chaining. */ - public Builder setAttachedClusterIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAttachedClusterIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); attachedClusterId_ = value; bitField0_ |= 0x00000004; @@ -1210,16 +1061,13 @@ public Builder setAttachedClusterIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * If set, only validate the request, but do not actually create the cluster.
      * 
* * bool validate_only = 4; - * * @return The validateOnly. */ @java.lang.Override @@ -1227,14 +1075,11 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * If set, only validate the request, but do not actually create the cluster.
      * 
* * bool validate_only = 4; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1246,14 +1091,11 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * If set, only validate the request, but do not actually create the cluster.
      * 
* * bool validate_only = 4; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1262,9 +1104,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1274,43 +1116,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest) - private static final com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest(); } - public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest - getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAttachedClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAttachedClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1322,8 +1162,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest - getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAttachedClusterRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAttachedClusterRequestOrBuilder.java similarity index 68% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAttachedClusterRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAttachedClusterRequestOrBuilder.java index fbe1f6962d1c..18031ed9a8d2 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAttachedClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAttachedClusterRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; -public interface CreateAttachedClusterRequestOrBuilder - extends +public interface CreateAttachedClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent location where this
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -37,16 +19,11 @@ public interface CreateAttachedClusterRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent location where this
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -58,61 +35,43 @@ public interface CreateAttachedClusterRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The specification of the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the attachedCluster field is set. */ boolean hasAttachedCluster(); /** - * - * *
    * Required. The specification of the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The attachedCluster. */ com.google.cloud.gkemulticloud.v1.AttachedCluster getAttachedCluster(); /** - * - * *
    * Required. The specification of the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder getAttachedClusterOrBuilder(); /** - * - * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -126,13 +85,10 @@ public interface CreateAttachedClusterRequestOrBuilder
    * 
* * string attached_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The attachedClusterId. */ java.lang.String getAttachedClusterId(); /** - * - * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -146,20 +102,17 @@ public interface CreateAttachedClusterRequestOrBuilder
    * 
* * string attached_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for attachedClusterId. */ - com.google.protobuf.ByteString getAttachedClusterIdBytes(); + com.google.protobuf.ByteString + getAttachedClusterIdBytes(); /** - * - * *
    * If set, only validate the request, but do not actually create the cluster.
    * 
* * bool validate_only = 4; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequest.java similarity index 68% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequest.java index 0dd2c9027fa2..fd5d0044c8f2 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Request message for `AwsClusters.CreateAwsCluster` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.CreateAwsClusterRequest} */ -public final class CreateAwsClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateAwsClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.CreateAwsClusterRequest) CreateAwsClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateAwsClusterRequest.newBuilder() to construct. private CreateAwsClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateAwsClusterRequest() { parent_ = ""; awsClusterId_ = ""; @@ -44,32 +26,28 @@ private CreateAwsClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateAwsClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest.class, - com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest.class, com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The parent location where this
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will be
@@ -81,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -93,15 +68,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent location where this
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will be
@@ -113,18 +87,17 @@ public java.lang.String getParent() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -135,17 +108,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int AWS_CLUSTER_FIELD_NUMBER = 2; private com.google.cloud.gkemulticloud.v1.AwsCluster awsCluster_; /** - * - * *
    * Required. The specification of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the awsCluster field is set. */ @java.lang.Override @@ -153,51 +121,35 @@ public boolean hasAwsCluster() { return awsCluster_ != null; } /** - * - * *
    * Required. The specification of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The awsCluster. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsCluster getAwsCluster() { - return awsCluster_ == null - ? com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance() - : awsCluster_; + return awsCluster_ == null ? com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance() : awsCluster_; } /** - * - * *
    * Required. The specification of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClusterOrBuilder() { - return awsCluster_ == null - ? com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance() - : awsCluster_; + return awsCluster_ == null ? com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance() : awsCluster_; } public static final int AWS_CLUSTER_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object awsClusterId_ = ""; /** - * - * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -211,7 +163,6 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClusterOrBuil
    * 
* * string aws_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The awsClusterId. */ @java.lang.Override @@ -220,15 +171,14 @@ public java.lang.String getAwsClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); awsClusterId_ = s; return s; } } /** - * - * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -242,15 +192,16 @@ public java.lang.String getAwsClusterId() {
    * 
* * string aws_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for awsClusterId. */ @java.lang.Override - public com.google.protobuf.ByteString getAwsClusterIdBytes() { + public com.google.protobuf.ByteString + getAwsClusterIdBytes() { java.lang.Object ref = awsClusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); awsClusterId_ = b; return b; } else { @@ -261,14 +212,11 @@ public com.google.protobuf.ByteString getAwsClusterIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * If set, only validate the request, but do not actually create the cluster.
    * 
* * bool validate_only = 4; - * * @return The validateOnly. */ @java.lang.Override @@ -277,7 +225,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -289,7 +236,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -315,13 +263,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (awsCluster_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAwsCluster()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAwsCluster()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsClusterId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, awsClusterId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -331,21 +281,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest other = - (com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest) obj; + com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest other = (com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasAwsCluster() != other.hasAwsCluster()) return false; if (hasAwsCluster()) { - if (!getAwsCluster().equals(other.getAwsCluster())) return false; + if (!getAwsCluster() + .equals(other.getAwsCluster())) return false; } - if (!getAwsClusterId().equals(other.getAwsClusterId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getAwsClusterId() + .equals(other.getAwsClusterId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -366,143 +319,139 @@ public int hashCode() { hash = (37 * hash) + AWS_CLUSTER_ID_FIELD_NUMBER; hash = (53 * hash) + getAwsClusterId().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `AwsClusters.CreateAwsCluster` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.CreateAwsClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.CreateAwsClusterRequest) com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest.class, - com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest.class, com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -519,9 +468,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_descriptor; } @java.lang.Override @@ -540,11 +489,8 @@ public com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest result = - new com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest result = new com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -555,7 +501,9 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.CreateAwsClusterReq result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.awsCluster_ = awsClusterBuilder_ == null ? awsCluster_ : awsClusterBuilder_.build(); + result.awsCluster_ = awsClusterBuilder_ == null + ? awsCluster_ + : awsClusterBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.awsClusterId_ = awsClusterId_; @@ -569,39 +517,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.CreateAwsClusterReq public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -609,8 +556,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -653,37 +599,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getAwsClusterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - awsClusterId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getAwsClusterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + awsClusterId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -693,13 +636,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent location where this
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will be
@@ -711,16 +651,14 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -729,8 +667,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent location where this
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will be
@@ -742,17 +678,16 @@ public java.lang.String getParent() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -760,8 +695,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent location where this
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will be
@@ -773,25 +706,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent location where this
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will be
@@ -803,10 +730,7 @@ public Builder setParent(java.lang.String value) {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -816,8 +740,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent location where this
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will be
@@ -829,17 +751,13 @@ public Builder clearParent() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -849,61 +767,42 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.gkemulticloud.v1.AwsCluster awsCluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsCluster, - com.google.cloud.gkemulticloud.v1.AwsCluster.Builder, - com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder> - awsClusterBuilder_; + com.google.cloud.gkemulticloud.v1.AwsCluster, com.google.cloud.gkemulticloud.v1.AwsCluster.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder> awsClusterBuilder_; /** - * - * *
      * Required. The specification of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the awsCluster field is set. */ public boolean hasAwsCluster() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The specification of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The awsCluster. */ public com.google.cloud.gkemulticloud.v1.AwsCluster getAwsCluster() { if (awsClusterBuilder_ == null) { - return awsCluster_ == null - ? com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance() - : awsCluster_; + return awsCluster_ == null ? com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance() : awsCluster_; } else { return awsClusterBuilder_.getMessage(); } } /** - * - * *
      * Required. The specification of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAwsCluster(com.google.cloud.gkemulticloud.v1.AwsCluster value) { if (awsClusterBuilder_ == null) { @@ -919,16 +818,12 @@ public Builder setAwsCluster(com.google.cloud.gkemulticloud.v1.AwsCluster value) return this; } /** - * - * *
      * Required. The specification of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAwsCluster( com.google.cloud.gkemulticloud.v1.AwsCluster.Builder builderForValue) { @@ -942,22 +837,18 @@ public Builder setAwsCluster( return this; } /** - * - * *
      * Required. The specification of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAwsCluster(com.google.cloud.gkemulticloud.v1.AwsCluster value) { if (awsClusterBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && awsCluster_ != null - && awsCluster_ != com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + awsCluster_ != null && + awsCluster_ != com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance()) { getAwsClusterBuilder().mergeFrom(value); } else { awsCluster_ = value; @@ -970,16 +861,12 @@ public Builder mergeAwsCluster(com.google.cloud.gkemulticloud.v1.AwsCluster valu return this; } /** - * - * *
      * Required. The specification of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAwsCluster() { bitField0_ = (bitField0_ & ~0x00000002); @@ -992,16 +879,12 @@ public Builder clearAwsCluster() { return this; } /** - * - * *
      * Required. The specification of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AwsCluster.Builder getAwsClusterBuilder() { bitField0_ |= 0x00000002; @@ -1009,50 +892,38 @@ public com.google.cloud.gkemulticloud.v1.AwsCluster.Builder getAwsClusterBuilder return getAwsClusterFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The specification of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClusterOrBuilder() { if (awsClusterBuilder_ != null) { return awsClusterBuilder_.getMessageOrBuilder(); } else { - return awsCluster_ == null - ? com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance() - : awsCluster_; + return awsCluster_ == null ? + com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance() : awsCluster_; } } /** - * - * *
      * Required. The specification of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsCluster, - com.google.cloud.gkemulticloud.v1.AwsCluster.Builder, - com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsCluster, com.google.cloud.gkemulticloud.v1.AwsCluster.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder> getAwsClusterFieldBuilder() { if (awsClusterBuilder_ == null) { - awsClusterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsCluster, - com.google.cloud.gkemulticloud.v1.AwsCluster.Builder, - com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder>( - getAwsCluster(), getParentForChildren(), isClean()); + awsClusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsCluster, com.google.cloud.gkemulticloud.v1.AwsCluster.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder>( + getAwsCluster(), + getParentForChildren(), + isClean()); awsCluster_ = null; } return awsClusterBuilder_; @@ -1060,8 +931,6 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClusterOrBuil private java.lang.Object awsClusterId_ = ""; /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1075,13 +944,13 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClusterOrBuil
      * 
* * string aws_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The awsClusterId. */ public java.lang.String getAwsClusterId() { java.lang.Object ref = awsClusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); awsClusterId_ = s; return s; @@ -1090,8 +959,6 @@ public java.lang.String getAwsClusterId() { } } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1105,14 +972,15 @@ public java.lang.String getAwsClusterId() {
      * 
* * string aws_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for awsClusterId. */ - public com.google.protobuf.ByteString getAwsClusterIdBytes() { + public com.google.protobuf.ByteString + getAwsClusterIdBytes() { java.lang.Object ref = awsClusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); awsClusterId_ = b; return b; } else { @@ -1120,8 +988,6 @@ public com.google.protobuf.ByteString getAwsClusterIdBytes() { } } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1135,22 +1001,18 @@ public com.google.protobuf.ByteString getAwsClusterIdBytes() {
      * 
* * string aws_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The awsClusterId to set. * @return This builder for chaining. */ - public Builder setAwsClusterId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAwsClusterId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } awsClusterId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1164,7 +1026,6 @@ public Builder setAwsClusterId(java.lang.String value) {
      * 
* * string aws_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAwsClusterId() { @@ -1174,8 +1035,6 @@ public Builder clearAwsClusterId() { return this; } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1189,14 +1048,12 @@ public Builder clearAwsClusterId() {
      * 
* * string aws_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for awsClusterId to set. * @return This builder for chaining. */ - public Builder setAwsClusterIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAwsClusterIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); awsClusterId_ = value; bitField0_ |= 0x00000004; @@ -1204,16 +1061,13 @@ public Builder setAwsClusterIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * If set, only validate the request, but do not actually create the cluster.
      * 
* * bool validate_only = 4; - * * @return The validateOnly. */ @java.lang.Override @@ -1221,14 +1075,11 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * If set, only validate the request, but do not actually create the cluster.
      * 
* * bool validate_only = 4; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1240,14 +1091,11 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * If set, only validate the request, but do not actually create the cluster.
      * 
* * bool validate_only = 4; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1256,9 +1104,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1268,12 +1116,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.CreateAwsClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.CreateAwsClusterRequest) private static final com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest(); } @@ -1282,27 +1130,27 @@ public static com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAwsClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAwsClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1317,4 +1165,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequestOrBuilder.java similarity index 68% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequestOrBuilder.java index 8900a166d01e..ad3054535061 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface CreateAwsClusterRequestOrBuilder - extends +public interface CreateAwsClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.CreateAwsClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent location where this
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will be
@@ -37,16 +19,11 @@ public interface CreateAwsClusterRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent location where this
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will be
@@ -58,61 +35,43 @@ public interface CreateAwsClusterRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The specification of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the awsCluster field is set. */ boolean hasAwsCluster(); /** - * - * *
    * Required. The specification of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The awsCluster. */ com.google.cloud.gkemulticloud.v1.AwsCluster getAwsCluster(); /** - * - * *
    * Required. The specification of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClusterOrBuilder(); /** - * - * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -126,13 +85,10 @@ public interface CreateAwsClusterRequestOrBuilder
    * 
* * string aws_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The awsClusterId. */ java.lang.String getAwsClusterId(); /** - * - * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -146,20 +102,17 @@ public interface CreateAwsClusterRequestOrBuilder
    * 
* * string aws_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for awsClusterId. */ - com.google.protobuf.ByteString getAwsClusterIdBytes(); + com.google.protobuf.ByteString + getAwsClusterIdBytes(); /** - * - * *
    * If set, only validate the request, but do not actually create the cluster.
    * 
* * bool validate_only = 4; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequest.java similarity index 68% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequest.java index 9789aaa08088..b2fe0f46b959 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Response message for `AwsClusters.CreateAwsNodePool` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest} */ -public final class CreateAwsNodePoolRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateAwsNodePoolRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest) CreateAwsNodePoolRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateAwsNodePoolRequest.newBuilder() to construct. private CreateAwsNodePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateAwsNodePoolRequest() { parent_ = ""; awsNodePoolId_ = ""; @@ -44,32 +26,28 @@ private CreateAwsNodePoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateAwsNodePoolRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest.class, - com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest.class, com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
    * resource where this node pool will be created.
@@ -81,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -93,15 +68,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
    * resource where this node pool will be created.
@@ -113,18 +87,17 @@ public java.lang.String getParent() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -135,17 +108,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int AWS_NODE_POOL_FIELD_NUMBER = 2; private com.google.cloud.gkemulticloud.v1.AwsNodePool awsNodePool_; /** - * - * *
    * Required. The specification of the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the awsNodePool field is set. */ @java.lang.Override @@ -153,51 +121,35 @@ public boolean hasAwsNodePool() { return awsNodePool_ != null; } /** - * - * *
    * Required. The specification of the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The awsNodePool. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsNodePool getAwsNodePool() { - return awsNodePool_ == null - ? com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance() - : awsNodePool_; + return awsNodePool_ == null ? com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance() : awsNodePool_; } /** - * - * *
    * Required. The specification of the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolOrBuilder() { - return awsNodePool_ == null - ? com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance() - : awsNodePool_; + return awsNodePool_ == null ? com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance() : awsNodePool_; } public static final int AWS_NODE_POOL_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object awsNodePoolId_ = ""; /** - * - * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -211,7 +163,6 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolOrBu
    * 
* * string aws_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The awsNodePoolId. */ @java.lang.Override @@ -220,15 +171,14 @@ public java.lang.String getAwsNodePoolId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); awsNodePoolId_ = s; return s; } } /** - * - * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -242,15 +192,16 @@ public java.lang.String getAwsNodePoolId() {
    * 
* * string aws_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for awsNodePoolId. */ @java.lang.Override - public com.google.protobuf.ByteString getAwsNodePoolIdBytes() { + public com.google.protobuf.ByteString + getAwsNodePoolIdBytes() { java.lang.Object ref = awsNodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); awsNodePoolId_ = b; return b; } else { @@ -261,15 +212,12 @@ public com.google.protobuf.ByteString getAwsNodePoolIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * If set, only validate the request, but do not actually create the node
    * pool.
    * 
* * bool validate_only = 4; - * * @return The validateOnly. */ @java.lang.Override @@ -278,7 +226,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -290,7 +237,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -316,13 +264,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (awsNodePool_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAwsNodePool()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAwsNodePool()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsNodePoolId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, awsNodePoolId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -332,21 +282,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest other = - (com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest) obj; + com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest other = (com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasAwsNodePool() != other.hasAwsNodePool()) return false; if (hasAwsNodePool()) { - if (!getAwsNodePool().equals(other.getAwsNodePool())) return false; + if (!getAwsNodePool() + .equals(other.getAwsNodePool())) return false; } - if (!getAwsNodePoolId().equals(other.getAwsNodePoolId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getAwsNodePoolId() + .equals(other.getAwsNodePoolId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -367,143 +320,139 @@ public int hashCode() { hash = (37 * hash) + AWS_NODE_POOL_ID_FIELD_NUMBER; hash = (53 * hash) + getAwsNodePoolId().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for `AwsClusters.CreateAwsNodePool` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest) com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest.class, - com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest.class, com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -520,9 +469,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_descriptor; } @java.lang.Override @@ -541,11 +490,8 @@ public com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest result = - new com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest result = new com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -556,8 +502,9 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRe result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.awsNodePool_ = - awsNodePoolBuilder_ == null ? awsNodePool_ : awsNodePoolBuilder_.build(); + result.awsNodePool_ = awsNodePoolBuilder_ == null + ? awsNodePool_ + : awsNodePoolBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.awsNodePoolId_ = awsNodePoolId_; @@ -571,39 +518,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest)other); } else { super.mergeFrom(other); return this; @@ -611,8 +557,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -655,37 +600,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getAwsNodePoolFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - awsNodePoolId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getAwsNodePoolFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + awsNodePoolId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -695,13 +637,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
      * resource where this node pool will be created.
@@ -713,16 +652,14 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -731,8 +668,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
      * resource where this node pool will be created.
@@ -744,17 +679,16 @@ public java.lang.String getParent() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -762,8 +696,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
      * resource where this node pool will be created.
@@ -775,25 +707,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
      * resource where this node pool will be created.
@@ -805,10 +731,7 @@ public Builder setParent(java.lang.String value) {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -818,8 +741,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
      * resource where this node pool will be created.
@@ -831,17 +752,13 @@ public Builder clearParent() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -851,61 +768,42 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.gkemulticloud.v1.AwsNodePool awsNodePool_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodePool, - com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder, - com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder> - awsNodePoolBuilder_; + com.google.cloud.gkemulticloud.v1.AwsNodePool, com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder, com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder> awsNodePoolBuilder_; /** - * - * *
      * Required. The specification of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the awsNodePool field is set. */ public boolean hasAwsNodePool() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The specification of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The awsNodePool. */ public com.google.cloud.gkemulticloud.v1.AwsNodePool getAwsNodePool() { if (awsNodePoolBuilder_ == null) { - return awsNodePool_ == null - ? com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance() - : awsNodePool_; + return awsNodePool_ == null ? com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance() : awsNodePool_; } else { return awsNodePoolBuilder_.getMessage(); } } /** - * - * *
      * Required. The specification of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAwsNodePool(com.google.cloud.gkemulticloud.v1.AwsNodePool value) { if (awsNodePoolBuilder_ == null) { @@ -921,16 +819,12 @@ public Builder setAwsNodePool(com.google.cloud.gkemulticloud.v1.AwsNodePool valu return this; } /** - * - * *
      * Required. The specification of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAwsNodePool( com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder builderForValue) { @@ -944,22 +838,18 @@ public Builder setAwsNodePool( return this; } /** - * - * *
      * Required. The specification of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAwsNodePool(com.google.cloud.gkemulticloud.v1.AwsNodePool value) { if (awsNodePoolBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && awsNodePool_ != null - && awsNodePool_ != com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + awsNodePool_ != null && + awsNodePool_ != com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance()) { getAwsNodePoolBuilder().mergeFrom(value); } else { awsNodePool_ = value; @@ -972,16 +862,12 @@ public Builder mergeAwsNodePool(com.google.cloud.gkemulticloud.v1.AwsNodePool va return this; } /** - * - * *
      * Required. The specification of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAwsNodePool() { bitField0_ = (bitField0_ & ~0x00000002); @@ -994,16 +880,12 @@ public Builder clearAwsNodePool() { return this; } /** - * - * *
      * Required. The specification of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder getAwsNodePoolBuilder() { bitField0_ |= 0x00000002; @@ -1011,50 +893,38 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder getAwsNodePoolBuild return getAwsNodePoolFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The specification of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolOrBuilder() { if (awsNodePoolBuilder_ != null) { return awsNodePoolBuilder_.getMessageOrBuilder(); } else { - return awsNodePool_ == null - ? com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance() - : awsNodePool_; + return awsNodePool_ == null ? + com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance() : awsNodePool_; } } /** - * - * *
      * Required. The specification of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodePool, - com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder, - com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsNodePool, com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder, com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder> getAwsNodePoolFieldBuilder() { if (awsNodePoolBuilder_ == null) { - awsNodePoolBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodePool, - com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder, - com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder>( - getAwsNodePool(), getParentForChildren(), isClean()); + awsNodePoolBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsNodePool, com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder, com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder>( + getAwsNodePool(), + getParentForChildren(), + isClean()); awsNodePool_ = null; } return awsNodePoolBuilder_; @@ -1062,8 +932,6 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolOrBu private java.lang.Object awsNodePoolId_ = ""; /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1077,13 +945,13 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolOrBu
      * 
* * string aws_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The awsNodePoolId. */ public java.lang.String getAwsNodePoolId() { java.lang.Object ref = awsNodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); awsNodePoolId_ = s; return s; @@ -1092,8 +960,6 @@ public java.lang.String getAwsNodePoolId() { } } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1107,14 +973,15 @@ public java.lang.String getAwsNodePoolId() {
      * 
* * string aws_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for awsNodePoolId. */ - public com.google.protobuf.ByteString getAwsNodePoolIdBytes() { + public com.google.protobuf.ByteString + getAwsNodePoolIdBytes() { java.lang.Object ref = awsNodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); awsNodePoolId_ = b; return b; } else { @@ -1122,8 +989,6 @@ public com.google.protobuf.ByteString getAwsNodePoolIdBytes() { } } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1137,22 +1002,18 @@ public com.google.protobuf.ByteString getAwsNodePoolIdBytes() {
      * 
* * string aws_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The awsNodePoolId to set. * @return This builder for chaining. */ - public Builder setAwsNodePoolId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAwsNodePoolId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } awsNodePoolId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1166,7 +1027,6 @@ public Builder setAwsNodePoolId(java.lang.String value) {
      * 
* * string aws_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAwsNodePoolId() { @@ -1176,8 +1036,6 @@ public Builder clearAwsNodePoolId() { return this; } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1191,14 +1049,12 @@ public Builder clearAwsNodePoolId() {
      * 
* * string aws_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for awsNodePoolId to set. * @return This builder for chaining. */ - public Builder setAwsNodePoolIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAwsNodePoolIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); awsNodePoolId_ = value; bitField0_ |= 0x00000004; @@ -1206,17 +1062,14 @@ public Builder setAwsNodePoolIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * If set, only validate the request, but do not actually create the node
      * pool.
      * 
* * bool validate_only = 4; - * * @return The validateOnly. */ @java.lang.Override @@ -1224,15 +1077,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * If set, only validate the request, but do not actually create the node
      * pool.
      * 
* * bool validate_only = 4; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1244,15 +1094,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * If set, only validate the request, but do not actually create the node
      * pool.
      * 
* * bool validate_only = 4; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1261,9 +1108,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1273,12 +1120,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest) private static final com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest(); } @@ -1287,27 +1134,27 @@ public static com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAwsNodePoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAwsNodePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1322,4 +1169,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequestOrBuilder.java similarity index 69% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequestOrBuilder.java index 640d634803c3..2a3dcbe48775 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface CreateAwsNodePoolRequestOrBuilder - extends +public interface CreateAwsNodePoolRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
    * resource where this node pool will be created.
@@ -37,16 +19,11 @@ public interface CreateAwsNodePoolRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
    * resource where this node pool will be created.
@@ -58,61 +35,43 @@ public interface CreateAwsNodePoolRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The specification of the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the awsNodePool field is set. */ boolean hasAwsNodePool(); /** - * - * *
    * Required. The specification of the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The awsNodePool. */ com.google.cloud.gkemulticloud.v1.AwsNodePool getAwsNodePool(); /** - * - * *
    * Required. The specification of the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolOrBuilder(); /** - * - * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -126,13 +85,10 @@ public interface CreateAwsNodePoolRequestOrBuilder
    * 
* * string aws_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The awsNodePoolId. */ java.lang.String getAwsNodePoolId(); /** - * - * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -146,21 +102,18 @@ public interface CreateAwsNodePoolRequestOrBuilder
    * 
* * string aws_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for awsNodePoolId. */ - com.google.protobuf.ByteString getAwsNodePoolIdBytes(); + com.google.protobuf.ByteString + getAwsNodePoolIdBytes(); /** - * - * *
    * If set, only validate the request, but do not actually create the node
    * pool.
    * 
* * bool validate_only = 4; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequest.java similarity index 69% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequest.java index ef6cfd6ccaf0..05c5099ebcc4 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Request message for `AzureClusters.CreateAzureClient` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.CreateAzureClientRequest} */ -public final class CreateAzureClientRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateAzureClientRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.CreateAzureClientRequest) CreateAzureClientRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateAzureClientRequest.newBuilder() to construct. private CreateAzureClientRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateAzureClientRequest() { parent_ = ""; azureClientId_ = ""; @@ -44,32 +26,28 @@ private CreateAzureClientRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateAzureClientRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest.class, - com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest.class, com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The parent location where this
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource will be
@@ -81,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -93,15 +68,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent location where this
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource will be
@@ -113,18 +87,17 @@ public java.lang.String getParent() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -135,17 +108,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int AZURE_CLIENT_FIELD_NUMBER = 2; private com.google.cloud.gkemulticloud.v1.AzureClient azureClient_; /** - * - * *
    * Required. The specification of the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the azureClient field is set. */ @java.lang.Override @@ -153,51 +121,35 @@ public boolean hasAzureClient() { return azureClient_ != null; } /** - * - * *
    * Required. The specification of the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The azureClient. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureClient getAzureClient() { - return azureClient_ == null - ? com.google.cloud.gkemulticloud.v1.AzureClient.getDefaultInstance() - : azureClient_; + return azureClient_ == null ? com.google.cloud.gkemulticloud.v1.AzureClient.getDefaultInstance() : azureClient_; } /** - * - * *
    * Required. The specification of the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder getAzureClientOrBuilder() { - return azureClient_ == null - ? com.google.cloud.gkemulticloud.v1.AzureClient.getDefaultInstance() - : azureClient_; + return azureClient_ == null ? com.google.cloud.gkemulticloud.v1.AzureClient.getDefaultInstance() : azureClient_; } public static final int AZURE_CLIENT_ID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object azureClientId_ = ""; /** - * - * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -211,7 +163,6 @@ public com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder getAzureClientOrBu
    * 
* * string azure_client_id = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The azureClientId. */ @java.lang.Override @@ -220,15 +171,14 @@ public java.lang.String getAzureClientId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureClientId_ = s; return s; } } /** - * - * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -242,15 +192,16 @@ public java.lang.String getAzureClientId() {
    * 
* * string azure_client_id = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for azureClientId. */ @java.lang.Override - public com.google.protobuf.ByteString getAzureClientIdBytes() { + public com.google.protobuf.ByteString + getAzureClientIdBytes() { java.lang.Object ref = azureClientId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); azureClientId_ = b; return b; } else { @@ -261,14 +212,11 @@ public com.google.protobuf.ByteString getAzureClientIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** - * - * *
    * If set, only validate the request, but do not actually create the client.
    * 
* * bool validate_only = 3; - * * @return The validateOnly. */ @java.lang.Override @@ -277,7 +225,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -289,7 +236,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -315,10 +263,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (azureClient_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAzureClient()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAzureClient()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(azureClientId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, azureClientId_); @@ -331,21 +281,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest other = - (com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest) obj; + com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest other = (com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasAzureClient() != other.hasAzureClient()) return false; if (hasAzureClient()) { - if (!getAzureClient().equals(other.getAzureClient())) return false; + if (!getAzureClient() + .equals(other.getAzureClient())) return false; } - if (!getAzureClientId().equals(other.getAzureClientId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getAzureClientId() + .equals(other.getAzureClientId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -366,143 +319,139 @@ public int hashCode() { hash = (37 * hash) + AZURE_CLIENT_ID_FIELD_NUMBER; hash = (53 * hash) + getAzureClientId().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `AzureClusters.CreateAzureClient` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.CreateAzureClientRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.CreateAzureClientRequest) com.google.cloud.gkemulticloud.v1.CreateAzureClientRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest.class, - com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest.class, com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -519,9 +468,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_descriptor; } @java.lang.Override @@ -540,11 +489,8 @@ public com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest result = - new com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest result = new com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -555,8 +501,9 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.CreateAzureClientRe result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.azureClient_ = - azureClientBuilder_ == null ? azureClient_ : azureClientBuilder_.build(); + result.azureClient_ = azureClientBuilder_ == null + ? azureClient_ + : azureClientBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.azureClientId_ = azureClientId_; @@ -570,39 +517,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.CreateAzureClientRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest)other); } else { super.mergeFrom(other); return this; @@ -610,8 +556,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -654,37 +599,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getAzureClientFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 24 - case 34: - { - azureClientId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getAzureClientFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 24 + case 34: { + azureClientId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -694,13 +636,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent location where this
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource will be
@@ -712,16 +651,14 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -730,8 +667,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent location where this
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource will be
@@ -743,17 +678,16 @@ public java.lang.String getParent() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -761,8 +695,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent location where this
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource will be
@@ -774,25 +706,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent location where this
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource will be
@@ -804,10 +730,7 @@ public Builder setParent(java.lang.String value) {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -817,8 +740,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent location where this
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource will be
@@ -830,17 +751,13 @@ public Builder clearParent() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -850,61 +767,42 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.gkemulticloud.v1.AzureClient azureClient_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClient, - com.google.cloud.gkemulticloud.v1.AzureClient.Builder, - com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder> - azureClientBuilder_; + com.google.cloud.gkemulticloud.v1.AzureClient, com.google.cloud.gkemulticloud.v1.AzureClient.Builder, com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder> azureClientBuilder_; /** - * - * *
      * Required. The specification of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the azureClient field is set. */ public boolean hasAzureClient() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The specification of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The azureClient. */ public com.google.cloud.gkemulticloud.v1.AzureClient getAzureClient() { if (azureClientBuilder_ == null) { - return azureClient_ == null - ? com.google.cloud.gkemulticloud.v1.AzureClient.getDefaultInstance() - : azureClient_; + return azureClient_ == null ? com.google.cloud.gkemulticloud.v1.AzureClient.getDefaultInstance() : azureClient_; } else { return azureClientBuilder_.getMessage(); } } /** - * - * *
      * Required. The specification of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAzureClient(com.google.cloud.gkemulticloud.v1.AzureClient value) { if (azureClientBuilder_ == null) { @@ -920,16 +818,12 @@ public Builder setAzureClient(com.google.cloud.gkemulticloud.v1.AzureClient valu return this; } /** - * - * *
      * Required. The specification of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAzureClient( com.google.cloud.gkemulticloud.v1.AzureClient.Builder builderForValue) { @@ -943,22 +837,18 @@ public Builder setAzureClient( return this; } /** - * - * *
      * Required. The specification of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAzureClient(com.google.cloud.gkemulticloud.v1.AzureClient value) { if (azureClientBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && azureClient_ != null - && azureClient_ != com.google.cloud.gkemulticloud.v1.AzureClient.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + azureClient_ != null && + azureClient_ != com.google.cloud.gkemulticloud.v1.AzureClient.getDefaultInstance()) { getAzureClientBuilder().mergeFrom(value); } else { azureClient_ = value; @@ -971,16 +861,12 @@ public Builder mergeAzureClient(com.google.cloud.gkemulticloud.v1.AzureClient va return this; } /** - * - * *
      * Required. The specification of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAzureClient() { bitField0_ = (bitField0_ & ~0x00000002); @@ -993,16 +879,12 @@ public Builder clearAzureClient() { return this; } /** - * - * *
      * Required. The specification of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AzureClient.Builder getAzureClientBuilder() { bitField0_ |= 0x00000002; @@ -1010,50 +892,38 @@ public com.google.cloud.gkemulticloud.v1.AzureClient.Builder getAzureClientBuild return getAzureClientFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The specification of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder getAzureClientOrBuilder() { if (azureClientBuilder_ != null) { return azureClientBuilder_.getMessageOrBuilder(); } else { - return azureClient_ == null - ? com.google.cloud.gkemulticloud.v1.AzureClient.getDefaultInstance() - : azureClient_; + return azureClient_ == null ? + com.google.cloud.gkemulticloud.v1.AzureClient.getDefaultInstance() : azureClient_; } } /** - * - * *
      * Required. The specification of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClient, - com.google.cloud.gkemulticloud.v1.AzureClient.Builder, - com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureClient, com.google.cloud.gkemulticloud.v1.AzureClient.Builder, com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder> getAzureClientFieldBuilder() { if (azureClientBuilder_ == null) { - azureClientBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClient, - com.google.cloud.gkemulticloud.v1.AzureClient.Builder, - com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder>( - getAzureClient(), getParentForChildren(), isClean()); + azureClientBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureClient, com.google.cloud.gkemulticloud.v1.AzureClient.Builder, com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder>( + getAzureClient(), + getParentForChildren(), + isClean()); azureClient_ = null; } return azureClientBuilder_; @@ -1061,8 +931,6 @@ public com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder getAzureClientOrBu private java.lang.Object azureClientId_ = ""; /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1076,13 +944,13 @@ public com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder getAzureClientOrBu
      * 
* * string azure_client_id = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The azureClientId. */ public java.lang.String getAzureClientId() { java.lang.Object ref = azureClientId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureClientId_ = s; return s; @@ -1091,8 +959,6 @@ public java.lang.String getAzureClientId() { } } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1106,14 +972,15 @@ public java.lang.String getAzureClientId() {
      * 
* * string azure_client_id = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for azureClientId. */ - public com.google.protobuf.ByteString getAzureClientIdBytes() { + public com.google.protobuf.ByteString + getAzureClientIdBytes() { java.lang.Object ref = azureClientId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); azureClientId_ = b; return b; } else { @@ -1121,8 +988,6 @@ public com.google.protobuf.ByteString getAzureClientIdBytes() { } } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1136,22 +1001,18 @@ public com.google.protobuf.ByteString getAzureClientIdBytes() {
      * 
* * string azure_client_id = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The azureClientId to set. * @return This builder for chaining. */ - public Builder setAzureClientId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAzureClientId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } azureClientId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1165,7 +1026,6 @@ public Builder setAzureClientId(java.lang.String value) {
      * 
* * string azure_client_id = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAzureClientId() { @@ -1175,8 +1035,6 @@ public Builder clearAzureClientId() { return this; } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1190,14 +1048,12 @@ public Builder clearAzureClientId() {
      * 
* * string azure_client_id = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for azureClientId to set. * @return This builder for chaining. */ - public Builder setAzureClientIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAzureClientIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); azureClientId_ = value; bitField0_ |= 0x00000004; @@ -1205,16 +1061,13 @@ public Builder setAzureClientIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * If set, only validate the request, but do not actually create the client.
      * 
* * bool validate_only = 3; - * * @return The validateOnly. */ @java.lang.Override @@ -1222,14 +1075,11 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * If set, only validate the request, but do not actually create the client.
      * 
* * bool validate_only = 3; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1241,14 +1091,11 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * If set, only validate the request, but do not actually create the client.
      * 
* * bool validate_only = 3; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1257,9 +1104,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1269,12 +1116,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.CreateAzureClientRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.CreateAzureClientRequest) private static final com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest(); } @@ -1283,27 +1130,27 @@ public static com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAzureClientRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAzureClientRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1318,4 +1165,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequestOrBuilder.java similarity index 68% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequestOrBuilder.java index af02d7e85f44..87738a802ab6 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface CreateAzureClientRequestOrBuilder - extends +public interface CreateAzureClientRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.CreateAzureClientRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent location where this
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource will be
@@ -37,16 +19,11 @@ public interface CreateAzureClientRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent location where this
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource will be
@@ -58,61 +35,43 @@ public interface CreateAzureClientRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The specification of the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the azureClient field is set. */ boolean hasAzureClient(); /** - * - * *
    * Required. The specification of the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The azureClient. */ com.google.cloud.gkemulticloud.v1.AzureClient getAzureClient(); /** - * - * *
    * Required. The specification of the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder getAzureClientOrBuilder(); /** - * - * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -126,13 +85,10 @@ public interface CreateAzureClientRequestOrBuilder
    * 
* * string azure_client_id = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The azureClientId. */ java.lang.String getAzureClientId(); /** - * - * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -146,20 +102,17 @@ public interface CreateAzureClientRequestOrBuilder
    * 
* * string azure_client_id = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for azureClientId. */ - com.google.protobuf.ByteString getAzureClientIdBytes(); + com.google.protobuf.ByteString + getAzureClientIdBytes(); /** - * - * *
    * If set, only validate the request, but do not actually create the client.
    * 
* * bool validate_only = 3; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequest.java similarity index 68% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequest.java index 86f16e3d498f..d620b3001233 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Request message for `AzureClusters.CreateAzureCluster` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.CreateAzureClusterRequest} */ -public final class CreateAzureClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateAzureClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.CreateAzureClusterRequest) CreateAzureClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateAzureClusterRequest.newBuilder() to construct. private CreateAzureClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateAzureClusterRequest() { parent_ = ""; azureClusterId_ = ""; @@ -44,32 +26,28 @@ private CreateAzureClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateAzureClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest.class, - com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest.class, com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The parent location where this
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be
@@ -81,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -93,15 +68,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent location where this
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be
@@ -113,18 +87,17 @@ public java.lang.String getParent() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -135,17 +108,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int AZURE_CLUSTER_FIELD_NUMBER = 2; private com.google.cloud.gkemulticloud.v1.AzureCluster azureCluster_; /** - * - * *
    * Required. The specification of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the azureCluster field is set. */ @java.lang.Override @@ -153,51 +121,35 @@ public boolean hasAzureCluster() { return azureCluster_ != null; } /** - * - * *
    * Required. The specification of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The azureCluster. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureCluster getAzureCluster() { - return azureCluster_ == null - ? com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance() - : azureCluster_; + return azureCluster_ == null ? com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance() : azureCluster_; } /** - * - * *
    * Required. The specification of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClusterOrBuilder() { - return azureCluster_ == null - ? com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance() - : azureCluster_; + return azureCluster_ == null ? com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance() : azureCluster_; } public static final int AZURE_CLUSTER_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object azureClusterId_ = ""; /** - * - * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -211,7 +163,6 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClusterOr
    * 
* * string azure_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The azureClusterId. */ @java.lang.Override @@ -220,15 +171,14 @@ public java.lang.String getAzureClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureClusterId_ = s; return s; } } /** - * - * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -242,15 +192,16 @@ public java.lang.String getAzureClusterId() {
    * 
* * string azure_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for azureClusterId. */ @java.lang.Override - public com.google.protobuf.ByteString getAzureClusterIdBytes() { + public com.google.protobuf.ByteString + getAzureClusterIdBytes() { java.lang.Object ref = azureClusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); azureClusterId_ = b; return b; } else { @@ -261,14 +212,11 @@ public com.google.protobuf.ByteString getAzureClusterIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * If set, only validate the request, but do not actually create the cluster.
    * 
* * bool validate_only = 4; - * * @return The validateOnly. */ @java.lang.Override @@ -277,7 +225,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -289,7 +236,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -315,13 +263,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (azureCluster_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAzureCluster()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAzureCluster()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(azureClusterId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, azureClusterId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -331,21 +281,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest other = - (com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest) obj; + com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest other = (com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasAzureCluster() != other.hasAzureCluster()) return false; if (hasAzureCluster()) { - if (!getAzureCluster().equals(other.getAzureCluster())) return false; + if (!getAzureCluster() + .equals(other.getAzureCluster())) return false; } - if (!getAzureClusterId().equals(other.getAzureClusterId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getAzureClusterId() + .equals(other.getAzureClusterId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -366,143 +319,139 @@ public int hashCode() { hash = (37 * hash) + AZURE_CLUSTER_ID_FIELD_NUMBER; hash = (53 * hash) + getAzureClusterId().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `AzureClusters.CreateAzureCluster` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.CreateAzureClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.CreateAzureClusterRequest) com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest.class, - com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest.class, com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -519,9 +468,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_descriptor; } @java.lang.Override @@ -540,11 +489,8 @@ public com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest result = - new com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest result = new com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -555,8 +501,9 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.CreateAzureClusterR result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.azureCluster_ = - azureClusterBuilder_ == null ? azureCluster_ : azureClusterBuilder_.build(); + result.azureCluster_ = azureClusterBuilder_ == null + ? azureCluster_ + : azureClusterBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.azureClusterId_ = azureClusterId_; @@ -570,39 +517,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.CreateAzureClusterR public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -610,8 +556,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -654,37 +599,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getAzureClusterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - azureClusterId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getAzureClusterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + azureClusterId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -694,13 +636,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent location where this
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be
@@ -712,16 +651,14 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -730,8 +667,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent location where this
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be
@@ -743,17 +678,16 @@ public java.lang.String getParent() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -761,8 +695,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent location where this
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be
@@ -774,25 +706,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent location where this
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be
@@ -804,10 +730,7 @@ public Builder setParent(java.lang.String value) {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -817,8 +740,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent location where this
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be
@@ -830,17 +751,13 @@ public Builder clearParent() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -850,61 +767,42 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.gkemulticloud.v1.AzureCluster azureCluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureCluster, - com.google.cloud.gkemulticloud.v1.AzureCluster.Builder, - com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder> - azureClusterBuilder_; + com.google.cloud.gkemulticloud.v1.AzureCluster, com.google.cloud.gkemulticloud.v1.AzureCluster.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder> azureClusterBuilder_; /** - * - * *
      * Required. The specification of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the azureCluster field is set. */ public boolean hasAzureCluster() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The specification of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The azureCluster. */ public com.google.cloud.gkemulticloud.v1.AzureCluster getAzureCluster() { if (azureClusterBuilder_ == null) { - return azureCluster_ == null - ? com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance() - : azureCluster_; + return azureCluster_ == null ? com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance() : azureCluster_; } else { return azureClusterBuilder_.getMessage(); } } /** - * - * *
      * Required. The specification of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAzureCluster(com.google.cloud.gkemulticloud.v1.AzureCluster value) { if (azureClusterBuilder_ == null) { @@ -920,16 +818,12 @@ public Builder setAzureCluster(com.google.cloud.gkemulticloud.v1.AzureCluster va return this; } /** - * - * *
      * Required. The specification of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAzureCluster( com.google.cloud.gkemulticloud.v1.AzureCluster.Builder builderForValue) { @@ -943,23 +837,18 @@ public Builder setAzureCluster( return this; } /** - * - * *
      * Required. The specification of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAzureCluster(com.google.cloud.gkemulticloud.v1.AzureCluster value) { if (azureClusterBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && azureCluster_ != null - && azureCluster_ - != com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + azureCluster_ != null && + azureCluster_ != com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance()) { getAzureClusterBuilder().mergeFrom(value); } else { azureCluster_ = value; @@ -972,16 +861,12 @@ public Builder mergeAzureCluster(com.google.cloud.gkemulticloud.v1.AzureCluster return this; } /** - * - * *
      * Required. The specification of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAzureCluster() { bitField0_ = (bitField0_ & ~0x00000002); @@ -994,16 +879,12 @@ public Builder clearAzureCluster() { return this; } /** - * - * *
      * Required. The specification of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AzureCluster.Builder getAzureClusterBuilder() { bitField0_ |= 0x00000002; @@ -1011,50 +892,38 @@ public com.google.cloud.gkemulticloud.v1.AzureCluster.Builder getAzureClusterBui return getAzureClusterFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The specification of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClusterOrBuilder() { if (azureClusterBuilder_ != null) { return azureClusterBuilder_.getMessageOrBuilder(); } else { - return azureCluster_ == null - ? com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance() - : azureCluster_; + return azureCluster_ == null ? + com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance() : azureCluster_; } } /** - * - * *
      * Required. The specification of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureCluster, - com.google.cloud.gkemulticloud.v1.AzureCluster.Builder, - com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureCluster, com.google.cloud.gkemulticloud.v1.AzureCluster.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder> getAzureClusterFieldBuilder() { if (azureClusterBuilder_ == null) { - azureClusterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureCluster, - com.google.cloud.gkemulticloud.v1.AzureCluster.Builder, - com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder>( - getAzureCluster(), getParentForChildren(), isClean()); + azureClusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureCluster, com.google.cloud.gkemulticloud.v1.AzureCluster.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder>( + getAzureCluster(), + getParentForChildren(), + isClean()); azureCluster_ = null; } return azureClusterBuilder_; @@ -1062,8 +931,6 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClusterOr private java.lang.Object azureClusterId_ = ""; /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1077,13 +944,13 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClusterOr
      * 
* * string azure_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The azureClusterId. */ public java.lang.String getAzureClusterId() { java.lang.Object ref = azureClusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureClusterId_ = s; return s; @@ -1092,8 +959,6 @@ public java.lang.String getAzureClusterId() { } } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1107,14 +972,15 @@ public java.lang.String getAzureClusterId() {
      * 
* * string azure_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for azureClusterId. */ - public com.google.protobuf.ByteString getAzureClusterIdBytes() { + public com.google.protobuf.ByteString + getAzureClusterIdBytes() { java.lang.Object ref = azureClusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); azureClusterId_ = b; return b; } else { @@ -1122,8 +988,6 @@ public com.google.protobuf.ByteString getAzureClusterIdBytes() { } } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1137,22 +1001,18 @@ public com.google.protobuf.ByteString getAzureClusterIdBytes() {
      * 
* * string azure_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The azureClusterId to set. * @return This builder for chaining. */ - public Builder setAzureClusterId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAzureClusterId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } azureClusterId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1166,7 +1026,6 @@ public Builder setAzureClusterId(java.lang.String value) {
      * 
* * string azure_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAzureClusterId() { @@ -1176,8 +1035,6 @@ public Builder clearAzureClusterId() { return this; } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1191,14 +1048,12 @@ public Builder clearAzureClusterId() {
      * 
* * string azure_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for azureClusterId to set. * @return This builder for chaining. */ - public Builder setAzureClusterIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAzureClusterIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); azureClusterId_ = value; bitField0_ |= 0x00000004; @@ -1206,16 +1061,13 @@ public Builder setAzureClusterIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * If set, only validate the request, but do not actually create the cluster.
      * 
* * bool validate_only = 4; - * * @return The validateOnly. */ @java.lang.Override @@ -1223,14 +1075,11 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * If set, only validate the request, but do not actually create the cluster.
      * 
* * bool validate_only = 4; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1242,14 +1091,11 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * If set, only validate the request, but do not actually create the cluster.
      * 
* * bool validate_only = 4; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1258,9 +1104,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1270,12 +1116,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.CreateAzureClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.CreateAzureClusterRequest) private static final com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest(); } @@ -1284,27 +1130,27 @@ public static com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAzureClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAzureClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1319,4 +1165,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequestOrBuilder.java similarity index 68% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequestOrBuilder.java index f6d601314263..8daead3b3a05 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface CreateAzureClusterRequestOrBuilder - extends +public interface CreateAzureClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.CreateAzureClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent location where this
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be
@@ -37,16 +19,11 @@ public interface CreateAzureClusterRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent location where this
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be
@@ -58,61 +35,43 @@ public interface CreateAzureClusterRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The specification of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the azureCluster field is set. */ boolean hasAzureCluster(); /** - * - * *
    * Required. The specification of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The azureCluster. */ com.google.cloud.gkemulticloud.v1.AzureCluster getAzureCluster(); /** - * - * *
    * Required. The specification of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClusterOrBuilder(); /** - * - * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -126,13 +85,10 @@ public interface CreateAzureClusterRequestOrBuilder
    * 
* * string azure_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The azureClusterId. */ java.lang.String getAzureClusterId(); /** - * - * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -146,20 +102,17 @@ public interface CreateAzureClusterRequestOrBuilder
    * 
* * string azure_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for azureClusterId. */ - com.google.protobuf.ByteString getAzureClusterIdBytes(); + com.google.protobuf.ByteString + getAzureClusterIdBytes(); /** - * - * *
    * If set, only validate the request, but do not actually create the cluster.
    * 
* * bool validate_only = 4; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequest.java similarity index 66% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequest.java index b4c58b1d7c80..5f34b872fc8a 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Response message for `AzureClusters.CreateAzureNodePool` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest} */ -public final class CreateAzureNodePoolRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateAzureNodePoolRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest) CreateAzureNodePoolRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateAzureNodePoolRequest.newBuilder() to construct. private CreateAzureNodePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateAzureNodePoolRequest() { parent_ = ""; azureNodePoolId_ = ""; @@ -44,46 +26,40 @@ private CreateAzureNodePoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateAzureNodePoolRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest.class, - com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest.class, com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resource where this node pool will be created.
    *
-   * Location names are formatted as `projects/<project-id>/locations/<region>`.
+   * `AzureCluster` names are formatted as
+   * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
    *
    * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -92,37 +68,36 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resource where this node pool will be created.
    *
-   * Location names are formatted as `projects/<project-id>/locations/<region>`.
+   * `AzureCluster` names are formatted as
+   * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
    *
    * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -133,17 +108,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int AZURE_NODE_POOL_FIELD_NUMBER = 2; private com.google.cloud.gkemulticloud.v1.AzureNodePool azureNodePool_; /** - * - * *
    * Required. The specification of the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the azureNodePool field is set. */ @java.lang.Override @@ -151,51 +121,35 @@ public boolean hasAzureNodePool() { return azureNodePool_ != null; } /** - * - * *
    * Required. The specification of the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The azureNodePool. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureNodePool getAzureNodePool() { - return azureNodePool_ == null - ? com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance() - : azureNodePool_; + return azureNodePool_ == null ? com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance() : azureNodePool_; } /** - * - * *
    * Required. The specification of the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePoolOrBuilder() { - return azureNodePool_ == null - ? com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance() - : azureNodePool_; + return azureNodePool_ == null ? com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance() : azureNodePool_; } public static final int AZURE_NODE_POOL_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object azureNodePoolId_ = ""; /** - * - * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -209,7 +163,6 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePool
    * 
* * string azure_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The azureNodePoolId. */ @java.lang.Override @@ -218,15 +171,14 @@ public java.lang.String getAzureNodePoolId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureNodePoolId_ = s; return s; } } /** - * - * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -240,15 +192,16 @@ public java.lang.String getAzureNodePoolId() {
    * 
* * string azure_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for azureNodePoolId. */ @java.lang.Override - public com.google.protobuf.ByteString getAzureNodePoolIdBytes() { + public com.google.protobuf.ByteString + getAzureNodePoolIdBytes() { java.lang.Object ref = azureNodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); azureNodePoolId_ = b; return b; } else { @@ -259,15 +212,12 @@ public com.google.protobuf.ByteString getAzureNodePoolIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * If set, only validate the request, but do not actually create the node
    * pool.
    * 
* * bool validate_only = 4; - * * @return The validateOnly. */ @java.lang.Override @@ -276,7 +226,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -288,7 +237,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -314,13 +264,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (azureNodePool_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAzureNodePool()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAzureNodePool()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(azureNodePoolId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, azureNodePoolId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -330,21 +282,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest other = - (com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest) obj; + com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest other = (com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasAzureNodePool() != other.hasAzureNodePool()) return false; if (hasAzureNodePool()) { - if (!getAzureNodePool().equals(other.getAzureNodePool())) return false; + if (!getAzureNodePool() + .equals(other.getAzureNodePool())) return false; } - if (!getAzureNodePoolId().equals(other.getAzureNodePoolId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getAzureNodePoolId() + .equals(other.getAzureNodePoolId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -365,143 +320,139 @@ public int hashCode() { hash = (37 * hash) + AZURE_NODE_POOL_ID_FIELD_NUMBER; hash = (53 * hash) + getAzureNodePoolId().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for `AzureClusters.CreateAzureNodePool` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest) com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest.class, - com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest.class, com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -518,14 +469,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest - getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest.getDefaultInstance(); } @@ -540,24 +490,21 @@ public com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest result = - new com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest result = new com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest result) { + private void buildPartial0(com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.azureNodePool_ = - azureNodePoolBuilder_ == null ? azureNodePool_ : azureNodePoolBuilder_.build(); + result.azureNodePool_ = azureNodePoolBuilder_ == null + ? azureNodePool_ + : azureNodePoolBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.azureNodePoolId_ = azureNodePoolId_; @@ -571,39 +518,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest)other); } else { super.mergeFrom(other); return this; @@ -611,9 +557,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest other) { - if (other - == com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -656,37 +600,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getAzureNodePoolFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - azureNodePoolId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getAzureNodePoolFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + azureNodePoolId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -696,33 +637,29 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resource where this node pool will be created.
      *
-     * Location names are formatted as `projects/<project-id>/locations/<region>`.
+     * `AzureCluster` names are formatted as
+     * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
      *
      * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -731,29 +668,27 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resource where this node pool will be created.
      *
-     * Location names are formatted as `projects/<project-id>/locations/<region>`.
+     * `AzureCluster` names are formatted as
+     * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
      *
      * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -761,51 +696,42 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resource where this node pool will be created.
      *
-     * Location names are formatted as `projects/<project-id>/locations/<region>`.
+     * `AzureCluster` names are formatted as
+     * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
      *
      * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resource where this node pool will be created.
      *
-     * Location names are formatted as `projects/<project-id>/locations/<region>`.
+     * `AzureCluster` names are formatted as
+     * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
      *
      * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -815,29 +741,24 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resource where this node pool will be created.
      *
-     * Location names are formatted as `projects/<project-id>/locations/<region>`.
+     * `AzureCluster` names are formatted as
+     * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
      *
      * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -847,61 +768,42 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.gkemulticloud.v1.AzureNodePool azureNodePool_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodePool, - com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder, - com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder> - azureNodePoolBuilder_; + com.google.cloud.gkemulticloud.v1.AzureNodePool, com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder, com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder> azureNodePoolBuilder_; /** - * - * *
      * Required. The specification of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the azureNodePool field is set. */ public boolean hasAzureNodePool() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The specification of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The azureNodePool. */ public com.google.cloud.gkemulticloud.v1.AzureNodePool getAzureNodePool() { if (azureNodePoolBuilder_ == null) { - return azureNodePool_ == null - ? com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance() - : azureNodePool_; + return azureNodePool_ == null ? com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance() : azureNodePool_; } else { return azureNodePoolBuilder_.getMessage(); } } /** - * - * *
      * Required. The specification of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAzureNodePool(com.google.cloud.gkemulticloud.v1.AzureNodePool value) { if (azureNodePoolBuilder_ == null) { @@ -917,16 +819,12 @@ public Builder setAzureNodePool(com.google.cloud.gkemulticloud.v1.AzureNodePool return this; } /** - * - * *
      * Required. The specification of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAzureNodePool( com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder builderForValue) { @@ -940,23 +838,18 @@ public Builder setAzureNodePool( return this; } /** - * - * *
      * Required. The specification of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAzureNodePool(com.google.cloud.gkemulticloud.v1.AzureNodePool value) { if (azureNodePoolBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && azureNodePool_ != null - && azureNodePool_ - != com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + azureNodePool_ != null && + azureNodePool_ != com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance()) { getAzureNodePoolBuilder().mergeFrom(value); } else { azureNodePool_ = value; @@ -969,16 +862,12 @@ public Builder mergeAzureNodePool(com.google.cloud.gkemulticloud.v1.AzureNodePoo return this; } /** - * - * *
      * Required. The specification of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAzureNodePool() { bitField0_ = (bitField0_ & ~0x00000002); @@ -991,16 +880,12 @@ public Builder clearAzureNodePool() { return this; } /** - * - * *
      * Required. The specification of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder getAzureNodePoolBuilder() { bitField0_ |= 0x00000002; @@ -1008,50 +893,38 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder getAzureNodePoolB return getAzureNodePoolFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The specification of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePoolOrBuilder() { if (azureNodePoolBuilder_ != null) { return azureNodePoolBuilder_.getMessageOrBuilder(); } else { - return azureNodePool_ == null - ? com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance() - : azureNodePool_; + return azureNodePool_ == null ? + com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance() : azureNodePool_; } } /** - * - * *
      * Required. The specification of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodePool, - com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder, - com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureNodePool, com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder, com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder> getAzureNodePoolFieldBuilder() { if (azureNodePoolBuilder_ == null) { - azureNodePoolBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodePool, - com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder, - com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder>( - getAzureNodePool(), getParentForChildren(), isClean()); + azureNodePoolBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureNodePool, com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder, com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder>( + getAzureNodePool(), + getParentForChildren(), + isClean()); azureNodePool_ = null; } return azureNodePoolBuilder_; @@ -1059,8 +932,6 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePool private java.lang.Object azureNodePoolId_ = ""; /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1074,13 +945,13 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePool
      * 
* * string azure_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The azureNodePoolId. */ public java.lang.String getAzureNodePoolId() { java.lang.Object ref = azureNodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureNodePoolId_ = s; return s; @@ -1089,8 +960,6 @@ public java.lang.String getAzureNodePoolId() { } } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1104,14 +973,15 @@ public java.lang.String getAzureNodePoolId() {
      * 
* * string azure_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for azureNodePoolId. */ - public com.google.protobuf.ByteString getAzureNodePoolIdBytes() { + public com.google.protobuf.ByteString + getAzureNodePoolIdBytes() { java.lang.Object ref = azureNodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); azureNodePoolId_ = b; return b; } else { @@ -1119,8 +989,6 @@ public com.google.protobuf.ByteString getAzureNodePoolIdBytes() { } } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1134,22 +1002,18 @@ public com.google.protobuf.ByteString getAzureNodePoolIdBytes() {
      * 
* * string azure_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The azureNodePoolId to set. * @return This builder for chaining. */ - public Builder setAzureNodePoolId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAzureNodePoolId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } azureNodePoolId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1163,7 +1027,6 @@ public Builder setAzureNodePoolId(java.lang.String value) {
      * 
* * string azure_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAzureNodePoolId() { @@ -1173,8 +1036,6 @@ public Builder clearAzureNodePoolId() { return this; } /** - * - * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1188,14 +1049,12 @@ public Builder clearAzureNodePoolId() {
      * 
* * string azure_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for azureNodePoolId to set. * @return This builder for chaining. */ - public Builder setAzureNodePoolIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAzureNodePoolIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); azureNodePoolId_ = value; bitField0_ |= 0x00000004; @@ -1203,17 +1062,14 @@ public Builder setAzureNodePoolIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * If set, only validate the request, but do not actually create the node
      * pool.
      * 
* * bool validate_only = 4; - * * @return The validateOnly. */ @java.lang.Override @@ -1221,15 +1077,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * If set, only validate the request, but do not actually create the node
      * pool.
      * 
* * bool validate_only = 4; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1241,15 +1094,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * If set, only validate the request, but do not actually create the node
      * pool.
      * 
* * bool validate_only = 4; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1258,9 +1108,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1270,13 +1120,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest) - private static final com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest(); } @@ -1285,27 +1134,27 @@ public static com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAzureNodePoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAzureNodePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1320,4 +1169,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequestOrBuilder.java similarity index 65% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequestOrBuilder.java index 66bd007eb0a9..7d359a9801a3 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequestOrBuilder.java @@ -1,116 +1,77 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface CreateAzureNodePoolRequestOrBuilder - extends +public interface CreateAzureNodePoolRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resource where this node pool will be created.
    *
-   * Location names are formatted as `projects/<project-id>/locations/<region>`.
+   * `AzureCluster` names are formatted as
+   * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
    *
    * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resource where this node pool will be created.
    *
-   * Location names are formatted as `projects/<project-id>/locations/<region>`.
+   * `AzureCluster` names are formatted as
+   * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
    *
    * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The specification of the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the azureNodePool field is set. */ boolean hasAzureNodePool(); /** - * - * *
    * Required. The specification of the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The azureNodePool. */ com.google.cloud.gkemulticloud.v1.AzureNodePool getAzureNodePool(); /** - * - * *
    * Required. The specification of the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePoolOrBuilder(); /** - * - * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -124,13 +85,10 @@ public interface CreateAzureNodePoolRequestOrBuilder
    * 
* * string azure_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The azureNodePoolId. */ java.lang.String getAzureNodePoolId(); /** - * - * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -144,21 +102,18 @@ public interface CreateAzureNodePoolRequestOrBuilder
    * 
* * string azure_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for azureNodePoolId. */ - com.google.protobuf.ByteString getAzureNodePoolIdBytes(); + com.google.protobuf.ByteString + getAzureNodePoolIdBytes(); /** - * - * *
    * If set, only validate the request, but do not actually create the node
    * pool.
    * 
* * bool validate_only = 4; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequest.java similarity index 72% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequest.java index ee5256c2ecef..291896cac72e 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Request message for `AttachedClusters.DeleteAttachedCluster` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest} */ -public final class DeleteAttachedClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteAttachedClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest) DeleteAttachedClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteAttachedClusterRequest.newBuilder() to construct. private DeleteAttachedClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteAttachedClusterRequest() { name_ = ""; etag_ = ""; @@ -44,32 +26,28 @@ private DeleteAttachedClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteAttachedClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_DeleteAttachedClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAttachedClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_DeleteAttachedClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAttachedClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest.class, - com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest.class, com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to delete.
@@ -81,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -93,15 +68,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to delete.
@@ -113,18 +87,17 @@ public java.lang.String getName() {
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -135,14 +108,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; private boolean validateOnly_ = false; /** - * - * *
    * If set, only validate the request, but do not actually delete the resource.
    * 
* * bool validate_only = 2; - * * @return The validateOnly. */ @java.lang.Override @@ -153,8 +123,6 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 3; private boolean allowMissing_ = false; /** - * - * *
    * If set to true, and the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -166,7 +134,6 @@ public boolean getValidateOnly() {
    * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ @java.lang.Override @@ -177,8 +144,6 @@ public boolean getAllowMissing() { public static final int IGNORE_ERRORS_FIELD_NUMBER = 5; private boolean ignoreErrors_ = false; /** - * - * *
    * If set to true, the deletion of
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -187,7 +152,6 @@ public boolean getAllowMissing() {
    * 
* * bool ignore_errors = 5; - * * @return The ignoreErrors. */ @java.lang.Override @@ -196,12 +160,9 @@ public boolean getIgnoreErrors() { } public static final int ETAG_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * The current etag of the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
@@ -213,7 +174,6 @@ public boolean getIgnoreErrors() {
    * 
* * string etag = 4; - * * @return The etag. */ @java.lang.Override @@ -222,15 +182,14 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * The current etag of the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
@@ -242,15 +201,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 4; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -259,7 +219,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -271,7 +230,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -300,16 +260,19 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, allowMissing_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, allowMissing_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, etag_); } if (ignoreErrors_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, ignoreErrors_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, ignoreErrors_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -319,19 +282,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest other = - (com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (getAllowMissing() != other.getAllowMissing()) return false; - if (getIgnoreErrors() != other.getIgnoreErrors()) return false; - if (!getEtag().equals(other.getEtag())) return false; + com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest other = (com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (getAllowMissing() + != other.getAllowMissing()) return false; + if (getIgnoreErrors() + != other.getIgnoreErrors()) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -346,11 +313,14 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowMissing()); hash = (37 * hash) + IGNORE_ERRORS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIgnoreErrors()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIgnoreErrors()); hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -359,136 +329,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `AttachedClusters.DeleteAttachedCluster` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest) com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_DeleteAttachedClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAttachedClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_DeleteAttachedClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAttachedClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest.class, - com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest.class, com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -502,14 +467,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_DeleteAttachedClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAttachedClusterRequest_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest - getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest.getDefaultInstance(); } @@ -524,17 +488,13 @@ public com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest result = - new com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest result = new com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest result) { + private void buildPartial0(com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -557,39 +517,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -597,9 +556,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest other) { - if (other - == com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -645,43 +602,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: - { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 40: - { - ignoreErrors_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 40: { + ignoreErrors_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -691,13 +642,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to delete.
@@ -709,16 +657,14 @@ public Builder mergeFrom(
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -727,8 +673,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to delete.
@@ -740,17 +684,16 @@ public java.lang.String getName() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -758,8 +701,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to delete.
@@ -771,25 +712,19 @@ public com.google.protobuf.ByteString getNameBytes() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to delete.
@@ -801,10 +736,7 @@ public Builder setName(java.lang.String value) {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -814,8 +746,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to delete.
@@ -827,17 +757,13 @@ public Builder clearName() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -845,16 +771,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * If set, only validate the request, but do not actually delete the resource.
      * 
* * bool validate_only = 2; - * * @return The validateOnly. */ @java.lang.Override @@ -862,14 +785,11 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * If set, only validate the request, but do not actually delete the resource.
      * 
* * bool validate_only = 2; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -881,14 +801,11 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * If set, only validate the request, but do not actually delete the resource.
      * 
* * bool validate_only = 2; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -898,10 +815,8 @@ public Builder clearValidateOnly() { return this; } - private boolean allowMissing_; + private boolean allowMissing_ ; /** - * - * *
      * If set to true, and the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -913,7 +828,6 @@ public Builder clearValidateOnly() {
      * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ @java.lang.Override @@ -921,8 +835,6 @@ public boolean getAllowMissing() { return allowMissing_; } /** - * - * *
      * If set to true, and the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -934,7 +846,6 @@ public boolean getAllowMissing() {
      * 
* * bool allow_missing = 3; - * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -946,8 +857,6 @@ public Builder setAllowMissing(boolean value) { return this; } /** - * - * *
      * If set to true, and the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -959,7 +868,6 @@ public Builder setAllowMissing(boolean value) {
      * 
* * bool allow_missing = 3; - * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -969,10 +877,8 @@ public Builder clearAllowMissing() { return this; } - private boolean ignoreErrors_; + private boolean ignoreErrors_ ; /** - * - * *
      * If set to true, the deletion of
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -981,7 +887,6 @@ public Builder clearAllowMissing() {
      * 
* * bool ignore_errors = 5; - * * @return The ignoreErrors. */ @java.lang.Override @@ -989,8 +894,6 @@ public boolean getIgnoreErrors() { return ignoreErrors_; } /** - * - * *
      * If set to true, the deletion of
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -999,7 +902,6 @@ public boolean getIgnoreErrors() {
      * 
* * bool ignore_errors = 5; - * * @param value The ignoreErrors to set. * @return This builder for chaining. */ @@ -1011,8 +913,6 @@ public Builder setIgnoreErrors(boolean value) { return this; } /** - * - * *
      * If set to true, the deletion of
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -1021,7 +921,6 @@ public Builder setIgnoreErrors(boolean value) {
      * 
* * bool ignore_errors = 5; - * * @return This builder for chaining. */ public Builder clearIgnoreErrors() { @@ -1033,8 +932,6 @@ public Builder clearIgnoreErrors() { private java.lang.Object etag_ = ""; /** - * - * *
      * The current etag of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
@@ -1046,13 +943,13 @@ public Builder clearIgnoreErrors() {
      * 
* * string etag = 4; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -1061,8 +958,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * The current etag of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
@@ -1074,14 +969,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 4; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -1089,8 +985,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * The current etag of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
@@ -1102,22 +996,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 4; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The current etag of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
@@ -1129,7 +1019,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 4; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -1139,8 +1028,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * The current etag of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
@@ -1152,23 +1039,21 @@ public Builder clearEtag() {
      * 
* * string etag = 4; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1178,43 +1063,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest) - private static final com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest(); } - public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest - getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAttachedClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAttachedClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1226,8 +1109,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest - getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequestOrBuilder.java similarity index 74% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequestOrBuilder.java index 646ad44f9b66..968f95628e05 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; -public interface DeleteAttachedClusterRequestOrBuilder - extends +public interface DeleteAttachedClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to delete.
@@ -37,16 +19,11 @@ public interface DeleteAttachedClusterRequestOrBuilder
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to delete.
@@ -58,30 +35,23 @@ public interface DeleteAttachedClusterRequestOrBuilder
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * If set, only validate the request, but do not actually delete the resource.
    * 
* * bool validate_only = 2; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * If set to true, and the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -93,14 +63,11 @@ public interface DeleteAttachedClusterRequestOrBuilder
    * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ boolean getAllowMissing(); /** - * - * *
    * If set to true, the deletion of
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -109,14 +76,11 @@ public interface DeleteAttachedClusterRequestOrBuilder
    * 
* * bool ignore_errors = 5; - * * @return The ignoreErrors. */ boolean getIgnoreErrors(); /** - * - * *
    * The current etag of the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
@@ -128,13 +92,10 @@ public interface DeleteAttachedClusterRequestOrBuilder
    * 
* * string etag = 4; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * The current etag of the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
@@ -146,8 +107,8 @@ public interface DeleteAttachedClusterRequestOrBuilder
    * 
* * string etag = 4; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequest.java similarity index 67% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequest.java index f5e3fcdb894b..5a912f2d835b 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Request message for `AwsClusters.DeleteAwsCluster` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest} */ -public final class DeleteAwsClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteAwsClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest) DeleteAwsClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteAwsClusterRequest.newBuilder() to construct. private DeleteAwsClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteAwsClusterRequest() { name_ = ""; etag_ = ""; @@ -44,32 +26,28 @@ private DeleteAwsClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteAwsClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest.class, - com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest.class, com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
@@ -81,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -93,15 +68,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
@@ -113,18 +87,17 @@ public java.lang.String getName() {
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -135,14 +108,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; private boolean validateOnly_ = false; /** - * - * *
    * If set, only validate the request, but do not actually delete the resource.
    * 
* * bool validate_only = 2; - * * @return The validateOnly. */ @java.lang.Override @@ -153,8 +123,6 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 3; private boolean allowMissing_ = false; /** - * - * *
    * If set to true, and the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource is not
@@ -165,7 +133,6 @@ public boolean getValidateOnly() {
    * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ @java.lang.Override @@ -173,13 +140,28 @@ public boolean getAllowMissing() { return allowMissing_; } - public static final int ETAG_FIELD_NUMBER = 4; + public static final int IGNORE_ERRORS_FIELD_NUMBER = 5; + private boolean ignoreErrors_ = false; + /** + *
+   * Optional. If set to true, the deletion of
+   * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will
+   * succeed even if errors occur during deleting in cluster resources. Using
+   * this parameter may result in orphaned resources in the cluster.
+   * 
+ * + * bool ignore_errors = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The ignoreErrors. + */ + @java.lang.Override + public boolean getIgnoreErrors() { + return ignoreErrors_; + } + public static final int ETAG_FIELD_NUMBER = 4; @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * The current etag of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
@@ -191,7 +173,6 @@ public boolean getAllowMissing() {
    * 
* * string etag = 4; - * * @return The etag. */ @java.lang.Override @@ -200,15 +181,14 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * The current etag of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
@@ -220,15 +200,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 4; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -237,7 +218,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,7 +229,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -262,6 +243,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, etag_); } + if (ignoreErrors_ != false) { + output.writeBool(5, ignoreErrors_); + } getUnknownFields().writeTo(output); } @@ -275,14 +259,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, allowMissing_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, allowMissing_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, etag_); } + if (ignoreErrors_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, ignoreErrors_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -291,18 +281,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest other = - (com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (getAllowMissing() != other.getAllowMissing()) return false; - if (!getEtag().equals(other.getEtag())) return false; + com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest other = (com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (getAllowMissing() + != other.getAllowMissing()) return false; + if (getIgnoreErrors() + != other.getIgnoreErrors()) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -317,9 +312,14 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowMissing()); + hash = (37 * hash) + IGNORE_ERRORS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIgnoreErrors()); hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -328,136 +328,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `AwsClusters.DeleteAwsCluster` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest) com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest.class, - com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest.class, com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -465,14 +460,15 @@ public Builder clear() { name_ = ""; validateOnly_ = false; allowMissing_ = false; + ignoreErrors_ = false; etag_ = ""; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_descriptor; } @java.lang.Override @@ -491,11 +487,8 @@ public com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest result = - new com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest result = new com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -512,6 +505,9 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.DeleteAwsClusterReq result.allowMissing_ = allowMissing_; } if (((from_bitField0_ & 0x00000008) != 0)) { + result.ignoreErrors_ = ignoreErrors_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { result.etag_ = etag_; } } @@ -520,39 +516,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.DeleteAwsClusterReq public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -560,8 +555,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -573,9 +567,12 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.DeleteAwsClusterReque if (other.getAllowMissing() != false) { setAllowMissing(other.getAllowMissing()); } + if (other.getIgnoreErrors() != false) { + setIgnoreErrors(other.getIgnoreErrors()); + } if (!other.getEtag().isEmpty()) { etag_ = other.etag_; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); @@ -604,37 +601,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: - { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 40: { + ignoreErrors_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -644,13 +641,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
@@ -662,16 +656,14 @@ public Builder mergeFrom(
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -680,8 +672,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
@@ -693,17 +683,16 @@ public java.lang.String getName() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -711,8 +700,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
@@ -724,25 +711,19 @@ public com.google.protobuf.ByteString getNameBytes() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
@@ -754,10 +735,7 @@ public Builder setName(java.lang.String value) {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -767,8 +745,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
@@ -780,17 +756,13 @@ public Builder clearName() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -798,16 +770,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * If set, only validate the request, but do not actually delete the resource.
      * 
* * bool validate_only = 2; - * * @return The validateOnly. */ @java.lang.Override @@ -815,14 +784,11 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * If set, only validate the request, but do not actually delete the resource.
      * 
* * bool validate_only = 2; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -834,14 +800,11 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * If set, only validate the request, but do not actually delete the resource.
      * 
* * bool validate_only = 2; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -851,10 +814,8 @@ public Builder clearValidateOnly() { return this; } - private boolean allowMissing_; + private boolean allowMissing_ ; /** - * - * *
      * If set to true, and the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource is not
@@ -865,7 +826,6 @@ public Builder clearValidateOnly() {
      * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ @java.lang.Override @@ -873,8 +833,6 @@ public boolean getAllowMissing() { return allowMissing_; } /** - * - * *
      * If set to true, and the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource is not
@@ -885,7 +843,6 @@ public boolean getAllowMissing() {
      * 
* * bool allow_missing = 3; - * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -897,8 +854,6 @@ public Builder setAllowMissing(boolean value) { return this; } /** - * - * *
      * If set to true, and the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource is not
@@ -909,7 +864,6 @@ public Builder setAllowMissing(boolean value) {
      * 
* * bool allow_missing = 3; - * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -919,10 +873,61 @@ public Builder clearAllowMissing() { return this; } - private java.lang.Object etag_ = ""; + private boolean ignoreErrors_ ; + /** + *
+     * Optional. If set to true, the deletion of
+     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will
+     * succeed even if errors occur during deleting in cluster resources. Using
+     * this parameter may result in orphaned resources in the cluster.
+     * 
+ * + * bool ignore_errors = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The ignoreErrors. + */ + @java.lang.Override + public boolean getIgnoreErrors() { + return ignoreErrors_; + } /** + *
+     * Optional. If set to true, the deletion of
+     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will
+     * succeed even if errors occur during deleting in cluster resources. Using
+     * this parameter may result in orphaned resources in the cluster.
+     * 
* + * bool ignore_errors = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The ignoreErrors to set. + * @return This builder for chaining. + */ + public Builder setIgnoreErrors(boolean value) { + + ignoreErrors_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Optional. If set to true, the deletion of
+     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will
+     * succeed even if errors occur during deleting in cluster resources. Using
+     * this parameter may result in orphaned resources in the cluster.
+     * 
* + * bool ignore_errors = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearIgnoreErrors() { + bitField0_ = (bitField0_ & ~0x00000008); + ignoreErrors_ = false; + onChanged(); + return this; + } + + private java.lang.Object etag_ = ""; + /** *
      * The current etag of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
@@ -934,13 +939,13 @@ public Builder clearAllowMissing() {
      * 
* * string etag = 4; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -949,8 +954,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * The current etag of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
@@ -962,14 +965,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 4; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -977,8 +981,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * The current etag of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
@@ -990,22 +992,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 4; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The current etag of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
@@ -1017,18 +1015,15 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 4; - * * @return This builder for chaining. */ public Builder clearEtag() { etag_ = getDefaultInstance().getEtag(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** - * - * *
      * The current etag of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
@@ -1040,23 +1035,21 @@ public Builder clearEtag() {
      * 
* * string etag = 4; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1066,12 +1059,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest) private static final com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest(); } @@ -1080,27 +1073,27 @@ public static com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAwsClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAwsClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1115,4 +1108,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequestOrBuilder.java similarity index 71% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequestOrBuilder.java index d569ef7fa284..52fc94ab9344 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface DeleteAwsClusterRequestOrBuilder - extends +public interface DeleteAwsClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
@@ -37,16 +19,11 @@ public interface DeleteAwsClusterRequestOrBuilder
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
@@ -58,30 +35,23 @@ public interface DeleteAwsClusterRequestOrBuilder
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * If set, only validate the request, but do not actually delete the resource.
    * 
* * bool validate_only = 2; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * If set to true, and the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource is not
@@ -92,14 +62,24 @@ public interface DeleteAwsClusterRequestOrBuilder
    * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ boolean getAllowMissing(); /** + *
+   * Optional. If set to true, the deletion of
+   * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will
+   * succeed even if errors occur during deleting in cluster resources. Using
+   * this parameter may result in orphaned resources in the cluster.
+   * 
* - * + * bool ignore_errors = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The ignoreErrors. + */ + boolean getIgnoreErrors(); + + /** *
    * The current etag of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
@@ -111,13 +91,10 @@ public interface DeleteAwsClusterRequestOrBuilder
    * 
* * string etag = 4; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * The current etag of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
@@ -129,8 +106,8 @@ public interface DeleteAwsClusterRequestOrBuilder
    * 
* * string etag = 4; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequest.java similarity index 67% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequest.java index 9154850ade05..d7c53706c3a6 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Request message for `AwsClusters.DeleteAwsNodePool` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest} */ -public final class DeleteAwsNodePoolRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteAwsNodePoolRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest) DeleteAwsNodePoolRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteAwsNodePoolRequest.newBuilder() to construct. private DeleteAwsNodePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteAwsNodePoolRequest() { name_ = ""; etag_ = ""; @@ -44,32 +26,28 @@ private DeleteAwsNodePoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteAwsNodePoolRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest.class, - com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest.class, com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
@@ -81,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -93,15 +68,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
@@ -113,18 +87,17 @@ public java.lang.String getName() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -135,15 +108,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; private boolean validateOnly_ = false; /** - * - * *
    * If set, only validate the request, but do not actually delete the node
    * pool.
    * 
* * bool validate_only = 2; - * * @return The validateOnly. */ @java.lang.Override @@ -154,8 +124,6 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 3; private boolean allowMissing_ = false; /** - * - * *
    * If set to true, and the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource is not
@@ -166,7 +134,6 @@ public boolean getValidateOnly() {
    * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ @java.lang.Override @@ -174,13 +141,28 @@ public boolean getAllowMissing() { return allowMissing_; } - public static final int ETAG_FIELD_NUMBER = 4; + public static final int IGNORE_ERRORS_FIELD_NUMBER = 5; + private boolean ignoreErrors_ = false; + /** + *
+   * Optional. If set to true, the deletion of
+   * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource will
+   * succeed even if errors occur during deleting in node pool resources. Using
+   * this parameter may result in orphaned resources in the node pool.
+   * 
+ * + * bool ignore_errors = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The ignoreErrors. + */ + @java.lang.Override + public boolean getIgnoreErrors() { + return ignoreErrors_; + } + public static final int ETAG_FIELD_NUMBER = 4; @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * The current ETag of the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
@@ -192,7 +174,6 @@ public boolean getAllowMissing() {
    * 
* * string etag = 4; - * * @return The etag. */ @java.lang.Override @@ -201,15 +182,14 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * The current ETag of the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
@@ -221,15 +201,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 4; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -238,7 +219,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -250,7 +230,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -263,6 +244,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, etag_); } + if (ignoreErrors_ != false) { + output.writeBool(5, ignoreErrors_); + } getUnknownFields().writeTo(output); } @@ -276,14 +260,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, allowMissing_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, allowMissing_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, etag_); } + if (ignoreErrors_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, ignoreErrors_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -292,18 +282,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest other = - (com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (getAllowMissing() != other.getAllowMissing()) return false; - if (!getEtag().equals(other.getEtag())) return false; + com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest other = (com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (getAllowMissing() + != other.getAllowMissing()) return false; + if (getIgnoreErrors() + != other.getIgnoreErrors()) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -318,9 +313,14 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowMissing()); + hash = (37 * hash) + IGNORE_ERRORS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIgnoreErrors()); hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -329,136 +329,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `AwsClusters.DeleteAwsNodePool` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest) com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest.class, - com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest.class, com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -466,14 +461,15 @@ public Builder clear() { name_ = ""; validateOnly_ = false; allowMissing_ = false; + ignoreErrors_ = false; etag_ = ""; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_descriptor; } @java.lang.Override @@ -492,11 +488,8 @@ public com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest result = - new com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest result = new com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -513,6 +506,9 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRe result.allowMissing_ = allowMissing_; } if (((from_bitField0_ & 0x00000008) != 0)) { + result.ignoreErrors_ = ignoreErrors_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { result.etag_ = etag_; } } @@ -521,39 +517,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest)other); } else { super.mergeFrom(other); return this; @@ -561,8 +556,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -574,9 +568,12 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequ if (other.getAllowMissing() != false) { setAllowMissing(other.getAllowMissing()); } + if (other.getIgnoreErrors() != false) { + setIgnoreErrors(other.getIgnoreErrors()); + } if (!other.getEtag().isEmpty()) { etag_ = other.etag_; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); @@ -605,37 +602,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: - { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 40: { + ignoreErrors_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -645,13 +642,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
@@ -663,16 +657,14 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -681,8 +673,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
@@ -694,17 +684,16 @@ public java.lang.String getName() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -712,8 +701,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
@@ -725,25 +712,19 @@ public com.google.protobuf.ByteString getNameBytes() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
@@ -755,10 +736,7 @@ public Builder setName(java.lang.String value) {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -768,8 +746,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
@@ -781,17 +757,13 @@ public Builder clearName() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -799,17 +771,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * If set, only validate the request, but do not actually delete the node
      * pool.
      * 
* * bool validate_only = 2; - * * @return The validateOnly. */ @java.lang.Override @@ -817,15 +786,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * If set, only validate the request, but do not actually delete the node
      * pool.
      * 
* * bool validate_only = 2; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -837,15 +803,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * If set, only validate the request, but do not actually delete the node
      * pool.
      * 
* * bool validate_only = 2; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -855,10 +818,8 @@ public Builder clearValidateOnly() { return this; } - private boolean allowMissing_; + private boolean allowMissing_ ; /** - * - * *
      * If set to true, and the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource is not
@@ -869,7 +830,6 @@ public Builder clearValidateOnly() {
      * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ @java.lang.Override @@ -877,8 +837,6 @@ public boolean getAllowMissing() { return allowMissing_; } /** - * - * *
      * If set to true, and the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource is not
@@ -889,7 +847,6 @@ public boolean getAllowMissing() {
      * 
* * bool allow_missing = 3; - * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -901,8 +858,6 @@ public Builder setAllowMissing(boolean value) { return this; } /** - * - * *
      * If set to true, and the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource is not
@@ -913,7 +868,6 @@ public Builder setAllowMissing(boolean value) {
      * 
* * bool allow_missing = 3; - * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -923,10 +877,61 @@ public Builder clearAllowMissing() { return this; } - private java.lang.Object etag_ = ""; + private boolean ignoreErrors_ ; + /** + *
+     * Optional. If set to true, the deletion of
+     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource will
+     * succeed even if errors occur during deleting in node pool resources. Using
+     * this parameter may result in orphaned resources in the node pool.
+     * 
+ * + * bool ignore_errors = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The ignoreErrors. + */ + @java.lang.Override + public boolean getIgnoreErrors() { + return ignoreErrors_; + } /** + *
+     * Optional. If set to true, the deletion of
+     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource will
+     * succeed even if errors occur during deleting in node pool resources. Using
+     * this parameter may result in orphaned resources in the node pool.
+     * 
* + * bool ignore_errors = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The ignoreErrors to set. + * @return This builder for chaining. + */ + public Builder setIgnoreErrors(boolean value) { + + ignoreErrors_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Optional. If set to true, the deletion of
+     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource will
+     * succeed even if errors occur during deleting in node pool resources. Using
+     * this parameter may result in orphaned resources in the node pool.
+     * 
* + * bool ignore_errors = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearIgnoreErrors() { + bitField0_ = (bitField0_ & ~0x00000008); + ignoreErrors_ = false; + onChanged(); + return this; + } + + private java.lang.Object etag_ = ""; + /** *
      * The current ETag of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
@@ -938,13 +943,13 @@ public Builder clearAllowMissing() {
      * 
* * string etag = 4; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -953,8 +958,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * The current ETag of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
@@ -966,14 +969,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 4; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -981,8 +985,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * The current ETag of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
@@ -994,22 +996,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 4; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The current ETag of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
@@ -1021,18 +1019,15 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 4; - * * @return This builder for chaining. */ public Builder clearEtag() { etag_ = getDefaultInstance().getEtag(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** - * - * *
      * The current ETag of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
@@ -1044,23 +1039,21 @@ public Builder clearEtag() {
      * 
* * string etag = 4; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1070,12 +1063,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest) private static final com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest(); } @@ -1084,27 +1077,27 @@ public static com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAwsNodePoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAwsNodePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1119,4 +1112,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequestOrBuilder.java similarity index 72% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequestOrBuilder.java index 574c7e3463ac..01da18a09a38 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface DeleteAwsNodePoolRequestOrBuilder - extends +public interface DeleteAwsNodePoolRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
@@ -37,16 +19,11 @@ public interface DeleteAwsNodePoolRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
@@ -58,31 +35,24 @@ public interface DeleteAwsNodePoolRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * If set, only validate the request, but do not actually delete the node
    * pool.
    * 
* * bool validate_only = 2; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * If set to true, and the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource is not
@@ -93,14 +63,24 @@ public interface DeleteAwsNodePoolRequestOrBuilder
    * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ boolean getAllowMissing(); /** + *
+   * Optional. If set to true, the deletion of
+   * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource will
+   * succeed even if errors occur during deleting in node pool resources. Using
+   * this parameter may result in orphaned resources in the node pool.
+   * 
* - * + * bool ignore_errors = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The ignoreErrors. + */ + boolean getIgnoreErrors(); + + /** *
    * The current ETag of the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
@@ -112,13 +92,10 @@ public interface DeleteAwsNodePoolRequestOrBuilder
    * 
* * string etag = 4; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * The current ETag of the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
@@ -130,8 +107,8 @@ public interface DeleteAwsNodePoolRequestOrBuilder
    * 
* * string etag = 4; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequest.java similarity index 70% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequest.java index 499ff3a0b32b..b3ffc6f459e5 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequest.java @@ -1,74 +1,52 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Request message for `AzureClusters.DeleteAzureClient` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.DeleteAzureClientRequest} */ -public final class DeleteAzureClientRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteAzureClientRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.DeleteAzureClientRequest) DeleteAzureClientRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteAzureClientRequest.newBuilder() to construct. private DeleteAzureClientRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteAzureClientRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteAzureClientRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest.class, - com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest.class, com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
@@ -81,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -93,15 +68,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
@@ -114,18 +88,17 @@ public java.lang.String getName() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -136,8 +109,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ALLOW_MISSING_FIELD_NUMBER = 2; private boolean allowMissing_ = false; /** - * - * *
    * If set to true, and the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource is not
@@ -148,7 +119,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * bool allow_missing = 2; - * * @return The allowMissing. */ @java.lang.Override @@ -159,14 +129,11 @@ public boolean getAllowMissing() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** - * - * *
    * If set, only validate the request, but do not actually delete the resource.
    * 
* * bool validate_only = 3; - * * @return The validateOnly. */ @java.lang.Override @@ -175,7 +142,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -210,10 +177,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, allowMissing_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, allowMissing_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -223,17 +192,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest other = - (com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest) obj; + com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest other = (com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getAllowMissing() != other.getAllowMissing()) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getName() + .equals(other.getName())) return false; + if (getAllowMissing() + != other.getAllowMissing()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -248,145 +219,142 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowMissing()); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `AzureClusters.DeleteAzureClient` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.DeleteAzureClientRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.DeleteAzureClientRequest) com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest.class, - com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest.class, com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -398,9 +366,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_descriptor; } @java.lang.Override @@ -419,11 +387,8 @@ public com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest result = - new com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest result = new com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -445,39 +410,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.DeleteAzureClientRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest)other); } else { super.mergeFrom(other); return this; @@ -485,8 +449,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -524,31 +487,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -558,13 +517,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
@@ -577,16 +533,14 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -595,8 +549,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
@@ -609,17 +561,16 @@ public java.lang.String getName() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -627,8 +578,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
@@ -641,25 +590,19 @@ public com.google.protobuf.ByteString getNameBytes() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
@@ -672,10 +615,7 @@ public Builder setName(java.lang.String value) {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -685,8 +625,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
@@ -699,17 +637,13 @@ public Builder clearName() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -717,10 +651,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private boolean allowMissing_; + private boolean allowMissing_ ; /** - * - * *
      * If set to true, and the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource is not
@@ -731,7 +663,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * bool allow_missing = 2; - * * @return The allowMissing. */ @java.lang.Override @@ -739,8 +670,6 @@ public boolean getAllowMissing() { return allowMissing_; } /** - * - * *
      * If set to true, and the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource is not
@@ -751,7 +680,6 @@ public boolean getAllowMissing() {
      * 
* * bool allow_missing = 2; - * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -763,8 +691,6 @@ public Builder setAllowMissing(boolean value) { return this; } /** - * - * *
      * If set to true, and the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource is not
@@ -775,7 +701,6 @@ public Builder setAllowMissing(boolean value) {
      * 
* * bool allow_missing = 2; - * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -785,16 +710,13 @@ public Builder clearAllowMissing() { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * If set, only validate the request, but do not actually delete the resource.
      * 
* * bool validate_only = 3; - * * @return The validateOnly. */ @java.lang.Override @@ -802,14 +724,11 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * If set, only validate the request, but do not actually delete the resource.
      * 
* * bool validate_only = 3; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -821,14 +740,11 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * If set, only validate the request, but do not actually delete the resource.
      * 
* * bool validate_only = 3; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -837,9 +753,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -849,12 +765,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.DeleteAzureClientRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.DeleteAzureClientRequest) private static final com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest(); } @@ -863,27 +779,27 @@ public static com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAzureClientRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAzureClientRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -898,4 +814,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequestOrBuilder.java similarity index 66% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequestOrBuilder.java index b69ae98b9d03..5a44c3e470be 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface DeleteAzureClientRequestOrBuilder - extends +public interface DeleteAzureClientRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.DeleteAzureClientRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
@@ -38,16 +20,11 @@ public interface DeleteAzureClientRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
@@ -60,17 +37,13 @@ public interface DeleteAzureClientRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * If set to true, and the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource is not
@@ -81,20 +54,16 @@ public interface DeleteAzureClientRequestOrBuilder
    * 
* * bool allow_missing = 2; - * * @return The allowMissing. */ boolean getAllowMissing(); /** - * - * *
    * If set, only validate the request, but do not actually delete the resource.
    * 
* * bool validate_only = 3; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequest.java similarity index 71% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequest.java index 8bb68a212a8f..a1819ac6b4ec 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
- * Request message for `Clusters.DeleteAzureCluster` method.
+ * Request message for `AzureClusters.DeleteAzureCluster` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest} */ -public final class DeleteAzureClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteAzureClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest) DeleteAzureClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteAzureClusterRequest.newBuilder() to construct. private DeleteAzureClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteAzureClusterRequest() { name_ = ""; etag_ = ""; @@ -44,32 +26,28 @@ private DeleteAzureClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteAzureClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest.class, - com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest.class, com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
@@ -81,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -93,15 +68,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
@@ -113,18 +87,17 @@ public java.lang.String getName() {
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -135,8 +108,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ALLOW_MISSING_FIELD_NUMBER = 2; private boolean allowMissing_ = false; /** - * - * *
    * If set to true, and the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource is not
@@ -147,7 +118,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * bool allow_missing = 2; - * * @return The allowMissing. */ @java.lang.Override @@ -158,14 +128,11 @@ public boolean getAllowMissing() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** - * - * *
    * If set, only validate the request, but do not actually delete the resource.
    * 
* * bool validate_only = 3; - * * @return The validateOnly. */ @java.lang.Override @@ -174,12 +141,9 @@ public boolean getValidateOnly() { } public static final int ETAG_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * The current etag of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
@@ -191,7 +155,6 @@ public boolean getValidateOnly() {
    * 
* * string etag = 4; - * * @return The etag. */ @java.lang.Override @@ -200,15 +163,14 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * The current etag of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
@@ -220,15 +182,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 4; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -237,7 +200,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,7 +211,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -275,10 +238,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, allowMissing_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, allowMissing_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, etag_); @@ -291,18 +256,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest other = - (com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest) obj; + com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest other = (com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getAllowMissing() != other.getAllowMissing()) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (!getEtag().equals(other.getEtag())) return false; + if (!getName() + .equals(other.getName())) return false; + if (getAllowMissing() + != other.getAllowMissing()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -317,9 +285,11 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowMissing()); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -328,136 +298,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Request message for `Clusters.DeleteAzureCluster` method.
+   * Request message for `AzureClusters.DeleteAzureCluster` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest) com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest.class, - com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest.class, com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -470,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_descriptor; } @java.lang.Override @@ -491,11 +456,8 @@ public com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest result = - new com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest result = new com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -520,39 +482,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.DeleteAzureClusterR public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -560,8 +521,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -604,37 +564,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -644,13 +599,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
@@ -662,16 +614,14 @@ public Builder mergeFrom(
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -680,8 +630,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
@@ -693,17 +641,16 @@ public java.lang.String getName() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -711,8 +658,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
@@ -724,25 +669,19 @@ public com.google.protobuf.ByteString getNameBytes() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
@@ -754,10 +693,7 @@ public Builder setName(java.lang.String value) {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -767,8 +703,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
@@ -780,17 +714,13 @@ public Builder clearName() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -798,10 +728,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private boolean allowMissing_; + private boolean allowMissing_ ; /** - * - * *
      * If set to true, and the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource is not
@@ -812,7 +740,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * bool allow_missing = 2; - * * @return The allowMissing. */ @java.lang.Override @@ -820,8 +747,6 @@ public boolean getAllowMissing() { return allowMissing_; } /** - * - * *
      * If set to true, and the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource is not
@@ -832,7 +757,6 @@ public boolean getAllowMissing() {
      * 
* * bool allow_missing = 2; - * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -844,8 +768,6 @@ public Builder setAllowMissing(boolean value) { return this; } /** - * - * *
      * If set to true, and the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource is not
@@ -856,7 +778,6 @@ public Builder setAllowMissing(boolean value) {
      * 
* * bool allow_missing = 2; - * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -866,16 +787,13 @@ public Builder clearAllowMissing() { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * If set, only validate the request, but do not actually delete the resource.
      * 
* * bool validate_only = 3; - * * @return The validateOnly. */ @java.lang.Override @@ -883,14 +801,11 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * If set, only validate the request, but do not actually delete the resource.
      * 
* * bool validate_only = 3; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -902,14 +817,11 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * If set, only validate the request, but do not actually delete the resource.
      * 
* * bool validate_only = 3; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -921,8 +833,6 @@ public Builder clearValidateOnly() { private java.lang.Object etag_ = ""; /** - * - * *
      * The current etag of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
@@ -934,13 +844,13 @@ public Builder clearValidateOnly() {
      * 
* * string etag = 4; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -949,8 +859,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * The current etag of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
@@ -962,14 +870,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 4; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -977,8 +886,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * The current etag of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
@@ -990,22 +897,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 4; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The current etag of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
@@ -1017,7 +920,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 4; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -1027,8 +929,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * The current etag of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
@@ -1040,23 +940,21 @@ public Builder clearEtag() {
      * 
* * string etag = 4; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1066,12 +964,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest) private static final com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest(); } @@ -1080,27 +978,27 @@ public static com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAzureClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAzureClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1115,4 +1013,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequestOrBuilder.java similarity index 72% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequestOrBuilder.java index 3d6918066386..be50f695ddd0 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface DeleteAzureClusterRequestOrBuilder - extends +public interface DeleteAzureClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
@@ -37,16 +19,11 @@ public interface DeleteAzureClusterRequestOrBuilder
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
@@ -58,17 +35,13 @@ public interface DeleteAzureClusterRequestOrBuilder
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * If set to true, and the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource is not
@@ -79,27 +52,21 @@ public interface DeleteAzureClusterRequestOrBuilder
    * 
* * bool allow_missing = 2; - * * @return The allowMissing. */ boolean getAllowMissing(); /** - * - * *
    * If set, only validate the request, but do not actually delete the resource.
    * 
* * bool validate_only = 3; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * The current etag of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
@@ -111,13 +78,10 @@ public interface DeleteAzureClusterRequestOrBuilder
    * 
* * string etag = 4; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * The current etag of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
@@ -129,8 +93,8 @@ public interface DeleteAzureClusterRequestOrBuilder
    * 
* * string etag = 4; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequest.java similarity index 71% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequest.java index 6c5b17a9ce71..0a44dd65ae7a 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
- * Delete message for `AzureClusters.DeleteAzureNodePool` method.
+ * Request message for `AzureClusters.DeleteAzureNodePool` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest} */ -public final class DeleteAzureNodePoolRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteAzureNodePoolRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest) DeleteAzureNodePoolRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteAzureNodePoolRequest.newBuilder() to construct. private DeleteAzureNodePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteAzureNodePoolRequest() { name_ = ""; etag_ = ""; @@ -44,32 +26,28 @@ private DeleteAzureNodePoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteAzureNodePoolRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest.class, - com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest.class, com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
@@ -81,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -93,15 +68,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
@@ -113,18 +87,17 @@ public java.lang.String getName() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -135,15 +108,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; private boolean validateOnly_ = false; /** - * - * *
    * If set, only validate the request, but do not actually delete the node
    * pool.
    * 
* * bool validate_only = 2; - * * @return The validateOnly. */ @java.lang.Override @@ -154,8 +124,6 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 3; private boolean allowMissing_ = false; /** - * - * *
    * If set to true, and the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource is
@@ -167,7 +135,6 @@ public boolean getValidateOnly() {
    * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ @java.lang.Override @@ -176,12 +143,9 @@ public boolean getAllowMissing() { } public static final int ETAG_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * The current ETag of the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
@@ -193,7 +157,6 @@ public boolean getAllowMissing() {
    * 
* * string etag = 4; - * * @return The etag. */ @java.lang.Override @@ -202,15 +165,14 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * The current ETag of the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
@@ -222,15 +184,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 4; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -239,7 +202,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -251,7 +213,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -277,10 +240,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, allowMissing_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, allowMissing_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, etag_); @@ -293,18 +258,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest other = - (com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (getAllowMissing() != other.getAllowMissing()) return false; - if (!getEtag().equals(other.getEtag())) return false; + com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest other = (com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (getAllowMissing() + != other.getAllowMissing()) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -319,9 +287,11 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowMissing()); hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -330,136 +300,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
-   * Delete message for `AzureClusters.DeleteAzureNodePool` method.
+   * Request message for `AzureClusters.DeleteAzureNodePool` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest) com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest.class, - com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest.class, com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -472,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest - getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest.getDefaultInstance(); } @@ -494,17 +458,13 @@ public com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest result = - new com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest result = new com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest result) { + private void buildPartial0(com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -524,39 +484,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest)other); } else { super.mergeFrom(other); return this; @@ -564,9 +523,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest other) { - if (other - == com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -609,37 +566,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: - { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -649,13 +601,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
@@ -667,16 +616,14 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -685,8 +632,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
@@ -698,17 +643,16 @@ public java.lang.String getName() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -716,8 +660,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
@@ -729,25 +671,19 @@ public com.google.protobuf.ByteString getNameBytes() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
@@ -759,10 +695,7 @@ public Builder setName(java.lang.String value) {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -772,8 +705,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
@@ -785,17 +716,13 @@ public Builder clearName() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -803,17 +730,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * If set, only validate the request, but do not actually delete the node
      * pool.
      * 
* * bool validate_only = 2; - * * @return The validateOnly. */ @java.lang.Override @@ -821,15 +745,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * If set, only validate the request, but do not actually delete the node
      * pool.
      * 
* * bool validate_only = 2; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -841,15 +762,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * If set, only validate the request, but do not actually delete the node
      * pool.
      * 
* * bool validate_only = 2; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -859,10 +777,8 @@ public Builder clearValidateOnly() { return this; } - private boolean allowMissing_; + private boolean allowMissing_ ; /** - * - * *
      * If set to true, and the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource is
@@ -874,7 +790,6 @@ public Builder clearValidateOnly() {
      * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ @java.lang.Override @@ -882,8 +797,6 @@ public boolean getAllowMissing() { return allowMissing_; } /** - * - * *
      * If set to true, and the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource is
@@ -895,7 +808,6 @@ public boolean getAllowMissing() {
      * 
* * bool allow_missing = 3; - * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -907,8 +819,6 @@ public Builder setAllowMissing(boolean value) { return this; } /** - * - * *
      * If set to true, and the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource is
@@ -920,7 +830,6 @@ public Builder setAllowMissing(boolean value) {
      * 
* * bool allow_missing = 3; - * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -932,8 +841,6 @@ public Builder clearAllowMissing() { private java.lang.Object etag_ = ""; /** - * - * *
      * The current ETag of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
@@ -945,13 +852,13 @@ public Builder clearAllowMissing() {
      * 
* * string etag = 4; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -960,8 +867,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * The current ETag of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
@@ -973,14 +878,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 4; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -988,8 +894,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * The current ETag of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
@@ -1001,22 +905,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 4; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The current ETag of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
@@ -1028,7 +928,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 4; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -1038,8 +937,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * The current ETag of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
@@ -1051,23 +948,21 @@ public Builder clearEtag() {
      * 
* * string etag = 4; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1077,13 +972,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest) - private static final com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest(); } @@ -1092,27 +986,27 @@ public static com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAzureNodePoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAzureNodePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1127,4 +1021,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequestOrBuilder.java similarity index 72% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequestOrBuilder.java index 3277dde0e057..cd7619bc4f36 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface DeleteAzureNodePoolRequestOrBuilder - extends +public interface DeleteAzureNodePoolRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
@@ -37,16 +19,11 @@ public interface DeleteAzureNodePoolRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
@@ -58,31 +35,24 @@ public interface DeleteAzureNodePoolRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * If set, only validate the request, but do not actually delete the node
    * pool.
    * 
* * bool validate_only = 2; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * If set to true, and the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource is
@@ -94,14 +64,11 @@ public interface DeleteAzureNodePoolRequestOrBuilder
    * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ boolean getAllowMissing(); /** - * - * *
    * The current ETag of the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
@@ -113,13 +80,10 @@ public interface DeleteAzureNodePoolRequestOrBuilder
    * 
* * string etag = 4; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * The current ETag of the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
@@ -131,8 +95,8 @@ public interface DeleteAzureNodePoolRequestOrBuilder
    * 
* * string etag = 4; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Fleet.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Fleet.java similarity index 72% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Fleet.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Fleet.java index f2f77381d26d..b71e1b3c63d1 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Fleet.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Fleet.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Fleet related configuration.
  *
@@ -35,16 +18,15 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.Fleet}
  */
-public final class Fleet extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Fleet extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.Fleet)
     FleetOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Fleet.newBuilder() to construct.
   private Fleet(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Fleet() {
     project_ = "";
     membership_ = "";
@@ -52,32 +34,28 @@ private Fleet() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Fleet();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.CommonResourcesProto
-        .internal_static_google_cloud_gkemulticloud_v1_Fleet_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_Fleet_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.CommonResourcesProto
-        .internal_static_google_cloud_gkemulticloud_v1_Fleet_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_Fleet_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.Fleet.class,
-            com.google.cloud.gkemulticloud.v1.Fleet.Builder.class);
+            com.google.cloud.gkemulticloud.v1.Fleet.class, com.google.cloud.gkemulticloud.v1.Fleet.Builder.class);
   }
 
   public static final int PROJECT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object project_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the Fleet host project where this cluster will be
    * registered.
@@ -87,7 +65,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string project = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The project. */ @java.lang.Override @@ -96,15 +73,14 @@ public java.lang.String getProject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; } } /** - * - * *
    * Required. The name of the Fleet host project where this cluster will be
    * registered.
@@ -114,15 +90,16 @@ public java.lang.String getProject() {
    * 
* * string project = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for project. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectBytes() { + public com.google.protobuf.ByteString + getProjectBytes() { java.lang.Object ref = project_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); project_ = b; return b; } else { @@ -131,12 +108,9 @@ public com.google.protobuf.ByteString getProjectBytes() { } public static final int MEMBERSHIP_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object membership_ = ""; /** - * - * *
    * Output only. The name of the managed Hub Membership resource associated to
    * this cluster.
@@ -146,7 +120,6 @@ public com.google.protobuf.ByteString getProjectBytes() {
    * 
* * string membership = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The membership. */ @java.lang.Override @@ -155,15 +128,14 @@ public java.lang.String getMembership() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); membership_ = s; return s; } } /** - * - * *
    * Output only. The name of the managed Hub Membership resource associated to
    * this cluster.
@@ -173,15 +145,16 @@ public java.lang.String getMembership() {
    * 
* * string membership = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for membership. */ @java.lang.Override - public com.google.protobuf.ByteString getMembershipBytes() { + public com.google.protobuf.ByteString + getMembershipBytes() { java.lang.Object ref = membership_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); membership_ = b; return b; } else { @@ -190,7 +163,6 @@ public com.google.protobuf.ByteString getMembershipBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,7 +174,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, project_); } @@ -232,15 +205,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.Fleet)) { return super.equals(obj); } com.google.cloud.gkemulticloud.v1.Fleet other = (com.google.cloud.gkemulticloud.v1.Fleet) obj; - if (!getProject().equals(other.getProject())) return false; - if (!getMembership().equals(other.getMembership())) return false; + if (!getProject() + .equals(other.getProject())) return false; + if (!getMembership() + .equals(other.getMembership())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -261,104 +236,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.gkemulticloud.v1.Fleet parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.gkemulticloud.v1.Fleet parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.Fleet parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.Fleet parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.Fleet parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.Fleet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.Fleet parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.Fleet parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.Fleet parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.Fleet parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.Fleet parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.Fleet parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.Fleet parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.Fleet parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.Fleet prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Fleet related configuration.
    *
@@ -373,32 +343,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.Fleet}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.Fleet)
       com.google.cloud.gkemulticloud.v1.FleetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.CommonResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_Fleet_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_Fleet_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.CommonResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_Fleet_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_Fleet_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.Fleet.class,
-              com.google.cloud.gkemulticloud.v1.Fleet.Builder.class);
+              com.google.cloud.gkemulticloud.v1.Fleet.class, com.google.cloud.gkemulticloud.v1.Fleet.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.Fleet.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -409,9 +380,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.CommonResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_Fleet_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_Fleet_descriptor;
     }
 
     @java.lang.Override
@@ -430,11 +401,8 @@ public com.google.cloud.gkemulticloud.v1.Fleet build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.Fleet buildPartial() {
-      com.google.cloud.gkemulticloud.v1.Fleet result =
-          new com.google.cloud.gkemulticloud.v1.Fleet(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.gkemulticloud.v1.Fleet result = new com.google.cloud.gkemulticloud.v1.Fleet(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -453,39 +421,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.Fleet result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.Fleet) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.Fleet) other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.Fleet)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -530,25 +497,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                project_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                membership_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              project_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              membership_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -558,13 +522,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object project_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the Fleet host project where this cluster will be
      * registered.
@@ -574,13 +535,13 @@ public Builder mergeFrom(
      * 
* * string project = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The project. */ public java.lang.String getProject() { java.lang.Object ref = project_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; @@ -589,8 +550,6 @@ public java.lang.String getProject() { } } /** - * - * *
      * Required. The name of the Fleet host project where this cluster will be
      * registered.
@@ -600,14 +559,15 @@ public java.lang.String getProject() {
      * 
* * string project = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for project. */ - public com.google.protobuf.ByteString getProjectBytes() { + public com.google.protobuf.ByteString + getProjectBytes() { java.lang.Object ref = project_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); project_ = b; return b; } else { @@ -615,8 +575,6 @@ public com.google.protobuf.ByteString getProjectBytes() { } } /** - * - * *
      * Required. The name of the Fleet host project where this cluster will be
      * registered.
@@ -626,22 +584,18 @@ public com.google.protobuf.ByteString getProjectBytes() {
      * 
* * string project = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The project to set. * @return This builder for chaining. */ - public Builder setProject(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProject( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } project_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the Fleet host project where this cluster will be
      * registered.
@@ -651,7 +605,6 @@ public Builder setProject(java.lang.String value) {
      * 
* * string project = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearProject() { @@ -661,8 +614,6 @@ public Builder clearProject() { return this; } /** - * - * *
      * Required. The name of the Fleet host project where this cluster will be
      * registered.
@@ -672,14 +623,12 @@ public Builder clearProject() {
      * 
* * string project = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for project to set. * @return This builder for chaining. */ - public Builder setProjectBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); project_ = value; bitField0_ |= 0x00000001; @@ -689,8 +638,6 @@ public Builder setProjectBytes(com.google.protobuf.ByteString value) { private java.lang.Object membership_ = ""; /** - * - * *
      * Output only. The name of the managed Hub Membership resource associated to
      * this cluster.
@@ -700,13 +647,13 @@ public Builder setProjectBytes(com.google.protobuf.ByteString value) {
      * 
* * string membership = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The membership. */ public java.lang.String getMembership() { java.lang.Object ref = membership_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); membership_ = s; return s; @@ -715,8 +662,6 @@ public java.lang.String getMembership() { } } /** - * - * *
      * Output only. The name of the managed Hub Membership resource associated to
      * this cluster.
@@ -726,14 +671,15 @@ public java.lang.String getMembership() {
      * 
* * string membership = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for membership. */ - public com.google.protobuf.ByteString getMembershipBytes() { + public com.google.protobuf.ByteString + getMembershipBytes() { java.lang.Object ref = membership_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); membership_ = b; return b; } else { @@ -741,8 +687,6 @@ public com.google.protobuf.ByteString getMembershipBytes() { } } /** - * - * *
      * Output only. The name of the managed Hub Membership resource associated to
      * this cluster.
@@ -752,22 +696,18 @@ public com.google.protobuf.ByteString getMembershipBytes() {
      * 
* * string membership = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The membership to set. * @return This builder for chaining. */ - public Builder setMembership(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMembership( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } membership_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. The name of the managed Hub Membership resource associated to
      * this cluster.
@@ -777,7 +717,6 @@ public Builder setMembership(java.lang.String value) {
      * 
* * string membership = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearMembership() { @@ -787,8 +726,6 @@ public Builder clearMembership() { return this; } /** - * - * *
      * Output only. The name of the managed Hub Membership resource associated to
      * this cluster.
@@ -798,23 +735,21 @@ public Builder clearMembership() {
      * 
* * string membership = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for membership to set. * @return This builder for chaining. */ - public Builder setMembershipBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMembershipBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); membership_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -824,12 +759,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.Fleet) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.Fleet) private static final com.google.cloud.gkemulticloud.v1.Fleet DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.Fleet(); } @@ -838,27 +773,27 @@ public static com.google.cloud.gkemulticloud.v1.Fleet getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Fleet parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Fleet parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -873,4 +808,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.Fleet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/FleetOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/FleetOrBuilder.java similarity index 69% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/FleetOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/FleetOrBuilder.java index 27905637c9be..6f78c834cb23 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/FleetOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/FleetOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface FleetOrBuilder - extends +public interface FleetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.Fleet) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the Fleet host project where this cluster will be
    * registered.
@@ -35,13 +17,10 @@ public interface FleetOrBuilder
    * 
* * string project = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The project. */ java.lang.String getProject(); /** - * - * *
    * Required. The name of the Fleet host project where this cluster will be
    * registered.
@@ -51,14 +30,12 @@ public interface FleetOrBuilder
    * 
* * string project = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for project. */ - com.google.protobuf.ByteString getProjectBytes(); + com.google.protobuf.ByteString + getProjectBytes(); /** - * - * *
    * Output only. The name of the managed Hub Membership resource associated to
    * this cluster.
@@ -68,13 +45,10 @@ public interface FleetOrBuilder
    * 
* * string membership = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The membership. */ java.lang.String getMembership(); /** - * - * *
    * Output only. The name of the managed Hub Membership resource associated to
    * this cluster.
@@ -84,8 +58,8 @@ public interface FleetOrBuilder
    * 
* * string membership = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for membership. */ - com.google.protobuf.ByteString getMembershipBytes(); + com.google.protobuf.ByteString + getMembershipBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenRequest.java new file mode 100644 index 000000000000..f2c9c51e5d69 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenRequest.java @@ -0,0 +1,1881 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/attached_service.proto + +package com.google.cloud.gkemulticloud.v1; + +/** + * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest} + */ +public final class GenerateAttachedClusterAgentTokenRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest) + GenerateAttachedClusterAgentTokenRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use GenerateAttachedClusterAgentTokenRequest.newBuilder() to construct. + private GenerateAttachedClusterAgentTokenRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GenerateAttachedClusterAgentTokenRequest() { + attachedCluster_ = ""; + subjectToken_ = ""; + subjectTokenType_ = ""; + version_ = ""; + grantType_ = ""; + audience_ = ""; + scope_ = ""; + requestedTokenType_ = ""; + options_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GenerateAttachedClusterAgentTokenRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest.class, com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest.Builder.class); + } + + public static final int ATTACHED_CLUSTER_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object attachedCluster_ = ""; + /** + *
+   * Required.
+   * 
+ * + * string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The attachedCluster. + */ + @java.lang.Override + public java.lang.String getAttachedCluster() { + java.lang.Object ref = attachedCluster_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + attachedCluster_ = s; + return s; + } + } + /** + *
+   * Required.
+   * 
+ * + * string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for attachedCluster. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAttachedClusterBytes() { + java.lang.Object ref = attachedCluster_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + attachedCluster_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SUBJECT_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object subjectToken_ = ""; + /** + *
+   * Required.
+   * 
+ * + * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The subjectToken. + */ + @java.lang.Override + public java.lang.String getSubjectToken() { + java.lang.Object ref = subjectToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + subjectToken_ = s; + return s; + } + } + /** + *
+   * Required.
+   * 
+ * + * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for subjectToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSubjectTokenBytes() { + java.lang.Object ref = subjectToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + subjectToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SUBJECT_TOKEN_TYPE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object subjectTokenType_ = ""; + /** + *
+   * Required.
+   * 
+ * + * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The subjectTokenType. + */ + @java.lang.Override + public java.lang.String getSubjectTokenType() { + java.lang.Object ref = subjectTokenType_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + subjectTokenType_ = s; + return s; + } + } + /** + *
+   * Required.
+   * 
+ * + * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for subjectTokenType. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSubjectTokenTypeBytes() { + java.lang.Object ref = subjectTokenType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + subjectTokenType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int VERSION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object version_ = ""; + /** + *
+   * Required.
+   * 
+ * + * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The version. + */ + @java.lang.Override + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + version_ = s; + return s; + } + } + /** + *
+   * Required.
+   * 
+ * + * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for version. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int GRANT_TYPE_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private volatile java.lang.Object grantType_ = ""; + /** + *
+   * Optional.
+   * 
+ * + * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The grantType. + */ + @java.lang.Override + public java.lang.String getGrantType() { + java.lang.Object ref = grantType_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + grantType_ = s; + return s; + } + } + /** + *
+   * Optional.
+   * 
+ * + * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for grantType. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getGrantTypeBytes() { + java.lang.Object ref = grantType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + grantType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AUDIENCE_FIELD_NUMBER = 7; + @SuppressWarnings("serial") + private volatile java.lang.Object audience_ = ""; + /** + *
+   * Optional.
+   * 
+ * + * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return The audience. + */ + @java.lang.Override + public java.lang.String getAudience() { + java.lang.Object ref = audience_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + audience_ = s; + return s; + } + } + /** + *
+   * Optional.
+   * 
+ * + * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for audience. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAudienceBytes() { + java.lang.Object ref = audience_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + audience_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SCOPE_FIELD_NUMBER = 8; + @SuppressWarnings("serial") + private volatile java.lang.Object scope_ = ""; + /** + *
+   * Optional.
+   * 
+ * + * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return The scope. + */ + @java.lang.Override + public java.lang.String getScope() { + java.lang.Object ref = scope_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + scope_ = s; + return s; + } + } + /** + *
+   * Optional.
+   * 
+ * + * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for scope. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getScopeBytes() { + java.lang.Object ref = scope_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + scope_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUESTED_TOKEN_TYPE_FIELD_NUMBER = 9; + @SuppressWarnings("serial") + private volatile java.lang.Object requestedTokenType_ = ""; + /** + *
+   * Optional.
+   * 
+ * + * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return The requestedTokenType. + */ + @java.lang.Override + public java.lang.String getRequestedTokenType() { + java.lang.Object ref = requestedTokenType_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestedTokenType_ = s; + return s; + } + } + /** + *
+   * Optional.
+   * 
+ * + * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for requestedTokenType. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getRequestedTokenTypeBytes() { + java.lang.Object ref = requestedTokenType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + requestedTokenType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OPTIONS_FIELD_NUMBER = 10; + @SuppressWarnings("serial") + private volatile java.lang.Object options_ = ""; + /** + *
+   * Optional.
+   * 
+ * + * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return The options. + */ + @java.lang.Override + public java.lang.String getOptions() { + java.lang.Object ref = options_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + options_ = s; + return s; + } + } + /** + *
+   * Optional.
+   * 
+ * + * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for options. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOptionsBytes() { + java.lang.Object ref = options_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + options_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attachedCluster_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, attachedCluster_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subjectToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, subjectToken_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subjectTokenType_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, subjectTokenType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, version_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(grantType_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, grantType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(audience_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, audience_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scope_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, scope_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestedTokenType_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 9, requestedTokenType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(options_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 10, options_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attachedCluster_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, attachedCluster_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subjectToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, subjectToken_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subjectTokenType_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, subjectTokenType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, version_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(grantType_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, grantType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(audience_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, audience_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scope_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, scope_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestedTokenType_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, requestedTokenType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(options_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, options_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest other = (com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest) obj; + + if (!getAttachedCluster() + .equals(other.getAttachedCluster())) return false; + if (!getSubjectToken() + .equals(other.getSubjectToken())) return false; + if (!getSubjectTokenType() + .equals(other.getSubjectTokenType())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getGrantType() + .equals(other.getGrantType())) return false; + if (!getAudience() + .equals(other.getAudience())) return false; + if (!getScope() + .equals(other.getScope())) return false; + if (!getRequestedTokenType() + .equals(other.getRequestedTokenType())) return false; + if (!getOptions() + .equals(other.getOptions())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ATTACHED_CLUSTER_FIELD_NUMBER; + hash = (53 * hash) + getAttachedCluster().hashCode(); + hash = (37 * hash) + SUBJECT_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getSubjectToken().hashCode(); + hash = (37 * hash) + SUBJECT_TOKEN_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getSubjectTokenType().hashCode(); + hash = (37 * hash) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion().hashCode(); + hash = (37 * hash) + GRANT_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getGrantType().hashCode(); + hash = (37 * hash) + AUDIENCE_FIELD_NUMBER; + hash = (53 * hash) + getAudience().hashCode(); + hash = (37 * hash) + SCOPE_FIELD_NUMBER; + hash = (53 * hash) + getScope().hashCode(); + hash = (37 * hash) + REQUESTED_TOKEN_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getRequestedTokenType().hashCode(); + hash = (37 * hash) + OPTIONS_FIELD_NUMBER; + hash = (53 * hash) + getOptions().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest) + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest.class, com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + attachedCluster_ = ""; + subjectToken_ = ""; + subjectTokenType_ = ""; + version_ = ""; + grantType_ = ""; + audience_ = ""; + scope_ = ""; + requestedTokenType_ = ""; + options_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest build() { + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest buildPartial() { + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest result = new com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.attachedCluster_ = attachedCluster_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.subjectToken_ = subjectToken_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.subjectTokenType_ = subjectTokenType_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.version_ = version_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.grantType_ = grantType_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.audience_ = audience_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.scope_ = scope_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.requestedTokenType_ = requestedTokenType_; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.options_ = options_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest other) { + if (other == com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest.getDefaultInstance()) return this; + if (!other.getAttachedCluster().isEmpty()) { + attachedCluster_ = other.attachedCluster_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getSubjectToken().isEmpty()) { + subjectToken_ = other.subjectToken_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getSubjectTokenType().isEmpty()) { + subjectTokenType_ = other.subjectTokenType_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getVersion().isEmpty()) { + version_ = other.version_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getGrantType().isEmpty()) { + grantType_ = other.grantType_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.getAudience().isEmpty()) { + audience_ = other.audience_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (!other.getScope().isEmpty()) { + scope_ = other.scope_; + bitField0_ |= 0x00000040; + onChanged(); + } + if (!other.getRequestedTokenType().isEmpty()) { + requestedTokenType_ = other.requestedTokenType_; + bitField0_ |= 0x00000080; + onChanged(); + } + if (!other.getOptions().isEmpty()) { + options_ = other.options_; + bitField0_ |= 0x00000100; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + attachedCluster_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + subjectToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + subjectTokenType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 50: { + grantType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 50 + case 58: { + audience_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 58 + case 66: { + scope_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 66 + case 74: { + requestedTokenType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 74 + case 82: { + options_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 82 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object attachedCluster_ = ""; + /** + *
+     * Required.
+     * 
+ * + * string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The attachedCluster. + */ + public java.lang.String getAttachedCluster() { + java.lang.Object ref = attachedCluster_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + attachedCluster_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required.
+     * 
+ * + * string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for attachedCluster. + */ + public com.google.protobuf.ByteString + getAttachedClusterBytes() { + java.lang.Object ref = attachedCluster_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + attachedCluster_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required.
+     * 
+ * + * string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The attachedCluster to set. + * @return This builder for chaining. + */ + public Builder setAttachedCluster( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + attachedCluster_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Required.
+     * 
+ * + * string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearAttachedCluster() { + attachedCluster_ = getDefaultInstance().getAttachedCluster(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     * Required.
+     * 
+ * + * string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for attachedCluster to set. + * @return This builder for chaining. + */ + public Builder setAttachedClusterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + attachedCluster_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object subjectToken_ = ""; + /** + *
+     * Required.
+     * 
+ * + * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The subjectToken. + */ + public java.lang.String getSubjectToken() { + java.lang.Object ref = subjectToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + subjectToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required.
+     * 
+ * + * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for subjectToken. + */ + public com.google.protobuf.ByteString + getSubjectTokenBytes() { + java.lang.Object ref = subjectToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + subjectToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required.
+     * 
+ * + * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The subjectToken to set. + * @return This builder for chaining. + */ + public Builder setSubjectToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + subjectToken_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * Required.
+     * 
+ * + * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearSubjectToken() { + subjectToken_ = getDefaultInstance().getSubjectToken(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+     * Required.
+     * 
+ * + * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for subjectToken to set. + * @return This builder for chaining. + */ + public Builder setSubjectTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + subjectToken_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object subjectTokenType_ = ""; + /** + *
+     * Required.
+     * 
+ * + * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The subjectTokenType. + */ + public java.lang.String getSubjectTokenType() { + java.lang.Object ref = subjectTokenType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + subjectTokenType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required.
+     * 
+ * + * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for subjectTokenType. + */ + public com.google.protobuf.ByteString + getSubjectTokenTypeBytes() { + java.lang.Object ref = subjectTokenType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + subjectTokenType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required.
+     * 
+ * + * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param value The subjectTokenType to set. + * @return This builder for chaining. + */ + public Builder setSubjectTokenType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + subjectTokenType_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * Required.
+     * 
+ * + * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearSubjectTokenType() { + subjectTokenType_ = getDefaultInstance().getSubjectTokenType(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + *
+     * Required.
+     * 
+ * + * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for subjectTokenType to set. + * @return This builder for chaining. + */ + public Builder setSubjectTokenTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + subjectTokenType_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object version_ = ""; + /** + *
+     * Required.
+     * 
+ * + * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The version. + */ + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + version_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required.
+     * 
+ * + * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for version. + */ + public com.google.protobuf.ByteString + getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required.
+     * 
+ * + * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * @param value The version to set. + * @return This builder for chaining. + */ + public Builder setVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + version_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Required.
+     * 
+ * + * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearVersion() { + version_ = getDefaultInstance().getVersion(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + *
+     * Required.
+     * 
+ * + * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for version to set. + * @return This builder for chaining. + */ + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + version_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object grantType_ = ""; + /** + *
+     * Optional.
+     * 
+ * + * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The grantType. + */ + public java.lang.String getGrantType() { + java.lang.Object ref = grantType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + grantType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for grantType. + */ + public com.google.protobuf.ByteString + getGrantTypeBytes() { + java.lang.Object ref = grantType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + grantType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The grantType to set. + * @return This builder for chaining. + */ + public Builder setGrantType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + grantType_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearGrantType() { + grantType_ = getDefaultInstance().getGrantType(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for grantType to set. + * @return This builder for chaining. + */ + public Builder setGrantTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + grantType_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object audience_ = ""; + /** + *
+     * Optional.
+     * 
+ * + * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return The audience. + */ + public java.lang.String getAudience() { + java.lang.Object ref = audience_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + audience_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for audience. + */ + public com.google.protobuf.ByteString + getAudienceBytes() { + java.lang.Object ref = audience_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + audience_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The audience to set. + * @return This builder for chaining. + */ + public Builder setAudience( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + audience_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearAudience() { + audience_ = getDefaultInstance().getAudience(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for audience to set. + * @return This builder for chaining. + */ + public Builder setAudienceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + audience_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private java.lang.Object scope_ = ""; + /** + *
+     * Optional.
+     * 
+ * + * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return The scope. + */ + public java.lang.String getScope() { + java.lang.Object ref = scope_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + scope_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for scope. + */ + public com.google.protobuf.ByteString + getScopeBytes() { + java.lang.Object ref = scope_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + scope_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The scope to set. + * @return This builder for chaining. + */ + public Builder setScope( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + scope_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearScope() { + scope_ = getDefaultInstance().getScope(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for scope to set. + * @return This builder for chaining. + */ + public Builder setScopeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + scope_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + private java.lang.Object requestedTokenType_ = ""; + /** + *
+     * Optional.
+     * 
+ * + * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return The requestedTokenType. + */ + public java.lang.String getRequestedTokenType() { + java.lang.Object ref = requestedTokenType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestedTokenType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for requestedTokenType. + */ + public com.google.protobuf.ByteString + getRequestedTokenTypeBytes() { + java.lang.Object ref = requestedTokenType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + requestedTokenType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The requestedTokenType to set. + * @return This builder for chaining. + */ + public Builder setRequestedTokenType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + requestedTokenType_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearRequestedTokenType() { + requestedTokenType_ = getDefaultInstance().getRequestedTokenType(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for requestedTokenType to set. + * @return This builder for chaining. + */ + public Builder setRequestedTokenTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + requestedTokenType_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + + private java.lang.Object options_ = ""; + /** + *
+     * Optional.
+     * 
+ * + * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return The options. + */ + public java.lang.String getOptions() { + java.lang.Object ref = options_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + options_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for options. + */ + public com.google.protobuf.ByteString + getOptionsBytes() { + java.lang.Object ref = options_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + options_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The options to set. + * @return This builder for chaining. + */ + public Builder setOptions( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + options_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearOptions() { + options_ = getDefaultInstance().getOptions(); + bitField0_ = (bitField0_ & ~0x00000100); + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for options to set. + * @return This builder for chaining. + */ + public Builder setOptionsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + options_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest) + private static final com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest(); + } + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateAttachedClusterAgentTokenRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenRequestOrBuilder.java new file mode 100644 index 000000000000..4bc61641243b --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenRequestOrBuilder.java @@ -0,0 +1,189 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/attached_service.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface GenerateAttachedClusterAgentTokenRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required.
+   * 
+ * + * string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The attachedCluster. + */ + java.lang.String getAttachedCluster(); + /** + *
+   * Required.
+   * 
+ * + * string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for attachedCluster. + */ + com.google.protobuf.ByteString + getAttachedClusterBytes(); + + /** + *
+   * Required.
+   * 
+ * + * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The subjectToken. + */ + java.lang.String getSubjectToken(); + /** + *
+   * Required.
+   * 
+ * + * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for subjectToken. + */ + com.google.protobuf.ByteString + getSubjectTokenBytes(); + + /** + *
+   * Required.
+   * 
+ * + * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The subjectTokenType. + */ + java.lang.String getSubjectTokenType(); + /** + *
+   * Required.
+   * 
+ * + * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for subjectTokenType. + */ + com.google.protobuf.ByteString + getSubjectTokenTypeBytes(); + + /** + *
+   * Required.
+   * 
+ * + * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The version. + */ + java.lang.String getVersion(); + /** + *
+   * Required.
+   * 
+ * + * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for version. + */ + com.google.protobuf.ByteString + getVersionBytes(); + + /** + *
+   * Optional.
+   * 
+ * + * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The grantType. + */ + java.lang.String getGrantType(); + /** + *
+   * Optional.
+   * 
+ * + * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for grantType. + */ + com.google.protobuf.ByteString + getGrantTypeBytes(); + + /** + *
+   * Optional.
+   * 
+ * + * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return The audience. + */ + java.lang.String getAudience(); + /** + *
+   * Optional.
+   * 
+ * + * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for audience. + */ + com.google.protobuf.ByteString + getAudienceBytes(); + + /** + *
+   * Optional.
+   * 
+ * + * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return The scope. + */ + java.lang.String getScope(); + /** + *
+   * Optional.
+   * 
+ * + * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for scope. + */ + com.google.protobuf.ByteString + getScopeBytes(); + + /** + *
+   * Optional.
+   * 
+ * + * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return The requestedTokenType. + */ + java.lang.String getRequestedTokenType(); + /** + *
+   * Optional.
+   * 
+ * + * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for requestedTokenType. + */ + com.google.protobuf.ByteString + getRequestedTokenTypeBytes(); + + /** + *
+   * Optional.
+   * 
+ * + * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return The options. + */ + java.lang.String getOptions(); + /** + *
+   * Optional.
+   * 
+ * + * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for options. + */ + com.google.protobuf.ByteString + getOptionsBytes(); +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenResponse.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenResponse.java new file mode 100644 index 000000000000..197b326653ea --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenResponse.java @@ -0,0 +1,743 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/attached_service.proto + +package com.google.cloud.gkemulticloud.v1; + +/** + * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse} + */ +public final class GenerateAttachedClusterAgentTokenResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse) + GenerateAttachedClusterAgentTokenResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use GenerateAttachedClusterAgentTokenResponse.newBuilder() to construct. + private GenerateAttachedClusterAgentTokenResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GenerateAttachedClusterAgentTokenResponse() { + accessToken_ = ""; + tokenType_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GenerateAttachedClusterAgentTokenResponse(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse.class, com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse.Builder.class); + } + + public static final int ACCESS_TOKEN_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object accessToken_ = ""; + /** + * string access_token = 1; + * @return The accessToken. + */ + @java.lang.Override + public java.lang.String getAccessToken() { + java.lang.Object ref = accessToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + accessToken_ = s; + return s; + } + } + /** + * string access_token = 1; + * @return The bytes for accessToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAccessTokenBytes() { + java.lang.Object ref = accessToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + accessToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int EXPIRES_IN_FIELD_NUMBER = 2; + private int expiresIn_ = 0; + /** + * int32 expires_in = 2; + * @return The expiresIn. + */ + @java.lang.Override + public int getExpiresIn() { + return expiresIn_; + } + + public static final int TOKEN_TYPE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object tokenType_ = ""; + /** + * string token_type = 3; + * @return The tokenType. + */ + @java.lang.Override + public java.lang.String getTokenType() { + java.lang.Object ref = tokenType_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tokenType_ = s; + return s; + } + } + /** + * string token_type = 3; + * @return The bytes for tokenType. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTokenTypeBytes() { + java.lang.Object ref = tokenType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + tokenType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, accessToken_); + } + if (expiresIn_ != 0) { + output.writeInt32(2, expiresIn_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tokenType_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tokenType_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, accessToken_); + } + if (expiresIn_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, expiresIn_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tokenType_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, tokenType_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse other = (com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse) obj; + + if (!getAccessToken() + .equals(other.getAccessToken())) return false; + if (getExpiresIn() + != other.getExpiresIn()) return false; + if (!getTokenType() + .equals(other.getTokenType())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ACCESS_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getAccessToken().hashCode(); + hash = (37 * hash) + EXPIRES_IN_FIELD_NUMBER; + hash = (53 * hash) + getExpiresIn(); + hash = (37 * hash) + TOKEN_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getTokenType().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse) + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse.class, com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + accessToken_ = ""; + expiresIn_ = 0; + tokenType_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse build() { + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse buildPartial() { + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse result = new com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.accessToken_ = accessToken_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.expiresIn_ = expiresIn_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.tokenType_ = tokenType_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse other) { + if (other == com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse.getDefaultInstance()) return this; + if (!other.getAccessToken().isEmpty()) { + accessToken_ = other.accessToken_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getExpiresIn() != 0) { + setExpiresIn(other.getExpiresIn()); + } + if (!other.getTokenType().isEmpty()) { + tokenType_ = other.tokenType_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + accessToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + expiresIn_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + tokenType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object accessToken_ = ""; + /** + * string access_token = 1; + * @return The accessToken. + */ + public java.lang.String getAccessToken() { + java.lang.Object ref = accessToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + accessToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string access_token = 1; + * @return The bytes for accessToken. + */ + public com.google.protobuf.ByteString + getAccessTokenBytes() { + java.lang.Object ref = accessToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + accessToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string access_token = 1; + * @param value The accessToken to set. + * @return This builder for chaining. + */ + public Builder setAccessToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + accessToken_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string access_token = 1; + * @return This builder for chaining. + */ + public Builder clearAccessToken() { + accessToken_ = getDefaultInstance().getAccessToken(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string access_token = 1; + * @param value The bytes for accessToken to set. + * @return This builder for chaining. + */ + public Builder setAccessTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + accessToken_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int expiresIn_ ; + /** + * int32 expires_in = 2; + * @return The expiresIn. + */ + @java.lang.Override + public int getExpiresIn() { + return expiresIn_; + } + /** + * int32 expires_in = 2; + * @param value The expiresIn to set. + * @return This builder for chaining. + */ + public Builder setExpiresIn(int value) { + + expiresIn_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 expires_in = 2; + * @return This builder for chaining. + */ + public Builder clearExpiresIn() { + bitField0_ = (bitField0_ & ~0x00000002); + expiresIn_ = 0; + onChanged(); + return this; + } + + private java.lang.Object tokenType_ = ""; + /** + * string token_type = 3; + * @return The tokenType. + */ + public java.lang.String getTokenType() { + java.lang.Object ref = tokenType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tokenType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string token_type = 3; + * @return The bytes for tokenType. + */ + public com.google.protobuf.ByteString + getTokenTypeBytes() { + java.lang.Object ref = tokenType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + tokenType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string token_type = 3; + * @param value The tokenType to set. + * @return This builder for chaining. + */ + public Builder setTokenType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + tokenType_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string token_type = 3; + * @return This builder for chaining. + */ + public Builder clearTokenType() { + tokenType_ = getDefaultInstance().getTokenType(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string token_type = 3; + * @param value The bytes for tokenType to set. + * @return This builder for chaining. + */ + public Builder setTokenTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + tokenType_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse) + private static final com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse(); + } + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateAttachedClusterAgentTokenResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenResponseOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenResponseOrBuilder.java new file mode 100644 index 000000000000..34e5fdaab212 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenResponseOrBuilder.java @@ -0,0 +1,39 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/attached_service.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface GenerateAttachedClusterAgentTokenResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * string access_token = 1; + * @return The accessToken. + */ + java.lang.String getAccessToken(); + /** + * string access_token = 1; + * @return The bytes for accessToken. + */ + com.google.protobuf.ByteString + getAccessTokenBytes(); + + /** + * int32 expires_in = 2; + * @return The expiresIn. + */ + int getExpiresIn(); + + /** + * string token_type = 3; + * @return The tokenType. + */ + java.lang.String getTokenType(); + /** + * string token_type = 3; + * @return The bytes for tokenType. + */ + com.google.protobuf.ByteString + getTokenTypeBytes(); +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequest.java similarity index 58% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequest.java index bba8c4971756..06e8bc41774a 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Request message for `AttachedClusters.GenerateAttachedClusterInstallManifest`
  * method.
@@ -28,18 +11,15 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest}
  */
-public final class GenerateAttachedClusterInstallManifestRequest
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GenerateAttachedClusterInstallManifestRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest)
     GenerateAttachedClusterInstallManifestRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GenerateAttachedClusterInstallManifestRequest.newBuilder() to construct.
-  private GenerateAttachedClusterInstallManifestRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GenerateAttachedClusterInstallManifestRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GenerateAttachedClusterInstallManifestRequest() {
     parent_ = "";
     attachedClusterId_ = "";
@@ -48,33 +28,28 @@ private GenerateAttachedClusterInstallManifestRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GenerateAttachedClusterInstallManifestRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AttachedServiceProto
-        .internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AttachedServiceProto
-        .internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestRequest_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest.class,
-            com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest.Builder
-                .class);
+            com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest.class, com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The parent location where this
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -86,10 +61,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -98,15 +70,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent location where this
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -118,18 +89,17 @@ public java.lang.String getParent() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -138,12 +108,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int ATTACHED_CLUSTER_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object attachedClusterId_ = ""; /** - * - * *
    * Required. A client provided ID of the resource. Must be unique within the
    * parent resource.
@@ -163,7 +130,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string attached_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The attachedClusterId. */ @java.lang.Override @@ -172,15 +138,14 @@ public java.lang.String getAttachedClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attachedClusterId_ = s; return s; } } /** - * - * *
    * Required. A client provided ID of the resource. Must be unique within the
    * parent resource.
@@ -200,15 +165,16 @@ public java.lang.String getAttachedClusterId() {
    * 
* * string attached_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for attachedClusterId. */ @java.lang.Override - public com.google.protobuf.ByteString getAttachedClusterIdBytes() { + public com.google.protobuf.ByteString + getAttachedClusterIdBytes() { java.lang.Object ref = attachedClusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); attachedClusterId_ = b; return b; } else { @@ -217,12 +183,9 @@ public com.google.protobuf.ByteString getAttachedClusterIdBytes() { } public static final int PLATFORM_VERSION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object platformVersion_ = ""; /** - * - * *
    * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
    *
@@ -232,7 +195,6 @@ public com.google.protobuf.ByteString getAttachedClusterIdBytes() {
    * 
* * string platform_version = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The platformVersion. */ @java.lang.Override @@ -241,15 +203,14 @@ public java.lang.String getPlatformVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); platformVersion_ = s; return s; } } /** - * - * *
    * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
    *
@@ -259,15 +220,16 @@ public java.lang.String getPlatformVersion() {
    * 
* * string platform_version = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for platformVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getPlatformVersionBytes() { + public com.google.protobuf.ByteString + getPlatformVersionBytes() { java.lang.Object ref = platformVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); platformVersion_ = b; return b; } else { @@ -275,8 +237,45 @@ public com.google.protobuf.ByteString getPlatformVersionBytes() { } } - private byte memoizedIsInitialized = -1; + public static final int PROXY_CONFIG_FIELD_NUMBER = 4; + private com.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxyConfig_; + /** + *
+   * Optional. Proxy configuration for outbound HTTP(S) traffic.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the proxyConfig field is set. + */ + @java.lang.Override + public boolean hasProxyConfig() { + return proxyConfig_ != null; + } + /** + *
+   * Optional. Proxy configuration for outbound HTTP(S) traffic.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The proxyConfig. + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AttachedProxyConfig getProxyConfig() { + return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() : proxyConfig_; + } + /** + *
+   * Optional. Proxy configuration for outbound HTTP(S) traffic.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder getProxyConfigOrBuilder() { + return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() : proxyConfig_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -288,7 +287,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -298,6 +298,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(platformVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, platformVersion_); } + if (proxyConfig_ != null) { + output.writeMessage(4, getProxyConfig()); + } getUnknownFields().writeTo(output); } @@ -316,6 +319,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(platformVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, platformVersion_); } + if (proxyConfig_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getProxyConfig()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -324,19 +331,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest)) { + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest other = - (com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getAttachedClusterId().equals(other.getAttachedClusterId())) return false; - if (!getPlatformVersion().equals(other.getPlatformVersion())) return false; + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest other = (com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getAttachedClusterId() + .equals(other.getAttachedClusterId())) return false; + if (!getPlatformVersion() + .equals(other.getPlatformVersion())) return false; + if (hasProxyConfig() != other.hasProxyConfig()) return false; + if (hasProxyConfig()) { + if (!getProxyConfig() + .equals(other.getProxyConfig())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -354,152 +366,142 @@ public int hashCode() { hash = (53 * hash) + getAttachedClusterId().hashCode(); hash = (37 * hash) + PLATFORM_VERSION_FIELD_NUMBER; hash = (53 * hash) + getPlatformVersion().hashCode(); + if (hasProxyConfig()) { + hash = (37 * hash) + PROXY_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getProxyConfig().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `AttachedClusters.GenerateAttachedClusterInstallManifest`
    * method.
    * 
* - * Protobuf type {@code - * google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest} + * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest) com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest.class, - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest - .Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest.class, com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest.Builder.class); } - // Construct using - // com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -507,26 +509,28 @@ public Builder clear() { parent_ = ""; attachedClusterId_ = ""; platformVersion_ = ""; + proxyConfig_ = null; + if (proxyConfigBuilder_ != null) { + proxyConfigBuilder_.dispose(); + proxyConfigBuilder_ = null; + } return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestRequest_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest - getDefaultInstanceForType() { - return com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest - .getDefaultInstance(); + public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest build() { - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest result = - buildPartial(); + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -534,19 +538,14 @@ public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestR } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest - buildPartial() { - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest result = - new com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest buildPartial() { + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest result = new com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest result) { + private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -557,60 +556,57 @@ private void buildPartial0( if (((from_bitField0_ & 0x00000004) != 0)) { result.platformVersion_ = platformVersion_; } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.proxyConfig_ = proxyConfigBuilder_ == null + ? proxyConfig_ + : proxyConfigBuilder_.build(); + } } @java.lang.Override public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest) { - return mergeFrom( - (com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest) - other); + if (other instanceof com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest other) { - if (other - == com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest other) { + if (other == com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -626,6 +622,9 @@ public Builder mergeFrom( bitField0_ |= 0x00000004; onChanged(); } + if (other.hasProxyConfig()) { + mergeProxyConfig(other.getProxyConfig()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -652,31 +651,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - attachedClusterId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - platformVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + attachedClusterId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + platformVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getProxyConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -686,13 +688,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent location where this
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -704,16 +703,14 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -722,8 +719,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent location where this
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -735,17 +730,16 @@ public java.lang.String getParent() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -753,8 +747,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent location where this
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -766,25 +758,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent location where this
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -796,10 +782,7 @@ public Builder setParent(java.lang.String value) {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -809,8 +792,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent location where this
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -822,17 +803,13 @@ public Builder clearParent() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -842,8 +819,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object attachedClusterId_ = ""; /** - * - * *
      * Required. A client provided ID of the resource. Must be unique within the
      * parent resource.
@@ -863,13 +838,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string attached_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The attachedClusterId. */ public java.lang.String getAttachedClusterId() { java.lang.Object ref = attachedClusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attachedClusterId_ = s; return s; @@ -878,8 +853,6 @@ public java.lang.String getAttachedClusterId() { } } /** - * - * *
      * Required. A client provided ID of the resource. Must be unique within the
      * parent resource.
@@ -899,14 +872,15 @@ public java.lang.String getAttachedClusterId() {
      * 
* * string attached_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for attachedClusterId. */ - public com.google.protobuf.ByteString getAttachedClusterIdBytes() { + public com.google.protobuf.ByteString + getAttachedClusterIdBytes() { java.lang.Object ref = attachedClusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); attachedClusterId_ = b; return b; } else { @@ -914,8 +888,6 @@ public com.google.protobuf.ByteString getAttachedClusterIdBytes() { } } /** - * - * *
      * Required. A client provided ID of the resource. Must be unique within the
      * parent resource.
@@ -935,22 +907,18 @@ public com.google.protobuf.ByteString getAttachedClusterIdBytes() {
      * 
* * string attached_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The attachedClusterId to set. * @return This builder for chaining. */ - public Builder setAttachedClusterId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAttachedClusterId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } attachedClusterId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. A client provided ID of the resource. Must be unique within the
      * parent resource.
@@ -970,7 +938,6 @@ public Builder setAttachedClusterId(java.lang.String value) {
      * 
* * string attached_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAttachedClusterId() { @@ -980,8 +947,6 @@ public Builder clearAttachedClusterId() { return this; } /** - * - * *
      * Required. A client provided ID of the resource. Must be unique within the
      * parent resource.
@@ -1001,14 +966,12 @@ public Builder clearAttachedClusterId() {
      * 
* * string attached_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for attachedClusterId to set. * @return This builder for chaining. */ - public Builder setAttachedClusterIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAttachedClusterIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); attachedClusterId_ = value; bitField0_ |= 0x00000002; @@ -1018,8 +981,6 @@ public Builder setAttachedClusterIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object platformVersion_ = ""; /** - * - * *
      * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
      *
@@ -1029,13 +990,13 @@ public Builder setAttachedClusterIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string platform_version = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The platformVersion. */ public java.lang.String getPlatformVersion() { java.lang.Object ref = platformVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); platformVersion_ = s; return s; @@ -1044,8 +1005,6 @@ public java.lang.String getPlatformVersion() { } } /** - * - * *
      * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
      *
@@ -1055,14 +1014,15 @@ public java.lang.String getPlatformVersion() {
      * 
* * string platform_version = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for platformVersion. */ - public com.google.protobuf.ByteString getPlatformVersionBytes() { + public com.google.protobuf.ByteString + getPlatformVersionBytes() { java.lang.Object ref = platformVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); platformVersion_ = b; return b; } else { @@ -1070,8 +1030,6 @@ public com.google.protobuf.ByteString getPlatformVersionBytes() { } } /** - * - * *
      * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
      *
@@ -1081,22 +1039,18 @@ public com.google.protobuf.ByteString getPlatformVersionBytes() {
      * 
* * string platform_version = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The platformVersion to set. * @return This builder for chaining. */ - public Builder setPlatformVersion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPlatformVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } platformVersion_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
      *
@@ -1106,7 +1060,6 @@ public Builder setPlatformVersion(java.lang.String value) {
      * 
* * string platform_version = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPlatformVersion() { @@ -1116,8 +1069,6 @@ public Builder clearPlatformVersion() { return this; } /** - * - * *
      * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
      *
@@ -1127,14 +1078,12 @@ public Builder clearPlatformVersion() {
      * 
* * string platform_version = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for platformVersion to set. * @return This builder for chaining. */ - public Builder setPlatformVersionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPlatformVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); platformVersion_ = value; bitField0_ |= 0x00000004; @@ -1142,8 +1091,163 @@ public Builder setPlatformVersionBytes(com.google.protobuf.ByteString value) { return this; } + private com.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxyConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig, com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder> proxyConfigBuilder_; + /** + *
+     * Optional. Proxy configuration for outbound HTTP(S) traffic.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the proxyConfig field is set. + */ + public boolean hasProxyConfig() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + *
+     * Optional. Proxy configuration for outbound HTTP(S) traffic.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The proxyConfig. + */ + public com.google.cloud.gkemulticloud.v1.AttachedProxyConfig getProxyConfig() { + if (proxyConfigBuilder_ == null) { + return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() : proxyConfig_; + } else { + return proxyConfigBuilder_.getMessage(); + } + } + /** + *
+     * Optional. Proxy configuration for outbound HTTP(S) traffic.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setProxyConfig(com.google.cloud.gkemulticloud.v1.AttachedProxyConfig value) { + if (proxyConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + proxyConfig_ = value; + } else { + proxyConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Optional. Proxy configuration for outbound HTTP(S) traffic.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setProxyConfig( + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder builderForValue) { + if (proxyConfigBuilder_ == null) { + proxyConfig_ = builderForValue.build(); + } else { + proxyConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Optional. Proxy configuration for outbound HTTP(S) traffic.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder mergeProxyConfig(com.google.cloud.gkemulticloud.v1.AttachedProxyConfig value) { + if (proxyConfigBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) && + proxyConfig_ != null && + proxyConfig_ != com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance()) { + getProxyConfigBuilder().mergeFrom(value); + } else { + proxyConfig_ = value; + } + } else { + proxyConfigBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Optional. Proxy configuration for outbound HTTP(S) traffic.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder clearProxyConfig() { + bitField0_ = (bitField0_ & ~0x00000008); + proxyConfig_ = null; + if (proxyConfigBuilder_ != null) { + proxyConfigBuilder_.dispose(); + proxyConfigBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * Optional. Proxy configuration for outbound HTTP(S) traffic.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder getProxyConfigBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getProxyConfigFieldBuilder().getBuilder(); + } + /** + *
+     * Optional. Proxy configuration for outbound HTTP(S) traffic.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder getProxyConfigOrBuilder() { + if (proxyConfigBuilder_ != null) { + return proxyConfigBuilder_.getMessageOrBuilder(); + } else { + return proxyConfig_ == null ? + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() : proxyConfig_; + } + } + /** + *
+     * Optional. Proxy configuration for outbound HTTP(S) traffic.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig, com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder> + getProxyConfigFieldBuilder() { + if (proxyConfigBuilder_ == null) { + proxyConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig, com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder>( + getProxyConfig(), + getParentForChildren(), + isClean()); + proxyConfig_ = null; + } + return proxyConfigBuilder_; + } @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1153,61 +1257,55 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest) - private static final com.google.cloud.gkemulticloud.v1 - .GenerateAttachedClusterInstallManifestRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest(); + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest(); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest - getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateAttachedClusterInstallManifestRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateAttachedClusterInstallManifestRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser - getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest - getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequestOrBuilder.java similarity index 74% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequestOrBuilder.java index 9c56bacf30a0..11e3dc77d767 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GenerateAttachedClusterInstallManifestRequestOrBuilder - extends +public interface GenerateAttachedClusterInstallManifestRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent location where this
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -37,16 +19,11 @@ public interface GenerateAttachedClusterInstallManifestRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent location where this
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -58,17 +35,13 @@ public interface GenerateAttachedClusterInstallManifestRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. A client provided ID of the resource. Must be unique within the
    * parent resource.
@@ -88,13 +61,10 @@ public interface GenerateAttachedClusterInstallManifestRequestOrBuilder
    * 
* * string attached_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The attachedClusterId. */ java.lang.String getAttachedClusterId(); /** - * - * *
    * Required. A client provided ID of the resource. Must be unique within the
    * parent resource.
@@ -114,14 +84,12 @@ public interface GenerateAttachedClusterInstallManifestRequestOrBuilder
    * 
* * string attached_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for attachedClusterId. */ - com.google.protobuf.ByteString getAttachedClusterIdBytes(); + com.google.protobuf.ByteString + getAttachedClusterIdBytes(); /** - * - * *
    * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
    *
@@ -131,13 +99,10 @@ public interface GenerateAttachedClusterInstallManifestRequestOrBuilder
    * 
* * string platform_version = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The platformVersion. */ java.lang.String getPlatformVersion(); /** - * - * *
    * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
    *
@@ -147,8 +112,35 @@ public interface GenerateAttachedClusterInstallManifestRequestOrBuilder
    * 
* * string platform_version = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for platformVersion. */ - com.google.protobuf.ByteString getPlatformVersionBytes(); + com.google.protobuf.ByteString + getPlatformVersionBytes(); + + /** + *
+   * Optional. Proxy configuration for outbound HTTP(S) traffic.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the proxyConfig field is set. + */ + boolean hasProxyConfig(); + /** + *
+   * Optional. Proxy configuration for outbound HTTP(S) traffic.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The proxyConfig. + */ + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig getProxyConfig(); + /** + *
+   * Optional. Proxy configuration for outbound HTTP(S) traffic.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder getProxyConfigOrBuilder(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestResponse.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestResponse.java similarity index 53% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestResponse.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestResponse.java index 285e0e179686..3db6a79fc55c 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestResponse.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestResponse.java @@ -1,86 +1,59 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Response message for
  * `AttachedClusters.GenerateAttachedClusterInstallManifest` method.
  * 
* - * Protobuf type {@code - * google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse} + * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse} */ -public final class GenerateAttachedClusterInstallManifestResponse - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GenerateAttachedClusterInstallManifestResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse) GenerateAttachedClusterInstallManifestResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GenerateAttachedClusterInstallManifestResponse.newBuilder() to construct. - private GenerateAttachedClusterInstallManifestResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GenerateAttachedClusterInstallManifestResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GenerateAttachedClusterInstallManifestResponse() { manifest_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GenerateAttachedClusterInstallManifestResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse.class, - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse.Builder - .class); + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse.class, com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse.Builder.class); } public static final int MANIFEST_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object manifest_ = ""; /** - * - * *
    * A set of Kubernetes resources (in YAML format) to be applied
    * to the cluster to be attached.
    * 
* * string manifest = 1; - * * @return The manifest. */ @java.lang.Override @@ -89,30 +62,30 @@ public java.lang.String getManifest() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); manifest_ = s; return s; } } /** - * - * *
    * A set of Kubernetes resources (in YAML format) to be applied
    * to the cluster to be attached.
    * 
* * string manifest = 1; - * * @return The bytes for manifest. */ @java.lang.Override - public com.google.protobuf.ByteString getManifestBytes() { + public com.google.protobuf.ByteString + getManifestBytes() { java.lang.Object ref = manifest_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); manifest_ = b; return b; } else { @@ -121,7 +94,6 @@ public com.google.protobuf.ByteString getManifestBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +105,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(manifest_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, manifest_); } @@ -157,17 +130,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse)) { + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse other = - (com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse) obj; + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse other = (com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse) obj; - if (!getManifest().equals(other.getManifest())) return false; + if (!getManifest() + .equals(other.getManifest())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -186,148 +157,133 @@ public int hashCode() { return hash; } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for
    * `AttachedClusters.GenerateAttachedClusterInstallManifest` method.
    * 
* - * Protobuf type {@code - * google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse} + * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse) com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse - .class, - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse - .Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse.class, com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse.Builder.class); } - // Construct using - // com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -337,23 +293,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestResponse_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse - getDefaultInstanceForType() { - return com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse - .getDefaultInstance(); + public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse - build() { - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse result = - buildPartial(); + public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse build() { + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -361,20 +313,14 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse - buildPartial() { - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse result = - new com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse( - this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse buildPartial() { + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse result = new com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse result) { + private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.manifest_ = manifest_; @@ -385,54 +331,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse) { - return mergeFrom( - (com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse) - other); + if (other instanceof com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse other) { - if (other - == com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse other) { + if (other == com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse.getDefaultInstance()) return this; if (!other.getManifest().isEmpty()) { manifest_ = other.manifest_; bitField0_ |= 0x00000001; @@ -464,19 +402,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - manifest_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + manifest_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -486,26 +422,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object manifest_ = ""; /** - * - * *
      * A set of Kubernetes resources (in YAML format) to be applied
      * to the cluster to be attached.
      * 
* * string manifest = 1; - * * @return The manifest. */ public java.lang.String getManifest() { java.lang.Object ref = manifest_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); manifest_ = s; return s; @@ -514,22 +447,21 @@ public java.lang.String getManifest() { } } /** - * - * *
      * A set of Kubernetes resources (in YAML format) to be applied
      * to the cluster to be attached.
      * 
* * string manifest = 1; - * * @return The bytes for manifest. */ - public com.google.protobuf.ByteString getManifestBytes() { + public com.google.protobuf.ByteString + getManifestBytes() { java.lang.Object ref = manifest_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); manifest_ = b; return b; } else { @@ -537,37 +469,30 @@ public com.google.protobuf.ByteString getManifestBytes() { } } /** - * - * *
      * A set of Kubernetes resources (in YAML format) to be applied
      * to the cluster to be attached.
      * 
* * string manifest = 1; - * * @param value The manifest to set. * @return This builder for chaining. */ - public Builder setManifest(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setManifest( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } manifest_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * A set of Kubernetes resources (in YAML format) to be applied
      * to the cluster to be attached.
      * 
* * string manifest = 1; - * * @return This builder for chaining. */ public Builder clearManifest() { @@ -577,31 +502,27 @@ public Builder clearManifest() { return this; } /** - * - * *
      * A set of Kubernetes resources (in YAML format) to be applied
      * to the cluster to be attached.
      * 
* * string manifest = 1; - * * @param value The bytes for manifest to set. * @return This builder for chaining. */ - public Builder setManifestBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setManifestBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); manifest_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -611,62 +532,55 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse) - private static final com.google.cloud.gkemulticloud.v1 - .GenerateAttachedClusterInstallManifestResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse(); + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse(); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse - getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateAttachedClusterInstallManifestResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateAttachedClusterInstallManifestResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; - public static com.google.protobuf.Parser - parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser - getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse - getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestResponseOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestResponseOrBuilder.java similarity index 55% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestResponseOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestResponseOrBuilder.java index d08a671eed0d..5eefb6fbb157 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestResponseOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestResponseOrBuilder.java @@ -1,52 +1,31 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GenerateAttachedClusterInstallManifestResponseOrBuilder - extends +public interface GenerateAttachedClusterInstallManifestResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A set of Kubernetes resources (in YAML format) to be applied
    * to the cluster to be attached.
    * 
* * string manifest = 1; - * * @return The manifest. */ java.lang.String getManifest(); /** - * - * *
    * A set of Kubernetes resources (in YAML format) to be applied
    * to the cluster to be attached.
    * 
* * string manifest = 1; - * * @return The bytes for manifest. */ - com.google.protobuf.ByteString getManifestBytes(); + com.google.protobuf.ByteString + getManifestBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequest.java similarity index 63% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequest.java index 5863f1d00bcd..2c49eb86c24c 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequest.java @@ -1,74 +1,52 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Request message for `AwsClusters.GenerateAwsAccessToken` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest} */ -public final class GenerateAwsAccessTokenRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GenerateAwsAccessTokenRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest) GenerateAwsAccessTokenRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GenerateAwsAccessTokenRequest.newBuilder() to construct. private GenerateAwsAccessTokenRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GenerateAwsAccessTokenRequest() { awsCluster_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GenerateAwsAccessTokenRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest.class, - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest.class, com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest.Builder.class); } public static final int AWS_CLUSTER_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object awsCluster_ = ""; /** - * - * *
    * Required. The name of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -81,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The awsCluster. */ @java.lang.Override @@ -93,15 +68,14 @@ public java.lang.String getAwsCluster() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); awsCluster_ = s; return s; } } /** - * - * *
    * Required. The name of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -114,18 +88,17 @@ public java.lang.String getAwsCluster() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for awsCluster. */ @java.lang.Override - public com.google.protobuf.ByteString getAwsClusterBytes() { + public com.google.protobuf.ByteString + getAwsClusterBytes() { java.lang.Object ref = awsCluster_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); awsCluster_ = b; return b; } else { @@ -134,7 +107,6 @@ public com.google.protobuf.ByteString getAwsClusterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -146,7 +118,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsCluster_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, awsCluster_); } @@ -170,15 +143,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest other = - (com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest) obj; + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest other = (com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest) obj; - if (!getAwsCluster().equals(other.getAwsCluster())) return false; + if (!getAwsCluster() + .equals(other.getAwsCluster())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -198,136 +171,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `AwsClusters.GenerateAwsAccessToken` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest) com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest.class, - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest.class, com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -337,14 +305,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest - getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest.getDefaultInstance(); } @@ -359,17 +326,13 @@ public com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest result = - new com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest result = new com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest result) { + private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.awsCluster_ = awsCluster_; @@ -380,50 +343,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest other) { - if (other - == com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest other) { + if (other == com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest.getDefaultInstance()) return this; if (!other.getAwsCluster().isEmpty()) { awsCluster_ = other.awsCluster_; bitField0_ |= 0x00000001; @@ -455,19 +414,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - awsCluster_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + awsCluster_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -477,13 +434,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object awsCluster_ = ""; /** - * - * *
      * Required. The name of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -496,16 +450,14 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The awsCluster. */ public java.lang.String getAwsCluster() { java.lang.Object ref = awsCluster_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); awsCluster_ = s; return s; @@ -514,8 +466,6 @@ public java.lang.String getAwsCluster() { } } /** - * - * *
      * Required. The name of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -528,17 +478,16 @@ public java.lang.String getAwsCluster() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for awsCluster. */ - public com.google.protobuf.ByteString getAwsClusterBytes() { + public com.google.protobuf.ByteString + getAwsClusterBytes() { java.lang.Object ref = awsCluster_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); awsCluster_ = b; return b; } else { @@ -546,8 +495,6 @@ public com.google.protobuf.ByteString getAwsClusterBytes() { } } /** - * - * *
      * Required. The name of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -560,25 +507,19 @@ public com.google.protobuf.ByteString getAwsClusterBytes() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The awsCluster to set. * @return This builder for chaining. */ - public Builder setAwsCluster(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAwsCluster( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } awsCluster_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -591,10 +532,7 @@ public Builder setAwsCluster(java.lang.String value) {
      * for more details on Google Cloud resource names.
      * 
* - * - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearAwsCluster() { @@ -604,8 +542,6 @@ public Builder clearAwsCluster() { return this; } /** - * - * *
      * Required. The name of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -618,26 +554,22 @@ public Builder clearAwsCluster() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for awsCluster to set. * @return This builder for chaining. */ - public Builder setAwsClusterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAwsClusterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); awsCluster_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -647,43 +579,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest) - private static final com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest(); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest - getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateAwsAccessTokenRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateAwsAccessTokenRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -695,8 +625,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest - getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequestOrBuilder.java similarity index 56% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequestOrBuilder.java index 2e7113b9da6d..b16e9e480f22 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GenerateAwsAccessTokenRequestOrBuilder - extends +public interface GenerateAwsAccessTokenRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -38,16 +20,11 @@ public interface GenerateAwsAccessTokenRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The awsCluster. */ java.lang.String getAwsCluster(); /** - * - * *
    * Required. The name of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -60,11 +37,9 @@ public interface GenerateAwsAccessTokenRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for awsCluster. */ - com.google.protobuf.ByteString getAwsClusterBytes(); + com.google.protobuf.ByteString + getAwsClusterBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponse.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponse.java similarity index 61% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponse.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponse.java index a743a5120de5..d1e3815432c3 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponse.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponse.java @@ -1,81 +1,57 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Response message for `AwsClusters.GenerateAwsAccessToken` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse} */ -public final class GenerateAwsAccessTokenResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GenerateAwsAccessTokenResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse) GenerateAwsAccessTokenResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GenerateAwsAccessTokenResponse.newBuilder() to construct. - private GenerateAwsAccessTokenResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GenerateAwsAccessTokenResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GenerateAwsAccessTokenResponse() { accessToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GenerateAwsAccessTokenResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse.class, - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse.class, com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse.Builder.class); } public static final int ACCESS_TOKEN_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object accessToken_ = ""; /** - * - * *
    * Output only. Access token to authenticate to k8s api-server.
    * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The accessToken. */ @java.lang.Override @@ -84,29 +60,29 @@ public java.lang.String getAccessToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); accessToken_ = s; return s; } } /** - * - * *
    * Output only. Access token to authenticate to k8s api-server.
    * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for accessToken. */ @java.lang.Override - public com.google.protobuf.ByteString getAccessTokenBytes() { + public com.google.protobuf.ByteString + getAccessTokenBytes() { java.lang.Object ref = accessToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); accessToken_ = b; return b; } else { @@ -117,16 +93,11 @@ public com.google.protobuf.ByteString getAccessTokenBytes() { public static final int EXPIRATION_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp expirationTime_; /** - * - * *
    * Output only. Timestamp at which the token will expire.
    * 
* - * - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expirationTime field is set. */ @java.lang.Override @@ -134,44 +105,30 @@ public boolean hasExpirationTime() { return expirationTime_ != null; } /** - * - * *
    * Output only. Timestamp at which the token will expire.
    * 
* - * - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expirationTime. */ @java.lang.Override public com.google.protobuf.Timestamp getExpirationTime() { - return expirationTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expirationTime_; + return expirationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expirationTime_; } /** - * - * *
    * Output only. Timestamp at which the token will expire.
    * 
* - * - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder() { - return expirationTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expirationTime_; + return expirationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expirationTime_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +140,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, accessToken_); } @@ -203,7 +161,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, accessToken_); } if (expirationTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExpirationTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getExpirationTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -213,18 +172,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse other = - (com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse) obj; + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse other = (com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse) obj; - if (!getAccessToken().equals(other.getAccessToken())) return false; + if (!getAccessToken() + .equals(other.getAccessToken())) return false; if (hasExpirationTime() != other.hasExpirationTime()) return false; if (hasExpirationTime()) { - if (!getExpirationTime().equals(other.getExpirationTime())) return false; + if (!getExpirationTime() + .equals(other.getExpirationTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -249,136 +209,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for `AwsClusters.GenerateAwsAccessToken` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse) com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse.class, - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse.class, com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -393,14 +348,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse - getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse.getDefaultInstance(); } @@ -415,24 +369,21 @@ public com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse build() @java.lang.Override public com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse buildPartial() { - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse result = - new com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse result = new com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse result) { + private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.accessToken_ = accessToken_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.expirationTime_ = - expirationTimeBuilder_ == null ? expirationTime_ : expirationTimeBuilder_.build(); + result.expirationTime_ = expirationTimeBuilder_ == null + ? expirationTime_ + : expirationTimeBuilder_.build(); } } @@ -440,50 +391,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse other) { - if (other - == com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse other) { + if (other == com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse.getDefaultInstance()) return this; if (!other.getAccessToken().isEmpty()) { accessToken_ = other.accessToken_; bitField0_ |= 0x00000001; @@ -518,25 +465,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - accessToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getExpirationTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + accessToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getExpirationTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -546,25 +492,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object accessToken_ = ""; /** - * - * *
      * Output only. Access token to authenticate to k8s api-server.
      * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The accessToken. */ public java.lang.String getAccessToken() { java.lang.Object ref = accessToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); accessToken_ = s; return s; @@ -573,21 +516,20 @@ public java.lang.String getAccessToken() { } } /** - * - * *
      * Output only. Access token to authenticate to k8s api-server.
      * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for accessToken. */ - public com.google.protobuf.ByteString getAccessTokenBytes() { + public com.google.protobuf.ByteString + getAccessTokenBytes() { java.lang.Object ref = accessToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); accessToken_ = b; return b; } else { @@ -595,35 +537,28 @@ public com.google.protobuf.ByteString getAccessTokenBytes() { } } /** - * - * *
      * Output only. Access token to authenticate to k8s api-server.
      * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The accessToken to set. * @return This builder for chaining. */ - public Builder setAccessToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAccessToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } accessToken_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. Access token to authenticate to k8s api-server.
      * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearAccessToken() { @@ -633,21 +568,17 @@ public Builder clearAccessToken() { return this; } /** - * - * *
      * Output only. Access token to authenticate to k8s api-server.
      * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for accessToken to set. * @return This builder for chaining. */ - public Builder setAccessTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAccessTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); accessToken_ = value; bitField0_ |= 0x00000001; @@ -657,58 +588,39 @@ public Builder setAccessTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp expirationTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - expirationTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expirationTimeBuilder_; /** - * - * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expirationTime field is set. */ public boolean hasExpirationTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expirationTime. */ public com.google.protobuf.Timestamp getExpirationTime() { if (expirationTimeBuilder_ == null) { - return expirationTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expirationTime_; + return expirationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expirationTime_; } else { return expirationTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setExpirationTime(com.google.protobuf.Timestamp value) { if (expirationTimeBuilder_ == null) { @@ -724,17 +636,14 @@ public Builder setExpirationTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setExpirationTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpirationTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (expirationTimeBuilder_ == null) { expirationTime_ = builderForValue.build(); } else { @@ -745,21 +654,17 @@ public Builder setExpirationTime(com.google.protobuf.Timestamp.Builder builderFo return this; } /** - * - * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeExpirationTime(com.google.protobuf.Timestamp value) { if (expirationTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && expirationTime_ != null - && expirationTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + expirationTime_ != null && + expirationTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpirationTimeBuilder().mergeFrom(value); } else { expirationTime_ = value; @@ -772,15 +677,11 @@ public Builder mergeExpirationTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearExpirationTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -793,15 +694,11 @@ public Builder clearExpirationTime() { return this; } /** - * - * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getExpirationTimeBuilder() { bitField0_ |= 0x00000002; @@ -809,55 +706,43 @@ public com.google.protobuf.Timestamp.Builder getExpirationTimeBuilder() { return getExpirationTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder() { if (expirationTimeBuilder_ != null) { return expirationTimeBuilder_.getMessageOrBuilder(); } else { - return expirationTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expirationTime_; + return expirationTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expirationTime_; } } /** - * - * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getExpirationTimeFieldBuilder() { if (expirationTimeBuilder_ == null) { - expirationTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExpirationTime(), getParentForChildren(), isClean()); + expirationTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpirationTime(), + getParentForChildren(), + isClean()); expirationTime_ = null; } return expirationTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -867,43 +752,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse) - private static final com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse(); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse - getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateAwsAccessTokenResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateAwsAccessTokenResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -915,8 +798,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse - getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponseOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponseOrBuilder.java similarity index 53% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponseOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponseOrBuilder.java index 8dcbb4038b0f..a866c2f2006e 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponseOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponseOrBuilder.java @@ -1,91 +1,56 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GenerateAwsAccessTokenResponseOrBuilder - extends +public interface GenerateAwsAccessTokenResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Access token to authenticate to k8s api-server.
    * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The accessToken. */ java.lang.String getAccessToken(); /** - * - * *
    * Output only. Access token to authenticate to k8s api-server.
    * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for accessToken. */ - com.google.protobuf.ByteString getAccessTokenBytes(); + com.google.protobuf.ByteString + getAccessTokenBytes(); /** - * - * *
    * Output only. Timestamp at which the token will expire.
    * 
* - * - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expirationTime field is set. */ boolean hasExpirationTime(); /** - * - * *
    * Output only. Timestamp at which the token will expire.
    * 
* - * - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expirationTime. */ com.google.protobuf.Timestamp getExpirationTime(); /** - * - * *
    * Output only. Timestamp at which the token will expire.
    * 
* - * - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenRequest.java new file mode 100644 index 000000000000..8d3f803d8e0d --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenRequest.java @@ -0,0 +1,2045 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_service.proto + +package com.google.cloud.gkemulticloud.v1; + +/** + * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest} + */ +public final class GenerateAwsClusterAgentTokenRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest) + GenerateAwsClusterAgentTokenRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use GenerateAwsClusterAgentTokenRequest.newBuilder() to construct. + private GenerateAwsClusterAgentTokenRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GenerateAwsClusterAgentTokenRequest() { + awsCluster_ = ""; + subjectToken_ = ""; + subjectTokenType_ = ""; + version_ = ""; + nodePoolId_ = ""; + grantType_ = ""; + audience_ = ""; + scope_ = ""; + requestedTokenType_ = ""; + options_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GenerateAwsClusterAgentTokenRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest.class, com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest.Builder.class); + } + + public static final int AWS_CLUSTER_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object awsCluster_ = ""; + /** + *
+   * Required.
+   * 
+ * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The awsCluster. + */ + @java.lang.Override + public java.lang.String getAwsCluster() { + java.lang.Object ref = awsCluster_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + awsCluster_ = s; + return s; + } + } + /** + *
+   * Required.
+   * 
+ * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for awsCluster. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAwsClusterBytes() { + java.lang.Object ref = awsCluster_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + awsCluster_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SUBJECT_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object subjectToken_ = ""; + /** + *
+   * Required.
+   * 
+ * + * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The subjectToken. + */ + @java.lang.Override + public java.lang.String getSubjectToken() { + java.lang.Object ref = subjectToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + subjectToken_ = s; + return s; + } + } + /** + *
+   * Required.
+   * 
+ * + * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for subjectToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSubjectTokenBytes() { + java.lang.Object ref = subjectToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + subjectToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SUBJECT_TOKEN_TYPE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object subjectTokenType_ = ""; + /** + *
+   * Required.
+   * 
+ * + * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The subjectTokenType. + */ + @java.lang.Override + public java.lang.String getSubjectTokenType() { + java.lang.Object ref = subjectTokenType_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + subjectTokenType_ = s; + return s; + } + } + /** + *
+   * Required.
+   * 
+ * + * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for subjectTokenType. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSubjectTokenTypeBytes() { + java.lang.Object ref = subjectTokenType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + subjectTokenType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int VERSION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object version_ = ""; + /** + *
+   * Required.
+   * 
+ * + * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The version. + */ + @java.lang.Override + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + version_ = s; + return s; + } + } + /** + *
+   * Required.
+   * 
+ * + * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for version. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NODE_POOL_ID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object nodePoolId_ = ""; + /** + *
+   * Optional.
+   * 
+ * + * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The nodePoolId. + */ + @java.lang.Override + public java.lang.String getNodePoolId() { + java.lang.Object ref = nodePoolId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nodePoolId_ = s; + return s; + } + } + /** + *
+   * Optional.
+   * 
+ * + * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for nodePoolId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNodePoolIdBytes() { + java.lang.Object ref = nodePoolId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nodePoolId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int GRANT_TYPE_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private volatile java.lang.Object grantType_ = ""; + /** + *
+   * Optional.
+   * 
+ * + * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The grantType. + */ + @java.lang.Override + public java.lang.String getGrantType() { + java.lang.Object ref = grantType_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + grantType_ = s; + return s; + } + } + /** + *
+   * Optional.
+   * 
+ * + * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for grantType. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getGrantTypeBytes() { + java.lang.Object ref = grantType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + grantType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AUDIENCE_FIELD_NUMBER = 7; + @SuppressWarnings("serial") + private volatile java.lang.Object audience_ = ""; + /** + *
+   * Optional.
+   * 
+ * + * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return The audience. + */ + @java.lang.Override + public java.lang.String getAudience() { + java.lang.Object ref = audience_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + audience_ = s; + return s; + } + } + /** + *
+   * Optional.
+   * 
+ * + * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for audience. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAudienceBytes() { + java.lang.Object ref = audience_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + audience_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SCOPE_FIELD_NUMBER = 8; + @SuppressWarnings("serial") + private volatile java.lang.Object scope_ = ""; + /** + *
+   * Optional.
+   * 
+ * + * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return The scope. + */ + @java.lang.Override + public java.lang.String getScope() { + java.lang.Object ref = scope_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + scope_ = s; + return s; + } + } + /** + *
+   * Optional.
+   * 
+ * + * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for scope. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getScopeBytes() { + java.lang.Object ref = scope_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + scope_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUESTED_TOKEN_TYPE_FIELD_NUMBER = 9; + @SuppressWarnings("serial") + private volatile java.lang.Object requestedTokenType_ = ""; + /** + *
+   * Optional.
+   * 
+ * + * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return The requestedTokenType. + */ + @java.lang.Override + public java.lang.String getRequestedTokenType() { + java.lang.Object ref = requestedTokenType_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestedTokenType_ = s; + return s; + } + } + /** + *
+   * Optional.
+   * 
+ * + * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for requestedTokenType. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getRequestedTokenTypeBytes() { + java.lang.Object ref = requestedTokenType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + requestedTokenType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OPTIONS_FIELD_NUMBER = 10; + @SuppressWarnings("serial") + private volatile java.lang.Object options_ = ""; + /** + *
+   * Optional.
+   * 
+ * + * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return The options. + */ + @java.lang.Override + public java.lang.String getOptions() { + java.lang.Object ref = options_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + options_ = s; + return s; + } + } + /** + *
+   * Optional.
+   * 
+ * + * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for options. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOptionsBytes() { + java.lang.Object ref = options_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + options_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsCluster_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, awsCluster_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subjectToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, subjectToken_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subjectTokenType_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, subjectTokenType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, version_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nodePoolId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, nodePoolId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(grantType_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, grantType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(audience_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, audience_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scope_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, scope_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestedTokenType_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 9, requestedTokenType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(options_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 10, options_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsCluster_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, awsCluster_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subjectToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, subjectToken_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subjectTokenType_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, subjectTokenType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, version_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nodePoolId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, nodePoolId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(grantType_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, grantType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(audience_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, audience_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scope_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, scope_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestedTokenType_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, requestedTokenType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(options_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, options_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest other = (com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest) obj; + + if (!getAwsCluster() + .equals(other.getAwsCluster())) return false; + if (!getSubjectToken() + .equals(other.getSubjectToken())) return false; + if (!getSubjectTokenType() + .equals(other.getSubjectTokenType())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getNodePoolId() + .equals(other.getNodePoolId())) return false; + if (!getGrantType() + .equals(other.getGrantType())) return false; + if (!getAudience() + .equals(other.getAudience())) return false; + if (!getScope() + .equals(other.getScope())) return false; + if (!getRequestedTokenType() + .equals(other.getRequestedTokenType())) return false; + if (!getOptions() + .equals(other.getOptions())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + AWS_CLUSTER_FIELD_NUMBER; + hash = (53 * hash) + getAwsCluster().hashCode(); + hash = (37 * hash) + SUBJECT_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getSubjectToken().hashCode(); + hash = (37 * hash) + SUBJECT_TOKEN_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getSubjectTokenType().hashCode(); + hash = (37 * hash) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion().hashCode(); + hash = (37 * hash) + NODE_POOL_ID_FIELD_NUMBER; + hash = (53 * hash) + getNodePoolId().hashCode(); + hash = (37 * hash) + GRANT_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getGrantType().hashCode(); + hash = (37 * hash) + AUDIENCE_FIELD_NUMBER; + hash = (53 * hash) + getAudience().hashCode(); + hash = (37 * hash) + SCOPE_FIELD_NUMBER; + hash = (53 * hash) + getScope().hashCode(); + hash = (37 * hash) + REQUESTED_TOKEN_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getRequestedTokenType().hashCode(); + hash = (37 * hash) + OPTIONS_FIELD_NUMBER; + hash = (53 * hash) + getOptions().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest) + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest.class, com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + awsCluster_ = ""; + subjectToken_ = ""; + subjectTokenType_ = ""; + version_ = ""; + nodePoolId_ = ""; + grantType_ = ""; + audience_ = ""; + scope_ = ""; + requestedTokenType_ = ""; + options_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest build() { + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest buildPartial() { + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest result = new com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.awsCluster_ = awsCluster_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.subjectToken_ = subjectToken_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.subjectTokenType_ = subjectTokenType_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.version_ = version_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.nodePoolId_ = nodePoolId_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.grantType_ = grantType_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.audience_ = audience_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.scope_ = scope_; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.requestedTokenType_ = requestedTokenType_; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.options_ = options_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest other) { + if (other == com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest.getDefaultInstance()) return this; + if (!other.getAwsCluster().isEmpty()) { + awsCluster_ = other.awsCluster_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getSubjectToken().isEmpty()) { + subjectToken_ = other.subjectToken_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getSubjectTokenType().isEmpty()) { + subjectTokenType_ = other.subjectTokenType_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getVersion().isEmpty()) { + version_ = other.version_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getNodePoolId().isEmpty()) { + nodePoolId_ = other.nodePoolId_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.getGrantType().isEmpty()) { + grantType_ = other.grantType_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (!other.getAudience().isEmpty()) { + audience_ = other.audience_; + bitField0_ |= 0x00000040; + onChanged(); + } + if (!other.getScope().isEmpty()) { + scope_ = other.scope_; + bitField0_ |= 0x00000080; + onChanged(); + } + if (!other.getRequestedTokenType().isEmpty()) { + requestedTokenType_ = other.requestedTokenType_; + bitField0_ |= 0x00000100; + onChanged(); + } + if (!other.getOptions().isEmpty()) { + options_ = other.options_; + bitField0_ |= 0x00000200; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + awsCluster_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + subjectToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + subjectTokenType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + nodePoolId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + grantType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + audience_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: { + scope_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 74: { + requestedTokenType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 82: { + options_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 82 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object awsCluster_ = ""; + /** + *
+     * Required.
+     * 
+ * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The awsCluster. + */ + public java.lang.String getAwsCluster() { + java.lang.Object ref = awsCluster_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + awsCluster_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required.
+     * 
+ * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for awsCluster. + */ + public com.google.protobuf.ByteString + getAwsClusterBytes() { + java.lang.Object ref = awsCluster_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + awsCluster_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required.
+     * 
+ * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The awsCluster to set. + * @return This builder for chaining. + */ + public Builder setAwsCluster( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + awsCluster_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Required.
+     * 
+ * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearAwsCluster() { + awsCluster_ = getDefaultInstance().getAwsCluster(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     * Required.
+     * 
+ * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for awsCluster to set. + * @return This builder for chaining. + */ + public Builder setAwsClusterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + awsCluster_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object subjectToken_ = ""; + /** + *
+     * Required.
+     * 
+ * + * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The subjectToken. + */ + public java.lang.String getSubjectToken() { + java.lang.Object ref = subjectToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + subjectToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required.
+     * 
+ * + * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for subjectToken. + */ + public com.google.protobuf.ByteString + getSubjectTokenBytes() { + java.lang.Object ref = subjectToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + subjectToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required.
+     * 
+ * + * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The subjectToken to set. + * @return This builder for chaining. + */ + public Builder setSubjectToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + subjectToken_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * Required.
+     * 
+ * + * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearSubjectToken() { + subjectToken_ = getDefaultInstance().getSubjectToken(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+     * Required.
+     * 
+ * + * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for subjectToken to set. + * @return This builder for chaining. + */ + public Builder setSubjectTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + subjectToken_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object subjectTokenType_ = ""; + /** + *
+     * Required.
+     * 
+ * + * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The subjectTokenType. + */ + public java.lang.String getSubjectTokenType() { + java.lang.Object ref = subjectTokenType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + subjectTokenType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required.
+     * 
+ * + * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for subjectTokenType. + */ + public com.google.protobuf.ByteString + getSubjectTokenTypeBytes() { + java.lang.Object ref = subjectTokenType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + subjectTokenType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required.
+     * 
+ * + * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param value The subjectTokenType to set. + * @return This builder for chaining. + */ + public Builder setSubjectTokenType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + subjectTokenType_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * Required.
+     * 
+ * + * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearSubjectTokenType() { + subjectTokenType_ = getDefaultInstance().getSubjectTokenType(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + *
+     * Required.
+     * 
+ * + * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for subjectTokenType to set. + * @return This builder for chaining. + */ + public Builder setSubjectTokenTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + subjectTokenType_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object version_ = ""; + /** + *
+     * Required.
+     * 
+ * + * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The version. + */ + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + version_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required.
+     * 
+ * + * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for version. + */ + public com.google.protobuf.ByteString + getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required.
+     * 
+ * + * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * @param value The version to set. + * @return This builder for chaining. + */ + public Builder setVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + version_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Required.
+     * 
+ * + * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearVersion() { + version_ = getDefaultInstance().getVersion(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + *
+     * Required.
+     * 
+ * + * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for version to set. + * @return This builder for chaining. + */ + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + version_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object nodePoolId_ = ""; + /** + *
+     * Optional.
+     * 
+ * + * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The nodePoolId. + */ + public java.lang.String getNodePoolId() { + java.lang.Object ref = nodePoolId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nodePoolId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for nodePoolId. + */ + public com.google.protobuf.ByteString + getNodePoolIdBytes() { + java.lang.Object ref = nodePoolId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nodePoolId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The nodePoolId to set. + * @return This builder for chaining. + */ + public Builder setNodePoolId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + nodePoolId_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearNodePoolId() { + nodePoolId_ = getDefaultInstance().getNodePoolId(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for nodePoolId to set. + * @return This builder for chaining. + */ + public Builder setNodePoolIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + nodePoolId_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object grantType_ = ""; + /** + *
+     * Optional.
+     * 
+ * + * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The grantType. + */ + public java.lang.String getGrantType() { + java.lang.Object ref = grantType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + grantType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for grantType. + */ + public com.google.protobuf.ByteString + getGrantTypeBytes() { + java.lang.Object ref = grantType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + grantType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The grantType to set. + * @return This builder for chaining. + */ + public Builder setGrantType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + grantType_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearGrantType() { + grantType_ = getDefaultInstance().getGrantType(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for grantType to set. + * @return This builder for chaining. + */ + public Builder setGrantTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + grantType_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private java.lang.Object audience_ = ""; + /** + *
+     * Optional.
+     * 
+ * + * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return The audience. + */ + public java.lang.String getAudience() { + java.lang.Object ref = audience_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + audience_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for audience. + */ + public com.google.protobuf.ByteString + getAudienceBytes() { + java.lang.Object ref = audience_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + audience_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The audience to set. + * @return This builder for chaining. + */ + public Builder setAudience( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + audience_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearAudience() { + audience_ = getDefaultInstance().getAudience(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for audience to set. + * @return This builder for chaining. + */ + public Builder setAudienceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + audience_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + private java.lang.Object scope_ = ""; + /** + *
+     * Optional.
+     * 
+ * + * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return The scope. + */ + public java.lang.String getScope() { + java.lang.Object ref = scope_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + scope_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for scope. + */ + public com.google.protobuf.ByteString + getScopeBytes() { + java.lang.Object ref = scope_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + scope_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The scope to set. + * @return This builder for chaining. + */ + public Builder setScope( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + scope_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearScope() { + scope_ = getDefaultInstance().getScope(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for scope to set. + * @return This builder for chaining. + */ + public Builder setScopeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + scope_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + + private java.lang.Object requestedTokenType_ = ""; + /** + *
+     * Optional.
+     * 
+ * + * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return The requestedTokenType. + */ + public java.lang.String getRequestedTokenType() { + java.lang.Object ref = requestedTokenType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestedTokenType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for requestedTokenType. + */ + public com.google.protobuf.ByteString + getRequestedTokenTypeBytes() { + java.lang.Object ref = requestedTokenType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + requestedTokenType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The requestedTokenType to set. + * @return This builder for chaining. + */ + public Builder setRequestedTokenType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + requestedTokenType_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearRequestedTokenType() { + requestedTokenType_ = getDefaultInstance().getRequestedTokenType(); + bitField0_ = (bitField0_ & ~0x00000100); + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for requestedTokenType to set. + * @return This builder for chaining. + */ + public Builder setRequestedTokenTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + requestedTokenType_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + + private java.lang.Object options_ = ""; + /** + *
+     * Optional.
+     * 
+ * + * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return The options. + */ + public java.lang.String getOptions() { + java.lang.Object ref = options_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + options_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for options. + */ + public com.google.protobuf.ByteString + getOptionsBytes() { + java.lang.Object ref = options_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + options_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The options to set. + * @return This builder for chaining. + */ + public Builder setOptions( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + options_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearOptions() { + options_ = getDefaultInstance().getOptions(); + bitField0_ = (bitField0_ & ~0x00000200); + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for options to set. + * @return This builder for chaining. + */ + public Builder setOptionsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + options_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest) + private static final com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest(); + } + + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateAwsClusterAgentTokenRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenRequestOrBuilder.java new file mode 100644 index 000000000000..67ccc428398d --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenRequestOrBuilder.java @@ -0,0 +1,209 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_service.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface GenerateAwsClusterAgentTokenRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required.
+   * 
+ * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The awsCluster. + */ + java.lang.String getAwsCluster(); + /** + *
+   * Required.
+   * 
+ * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for awsCluster. + */ + com.google.protobuf.ByteString + getAwsClusterBytes(); + + /** + *
+   * Required.
+   * 
+ * + * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The subjectToken. + */ + java.lang.String getSubjectToken(); + /** + *
+   * Required.
+   * 
+ * + * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for subjectToken. + */ + com.google.protobuf.ByteString + getSubjectTokenBytes(); + + /** + *
+   * Required.
+   * 
+ * + * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The subjectTokenType. + */ + java.lang.String getSubjectTokenType(); + /** + *
+   * Required.
+   * 
+ * + * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for subjectTokenType. + */ + com.google.protobuf.ByteString + getSubjectTokenTypeBytes(); + + /** + *
+   * Required.
+   * 
+ * + * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The version. + */ + java.lang.String getVersion(); + /** + *
+   * Required.
+   * 
+ * + * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for version. + */ + com.google.protobuf.ByteString + getVersionBytes(); + + /** + *
+   * Optional.
+   * 
+ * + * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The nodePoolId. + */ + java.lang.String getNodePoolId(); + /** + *
+   * Optional.
+   * 
+ * + * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for nodePoolId. + */ + com.google.protobuf.ByteString + getNodePoolIdBytes(); + + /** + *
+   * Optional.
+   * 
+ * + * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The grantType. + */ + java.lang.String getGrantType(); + /** + *
+   * Optional.
+   * 
+ * + * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for grantType. + */ + com.google.protobuf.ByteString + getGrantTypeBytes(); + + /** + *
+   * Optional.
+   * 
+ * + * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return The audience. + */ + java.lang.String getAudience(); + /** + *
+   * Optional.
+   * 
+ * + * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for audience. + */ + com.google.protobuf.ByteString + getAudienceBytes(); + + /** + *
+   * Optional.
+   * 
+ * + * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return The scope. + */ + java.lang.String getScope(); + /** + *
+   * Optional.
+   * 
+ * + * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for scope. + */ + com.google.protobuf.ByteString + getScopeBytes(); + + /** + *
+   * Optional.
+   * 
+ * + * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return The requestedTokenType. + */ + java.lang.String getRequestedTokenType(); + /** + *
+   * Optional.
+   * 
+ * + * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for requestedTokenType. + */ + com.google.protobuf.ByteString + getRequestedTokenTypeBytes(); + + /** + *
+   * Optional.
+   * 
+ * + * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return The options. + */ + java.lang.String getOptions(); + /** + *
+   * Optional.
+   * 
+ * + * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for options. + */ + com.google.protobuf.ByteString + getOptionsBytes(); +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenResponse.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenResponse.java new file mode 100644 index 000000000000..0b60b00db47d --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenResponse.java @@ -0,0 +1,743 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_service.proto + +package com.google.cloud.gkemulticloud.v1; + +/** + * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse} + */ +public final class GenerateAwsClusterAgentTokenResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse) + GenerateAwsClusterAgentTokenResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use GenerateAwsClusterAgentTokenResponse.newBuilder() to construct. + private GenerateAwsClusterAgentTokenResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GenerateAwsClusterAgentTokenResponse() { + accessToken_ = ""; + tokenType_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GenerateAwsClusterAgentTokenResponse(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse.class, com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse.Builder.class); + } + + public static final int ACCESS_TOKEN_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object accessToken_ = ""; + /** + * string access_token = 1; + * @return The accessToken. + */ + @java.lang.Override + public java.lang.String getAccessToken() { + java.lang.Object ref = accessToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + accessToken_ = s; + return s; + } + } + /** + * string access_token = 1; + * @return The bytes for accessToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAccessTokenBytes() { + java.lang.Object ref = accessToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + accessToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int EXPIRES_IN_FIELD_NUMBER = 2; + private int expiresIn_ = 0; + /** + * int32 expires_in = 2; + * @return The expiresIn. + */ + @java.lang.Override + public int getExpiresIn() { + return expiresIn_; + } + + public static final int TOKEN_TYPE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object tokenType_ = ""; + /** + * string token_type = 3; + * @return The tokenType. + */ + @java.lang.Override + public java.lang.String getTokenType() { + java.lang.Object ref = tokenType_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tokenType_ = s; + return s; + } + } + /** + * string token_type = 3; + * @return The bytes for tokenType. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTokenTypeBytes() { + java.lang.Object ref = tokenType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + tokenType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, accessToken_); + } + if (expiresIn_ != 0) { + output.writeInt32(2, expiresIn_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tokenType_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tokenType_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, accessToken_); + } + if (expiresIn_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, expiresIn_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tokenType_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, tokenType_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse other = (com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse) obj; + + if (!getAccessToken() + .equals(other.getAccessToken())) return false; + if (getExpiresIn() + != other.getExpiresIn()) return false; + if (!getTokenType() + .equals(other.getTokenType())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ACCESS_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getAccessToken().hashCode(); + hash = (37 * hash) + EXPIRES_IN_FIELD_NUMBER; + hash = (53 * hash) + getExpiresIn(); + hash = (37 * hash) + TOKEN_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getTokenType().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse) + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse.class, com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + accessToken_ = ""; + expiresIn_ = 0; + tokenType_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse build() { + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse buildPartial() { + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse result = new com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.accessToken_ = accessToken_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.expiresIn_ = expiresIn_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.tokenType_ = tokenType_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse other) { + if (other == com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse.getDefaultInstance()) return this; + if (!other.getAccessToken().isEmpty()) { + accessToken_ = other.accessToken_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getExpiresIn() != 0) { + setExpiresIn(other.getExpiresIn()); + } + if (!other.getTokenType().isEmpty()) { + tokenType_ = other.tokenType_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + accessToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + expiresIn_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + tokenType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object accessToken_ = ""; + /** + * string access_token = 1; + * @return The accessToken. + */ + public java.lang.String getAccessToken() { + java.lang.Object ref = accessToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + accessToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string access_token = 1; + * @return The bytes for accessToken. + */ + public com.google.protobuf.ByteString + getAccessTokenBytes() { + java.lang.Object ref = accessToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + accessToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string access_token = 1; + * @param value The accessToken to set. + * @return This builder for chaining. + */ + public Builder setAccessToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + accessToken_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string access_token = 1; + * @return This builder for chaining. + */ + public Builder clearAccessToken() { + accessToken_ = getDefaultInstance().getAccessToken(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string access_token = 1; + * @param value The bytes for accessToken to set. + * @return This builder for chaining. + */ + public Builder setAccessTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + accessToken_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int expiresIn_ ; + /** + * int32 expires_in = 2; + * @return The expiresIn. + */ + @java.lang.Override + public int getExpiresIn() { + return expiresIn_; + } + /** + * int32 expires_in = 2; + * @param value The expiresIn to set. + * @return This builder for chaining. + */ + public Builder setExpiresIn(int value) { + + expiresIn_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 expires_in = 2; + * @return This builder for chaining. + */ + public Builder clearExpiresIn() { + bitField0_ = (bitField0_ & ~0x00000002); + expiresIn_ = 0; + onChanged(); + return this; + } + + private java.lang.Object tokenType_ = ""; + /** + * string token_type = 3; + * @return The tokenType. + */ + public java.lang.String getTokenType() { + java.lang.Object ref = tokenType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tokenType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string token_type = 3; + * @return The bytes for tokenType. + */ + public com.google.protobuf.ByteString + getTokenTypeBytes() { + java.lang.Object ref = tokenType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + tokenType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string token_type = 3; + * @param value The tokenType to set. + * @return This builder for chaining. + */ + public Builder setTokenType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + tokenType_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string token_type = 3; + * @return This builder for chaining. + */ + public Builder clearTokenType() { + tokenType_ = getDefaultInstance().getTokenType(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string token_type = 3; + * @param value The bytes for tokenType to set. + * @return This builder for chaining. + */ + public Builder setTokenTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + tokenType_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse) + private static final com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse(); + } + + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateAwsClusterAgentTokenResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenResponseOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenResponseOrBuilder.java new file mode 100644 index 000000000000..9e9f3db98e79 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenResponseOrBuilder.java @@ -0,0 +1,39 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_service.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface GenerateAwsClusterAgentTokenResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * string access_token = 1; + * @return The accessToken. + */ + java.lang.String getAccessToken(); + /** + * string access_token = 1; + * @return The bytes for accessToken. + */ + com.google.protobuf.ByteString + getAccessTokenBytes(); + + /** + * int32 expires_in = 2; + * @return The expiresIn. + */ + int getExpiresIn(); + + /** + * string token_type = 3; + * @return The tokenType. + */ + java.lang.String getTokenType(); + /** + * string token_type = 3; + * @return The bytes for tokenType. + */ + com.google.protobuf.ByteString + getTokenTypeBytes(); +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequest.java similarity index 61% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequest.java index fcc37b7f98e3..baf7997e87b6 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequest.java @@ -1,91 +1,65 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Request message for `AzureClusters.GenerateAzureAccessToken` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest} */ -public final class GenerateAzureAccessTokenRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GenerateAzureAccessTokenRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest) GenerateAzureAccessTokenRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GenerateAzureAccessTokenRequest.newBuilder() to construct. - private GenerateAzureAccessTokenRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GenerateAzureAccessTokenRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GenerateAzureAccessTokenRequest() { azureCluster_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GenerateAzureAccessTokenRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.class, - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.class, com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.Builder.class); } public static final int AZURE_CLUSTER_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object azureCluster_ = ""; /** - * - * *
    * Required. The name of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
    * authenticate to.
    *
    * `AzureCluster` names are formatted as
-   * `projects/<project-id>/locations/<region>/AzureClusters/<cluster-id>`.
+   * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
    *
    * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
    * for more details on Google Cloud resource names.
    * 
* - * - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The azureCluster. */ @java.lang.Override @@ -94,39 +68,37 @@ public java.lang.String getAzureCluster() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureCluster_ = s; return s; } } /** - * - * *
    * Required. The name of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
    * authenticate to.
    *
    * `AzureCluster` names are formatted as
-   * `projects/<project-id>/locations/<region>/AzureClusters/<cluster-id>`.
+   * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
    *
    * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
    * for more details on Google Cloud resource names.
    * 
* - * - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for azureCluster. */ @java.lang.Override - public com.google.protobuf.ByteString getAzureClusterBytes() { + public com.google.protobuf.ByteString + getAzureClusterBytes() { java.lang.Object ref = azureCluster_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); azureCluster_ = b; return b; } else { @@ -135,7 +107,6 @@ public com.google.protobuf.ByteString getAzureClusterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,7 +118,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(azureCluster_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, azureCluster_); } @@ -171,15 +143,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest other = - (com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest) obj; + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest other = (com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest) obj; - if (!getAzureCluster().equals(other.getAzureCluster())) return false; + if (!getAzureCluster() + .equals(other.getAzureCluster())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -199,138 +171,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `AzureClusters.GenerateAzureAccessToken` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest) com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.class, - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.class, com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.Builder.class); } - // Construct using - // com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -340,14 +305,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest - getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.getDefaultInstance(); } @@ -362,17 +326,13 @@ public com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest build() @java.lang.Override public com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest result = - new com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest result = new com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest result) { + private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.azureCluster_ = azureCluster_; @@ -383,50 +343,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest other) { - if (other - == com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest other) { + if (other == com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.getDefaultInstance()) return this; if (!other.getAzureCluster().isEmpty()) { azureCluster_ = other.azureCluster_; bitField0_ |= 0x00000001; @@ -458,19 +414,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - azureCluster_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + azureCluster_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -480,35 +434,30 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object azureCluster_ = ""; /** - * - * *
      * Required. The name of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
      * authenticate to.
      *
      * `AzureCluster` names are formatted as
-     * `projects/<project-id>/locations/<region>/AzureClusters/<cluster-id>`.
+     * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
      *
      * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
      * for more details on Google Cloud resource names.
      * 
* - * - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The azureCluster. */ public java.lang.String getAzureCluster() { java.lang.Object ref = azureCluster_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureCluster_ = s; return s; @@ -517,31 +466,28 @@ public java.lang.String getAzureCluster() { } } /** - * - * *
      * Required. The name of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
      * authenticate to.
      *
      * `AzureCluster` names are formatted as
-     * `projects/<project-id>/locations/<region>/AzureClusters/<cluster-id>`.
+     * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
      *
      * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
      * for more details on Google Cloud resource names.
      * 
* - * - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for azureCluster. */ - public com.google.protobuf.ByteString getAzureClusterBytes() { + public com.google.protobuf.ByteString + getAzureClusterBytes() { java.lang.Object ref = azureCluster_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); azureCluster_ = b; return b; } else { @@ -549,55 +495,44 @@ public com.google.protobuf.ByteString getAzureClusterBytes() { } } /** - * - * *
      * Required. The name of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
      * authenticate to.
      *
      * `AzureCluster` names are formatted as
-     * `projects/<project-id>/locations/<region>/AzureClusters/<cluster-id>`.
+     * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
      *
      * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
      * for more details on Google Cloud resource names.
      * 
* - * - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The azureCluster to set. * @return This builder for chaining. */ - public Builder setAzureCluster(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAzureCluster( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } azureCluster_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
      * authenticate to.
      *
      * `AzureCluster` names are formatted as
-     * `projects/<project-id>/locations/<region>/AzureClusters/<cluster-id>`.
+     * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
      *
      * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
      * for more details on Google Cloud resource names.
      * 
* - * - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearAzureCluster() { @@ -607,40 +542,34 @@ public Builder clearAzureCluster() { return this; } /** - * - * *
      * Required. The name of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
      * authenticate to.
      *
      * `AzureCluster` names are formatted as
-     * `projects/<project-id>/locations/<region>/AzureClusters/<cluster-id>`.
+     * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
      *
      * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
      * for more details on Google Cloud resource names.
      * 
* - * - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for azureCluster to set. * @return This builder for chaining. */ - public Builder setAzureClusterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAzureClusterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); azureCluster_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -650,43 +579,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest) - private static final com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest(); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest - getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateAzureAccessTokenRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateAzureAccessTokenRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -698,8 +625,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest - getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequestOrBuilder.java similarity index 50% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequestOrBuilder.java index 096e870f534f..6b4dd0667f3b 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequestOrBuilder.java @@ -1,70 +1,45 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GenerateAzureAccessTokenRequestOrBuilder - extends +public interface GenerateAzureAccessTokenRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
    * authenticate to.
    *
    * `AzureCluster` names are formatted as
-   * `projects/<project-id>/locations/<region>/AzureClusters/<cluster-id>`.
+   * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
    *
    * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
    * for more details on Google Cloud resource names.
    * 
* - * - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The azureCluster. */ java.lang.String getAzureCluster(); /** - * - * *
    * Required. The name of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
    * authenticate to.
    *
    * `AzureCluster` names are formatted as
-   * `projects/<project-id>/locations/<region>/AzureClusters/<cluster-id>`.
+   * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
    *
    * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
    * for more details on Google Cloud resource names.
    * 
* - * - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for azureCluster. */ - com.google.protobuf.ByteString getAzureClusterBytes(); + com.google.protobuf.ByteString + getAzureClusterBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponse.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponse.java similarity index 60% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponse.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponse.java index 9920835b1bcd..760e573e2c76 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponse.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponse.java @@ -1,81 +1,57 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Response message for `AzureClusters.GenerateAzureAccessToken` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse} */ -public final class GenerateAzureAccessTokenResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GenerateAzureAccessTokenResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse) GenerateAzureAccessTokenResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GenerateAzureAccessTokenResponse.newBuilder() to construct. - private GenerateAzureAccessTokenResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GenerateAzureAccessTokenResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GenerateAzureAccessTokenResponse() { accessToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GenerateAzureAccessTokenResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse.class, - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse.class, com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse.Builder.class); } public static final int ACCESS_TOKEN_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object accessToken_ = ""; /** - * - * *
    * Output only. Access token to authenticate to k8s api-server.
    * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The accessToken. */ @java.lang.Override @@ -84,29 +60,29 @@ public java.lang.String getAccessToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); accessToken_ = s; return s; } } /** - * - * *
    * Output only. Access token to authenticate to k8s api-server.
    * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for accessToken. */ @java.lang.Override - public com.google.protobuf.ByteString getAccessTokenBytes() { + public com.google.protobuf.ByteString + getAccessTokenBytes() { java.lang.Object ref = accessToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); accessToken_ = b; return b; } else { @@ -117,16 +93,11 @@ public com.google.protobuf.ByteString getAccessTokenBytes() { public static final int EXPIRATION_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp expirationTime_; /** - * - * *
    * Output only. Timestamp at which the token will expire.
    * 
* - * - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expirationTime field is set. */ @java.lang.Override @@ -134,44 +105,30 @@ public boolean hasExpirationTime() { return expirationTime_ != null; } /** - * - * *
    * Output only. Timestamp at which the token will expire.
    * 
* - * - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expirationTime. */ @java.lang.Override public com.google.protobuf.Timestamp getExpirationTime() { - return expirationTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expirationTime_; + return expirationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expirationTime_; } /** - * - * *
    * Output only. Timestamp at which the token will expire.
    * 
* - * - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder() { - return expirationTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expirationTime_; + return expirationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expirationTime_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +140,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, accessToken_); } @@ -203,7 +161,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, accessToken_); } if (expirationTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExpirationTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getExpirationTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -213,18 +172,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse other = - (com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse) obj; + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse other = (com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse) obj; - if (!getAccessToken().equals(other.getAccessToken())) return false; + if (!getAccessToken() + .equals(other.getAccessToken())) return false; if (hasExpirationTime() != other.hasExpirationTime()) return false; if (hasExpirationTime()) { - if (!getExpirationTime().equals(other.getExpirationTime())) return false; + if (!getExpirationTime() + .equals(other.getExpirationTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -249,138 +209,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for `AzureClusters.GenerateAzureAccessToken` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse) com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse.class, - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse.class, com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse.Builder.class); } - // Construct using - // com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -395,16 +348,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse - getDefaultInstanceForType() { - return com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse - .getDefaultInstance(); + public com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse.getDefaultInstance(); } @java.lang.Override @@ -418,24 +369,21 @@ public com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse build( @java.lang.Override public com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse buildPartial() { - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse result = - new com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse result = new com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse result) { + private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.accessToken_ = accessToken_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.expirationTime_ = - expirationTimeBuilder_ == null ? expirationTime_ : expirationTimeBuilder_.build(); + result.expirationTime_ = expirationTimeBuilder_ == null + ? expirationTime_ + : expirationTimeBuilder_.build(); } } @@ -443,51 +391,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse) { - return mergeFrom( - (com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse other) { - if (other - == com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse other) { + if (other == com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse.getDefaultInstance()) return this; if (!other.getAccessToken().isEmpty()) { accessToken_ = other.accessToken_; bitField0_ |= 0x00000001; @@ -522,25 +465,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - accessToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getExpirationTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + accessToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getExpirationTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -550,25 +492,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object accessToken_ = ""; /** - * - * *
      * Output only. Access token to authenticate to k8s api-server.
      * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The accessToken. */ public java.lang.String getAccessToken() { java.lang.Object ref = accessToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); accessToken_ = s; return s; @@ -577,21 +516,20 @@ public java.lang.String getAccessToken() { } } /** - * - * *
      * Output only. Access token to authenticate to k8s api-server.
      * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for accessToken. */ - public com.google.protobuf.ByteString getAccessTokenBytes() { + public com.google.protobuf.ByteString + getAccessTokenBytes() { java.lang.Object ref = accessToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); accessToken_ = b; return b; } else { @@ -599,35 +537,28 @@ public com.google.protobuf.ByteString getAccessTokenBytes() { } } /** - * - * *
      * Output only. Access token to authenticate to k8s api-server.
      * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The accessToken to set. * @return This builder for chaining. */ - public Builder setAccessToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAccessToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } accessToken_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. Access token to authenticate to k8s api-server.
      * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearAccessToken() { @@ -637,21 +568,17 @@ public Builder clearAccessToken() { return this; } /** - * - * *
      * Output only. Access token to authenticate to k8s api-server.
      * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for accessToken to set. * @return This builder for chaining. */ - public Builder setAccessTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAccessTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); accessToken_ = value; bitField0_ |= 0x00000001; @@ -661,58 +588,39 @@ public Builder setAccessTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp expirationTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - expirationTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expirationTimeBuilder_; /** - * - * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expirationTime field is set. */ public boolean hasExpirationTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expirationTime. */ public com.google.protobuf.Timestamp getExpirationTime() { if (expirationTimeBuilder_ == null) { - return expirationTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expirationTime_; + return expirationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expirationTime_; } else { return expirationTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setExpirationTime(com.google.protobuf.Timestamp value) { if (expirationTimeBuilder_ == null) { @@ -728,17 +636,14 @@ public Builder setExpirationTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setExpirationTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpirationTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (expirationTimeBuilder_ == null) { expirationTime_ = builderForValue.build(); } else { @@ -749,21 +654,17 @@ public Builder setExpirationTime(com.google.protobuf.Timestamp.Builder builderFo return this; } /** - * - * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeExpirationTime(com.google.protobuf.Timestamp value) { if (expirationTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && expirationTime_ != null - && expirationTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + expirationTime_ != null && + expirationTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpirationTimeBuilder().mergeFrom(value); } else { expirationTime_ = value; @@ -776,15 +677,11 @@ public Builder mergeExpirationTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearExpirationTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -797,15 +694,11 @@ public Builder clearExpirationTime() { return this; } /** - * - * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getExpirationTimeBuilder() { bitField0_ |= 0x00000002; @@ -813,55 +706,43 @@ public com.google.protobuf.Timestamp.Builder getExpirationTimeBuilder() { return getExpirationTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder() { if (expirationTimeBuilder_ != null) { return expirationTimeBuilder_.getMessageOrBuilder(); } else { - return expirationTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expirationTime_; + return expirationTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expirationTime_; } } /** - * - * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getExpirationTimeFieldBuilder() { if (expirationTimeBuilder_ == null) { - expirationTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExpirationTime(), getParentForChildren(), isClean()); + expirationTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpirationTime(), + getParentForChildren(), + isClean()); expirationTime_ = null; } return expirationTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -871,43 +752,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse) - private static final com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse(); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse - getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateAzureAccessTokenResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateAzureAccessTokenResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -919,8 +798,9 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse - getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponseOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponseOrBuilder.java similarity index 54% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponseOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponseOrBuilder.java index 69959971b2c0..0e27d416bc69 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponseOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponseOrBuilder.java @@ -1,91 +1,56 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GenerateAzureAccessTokenResponseOrBuilder - extends +public interface GenerateAzureAccessTokenResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Access token to authenticate to k8s api-server.
    * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The accessToken. */ java.lang.String getAccessToken(); /** - * - * *
    * Output only. Access token to authenticate to k8s api-server.
    * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for accessToken. */ - com.google.protobuf.ByteString getAccessTokenBytes(); + com.google.protobuf.ByteString + getAccessTokenBytes(); /** - * - * *
    * Output only. Timestamp at which the token will expire.
    * 
* - * - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expirationTime field is set. */ boolean hasExpirationTime(); /** - * - * *
    * Output only. Timestamp at which the token will expire.
    * 
* - * - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expirationTime. */ com.google.protobuf.Timestamp getExpirationTime(); /** - * - * *
    * Output only. Timestamp at which the token will expire.
    * 
* - * - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenRequest.java new file mode 100644 index 000000000000..ad0007cfa1c5 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenRequest.java @@ -0,0 +1,2045 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_service.proto + +package com.google.cloud.gkemulticloud.v1; + +/** + * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest} + */ +public final class GenerateAzureClusterAgentTokenRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest) + GenerateAzureClusterAgentTokenRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use GenerateAzureClusterAgentTokenRequest.newBuilder() to construct. + private GenerateAzureClusterAgentTokenRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GenerateAzureClusterAgentTokenRequest() { + azureCluster_ = ""; + subjectToken_ = ""; + subjectTokenType_ = ""; + version_ = ""; + nodePoolId_ = ""; + grantType_ = ""; + audience_ = ""; + scope_ = ""; + requestedTokenType_ = ""; + options_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GenerateAzureClusterAgentTokenRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest.class, com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest.Builder.class); + } + + public static final int AZURE_CLUSTER_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object azureCluster_ = ""; + /** + *
+   * Required.
+   * 
+ * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The azureCluster. + */ + @java.lang.Override + public java.lang.String getAzureCluster() { + java.lang.Object ref = azureCluster_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + azureCluster_ = s; + return s; + } + } + /** + *
+   * Required.
+   * 
+ * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for azureCluster. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAzureClusterBytes() { + java.lang.Object ref = azureCluster_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + azureCluster_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SUBJECT_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object subjectToken_ = ""; + /** + *
+   * Required.
+   * 
+ * + * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The subjectToken. + */ + @java.lang.Override + public java.lang.String getSubjectToken() { + java.lang.Object ref = subjectToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + subjectToken_ = s; + return s; + } + } + /** + *
+   * Required.
+   * 
+ * + * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for subjectToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSubjectTokenBytes() { + java.lang.Object ref = subjectToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + subjectToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SUBJECT_TOKEN_TYPE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object subjectTokenType_ = ""; + /** + *
+   * Required.
+   * 
+ * + * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The subjectTokenType. + */ + @java.lang.Override + public java.lang.String getSubjectTokenType() { + java.lang.Object ref = subjectTokenType_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + subjectTokenType_ = s; + return s; + } + } + /** + *
+   * Required.
+   * 
+ * + * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for subjectTokenType. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSubjectTokenTypeBytes() { + java.lang.Object ref = subjectTokenType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + subjectTokenType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int VERSION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object version_ = ""; + /** + *
+   * Required.
+   * 
+ * + * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The version. + */ + @java.lang.Override + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + version_ = s; + return s; + } + } + /** + *
+   * Required.
+   * 
+ * + * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for version. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NODE_POOL_ID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object nodePoolId_ = ""; + /** + *
+   * Optional.
+   * 
+ * + * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The nodePoolId. + */ + @java.lang.Override + public java.lang.String getNodePoolId() { + java.lang.Object ref = nodePoolId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nodePoolId_ = s; + return s; + } + } + /** + *
+   * Optional.
+   * 
+ * + * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for nodePoolId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNodePoolIdBytes() { + java.lang.Object ref = nodePoolId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nodePoolId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int GRANT_TYPE_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private volatile java.lang.Object grantType_ = ""; + /** + *
+   * Optional.
+   * 
+ * + * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The grantType. + */ + @java.lang.Override + public java.lang.String getGrantType() { + java.lang.Object ref = grantType_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + grantType_ = s; + return s; + } + } + /** + *
+   * Optional.
+   * 
+ * + * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for grantType. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getGrantTypeBytes() { + java.lang.Object ref = grantType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + grantType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AUDIENCE_FIELD_NUMBER = 7; + @SuppressWarnings("serial") + private volatile java.lang.Object audience_ = ""; + /** + *
+   * Optional.
+   * 
+ * + * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return The audience. + */ + @java.lang.Override + public java.lang.String getAudience() { + java.lang.Object ref = audience_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + audience_ = s; + return s; + } + } + /** + *
+   * Optional.
+   * 
+ * + * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for audience. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAudienceBytes() { + java.lang.Object ref = audience_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + audience_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SCOPE_FIELD_NUMBER = 8; + @SuppressWarnings("serial") + private volatile java.lang.Object scope_ = ""; + /** + *
+   * Optional.
+   * 
+ * + * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return The scope. + */ + @java.lang.Override + public java.lang.String getScope() { + java.lang.Object ref = scope_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + scope_ = s; + return s; + } + } + /** + *
+   * Optional.
+   * 
+ * + * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for scope. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getScopeBytes() { + java.lang.Object ref = scope_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + scope_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUESTED_TOKEN_TYPE_FIELD_NUMBER = 9; + @SuppressWarnings("serial") + private volatile java.lang.Object requestedTokenType_ = ""; + /** + *
+   * Optional.
+   * 
+ * + * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return The requestedTokenType. + */ + @java.lang.Override + public java.lang.String getRequestedTokenType() { + java.lang.Object ref = requestedTokenType_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestedTokenType_ = s; + return s; + } + } + /** + *
+   * Optional.
+   * 
+ * + * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for requestedTokenType. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getRequestedTokenTypeBytes() { + java.lang.Object ref = requestedTokenType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + requestedTokenType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OPTIONS_FIELD_NUMBER = 10; + @SuppressWarnings("serial") + private volatile java.lang.Object options_ = ""; + /** + *
+   * Optional.
+   * 
+ * + * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return The options. + */ + @java.lang.Override + public java.lang.String getOptions() { + java.lang.Object ref = options_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + options_ = s; + return s; + } + } + /** + *
+   * Optional.
+   * 
+ * + * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for options. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOptionsBytes() { + java.lang.Object ref = options_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + options_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(azureCluster_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, azureCluster_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subjectToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, subjectToken_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subjectTokenType_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, subjectTokenType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, version_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nodePoolId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, nodePoolId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(grantType_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, grantType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(audience_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, audience_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scope_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, scope_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestedTokenType_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 9, requestedTokenType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(options_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 10, options_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(azureCluster_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, azureCluster_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subjectToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, subjectToken_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subjectTokenType_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, subjectTokenType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, version_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nodePoolId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, nodePoolId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(grantType_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, grantType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(audience_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, audience_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scope_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, scope_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestedTokenType_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, requestedTokenType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(options_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, options_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest other = (com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest) obj; + + if (!getAzureCluster() + .equals(other.getAzureCluster())) return false; + if (!getSubjectToken() + .equals(other.getSubjectToken())) return false; + if (!getSubjectTokenType() + .equals(other.getSubjectTokenType())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getNodePoolId() + .equals(other.getNodePoolId())) return false; + if (!getGrantType() + .equals(other.getGrantType())) return false; + if (!getAudience() + .equals(other.getAudience())) return false; + if (!getScope() + .equals(other.getScope())) return false; + if (!getRequestedTokenType() + .equals(other.getRequestedTokenType())) return false; + if (!getOptions() + .equals(other.getOptions())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + AZURE_CLUSTER_FIELD_NUMBER; + hash = (53 * hash) + getAzureCluster().hashCode(); + hash = (37 * hash) + SUBJECT_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getSubjectToken().hashCode(); + hash = (37 * hash) + SUBJECT_TOKEN_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getSubjectTokenType().hashCode(); + hash = (37 * hash) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion().hashCode(); + hash = (37 * hash) + NODE_POOL_ID_FIELD_NUMBER; + hash = (53 * hash) + getNodePoolId().hashCode(); + hash = (37 * hash) + GRANT_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getGrantType().hashCode(); + hash = (37 * hash) + AUDIENCE_FIELD_NUMBER; + hash = (53 * hash) + getAudience().hashCode(); + hash = (37 * hash) + SCOPE_FIELD_NUMBER; + hash = (53 * hash) + getScope().hashCode(); + hash = (37 * hash) + REQUESTED_TOKEN_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getRequestedTokenType().hashCode(); + hash = (37 * hash) + OPTIONS_FIELD_NUMBER; + hash = (53 * hash) + getOptions().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest) + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest.class, com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + azureCluster_ = ""; + subjectToken_ = ""; + subjectTokenType_ = ""; + version_ = ""; + nodePoolId_ = ""; + grantType_ = ""; + audience_ = ""; + scope_ = ""; + requestedTokenType_ = ""; + options_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest build() { + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest buildPartial() { + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest result = new com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.azureCluster_ = azureCluster_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.subjectToken_ = subjectToken_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.subjectTokenType_ = subjectTokenType_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.version_ = version_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.nodePoolId_ = nodePoolId_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.grantType_ = grantType_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.audience_ = audience_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.scope_ = scope_; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.requestedTokenType_ = requestedTokenType_; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.options_ = options_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest other) { + if (other == com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest.getDefaultInstance()) return this; + if (!other.getAzureCluster().isEmpty()) { + azureCluster_ = other.azureCluster_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getSubjectToken().isEmpty()) { + subjectToken_ = other.subjectToken_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getSubjectTokenType().isEmpty()) { + subjectTokenType_ = other.subjectTokenType_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getVersion().isEmpty()) { + version_ = other.version_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getNodePoolId().isEmpty()) { + nodePoolId_ = other.nodePoolId_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.getGrantType().isEmpty()) { + grantType_ = other.grantType_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (!other.getAudience().isEmpty()) { + audience_ = other.audience_; + bitField0_ |= 0x00000040; + onChanged(); + } + if (!other.getScope().isEmpty()) { + scope_ = other.scope_; + bitField0_ |= 0x00000080; + onChanged(); + } + if (!other.getRequestedTokenType().isEmpty()) { + requestedTokenType_ = other.requestedTokenType_; + bitField0_ |= 0x00000100; + onChanged(); + } + if (!other.getOptions().isEmpty()) { + options_ = other.options_; + bitField0_ |= 0x00000200; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + azureCluster_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + subjectToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + subjectTokenType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + nodePoolId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + grantType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + audience_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: { + scope_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 74: { + requestedTokenType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 82: { + options_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 82 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object azureCluster_ = ""; + /** + *
+     * Required.
+     * 
+ * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The azureCluster. + */ + public java.lang.String getAzureCluster() { + java.lang.Object ref = azureCluster_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + azureCluster_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required.
+     * 
+ * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for azureCluster. + */ + public com.google.protobuf.ByteString + getAzureClusterBytes() { + java.lang.Object ref = azureCluster_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + azureCluster_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required.
+     * 
+ * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The azureCluster to set. + * @return This builder for chaining. + */ + public Builder setAzureCluster( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + azureCluster_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Required.
+     * 
+ * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearAzureCluster() { + azureCluster_ = getDefaultInstance().getAzureCluster(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     * Required.
+     * 
+ * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for azureCluster to set. + * @return This builder for chaining. + */ + public Builder setAzureClusterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + azureCluster_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object subjectToken_ = ""; + /** + *
+     * Required.
+     * 
+ * + * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The subjectToken. + */ + public java.lang.String getSubjectToken() { + java.lang.Object ref = subjectToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + subjectToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required.
+     * 
+ * + * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for subjectToken. + */ + public com.google.protobuf.ByteString + getSubjectTokenBytes() { + java.lang.Object ref = subjectToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + subjectToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required.
+     * 
+ * + * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The subjectToken to set. + * @return This builder for chaining. + */ + public Builder setSubjectToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + subjectToken_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * Required.
+     * 
+ * + * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearSubjectToken() { + subjectToken_ = getDefaultInstance().getSubjectToken(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+     * Required.
+     * 
+ * + * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for subjectToken to set. + * @return This builder for chaining. + */ + public Builder setSubjectTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + subjectToken_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object subjectTokenType_ = ""; + /** + *
+     * Required.
+     * 
+ * + * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The subjectTokenType. + */ + public java.lang.String getSubjectTokenType() { + java.lang.Object ref = subjectTokenType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + subjectTokenType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required.
+     * 
+ * + * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for subjectTokenType. + */ + public com.google.protobuf.ByteString + getSubjectTokenTypeBytes() { + java.lang.Object ref = subjectTokenType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + subjectTokenType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required.
+     * 
+ * + * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param value The subjectTokenType to set. + * @return This builder for chaining. + */ + public Builder setSubjectTokenType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + subjectTokenType_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * Required.
+     * 
+ * + * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearSubjectTokenType() { + subjectTokenType_ = getDefaultInstance().getSubjectTokenType(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + *
+     * Required.
+     * 
+ * + * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for subjectTokenType to set. + * @return This builder for chaining. + */ + public Builder setSubjectTokenTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + subjectTokenType_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object version_ = ""; + /** + *
+     * Required.
+     * 
+ * + * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The version. + */ + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + version_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required.
+     * 
+ * + * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for version. + */ + public com.google.protobuf.ByteString + getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required.
+     * 
+ * + * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * @param value The version to set. + * @return This builder for chaining. + */ + public Builder setVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + version_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Required.
+     * 
+ * + * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearVersion() { + version_ = getDefaultInstance().getVersion(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + *
+     * Required.
+     * 
+ * + * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for version to set. + * @return This builder for chaining. + */ + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + version_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object nodePoolId_ = ""; + /** + *
+     * Optional.
+     * 
+ * + * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The nodePoolId. + */ + public java.lang.String getNodePoolId() { + java.lang.Object ref = nodePoolId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nodePoolId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for nodePoolId. + */ + public com.google.protobuf.ByteString + getNodePoolIdBytes() { + java.lang.Object ref = nodePoolId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nodePoolId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The nodePoolId to set. + * @return This builder for chaining. + */ + public Builder setNodePoolId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + nodePoolId_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearNodePoolId() { + nodePoolId_ = getDefaultInstance().getNodePoolId(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for nodePoolId to set. + * @return This builder for chaining. + */ + public Builder setNodePoolIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + nodePoolId_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object grantType_ = ""; + /** + *
+     * Optional.
+     * 
+ * + * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The grantType. + */ + public java.lang.String getGrantType() { + java.lang.Object ref = grantType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + grantType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for grantType. + */ + public com.google.protobuf.ByteString + getGrantTypeBytes() { + java.lang.Object ref = grantType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + grantType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The grantType to set. + * @return This builder for chaining. + */ + public Builder setGrantType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + grantType_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearGrantType() { + grantType_ = getDefaultInstance().getGrantType(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for grantType to set. + * @return This builder for chaining. + */ + public Builder setGrantTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + grantType_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private java.lang.Object audience_ = ""; + /** + *
+     * Optional.
+     * 
+ * + * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return The audience. + */ + public java.lang.String getAudience() { + java.lang.Object ref = audience_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + audience_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for audience. + */ + public com.google.protobuf.ByteString + getAudienceBytes() { + java.lang.Object ref = audience_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + audience_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The audience to set. + * @return This builder for chaining. + */ + public Builder setAudience( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + audience_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearAudience() { + audience_ = getDefaultInstance().getAudience(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for audience to set. + * @return This builder for chaining. + */ + public Builder setAudienceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + audience_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + private java.lang.Object scope_ = ""; + /** + *
+     * Optional.
+     * 
+ * + * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return The scope. + */ + public java.lang.String getScope() { + java.lang.Object ref = scope_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + scope_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for scope. + */ + public com.google.protobuf.ByteString + getScopeBytes() { + java.lang.Object ref = scope_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + scope_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The scope to set. + * @return This builder for chaining. + */ + public Builder setScope( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + scope_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearScope() { + scope_ = getDefaultInstance().getScope(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for scope to set. + * @return This builder for chaining. + */ + public Builder setScopeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + scope_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + + private java.lang.Object requestedTokenType_ = ""; + /** + *
+     * Optional.
+     * 
+ * + * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return The requestedTokenType. + */ + public java.lang.String getRequestedTokenType() { + java.lang.Object ref = requestedTokenType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestedTokenType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for requestedTokenType. + */ + public com.google.protobuf.ByteString + getRequestedTokenTypeBytes() { + java.lang.Object ref = requestedTokenType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + requestedTokenType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The requestedTokenType to set. + * @return This builder for chaining. + */ + public Builder setRequestedTokenType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + requestedTokenType_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearRequestedTokenType() { + requestedTokenType_ = getDefaultInstance().getRequestedTokenType(); + bitField0_ = (bitField0_ & ~0x00000100); + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for requestedTokenType to set. + * @return This builder for chaining. + */ + public Builder setRequestedTokenTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + requestedTokenType_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + + private java.lang.Object options_ = ""; + /** + *
+     * Optional.
+     * 
+ * + * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return The options. + */ + public java.lang.String getOptions() { + java.lang.Object ref = options_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + options_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for options. + */ + public com.google.protobuf.ByteString + getOptionsBytes() { + java.lang.Object ref = options_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + options_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional.
+     * 
+ * + * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The options to set. + * @return This builder for chaining. + */ + public Builder setOptions( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + options_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearOptions() { + options_ = getDefaultInstance().getOptions(); + bitField0_ = (bitField0_ & ~0x00000200); + onChanged(); + return this; + } + /** + *
+     * Optional.
+     * 
+ * + * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for options to set. + * @return This builder for chaining. + */ + public Builder setOptionsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + options_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest) + private static final com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest(); + } + + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateAzureClusterAgentTokenRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenRequestOrBuilder.java new file mode 100644 index 000000000000..6d69a1fd4ca4 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenRequestOrBuilder.java @@ -0,0 +1,209 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_service.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface GenerateAzureClusterAgentTokenRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required.
+   * 
+ * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The azureCluster. + */ + java.lang.String getAzureCluster(); + /** + *
+   * Required.
+   * 
+ * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for azureCluster. + */ + com.google.protobuf.ByteString + getAzureClusterBytes(); + + /** + *
+   * Required.
+   * 
+ * + * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The subjectToken. + */ + java.lang.String getSubjectToken(); + /** + *
+   * Required.
+   * 
+ * + * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for subjectToken. + */ + com.google.protobuf.ByteString + getSubjectTokenBytes(); + + /** + *
+   * Required.
+   * 
+ * + * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The subjectTokenType. + */ + java.lang.String getSubjectTokenType(); + /** + *
+   * Required.
+   * 
+ * + * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for subjectTokenType. + */ + com.google.protobuf.ByteString + getSubjectTokenTypeBytes(); + + /** + *
+   * Required.
+   * 
+ * + * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The version. + */ + java.lang.String getVersion(); + /** + *
+   * Required.
+   * 
+ * + * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for version. + */ + com.google.protobuf.ByteString + getVersionBytes(); + + /** + *
+   * Optional.
+   * 
+ * + * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The nodePoolId. + */ + java.lang.String getNodePoolId(); + /** + *
+   * Optional.
+   * 
+ * + * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for nodePoolId. + */ + com.google.protobuf.ByteString + getNodePoolIdBytes(); + + /** + *
+   * Optional.
+   * 
+ * + * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The grantType. + */ + java.lang.String getGrantType(); + /** + *
+   * Optional.
+   * 
+ * + * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for grantType. + */ + com.google.protobuf.ByteString + getGrantTypeBytes(); + + /** + *
+   * Optional.
+   * 
+ * + * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return The audience. + */ + java.lang.String getAudience(); + /** + *
+   * Optional.
+   * 
+ * + * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for audience. + */ + com.google.protobuf.ByteString + getAudienceBytes(); + + /** + *
+   * Optional.
+   * 
+ * + * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return The scope. + */ + java.lang.String getScope(); + /** + *
+   * Optional.
+   * 
+ * + * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for scope. + */ + com.google.protobuf.ByteString + getScopeBytes(); + + /** + *
+   * Optional.
+   * 
+ * + * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return The requestedTokenType. + */ + java.lang.String getRequestedTokenType(); + /** + *
+   * Optional.
+   * 
+ * + * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for requestedTokenType. + */ + com.google.protobuf.ByteString + getRequestedTokenTypeBytes(); + + /** + *
+   * Optional.
+   * 
+ * + * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return The options. + */ + java.lang.String getOptions(); + /** + *
+   * Optional.
+   * 
+ * + * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for options. + */ + com.google.protobuf.ByteString + getOptionsBytes(); +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenResponse.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenResponse.java new file mode 100644 index 000000000000..38b34c273017 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenResponse.java @@ -0,0 +1,743 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_service.proto + +package com.google.cloud.gkemulticloud.v1; + +/** + * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse} + */ +public final class GenerateAzureClusterAgentTokenResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse) + GenerateAzureClusterAgentTokenResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use GenerateAzureClusterAgentTokenResponse.newBuilder() to construct. + private GenerateAzureClusterAgentTokenResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GenerateAzureClusterAgentTokenResponse() { + accessToken_ = ""; + tokenType_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GenerateAzureClusterAgentTokenResponse(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse.class, com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse.Builder.class); + } + + public static final int ACCESS_TOKEN_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object accessToken_ = ""; + /** + * string access_token = 1; + * @return The accessToken. + */ + @java.lang.Override + public java.lang.String getAccessToken() { + java.lang.Object ref = accessToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + accessToken_ = s; + return s; + } + } + /** + * string access_token = 1; + * @return The bytes for accessToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAccessTokenBytes() { + java.lang.Object ref = accessToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + accessToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int EXPIRES_IN_FIELD_NUMBER = 2; + private int expiresIn_ = 0; + /** + * int32 expires_in = 2; + * @return The expiresIn. + */ + @java.lang.Override + public int getExpiresIn() { + return expiresIn_; + } + + public static final int TOKEN_TYPE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object tokenType_ = ""; + /** + * string token_type = 3; + * @return The tokenType. + */ + @java.lang.Override + public java.lang.String getTokenType() { + java.lang.Object ref = tokenType_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tokenType_ = s; + return s; + } + } + /** + * string token_type = 3; + * @return The bytes for tokenType. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTokenTypeBytes() { + java.lang.Object ref = tokenType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + tokenType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, accessToken_); + } + if (expiresIn_ != 0) { + output.writeInt32(2, expiresIn_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tokenType_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tokenType_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, accessToken_); + } + if (expiresIn_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, expiresIn_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tokenType_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, tokenType_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse other = (com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse) obj; + + if (!getAccessToken() + .equals(other.getAccessToken())) return false; + if (getExpiresIn() + != other.getExpiresIn()) return false; + if (!getTokenType() + .equals(other.getTokenType())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ACCESS_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getAccessToken().hashCode(); + hash = (37 * hash) + EXPIRES_IN_FIELD_NUMBER; + hash = (53 * hash) + getExpiresIn(); + hash = (37 * hash) + TOKEN_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getTokenType().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse) + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse.class, com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + accessToken_ = ""; + expiresIn_ = 0; + tokenType_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse build() { + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse buildPartial() { + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse result = new com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.accessToken_ = accessToken_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.expiresIn_ = expiresIn_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.tokenType_ = tokenType_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse other) { + if (other == com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse.getDefaultInstance()) return this; + if (!other.getAccessToken().isEmpty()) { + accessToken_ = other.accessToken_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getExpiresIn() != 0) { + setExpiresIn(other.getExpiresIn()); + } + if (!other.getTokenType().isEmpty()) { + tokenType_ = other.tokenType_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + accessToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + expiresIn_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + tokenType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object accessToken_ = ""; + /** + * string access_token = 1; + * @return The accessToken. + */ + public java.lang.String getAccessToken() { + java.lang.Object ref = accessToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + accessToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string access_token = 1; + * @return The bytes for accessToken. + */ + public com.google.protobuf.ByteString + getAccessTokenBytes() { + java.lang.Object ref = accessToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + accessToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string access_token = 1; + * @param value The accessToken to set. + * @return This builder for chaining. + */ + public Builder setAccessToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + accessToken_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * string access_token = 1; + * @return This builder for chaining. + */ + public Builder clearAccessToken() { + accessToken_ = getDefaultInstance().getAccessToken(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * string access_token = 1; + * @param value The bytes for accessToken to set. + * @return This builder for chaining. + */ + public Builder setAccessTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + accessToken_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int expiresIn_ ; + /** + * int32 expires_in = 2; + * @return The expiresIn. + */ + @java.lang.Override + public int getExpiresIn() { + return expiresIn_; + } + /** + * int32 expires_in = 2; + * @param value The expiresIn to set. + * @return This builder for chaining. + */ + public Builder setExpiresIn(int value) { + + expiresIn_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * int32 expires_in = 2; + * @return This builder for chaining. + */ + public Builder clearExpiresIn() { + bitField0_ = (bitField0_ & ~0x00000002); + expiresIn_ = 0; + onChanged(); + return this; + } + + private java.lang.Object tokenType_ = ""; + /** + * string token_type = 3; + * @return The tokenType. + */ + public java.lang.String getTokenType() { + java.lang.Object ref = tokenType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tokenType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string token_type = 3; + * @return The bytes for tokenType. + */ + public com.google.protobuf.ByteString + getTokenTypeBytes() { + java.lang.Object ref = tokenType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + tokenType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string token_type = 3; + * @param value The tokenType to set. + * @return This builder for chaining. + */ + public Builder setTokenType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + tokenType_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * string token_type = 3; + * @return This builder for chaining. + */ + public Builder clearTokenType() { + tokenType_ = getDefaultInstance().getTokenType(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * string token_type = 3; + * @param value The bytes for tokenType to set. + * @return This builder for chaining. + */ + public Builder setTokenTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + tokenType_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse) + private static final com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse(); + } + + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateAzureClusterAgentTokenResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenResponseOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenResponseOrBuilder.java new file mode 100644 index 000000000000..1243f81e2687 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenResponseOrBuilder.java @@ -0,0 +1,39 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_service.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface GenerateAzureClusterAgentTokenResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * string access_token = 1; + * @return The accessToken. + */ + java.lang.String getAccessToken(); + /** + * string access_token = 1; + * @return The bytes for accessToken. + */ + com.google.protobuf.ByteString + getAccessTokenBytes(); + + /** + * int32 expires_in = 2; + * @return The expiresIn. + */ + int getExpiresIn(); + + /** + * string token_type = 3; + * @return The tokenType. + */ + java.lang.String getTokenType(); + /** + * string token_type = 3; + * @return The bytes for tokenType. + */ + com.google.protobuf.ByteString + getTokenTypeBytes(); +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequest.java similarity index 67% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequest.java index 0bb43facdcc1..e4d301539ed2 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequest.java @@ -1,74 +1,52 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Request message for `AttachedClusters.GetAttachedCluster` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAttachedClusterRequest} */ -public final class GetAttachedClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetAttachedClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GetAttachedClusterRequest) GetAttachedClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetAttachedClusterRequest.newBuilder() to construct. private GetAttachedClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetAttachedClusterRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetAttachedClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAttachedClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAttachedClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAttachedClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAttachedClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest.class, - com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest.class, com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -81,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -93,15 +68,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -114,18 +88,17 @@ public java.lang.String getName() {
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -134,7 +107,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -146,7 +118,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -170,15 +143,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest other = - (com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest) obj; + com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest other = (com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -198,136 +171,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `AttachedClusters.GetAttachedCluster` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAttachedClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GetAttachedClusterRequest) com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAttachedClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAttachedClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAttachedClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAttachedClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest.class, - com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest.class, com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -337,9 +305,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAttachedClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAttachedClusterRequest_descriptor; } @java.lang.Override @@ -358,11 +326,8 @@ public com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest result = - new com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest result = new com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -378,39 +343,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GetAttachedClusterR public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -418,8 +382,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -451,19 +414,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -473,13 +434,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -492,16 +450,14 @@ public Builder mergeFrom(
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -510,8 +466,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -524,17 +478,16 @@ public java.lang.String getName() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -542,8 +495,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -556,25 +507,19 @@ public com.google.protobuf.ByteString getNameBytes() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -587,10 +532,7 @@ public Builder setName(java.lang.String value) {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -600,8 +542,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -614,26 +554,22 @@ public Builder clearName() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -643,12 +579,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GetAttachedClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GetAttachedClusterRequest) private static final com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest(); } @@ -657,27 +593,27 @@ public static com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAttachedClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAttachedClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -692,4 +628,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequestOrBuilder.java similarity index 57% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequestOrBuilder.java index 5f5883065579..b609cfa3960f 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GetAttachedClusterRequestOrBuilder - extends +public interface GetAttachedClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GetAttachedClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -38,16 +20,11 @@ public interface GetAttachedClusterRequestOrBuilder
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -60,11 +37,9 @@ public interface GetAttachedClusterRequestOrBuilder
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedServerConfigRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedServerConfigRequest.java similarity index 64% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedServerConfigRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedServerConfigRequest.java index 57d9784c4225..8182f61de2f9 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedServerConfigRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedServerConfigRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * GetAttachedServerConfigRequest gets the server config for attached
  * clusters.
@@ -28,49 +11,43 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest}
  */
-public final class GetAttachedServerConfigRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GetAttachedServerConfigRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest)
     GetAttachedServerConfigRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GetAttachedServerConfigRequest.newBuilder() to construct.
-  private GetAttachedServerConfigRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GetAttachedServerConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GetAttachedServerConfigRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetAttachedServerConfigRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AttachedServiceProto
-        .internal_static_google_cloud_gkemulticloud_v1_GetAttachedServerConfigRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAttachedServerConfigRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AttachedServiceProto
-        .internal_static_google_cloud_gkemulticloud_v1_GetAttachedServerConfigRequest_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAttachedServerConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest.class,
-            com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest.Builder.class);
+            com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest.class, com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the
    * [AttachedServerConfig][google.cloud.gkemulticloud.v1.AttachedServerConfig]
@@ -83,10 +60,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -95,15 +69,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the
    * [AttachedServerConfig][google.cloud.gkemulticloud.v1.AttachedServerConfig]
@@ -116,18 +89,17 @@ public java.lang.String getName() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -136,7 +108,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -148,7 +119,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -172,15 +144,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest other = - (com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest) obj; + com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest other = (com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -200,104 +172,98 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * GetAttachedServerConfigRequest gets the server config for attached
    * clusters.
@@ -305,32 +271,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest)
       com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AttachedServiceProto
-          .internal_static_google_cloud_gkemulticloud_v1_GetAttachedServerConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAttachedServerConfigRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AttachedServiceProto
-          .internal_static_google_cloud_gkemulticloud_v1_GetAttachedServerConfigRequest_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAttachedServerConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest.class,
-              com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest.Builder.class);
+              com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest.class, com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -340,14 +307,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AttachedServiceProto
-          .internal_static_google_cloud_gkemulticloud_v1_GetAttachedServerConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAttachedServerConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest
-        getDefaultInstanceForType() {
+    public com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest getDefaultInstanceForType() {
       return com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest.getDefaultInstance();
     }
 
@@ -362,17 +328,13 @@ public com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest build()
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest buildPartial() {
-      com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest result =
-          new com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest result = new com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest result) {
+    private void buildPartial0(com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -383,50 +345,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest) other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest other) {
-      if (other
-          == com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest other) {
+      if (other == com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -458,19 +416,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -480,13 +436,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the
      * [AttachedServerConfig][google.cloud.gkemulticloud.v1.AttachedServerConfig]
@@ -499,16 +452,14 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -517,8 +468,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the
      * [AttachedServerConfig][google.cloud.gkemulticloud.v1.AttachedServerConfig]
@@ -531,17 +480,16 @@ public java.lang.String getName() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -549,8 +497,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the
      * [AttachedServerConfig][google.cloud.gkemulticloud.v1.AttachedServerConfig]
@@ -563,25 +509,19 @@ public com.google.protobuf.ByteString getNameBytes() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the
      * [AttachedServerConfig][google.cloud.gkemulticloud.v1.AttachedServerConfig]
@@ -594,10 +534,7 @@ public Builder setName(java.lang.String value) {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -607,8 +544,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the
      * [AttachedServerConfig][google.cloud.gkemulticloud.v1.AttachedServerConfig]
@@ -621,26 +556,22 @@ public Builder clearName() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -650,43 +581,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest) - private static final com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest(); } - public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest - getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAttachedServerConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAttachedServerConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -698,8 +627,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest - getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedServerConfigRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedServerConfigRequestOrBuilder.java similarity index 56% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedServerConfigRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedServerConfigRequestOrBuilder.java index 1a26303138fd..48ec2a488a5d 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedServerConfigRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedServerConfigRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GetAttachedServerConfigRequestOrBuilder - extends +public interface GetAttachedServerConfigRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the
    * [AttachedServerConfig][google.cloud.gkemulticloud.v1.AttachedServerConfig]
@@ -38,16 +20,11 @@ public interface GetAttachedServerConfigRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the
    * [AttachedServerConfig][google.cloud.gkemulticloud.v1.AttachedServerConfig]
@@ -60,11 +37,9 @@ public interface GetAttachedServerConfigRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequest.java similarity index 65% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequest.java index bf164f40a22a..89470e56bcee 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequest.java @@ -1,74 +1,52 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Request message for `AwsClusters.GetAwsCluster` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAwsClusterRequest} */ -public final class GetAwsClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetAwsClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GetAwsClusterRequest) GetAwsClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetAwsClusterRequest.newBuilder() to construct. private GetAwsClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetAwsClusterRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetAwsClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest.class, - com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest.class, com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -81,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -93,15 +68,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -114,18 +88,17 @@ public java.lang.String getName() {
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -134,7 +107,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -146,7 +118,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -170,15 +143,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest other = - (com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest) obj; + com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest other = (com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -198,136 +171,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `AwsClusters.GetAwsCluster` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAwsClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GetAwsClusterRequest) com.google.cloud.gkemulticloud.v1.GetAwsClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest.class, - com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest.class, com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -337,9 +305,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_descriptor; } @java.lang.Override @@ -358,11 +326,8 @@ public com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest result = - new com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest result = new com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -378,39 +343,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GetAwsClusterReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -418,8 +382,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -451,19 +414,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -473,13 +434,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -492,16 +450,14 @@ public Builder mergeFrom(
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -510,8 +466,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -524,17 +478,16 @@ public java.lang.String getName() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -542,8 +495,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -556,25 +507,19 @@ public com.google.protobuf.ByteString getNameBytes() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -587,10 +532,7 @@ public Builder setName(java.lang.String value) {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -600,8 +542,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -614,26 +554,22 @@ public Builder clearName() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -643,12 +579,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GetAwsClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GetAwsClusterRequest) private static final com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest(); } @@ -657,27 +593,27 @@ public static com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAwsClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAwsClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -692,4 +628,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequestOrBuilder.java similarity index 56% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequestOrBuilder.java index 605bf47a24bd..c7d0cbdad561 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GetAwsClusterRequestOrBuilder - extends +public interface GetAwsClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GetAwsClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -38,16 +20,11 @@ public interface GetAwsClusterRequestOrBuilder
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -60,11 +37,9 @@ public interface GetAwsClusterRequestOrBuilder
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsJsonWebKeysRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsJsonWebKeysRequest.java new file mode 100644 index 000000000000..6a5ba4f4f9f9 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsJsonWebKeysRequest.java @@ -0,0 +1,597 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_service.proto + +package com.google.cloud.gkemulticloud.v1; + +/** + *
+ * GetAwsJsonWebKeysRequest gets the public component of the keys used by the
+ * cluster to sign token requests. This will be the jwks_uri for the discover
+ * document returned by getOpenIDConfig. See the OpenID Connect
+ * Discovery 1.0 specification for details.
+ * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest} + */ +public final class GetAwsJsonWebKeysRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest) + GetAwsJsonWebKeysRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use GetAwsJsonWebKeysRequest.newBuilder() to construct. + private GetAwsJsonWebKeysRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetAwsJsonWebKeysRequest() { + awsCluster_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GetAwsJsonWebKeysRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsJsonWebKeysRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsJsonWebKeysRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest.class, com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest.Builder.class); + } + + public static final int AWS_CLUSTER_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object awsCluster_ = ""; + /** + *
+   * Required. The AwsCluster, which owns the JsonWebKeys.
+   * Format:
+   * projects/{project}/locations/{location}/awsClusters/{cluster}
+   * 
+ * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The awsCluster. + */ + @java.lang.Override + public java.lang.String getAwsCluster() { + java.lang.Object ref = awsCluster_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + awsCluster_ = s; + return s; + } + } + /** + *
+   * Required. The AwsCluster, which owns the JsonWebKeys.
+   * Format:
+   * projects/{project}/locations/{location}/awsClusters/{cluster}
+   * 
+ * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for awsCluster. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAwsClusterBytes() { + java.lang.Object ref = awsCluster_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + awsCluster_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsCluster_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, awsCluster_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsCluster_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, awsCluster_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest other = (com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest) obj; + + if (!getAwsCluster() + .equals(other.getAwsCluster())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + AWS_CLUSTER_FIELD_NUMBER; + hash = (53 * hash) + getAwsCluster().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * GetAwsJsonWebKeysRequest gets the public component of the keys used by the
+   * cluster to sign token requests. This will be the jwks_uri for the discover
+   * document returned by getOpenIDConfig. See the OpenID Connect
+   * Discovery 1.0 specification for details.
+   * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest) + com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsJsonWebKeysRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsJsonWebKeysRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest.class, com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + awsCluster_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsJsonWebKeysRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest build() { + com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest buildPartial() { + com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest result = new com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.awsCluster_ = awsCluster_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest other) { + if (other == com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest.getDefaultInstance()) return this; + if (!other.getAwsCluster().isEmpty()) { + awsCluster_ = other.awsCluster_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + awsCluster_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object awsCluster_ = ""; + /** + *
+     * Required. The AwsCluster, which owns the JsonWebKeys.
+     * Format:
+     * projects/{project}/locations/{location}/awsClusters/{cluster}
+     * 
+ * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The awsCluster. + */ + public java.lang.String getAwsCluster() { + java.lang.Object ref = awsCluster_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + awsCluster_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The AwsCluster, which owns the JsonWebKeys.
+     * Format:
+     * projects/{project}/locations/{location}/awsClusters/{cluster}
+     * 
+ * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for awsCluster. + */ + public com.google.protobuf.ByteString + getAwsClusterBytes() { + java.lang.Object ref = awsCluster_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + awsCluster_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The AwsCluster, which owns the JsonWebKeys.
+     * Format:
+     * projects/{project}/locations/{location}/awsClusters/{cluster}
+     * 
+ * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The awsCluster to set. + * @return This builder for chaining. + */ + public Builder setAwsCluster( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + awsCluster_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Required. The AwsCluster, which owns the JsonWebKeys.
+     * Format:
+     * projects/{project}/locations/{location}/awsClusters/{cluster}
+     * 
+ * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearAwsCluster() { + awsCluster_ = getDefaultInstance().getAwsCluster(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     * Required. The AwsCluster, which owns the JsonWebKeys.
+     * Format:
+     * projects/{project}/locations/{location}/awsClusters/{cluster}
+     * 
+ * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for awsCluster to set. + * @return This builder for chaining. + */ + public Builder setAwsClusterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + awsCluster_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest) + private static final com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest(); + } + + public static com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAwsJsonWebKeysRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsJsonWebKeysRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsJsonWebKeysRequestOrBuilder.java new file mode 100644 index 000000000000..4513f841c161 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsJsonWebKeysRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_service.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface GetAwsJsonWebKeysRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The AwsCluster, which owns the JsonWebKeys.
+   * Format:
+   * projects/{project}/locations/{location}/awsClusters/{cluster}
+   * 
+ * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The awsCluster. + */ + java.lang.String getAwsCluster(); + /** + *
+   * Required. The AwsCluster, which owns the JsonWebKeys.
+   * Format:
+   * projects/{project}/locations/{location}/awsClusters/{cluster}
+   * 
+ * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for awsCluster. + */ + com.google.protobuf.ByteString + getAwsClusterBytes(); +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequest.java similarity index 65% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequest.java index d04b9af92246..85eca00d5ad1 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequest.java @@ -1,74 +1,52 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Request message for `AwsClusters.GetAwsNodePool` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest} */ -public final class GetAwsNodePoolRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetAwsNodePoolRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest) GetAwsNodePoolRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetAwsNodePoolRequest.newBuilder() to construct. private GetAwsNodePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetAwsNodePoolRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetAwsNodePoolRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest.class, - com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest.class, com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
@@ -81,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -93,15 +68,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
@@ -114,18 +88,17 @@ public java.lang.String getName() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -134,7 +107,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -146,7 +118,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -170,15 +143,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest other = - (com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest) obj; + com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest other = (com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -198,136 +171,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `AwsClusters.GetAwsNodePool` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest) com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest.class, - com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest.class, com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -337,9 +305,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_descriptor; } @java.lang.Override @@ -358,11 +326,8 @@ public com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest result = - new com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest result = new com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -378,39 +343,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GetAwsNodePoolReque public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest)other); } else { super.mergeFrom(other); return this; @@ -418,8 +382,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -451,19 +414,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -473,13 +434,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
@@ -492,16 +450,14 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -510,8 +466,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
@@ -524,17 +478,16 @@ public java.lang.String getName() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -542,8 +495,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
@@ -556,25 +507,19 @@ public com.google.protobuf.ByteString getNameBytes() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
@@ -587,10 +532,7 @@ public Builder setName(java.lang.String value) {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -600,8 +542,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
@@ -614,26 +554,22 @@ public Builder clearName() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -643,12 +579,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest) private static final com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest(); } @@ -657,27 +593,27 @@ public static com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAwsNodePoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAwsNodePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -692,4 +628,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequestOrBuilder.java similarity index 57% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequestOrBuilder.java index 6b1c1c962612..98976400c46f 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GetAwsNodePoolRequestOrBuilder - extends +public interface GetAwsNodePoolRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
@@ -38,16 +20,11 @@ public interface GetAwsNodePoolRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
@@ -60,11 +37,9 @@ public interface GetAwsNodePoolRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsOpenIdConfigRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsOpenIdConfigRequest.java new file mode 100644 index 000000000000..d896050a7968 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsOpenIdConfigRequest.java @@ -0,0 +1,593 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_service.proto + +package com.google.cloud.gkemulticloud.v1; + +/** + *
+ * GetAwsOpenIdConfigRequest gets the OIDC discovery document for the
+ * cluster. See the OpenID Connect Discovery 1.0 specification for details.
+ * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest} + */ +public final class GetAwsOpenIdConfigRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest) + GetAwsOpenIdConfigRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use GetAwsOpenIdConfigRequest.newBuilder() to construct. + private GetAwsOpenIdConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetAwsOpenIdConfigRequest() { + awsCluster_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GetAwsOpenIdConfigRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsOpenIdConfigRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsOpenIdConfigRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest.class, com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest.Builder.class); + } + + public static final int AWS_CLUSTER_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object awsCluster_ = ""; + /** + *
+   * Required. The AwsCluster, which owns the OIDC discovery document.
+   * Format:
+   * projects/{project}/locations/{location}/awsClusters/{cluster}
+   * 
+ * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The awsCluster. + */ + @java.lang.Override + public java.lang.String getAwsCluster() { + java.lang.Object ref = awsCluster_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + awsCluster_ = s; + return s; + } + } + /** + *
+   * Required. The AwsCluster, which owns the OIDC discovery document.
+   * Format:
+   * projects/{project}/locations/{location}/awsClusters/{cluster}
+   * 
+ * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for awsCluster. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAwsClusterBytes() { + java.lang.Object ref = awsCluster_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + awsCluster_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsCluster_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, awsCluster_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsCluster_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, awsCluster_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest other = (com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest) obj; + + if (!getAwsCluster() + .equals(other.getAwsCluster())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + AWS_CLUSTER_FIELD_NUMBER; + hash = (53 * hash) + getAwsCluster().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * GetAwsOpenIdConfigRequest gets the OIDC discovery document for the
+   * cluster. See the OpenID Connect Discovery 1.0 specification for details.
+   * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest) + com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsOpenIdConfigRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsOpenIdConfigRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest.class, com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + awsCluster_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsOpenIdConfigRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest build() { + com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest buildPartial() { + com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest result = new com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.awsCluster_ = awsCluster_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest other) { + if (other == com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest.getDefaultInstance()) return this; + if (!other.getAwsCluster().isEmpty()) { + awsCluster_ = other.awsCluster_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + awsCluster_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object awsCluster_ = ""; + /** + *
+     * Required. The AwsCluster, which owns the OIDC discovery document.
+     * Format:
+     * projects/{project}/locations/{location}/awsClusters/{cluster}
+     * 
+ * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The awsCluster. + */ + public java.lang.String getAwsCluster() { + java.lang.Object ref = awsCluster_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + awsCluster_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The AwsCluster, which owns the OIDC discovery document.
+     * Format:
+     * projects/{project}/locations/{location}/awsClusters/{cluster}
+     * 
+ * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for awsCluster. + */ + public com.google.protobuf.ByteString + getAwsClusterBytes() { + java.lang.Object ref = awsCluster_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + awsCluster_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The AwsCluster, which owns the OIDC discovery document.
+     * Format:
+     * projects/{project}/locations/{location}/awsClusters/{cluster}
+     * 
+ * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The awsCluster to set. + * @return This builder for chaining. + */ + public Builder setAwsCluster( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + awsCluster_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Required. The AwsCluster, which owns the OIDC discovery document.
+     * Format:
+     * projects/{project}/locations/{location}/awsClusters/{cluster}
+     * 
+ * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearAwsCluster() { + awsCluster_ = getDefaultInstance().getAwsCluster(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     * Required. The AwsCluster, which owns the OIDC discovery document.
+     * Format:
+     * projects/{project}/locations/{location}/awsClusters/{cluster}
+     * 
+ * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for awsCluster to set. + * @return This builder for chaining. + */ + public Builder setAwsClusterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + awsCluster_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest) + private static final com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest(); + } + + public static com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAwsOpenIdConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsOpenIdConfigRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsOpenIdConfigRequestOrBuilder.java new file mode 100644 index 000000000000..54689acc210b --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsOpenIdConfigRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_service.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface GetAwsOpenIdConfigRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The AwsCluster, which owns the OIDC discovery document.
+   * Format:
+   * projects/{project}/locations/{location}/awsClusters/{cluster}
+   * 
+ * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The awsCluster. + */ + java.lang.String getAwsCluster(); + /** + *
+   * Required. The AwsCluster, which owns the OIDC discovery document.
+   * Format:
+   * projects/{project}/locations/{location}/awsClusters/{cluster}
+   * 
+ * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for awsCluster. + */ + com.google.protobuf.ByteString + getAwsClusterBytes(); +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequest.java similarity index 65% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequest.java index d5643620799b..20fb30d89b8d 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequest.java @@ -1,74 +1,52 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * GetAwsServerConfigRequest gets the server config of GKE cluster on AWS.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest} */ -public final class GetAwsServerConfigRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetAwsServerConfigRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest) GetAwsServerConfigRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetAwsServerConfigRequest.newBuilder() to construct. private GetAwsServerConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetAwsServerConfigRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetAwsServerConfigRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest.class, - com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest.class, com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the
    * [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource
@@ -81,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -93,15 +68,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the
    * [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource
@@ -114,18 +88,17 @@ public java.lang.String getName() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -134,7 +107,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -146,7 +118,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -170,15 +143,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest other = - (com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest) obj; + com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest other = (com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -198,136 +171,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * GetAwsServerConfigRequest gets the server config of GKE cluster on AWS.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest) com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest.class, - com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest.class, com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -337,9 +305,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_descriptor; } @java.lang.Override @@ -358,11 +326,8 @@ public com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest result = - new com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest result = new com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -378,39 +343,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GetAwsServerConfigR public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest)other); } else { super.mergeFrom(other); return this; @@ -418,8 +382,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -451,19 +414,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -473,13 +434,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the
      * [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource
@@ -492,16 +450,14 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -510,8 +466,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the
      * [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource
@@ -524,17 +478,16 @@ public java.lang.String getName() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -542,8 +495,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the
      * [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource
@@ -556,25 +507,19 @@ public com.google.protobuf.ByteString getNameBytes() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the
      * [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource
@@ -587,10 +532,7 @@ public Builder setName(java.lang.String value) {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -600,8 +542,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the
      * [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource
@@ -614,26 +554,22 @@ public Builder clearName() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -643,12 +579,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest) private static final com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest(); } @@ -657,27 +593,27 @@ public static com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAwsServerConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAwsServerConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -692,4 +628,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequestOrBuilder.java similarity index 55% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequestOrBuilder.java index 29a79683814e..244e86414828 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GetAwsServerConfigRequestOrBuilder - extends +public interface GetAwsServerConfigRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the
    * [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource
@@ -38,16 +20,11 @@ public interface GetAwsServerConfigRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the
    * [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource
@@ -60,11 +37,9 @@ public interface GetAwsServerConfigRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequest.java similarity index 66% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequest.java index 628fb37f2d8e..8fc58d95b29c 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequest.java @@ -1,74 +1,52 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Request message for `AzureClusters.GetAzureClient` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAzureClientRequest} */ -public final class GetAzureClientRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetAzureClientRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GetAzureClientRequest) GetAzureClientRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetAzureClientRequest.newBuilder() to construct. private GetAzureClientRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetAzureClientRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetAzureClientRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GetAzureClientRequest.class, - com.google.cloud.gkemulticloud.v1.GetAzureClientRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GetAzureClientRequest.class, com.google.cloud.gkemulticloud.v1.GetAzureClientRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to
@@ -82,10 +60,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -94,15 +69,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to
@@ -116,18 +90,17 @@ public java.lang.String getName() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -136,7 +109,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -148,7 +120,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -172,15 +145,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GetAzureClientRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GetAzureClientRequest other = - (com.google.cloud.gkemulticloud.v1.GetAzureClientRequest) obj; + com.google.cloud.gkemulticloud.v1.GetAzureClientRequest other = (com.google.cloud.gkemulticloud.v1.GetAzureClientRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -200,136 +173,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GetAzureClientRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GetAzureClientRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAzureClientRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GetAzureClientRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAzureClientRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GetAzureClientRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.GetAzureClientRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GetAzureClientRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GetAzureClientRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAzureClientRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GetAzureClientRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.GetAzureClientRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAzureClientRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GetAzureClientRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.GetAzureClientRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GetAzureClientRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `AzureClusters.GetAzureClient` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAzureClientRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GetAzureClientRequest) com.google.cloud.gkemulticloud.v1.GetAzureClientRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GetAzureClientRequest.class, - com.google.cloud.gkemulticloud.v1.GetAzureClientRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GetAzureClientRequest.class, com.google.cloud.gkemulticloud.v1.GetAzureClientRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.GetAzureClientRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -339,9 +307,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_descriptor; } @java.lang.Override @@ -360,11 +328,8 @@ public com.google.cloud.gkemulticloud.v1.GetAzureClientRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.GetAzureClientRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.GetAzureClientRequest result = - new com.google.cloud.gkemulticloud.v1.GetAzureClientRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.GetAzureClientRequest result = new com.google.cloud.gkemulticloud.v1.GetAzureClientRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -380,39 +345,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GetAzureClientReque public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.GetAzureClientRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAzureClientRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAzureClientRequest)other); } else { super.mergeFrom(other); return this; @@ -420,8 +384,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GetAzureClientRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.GetAzureClientRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.GetAzureClientRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -453,19 +416,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -475,13 +436,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to
@@ -495,16 +453,14 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -513,8 +469,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to
@@ -528,17 +482,16 @@ public java.lang.String getName() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -546,8 +499,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to
@@ -561,25 +512,19 @@ public com.google.protobuf.ByteString getNameBytes() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to
@@ -593,10 +538,7 @@ public Builder setName(java.lang.String value) {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -606,8 +548,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to
@@ -621,26 +561,22 @@ public Builder clearName() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -650,12 +586,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GetAzureClientRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GetAzureClientRequest) private static final com.google.cloud.gkemulticloud.v1.GetAzureClientRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GetAzureClientRequest(); } @@ -664,27 +600,27 @@ public static com.google.cloud.gkemulticloud.v1.GetAzureClientRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAzureClientRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAzureClientRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -699,4 +635,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.GetAzureClientRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequestOrBuilder.java similarity index 57% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequestOrBuilder.java index 82396b68f34d..f342966f7405 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GetAzureClientRequestOrBuilder - extends +public interface GetAzureClientRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GetAzureClientRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to
@@ -39,16 +21,11 @@ public interface GetAzureClientRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to
@@ -62,11 +39,9 @@ public interface GetAzureClientRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequest.java similarity index 66% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequest.java index f8850295179b..f3919437f194 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequest.java @@ -1,74 +1,52 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Request message for `AzureClusters.GetAzureCluster` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAzureClusterRequest} */ -public final class GetAzureClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetAzureClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GetAzureClusterRequest) GetAzureClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetAzureClusterRequest.newBuilder() to construct. private GetAzureClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetAzureClusterRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetAzureClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest.class, - com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest.class, com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
@@ -81,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -93,15 +68,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
@@ -114,18 +88,17 @@ public java.lang.String getName() {
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -134,7 +107,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -146,7 +118,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -170,15 +143,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest other = - (com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest) obj; + com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest other = (com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -198,136 +171,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `AzureClusters.GetAzureCluster` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAzureClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GetAzureClusterRequest) com.google.cloud.gkemulticloud.v1.GetAzureClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest.class, - com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest.class, com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -337,9 +305,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_descriptor; } @java.lang.Override @@ -358,11 +326,8 @@ public com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest result = - new com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest result = new com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -378,39 +343,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GetAzureClusterRequ public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -418,8 +382,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -451,19 +414,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -473,13 +434,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
@@ -492,16 +450,14 @@ public Builder mergeFrom(
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -510,8 +466,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
@@ -524,17 +478,16 @@ public java.lang.String getName() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -542,8 +495,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
@@ -556,25 +507,19 @@ public com.google.protobuf.ByteString getNameBytes() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
@@ -587,10 +532,7 @@ public Builder setName(java.lang.String value) {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -600,8 +542,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
@@ -614,26 +554,22 @@ public Builder clearName() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -643,12 +579,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GetAzureClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GetAzureClusterRequest) private static final com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest(); } @@ -657,27 +593,27 @@ public static com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAzureClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAzureClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -692,4 +628,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequestOrBuilder.java similarity index 56% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequestOrBuilder.java index 846d731ea886..361086b98e13 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GetAzureClusterRequestOrBuilder - extends +public interface GetAzureClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GetAzureClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
@@ -38,16 +20,11 @@ public interface GetAzureClusterRequestOrBuilder
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
@@ -60,11 +37,9 @@ public interface GetAzureClusterRequestOrBuilder
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureJsonWebKeysRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureJsonWebKeysRequest.java new file mode 100644 index 000000000000..ab0f2946589f --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureJsonWebKeysRequest.java @@ -0,0 +1,597 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_service.proto + +package com.google.cloud.gkemulticloud.v1; + +/** + *
+ * GetAzureJsonWebKeysRequest gets the public component of the keys used by the
+ * cluster to sign token requests. This will be the jwks_uri for the discover
+ * document returned by getOpenIDConfig. See the OpenID Connect
+ * Discovery 1.0 specification for details.
+ * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest} + */ +public final class GetAzureJsonWebKeysRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest) + GetAzureJsonWebKeysRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use GetAzureJsonWebKeysRequest.newBuilder() to construct. + private GetAzureJsonWebKeysRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetAzureJsonWebKeysRequest() { + azureCluster_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GetAzureJsonWebKeysRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureJsonWebKeysRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureJsonWebKeysRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest.class, com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest.Builder.class); + } + + public static final int AZURE_CLUSTER_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object azureCluster_ = ""; + /** + *
+   * Required. The AzureCluster, which owns the JsonWebKeys.
+   * Format:
+   * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
+   * 
+ * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The azureCluster. + */ + @java.lang.Override + public java.lang.String getAzureCluster() { + java.lang.Object ref = azureCluster_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + azureCluster_ = s; + return s; + } + } + /** + *
+   * Required. The AzureCluster, which owns the JsonWebKeys.
+   * Format:
+   * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
+   * 
+ * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for azureCluster. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAzureClusterBytes() { + java.lang.Object ref = azureCluster_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + azureCluster_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(azureCluster_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, azureCluster_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(azureCluster_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, azureCluster_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest other = (com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest) obj; + + if (!getAzureCluster() + .equals(other.getAzureCluster())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + AZURE_CLUSTER_FIELD_NUMBER; + hash = (53 * hash) + getAzureCluster().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * GetAzureJsonWebKeysRequest gets the public component of the keys used by the
+   * cluster to sign token requests. This will be the jwks_uri for the discover
+   * document returned by getOpenIDConfig. See the OpenID Connect
+   * Discovery 1.0 specification for details.
+   * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest) + com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureJsonWebKeysRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureJsonWebKeysRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest.class, com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + azureCluster_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureJsonWebKeysRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest build() { + com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest buildPartial() { + com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest result = new com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.azureCluster_ = azureCluster_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest other) { + if (other == com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest.getDefaultInstance()) return this; + if (!other.getAzureCluster().isEmpty()) { + azureCluster_ = other.azureCluster_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + azureCluster_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object azureCluster_ = ""; + /** + *
+     * Required. The AzureCluster, which owns the JsonWebKeys.
+     * Format:
+     * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
+     * 
+ * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The azureCluster. + */ + public java.lang.String getAzureCluster() { + java.lang.Object ref = azureCluster_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + azureCluster_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The AzureCluster, which owns the JsonWebKeys.
+     * Format:
+     * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
+     * 
+ * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for azureCluster. + */ + public com.google.protobuf.ByteString + getAzureClusterBytes() { + java.lang.Object ref = azureCluster_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + azureCluster_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The AzureCluster, which owns the JsonWebKeys.
+     * Format:
+     * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
+     * 
+ * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The azureCluster to set. + * @return This builder for chaining. + */ + public Builder setAzureCluster( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + azureCluster_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Required. The AzureCluster, which owns the JsonWebKeys.
+     * Format:
+     * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
+     * 
+ * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearAzureCluster() { + azureCluster_ = getDefaultInstance().getAzureCluster(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     * Required. The AzureCluster, which owns the JsonWebKeys.
+     * Format:
+     * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
+     * 
+ * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for azureCluster to set. + * @return This builder for chaining. + */ + public Builder setAzureClusterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + azureCluster_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest) + private static final com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest(); + } + + public static com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAzureJsonWebKeysRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureJsonWebKeysRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureJsonWebKeysRequestOrBuilder.java new file mode 100644 index 000000000000..b1cb2a270f43 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureJsonWebKeysRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_service.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface GetAzureJsonWebKeysRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The AzureCluster, which owns the JsonWebKeys.
+   * Format:
+   * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
+   * 
+ * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The azureCluster. + */ + java.lang.String getAzureCluster(); + /** + *
+   * Required. The AzureCluster, which owns the JsonWebKeys.
+   * Format:
+   * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
+   * 
+ * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for azureCluster. + */ + com.google.protobuf.ByteString + getAzureClusterBytes(); +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequest.java similarity index 66% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequest.java index e3ab726212fb..aa4ebfc69cca 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequest.java @@ -1,74 +1,52 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Request message for `AzureClusters.GetAzureNodePool` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest} */ -public final class GetAzureNodePoolRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetAzureNodePoolRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest) GetAzureNodePoolRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetAzureNodePoolRequest.newBuilder() to construct. private GetAzureNodePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetAzureNodePoolRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetAzureNodePoolRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest.class, - com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest.class, com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to
@@ -81,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -93,15 +68,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to
@@ -114,18 +88,17 @@ public java.lang.String getName() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -134,7 +107,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -146,7 +118,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -170,15 +143,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest other = - (com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest) obj; + com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest other = (com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -198,136 +171,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `AzureClusters.GetAzureNodePool` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest) com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest.class, - com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest.class, com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -337,9 +305,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_descriptor; } @java.lang.Override @@ -358,11 +326,8 @@ public com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest result = - new com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest result = new com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -378,39 +343,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GetAzureNodePoolReq public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest)other); } else { super.mergeFrom(other); return this; @@ -418,8 +382,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -451,19 +414,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -473,13 +434,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to
@@ -492,16 +450,14 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -510,8 +466,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to
@@ -524,17 +478,16 @@ public java.lang.String getName() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -542,8 +495,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to
@@ -556,25 +507,19 @@ public com.google.protobuf.ByteString getNameBytes() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to
@@ -587,10 +532,7 @@ public Builder setName(java.lang.String value) {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -600,8 +542,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to
@@ -614,26 +554,22 @@ public Builder clearName() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -643,12 +579,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest) private static final com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest(); } @@ -657,27 +593,27 @@ public static com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAzureNodePoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAzureNodePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -692,4 +628,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequestOrBuilder.java similarity index 57% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequestOrBuilder.java index 6a6f9b09a609..3d89c9abea9e 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GetAzureNodePoolRequestOrBuilder - extends +public interface GetAzureNodePoolRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to
@@ -38,16 +20,11 @@ public interface GetAzureNodePoolRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to
@@ -60,11 +37,9 @@ public interface GetAzureNodePoolRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureOpenIdConfigRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureOpenIdConfigRequest.java new file mode 100644 index 000000000000..c38b5b7cf74d --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureOpenIdConfigRequest.java @@ -0,0 +1,593 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_service.proto + +package com.google.cloud.gkemulticloud.v1; + +/** + *
+ * GetAzureOpenIdConfigRequest gets the OIDC discovery document for the
+ * cluster. See the OpenID Connect Discovery 1.0 specification for details.
+ * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest} + */ +public final class GetAzureOpenIdConfigRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest) + GetAzureOpenIdConfigRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use GetAzureOpenIdConfigRequest.newBuilder() to construct. + private GetAzureOpenIdConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetAzureOpenIdConfigRequest() { + azureCluster_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GetAzureOpenIdConfigRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureOpenIdConfigRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureOpenIdConfigRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest.class, com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest.Builder.class); + } + + public static final int AZURE_CLUSTER_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object azureCluster_ = ""; + /** + *
+   * Required. The AzureCluster, which owns the OIDC discovery document.
+   * Format:
+   * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
+   * 
+ * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The azureCluster. + */ + @java.lang.Override + public java.lang.String getAzureCluster() { + java.lang.Object ref = azureCluster_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + azureCluster_ = s; + return s; + } + } + /** + *
+   * Required. The AzureCluster, which owns the OIDC discovery document.
+   * Format:
+   * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
+   * 
+ * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for azureCluster. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAzureClusterBytes() { + java.lang.Object ref = azureCluster_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + azureCluster_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(azureCluster_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, azureCluster_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(azureCluster_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, azureCluster_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest other = (com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest) obj; + + if (!getAzureCluster() + .equals(other.getAzureCluster())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + AZURE_CLUSTER_FIELD_NUMBER; + hash = (53 * hash) + getAzureCluster().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * GetAzureOpenIdConfigRequest gets the OIDC discovery document for the
+   * cluster. See the OpenID Connect Discovery 1.0 specification for details.
+   * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest) + com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureOpenIdConfigRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureOpenIdConfigRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest.class, com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + azureCluster_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureOpenIdConfigRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest build() { + com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest buildPartial() { + com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest result = new com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.azureCluster_ = azureCluster_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest other) { + if (other == com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest.getDefaultInstance()) return this; + if (!other.getAzureCluster().isEmpty()) { + azureCluster_ = other.azureCluster_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + azureCluster_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object azureCluster_ = ""; + /** + *
+     * Required. The AzureCluster, which owns the OIDC discovery document.
+     * Format:
+     * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
+     * 
+ * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The azureCluster. + */ + public java.lang.String getAzureCluster() { + java.lang.Object ref = azureCluster_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + azureCluster_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The AzureCluster, which owns the OIDC discovery document.
+     * Format:
+     * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
+     * 
+ * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for azureCluster. + */ + public com.google.protobuf.ByteString + getAzureClusterBytes() { + java.lang.Object ref = azureCluster_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + azureCluster_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The AzureCluster, which owns the OIDC discovery document.
+     * Format:
+     * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
+     * 
+ * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The azureCluster to set. + * @return This builder for chaining. + */ + public Builder setAzureCluster( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + azureCluster_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Required. The AzureCluster, which owns the OIDC discovery document.
+     * Format:
+     * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
+     * 
+ * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearAzureCluster() { + azureCluster_ = getDefaultInstance().getAzureCluster(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     * Required. The AzureCluster, which owns the OIDC discovery document.
+     * Format:
+     * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
+     * 
+ * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for azureCluster to set. + * @return This builder for chaining. + */ + public Builder setAzureClusterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + azureCluster_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest) + private static final com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest(); + } + + public static com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAzureOpenIdConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureOpenIdConfigRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureOpenIdConfigRequestOrBuilder.java new file mode 100644 index 000000000000..02f9da5648e6 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureOpenIdConfigRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_service.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface GetAzureOpenIdConfigRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The AzureCluster, which owns the OIDC discovery document.
+   * Format:
+   * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
+   * 
+ * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The azureCluster. + */ + java.lang.String getAzureCluster(); + /** + *
+   * Required. The AzureCluster, which owns the OIDC discovery document.
+   * Format:
+   * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
+   * 
+ * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for azureCluster. + */ + com.google.protobuf.ByteString + getAzureClusterBytes(); +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequest.java similarity index 65% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequest.java index f8193ac23acf..f5120a3d255b 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequest.java @@ -1,74 +1,52 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * GetAzureServerConfigRequest gets the server config of GKE cluster on Azure.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest} */ -public final class GetAzureServerConfigRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetAzureServerConfigRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest) GetAzureServerConfigRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetAzureServerConfigRequest.newBuilder() to construct. private GetAzureServerConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetAzureServerConfigRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetAzureServerConfigRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest.class, - com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest.class, com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the
    * [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig]
@@ -81,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -93,15 +68,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the
    * [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig]
@@ -114,18 +88,17 @@ public java.lang.String getName() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -134,7 +107,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -146,7 +118,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -170,15 +143,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest other = - (com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest) obj; + com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest other = (com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -198,136 +171,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * GetAzureServerConfigRequest gets the server config of GKE cluster on Azure.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest) com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest.class, - com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest.class, com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -337,14 +305,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest - getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest.getDefaultInstance(); } @@ -359,17 +326,13 @@ public com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest result = - new com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest result = new com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest result) { + private void buildPartial0(com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -380,39 +343,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest)other); } else { super.mergeFrom(other); return this; @@ -420,9 +382,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest other) { - if (other - == com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -454,19 +414,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -476,13 +434,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the
      * [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig]
@@ -495,16 +450,14 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -513,8 +466,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the
      * [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig]
@@ -527,17 +478,16 @@ public java.lang.String getName() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -545,8 +495,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the
      * [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig]
@@ -559,25 +507,19 @@ public com.google.protobuf.ByteString getNameBytes() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the
      * [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig]
@@ -590,10 +532,7 @@ public Builder setName(java.lang.String value) {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -603,8 +542,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the
      * [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig]
@@ -617,26 +554,22 @@ public Builder clearName() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -646,13 +579,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest) - private static final com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest(); } @@ -661,27 +593,27 @@ public static com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAzureServerConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAzureServerConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -696,4 +628,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequestOrBuilder.java similarity index 56% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequestOrBuilder.java index 9d3715db3496..95e86260d596 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GetAzureServerConfigRequestOrBuilder - extends +public interface GetAzureServerConfigRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the
    * [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig]
@@ -38,16 +20,11 @@ public interface GetAzureServerConfigRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the
    * [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig]
@@ -60,11 +37,9 @@ public interface GetAzureServerConfigRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ImportAttachedClusterRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ImportAttachedClusterRequest.java similarity index 61% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ImportAttachedClusterRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ImportAttachedClusterRequest.java index 052ff4a19fd6..4570ddc66888 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ImportAttachedClusterRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ImportAttachedClusterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Request message for `AttachedClusters.ImportAttachedCluster` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest} */ -public final class ImportAttachedClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAttachedClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest) ImportAttachedClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAttachedClusterRequest.newBuilder() to construct. private ImportAttachedClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAttachedClusterRequest() { parent_ = ""; fleetMembership_ = ""; @@ -46,32 +28,28 @@ private ImportAttachedClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAttachedClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ImportAttachedClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_ImportAttachedClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ImportAttachedClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_ImportAttachedClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest.class, - com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest.class, com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The parent location where this
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -83,10 +61,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -95,15 +70,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent location where this
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -115,18 +89,17 @@ public java.lang.String getParent() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -137,14 +110,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; private boolean validateOnly_ = false; /** - * - * *
    * If set, only validate the request, but do not actually import the cluster.
    * 
* * bool validate_only = 2; - * * @return The validateOnly. */ @java.lang.Override @@ -153,18 +123,14 @@ public boolean getValidateOnly() { } public static final int FLEET_MEMBERSHIP_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object fleetMembership_ = ""; /** - * - * *
    * Required. The name of the fleet membership resource to import.
    * 
* * string fleet_membership = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The fleetMembership. */ @java.lang.Override @@ -173,29 +139,29 @@ public java.lang.String getFleetMembership() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fleetMembership_ = s; return s; } } /** - * - * *
    * Required. The name of the fleet membership resource to import.
    * 
* * string fleet_membership = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for fleetMembership. */ @java.lang.Override - public com.google.protobuf.ByteString getFleetMembershipBytes() { + public com.google.protobuf.ByteString + getFleetMembershipBytes() { java.lang.Object ref = fleetMembership_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fleetMembership_ = b; return b; } else { @@ -204,12 +170,9 @@ public com.google.protobuf.ByteString getFleetMembershipBytes() { } public static final int PLATFORM_VERSION_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object platformVersion_ = ""; /** - * - * *
    * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
    *
@@ -219,7 +182,6 @@ public com.google.protobuf.ByteString getFleetMembershipBytes() {
    * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The platformVersion. */ @java.lang.Override @@ -228,15 +190,14 @@ public java.lang.String getPlatformVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); platformVersion_ = s; return s; } } /** - * - * *
    * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
    *
@@ -246,15 +207,16 @@ public java.lang.String getPlatformVersion() {
    * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for platformVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getPlatformVersionBytes() { + public com.google.protobuf.ByteString + getPlatformVersionBytes() { java.lang.Object ref = platformVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); platformVersion_ = b; return b; } else { @@ -263,12 +225,9 @@ public com.google.protobuf.ByteString getPlatformVersionBytes() { } public static final int DISTRIBUTION_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object distribution_ = ""; /** - * - * *
    * Required. The Kubernetes distribution of the underlying attached cluster.
    *
@@ -276,7 +235,6 @@ public com.google.protobuf.ByteString getPlatformVersionBytes() {
    * 
* * string distribution = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The distribution. */ @java.lang.Override @@ -285,15 +243,14 @@ public java.lang.String getDistribution() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); distribution_ = s; return s; } } /** - * - * *
    * Required. The Kubernetes distribution of the underlying attached cluster.
    *
@@ -301,15 +258,16 @@ public java.lang.String getDistribution() {
    * 
* * string distribution = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for distribution. */ @java.lang.Override - public com.google.protobuf.ByteString getDistributionBytes() { + public com.google.protobuf.ByteString + getDistributionBytes() { java.lang.Object ref = distribution_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); distribution_ = b; return b; } else { @@ -317,8 +275,45 @@ public com.google.protobuf.ByteString getDistributionBytes() { } } - private byte memoizedIsInitialized = -1; + public static final int PROXY_CONFIG_FIELD_NUMBER = 6; + private com.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxyConfig_; + /** + *
+   * Optional. Proxy configuration for outbound HTTP(S) traffic.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the proxyConfig field is set. + */ + @java.lang.Override + public boolean hasProxyConfig() { + return proxyConfig_ != null; + } + /** + *
+   * Optional. Proxy configuration for outbound HTTP(S) traffic.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The proxyConfig. + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AttachedProxyConfig getProxyConfig() { + return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() : proxyConfig_; + } + /** + *
+   * Optional. Proxy configuration for outbound HTTP(S) traffic.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder getProxyConfigOrBuilder() { + return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() : proxyConfig_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -330,7 +325,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -346,6 +342,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(distribution_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, distribution_); } + if (proxyConfig_ != null) { + output.writeMessage(6, getProxyConfig()); + } getUnknownFields().writeTo(output); } @@ -359,7 +358,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, validateOnly_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fleetMembership_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, fleetMembership_); @@ -370,6 +370,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(distribution_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, distribution_); } + if (proxyConfig_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getProxyConfig()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -378,19 +382,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest other = - (com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (!getFleetMembership().equals(other.getFleetMembership())) return false; - if (!getPlatformVersion().equals(other.getPlatformVersion())) return false; - if (!getDistribution().equals(other.getDistribution())) return false; + com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest other = (com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (!getFleetMembership() + .equals(other.getFleetMembership())) return false; + if (!getPlatformVersion() + .equals(other.getPlatformVersion())) return false; + if (!getDistribution() + .equals(other.getDistribution())) return false; + if (hasProxyConfig() != other.hasProxyConfig()) return false; + if (hasProxyConfig()) { + if (!getProxyConfig() + .equals(other.getProxyConfig())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -405,149 +418,149 @@ public int hashCode() { hash = (37 * hash) + PARENT_FIELD_NUMBER; hash = (53 * hash) + getParent().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (37 * hash) + FLEET_MEMBERSHIP_FIELD_NUMBER; hash = (53 * hash) + getFleetMembership().hashCode(); hash = (37 * hash) + PLATFORM_VERSION_FIELD_NUMBER; hash = (53 * hash) + getPlatformVersion().hashCode(); hash = (37 * hash) + DISTRIBUTION_FIELD_NUMBER; hash = (53 * hash) + getDistribution().hashCode(); + if (hasProxyConfig()) { + hash = (37 * hash) + PROXY_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getProxyConfig().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `AttachedClusters.ImportAttachedCluster` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest) com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ImportAttachedClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_ImportAttachedClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ImportAttachedClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_ImportAttachedClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest.class, - com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest.class, com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -557,18 +570,22 @@ public Builder clear() { fleetMembership_ = ""; platformVersion_ = ""; distribution_ = ""; + proxyConfig_ = null; + if (proxyConfigBuilder_ != null) { + proxyConfigBuilder_.dispose(); + proxyConfigBuilder_ = null; + } return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ImportAttachedClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_ImportAttachedClusterRequest_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest - getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest.getDefaultInstance(); } @@ -583,17 +600,13 @@ public com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest result = - new com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest result = new com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest result) { + private void buildPartial0(com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -610,45 +623,49 @@ private void buildPartial0( if (((from_bitField0_ & 0x00000010) != 0)) { result.distribution_ = distribution_; } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.proxyConfig_ = proxyConfigBuilder_ == null + ? proxyConfig_ + : proxyConfigBuilder_.build(); + } } @java.lang.Override public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -656,9 +673,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest other) { - if (other - == com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -682,6 +697,9 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ImportAttachedCluster bitField0_ |= 0x00000010; onChanged(); } + if (other.hasProxyConfig()) { + mergeProxyConfig(other.getProxyConfig()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -708,43 +726,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - fleetMembership_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - platformVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - distribution_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + fleetMembership_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + platformVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + distribution_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + input.readMessage( + getProxyConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -754,13 +773,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent location where this
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -772,16 +788,14 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -790,8 +804,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent location where this
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -803,17 +815,16 @@ public java.lang.String getParent() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -821,8 +832,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent location where this
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -834,25 +843,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent location where this
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -864,10 +867,7 @@ public Builder setParent(java.lang.String value) {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -877,8 +877,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent location where this
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -890,17 +888,13 @@ public Builder clearParent() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -908,16 +902,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * If set, only validate the request, but do not actually import the cluster.
      * 
* * bool validate_only = 2; - * * @return The validateOnly. */ @java.lang.Override @@ -925,14 +916,11 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * If set, only validate the request, but do not actually import the cluster.
      * 
* * bool validate_only = 2; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -944,14 +932,11 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * If set, only validate the request, but do not actually import the cluster.
      * 
* * bool validate_only = 2; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -963,20 +948,18 @@ public Builder clearValidateOnly() { private java.lang.Object fleetMembership_ = ""; /** - * - * *
      * Required. The name of the fleet membership resource to import.
      * 
* * string fleet_membership = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The fleetMembership. */ public java.lang.String getFleetMembership() { java.lang.Object ref = fleetMembership_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fleetMembership_ = s; return s; @@ -985,21 +968,20 @@ public java.lang.String getFleetMembership() { } } /** - * - * *
      * Required. The name of the fleet membership resource to import.
      * 
* * string fleet_membership = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for fleetMembership. */ - public com.google.protobuf.ByteString getFleetMembershipBytes() { + public com.google.protobuf.ByteString + getFleetMembershipBytes() { java.lang.Object ref = fleetMembership_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fleetMembership_ = b; return b; } else { @@ -1007,35 +989,28 @@ public com.google.protobuf.ByteString getFleetMembershipBytes() { } } /** - * - * *
      * Required. The name of the fleet membership resource to import.
      * 
* * string fleet_membership = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The fleetMembership to set. * @return This builder for chaining. */ - public Builder setFleetMembership(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFleetMembership( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } fleetMembership_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The name of the fleet membership resource to import.
      * 
* * string fleet_membership = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearFleetMembership() { @@ -1045,21 +1020,17 @@ public Builder clearFleetMembership() { return this; } /** - * - * *
      * Required. The name of the fleet membership resource to import.
      * 
* * string fleet_membership = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for fleetMembership to set. * @return This builder for chaining. */ - public Builder setFleetMembershipBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFleetMembershipBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fleetMembership_ = value; bitField0_ |= 0x00000004; @@ -1069,8 +1040,6 @@ public Builder setFleetMembershipBytes(com.google.protobuf.ByteString value) { private java.lang.Object platformVersion_ = ""; /** - * - * *
      * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
      *
@@ -1080,13 +1049,13 @@ public Builder setFleetMembershipBytes(com.google.protobuf.ByteString value) {
      * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The platformVersion. */ public java.lang.String getPlatformVersion() { java.lang.Object ref = platformVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); platformVersion_ = s; return s; @@ -1095,8 +1064,6 @@ public java.lang.String getPlatformVersion() { } } /** - * - * *
      * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
      *
@@ -1106,14 +1073,15 @@ public java.lang.String getPlatformVersion() {
      * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for platformVersion. */ - public com.google.protobuf.ByteString getPlatformVersionBytes() { + public com.google.protobuf.ByteString + getPlatformVersionBytes() { java.lang.Object ref = platformVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); platformVersion_ = b; return b; } else { @@ -1121,8 +1089,6 @@ public com.google.protobuf.ByteString getPlatformVersionBytes() { } } /** - * - * *
      * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
      *
@@ -1132,22 +1098,18 @@ public com.google.protobuf.ByteString getPlatformVersionBytes() {
      * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The platformVersion to set. * @return This builder for chaining. */ - public Builder setPlatformVersion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPlatformVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } platformVersion_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
      *
@@ -1157,7 +1119,6 @@ public Builder setPlatformVersion(java.lang.String value) {
      * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPlatformVersion() { @@ -1167,8 +1128,6 @@ public Builder clearPlatformVersion() { return this; } /** - * - * *
      * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
      *
@@ -1178,14 +1137,12 @@ public Builder clearPlatformVersion() {
      * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for platformVersion to set. * @return This builder for chaining. */ - public Builder setPlatformVersionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPlatformVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); platformVersion_ = value; bitField0_ |= 0x00000008; @@ -1195,8 +1152,6 @@ public Builder setPlatformVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object distribution_ = ""; /** - * - * *
      * Required. The Kubernetes distribution of the underlying attached cluster.
      *
@@ -1204,13 +1159,13 @@ public Builder setPlatformVersionBytes(com.google.protobuf.ByteString value) {
      * 
* * string distribution = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The distribution. */ public java.lang.String getDistribution() { java.lang.Object ref = distribution_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); distribution_ = s; return s; @@ -1219,8 +1174,6 @@ public java.lang.String getDistribution() { } } /** - * - * *
      * Required. The Kubernetes distribution of the underlying attached cluster.
      *
@@ -1228,14 +1181,15 @@ public java.lang.String getDistribution() {
      * 
* * string distribution = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for distribution. */ - public com.google.protobuf.ByteString getDistributionBytes() { + public com.google.protobuf.ByteString + getDistributionBytes() { java.lang.Object ref = distribution_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); distribution_ = b; return b; } else { @@ -1243,8 +1197,6 @@ public com.google.protobuf.ByteString getDistributionBytes() { } } /** - * - * *
      * Required. The Kubernetes distribution of the underlying attached cluster.
      *
@@ -1252,22 +1204,18 @@ public com.google.protobuf.ByteString getDistributionBytes() {
      * 
* * string distribution = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The distribution to set. * @return This builder for chaining. */ - public Builder setDistribution(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDistribution( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } distribution_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Required. The Kubernetes distribution of the underlying attached cluster.
      *
@@ -1275,7 +1223,6 @@ public Builder setDistribution(java.lang.String value) {
      * 
* * string distribution = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDistribution() { @@ -1285,8 +1232,6 @@ public Builder clearDistribution() { return this; } /** - * - * *
      * Required. The Kubernetes distribution of the underlying attached cluster.
      *
@@ -1294,14 +1239,12 @@ public Builder clearDistribution() {
      * 
* * string distribution = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for distribution to set. * @return This builder for chaining. */ - public Builder setDistributionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDistributionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); distribution_ = value; bitField0_ |= 0x00000010; @@ -1309,8 +1252,163 @@ public Builder setDistributionBytes(com.google.protobuf.ByteString value) { return this; } + private com.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxyConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig, com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder> proxyConfigBuilder_; + /** + *
+     * Optional. Proxy configuration for outbound HTTP(S) traffic.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the proxyConfig field is set. + */ + public boolean hasProxyConfig() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + *
+     * Optional. Proxy configuration for outbound HTTP(S) traffic.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The proxyConfig. + */ + public com.google.cloud.gkemulticloud.v1.AttachedProxyConfig getProxyConfig() { + if (proxyConfigBuilder_ == null) { + return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() : proxyConfig_; + } else { + return proxyConfigBuilder_.getMessage(); + } + } + /** + *
+     * Optional. Proxy configuration for outbound HTTP(S) traffic.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setProxyConfig(com.google.cloud.gkemulticloud.v1.AttachedProxyConfig value) { + if (proxyConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + proxyConfig_ = value; + } else { + proxyConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+     * Optional. Proxy configuration for outbound HTTP(S) traffic.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setProxyConfig( + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder builderForValue) { + if (proxyConfigBuilder_ == null) { + proxyConfig_ = builderForValue.build(); + } else { + proxyConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+     * Optional. Proxy configuration for outbound HTTP(S) traffic.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder mergeProxyConfig(com.google.cloud.gkemulticloud.v1.AttachedProxyConfig value) { + if (proxyConfigBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) && + proxyConfig_ != null && + proxyConfig_ != com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance()) { + getProxyConfigBuilder().mergeFrom(value); + } else { + proxyConfig_ = value; + } + } else { + proxyConfigBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+     * Optional. Proxy configuration for outbound HTTP(S) traffic.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder clearProxyConfig() { + bitField0_ = (bitField0_ & ~0x00000020); + proxyConfig_ = null; + if (proxyConfigBuilder_ != null) { + proxyConfigBuilder_.dispose(); + proxyConfigBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * Optional. Proxy configuration for outbound HTTP(S) traffic.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder getProxyConfigBuilder() { + bitField0_ |= 0x00000020; + onChanged(); + return getProxyConfigFieldBuilder().getBuilder(); + } + /** + *
+     * Optional. Proxy configuration for outbound HTTP(S) traffic.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder getProxyConfigOrBuilder() { + if (proxyConfigBuilder_ != null) { + return proxyConfigBuilder_.getMessageOrBuilder(); + } else { + return proxyConfig_ == null ? + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() : proxyConfig_; + } + } + /** + *
+     * Optional. Proxy configuration for outbound HTTP(S) traffic.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig, com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder> + getProxyConfigFieldBuilder() { + if (proxyConfigBuilder_ == null) { + proxyConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig, com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder>( + getProxyConfig(), + getParentForChildren(), + isClean()); + proxyConfig_ = null; + } + return proxyConfigBuilder_; + } @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1320,43 +1418,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest) - private static final com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest(); } - public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest - getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAttachedClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAttachedClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1368,8 +1464,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest - getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ImportAttachedClusterRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ImportAttachedClusterRequestOrBuilder.java similarity index 70% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ImportAttachedClusterRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ImportAttachedClusterRequestOrBuilder.java index 6982bdb9340c..07f208449b06 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ImportAttachedClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ImportAttachedClusterRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; -public interface ImportAttachedClusterRequestOrBuilder - extends +public interface ImportAttachedClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent location where this
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -37,16 +19,11 @@ public interface ImportAttachedClusterRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent location where this
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -58,55 +35,43 @@ public interface ImportAttachedClusterRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * If set, only validate the request, but do not actually import the cluster.
    * 
* * bool validate_only = 2; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * Required. The name of the fleet membership resource to import.
    * 
* * string fleet_membership = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The fleetMembership. */ java.lang.String getFleetMembership(); /** - * - * *
    * Required. The name of the fleet membership resource to import.
    * 
* * string fleet_membership = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for fleetMembership. */ - com.google.protobuf.ByteString getFleetMembershipBytes(); + com.google.protobuf.ByteString + getFleetMembershipBytes(); /** - * - * *
    * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
    *
@@ -116,13 +81,10 @@ public interface ImportAttachedClusterRequestOrBuilder
    * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The platformVersion. */ java.lang.String getPlatformVersion(); /** - * - * *
    * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
    *
@@ -132,14 +94,12 @@ public interface ImportAttachedClusterRequestOrBuilder
    * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for platformVersion. */ - com.google.protobuf.ByteString getPlatformVersionBytes(); + com.google.protobuf.ByteString + getPlatformVersionBytes(); /** - * - * *
    * Required. The Kubernetes distribution of the underlying attached cluster.
    *
@@ -147,13 +107,10 @@ public interface ImportAttachedClusterRequestOrBuilder
    * 
* * string distribution = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The distribution. */ java.lang.String getDistribution(); /** - * - * *
    * Required. The Kubernetes distribution of the underlying attached cluster.
    *
@@ -161,8 +118,35 @@ public interface ImportAttachedClusterRequestOrBuilder
    * 
* * string distribution = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for distribution. */ - com.google.protobuf.ByteString getDistributionBytes(); + com.google.protobuf.ByteString + getDistributionBytes(); + + /** + *
+   * Optional. Proxy configuration for outbound HTTP(S) traffic.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the proxyConfig field is set. + */ + boolean hasProxyConfig(); + /** + *
+   * Optional. Proxy configuration for outbound HTTP(S) traffic.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The proxyConfig. + */ + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig getProxyConfig(); + /** + *
+   * Optional. Proxy configuration for outbound HTTP(S) traffic.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder getProxyConfigOrBuilder(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Jwk.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Jwk.java new file mode 100644 index 000000000000..422887f356b7 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Jwk.java @@ -0,0 +1,1889 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/common_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +/** + *
+ * Jwk is a JSON Web Key as specified in RFC 7517.
+ * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.Jwk} + */ +public final class Jwk extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.Jwk) + JwkOrBuilder { +private static final long serialVersionUID = 0L; + // Use Jwk.newBuilder() to construct. + private Jwk(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Jwk() { + kty_ = ""; + alg_ = ""; + use_ = ""; + kid_ = ""; + n_ = ""; + e_ = ""; + x_ = ""; + y_ = ""; + crv_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Jwk(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_Jwk_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_Jwk_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.Jwk.class, com.google.cloud.gkemulticloud.v1.Jwk.Builder.class); + } + + public static final int KTY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object kty_ = ""; + /** + *
+   * Key Type.
+   * 
+ * + * string kty = 1; + * @return The kty. + */ + @java.lang.Override + public java.lang.String getKty() { + java.lang.Object ref = kty_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kty_ = s; + return s; + } + } + /** + *
+   * Key Type.
+   * 
+ * + * string kty = 1; + * @return The bytes for kty. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getKtyBytes() { + java.lang.Object ref = kty_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kty_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ALG_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object alg_ = ""; + /** + *
+   * Algorithm.
+   * 
+ * + * string alg = 2; + * @return The alg. + */ + @java.lang.Override + public java.lang.String getAlg() { + java.lang.Object ref = alg_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + alg_ = s; + return s; + } + } + /** + *
+   * Algorithm.
+   * 
+ * + * string alg = 2; + * @return The bytes for alg. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAlgBytes() { + java.lang.Object ref = alg_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + alg_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int USE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object use_ = ""; + /** + *
+   * Permitted uses for the public keys.
+   * 
+ * + * string use = 3; + * @return The use. + */ + @java.lang.Override + public java.lang.String getUse() { + java.lang.Object ref = use_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + use_ = s; + return s; + } + } + /** + *
+   * Permitted uses for the public keys.
+   * 
+ * + * string use = 3; + * @return The bytes for use. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getUseBytes() { + java.lang.Object ref = use_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + use_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int KID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private volatile java.lang.Object kid_ = ""; + /** + *
+   * Key ID.
+   * 
+ * + * string kid = 4; + * @return The kid. + */ + @java.lang.Override + public java.lang.String getKid() { + java.lang.Object ref = kid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kid_ = s; + return s; + } + } + /** + *
+   * Key ID.
+   * 
+ * + * string kid = 4; + * @return The bytes for kid. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getKidBytes() { + java.lang.Object ref = kid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int N_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object n_ = ""; + /** + *
+   * Used for RSA keys.
+   * 
+ * + * string n = 5; + * @return The n. + */ + @java.lang.Override + public java.lang.String getN() { + java.lang.Object ref = n_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + n_ = s; + return s; + } + } + /** + *
+   * Used for RSA keys.
+   * 
+ * + * string n = 5; + * @return The bytes for n. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNBytes() { + java.lang.Object ref = n_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + n_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int E_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private volatile java.lang.Object e_ = ""; + /** + *
+   * Used for RSA keys.
+   * 
+ * + * string e = 6; + * @return The e. + */ + @java.lang.Override + public java.lang.String getE() { + java.lang.Object ref = e_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + e_ = s; + return s; + } + } + /** + *
+   * Used for RSA keys.
+   * 
+ * + * string e = 6; + * @return The bytes for e. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getEBytes() { + java.lang.Object ref = e_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + e_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int X_FIELD_NUMBER = 7; + @SuppressWarnings("serial") + private volatile java.lang.Object x_ = ""; + /** + *
+   * Used for ECDSA keys.
+   * 
+ * + * string x = 7; + * @return The x. + */ + @java.lang.Override + public java.lang.String getX() { + java.lang.Object ref = x_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + x_ = s; + return s; + } + } + /** + *
+   * Used for ECDSA keys.
+   * 
+ * + * string x = 7; + * @return The bytes for x. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getXBytes() { + java.lang.Object ref = x_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + x_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int Y_FIELD_NUMBER = 8; + @SuppressWarnings("serial") + private volatile java.lang.Object y_ = ""; + /** + *
+   * Used for ECDSA keys.
+   * 
+ * + * string y = 8; + * @return The y. + */ + @java.lang.Override + public java.lang.String getY() { + java.lang.Object ref = y_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + y_ = s; + return s; + } + } + /** + *
+   * Used for ECDSA keys.
+   * 
+ * + * string y = 8; + * @return The bytes for y. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getYBytes() { + java.lang.Object ref = y_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + y_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CRV_FIELD_NUMBER = 9; + @SuppressWarnings("serial") + private volatile java.lang.Object crv_ = ""; + /** + *
+   * Used for ECDSA keys.
+   * 
+ * + * string crv = 9; + * @return The crv. + */ + @java.lang.Override + public java.lang.String getCrv() { + java.lang.Object ref = crv_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + crv_ = s; + return s; + } + } + /** + *
+   * Used for ECDSA keys.
+   * 
+ * + * string crv = 9; + * @return The bytes for crv. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getCrvBytes() { + java.lang.Object ref = crv_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + crv_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kty_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kty_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(alg_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, alg_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(use_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, use_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, kid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(n_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, n_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(e_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, e_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(x_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, x_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(y_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, y_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(crv_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 9, crv_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kty_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, kty_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(alg_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, alg_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(use_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, use_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, kid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(n_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, n_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(e_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, e_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(x_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, x_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(y_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, y_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(crv_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, crv_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.Jwk)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.Jwk other = (com.google.cloud.gkemulticloud.v1.Jwk) obj; + + if (!getKty() + .equals(other.getKty())) return false; + if (!getAlg() + .equals(other.getAlg())) return false; + if (!getUse() + .equals(other.getUse())) return false; + if (!getKid() + .equals(other.getKid())) return false; + if (!getN() + .equals(other.getN())) return false; + if (!getE() + .equals(other.getE())) return false; + if (!getX() + .equals(other.getX())) return false; + if (!getY() + .equals(other.getY())) return false; + if (!getCrv() + .equals(other.getCrv())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + KTY_FIELD_NUMBER; + hash = (53 * hash) + getKty().hashCode(); + hash = (37 * hash) + ALG_FIELD_NUMBER; + hash = (53 * hash) + getAlg().hashCode(); + hash = (37 * hash) + USE_FIELD_NUMBER; + hash = (53 * hash) + getUse().hashCode(); + hash = (37 * hash) + KID_FIELD_NUMBER; + hash = (53 * hash) + getKid().hashCode(); + hash = (37 * hash) + N_FIELD_NUMBER; + hash = (53 * hash) + getN().hashCode(); + hash = (37 * hash) + E_FIELD_NUMBER; + hash = (53 * hash) + getE().hashCode(); + hash = (37 * hash) + X_FIELD_NUMBER; + hash = (53 * hash) + getX().hashCode(); + hash = (37 * hash) + Y_FIELD_NUMBER; + hash = (53 * hash) + getY().hashCode(); + hash = (37 * hash) + CRV_FIELD_NUMBER; + hash = (53 * hash) + getCrv().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.Jwk parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.Jwk parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.Jwk parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.Jwk parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.Jwk parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.Jwk parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.Jwk parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.Jwk parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.Jwk parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.Jwk parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.Jwk parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.Jwk parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.Jwk prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Jwk is a JSON Web Key as specified in RFC 7517.
+   * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.Jwk} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.Jwk) + com.google.cloud.gkemulticloud.v1.JwkOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_Jwk_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_Jwk_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.Jwk.class, com.google.cloud.gkemulticloud.v1.Jwk.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.Jwk.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + kty_ = ""; + alg_ = ""; + use_ = ""; + kid_ = ""; + n_ = ""; + e_ = ""; + x_ = ""; + y_ = ""; + crv_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_Jwk_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.Jwk getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.Jwk.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.Jwk build() { + com.google.cloud.gkemulticloud.v1.Jwk result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.Jwk buildPartial() { + com.google.cloud.gkemulticloud.v1.Jwk result = new com.google.cloud.gkemulticloud.v1.Jwk(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.gkemulticloud.v1.Jwk result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.kty_ = kty_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.alg_ = alg_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.use_ = use_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.kid_ = kid_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.n_ = n_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.e_ = e_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.x_ = x_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.y_ = y_; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.crv_ = crv_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.Jwk) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.Jwk)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.Jwk other) { + if (other == com.google.cloud.gkemulticloud.v1.Jwk.getDefaultInstance()) return this; + if (!other.getKty().isEmpty()) { + kty_ = other.kty_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getAlg().isEmpty()) { + alg_ = other.alg_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getUse().isEmpty()) { + use_ = other.use_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getKid().isEmpty()) { + kid_ = other.kid_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getN().isEmpty()) { + n_ = other.n_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.getE().isEmpty()) { + e_ = other.e_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (!other.getX().isEmpty()) { + x_ = other.x_; + bitField0_ |= 0x00000040; + onChanged(); + } + if (!other.getY().isEmpty()) { + y_ = other.y_; + bitField0_ |= 0x00000080; + onChanged(); + } + if (!other.getCrv().isEmpty()) { + crv_ = other.crv_; + bitField0_ |= 0x00000100; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + kty_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + alg_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + use_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + kid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + n_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + e_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + x_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: { + y_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 74: { + crv_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 74 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object kty_ = ""; + /** + *
+     * Key Type.
+     * 
+ * + * string kty = 1; + * @return The kty. + */ + public java.lang.String getKty() { + java.lang.Object ref = kty_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kty_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Key Type.
+     * 
+ * + * string kty = 1; + * @return The bytes for kty. + */ + public com.google.protobuf.ByteString + getKtyBytes() { + java.lang.Object ref = kty_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kty_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Key Type.
+     * 
+ * + * string kty = 1; + * @param value The kty to set. + * @return This builder for chaining. + */ + public Builder setKty( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + kty_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Key Type.
+     * 
+ * + * string kty = 1; + * @return This builder for chaining. + */ + public Builder clearKty() { + kty_ = getDefaultInstance().getKty(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     * Key Type.
+     * 
+ * + * string kty = 1; + * @param value The bytes for kty to set. + * @return This builder for chaining. + */ + public Builder setKtyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + kty_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object alg_ = ""; + /** + *
+     * Algorithm.
+     * 
+ * + * string alg = 2; + * @return The alg. + */ + public java.lang.String getAlg() { + java.lang.Object ref = alg_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + alg_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Algorithm.
+     * 
+ * + * string alg = 2; + * @return The bytes for alg. + */ + public com.google.protobuf.ByteString + getAlgBytes() { + java.lang.Object ref = alg_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + alg_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Algorithm.
+     * 
+ * + * string alg = 2; + * @param value The alg to set. + * @return This builder for chaining. + */ + public Builder setAlg( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + alg_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * Algorithm.
+     * 
+ * + * string alg = 2; + * @return This builder for chaining. + */ + public Builder clearAlg() { + alg_ = getDefaultInstance().getAlg(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+     * Algorithm.
+     * 
+ * + * string alg = 2; + * @param value The bytes for alg to set. + * @return This builder for chaining. + */ + public Builder setAlgBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + alg_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object use_ = ""; + /** + *
+     * Permitted uses for the public keys.
+     * 
+ * + * string use = 3; + * @return The use. + */ + public java.lang.String getUse() { + java.lang.Object ref = use_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + use_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Permitted uses for the public keys.
+     * 
+ * + * string use = 3; + * @return The bytes for use. + */ + public com.google.protobuf.ByteString + getUseBytes() { + java.lang.Object ref = use_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + use_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Permitted uses for the public keys.
+     * 
+ * + * string use = 3; + * @param value The use to set. + * @return This builder for chaining. + */ + public Builder setUse( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + use_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * Permitted uses for the public keys.
+     * 
+ * + * string use = 3; + * @return This builder for chaining. + */ + public Builder clearUse() { + use_ = getDefaultInstance().getUse(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + *
+     * Permitted uses for the public keys.
+     * 
+ * + * string use = 3; + * @param value The bytes for use to set. + * @return This builder for chaining. + */ + public Builder setUseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + use_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object kid_ = ""; + /** + *
+     * Key ID.
+     * 
+ * + * string kid = 4; + * @return The kid. + */ + public java.lang.String getKid() { + java.lang.Object ref = kid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Key ID.
+     * 
+ * + * string kid = 4; + * @return The bytes for kid. + */ + public com.google.protobuf.ByteString + getKidBytes() { + java.lang.Object ref = kid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + kid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Key ID.
+     * 
+ * + * string kid = 4; + * @param value The kid to set. + * @return This builder for chaining. + */ + public Builder setKid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + kid_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Key ID.
+     * 
+ * + * string kid = 4; + * @return This builder for chaining. + */ + public Builder clearKid() { + kid_ = getDefaultInstance().getKid(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + *
+     * Key ID.
+     * 
+ * + * string kid = 4; + * @param value The bytes for kid to set. + * @return This builder for chaining. + */ + public Builder setKidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + kid_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object n_ = ""; + /** + *
+     * Used for RSA keys.
+     * 
+ * + * string n = 5; + * @return The n. + */ + public java.lang.String getN() { + java.lang.Object ref = n_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + n_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Used for RSA keys.
+     * 
+ * + * string n = 5; + * @return The bytes for n. + */ + public com.google.protobuf.ByteString + getNBytes() { + java.lang.Object ref = n_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + n_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Used for RSA keys.
+     * 
+ * + * string n = 5; + * @param value The n to set. + * @return This builder for chaining. + */ + public Builder setN( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + n_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * Used for RSA keys.
+     * 
+ * + * string n = 5; + * @return This builder for chaining. + */ + public Builder clearN() { + n_ = getDefaultInstance().getN(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + *
+     * Used for RSA keys.
+     * 
+ * + * string n = 5; + * @param value The bytes for n to set. + * @return This builder for chaining. + */ + public Builder setNBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + n_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object e_ = ""; + /** + *
+     * Used for RSA keys.
+     * 
+ * + * string e = 6; + * @return The e. + */ + public java.lang.String getE() { + java.lang.Object ref = e_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + e_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Used for RSA keys.
+     * 
+ * + * string e = 6; + * @return The bytes for e. + */ + public com.google.protobuf.ByteString + getEBytes() { + java.lang.Object ref = e_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + e_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Used for RSA keys.
+     * 
+ * + * string e = 6; + * @param value The e to set. + * @return This builder for chaining. + */ + public Builder setE( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + e_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+     * Used for RSA keys.
+     * 
+ * + * string e = 6; + * @return This builder for chaining. + */ + public Builder clearE() { + e_ = getDefaultInstance().getE(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + *
+     * Used for RSA keys.
+     * 
+ * + * string e = 6; + * @param value The bytes for e to set. + * @return This builder for chaining. + */ + public Builder setEBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + e_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private java.lang.Object x_ = ""; + /** + *
+     * Used for ECDSA keys.
+     * 
+ * + * string x = 7; + * @return The x. + */ + public java.lang.String getX() { + java.lang.Object ref = x_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + x_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Used for ECDSA keys.
+     * 
+ * + * string x = 7; + * @return The bytes for x. + */ + public com.google.protobuf.ByteString + getXBytes() { + java.lang.Object ref = x_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + x_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Used for ECDSA keys.
+     * 
+ * + * string x = 7; + * @param value The x to set. + * @return This builder for chaining. + */ + public Builder setX( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + x_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+     * Used for ECDSA keys.
+     * 
+ * + * string x = 7; + * @return This builder for chaining. + */ + public Builder clearX() { + x_ = getDefaultInstance().getX(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + /** + *
+     * Used for ECDSA keys.
+     * 
+ * + * string x = 7; + * @param value The bytes for x to set. + * @return This builder for chaining. + */ + public Builder setXBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + x_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + private java.lang.Object y_ = ""; + /** + *
+     * Used for ECDSA keys.
+     * 
+ * + * string y = 8; + * @return The y. + */ + public java.lang.String getY() { + java.lang.Object ref = y_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + y_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Used for ECDSA keys.
+     * 
+ * + * string y = 8; + * @return The bytes for y. + */ + public com.google.protobuf.ByteString + getYBytes() { + java.lang.Object ref = y_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + y_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Used for ECDSA keys.
+     * 
+ * + * string y = 8; + * @param value The y to set. + * @return This builder for chaining. + */ + public Builder setY( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + y_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + *
+     * Used for ECDSA keys.
+     * 
+ * + * string y = 8; + * @return This builder for chaining. + */ + public Builder clearY() { + y_ = getDefaultInstance().getY(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + return this; + } + /** + *
+     * Used for ECDSA keys.
+     * 
+ * + * string y = 8; + * @param value The bytes for y to set. + * @return This builder for chaining. + */ + public Builder setYBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + y_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + + private java.lang.Object crv_ = ""; + /** + *
+     * Used for ECDSA keys.
+     * 
+ * + * string crv = 9; + * @return The crv. + */ + public java.lang.String getCrv() { + java.lang.Object ref = crv_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + crv_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Used for ECDSA keys.
+     * 
+ * + * string crv = 9; + * @return The bytes for crv. + */ + public com.google.protobuf.ByteString + getCrvBytes() { + java.lang.Object ref = crv_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + crv_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Used for ECDSA keys.
+     * 
+ * + * string crv = 9; + * @param value The crv to set. + * @return This builder for chaining. + */ + public Builder setCrv( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + crv_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + *
+     * Used for ECDSA keys.
+     * 
+ * + * string crv = 9; + * @return This builder for chaining. + */ + public Builder clearCrv() { + crv_ = getDefaultInstance().getCrv(); + bitField0_ = (bitField0_ & ~0x00000100); + onChanged(); + return this; + } + /** + *
+     * Used for ECDSA keys.
+     * 
+ * + * string crv = 9; + * @param value The bytes for crv to set. + * @return This builder for chaining. + */ + public Builder setCrvBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + crv_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.Jwk) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.Jwk) + private static final com.google.cloud.gkemulticloud.v1.Jwk DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.Jwk(); + } + + public static com.google.cloud.gkemulticloud.v1.Jwk getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Jwk parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.Jwk getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/JwkOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/JwkOrBuilder.java new file mode 100644 index 000000000000..937eb1b1e3b4 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/JwkOrBuilder.java @@ -0,0 +1,189 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/common_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface JwkOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.Jwk) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Key Type.
+   * 
+ * + * string kty = 1; + * @return The kty. + */ + java.lang.String getKty(); + /** + *
+   * Key Type.
+   * 
+ * + * string kty = 1; + * @return The bytes for kty. + */ + com.google.protobuf.ByteString + getKtyBytes(); + + /** + *
+   * Algorithm.
+   * 
+ * + * string alg = 2; + * @return The alg. + */ + java.lang.String getAlg(); + /** + *
+   * Algorithm.
+   * 
+ * + * string alg = 2; + * @return The bytes for alg. + */ + com.google.protobuf.ByteString + getAlgBytes(); + + /** + *
+   * Permitted uses for the public keys.
+   * 
+ * + * string use = 3; + * @return The use. + */ + java.lang.String getUse(); + /** + *
+   * Permitted uses for the public keys.
+   * 
+ * + * string use = 3; + * @return The bytes for use. + */ + com.google.protobuf.ByteString + getUseBytes(); + + /** + *
+   * Key ID.
+   * 
+ * + * string kid = 4; + * @return The kid. + */ + java.lang.String getKid(); + /** + *
+   * Key ID.
+   * 
+ * + * string kid = 4; + * @return The bytes for kid. + */ + com.google.protobuf.ByteString + getKidBytes(); + + /** + *
+   * Used for RSA keys.
+   * 
+ * + * string n = 5; + * @return The n. + */ + java.lang.String getN(); + /** + *
+   * Used for RSA keys.
+   * 
+ * + * string n = 5; + * @return The bytes for n. + */ + com.google.protobuf.ByteString + getNBytes(); + + /** + *
+   * Used for RSA keys.
+   * 
+ * + * string e = 6; + * @return The e. + */ + java.lang.String getE(); + /** + *
+   * Used for RSA keys.
+   * 
+ * + * string e = 6; + * @return The bytes for e. + */ + com.google.protobuf.ByteString + getEBytes(); + + /** + *
+   * Used for ECDSA keys.
+   * 
+ * + * string x = 7; + * @return The x. + */ + java.lang.String getX(); + /** + *
+   * Used for ECDSA keys.
+   * 
+ * + * string x = 7; + * @return The bytes for x. + */ + com.google.protobuf.ByteString + getXBytes(); + + /** + *
+   * Used for ECDSA keys.
+   * 
+ * + * string y = 8; + * @return The y. + */ + java.lang.String getY(); + /** + *
+   * Used for ECDSA keys.
+   * 
+ * + * string y = 8; + * @return The bytes for y. + */ + com.google.protobuf.ByteString + getYBytes(); + + /** + *
+   * Used for ECDSA keys.
+   * 
+ * + * string crv = 9; + * @return The crv. + */ + java.lang.String getCrv(); + /** + *
+   * Used for ECDSA keys.
+   * 
+ * + * string crv = 9; + * @return The bytes for crv. + */ + com.google.protobuf.ByteString + getCrvBytes(); +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/KubernetesSecret.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/KubernetesSecret.java new file mode 100644 index 000000000000..081f7da8b0fe --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/KubernetesSecret.java @@ -0,0 +1,741 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/attached_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +/** + *
+ * Information about a Kubernetes Secret
+ * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.KubernetesSecret} + */ +public final class KubernetesSecret extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.KubernetesSecret) + KubernetesSecretOrBuilder { +private static final long serialVersionUID = 0L; + // Use KubernetesSecret.newBuilder() to construct. + private KubernetesSecret(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private KubernetesSecret() { + name_ = ""; + namespace_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new KubernetesSecret(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_KubernetesSecret_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_KubernetesSecret_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.KubernetesSecret.class, com.google.cloud.gkemulticloud.v1.KubernetesSecret.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + *
+   * Name of the kubernetes secret.
+   * 
+ * + * string name = 1; + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+   * Name of the kubernetes secret.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NAMESPACE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object namespace_ = ""; + /** + *
+   * Namespace in which the kubernetes secret is stored.
+   * 
+ * + * string namespace = 2; + * @return The namespace. + */ + @java.lang.Override + public java.lang.String getNamespace() { + java.lang.Object ref = namespace_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + namespace_ = s; + return s; + } + } + /** + *
+   * Namespace in which the kubernetes secret is stored.
+   * 
+ * + * string namespace = 2; + * @return The bytes for namespace. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNamespaceBytes() { + java.lang.Object ref = namespace_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + namespace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, namespace_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, namespace_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.KubernetesSecret)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.KubernetesSecret other = (com.google.cloud.gkemulticloud.v1.KubernetesSecret) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getNamespace() + .equals(other.getNamespace())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + NAMESPACE_FIELD_NUMBER; + hash = (53 * hash) + getNamespace().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.KubernetesSecret parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.KubernetesSecret parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.KubernetesSecret parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.KubernetesSecret parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.KubernetesSecret parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.KubernetesSecret parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.KubernetesSecret parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.KubernetesSecret parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.KubernetesSecret parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.KubernetesSecret parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.KubernetesSecret parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.KubernetesSecret parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.KubernetesSecret prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Information about a Kubernetes Secret
+   * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.KubernetesSecret} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.KubernetesSecret) + com.google.cloud.gkemulticloud.v1.KubernetesSecretOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_KubernetesSecret_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_KubernetesSecret_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.KubernetesSecret.class, com.google.cloud.gkemulticloud.v1.KubernetesSecret.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.KubernetesSecret.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + namespace_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_KubernetesSecret_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.KubernetesSecret getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.KubernetesSecret.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.KubernetesSecret build() { + com.google.cloud.gkemulticloud.v1.KubernetesSecret result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.KubernetesSecret buildPartial() { + com.google.cloud.gkemulticloud.v1.KubernetesSecret result = new com.google.cloud.gkemulticloud.v1.KubernetesSecret(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.gkemulticloud.v1.KubernetesSecret result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.namespace_ = namespace_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.KubernetesSecret) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.KubernetesSecret)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.KubernetesSecret other) { + if (other == com.google.cloud.gkemulticloud.v1.KubernetesSecret.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getNamespace().isEmpty()) { + namespace_ = other.namespace_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + namespace_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + *
+     * Name of the kubernetes secret.
+     * 
+ * + * string name = 1; + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Name of the kubernetes secret.
+     * 
+ * + * string name = 1; + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Name of the kubernetes secret.
+     * 
+ * + * string name = 1; + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Name of the kubernetes secret.
+     * 
+ * + * string name = 1; + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     * Name of the kubernetes secret.
+     * 
+ * + * string name = 1; + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object namespace_ = ""; + /** + *
+     * Namespace in which the kubernetes secret is stored.
+     * 
+ * + * string namespace = 2; + * @return The namespace. + */ + public java.lang.String getNamespace() { + java.lang.Object ref = namespace_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + namespace_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Namespace in which the kubernetes secret is stored.
+     * 
+ * + * string namespace = 2; + * @return The bytes for namespace. + */ + public com.google.protobuf.ByteString + getNamespaceBytes() { + java.lang.Object ref = namespace_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + namespace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Namespace in which the kubernetes secret is stored.
+     * 
+ * + * string namespace = 2; + * @param value The namespace to set. + * @return This builder for chaining. + */ + public Builder setNamespace( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + namespace_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * Namespace in which the kubernetes secret is stored.
+     * 
+ * + * string namespace = 2; + * @return This builder for chaining. + */ + public Builder clearNamespace() { + namespace_ = getDefaultInstance().getNamespace(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+     * Namespace in which the kubernetes secret is stored.
+     * 
+ * + * string namespace = 2; + * @param value The bytes for namespace to set. + * @return This builder for chaining. + */ + public Builder setNamespaceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + namespace_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.KubernetesSecret) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.KubernetesSecret) + private static final com.google.cloud.gkemulticloud.v1.KubernetesSecret DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.KubernetesSecret(); + } + + public static com.google.cloud.gkemulticloud.v1.KubernetesSecret getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KubernetesSecret parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.KubernetesSecret getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/KubernetesSecretOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/KubernetesSecretOrBuilder.java new file mode 100644 index 000000000000..6bbffe69c905 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/KubernetesSecretOrBuilder.java @@ -0,0 +1,49 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/attached_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface KubernetesSecretOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.KubernetesSecret) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Name of the kubernetes secret.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Name of the kubernetes secret.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * Namespace in which the kubernetes secret is stored.
+   * 
+ * + * string namespace = 2; + * @return The namespace. + */ + java.lang.String getNamespace(); + /** + *
+   * Namespace in which the kubernetes secret is stored.
+   * 
+ * + * string namespace = 2; + * @return The bytes for namespace. + */ + com.google.protobuf.ByteString + getNamespaceBytes(); +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequest.java similarity index 70% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequest.java index 4876cf1c5ab5..46bed1a595cc 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Request message for `AttachedClusters.ListAttachedClusters` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAttachedClustersRequest} */ -public final class ListAttachedClustersRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAttachedClustersRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.ListAttachedClustersRequest) ListAttachedClustersRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAttachedClustersRequest.newBuilder() to construct. private ListAttachedClustersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAttachedClustersRequest() { parent_ = ""; pageToken_ = ""; @@ -44,32 +26,28 @@ private ListAttachedClustersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAttachedClustersRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest.class, - com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest.class, com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The parent location which owns this collection of
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources.
@@ -80,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -92,15 +67,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent location which owns this collection of
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources.
@@ -111,18 +85,17 @@ public java.lang.String getParent() {
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -133,8 +106,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * The maximum number of items to return.
    *
@@ -146,7 +117,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -155,12 +125,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * The `nextPageToken` value returned from a previous
    * [attachedClusters.list][google.cloud.gkemulticloud.v1.AttachedClusters.ListAttachedClusters]
@@ -168,7 +135,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -177,15 +143,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The `nextPageToken` value returned from a previous
    * [attachedClusters.list][google.cloud.gkemulticloud.v1.AttachedClusters.ListAttachedClusters]
@@ -193,15 +158,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -210,7 +176,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -222,7 +187,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -245,7 +211,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -258,17 +225,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest other = - (com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest) obj; + com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest other = (com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -292,136 +261,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `AttachedClusters.ListAttachedClusters` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAttachedClustersRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.ListAttachedClustersRequest) com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest.class, - com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest.class, com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -433,14 +397,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersRequest_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest - getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest.getDefaultInstance(); } @@ -455,17 +418,13 @@ public com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest result = - new com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest result = new com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest result) { + private void buildPartial0(com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -482,39 +441,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest)other); } else { super.mergeFrom(other); return this; @@ -522,9 +480,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest other) { - if (other - == com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -564,31 +520,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -598,13 +550,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent location which owns this collection of
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources.
@@ -615,16 +564,14 @@ public Builder mergeFrom(
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -633,8 +580,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent location which owns this collection of
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources.
@@ -645,17 +590,16 @@ public java.lang.String getParent() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -663,8 +607,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent location which owns this collection of
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources.
@@ -675,25 +617,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent location which owns this collection of
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources.
@@ -704,10 +640,7 @@ public Builder setParent(java.lang.String value) {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -717,8 +650,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent location which owns this collection of
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources.
@@ -729,17 +660,13 @@ public Builder clearParent() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -747,10 +674,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return.
      *
@@ -762,7 +687,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -770,8 +694,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return.
      *
@@ -783,7 +705,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -795,8 +716,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * The maximum number of items to return.
      *
@@ -808,7 +727,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -820,8 +738,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [attachedClusters.list][google.cloud.gkemulticloud.v1.AttachedClusters.ListAttachedClusters]
@@ -829,13 +745,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -844,8 +760,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [attachedClusters.list][google.cloud.gkemulticloud.v1.AttachedClusters.ListAttachedClusters]
@@ -853,14 +767,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -868,8 +783,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [attachedClusters.list][google.cloud.gkemulticloud.v1.AttachedClusters.ListAttachedClusters]
@@ -877,22 +790,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [attachedClusters.list][google.cloud.gkemulticloud.v1.AttachedClusters.ListAttachedClusters]
@@ -900,7 +809,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -910,8 +818,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [attachedClusters.list][google.cloud.gkemulticloud.v1.AttachedClusters.ListAttachedClusters]
@@ -919,23 +825,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -945,13 +849,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.ListAttachedClustersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.ListAttachedClustersRequest) - private static final com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest(); } @@ -960,27 +863,27 @@ public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAttachedClustersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAttachedClustersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -995,4 +898,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequestOrBuilder.java similarity index 68% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequestOrBuilder.java index 96755167d994..870334744485 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; -public interface ListAttachedClustersRequestOrBuilder - extends +public interface ListAttachedClustersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.ListAttachedClustersRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent location which owns this collection of
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources.
@@ -36,16 +18,11 @@ public interface ListAttachedClustersRequestOrBuilder
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent location which owns this collection of
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources.
@@ -56,17 +33,13 @@ public interface ListAttachedClustersRequestOrBuilder
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of items to return.
    *
@@ -78,14 +51,11 @@ public interface ListAttachedClustersRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The `nextPageToken` value returned from a previous
    * [attachedClusters.list][google.cloud.gkemulticloud.v1.AttachedClusters.ListAttachedClusters]
@@ -93,13 +63,10 @@ public interface ListAttachedClustersRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The `nextPageToken` value returned from a previous
    * [attachedClusters.list][google.cloud.gkemulticloud.v1.AttachedClusters.ListAttachedClusters]
@@ -107,8 +74,8 @@ public interface ListAttachedClustersRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponse.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponse.java similarity index 74% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponse.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponse.java index 480be02fba57..3a6e64c6a8ea 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponse.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Response message for `AttachedClusters.ListAttachedClusters` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAttachedClustersResponse} */ -public final class ListAttachedClustersResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAttachedClustersResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.ListAttachedClustersResponse) ListAttachedClustersResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAttachedClustersResponse.newBuilder() to construct. private ListAttachedClustersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAttachedClustersResponse() { attachedClusters_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,32 +26,28 @@ private ListAttachedClustersResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAttachedClustersResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse.class, - com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse.class, com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse.Builder.class); } public static final int ATTACHED_CLUSTERS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List attachedClusters_; /** - * - * *
    * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -78,13 +56,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
    */
   @java.lang.Override
-  public java.util.List
-      getAttachedClustersList() {
+  public java.util.List getAttachedClustersList() {
     return attachedClusters_;
   }
   /**
-   *
-   *
    * 
    * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -93,13 +68,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getAttachedClustersOrBuilderList() {
     return attachedClusters_;
   }
   /**
-   *
-   *
    * 
    * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -112,8 +85,6 @@ public int getAttachedClustersCount() {
     return attachedClusters_.size();
   }
   /**
-   *
-   *
    * 
    * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -126,8 +97,6 @@ public com.google.cloud.gkemulticloud.v1.AttachedCluster getAttachedClusters(int
     return attachedClusters_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -142,19 +111,15 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder getAttachedClu
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object nextPageToken_ = "";
   /**
-   *
-   *
    * 
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -163,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -195,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < attachedClusters_.size(); i++) { output.writeMessage(1, attachedClusters_.get(i)); } @@ -224,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < attachedClusters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, attachedClusters_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, attachedClusters_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -237,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse other = - (com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse) obj; + com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse other = (com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse) obj; - if (!getAttachedClustersList().equals(other.getAttachedClustersList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getAttachedClustersList() + .equals(other.getAttachedClustersList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -270,136 +237,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for `AttachedClusters.ListAttachedClusters` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAttachedClustersResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.ListAttachedClustersResponse) com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse.class, - com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse.class, com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -416,14 +378,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersResponse_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse - getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse.getDefaultInstance(); } @@ -438,18 +399,14 @@ public com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse buildPartial() { - com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse result = - new com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse(this); + com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse result = new com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse result) { if (attachedClustersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { attachedClusters_ = java.util.Collections.unmodifiableList(attachedClusters_); @@ -461,8 +418,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse result) { + private void buildPartial0(com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -473,39 +429,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse)other); } else { super.mergeFrom(other); return this; @@ -513,9 +468,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse other) { - if (other - == com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse.getDefaultInstance()) return this; if (attachedClustersBuilder_ == null) { if (!other.attachedClusters_.isEmpty()) { if (attachedClusters_.isEmpty()) { @@ -534,10 +487,9 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAttachedClustersR attachedClustersBuilder_ = null; attachedClusters_ = other.attachedClusters_; bitField0_ = (bitField0_ & ~0x00000001); - attachedClustersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAttachedClustersFieldBuilder() - : null; + attachedClustersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAttachedClustersFieldBuilder() : null; } else { attachedClustersBuilder_.addAllMessages(other.attachedClusters_); } @@ -574,33 +526,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.gkemulticloud.v1.AttachedCluster m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AttachedCluster.parser(), - extensionRegistry); - if (attachedClustersBuilder_ == null) { - ensureAttachedClustersIsMutable(); - attachedClusters_.add(m); - } else { - attachedClustersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.gkemulticloud.v1.AttachedCluster m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AttachedCluster.parser(), + extensionRegistry); + if (attachedClustersBuilder_ == null) { + ensureAttachedClustersIsMutable(); + attachedClusters_.add(m); + } else { + attachedClustersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -610,30 +559,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List attachedClusters_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAttachedClustersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - attachedClusters_ = - new java.util.ArrayList( - attachedClusters_); + attachedClusters_ = new java.util.ArrayList(attachedClusters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedCluster, - com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder, - com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder> - attachedClustersBuilder_; + com.google.cloud.gkemulticloud.v1.AttachedCluster, com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder> attachedClustersBuilder_; /** - * - * *
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -641,8 +581,7 @@ private void ensureAttachedClustersIsMutable() {
      *
      * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
      */
-    public java.util.List
-        getAttachedClustersList() {
+    public java.util.List getAttachedClustersList() {
       if (attachedClustersBuilder_ == null) {
         return java.util.Collections.unmodifiableList(attachedClusters_);
       } else {
@@ -650,8 +589,6 @@ private void ensureAttachedClustersIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -667,8 +604,6 @@ public int getAttachedClustersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -684,8 +619,6 @@ public com.google.cloud.gkemulticloud.v1.AttachedCluster getAttachedClusters(int
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -708,8 +641,6 @@ public Builder setAttachedClusters(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -729,8 +660,6 @@ public Builder setAttachedClusters(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -752,8 +681,6 @@ public Builder addAttachedClusters(com.google.cloud.gkemulticloud.v1.AttachedClu
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -776,8 +703,6 @@ public Builder addAttachedClusters(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -797,8 +722,6 @@ public Builder addAttachedClusters(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -818,8 +741,6 @@ public Builder addAttachedClusters(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -831,7 +752,8 @@ public Builder addAllAttachedClusters(
         java.lang.Iterable values) {
       if (attachedClustersBuilder_ == null) {
         ensureAttachedClustersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, attachedClusters_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, attachedClusters_);
         onChanged();
       } else {
         attachedClustersBuilder_.addAllMessages(values);
@@ -839,8 +761,6 @@ public Builder addAllAttachedClusters(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -859,8 +779,6 @@ public Builder clearAttachedClusters() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -879,8 +797,6 @@ public Builder removeAttachedClusters(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -893,8 +809,6 @@ public com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder getAttachedClus
       return getAttachedClustersFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -905,14 +819,11 @@ public com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder getAttachedClus
     public com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder getAttachedClustersOrBuilder(
         int index) {
       if (attachedClustersBuilder_ == null) {
-        return attachedClusters_.get(index);
-      } else {
+        return attachedClusters_.get(index);  } else {
         return attachedClustersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -920,8 +831,8 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder getAttachedClu
      *
      * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
      */
-    public java.util.List
-        getAttachedClustersOrBuilderList() {
+    public java.util.List 
+         getAttachedClustersOrBuilderList() {
       if (attachedClustersBuilder_ != null) {
         return attachedClustersBuilder_.getMessageOrBuilderList();
       } else {
@@ -929,8 +840,6 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder getAttachedClu
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -939,12 +848,10 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder getAttachedClu
      * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
      */
     public com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder addAttachedClustersBuilder() {
-      return getAttachedClustersFieldBuilder()
-          .addBuilder(com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance());
+      return getAttachedClustersFieldBuilder().addBuilder(
+          com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -954,13 +861,10 @@ public com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder addAttachedClus
      */
     public com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder addAttachedClustersBuilder(
         int index) {
-      return getAttachedClustersFieldBuilder()
-          .addBuilder(
-              index, com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance());
+      return getAttachedClustersFieldBuilder().addBuilder(
+          index, com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -968,22 +872,16 @@ public com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder addAttachedClus
      *
      * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
      */
-    public java.util.List
-        getAttachedClustersBuilderList() {
+    public java.util.List 
+         getAttachedClustersBuilderList() {
       return getAttachedClustersFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.gkemulticloud.v1.AttachedCluster,
-            com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder,
-            com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder>
+        com.google.cloud.gkemulticloud.v1.AttachedCluster, com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder> 
         getAttachedClustersFieldBuilder() {
       if (attachedClustersBuilder_ == null) {
-        attachedClustersBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.gkemulticloud.v1.AttachedCluster,
-                com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder,
-                com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder>(
+        attachedClustersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.gkemulticloud.v1.AttachedCluster, com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder>(
                 attachedClusters_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -995,21 +893,19 @@ public com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder addAttachedClus
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1018,22 +914,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1041,37 +936,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1081,31 +969,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1115,43 +999,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.ListAttachedClustersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.ListAttachedClustersResponse) - private static final com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse(); } - public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse - getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAttachedClustersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAttachedClustersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1163,8 +1045,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse - getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponseOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponseOrBuilder.java similarity index 76% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponseOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponseOrBuilder.java index 128508cea512..d164e4380d1e 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponseOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponseOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; -public interface ListAttachedClustersResponseOrBuilder - extends +public interface ListAttachedClustersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.ListAttachedClustersResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -33,10 +15,9 @@ public interface ListAttachedClustersResponseOrBuilder
    *
    * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
    */
-  java.util.List getAttachedClustersList();
+  java.util.List 
+      getAttachedClustersList();
   /**
-   *
-   *
    * 
    * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -46,8 +27,6 @@ public interface ListAttachedClustersResponseOrBuilder
    */
   com.google.cloud.gkemulticloud.v1.AttachedCluster getAttachedClusters(int index);
   /**
-   *
-   *
    * 
    * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -57,8 +36,6 @@ public interface ListAttachedClustersResponseOrBuilder
    */
   int getAttachedClustersCount();
   /**
-   *
-   *
    * 
    * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -66,11 +43,9 @@ public interface ListAttachedClustersResponseOrBuilder
    *
    * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
    */
-  java.util.List
+  java.util.List 
       getAttachedClustersOrBuilderList();
   /**
-   *
-   *
    * 
    * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -82,29 +57,24 @@ com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder getAttachedClustersOr
       int index);
 
   /**
-   *
-   *
    * 
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequest.java similarity index 70% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequest.java index 3e02b00366b3..e73684f0f806 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Request message for `AwsClusters.ListAwsClusters` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAwsClustersRequest} */ -public final class ListAwsClustersRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAwsClustersRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.ListAwsClustersRequest) ListAwsClustersRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAwsClustersRequest.newBuilder() to construct. private ListAwsClustersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAwsClustersRequest() { parent_ = ""; pageToken_ = ""; @@ -44,32 +26,28 @@ private ListAwsClustersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAwsClustersRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest.class, - com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest.class, com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The parent location which owns this collection of
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.
@@ -80,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -92,15 +67,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent location which owns this collection of
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.
@@ -111,18 +85,17 @@ public java.lang.String getParent() {
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -133,8 +106,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * The maximum number of items to return.
    *
@@ -146,7 +117,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -155,12 +125,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * The `nextPageToken` value returned from a previous
    * [awsClusters.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters]
@@ -168,7 +135,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -177,15 +143,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The `nextPageToken` value returned from a previous
    * [awsClusters.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters]
@@ -193,15 +158,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -210,7 +176,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -222,7 +187,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -245,7 +211,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -258,17 +225,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest other = - (com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest) obj; + com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest other = (com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -292,136 +261,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `AwsClusters.ListAwsClusters` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAwsClustersRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.ListAwsClustersRequest) com.google.cloud.gkemulticloud.v1.ListAwsClustersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest.class, - com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest.class, com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -433,9 +397,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_descriptor; } @java.lang.Override @@ -454,11 +418,8 @@ public com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest result = - new com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest result = new com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -480,39 +441,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.ListAwsClustersRequ public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest)other); } else { super.mergeFrom(other); return this; @@ -520,8 +480,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -561,31 +520,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -595,13 +550,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent location which owns this collection of
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.
@@ -612,16 +564,14 @@ public Builder mergeFrom(
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -630,8 +580,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent location which owns this collection of
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.
@@ -642,17 +590,16 @@ public java.lang.String getParent() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -660,8 +607,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent location which owns this collection of
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.
@@ -672,25 +617,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent location which owns this collection of
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.
@@ -701,10 +640,7 @@ public Builder setParent(java.lang.String value) {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -714,8 +650,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent location which owns this collection of
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.
@@ -726,17 +660,13 @@ public Builder clearParent() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -744,10 +674,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return.
      *
@@ -759,7 +687,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -767,8 +694,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return.
      *
@@ -780,7 +705,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -792,8 +716,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * The maximum number of items to return.
      *
@@ -805,7 +727,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -817,8 +738,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [awsClusters.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters]
@@ -826,13 +745,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -841,8 +760,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [awsClusters.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters]
@@ -850,14 +767,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -865,8 +783,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [awsClusters.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters]
@@ -874,22 +790,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [awsClusters.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters]
@@ -897,7 +809,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -907,8 +818,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [awsClusters.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters]
@@ -916,23 +825,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -942,12 +849,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.ListAwsClustersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.ListAwsClustersRequest) private static final com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest(); } @@ -956,27 +863,27 @@ public static com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAwsClustersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAwsClustersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -991,4 +898,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequestOrBuilder.java similarity index 68% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequestOrBuilder.java index 946df9e6d1ae..8843677e084c 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface ListAwsClustersRequestOrBuilder - extends +public interface ListAwsClustersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.ListAwsClustersRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent location which owns this collection of
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.
@@ -36,16 +18,11 @@ public interface ListAwsClustersRequestOrBuilder
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent location which owns this collection of
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.
@@ -56,17 +33,13 @@ public interface ListAwsClustersRequestOrBuilder
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of items to return.
    *
@@ -78,14 +51,11 @@ public interface ListAwsClustersRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The `nextPageToken` value returned from a previous
    * [awsClusters.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters]
@@ -93,13 +63,10 @@ public interface ListAwsClustersRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The `nextPageToken` value returned from a previous
    * [awsClusters.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters]
@@ -107,8 +74,8 @@ public interface ListAwsClustersRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponse.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponse.java similarity index 73% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponse.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponse.java index 30c82e4906a9..68ee267ba335 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponse.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Response message for `AwsClusters.ListAwsClusters` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAwsClustersResponse} */ -public final class ListAwsClustersResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAwsClustersResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.ListAwsClustersResponse) ListAwsClustersResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAwsClustersResponse.newBuilder() to construct. private ListAwsClustersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAwsClustersResponse() { awsClusters_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,32 +26,28 @@ private ListAwsClustersResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAwsClustersResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse.class, - com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse.class, com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse.Builder.class); } public static final int AWS_CLUSTERS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List awsClusters_; /** - * - * *
    * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
    * in the specified Google Cloud Platform project and region region.
@@ -82,8 +60,6 @@ public java.util.List getAwsCluste
     return awsClusters_;
   }
   /**
-   *
-   *
    * 
    * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
    * in the specified Google Cloud Platform project and region region.
@@ -92,13 +68,11 @@ public java.util.List getAwsCluste
    * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getAwsClustersOrBuilderList() {
     return awsClusters_;
   }
   /**
-   *
-   *
    * 
    * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
    * in the specified Google Cloud Platform project and region region.
@@ -111,8 +85,6 @@ public int getAwsClustersCount() {
     return awsClusters_.size();
   }
   /**
-   *
-   *
    * 
    * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
    * in the specified Google Cloud Platform project and region region.
@@ -125,8 +97,6 @@ public com.google.cloud.gkemulticloud.v1.AwsCluster getAwsClusters(int index) {
     return awsClusters_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
    * in the specified Google Cloud Platform project and region region.
@@ -135,24 +105,21 @@ public com.google.cloud.gkemulticloud.v1.AwsCluster getAwsClusters(int index) {
    * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
    */
   @java.lang.Override
-  public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClustersOrBuilder(int index) {
+  public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClustersOrBuilder(
+      int index) {
     return awsClusters_.get(index);
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object nextPageToken_ = "";
   /**
-   *
-   *
    * 
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -161,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -193,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < awsClusters_.size(); i++) { output.writeMessage(1, awsClusters_.get(i)); } @@ -222,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < awsClusters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, awsClusters_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, awsClusters_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -235,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse other = - (com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse) obj; + com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse other = (com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse) obj; - if (!getAwsClustersList().equals(other.getAwsClustersList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getAwsClustersList() + .equals(other.getAwsClustersList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -268,136 +237,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for `AwsClusters.ListAwsClusters` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAwsClustersResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.ListAwsClustersResponse) com.google.cloud.gkemulticloud.v1.ListAwsClustersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse.class, - com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse.class, com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -414,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_descriptor; } @java.lang.Override @@ -435,18 +399,14 @@ public com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse buildPartial() { - com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse result = - new com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse(this); + com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse result = new com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse result) { if (awsClustersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { awsClusters_ = java.util.Collections.unmodifiableList(awsClusters_); @@ -469,39 +429,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.ListAwsClustersResp public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse)other); } else { super.mergeFrom(other); return this; @@ -509,8 +468,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse other) { - if (other == com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse.getDefaultInstance()) return this; if (awsClustersBuilder_ == null) { if (!other.awsClusters_.isEmpty()) { if (awsClusters_.isEmpty()) { @@ -529,10 +487,9 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAwsClustersRespon awsClustersBuilder_ = null; awsClusters_ = other.awsClusters_; bitField0_ = (bitField0_ & ~0x00000001); - awsClustersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAwsClustersFieldBuilder() - : null; + awsClustersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAwsClustersFieldBuilder() : null; } else { awsClustersBuilder_.addAllMessages(other.awsClusters_); } @@ -569,32 +526,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.gkemulticloud.v1.AwsCluster m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsCluster.parser(), extensionRegistry); - if (awsClustersBuilder_ == null) { - ensureAwsClustersIsMutable(); - awsClusters_.add(m); - } else { - awsClustersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.gkemulticloud.v1.AwsCluster m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsCluster.parser(), + extensionRegistry); + if (awsClustersBuilder_ == null) { + ensureAwsClustersIsMutable(); + awsClusters_.add(m); + } else { + awsClustersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -604,29 +559,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List awsClusters_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAwsClustersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - awsClusters_ = - new java.util.ArrayList(awsClusters_); + awsClusters_ = new java.util.ArrayList(awsClusters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsCluster, - com.google.cloud.gkemulticloud.v1.AwsCluster.Builder, - com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder> - awsClustersBuilder_; + com.google.cloud.gkemulticloud.v1.AwsCluster, com.google.cloud.gkemulticloud.v1.AwsCluster.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder> awsClustersBuilder_; /** - * - * *
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -642,8 +589,6 @@ public java.util.List getAwsCluste
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -659,8 +604,6 @@ public int getAwsClustersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -676,8 +619,6 @@ public com.google.cloud.gkemulticloud.v1.AwsCluster getAwsClusters(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -685,7 +626,8 @@ public com.google.cloud.gkemulticloud.v1.AwsCluster getAwsClusters(int index) {
      *
      * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
      */
-    public Builder setAwsClusters(int index, com.google.cloud.gkemulticloud.v1.AwsCluster value) {
+    public Builder setAwsClusters(
+        int index, com.google.cloud.gkemulticloud.v1.AwsCluster value) {
       if (awsClustersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -699,8 +641,6 @@ public Builder setAwsClusters(int index, com.google.cloud.gkemulticloud.v1.AwsCl
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -720,8 +660,6 @@ public Builder setAwsClusters(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -743,8 +681,6 @@ public Builder addAwsClusters(com.google.cloud.gkemulticloud.v1.AwsCluster value
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -752,7 +688,8 @@ public Builder addAwsClusters(com.google.cloud.gkemulticloud.v1.AwsCluster value
      *
      * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
      */
-    public Builder addAwsClusters(int index, com.google.cloud.gkemulticloud.v1.AwsCluster value) {
+    public Builder addAwsClusters(
+        int index, com.google.cloud.gkemulticloud.v1.AwsCluster value) {
       if (awsClustersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -766,8 +703,6 @@ public Builder addAwsClusters(int index, com.google.cloud.gkemulticloud.v1.AwsCl
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -787,8 +722,6 @@ public Builder addAwsClusters(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -808,8 +741,6 @@ public Builder addAwsClusters(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -821,7 +752,8 @@ public Builder addAllAwsClusters(
         java.lang.Iterable values) {
       if (awsClustersBuilder_ == null) {
         ensureAwsClustersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, awsClusters_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, awsClusters_);
         onChanged();
       } else {
         awsClustersBuilder_.addAllMessages(values);
@@ -829,8 +761,6 @@ public Builder addAllAwsClusters(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -849,8 +779,6 @@ public Builder clearAwsClusters() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -869,8 +797,6 @@ public Builder removeAwsClusters(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -878,12 +804,11 @@ public Builder removeAwsClusters(int index) {
      *
      * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
      */
-    public com.google.cloud.gkemulticloud.v1.AwsCluster.Builder getAwsClustersBuilder(int index) {
+    public com.google.cloud.gkemulticloud.v1.AwsCluster.Builder getAwsClustersBuilder(
+        int index) {
       return getAwsClustersFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -894,14 +819,11 @@ public com.google.cloud.gkemulticloud.v1.AwsCluster.Builder getAwsClustersBuilde
     public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClustersOrBuilder(
         int index) {
       if (awsClustersBuilder_ == null) {
-        return awsClusters_.get(index);
-      } else {
+        return awsClusters_.get(index);  } else {
         return awsClustersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -909,8 +831,8 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClustersOrBui
      *
      * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
      */
-    public java.util.List
-        getAwsClustersOrBuilderList() {
+    public java.util.List 
+         getAwsClustersOrBuilderList() {
       if (awsClustersBuilder_ != null) {
         return awsClustersBuilder_.getMessageOrBuilderList();
       } else {
@@ -918,8 +840,6 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClustersOrBui
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -928,12 +848,10 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClustersOrBui
      * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
      */
     public com.google.cloud.gkemulticloud.v1.AwsCluster.Builder addAwsClustersBuilder() {
-      return getAwsClustersFieldBuilder()
-          .addBuilder(com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance());
+      return getAwsClustersFieldBuilder().addBuilder(
+          com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -941,13 +859,12 @@ public com.google.cloud.gkemulticloud.v1.AwsCluster.Builder addAwsClustersBuilde
      *
      * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
      */
-    public com.google.cloud.gkemulticloud.v1.AwsCluster.Builder addAwsClustersBuilder(int index) {
-      return getAwsClustersFieldBuilder()
-          .addBuilder(index, com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance());
+    public com.google.cloud.gkemulticloud.v1.AwsCluster.Builder addAwsClustersBuilder(
+        int index) {
+      return getAwsClustersFieldBuilder().addBuilder(
+          index, com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -955,23 +872,20 @@ public com.google.cloud.gkemulticloud.v1.AwsCluster.Builder addAwsClustersBuilde
      *
      * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
      */
-    public java.util.List
-        getAwsClustersBuilderList() {
+    public java.util.List 
+         getAwsClustersBuilderList() {
       return getAwsClustersFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.gkemulticloud.v1.AwsCluster,
-            com.google.cloud.gkemulticloud.v1.AwsCluster.Builder,
-            com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder>
+        com.google.cloud.gkemulticloud.v1.AwsCluster, com.google.cloud.gkemulticloud.v1.AwsCluster.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder> 
         getAwsClustersFieldBuilder() {
       if (awsClustersBuilder_ == null) {
-        awsClustersBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.gkemulticloud.v1.AwsCluster,
-                com.google.cloud.gkemulticloud.v1.AwsCluster.Builder,
-                com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder>(
-                awsClusters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        awsClustersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.gkemulticloud.v1.AwsCluster, com.google.cloud.gkemulticloud.v1.AwsCluster.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder>(
+                awsClusters_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         awsClusters_ = null;
       }
       return awsClustersBuilder_;
@@ -979,21 +893,19 @@ public com.google.cloud.gkemulticloud.v1.AwsCluster.Builder addAwsClustersBuilde
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1002,22 +914,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1025,37 +936,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1065,31 +969,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1099,12 +999,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.ListAwsClustersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.ListAwsClustersResponse) private static final com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse(); } @@ -1113,27 +1013,27 @@ public static com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAwsClustersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAwsClustersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1148,4 +1048,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponseOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponseOrBuilder.java similarity index 72% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponseOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponseOrBuilder.java index 066448b6c4f4..41ab913cdad5 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponseOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponseOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface ListAwsClustersResponseOrBuilder - extends +public interface ListAwsClustersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.ListAwsClustersResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
    * in the specified Google Cloud Platform project and region region.
@@ -33,10 +15,9 @@ public interface ListAwsClustersResponseOrBuilder
    *
    * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
    */
-  java.util.List getAwsClustersList();
+  java.util.List 
+      getAwsClustersList();
   /**
-   *
-   *
    * 
    * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
    * in the specified Google Cloud Platform project and region region.
@@ -46,8 +27,6 @@ public interface ListAwsClustersResponseOrBuilder
    */
   com.google.cloud.gkemulticloud.v1.AwsCluster getAwsClusters(int index);
   /**
-   *
-   *
    * 
    * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
    * in the specified Google Cloud Platform project and region region.
@@ -57,8 +36,6 @@ public interface ListAwsClustersResponseOrBuilder
    */
   int getAwsClustersCount();
   /**
-   *
-   *
    * 
    * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
    * in the specified Google Cloud Platform project and region region.
@@ -66,11 +43,9 @@ public interface ListAwsClustersResponseOrBuilder
    *
    * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
    */
-  java.util.List
+  java.util.List 
       getAwsClustersOrBuilderList();
   /**
-   *
-   *
    * 
    * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
    * in the specified Google Cloud Platform project and region region.
@@ -78,32 +53,28 @@ public interface ListAwsClustersResponseOrBuilder
    *
    * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
    */
-  com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClustersOrBuilder(int index);
+  com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClustersOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequest.java similarity index 70% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequest.java index 5ceb935df944..d3a1c18b79fe 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Request message for `AwsClusters.ListAwsNodePools` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest} */ -public final class ListAwsNodePoolsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAwsNodePoolsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest) ListAwsNodePoolsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAwsNodePoolsRequest.newBuilder() to construct. private ListAwsNodePoolsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAwsNodePoolsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,32 +26,28 @@ private ListAwsNodePoolsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAwsNodePoolsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest.class, - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest.class, com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The parent `AwsCluster` which owns this collection of
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
@@ -81,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -93,15 +68,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent `AwsCluster` which owns this collection of
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
@@ -113,18 +87,17 @@ public java.lang.String getParent() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -135,8 +108,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * The maximum number of items to return.
    *
@@ -148,7 +119,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -157,12 +127,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * The `nextPageToken` value returned from a previous
    * [awsNodePools.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools]
@@ -170,7 +137,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -179,15 +145,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The `nextPageToken` value returned from a previous
    * [awsNodePools.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools]
@@ -195,15 +160,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -212,7 +178,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,7 +189,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -247,7 +213,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -260,17 +227,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest other = - (com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest) obj; + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest other = (com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -294,136 +263,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `AwsClusters.ListAwsNodePools` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest) com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest.class, - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest.class, com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +399,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_descriptor; } @java.lang.Override @@ -456,11 +420,8 @@ public com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest result = - new com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest result = new com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -482,39 +443,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsReq public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest)other); } else { super.mergeFrom(other); return this; @@ -522,8 +482,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -563,31 +522,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -597,13 +552,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent `AwsCluster` which owns this collection of
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
@@ -615,16 +567,14 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -633,8 +583,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent `AwsCluster` which owns this collection of
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
@@ -646,17 +594,16 @@ public java.lang.String getParent() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -664,8 +611,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent `AwsCluster` which owns this collection of
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
@@ -677,25 +622,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent `AwsCluster` which owns this collection of
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
@@ -707,10 +646,7 @@ public Builder setParent(java.lang.String value) {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -720,8 +656,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent `AwsCluster` which owns this collection of
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
@@ -733,17 +667,13 @@ public Builder clearParent() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -751,10 +681,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return.
      *
@@ -766,7 +694,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -774,8 +701,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return.
      *
@@ -787,7 +712,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -799,8 +723,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * The maximum number of items to return.
      *
@@ -812,7 +734,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -824,8 +745,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [awsNodePools.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools]
@@ -833,13 +752,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -848,8 +767,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [awsNodePools.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools]
@@ -857,14 +774,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -872,8 +790,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [awsNodePools.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools]
@@ -881,22 +797,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [awsNodePools.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools]
@@ -904,7 +816,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -914,8 +825,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [awsNodePools.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools]
@@ -923,23 +832,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -949,12 +856,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest) private static final com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest(); } @@ -963,27 +870,27 @@ public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAwsNodePoolsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAwsNodePoolsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -998,4 +905,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequestOrBuilder.java similarity index 68% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequestOrBuilder.java index 6b1ec193e108..f1322586e1a1 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface ListAwsNodePoolsRequestOrBuilder - extends +public interface ListAwsNodePoolsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent `AwsCluster` which owns this collection of
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
@@ -37,16 +19,11 @@ public interface ListAwsNodePoolsRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent `AwsCluster` which owns this collection of
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
@@ -58,17 +35,13 @@ public interface ListAwsNodePoolsRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of items to return.
    *
@@ -80,14 +53,11 @@ public interface ListAwsNodePoolsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The `nextPageToken` value returned from a previous
    * [awsNodePools.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools]
@@ -95,13 +65,10 @@ public interface ListAwsNodePoolsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The `nextPageToken` value returned from a previous
    * [awsNodePools.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools]
@@ -109,8 +76,8 @@ public interface ListAwsNodePoolsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponse.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponse.java similarity index 73% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponse.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponse.java index c6274a142630..246bf8ea641c 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponse.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Response message for `AwsClusters.ListAwsNodePools` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse} */ -public final class ListAwsNodePoolsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAwsNodePoolsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse) ListAwsNodePoolsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAwsNodePoolsResponse.newBuilder() to construct. private ListAwsNodePoolsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAwsNodePoolsResponse() { awsNodePools_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,32 +26,28 @@ private ListAwsNodePoolsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAwsNodePoolsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse.class, - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse.class, com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse.Builder.class); } public static final int AWS_NODE_POOLS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List awsNodePools_; /** - * - * *
    * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
    * resources in the specified `AwsCluster`.
@@ -82,8 +60,6 @@ public java.util.List getAwsNodeP
     return awsNodePools_;
   }
   /**
-   *
-   *
    * 
    * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
    * resources in the specified `AwsCluster`.
@@ -92,13 +68,11 @@ public java.util.List getAwsNodeP
    * repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getAwsNodePoolsOrBuilderList() {
     return awsNodePools_;
   }
   /**
-   *
-   *
    * 
    * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
    * resources in the specified `AwsCluster`.
@@ -111,8 +85,6 @@ public int getAwsNodePoolsCount() {
     return awsNodePools_.size();
   }
   /**
-   *
-   *
    * 
    * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
    * resources in the specified `AwsCluster`.
@@ -125,8 +97,6 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePool getAwsNodePools(int index)
     return awsNodePools_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
    * resources in the specified `AwsCluster`.
@@ -141,19 +111,15 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolsOrB
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object nextPageToken_ = "";
   /**
-   *
-   *
    * 
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -162,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -194,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < awsNodePools_.size(); i++) { output.writeMessage(1, awsNodePools_.get(i)); } @@ -223,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < awsNodePools_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, awsNodePools_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, awsNodePools_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -236,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse other = - (com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse) obj; + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse other = (com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse) obj; - if (!getAwsNodePoolsList().equals(other.getAwsNodePoolsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getAwsNodePoolsList() + .equals(other.getAwsNodePoolsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -269,136 +237,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for `AwsClusters.ListAwsNodePools` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse) com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse.class, - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse.class, com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -415,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_descriptor; } @java.lang.Override @@ -436,18 +399,14 @@ public com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse buildPartial() { - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse result = - new com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse(this); + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse result = new com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse result) { if (awsNodePoolsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { awsNodePools_ = java.util.Collections.unmodifiableList(awsNodePools_); @@ -470,39 +429,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRes public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse)other); } else { super.mergeFrom(other); return this; @@ -510,8 +468,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse other) { - if (other == com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse.getDefaultInstance()) return this; if (awsNodePoolsBuilder_ == null) { if (!other.awsNodePools_.isEmpty()) { if (awsNodePools_.isEmpty()) { @@ -530,10 +487,9 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRespo awsNodePoolsBuilder_ = null; awsNodePools_ = other.awsNodePools_; bitField0_ = (bitField0_ & ~0x00000001); - awsNodePoolsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAwsNodePoolsFieldBuilder() - : null; + awsNodePoolsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAwsNodePoolsFieldBuilder() : null; } else { awsNodePoolsBuilder_.addAllMessages(other.awsNodePools_); } @@ -570,32 +526,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.gkemulticloud.v1.AwsNodePool m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsNodePool.parser(), extensionRegistry); - if (awsNodePoolsBuilder_ == null) { - ensureAwsNodePoolsIsMutable(); - awsNodePools_.add(m); - } else { - awsNodePoolsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.gkemulticloud.v1.AwsNodePool m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsNodePool.parser(), + extensionRegistry); + if (awsNodePoolsBuilder_ == null) { + ensureAwsNodePoolsIsMutable(); + awsNodePools_.add(m); + } else { + awsNodePoolsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -605,29 +559,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List awsNodePools_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAwsNodePoolsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - awsNodePools_ = - new java.util.ArrayList(awsNodePools_); + awsNodePools_ = new java.util.ArrayList(awsNodePools_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodePool, - com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder, - com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder> - awsNodePoolsBuilder_; + com.google.cloud.gkemulticloud.v1.AwsNodePool, com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder, com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder> awsNodePoolsBuilder_; /** - * - * *
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -643,8 +589,6 @@ public java.util.List getAwsNodeP
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -660,8 +604,6 @@ public int getAwsNodePoolsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -677,8 +619,6 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePool getAwsNodePools(int index)
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -686,7 +626,8 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePool getAwsNodePools(int index)
      *
      * repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;
      */
-    public Builder setAwsNodePools(int index, com.google.cloud.gkemulticloud.v1.AwsNodePool value) {
+    public Builder setAwsNodePools(
+        int index, com.google.cloud.gkemulticloud.v1.AwsNodePool value) {
       if (awsNodePoolsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -700,8 +641,6 @@ public Builder setAwsNodePools(int index, com.google.cloud.gkemulticloud.v1.AwsN
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -721,8 +660,6 @@ public Builder setAwsNodePools(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -744,8 +681,6 @@ public Builder addAwsNodePools(com.google.cloud.gkemulticloud.v1.AwsNodePool val
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -753,7 +688,8 @@ public Builder addAwsNodePools(com.google.cloud.gkemulticloud.v1.AwsNodePool val
      *
      * repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;
      */
-    public Builder addAwsNodePools(int index, com.google.cloud.gkemulticloud.v1.AwsNodePool value) {
+    public Builder addAwsNodePools(
+        int index, com.google.cloud.gkemulticloud.v1.AwsNodePool value) {
       if (awsNodePoolsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -767,8 +703,6 @@ public Builder addAwsNodePools(int index, com.google.cloud.gkemulticloud.v1.AwsN
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -788,8 +722,6 @@ public Builder addAwsNodePools(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -809,8 +741,6 @@ public Builder addAwsNodePools(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -822,7 +752,8 @@ public Builder addAllAwsNodePools(
         java.lang.Iterable values) {
       if (awsNodePoolsBuilder_ == null) {
         ensureAwsNodePoolsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, awsNodePools_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, awsNodePools_);
         onChanged();
       } else {
         awsNodePoolsBuilder_.addAllMessages(values);
@@ -830,8 +761,6 @@ public Builder addAllAwsNodePools(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -850,8 +779,6 @@ public Builder clearAwsNodePools() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -870,8 +797,6 @@ public Builder removeAwsNodePools(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -879,12 +804,11 @@ public Builder removeAwsNodePools(int index) {
      *
      * repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;
      */
-    public com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder getAwsNodePoolsBuilder(int index) {
+    public com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder getAwsNodePoolsBuilder(
+        int index) {
       return getAwsNodePoolsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -895,14 +819,11 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder getAwsNodePoolsBuil
     public com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolsOrBuilder(
         int index) {
       if (awsNodePoolsBuilder_ == null) {
-        return awsNodePools_.get(index);
-      } else {
+        return awsNodePools_.get(index);  } else {
         return awsNodePoolsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -910,8 +831,8 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolsOrB
      *
      * repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;
      */
-    public java.util.List
-        getAwsNodePoolsOrBuilderList() {
+    public java.util.List 
+         getAwsNodePoolsOrBuilderList() {
       if (awsNodePoolsBuilder_ != null) {
         return awsNodePoolsBuilder_.getMessageOrBuilderList();
       } else {
@@ -919,8 +840,6 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolsOrB
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -929,12 +848,10 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolsOrB
      * repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;
      */
     public com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder addAwsNodePoolsBuilder() {
-      return getAwsNodePoolsFieldBuilder()
-          .addBuilder(com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance());
+      return getAwsNodePoolsFieldBuilder().addBuilder(
+          com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -942,13 +859,12 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder addAwsNodePoolsBuil
      *
      * repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;
      */
-    public com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder addAwsNodePoolsBuilder(int index) {
-      return getAwsNodePoolsFieldBuilder()
-          .addBuilder(index, com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance());
+    public com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder addAwsNodePoolsBuilder(
+        int index) {
+      return getAwsNodePoolsFieldBuilder().addBuilder(
+          index, com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -956,23 +872,20 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder addAwsNodePoolsBuil
      *
      * repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;
      */
-    public java.util.List
-        getAwsNodePoolsBuilderList() {
+    public java.util.List 
+         getAwsNodePoolsBuilderList() {
       return getAwsNodePoolsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.gkemulticloud.v1.AwsNodePool,
-            com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder,
-            com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder>
+        com.google.cloud.gkemulticloud.v1.AwsNodePool, com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder, com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder> 
         getAwsNodePoolsFieldBuilder() {
       if (awsNodePoolsBuilder_ == null) {
-        awsNodePoolsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.gkemulticloud.v1.AwsNodePool,
-                com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder,
-                com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder>(
-                awsNodePools_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        awsNodePoolsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.gkemulticloud.v1.AwsNodePool, com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder, com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder>(
+                awsNodePools_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         awsNodePools_ = null;
       }
       return awsNodePoolsBuilder_;
@@ -980,21 +893,19 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder addAwsNodePoolsBuil
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1003,22 +914,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1026,37 +936,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1066,31 +969,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1100,12 +999,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse) private static final com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse(); } @@ -1114,27 +1013,27 @@ public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAwsNodePoolsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAwsNodePoolsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1149,4 +1048,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponseOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponseOrBuilder.java similarity index 73% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponseOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponseOrBuilder.java index 853c73c94101..17c4bd1a5618 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponseOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponseOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface ListAwsNodePoolsResponseOrBuilder - extends +public interface ListAwsNodePoolsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
    * resources in the specified `AwsCluster`.
@@ -33,10 +15,9 @@ public interface ListAwsNodePoolsResponseOrBuilder
    *
    * repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;
    */
-  java.util.List getAwsNodePoolsList();
+  java.util.List 
+      getAwsNodePoolsList();
   /**
-   *
-   *
    * 
    * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
    * resources in the specified `AwsCluster`.
@@ -46,8 +27,6 @@ public interface ListAwsNodePoolsResponseOrBuilder
    */
   com.google.cloud.gkemulticloud.v1.AwsNodePool getAwsNodePools(int index);
   /**
-   *
-   *
    * 
    * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
    * resources in the specified `AwsCluster`.
@@ -57,8 +36,6 @@ public interface ListAwsNodePoolsResponseOrBuilder
    */
   int getAwsNodePoolsCount();
   /**
-   *
-   *
    * 
    * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
    * resources in the specified `AwsCluster`.
@@ -66,11 +43,9 @@ public interface ListAwsNodePoolsResponseOrBuilder
    *
    * repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;
    */
-  java.util.List
+  java.util.List 
       getAwsNodePoolsOrBuilderList();
   /**
-   *
-   *
    * 
    * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
    * resources in the specified `AwsCluster`.
@@ -78,32 +53,28 @@ public interface ListAwsNodePoolsResponseOrBuilder
    *
    * repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;
    */
-  com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolsOrBuilder(int index);
+  com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequest.java similarity index 70% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequest.java index 5364da879f06..fca5d68a17a0 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Request message for `AzureClusters.ListAzureClients` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAzureClientsRequest} */ -public final class ListAzureClientsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAzureClientsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.ListAzureClientsRequest) ListAzureClientsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAzureClientsRequest.newBuilder() to construct. private ListAzureClientsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAzureClientsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,32 +26,28 @@ private ListAzureClientsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAzureClientsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest.class, - com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest.class, com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The parent location which owns this collection of
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.
@@ -80,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -92,15 +67,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent location which owns this collection of
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.
@@ -111,18 +85,17 @@ public java.lang.String getParent() {
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -133,8 +106,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * The maximum number of items to return.
    *
@@ -146,7 +117,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -155,12 +125,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * The `nextPageToken` value returned from a previous
    * [azureClients.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients]
@@ -168,7 +135,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -177,15 +143,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The `nextPageToken` value returned from a previous
    * [azureClients.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients]
@@ -193,15 +158,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -210,7 +176,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -222,7 +187,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -245,7 +211,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -258,17 +225,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest other = - (com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest) obj; + com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest other = (com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -292,136 +261,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `AzureClusters.ListAzureClients` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAzureClientsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.ListAzureClientsRequest) com.google.cloud.gkemulticloud.v1.ListAzureClientsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest.class, - com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest.class, com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -433,9 +397,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_descriptor; } @java.lang.Override @@ -454,11 +418,8 @@ public com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest result = - new com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest result = new com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -480,39 +441,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.ListAzureClientsReq public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest)other); } else { super.mergeFrom(other); return this; @@ -520,8 +480,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -561,31 +520,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -595,13 +550,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent location which owns this collection of
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.
@@ -612,16 +564,14 @@ public Builder mergeFrom(
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -630,8 +580,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent location which owns this collection of
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.
@@ -642,17 +590,16 @@ public java.lang.String getParent() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -660,8 +607,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent location which owns this collection of
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.
@@ -672,25 +617,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent location which owns this collection of
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.
@@ -701,10 +640,7 @@ public Builder setParent(java.lang.String value) {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -714,8 +650,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent location which owns this collection of
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.
@@ -726,17 +660,13 @@ public Builder clearParent() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -744,10 +674,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return.
      *
@@ -759,7 +687,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -767,8 +694,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return.
      *
@@ -780,7 +705,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -792,8 +716,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * The maximum number of items to return.
      *
@@ -805,7 +727,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -817,8 +738,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [azureClients.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients]
@@ -826,13 +745,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -841,8 +760,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [azureClients.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients]
@@ -850,14 +767,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -865,8 +783,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [azureClients.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients]
@@ -874,22 +790,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [azureClients.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients]
@@ -897,7 +809,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -907,8 +818,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [azureClients.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients]
@@ -916,23 +825,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -942,12 +849,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.ListAzureClientsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.ListAzureClientsRequest) private static final com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest(); } @@ -956,27 +863,27 @@ public static com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAzureClientsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAzureClientsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -991,4 +898,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequestOrBuilder.java similarity index 68% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequestOrBuilder.java index be804021580f..6577eaa37520 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface ListAzureClientsRequestOrBuilder - extends +public interface ListAzureClientsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.ListAzureClientsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent location which owns this collection of
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.
@@ -36,16 +18,11 @@ public interface ListAzureClientsRequestOrBuilder
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent location which owns this collection of
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.
@@ -56,17 +33,13 @@ public interface ListAzureClientsRequestOrBuilder
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of items to return.
    *
@@ -78,14 +51,11 @@ public interface ListAzureClientsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The `nextPageToken` value returned from a previous
    * [azureClients.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients]
@@ -93,13 +63,10 @@ public interface ListAzureClientsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The `nextPageToken` value returned from a previous
    * [azureClients.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients]
@@ -107,8 +74,8 @@ public interface ListAzureClientsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponse.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponse.java similarity index 73% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponse.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponse.java index 594526d50d21..0d83b0181793 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponse.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Response message for `AzureClusters.ListAzureClients` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAzureClientsResponse} */ -public final class ListAzureClientsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAzureClientsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.ListAzureClientsResponse) ListAzureClientsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAzureClientsResponse.newBuilder() to construct. private ListAzureClientsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAzureClientsResponse() { azureClients_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,32 +26,28 @@ private ListAzureClientsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAzureClientsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse.class, - com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse.class, com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse.Builder.class); } public static final int AZURE_CLIENTS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List azureClients_; /** - * - * *
    * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
    * resources in the specified Google Cloud project and region region.
@@ -82,8 +60,6 @@ public java.util.List getAzureCli
     return azureClients_;
   }
   /**
-   *
-   *
    * 
    * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
    * resources in the specified Google Cloud project and region region.
@@ -92,13 +68,11 @@ public java.util.List getAzureCli
    * repeated .google.cloud.gkemulticloud.v1.AzureClient azure_clients = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getAzureClientsOrBuilderList() {
     return azureClients_;
   }
   /**
-   *
-   *
    * 
    * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
    * resources in the specified Google Cloud project and region region.
@@ -111,8 +85,6 @@ public int getAzureClientsCount() {
     return azureClients_.size();
   }
   /**
-   *
-   *
    * 
    * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
    * resources in the specified Google Cloud project and region region.
@@ -125,8 +97,6 @@ public com.google.cloud.gkemulticloud.v1.AzureClient getAzureClients(int index)
     return azureClients_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
    * resources in the specified Google Cloud project and region region.
@@ -141,19 +111,15 @@ public com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder getAzureClientsOrB
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object nextPageToken_ = "";
   /**
-   *
-   *
    * 
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -162,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -194,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < azureClients_.size(); i++) { output.writeMessage(1, azureClients_.get(i)); } @@ -223,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < azureClients_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, azureClients_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, azureClients_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -236,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse other = - (com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse) obj; + com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse other = (com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse) obj; - if (!getAzureClientsList().equals(other.getAzureClientsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getAzureClientsList() + .equals(other.getAzureClientsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -269,136 +237,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for `AzureClusters.ListAzureClients` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAzureClientsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.ListAzureClientsResponse) com.google.cloud.gkemulticloud.v1.ListAzureClientsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse.class, - com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse.class, com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -415,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_descriptor; } @java.lang.Override @@ -436,18 +399,14 @@ public com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse buildPartial() { - com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse result = - new com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse(this); + com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse result = new com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse result) { if (azureClientsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { azureClients_ = java.util.Collections.unmodifiableList(azureClients_); @@ -470,39 +429,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.ListAzureClientsRes public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse)other); } else { super.mergeFrom(other); return this; @@ -510,8 +468,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse other) { - if (other == com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse.getDefaultInstance()) return this; if (azureClientsBuilder_ == null) { if (!other.azureClients_.isEmpty()) { if (azureClients_.isEmpty()) { @@ -530,10 +487,9 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAzureClientsRespo azureClientsBuilder_ = null; azureClients_ = other.azureClients_; bitField0_ = (bitField0_ & ~0x00000001); - azureClientsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAzureClientsFieldBuilder() - : null; + azureClientsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAzureClientsFieldBuilder() : null; } else { azureClientsBuilder_.addAllMessages(other.azureClients_); } @@ -570,32 +526,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.gkemulticloud.v1.AzureClient m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureClient.parser(), extensionRegistry); - if (azureClientsBuilder_ == null) { - ensureAzureClientsIsMutable(); - azureClients_.add(m); - } else { - azureClientsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.gkemulticloud.v1.AzureClient m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureClient.parser(), + extensionRegistry); + if (azureClientsBuilder_ == null) { + ensureAzureClientsIsMutable(); + azureClients_.add(m); + } else { + azureClientsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -605,29 +559,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List azureClients_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAzureClientsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - azureClients_ = - new java.util.ArrayList(azureClients_); + azureClients_ = new java.util.ArrayList(azureClients_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClient, - com.google.cloud.gkemulticloud.v1.AzureClient.Builder, - com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder> - azureClientsBuilder_; + com.google.cloud.gkemulticloud.v1.AzureClient, com.google.cloud.gkemulticloud.v1.AzureClient.Builder, com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder> azureClientsBuilder_; /** - * - * *
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -643,8 +589,6 @@ public java.util.List getAzureCli
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -660,8 +604,6 @@ public int getAzureClientsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -677,8 +619,6 @@ public com.google.cloud.gkemulticloud.v1.AzureClient getAzureClients(int index)
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -686,7 +626,8 @@ public com.google.cloud.gkemulticloud.v1.AzureClient getAzureClients(int index)
      *
      * repeated .google.cloud.gkemulticloud.v1.AzureClient azure_clients = 1;
      */
-    public Builder setAzureClients(int index, com.google.cloud.gkemulticloud.v1.AzureClient value) {
+    public Builder setAzureClients(
+        int index, com.google.cloud.gkemulticloud.v1.AzureClient value) {
       if (azureClientsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -700,8 +641,6 @@ public Builder setAzureClients(int index, com.google.cloud.gkemulticloud.v1.Azur
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -721,8 +660,6 @@ public Builder setAzureClients(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -744,8 +681,6 @@ public Builder addAzureClients(com.google.cloud.gkemulticloud.v1.AzureClient val
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -753,7 +688,8 @@ public Builder addAzureClients(com.google.cloud.gkemulticloud.v1.AzureClient val
      *
      * repeated .google.cloud.gkemulticloud.v1.AzureClient azure_clients = 1;
      */
-    public Builder addAzureClients(int index, com.google.cloud.gkemulticloud.v1.AzureClient value) {
+    public Builder addAzureClients(
+        int index, com.google.cloud.gkemulticloud.v1.AzureClient value) {
       if (azureClientsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -767,8 +703,6 @@ public Builder addAzureClients(int index, com.google.cloud.gkemulticloud.v1.Azur
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -788,8 +722,6 @@ public Builder addAzureClients(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -809,8 +741,6 @@ public Builder addAzureClients(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -822,7 +752,8 @@ public Builder addAllAzureClients(
         java.lang.Iterable values) {
       if (azureClientsBuilder_ == null) {
         ensureAzureClientsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, azureClients_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, azureClients_);
         onChanged();
       } else {
         azureClientsBuilder_.addAllMessages(values);
@@ -830,8 +761,6 @@ public Builder addAllAzureClients(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -850,8 +779,6 @@ public Builder clearAzureClients() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -870,8 +797,6 @@ public Builder removeAzureClients(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -879,12 +804,11 @@ public Builder removeAzureClients(int index) {
      *
      * repeated .google.cloud.gkemulticloud.v1.AzureClient azure_clients = 1;
      */
-    public com.google.cloud.gkemulticloud.v1.AzureClient.Builder getAzureClientsBuilder(int index) {
+    public com.google.cloud.gkemulticloud.v1.AzureClient.Builder getAzureClientsBuilder(
+        int index) {
       return getAzureClientsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -895,14 +819,11 @@ public com.google.cloud.gkemulticloud.v1.AzureClient.Builder getAzureClientsBuil
     public com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder getAzureClientsOrBuilder(
         int index) {
       if (azureClientsBuilder_ == null) {
-        return azureClients_.get(index);
-      } else {
+        return azureClients_.get(index);  } else {
         return azureClientsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -910,8 +831,8 @@ public com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder getAzureClientsOrB
      *
      * repeated .google.cloud.gkemulticloud.v1.AzureClient azure_clients = 1;
      */
-    public java.util.List
-        getAzureClientsOrBuilderList() {
+    public java.util.List 
+         getAzureClientsOrBuilderList() {
       if (azureClientsBuilder_ != null) {
         return azureClientsBuilder_.getMessageOrBuilderList();
       } else {
@@ -919,8 +840,6 @@ public com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder getAzureClientsOrB
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -929,12 +848,10 @@ public com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder getAzureClientsOrB
      * repeated .google.cloud.gkemulticloud.v1.AzureClient azure_clients = 1;
      */
     public com.google.cloud.gkemulticloud.v1.AzureClient.Builder addAzureClientsBuilder() {
-      return getAzureClientsFieldBuilder()
-          .addBuilder(com.google.cloud.gkemulticloud.v1.AzureClient.getDefaultInstance());
+      return getAzureClientsFieldBuilder().addBuilder(
+          com.google.cloud.gkemulticloud.v1.AzureClient.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -942,13 +859,12 @@ public com.google.cloud.gkemulticloud.v1.AzureClient.Builder addAzureClientsBuil
      *
      * repeated .google.cloud.gkemulticloud.v1.AzureClient azure_clients = 1;
      */
-    public com.google.cloud.gkemulticloud.v1.AzureClient.Builder addAzureClientsBuilder(int index) {
-      return getAzureClientsFieldBuilder()
-          .addBuilder(index, com.google.cloud.gkemulticloud.v1.AzureClient.getDefaultInstance());
+    public com.google.cloud.gkemulticloud.v1.AzureClient.Builder addAzureClientsBuilder(
+        int index) {
+      return getAzureClientsFieldBuilder().addBuilder(
+          index, com.google.cloud.gkemulticloud.v1.AzureClient.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -956,23 +872,20 @@ public com.google.cloud.gkemulticloud.v1.AzureClient.Builder addAzureClientsBuil
      *
      * repeated .google.cloud.gkemulticloud.v1.AzureClient azure_clients = 1;
      */
-    public java.util.List
-        getAzureClientsBuilderList() {
+    public java.util.List 
+         getAzureClientsBuilderList() {
       return getAzureClientsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.gkemulticloud.v1.AzureClient,
-            com.google.cloud.gkemulticloud.v1.AzureClient.Builder,
-            com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder>
+        com.google.cloud.gkemulticloud.v1.AzureClient, com.google.cloud.gkemulticloud.v1.AzureClient.Builder, com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder> 
         getAzureClientsFieldBuilder() {
       if (azureClientsBuilder_ == null) {
-        azureClientsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.gkemulticloud.v1.AzureClient,
-                com.google.cloud.gkemulticloud.v1.AzureClient.Builder,
-                com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder>(
-                azureClients_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        azureClientsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.gkemulticloud.v1.AzureClient, com.google.cloud.gkemulticloud.v1.AzureClient.Builder, com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder>(
+                azureClients_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         azureClients_ = null;
       }
       return azureClientsBuilder_;
@@ -980,21 +893,19 @@ public com.google.cloud.gkemulticloud.v1.AzureClient.Builder addAzureClientsBuil
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1003,22 +914,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1026,37 +936,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1066,31 +969,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1100,12 +999,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.ListAzureClientsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.ListAzureClientsResponse) private static final com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse(); } @@ -1114,27 +1013,27 @@ public static com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAzureClientsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAzureClientsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1149,4 +1048,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponseOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponseOrBuilder.java similarity index 74% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponseOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponseOrBuilder.java index 5803ec8ded4a..6a5a9d2e9faf 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponseOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponseOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface ListAzureClientsResponseOrBuilder - extends +public interface ListAzureClientsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.ListAzureClientsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
    * resources in the specified Google Cloud project and region region.
@@ -33,10 +15,9 @@ public interface ListAzureClientsResponseOrBuilder
    *
    * repeated .google.cloud.gkemulticloud.v1.AzureClient azure_clients = 1;
    */
-  java.util.List getAzureClientsList();
+  java.util.List 
+      getAzureClientsList();
   /**
-   *
-   *
    * 
    * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
    * resources in the specified Google Cloud project and region region.
@@ -46,8 +27,6 @@ public interface ListAzureClientsResponseOrBuilder
    */
   com.google.cloud.gkemulticloud.v1.AzureClient getAzureClients(int index);
   /**
-   *
-   *
    * 
    * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
    * resources in the specified Google Cloud project and region region.
@@ -57,8 +36,6 @@ public interface ListAzureClientsResponseOrBuilder
    */
   int getAzureClientsCount();
   /**
-   *
-   *
    * 
    * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
    * resources in the specified Google Cloud project and region region.
@@ -66,11 +43,9 @@ public interface ListAzureClientsResponseOrBuilder
    *
    * repeated .google.cloud.gkemulticloud.v1.AzureClient azure_clients = 1;
    */
-  java.util.List
+  java.util.List 
       getAzureClientsOrBuilderList();
   /**
-   *
-   *
    * 
    * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
    * resources in the specified Google Cloud project and region region.
@@ -78,32 +53,28 @@ public interface ListAzureClientsResponseOrBuilder
    *
    * repeated .google.cloud.gkemulticloud.v1.AzureClient azure_clients = 1;
    */
-  com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder getAzureClientsOrBuilder(int index);
+  com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder getAzureClientsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequest.java similarity index 70% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequest.java index d6b1b8507432..141ce91034db 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Request message for `AzureClusters.ListAzureClusters` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAzureClustersRequest} */ -public final class ListAzureClustersRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAzureClustersRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.ListAzureClustersRequest) ListAzureClustersRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAzureClustersRequest.newBuilder() to construct. private ListAzureClustersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAzureClustersRequest() { parent_ = ""; pageToken_ = ""; @@ -44,32 +26,28 @@ private ListAzureClustersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAzureClustersRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest.class, - com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest.class, com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The parent location which owns this collection of
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.
@@ -80,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -92,15 +67,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent location which owns this collection of
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.
@@ -111,18 +85,17 @@ public java.lang.String getParent() {
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -133,8 +106,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * The maximum number of items to return.
    *
@@ -146,7 +117,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -155,12 +125,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * The `nextPageToken` value returned from a previous
    * [azureClusters.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters]
@@ -168,7 +135,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -177,15 +143,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The `nextPageToken` value returned from a previous
    * [azureClusters.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters]
@@ -193,15 +158,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -210,7 +176,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -222,7 +187,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -245,7 +211,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -258,17 +225,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest other = - (com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest) obj; + com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest other = (com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -292,136 +261,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `AzureClusters.ListAzureClusters` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAzureClustersRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.ListAzureClustersRequest) com.google.cloud.gkemulticloud.v1.ListAzureClustersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest.class, - com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest.class, com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -433,9 +397,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_descriptor; } @java.lang.Override @@ -454,11 +418,8 @@ public com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest result = - new com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest result = new com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -480,39 +441,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.ListAzureClustersRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest)other); } else { super.mergeFrom(other); return this; @@ -520,8 +480,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -561,31 +520,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -595,13 +550,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent location which owns this collection of
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.
@@ -612,16 +564,14 @@ public Builder mergeFrom(
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -630,8 +580,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent location which owns this collection of
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.
@@ -642,17 +590,16 @@ public java.lang.String getParent() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -660,8 +607,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent location which owns this collection of
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.
@@ -672,25 +617,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent location which owns this collection of
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.
@@ -701,10 +640,7 @@ public Builder setParent(java.lang.String value) {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -714,8 +650,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent location which owns this collection of
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.
@@ -726,17 +660,13 @@ public Builder clearParent() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -744,10 +674,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return.
      *
@@ -759,7 +687,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -767,8 +694,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return.
      *
@@ -780,7 +705,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -792,8 +716,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * The maximum number of items to return.
      *
@@ -805,7 +727,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -817,8 +738,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [azureClusters.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters]
@@ -826,13 +745,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -841,8 +760,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [azureClusters.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters]
@@ -850,14 +767,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -865,8 +783,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [azureClusters.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters]
@@ -874,22 +790,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [azureClusters.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters]
@@ -897,7 +809,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -907,8 +818,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [azureClusters.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters]
@@ -916,23 +825,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -942,12 +849,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.ListAzureClustersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.ListAzureClustersRequest) private static final com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest(); } @@ -956,27 +863,27 @@ public static com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAzureClustersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAzureClustersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -991,4 +898,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequestOrBuilder.java similarity index 68% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequestOrBuilder.java index 15f72f260b7b..b012ff6390a5 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface ListAzureClustersRequestOrBuilder - extends +public interface ListAzureClustersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.ListAzureClustersRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent location which owns this collection of
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.
@@ -36,16 +18,11 @@ public interface ListAzureClustersRequestOrBuilder
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent location which owns this collection of
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.
@@ -56,17 +33,13 @@ public interface ListAzureClustersRequestOrBuilder
    * for more details on Google Cloud Platform resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of items to return.
    *
@@ -78,14 +51,11 @@ public interface ListAzureClustersRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The `nextPageToken` value returned from a previous
    * [azureClusters.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters]
@@ -93,13 +63,10 @@ public interface ListAzureClustersRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The `nextPageToken` value returned from a previous
    * [azureClusters.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters]
@@ -107,8 +74,8 @@ public interface ListAzureClustersRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponse.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponse.java similarity index 75% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponse.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponse.java index 9ed4f6daeaaa..b901803bfd4b 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponse.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Response message for `AzureClusters.ListAzureClusters` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAzureClustersResponse} */ -public final class ListAzureClustersResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAzureClustersResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.ListAzureClustersResponse) ListAzureClustersResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAzureClustersResponse.newBuilder() to construct. private ListAzureClustersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAzureClustersResponse() { azureClusters_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,32 +26,28 @@ private ListAzureClustersResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAzureClustersResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse.class, - com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse.class, com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse.Builder.class); } public static final int AZURE_CLUSTERS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List azureClusters_; /** - * - * *
    * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -82,8 +60,6 @@ public java.util.List getAzureCl
     return azureClusters_;
   }
   /**
-   *
-   *
    * 
    * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -92,13 +68,11 @@ public java.util.List getAzureCl
    * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getAzureClustersOrBuilderList() {
     return azureClusters_;
   }
   /**
-   *
-   *
    * 
    * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -111,8 +85,6 @@ public int getAzureClustersCount() {
     return azureClusters_.size();
   }
   /**
-   *
-   *
    * 
    * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -125,8 +97,6 @@ public com.google.cloud.gkemulticloud.v1.AzureCluster getAzureClusters(int index
     return azureClusters_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -141,19 +111,15 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClustersO
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object nextPageToken_ = "";
   /**
-   *
-   *
    * 
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -162,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -194,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < azureClusters_.size(); i++) { output.writeMessage(1, azureClusters_.get(i)); } @@ -223,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < azureClusters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, azureClusters_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, azureClusters_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -236,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse other = - (com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse) obj; + com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse other = (com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse) obj; - if (!getAzureClustersList().equals(other.getAzureClustersList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getAzureClustersList() + .equals(other.getAzureClustersList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -269,136 +237,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for `AzureClusters.ListAzureClusters` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAzureClustersResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.ListAzureClustersResponse) com.google.cloud.gkemulticloud.v1.ListAzureClustersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse.class, - com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse.class, com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -415,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_descriptor; } @java.lang.Override @@ -436,18 +399,14 @@ public com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse buildPartial() { - com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse result = - new com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse(this); + com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse result = new com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse result) { if (azureClustersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { azureClusters_ = java.util.Collections.unmodifiableList(azureClusters_); @@ -470,39 +429,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.ListAzureClustersRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse)other); } else { super.mergeFrom(other); return this; @@ -510,8 +468,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse other) { - if (other == com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse.getDefaultInstance()) return this; if (azureClustersBuilder_ == null) { if (!other.azureClusters_.isEmpty()) { if (azureClusters_.isEmpty()) { @@ -530,10 +487,9 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAzureClustersResp azureClustersBuilder_ = null; azureClusters_ = other.azureClusters_; bitField0_ = (bitField0_ & ~0x00000001); - azureClustersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAzureClustersFieldBuilder() - : null; + azureClustersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAzureClustersFieldBuilder() : null; } else { azureClustersBuilder_.addAllMessages(other.azureClusters_); } @@ -570,32 +526,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.gkemulticloud.v1.AzureCluster m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureCluster.parser(), extensionRegistry); - if (azureClustersBuilder_ == null) { - ensureAzureClustersIsMutable(); - azureClusters_.add(m); - } else { - azureClustersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.gkemulticloud.v1.AzureCluster m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureCluster.parser(), + extensionRegistry); + if (azureClustersBuilder_ == null) { + ensureAzureClustersIsMutable(); + azureClusters_.add(m); + } else { + azureClustersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -605,29 +559,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List azureClusters_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAzureClustersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - azureClusters_ = - new java.util.ArrayList(azureClusters_); + azureClusters_ = new java.util.ArrayList(azureClusters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureCluster, - com.google.cloud.gkemulticloud.v1.AzureCluster.Builder, - com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder> - azureClustersBuilder_; + com.google.cloud.gkemulticloud.v1.AzureCluster, com.google.cloud.gkemulticloud.v1.AzureCluster.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder> azureClustersBuilder_; /** - * - * *
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -643,8 +589,6 @@ public java.util.List getAzureCl
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -660,8 +604,6 @@ public int getAzureClustersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -677,8 +619,6 @@ public com.google.cloud.gkemulticloud.v1.AzureCluster getAzureClusters(int index
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -701,8 +641,6 @@ public Builder setAzureClusters(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -722,8 +660,6 @@ public Builder setAzureClusters(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -745,8 +681,6 @@ public Builder addAzureClusters(com.google.cloud.gkemulticloud.v1.AzureCluster v
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -769,8 +703,6 @@ public Builder addAzureClusters(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -790,8 +722,6 @@ public Builder addAzureClusters(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -811,8 +741,6 @@ public Builder addAzureClusters(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -824,7 +752,8 @@ public Builder addAllAzureClusters(
         java.lang.Iterable values) {
       if (azureClustersBuilder_ == null) {
         ensureAzureClustersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, azureClusters_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, azureClusters_);
         onChanged();
       } else {
         azureClustersBuilder_.addAllMessages(values);
@@ -832,8 +761,6 @@ public Builder addAllAzureClusters(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -852,8 +779,6 @@ public Builder clearAzureClusters() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -872,8 +797,6 @@ public Builder removeAzureClusters(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -886,8 +809,6 @@ public com.google.cloud.gkemulticloud.v1.AzureCluster.Builder getAzureClustersBu
       return getAzureClustersFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -898,14 +819,11 @@ public com.google.cloud.gkemulticloud.v1.AzureCluster.Builder getAzureClustersBu
     public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClustersOrBuilder(
         int index) {
       if (azureClustersBuilder_ == null) {
-        return azureClusters_.get(index);
-      } else {
+        return azureClusters_.get(index);  } else {
         return azureClustersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -913,8 +831,8 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClustersO
      *
      * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1;
      */
-    public java.util.List
-        getAzureClustersOrBuilderList() {
+    public java.util.List 
+         getAzureClustersOrBuilderList() {
       if (azureClustersBuilder_ != null) {
         return azureClustersBuilder_.getMessageOrBuilderList();
       } else {
@@ -922,8 +840,6 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClustersO
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -932,12 +848,10 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClustersO
      * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1;
      */
     public com.google.cloud.gkemulticloud.v1.AzureCluster.Builder addAzureClustersBuilder() {
-      return getAzureClustersFieldBuilder()
-          .addBuilder(com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance());
+      return getAzureClustersFieldBuilder().addBuilder(
+          com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -947,12 +861,10 @@ public com.google.cloud.gkemulticloud.v1.AzureCluster.Builder addAzureClustersBu
      */
     public com.google.cloud.gkemulticloud.v1.AzureCluster.Builder addAzureClustersBuilder(
         int index) {
-      return getAzureClustersFieldBuilder()
-          .addBuilder(index, com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance());
+      return getAzureClustersFieldBuilder().addBuilder(
+          index, com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -960,22 +872,16 @@ public com.google.cloud.gkemulticloud.v1.AzureCluster.Builder addAzureClustersBu
      *
      * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1;
      */
-    public java.util.List
-        getAzureClustersBuilderList() {
+    public java.util.List 
+         getAzureClustersBuilderList() {
       return getAzureClustersFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.gkemulticloud.v1.AzureCluster,
-            com.google.cloud.gkemulticloud.v1.AzureCluster.Builder,
-            com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder>
+        com.google.cloud.gkemulticloud.v1.AzureCluster, com.google.cloud.gkemulticloud.v1.AzureCluster.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder> 
         getAzureClustersFieldBuilder() {
       if (azureClustersBuilder_ == null) {
-        azureClustersBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.gkemulticloud.v1.AzureCluster,
-                com.google.cloud.gkemulticloud.v1.AzureCluster.Builder,
-                com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder>(
+        azureClustersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.gkemulticloud.v1.AzureCluster, com.google.cloud.gkemulticloud.v1.AzureCluster.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder>(
                 azureClusters_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -987,21 +893,19 @@ public com.google.cloud.gkemulticloud.v1.AzureCluster.Builder addAzureClustersBu
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1010,22 +914,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1033,37 +936,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1073,31 +969,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1107,12 +999,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.ListAzureClustersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.ListAzureClustersResponse) private static final com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse(); } @@ -1121,27 +1013,27 @@ public static com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAzureClustersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAzureClustersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1156,4 +1048,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponseOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponseOrBuilder.java similarity index 74% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponseOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponseOrBuilder.java index bd2981bd57c4..64b7f95bcc14 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponseOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponseOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface ListAzureClustersResponseOrBuilder - extends +public interface ListAzureClustersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.ListAzureClustersResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -33,10 +15,9 @@ public interface ListAzureClustersResponseOrBuilder
    *
    * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1;
    */
-  java.util.List getAzureClustersList();
+  java.util.List 
+      getAzureClustersList();
   /**
-   *
-   *
    * 
    * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -46,8 +27,6 @@ public interface ListAzureClustersResponseOrBuilder
    */
   com.google.cloud.gkemulticloud.v1.AzureCluster getAzureClusters(int index);
   /**
-   *
-   *
    * 
    * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -57,8 +36,6 @@ public interface ListAzureClustersResponseOrBuilder
    */
   int getAzureClustersCount();
   /**
-   *
-   *
    * 
    * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -66,11 +43,9 @@ public interface ListAzureClustersResponseOrBuilder
    *
    * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1;
    */
-  java.util.List
+  java.util.List 
       getAzureClustersOrBuilderList();
   /**
-   *
-   *
    * 
    * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -78,32 +53,28 @@ public interface ListAzureClustersResponseOrBuilder
    *
    * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1;
    */
-  com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClustersOrBuilder(int index);
+  com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClustersOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequest.java similarity index 71% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequest.java index ad4e3c8652e4..d0056132286d 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Request message for `AzureClusters.ListAzureNodePools` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest} */ -public final class ListAzureNodePoolsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAzureNodePoolsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest) ListAzureNodePoolsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAzureNodePoolsRequest.newBuilder() to construct. private ListAzureNodePoolsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAzureNodePoolsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,32 +26,28 @@ private ListAzureNodePoolsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAzureNodePoolsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest.class, - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest.class, com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The parent `AzureCluster` which owns this collection of
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
@@ -81,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -93,15 +68,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent `AzureCluster` which owns this collection of
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
@@ -113,18 +87,17 @@ public java.lang.String getParent() {
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -135,8 +108,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * The maximum number of items to return.
    *
@@ -148,7 +119,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -157,12 +127,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * The `nextPageToken` value returned from a previous
    * [azureNodePools.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools]
@@ -170,7 +137,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -179,15 +145,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The `nextPageToken` value returned from a previous
    * [azureNodePools.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools]
@@ -195,15 +160,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -212,7 +178,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,7 +189,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -247,7 +213,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -260,17 +227,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest other = - (com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest) obj; + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest other = (com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -294,136 +263,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `AzureClusters.ListAzureNodePools` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest) com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest.class, - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest.class, com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +399,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_descriptor; } @java.lang.Override @@ -456,11 +420,8 @@ public com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest result = - new com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest result = new com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -482,39 +443,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsR public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest)other); } else { super.mergeFrom(other); return this; @@ -522,8 +482,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -563,31 +522,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -597,13 +552,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent `AzureCluster` which owns this collection of
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
@@ -615,16 +567,14 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -633,8 +583,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent `AzureCluster` which owns this collection of
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
@@ -646,17 +594,16 @@ public java.lang.String getParent() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -664,8 +611,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent `AzureCluster` which owns this collection of
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
@@ -677,25 +622,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent `AzureCluster` which owns this collection of
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
@@ -707,10 +646,7 @@ public Builder setParent(java.lang.String value) {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -720,8 +656,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent `AzureCluster` which owns this collection of
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
@@ -733,17 +667,13 @@ public Builder clearParent() {
      * for more details on Google Cloud resource names.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -751,10 +681,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return.
      *
@@ -766,7 +694,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -774,8 +701,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return.
      *
@@ -787,7 +712,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -799,8 +723,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * The maximum number of items to return.
      *
@@ -812,7 +734,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -824,8 +745,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [azureNodePools.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools]
@@ -833,13 +752,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -848,8 +767,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [azureNodePools.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools]
@@ -857,14 +774,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -872,8 +790,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [azureNodePools.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools]
@@ -881,22 +797,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [azureNodePools.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools]
@@ -904,7 +816,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -914,8 +825,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The `nextPageToken` value returned from a previous
      * [azureNodePools.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools]
@@ -923,23 +832,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -949,12 +856,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest) private static final com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest(); } @@ -963,27 +870,27 @@ public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAzureNodePoolsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAzureNodePoolsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -998,4 +905,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequestOrBuilder.java similarity index 69% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequestOrBuilder.java index e30014ea0188..66c5feb260e4 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface ListAzureNodePoolsRequestOrBuilder - extends +public interface ListAzureNodePoolsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent `AzureCluster` which owns this collection of
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
@@ -37,16 +19,11 @@ public interface ListAzureNodePoolsRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent `AzureCluster` which owns this collection of
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
@@ -58,17 +35,13 @@ public interface ListAzureNodePoolsRequestOrBuilder
    * for more details on Google Cloud resource names.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of items to return.
    *
@@ -80,14 +53,11 @@ public interface ListAzureNodePoolsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The `nextPageToken` value returned from a previous
    * [azureNodePools.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools]
@@ -95,13 +65,10 @@ public interface ListAzureNodePoolsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The `nextPageToken` value returned from a previous
    * [azureNodePools.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools]
@@ -109,8 +76,8 @@ public interface ListAzureNodePoolsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponse.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponse.java similarity index 73% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponse.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponse.java index 9e91223dec48..ba000b5d90b1 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponse.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Response message for `AzureClusters.ListAzureNodePools` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse} */ -public final class ListAzureNodePoolsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAzureNodePoolsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse) ListAzureNodePoolsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAzureNodePoolsResponse.newBuilder() to construct. private ListAzureNodePoolsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAzureNodePoolsResponse() { azureNodePools_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,32 +26,28 @@ private ListAzureNodePoolsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAzureNodePoolsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse.class, - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse.class, com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse.Builder.class); } public static final int AZURE_NODE_POOLS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List azureNodePools_; /** - * - * *
    * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
    * resources in the specified `AzureCluster`.
@@ -82,8 +60,6 @@ public java.util.List getAzureN
     return azureNodePools_;
   }
   /**
-   *
-   *
    * 
    * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
    * resources in the specified `AzureCluster`.
@@ -92,13 +68,11 @@ public java.util.List getAzureN
    * repeated .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pools = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getAzureNodePoolsOrBuilderList() {
     return azureNodePools_;
   }
   /**
-   *
-   *
    * 
    * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
    * resources in the specified `AzureCluster`.
@@ -111,8 +85,6 @@ public int getAzureNodePoolsCount() {
     return azureNodePools_.size();
   }
   /**
-   *
-   *
    * 
    * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
    * resources in the specified `AzureCluster`.
@@ -125,8 +97,6 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePool getAzureNodePools(int ind
     return azureNodePools_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
    * resources in the specified `AzureCluster`.
@@ -141,19 +111,15 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePool
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object nextPageToken_ = "";
   /**
-   *
-   *
    * 
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -162,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -194,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < azureNodePools_.size(); i++) { output.writeMessage(1, azureNodePools_.get(i)); } @@ -223,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < azureNodePools_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, azureNodePools_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, azureNodePools_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -236,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse other = - (com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse) obj; + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse other = (com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse) obj; - if (!getAzureNodePoolsList().equals(other.getAzureNodePoolsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getAzureNodePoolsList() + .equals(other.getAzureNodePoolsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -269,136 +237,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for `AzureClusters.ListAzureNodePools` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse) com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse.class, - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse.class, com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -415,14 +378,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse - getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse.getDefaultInstance(); } @@ -437,18 +399,14 @@ public com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse buildPartial() { - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse result = - new com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse(this); + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse result = new com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse result) { if (azureNodePoolsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { azureNodePools_ = java.util.Collections.unmodifiableList(azureNodePools_); @@ -460,8 +418,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse result) { + private void buildPartial0(com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -472,39 +429,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse)other); } else { super.mergeFrom(other); return this; @@ -512,9 +468,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse other) { - if (other - == com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse.getDefaultInstance()) return this; if (azureNodePoolsBuilder_ == null) { if (!other.azureNodePools_.isEmpty()) { if (azureNodePools_.isEmpty()) { @@ -533,10 +487,9 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRes azureNodePoolsBuilder_ = null; azureNodePools_ = other.azureNodePools_; bitField0_ = (bitField0_ & ~0x00000001); - azureNodePoolsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAzureNodePoolsFieldBuilder() - : null; + azureNodePoolsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAzureNodePoolsFieldBuilder() : null; } else { azureNodePoolsBuilder_.addAllMessages(other.azureNodePools_); } @@ -573,33 +526,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.gkemulticloud.v1.AzureNodePool m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureNodePool.parser(), - extensionRegistry); - if (azureNodePoolsBuilder_ == null) { - ensureAzureNodePoolsIsMutable(); - azureNodePools_.add(m); - } else { - azureNodePoolsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.gkemulticloud.v1.AzureNodePool m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureNodePool.parser(), + extensionRegistry); + if (azureNodePoolsBuilder_ == null) { + ensureAzureNodePoolsIsMutable(); + azureNodePools_.add(m); + } else { + azureNodePoolsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -609,30 +559,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List azureNodePools_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAzureNodePoolsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - azureNodePools_ = - new java.util.ArrayList( - azureNodePools_); + azureNodePools_ = new java.util.ArrayList(azureNodePools_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodePool, - com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder, - com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder> - azureNodePoolsBuilder_; + com.google.cloud.gkemulticloud.v1.AzureNodePool, com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder, com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder> azureNodePoolsBuilder_; /** - * - * *
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -648,8 +589,6 @@ public java.util.List getAzureN
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -665,8 +604,6 @@ public int getAzureNodePoolsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -682,8 +619,6 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePool getAzureNodePools(int ind
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -706,8 +641,6 @@ public Builder setAzureNodePools(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -727,8 +660,6 @@ public Builder setAzureNodePools(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -750,8 +681,6 @@ public Builder addAzureNodePools(com.google.cloud.gkemulticloud.v1.AzureNodePool
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -774,8 +703,6 @@ public Builder addAzureNodePools(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -795,8 +722,6 @@ public Builder addAzureNodePools(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -816,8 +741,6 @@ public Builder addAzureNodePools(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -829,7 +752,8 @@ public Builder addAllAzureNodePools(
         java.lang.Iterable values) {
       if (azureNodePoolsBuilder_ == null) {
         ensureAzureNodePoolsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, azureNodePools_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, azureNodePools_);
         onChanged();
       } else {
         azureNodePoolsBuilder_.addAllMessages(values);
@@ -837,8 +761,6 @@ public Builder addAllAzureNodePools(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -857,8 +779,6 @@ public Builder clearAzureNodePools() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -877,8 +797,6 @@ public Builder removeAzureNodePools(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -891,8 +809,6 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder getAzureNodePools
       return getAzureNodePoolsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -903,14 +819,11 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder getAzureNodePools
     public com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePoolsOrBuilder(
         int index) {
       if (azureNodePoolsBuilder_ == null) {
-        return azureNodePools_.get(index);
-      } else {
+        return azureNodePools_.get(index);  } else {
         return azureNodePoolsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -918,8 +831,8 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePool
      *
      * repeated .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pools = 1;
      */
-    public java.util.List
-        getAzureNodePoolsOrBuilderList() {
+    public java.util.List 
+         getAzureNodePoolsOrBuilderList() {
       if (azureNodePoolsBuilder_ != null) {
         return azureNodePoolsBuilder_.getMessageOrBuilderList();
       } else {
@@ -927,8 +840,6 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePool
       }
     }
     /**
-     *
-     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -937,12 +848,10 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePool
      * repeated .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pools = 1;
      */
     public com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder addAzureNodePoolsBuilder() {
-      return getAzureNodePoolsFieldBuilder()
-          .addBuilder(com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance());
+      return getAzureNodePoolsFieldBuilder().addBuilder(
+          com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -952,12 +861,10 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder addAzureNodePools
      */
     public com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder addAzureNodePoolsBuilder(
         int index) {
-      return getAzureNodePoolsFieldBuilder()
-          .addBuilder(index, com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance());
+      return getAzureNodePoolsFieldBuilder().addBuilder(
+          index, com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -965,22 +872,16 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder addAzureNodePools
      *
      * repeated .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pools = 1;
      */
-    public java.util.List
-        getAzureNodePoolsBuilderList() {
+    public java.util.List 
+         getAzureNodePoolsBuilderList() {
       return getAzureNodePoolsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.gkemulticloud.v1.AzureNodePool,
-            com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder,
-            com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder>
+        com.google.cloud.gkemulticloud.v1.AzureNodePool, com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder, com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder> 
         getAzureNodePoolsFieldBuilder() {
       if (azureNodePoolsBuilder_ == null) {
-        azureNodePoolsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.gkemulticloud.v1.AzureNodePool,
-                com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder,
-                com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder>(
+        azureNodePoolsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.gkemulticloud.v1.AzureNodePool, com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder, com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder>(
                 azureNodePools_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -992,21 +893,19 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder addAzureNodePools
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1015,22 +914,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1038,37 +936,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1078,31 +969,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1112,13 +999,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse) - private static final com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse(); } @@ -1127,27 +1013,27 @@ public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAzureNodePoolsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAzureNodePoolsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1162,4 +1048,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponseOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponseOrBuilder.java similarity index 73% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponseOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponseOrBuilder.java index 4ad3642c8eb1..230fca70d2b4 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponseOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponseOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface ListAzureNodePoolsResponseOrBuilder - extends +public interface ListAzureNodePoolsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
    * resources in the specified `AzureCluster`.
@@ -33,10 +15,9 @@ public interface ListAzureNodePoolsResponseOrBuilder
    *
    * repeated .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pools = 1;
    */
-  java.util.List getAzureNodePoolsList();
+  java.util.List 
+      getAzureNodePoolsList();
   /**
-   *
-   *
    * 
    * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
    * resources in the specified `AzureCluster`.
@@ -46,8 +27,6 @@ public interface ListAzureNodePoolsResponseOrBuilder
    */
   com.google.cloud.gkemulticloud.v1.AzureNodePool getAzureNodePools(int index);
   /**
-   *
-   *
    * 
    * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
    * resources in the specified `AzureCluster`.
@@ -57,8 +36,6 @@ public interface ListAzureNodePoolsResponseOrBuilder
    */
   int getAzureNodePoolsCount();
   /**
-   *
-   *
    * 
    * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
    * resources in the specified `AzureCluster`.
@@ -66,11 +43,9 @@ public interface ListAzureNodePoolsResponseOrBuilder
    *
    * repeated .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pools = 1;
    */
-  java.util.List
+  java.util.List 
       getAzureNodePoolsOrBuilderList();
   /**
-   *
-   *
    * 
    * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
    * resources in the specified `AzureCluster`.
@@ -78,32 +53,28 @@ public interface ListAzureNodePoolsResponseOrBuilder
    *
    * repeated .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pools = 1;
    */
-  com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePoolsOrBuilder(int index);
+  com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePoolsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LocationName.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LocationName.java similarity index 100% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LocationName.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LocationName.java diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfig.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfig.java similarity index 64% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfig.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfig.java index 222f75e59f08..c9d0c8c4adc1 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfig.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfig.java @@ -1,80 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Parameters that describe the Logging component configuration in a cluster.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.LoggingComponentConfig} */ -public final class LoggingComponentConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LoggingComponentConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.LoggingComponentConfig) LoggingComponentConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LoggingComponentConfig.newBuilder() to construct. private LoggingComponentConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LoggingComponentConfig() { enableComponents_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LoggingComponentConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.class, - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.class, com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Builder.class); } /** - * - * *
    * The components of the logging configuration;
    * 
* * Protobuf enum {@code google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component} */ - public enum Component implements com.google.protobuf.ProtocolMessageEnum { + public enum Component + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * No component is specified
      * 
@@ -83,8 +61,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ COMPONENT_UNSPECIFIED(0), /** - * - * *
      * This indicates that system logging components is enabled.
      * 
@@ -93,8 +69,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ SYSTEM_COMPONENTS(1), /** - * - * *
      * This indicates that user workload logging component is enabled.
      * 
@@ -106,8 +80,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * No component is specified
      * 
@@ -116,8 +88,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPONENT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * This indicates that system logging components is enabled.
      * 
@@ -126,8 +96,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SYSTEM_COMPONENTS_VALUE = 1; /** - * - * *
      * This indicates that user workload logging component is enabled.
      * 
@@ -136,6 +104,7 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WORKLOADS_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -160,51 +129,49 @@ public static Component valueOf(int value) { */ public static Component forNumber(int value) { switch (value) { - case 0: - return COMPONENT_UNSPECIFIED; - case 1: - return SYSTEM_COMPONENTS; - case 2: - return WORKLOADS; - default: - return null; + case 0: return COMPONENT_UNSPECIFIED; + case 1: return SYSTEM_COMPONENTS; + case 2: return WORKLOADS; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Component> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Component findValueByNumber(int number) { + return Component.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Component findValueByNumber(int number) { - return Component.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.getDescriptor().getEnumTypes().get(0); } private static final Component[] VALUES = values(); - public static Component valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Component valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -222,57 +189,36 @@ private Component(int value) { } public static final int ENABLE_COMPONENTS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List enableComponents_; - private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component> - enableComponents_converter_ = + java.lang.Integer, com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component> enableComponents_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component>() { - public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component convert( - java.lang.Integer from) { - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component result = - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component.forNumber( - from); - return result == null - ? com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component.UNRECOGNIZED - : result; + java.lang.Integer, com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component>() { + public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component convert(java.lang.Integer from) { + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component result = com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component.forNumber(from); + return result == null ? com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component.UNRECOGNIZED : result; } }; /** - * - * *
    * The components to be enabled.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; * @return A list containing the enableComponents. */ @java.lang.Override - public java.util.List - getEnableComponentsList() { + public java.util.List getEnableComponentsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component>( - enableComponents_, enableComponents_converter_); + java.lang.Integer, com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component>(enableComponents_, enableComponents_converter_); } /** - * - * *
    * The components to be enabled.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; * @return The count of enableComponents. */ @java.lang.Override @@ -280,52 +226,37 @@ public int getEnableComponentsCount() { return enableComponents_.size(); } /** - * - * *
    * The components to be enabled.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; * @param index The index of the element to return. * @return The enableComponents at the given index. */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component getEnableComponents( - int index) { + public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component getEnableComponents(int index) { return enableComponents_converter_.convert(enableComponents_.get(index)); } /** - * - * *
    * The components to be enabled.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; * @return A list containing the enum numeric values on the wire for enableComponents. */ @java.lang.Override - public java.util.List getEnableComponentsValueList() { + public java.util.List + getEnableComponentsValueList() { return enableComponents_; } /** - * - * *
    * The components to be enabled.
    * 
* - * - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of enableComponents at the given index. */ @@ -333,11 +264,9 @@ public java.util.List getEnableComponentsValueList() { public int getEnableComponentsValue(int index) { return enableComponents_.get(index); } - private int enableComponentsMemoizedSerializedSize; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -349,7 +278,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (getEnableComponentsList().size() > 0) { output.writeUInt32NoTag(10); @@ -370,15 +300,14 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < enableComponents_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(enableComponents_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(enableComponents_.get(i)); } size += dataSize; - if (!getEnableComponentsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - enableComponentsMemoizedSerializedSize = dataSize; + if (!getEnableComponentsList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }enableComponentsMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -388,13 +317,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.LoggingComponentConfig)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig other = - (com.google.cloud.gkemulticloud.v1.LoggingComponentConfig) obj; + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig other = (com.google.cloud.gkemulticloud.v1.LoggingComponentConfig) obj; if (!enableComponents_.equals(other.enableComponents_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -418,136 +346,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.LoggingComponentConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.LoggingComponentConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.LoggingComponentConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.LoggingComponentConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.LoggingComponentConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.LoggingComponentConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.LoggingComponentConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.LoggingComponentConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.LoggingComponentConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.LoggingComponentConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.LoggingComponentConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.LoggingComponentConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.LoggingComponentConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.LoggingComponentConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.LoggingComponentConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Parameters that describe the Logging component configuration in a cluster.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.LoggingComponentConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.LoggingComponentConfig) com.google.cloud.gkemulticloud.v1.LoggingComponentConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.class, - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.class, com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -558,9 +481,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_descriptor; } @java.lang.Override @@ -579,18 +502,14 @@ public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig buildPartial() { - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig result = - new com.google.cloud.gkemulticloud.v1.LoggingComponentConfig(this); + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig result = new com.google.cloud.gkemulticloud.v1.LoggingComponentConfig(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig result) { + private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.LoggingComponentConfig result) { if (((bitField0_ & 0x00000001) != 0)) { enableComponents_ = java.util.Collections.unmodifiableList(enableComponents_); bitField0_ = (bitField0_ & ~0x00000001); @@ -606,39 +525,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.LoggingComponentCon public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.LoggingComponentConfig) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.LoggingComponentConfig) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.LoggingComponentConfig)other); } else { super.mergeFrom(other); return this; @@ -646,8 +564,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.LoggingComponentConfig other) { - if (other == com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.getDefaultInstance()) return this; if (!other.enableComponents_.isEmpty()) { if (enableComponents_.isEmpty()) { enableComponents_ = other.enableComponents_; @@ -684,32 +601,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { + case 8: { + int tmpRaw = input.readEnum(); + ensureEnableComponentsIsMutable(); + enableComponents_.add(tmpRaw); + break; + } // case 8 + case 10: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureEnableComponentsIsMutable(); enableComponents_.add(tmpRaw); - break; - } // case 8 - case 10: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureEnableComponentsIsMutable(); - enableComponents_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + } + input.popLimit(oldLimit); + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -719,11 +633,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List enableComponents_ = java.util.Collections.emptyList(); - + private java.util.List enableComponents_ = + java.util.Collections.emptyList(); private void ensureEnableComponentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { enableComponents_ = new java.util.ArrayList(enableComponents_); @@ -731,69 +644,46 @@ private void ensureEnableComponentsIsMutable() { } } /** - * - * *
      * The components to be enabled.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; * @return A list containing the enableComponents. */ - public java.util.List - getEnableComponentsList() { + public java.util.List getEnableComponentsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component>( - enableComponents_, enableComponents_converter_); + java.lang.Integer, com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component>(enableComponents_, enableComponents_converter_); } /** - * - * *
      * The components to be enabled.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; * @return The count of enableComponents. */ public int getEnableComponentsCount() { return enableComponents_.size(); } /** - * - * *
      * The components to be enabled.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; * @param index The index of the element to return. * @return The enableComponents at the given index. */ - public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component getEnableComponents( - int index) { + public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component getEnableComponents(int index) { return enableComponents_converter_.convert(enableComponents_.get(index)); } /** - * - * *
      * The components to be enabled.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; * @param index The index to set the value at. * @param value The enableComponents to set. * @return This builder for chaining. @@ -809,21 +699,15 @@ public Builder setEnableComponents( return this; } /** - * - * *
      * The components to be enabled.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; * @param value The enableComponents to add. * @return This builder for chaining. */ - public Builder addEnableComponents( - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component value) { + public Builder addEnableComponents(com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component value) { if (value == null) { throw new NullPointerException(); } @@ -833,23 +717,16 @@ public Builder addEnableComponents( return this; } /** - * - * *
      * The components to be enabled.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; * @param values The enableComponents to add. * @return This builder for chaining. */ public Builder addAllEnableComponents( - java.lang.Iterable< - ? extends com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component> - values) { + java.lang.Iterable values) { ensureEnableComponentsIsMutable(); for (com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component value : values) { enableComponents_.add(value.getNumber()); @@ -858,16 +735,11 @@ public Builder addAllEnableComponents( return this; } /** - * - * *
      * The components to be enabled.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; * @return This builder for chaining. */ public Builder clearEnableComponents() { @@ -877,32 +749,23 @@ public Builder clearEnableComponents() { return this; } /** - * - * *
      * The components to be enabled.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; * @return A list containing the enum numeric values on the wire for enableComponents. */ - public java.util.List getEnableComponentsValueList() { + public java.util.List + getEnableComponentsValueList() { return java.util.Collections.unmodifiableList(enableComponents_); } /** - * - * *
      * The components to be enabled.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of enableComponents at the given index. */ @@ -910,37 +773,28 @@ public int getEnableComponentsValue(int index) { return enableComponents_.get(index); } /** - * - * *
      * The components to be enabled.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; * @param index The index to set the value at. * @param value The enum numeric value on the wire for enableComponents to set. * @return This builder for chaining. */ - public Builder setEnableComponentsValue(int index, int value) { + public Builder setEnableComponentsValue( + int index, int value) { ensureEnableComponentsIsMutable(); enableComponents_.set(index, value); onChanged(); return this; } /** - * - * *
      * The components to be enabled.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; * @param value The enum numeric value on the wire for enableComponents to add. * @return This builder for chaining. */ @@ -951,20 +805,16 @@ public Builder addEnableComponentsValue(int value) { return this; } /** - * - * *
      * The components to be enabled.
      * 
* - * - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; * @param values The enum numeric values on the wire for enableComponents to add. * @return This builder for chaining. */ - public Builder addAllEnableComponentsValue(java.lang.Iterable values) { + public Builder addAllEnableComponentsValue( + java.lang.Iterable values) { ensureEnableComponentsIsMutable(); for (int value : values) { enableComponents_.add(value); @@ -972,9 +822,9 @@ public Builder addAllEnableComponentsValue(java.lang.Iterable onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -984,12 +834,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.LoggingComponentConfig) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.LoggingComponentConfig) private static final com.google.cloud.gkemulticloud.v1.LoggingComponentConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.LoggingComponentConfig(); } @@ -998,27 +848,27 @@ public static com.google.cloud.gkemulticloud.v1.LoggingComponentConfig getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoggingComponentConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LoggingComponentConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1033,4 +883,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfigOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfigOrBuilder.java new file mode 100644 index 000000000000..13a8f48d10d7 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfigOrBuilder.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/common_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface LoggingComponentConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.LoggingComponentConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The components to be enabled.
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * @return A list containing the enableComponents. + */ + java.util.List getEnableComponentsList(); + /** + *
+   * The components to be enabled.
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * @return The count of enableComponents. + */ + int getEnableComponentsCount(); + /** + *
+   * The components to be enabled.
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * @param index The index of the element to return. + * @return The enableComponents at the given index. + */ + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component getEnableComponents(int index); + /** + *
+   * The components to be enabled.
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * @return A list containing the enum numeric values on the wire for enableComponents. + */ + java.util.List + getEnableComponentsValueList(); + /** + *
+   * The components to be enabled.
+   * 
+ * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * @param index The index of the value to return. + * @return The enum numeric value on the wire of enableComponents at the given index. + */ + int getEnableComponentsValue(int index); +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfig.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfig.java similarity index 66% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfig.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfig.java index 5b9b6d7fc7b2..24b8bf2a958f 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfig.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfig.java @@ -1,76 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Parameters that describe the Logging configuration in a cluster.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.LoggingConfig} */ -public final class LoggingConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LoggingConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.LoggingConfig) LoggingConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LoggingConfig.newBuilder() to construct. private LoggingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private LoggingConfig() {} + private LoggingConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LoggingConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.LoggingConfig.class, - com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.LoggingConfig.class, com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder.class); } public static final int COMPONENT_CONFIG_FIELD_NUMBER = 1; private com.google.cloud.gkemulticloud.v1.LoggingComponentConfig componentConfig_; /** - * - * *
    * The configuration of the logging components;
    * 
* * .google.cloud.gkemulticloud.v1.LoggingComponentConfig component_config = 1; - * * @return Whether the componentConfig field is set. */ @java.lang.Override @@ -78,25 +57,18 @@ public boolean hasComponentConfig() { return componentConfig_ != null; } /** - * - * *
    * The configuration of the logging components;
    * 
* * .google.cloud.gkemulticloud.v1.LoggingComponentConfig component_config = 1; - * * @return The componentConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig getComponentConfig() { - return componentConfig_ == null - ? com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.getDefaultInstance() - : componentConfig_; + return componentConfig_ == null ? com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.getDefaultInstance() : componentConfig_; } /** - * - * *
    * The configuration of the logging components;
    * 
@@ -104,15 +76,11 @@ public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig getComponentConf * .google.cloud.gkemulticloud.v1.LoggingComponentConfig component_config = 1; */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.LoggingComponentConfigOrBuilder - getComponentConfigOrBuilder() { - return componentConfig_ == null - ? com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.getDefaultInstance() - : componentConfig_; + public com.google.cloud.gkemulticloud.v1.LoggingComponentConfigOrBuilder getComponentConfigOrBuilder() { + return componentConfig_ == null ? com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.getDefaultInstance() : componentConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -124,7 +92,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (componentConfig_ != null) { output.writeMessage(1, getComponentConfig()); } @@ -138,7 +107,8 @@ public int getSerializedSize() { size = 0; if (componentConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getComponentConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getComponentConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -148,17 +118,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.LoggingConfig)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.LoggingConfig other = - (com.google.cloud.gkemulticloud.v1.LoggingConfig) obj; + com.google.cloud.gkemulticloud.v1.LoggingConfig other = (com.google.cloud.gkemulticloud.v1.LoggingConfig) obj; if (hasComponentConfig() != other.hasComponentConfig()) return false; if (hasComponentConfig()) { - if (!getComponentConfig().equals(other.getComponentConfig())) return false; + if (!getComponentConfig() + .equals(other.getComponentConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -180,136 +150,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.gkemulticloud.v1.LoggingConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.gkemulticloud.v1.LoggingConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.LoggingConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.LoggingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.LoggingConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.LoggingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.LoggingConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.LoggingConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.LoggingConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.LoggingConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.LoggingConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.LoggingConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.LoggingConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.LoggingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.LoggingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Parameters that describe the Logging configuration in a cluster.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.LoggingConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.LoggingConfig) com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.LoggingConfig.class, - com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.LoggingConfig.class, com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.LoggingConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -323,9 +289,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_descriptor; } @java.lang.Override @@ -344,11 +310,8 @@ public com.google.cloud.gkemulticloud.v1.LoggingConfig build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.LoggingConfig buildPartial() { - com.google.cloud.gkemulticloud.v1.LoggingConfig result = - new com.google.cloud.gkemulticloud.v1.LoggingConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.LoggingConfig result = new com.google.cloud.gkemulticloud.v1.LoggingConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -356,8 +319,9 @@ public com.google.cloud.gkemulticloud.v1.LoggingConfig buildPartial() { private void buildPartial0(com.google.cloud.gkemulticloud.v1.LoggingConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.componentConfig_ = - componentConfigBuilder_ == null ? componentConfig_ : componentConfigBuilder_.build(); + result.componentConfig_ = componentConfigBuilder_ == null + ? componentConfig_ + : componentConfigBuilder_.build(); } } @@ -365,39 +329,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.LoggingConfig resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.LoggingConfig) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.LoggingConfig) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.LoggingConfig)other); } else { super.mergeFrom(other); return this; @@ -405,8 +368,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.LoggingConfig other) { - if (other == com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance()) return this; if (other.hasComponentConfig()) { mergeComponentConfig(other.getComponentConfig()); } @@ -436,19 +398,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getComponentConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getComponentConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -458,60 +420,45 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.gkemulticloud.v1.LoggingComponentConfig componentConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig, - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Builder, - com.google.cloud.gkemulticloud.v1.LoggingComponentConfigOrBuilder> - componentConfigBuilder_; + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig, com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Builder, com.google.cloud.gkemulticloud.v1.LoggingComponentConfigOrBuilder> componentConfigBuilder_; /** - * - * *
      * The configuration of the logging components;
      * 
* * .google.cloud.gkemulticloud.v1.LoggingComponentConfig component_config = 1; - * * @return Whether the componentConfig field is set. */ public boolean hasComponentConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The configuration of the logging components;
      * 
* * .google.cloud.gkemulticloud.v1.LoggingComponentConfig component_config = 1; - * * @return The componentConfig. */ public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig getComponentConfig() { if (componentConfigBuilder_ == null) { - return componentConfig_ == null - ? com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.getDefaultInstance() - : componentConfig_; + return componentConfig_ == null ? com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.getDefaultInstance() : componentConfig_; } else { return componentConfigBuilder_.getMessage(); } } /** - * - * *
      * The configuration of the logging components;
      * 
* * .google.cloud.gkemulticloud.v1.LoggingComponentConfig component_config = 1; */ - public Builder setComponentConfig( - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig value) { + public Builder setComponentConfig(com.google.cloud.gkemulticloud.v1.LoggingComponentConfig value) { if (componentConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -525,8 +472,6 @@ public Builder setComponentConfig( return this; } /** - * - * *
      * The configuration of the logging components;
      * 
@@ -545,21 +490,17 @@ public Builder setComponentConfig( return this; } /** - * - * *
      * The configuration of the logging components;
      * 
* * .google.cloud.gkemulticloud.v1.LoggingComponentConfig component_config = 1; */ - public Builder mergeComponentConfig( - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig value) { + public Builder mergeComponentConfig(com.google.cloud.gkemulticloud.v1.LoggingComponentConfig value) { if (componentConfigBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && componentConfig_ != null - && componentConfig_ - != com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + componentConfig_ != null && + componentConfig_ != com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.getDefaultInstance()) { getComponentConfigBuilder().mergeFrom(value); } else { componentConfig_ = value; @@ -572,8 +513,6 @@ public Builder mergeComponentConfig( return this; } /** - * - * *
      * The configuration of the logging components;
      * 
@@ -591,42 +530,33 @@ public Builder clearComponentConfig() { return this; } /** - * - * *
      * The configuration of the logging components;
      * 
* * .google.cloud.gkemulticloud.v1.LoggingComponentConfig component_config = 1; */ - public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Builder - getComponentConfigBuilder() { + public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Builder getComponentConfigBuilder() { bitField0_ |= 0x00000001; onChanged(); return getComponentConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The configuration of the logging components;
      * 
* * .google.cloud.gkemulticloud.v1.LoggingComponentConfig component_config = 1; */ - public com.google.cloud.gkemulticloud.v1.LoggingComponentConfigOrBuilder - getComponentConfigOrBuilder() { + public com.google.cloud.gkemulticloud.v1.LoggingComponentConfigOrBuilder getComponentConfigOrBuilder() { if (componentConfigBuilder_ != null) { return componentConfigBuilder_.getMessageOrBuilder(); } else { - return componentConfig_ == null - ? com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.getDefaultInstance() - : componentConfig_; + return componentConfig_ == null ? + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.getDefaultInstance() : componentConfig_; } } /** - * - * *
      * The configuration of the logging components;
      * 
@@ -634,24 +564,21 @@ public Builder clearComponentConfig() { * .google.cloud.gkemulticloud.v1.LoggingComponentConfig component_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig, - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Builder, - com.google.cloud.gkemulticloud.v1.LoggingComponentConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig, com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Builder, com.google.cloud.gkemulticloud.v1.LoggingComponentConfigOrBuilder> getComponentConfigFieldBuilder() { if (componentConfigBuilder_ == null) { - componentConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig, - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Builder, - com.google.cloud.gkemulticloud.v1.LoggingComponentConfigOrBuilder>( - getComponentConfig(), getParentForChildren(), isClean()); + componentConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig, com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Builder, com.google.cloud.gkemulticloud.v1.LoggingComponentConfigOrBuilder>( + getComponentConfig(), + getParentForChildren(), + isClean()); componentConfig_ = null; } return componentConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -661,12 +588,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.LoggingConfig) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.LoggingConfig) private static final com.google.cloud.gkemulticloud.v1.LoggingConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.LoggingConfig(); } @@ -675,27 +602,27 @@ public static com.google.cloud.gkemulticloud.v1.LoggingConfig getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoggingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LoggingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -710,4 +637,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.LoggingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfigOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfigOrBuilder.java similarity index 62% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfigOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfigOrBuilder.java index ce84ef99d086..70222a1ab87a 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfigOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfigOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface LoggingConfigOrBuilder - extends +public interface LoggingConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.LoggingConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The configuration of the logging components;
    * 
* * .google.cloud.gkemulticloud.v1.LoggingComponentConfig component_config = 1; - * * @return Whether the componentConfig field is set. */ boolean hasComponentConfig(); /** - * - * *
    * The configuration of the logging components;
    * 
* * .google.cloud.gkemulticloud.v1.LoggingComponentConfig component_config = 1; - * * @return The componentConfig. */ com.google.cloud.gkemulticloud.v1.LoggingComponentConfig getComponentConfig(); /** - * - * *
    * The configuration of the logging components;
    * 
diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ManagedPrometheusConfig.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ManagedPrometheusConfig.java similarity index 65% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ManagedPrometheusConfig.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ManagedPrometheusConfig.java index 3a9d428f9171..64f1977520f3 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ManagedPrometheusConfig.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ManagedPrometheusConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * ManagedPrometheusConfig defines the configuration for
  * Google Cloud Managed Service for Prometheus.
@@ -28,50 +11,46 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.ManagedPrometheusConfig}
  */
-public final class ManagedPrometheusConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ManagedPrometheusConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.ManagedPrometheusConfig)
     ManagedPrometheusConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ManagedPrometheusConfig.newBuilder() to construct.
   private ManagedPrometheusConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ManagedPrometheusConfig() {}
+  private ManagedPrometheusConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ManagedPrometheusConfig();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.CommonResourcesProto
-        .internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.CommonResourcesProto
-        .internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.class,
-            com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.Builder.class);
+            com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.class, com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.Builder.class);
   }
 
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_ = false;
   /**
-   *
-   *
    * 
    * Enable Managed Collection.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -80,7 +59,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -92,7 +70,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -106,7 +85,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -116,15 +96,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig other = - (com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig) obj; + com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig other = (com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -137,111 +117,106 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ManagedPrometheusConfig defines the configuration for
    * Google Cloud Managed Service for Prometheus.
@@ -249,32 +224,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.ManagedPrometheusConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.ManagedPrometheusConfig)
       com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.CommonResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.CommonResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.class,
-              com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.Builder.class);
+              com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.class, com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -284,9 +260,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.CommonResourcesProto
-          .internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_descriptor;
     }
 
     @java.lang.Override
@@ -305,11 +281,8 @@ public com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig buildPartial() {
-      com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig result =
-          new com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig result = new com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -325,39 +298,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.ManagedPrometheusCo
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig) other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -365,8 +337,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig other) {
-      if (other == com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.getDefaultInstance()) return this;
       if (other.getEnabled() != false) {
         setEnabled(other.getEnabled());
       }
@@ -396,19 +367,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                enabled_ = input.readBool();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              enabled_ = input.readBool();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -418,19 +387,15 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private boolean enabled_;
+    private boolean enabled_ ;
     /**
-     *
-     *
      * 
      * Enable Managed Collection.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -438,14 +403,11 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Enable Managed Collection.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ @@ -457,14 +419,11 @@ public Builder setEnabled(boolean value) { return this; } /** - * - * *
      * Enable Managed Collection.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { @@ -473,9 +432,9 @@ public Builder clearEnabled() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -485,12 +444,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.ManagedPrometheusConfig) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.ManagedPrometheusConfig) private static final com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig(); } @@ -499,27 +458,27 @@ public static com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ManagedPrometheusConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ManagedPrometheusConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -534,4 +493,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ManagedPrometheusConfigOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ManagedPrometheusConfigOrBuilder.java new file mode 100644 index 000000000000..63566f3a8a55 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ManagedPrometheusConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/common_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface ManagedPrometheusConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.ManagedPrometheusConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Enable Managed Collection.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraint.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraint.java similarity index 66% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraint.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraint.java index 68832fe2aa6b..3a8a085330f6 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraint.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraint.java @@ -1,76 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Constraints applied to pods.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.MaxPodsConstraint} */ -public final class MaxPodsConstraint extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MaxPodsConstraint extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.MaxPodsConstraint) MaxPodsConstraintOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MaxPodsConstraint.newBuilder() to construct. private MaxPodsConstraint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private MaxPodsConstraint() {} + private MaxPodsConstraint() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MaxPodsConstraint(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.class, - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder.class); + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.class, com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder.class); } public static final int MAX_PODS_PER_NODE_FIELD_NUMBER = 1; private long maxPodsPerNode_ = 0L; /** - * - * *
    * Required. The maximum number of pods to schedule on a single node.
    * 
* * int64 max_pods_per_node = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The maxPodsPerNode. */ @java.lang.Override @@ -79,7 +58,6 @@ public long getMaxPodsPerNode() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -91,7 +69,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (maxPodsPerNode_ != 0L) { output.writeInt64(1, maxPodsPerNode_); } @@ -105,7 +84,8 @@ public int getSerializedSize() { size = 0; if (maxPodsPerNode_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, maxPodsPerNode_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, maxPodsPerNode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -115,15 +95,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.MaxPodsConstraint)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint other = - (com.google.cloud.gkemulticloud.v1.MaxPodsConstraint) obj; + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint other = (com.google.cloud.gkemulticloud.v1.MaxPodsConstraint) obj; - if (getMaxPodsPerNode() != other.getMaxPodsPerNode()) return false; + if (getMaxPodsPerNode() + != other.getMaxPodsPerNode()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -136,142 +116,139 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MAX_PODS_PER_NODE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxPodsPerNode()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMaxPodsPerNode()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.gkemulticloud.v1.MaxPodsConstraint parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.MaxPodsConstraint parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.MaxPodsConstraint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.MaxPodsConstraint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.MaxPodsConstraint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.MaxPodsConstraint parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.MaxPodsConstraint parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.MaxPodsConstraint parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.MaxPodsConstraint parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.MaxPodsConstraint parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.MaxPodsConstraint parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.MaxPodsConstraint parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.MaxPodsConstraint parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.MaxPodsConstraint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.MaxPodsConstraint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Constraints applied to pods.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.MaxPodsConstraint} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.MaxPodsConstraint) com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.class, - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder.class); + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.class, com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -281,9 +258,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_descriptor; } @java.lang.Override @@ -302,11 +279,8 @@ public com.google.cloud.gkemulticloud.v1.MaxPodsConstraint build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.MaxPodsConstraint buildPartial() { - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint result = - new com.google.cloud.gkemulticloud.v1.MaxPodsConstraint(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint result = new com.google.cloud.gkemulticloud.v1.MaxPodsConstraint(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -322,39 +296,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.MaxPodsConstraint r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.MaxPodsConstraint) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.MaxPodsConstraint) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.MaxPodsConstraint)other); } else { super.mergeFrom(other); return this; @@ -362,8 +335,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.MaxPodsConstraint other) { - if (other == com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance()) return this; if (other.getMaxPodsPerNode() != 0L) { setMaxPodsPerNode(other.getMaxPodsPerNode()); } @@ -393,19 +365,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - maxPodsPerNode_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + maxPodsPerNode_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -415,19 +385,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long maxPodsPerNode_; + private long maxPodsPerNode_ ; /** - * - * *
      * Required. The maximum number of pods to schedule on a single node.
      * 
* * int64 max_pods_per_node = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The maxPodsPerNode. */ @java.lang.Override @@ -435,14 +401,11 @@ public long getMaxPodsPerNode() { return maxPodsPerNode_; } /** - * - * *
      * Required. The maximum number of pods to schedule on a single node.
      * 
* * int64 max_pods_per_node = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The maxPodsPerNode to set. * @return This builder for chaining. */ @@ -454,14 +417,11 @@ public Builder setMaxPodsPerNode(long value) { return this; } /** - * - * *
      * Required. The maximum number of pods to schedule on a single node.
      * 
* * int64 max_pods_per_node = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearMaxPodsPerNode() { @@ -470,9 +430,9 @@ public Builder clearMaxPodsPerNode() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -482,12 +442,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.MaxPodsConstraint) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.MaxPodsConstraint) private static final com.google.cloud.gkemulticloud.v1.MaxPodsConstraint DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.MaxPodsConstraint(); } @@ -496,27 +456,27 @@ public static com.google.cloud.gkemulticloud.v1.MaxPodsConstraint getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MaxPodsConstraint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MaxPodsConstraint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -531,4 +491,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.MaxPodsConstraint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraintOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraintOrBuilder.java new file mode 100644 index 000000000000..3284635e0d16 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraintOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/common_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface MaxPodsConstraintOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.MaxPodsConstraint) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The maximum number of pods to schedule on a single node.
+   * 
+ * + * int64 max_pods_per_node = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The maxPodsPerNode. + */ + long getMaxPodsPerNode(); +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MonitoringConfig.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MonitoringConfig.java similarity index 64% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MonitoringConfig.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MonitoringConfig.java index 1d72eb23934a..126017fa0331 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MonitoringConfig.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MonitoringConfig.java @@ -1,77 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Parameters that describe the Monitoring configuration in a cluster.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.MonitoringConfig} */ -public final class MonitoringConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MonitoringConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.MonitoringConfig) MonitoringConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MonitoringConfig.newBuilder() to construct. private MonitoringConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private MonitoringConfig() {} + private MonitoringConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MonitoringConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.MonitoringConfig.class, - com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.MonitoringConfig.class, com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder.class); } public static final int MANAGED_PROMETHEUS_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managedPrometheusConfig_; /** - * - * *
    * Enable Google Cloud Managed Service for Prometheus in the cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; - * - * + * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; * @return Whether the managedPrometheusConfig field is set. */ @java.lang.Override @@ -79,43 +57,30 @@ public boolean hasManagedPrometheusConfig() { return managedPrometheusConfig_ != null; } /** - * - * *
    * Enable Google Cloud Managed Service for Prometheus in the cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; - * - * + * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; * @return The managedPrometheusConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig getManagedPrometheusConfig() { - return managedPrometheusConfig_ == null - ? com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.getDefaultInstance() - : managedPrometheusConfig_; + return managedPrometheusConfig_ == null ? com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.getDefaultInstance() : managedPrometheusConfig_; } /** - * - * *
    * Enable Google Cloud Managed Service for Prometheus in the cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; - * + * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfigOrBuilder - getManagedPrometheusConfigOrBuilder() { - return managedPrometheusConfig_ == null - ? com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.getDefaultInstance() - : managedPrometheusConfig_; + public com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfigOrBuilder getManagedPrometheusConfigOrBuilder() { + return managedPrometheusConfig_ == null ? com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.getDefaultInstance() : managedPrometheusConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -127,7 +92,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (managedPrometheusConfig_ != null) { output.writeMessage(2, getManagedPrometheusConfig()); } @@ -141,8 +107,8 @@ public int getSerializedSize() { size = 0; if (managedPrometheusConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, getManagedPrometheusConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getManagedPrometheusConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -152,17 +118,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.MonitoringConfig)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.MonitoringConfig other = - (com.google.cloud.gkemulticloud.v1.MonitoringConfig) obj; + com.google.cloud.gkemulticloud.v1.MonitoringConfig other = (com.google.cloud.gkemulticloud.v1.MonitoringConfig) obj; if (hasManagedPrometheusConfig() != other.hasManagedPrometheusConfig()) return false; if (hasManagedPrometheusConfig()) { - if (!getManagedPrometheusConfig().equals(other.getManagedPrometheusConfig())) return false; + if (!getManagedPrometheusConfig() + .equals(other.getManagedPrometheusConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -185,135 +151,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.MonitoringConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.MonitoringConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.MonitoringConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.MonitoringConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.MonitoringConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.MonitoringConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.MonitoringConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.MonitoringConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.MonitoringConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.MonitoringConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.MonitoringConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.MonitoringConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.MonitoringConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.MonitoringConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.MonitoringConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Parameters that describe the Monitoring configuration in a cluster.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.MonitoringConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.MonitoringConfig) com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.MonitoringConfig.class, - com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.MonitoringConfig.class, com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.MonitoringConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -327,9 +289,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_descriptor; } @java.lang.Override @@ -348,11 +310,8 @@ public com.google.cloud.gkemulticloud.v1.MonitoringConfig build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.MonitoringConfig buildPartial() { - com.google.cloud.gkemulticloud.v1.MonitoringConfig result = - new com.google.cloud.gkemulticloud.v1.MonitoringConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.MonitoringConfig result = new com.google.cloud.gkemulticloud.v1.MonitoringConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -360,10 +319,9 @@ public com.google.cloud.gkemulticloud.v1.MonitoringConfig buildPartial() { private void buildPartial0(com.google.cloud.gkemulticloud.v1.MonitoringConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.managedPrometheusConfig_ = - managedPrometheusConfigBuilder_ == null - ? managedPrometheusConfig_ - : managedPrometheusConfigBuilder_.build(); + result.managedPrometheusConfig_ = managedPrometheusConfigBuilder_ == null + ? managedPrometheusConfig_ + : managedPrometheusConfigBuilder_.build(); } } @@ -371,39 +329,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.MonitoringConfig re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.MonitoringConfig) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.MonitoringConfig) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.MonitoringConfig)other); } else { super.mergeFrom(other); return this; @@ -411,8 +368,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.MonitoringConfig other) { - if (other == com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance()) return this; if (other.hasManagedPrometheusConfig()) { mergeManagedPrometheusConfig(other.getManagedPrometheusConfig()); } @@ -442,20 +398,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - input.readMessage( - getManagedPrometheusConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + input.readMessage( + getManagedPrometheusConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -465,63 +420,45 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managedPrometheusConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig, - com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.Builder, - com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfigOrBuilder> - managedPrometheusConfigBuilder_; + com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig, com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.Builder, com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfigOrBuilder> managedPrometheusConfigBuilder_; /** - * - * *
      * Enable Google Cloud Managed Service for Prometheus in the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; - * - * + * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; * @return Whether the managedPrometheusConfig field is set. */ public boolean hasManagedPrometheusConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Enable Google Cloud Managed Service for Prometheus in the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; - * - * + * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; * @return The managedPrometheusConfig. */ public com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig getManagedPrometheusConfig() { if (managedPrometheusConfigBuilder_ == null) { - return managedPrometheusConfig_ == null - ? com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.getDefaultInstance() - : managedPrometheusConfig_; + return managedPrometheusConfig_ == null ? com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.getDefaultInstance() : managedPrometheusConfig_; } else { return managedPrometheusConfigBuilder_.getMessage(); } } /** - * - * *
      * Enable Google Cloud Managed Service for Prometheus in the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; - * + * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; */ - public Builder setManagedPrometheusConfig( - com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig value) { + public Builder setManagedPrometheusConfig(com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig value) { if (managedPrometheusConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -535,14 +472,11 @@ public Builder setManagedPrometheusConfig( return this; } /** - * - * *
      * Enable Google Cloud Managed Service for Prometheus in the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; - * + * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; */ public Builder setManagedPrometheusConfig( com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.Builder builderForValue) { @@ -556,22 +490,17 @@ public Builder setManagedPrometheusConfig( return this; } /** - * - * *
      * Enable Google Cloud Managed Service for Prometheus in the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; - * + * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; */ - public Builder mergeManagedPrometheusConfig( - com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig value) { + public Builder mergeManagedPrometheusConfig(com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig value) { if (managedPrometheusConfigBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && managedPrometheusConfig_ != null - && managedPrometheusConfig_ - != com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + managedPrometheusConfig_ != null && + managedPrometheusConfig_ != com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.getDefaultInstance()) { getManagedPrometheusConfigBuilder().mergeFrom(value); } else { managedPrometheusConfig_ = value; @@ -584,14 +513,11 @@ public Builder mergeManagedPrometheusConfig( return this; } /** - * - * *
      * Enable Google Cloud Managed Service for Prometheus in the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; - * + * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; */ public Builder clearManagedPrometheusConfig() { bitField0_ = (bitField0_ & ~0x00000001); @@ -604,70 +530,55 @@ public Builder clearManagedPrometheusConfig() { return this; } /** - * - * *
      * Enable Google Cloud Managed Service for Prometheus in the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; - * + * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; */ - public com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.Builder - getManagedPrometheusConfigBuilder() { + public com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.Builder getManagedPrometheusConfigBuilder() { bitField0_ |= 0x00000001; onChanged(); return getManagedPrometheusConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Enable Google Cloud Managed Service for Prometheus in the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; - * + * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; */ - public com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfigOrBuilder - getManagedPrometheusConfigOrBuilder() { + public com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfigOrBuilder getManagedPrometheusConfigOrBuilder() { if (managedPrometheusConfigBuilder_ != null) { return managedPrometheusConfigBuilder_.getMessageOrBuilder(); } else { - return managedPrometheusConfig_ == null - ? com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.getDefaultInstance() - : managedPrometheusConfig_; + return managedPrometheusConfig_ == null ? + com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.getDefaultInstance() : managedPrometheusConfig_; } } /** - * - * *
      * Enable Google Cloud Managed Service for Prometheus in the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; - * + * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig, - com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.Builder, - com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig, com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.Builder, com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfigOrBuilder> getManagedPrometheusConfigFieldBuilder() { if (managedPrometheusConfigBuilder_ == null) { - managedPrometheusConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig, - com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.Builder, - com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfigOrBuilder>( - getManagedPrometheusConfig(), getParentForChildren(), isClean()); + managedPrometheusConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig, com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.Builder, com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfigOrBuilder>( + getManagedPrometheusConfig(), + getParentForChildren(), + isClean()); managedPrometheusConfig_ = null; } return managedPrometheusConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -677,12 +588,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.MonitoringConfig) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.MonitoringConfig) private static final com.google.cloud.gkemulticloud.v1.MonitoringConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.MonitoringConfig(); } @@ -691,27 +602,27 @@ public static com.google.cloud.gkemulticloud.v1.MonitoringConfig getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MonitoringConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MonitoringConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -726,4 +637,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.MonitoringConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MonitoringConfigOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MonitoringConfigOrBuilder.java similarity index 56% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MonitoringConfigOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MonitoringConfigOrBuilder.java index 6ab788567816..75e5d36a2cff 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MonitoringConfigOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MonitoringConfigOrBuilder.java @@ -1,64 +1,36 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface MonitoringConfigOrBuilder - extends +public interface MonitoringConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.MonitoringConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Enable Google Cloud Managed Service for Prometheus in the cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; - * - * + * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; * @return Whether the managedPrometheusConfig field is set. */ boolean hasManagedPrometheusConfig(); /** - * - * *
    * Enable Google Cloud Managed Service for Prometheus in the cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; - * - * + * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; * @return The managedPrometheusConfig. */ com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig getManagedPrometheusConfig(); /** - * - * *
    * Enable Google Cloud Managed Service for Prometheus in the cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; - * + * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; */ - com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfigOrBuilder - getManagedPrometheusConfigOrBuilder(); + com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfigOrBuilder getManagedPrometheusConfigOrBuilder(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaint.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaint.java similarity index 68% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaint.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaint.java index 0139d0800b47..38241e397182 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaint.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaint.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * The taint content for the node taint.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.NodeTaint} */ -public final class NodeTaint extends com.google.protobuf.GeneratedMessageV3 - implements +public final class NodeTaint extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.NodeTaint) NodeTaintOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use NodeTaint.newBuilder() to construct. private NodeTaint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NodeTaint() { key_ = ""; value_ = ""; @@ -45,38 +27,34 @@ private NodeTaint() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NodeTaint(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_NodeTaint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_NodeTaint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_NodeTaint_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_NodeTaint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.NodeTaint.class, - com.google.cloud.gkemulticloud.v1.NodeTaint.Builder.class); + com.google.cloud.gkemulticloud.v1.NodeTaint.class, com.google.cloud.gkemulticloud.v1.NodeTaint.Builder.class); } /** - * - * *
    * The taint effect.
    * 
* * Protobuf enum {@code google.cloud.gkemulticloud.v1.NodeTaint.Effect} */ - public enum Effect implements com.google.protobuf.ProtocolMessageEnum { + public enum Effect + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not set.
      * 
@@ -85,8 +63,6 @@ public enum Effect implements com.google.protobuf.ProtocolMessageEnum { */ EFFECT_UNSPECIFIED(0), /** - * - * *
      * Do not allow new pods to schedule onto the node unless they tolerate the
      * taint, but allow all pods submitted to Kubelet without going through the
@@ -98,8 +74,6 @@ public enum Effect implements com.google.protobuf.ProtocolMessageEnum {
      */
     NO_SCHEDULE(1),
     /**
-     *
-     *
      * 
      * Like TaintEffectNoSchedule, but the scheduler tries not to schedule
      * new pods onto the node, rather than prohibiting new pods from scheduling
@@ -110,8 +84,6 @@ public enum Effect implements com.google.protobuf.ProtocolMessageEnum {
      */
     PREFER_NO_SCHEDULE(2),
     /**
-     *
-     *
      * 
      * Evict any already-running pods that do not tolerate the taint.
      * Currently enforced by NodeController.
@@ -124,8 +96,6 @@ public enum Effect implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not set.
      * 
@@ -134,8 +104,6 @@ public enum Effect implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EFFECT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Do not allow new pods to schedule onto the node unless they tolerate the
      * taint, but allow all pods submitted to Kubelet without going through the
@@ -147,8 +115,6 @@ public enum Effect implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NO_SCHEDULE_VALUE = 1;
     /**
-     *
-     *
      * 
      * Like TaintEffectNoSchedule, but the scheduler tries not to schedule
      * new pods onto the node, rather than prohibiting new pods from scheduling
@@ -159,8 +125,6 @@ public enum Effect implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PREFER_NO_SCHEDULE_VALUE = 2;
     /**
-     *
-     *
      * 
      * Evict any already-running pods that do not tolerate the taint.
      * Currently enforced by NodeController.
@@ -170,6 +134,7 @@ public enum Effect implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NO_EXECUTE_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -194,51 +159,50 @@ public static Effect valueOf(int value) {
      */
     public static Effect forNumber(int value) {
       switch (value) {
-        case 0:
-          return EFFECT_UNSPECIFIED;
-        case 1:
-          return NO_SCHEDULE;
-        case 2:
-          return PREFER_NO_SCHEDULE;
-        case 3:
-          return NO_EXECUTE;
-        default:
-          return null;
+        case 0: return EFFECT_UNSPECIFIED;
+        case 1: return NO_SCHEDULE;
+        case 2: return PREFER_NO_SCHEDULE;
+        case 3: return NO_EXECUTE;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
-
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Effect findValueByNumber(int number) {
-            return Effect.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Effect> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Effect findValueByNumber(int number) {
+              return Effect.forNumber(number);
+            }
+          };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.gkemulticloud.v1.NodeTaint.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Effect[] VALUES = values();
 
-    public static Effect valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Effect valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -256,18 +220,14 @@ private Effect(int value) {
   }
 
   public static final int KEY_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object key_ = "";
   /**
-   *
-   *
    * 
    * Required. Key for the taint.
    * 
* * string key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The key. */ @java.lang.Override @@ -276,29 +236,29 @@ public java.lang.String getKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; } } /** - * - * *
    * Required. Key for the taint.
    * 
* * string key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for key. */ @java.lang.Override - public com.google.protobuf.ByteString getKeyBytes() { + public com.google.protobuf.ByteString + getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); key_ = b; return b; } else { @@ -307,18 +267,14 @@ public com.google.protobuf.ByteString getKeyBytes() { } public static final int VALUE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object value_ = ""; /** - * - * *
    * Required. Value for the taint.
    * 
* * string value = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The value. */ @java.lang.Override @@ -327,29 +283,29 @@ public java.lang.String getValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; } } /** - * - * *
    * Required. Value for the taint.
    * 
* * string value = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); value_ = b; return b; } else { @@ -360,46 +316,30 @@ public com.google.protobuf.ByteString getValueBytes() { public static final int EFFECT_FIELD_NUMBER = 3; private int effect_ = 0; /** - * - * *
    * Required. The taint effect.
    * 
* - * - * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for effect. */ - @java.lang.Override - public int getEffectValue() { + @java.lang.Override public int getEffectValue() { return effect_; } /** - * - * *
    * Required. The taint effect.
    * 
* - * - * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The effect. */ - @java.lang.Override - public com.google.cloud.gkemulticloud.v1.NodeTaint.Effect getEffect() { - com.google.cloud.gkemulticloud.v1.NodeTaint.Effect result = - com.google.cloud.gkemulticloud.v1.NodeTaint.Effect.forNumber(effect_); - return result == null - ? com.google.cloud.gkemulticloud.v1.NodeTaint.Effect.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.gkemulticloud.v1.NodeTaint.Effect getEffect() { + com.google.cloud.gkemulticloud.v1.NodeTaint.Effect result = com.google.cloud.gkemulticloud.v1.NodeTaint.Effect.forNumber(effect_); + return result == null ? com.google.cloud.gkemulticloud.v1.NodeTaint.Effect.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -411,15 +351,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_); } - if (effect_ - != com.google.cloud.gkemulticloud.v1.NodeTaint.Effect.EFFECT_UNSPECIFIED.getNumber()) { + if (effect_ != com.google.cloud.gkemulticloud.v1.NodeTaint.Effect.EFFECT_UNSPECIFIED.getNumber()) { output.writeEnum(3, effect_); } getUnknownFields().writeTo(output); @@ -437,9 +377,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); } - if (effect_ - != com.google.cloud.gkemulticloud.v1.NodeTaint.Effect.EFFECT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, effect_); + if (effect_ != com.google.cloud.gkemulticloud.v1.NodeTaint.Effect.EFFECT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, effect_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -449,16 +389,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.NodeTaint)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.NodeTaint other = - (com.google.cloud.gkemulticloud.v1.NodeTaint) obj; + com.google.cloud.gkemulticloud.v1.NodeTaint other = (com.google.cloud.gkemulticloud.v1.NodeTaint) obj; - if (!getKey().equals(other.getKey())) return false; - if (!getValue().equals(other.getValue())) return false; + if (!getKey() + .equals(other.getKey())) return false; + if (!getValue() + .equals(other.getValue())) return false; if (effect_ != other.effect_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -482,136 +423,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.gkemulticloud.v1.NodeTaint parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.gkemulticloud.v1.NodeTaint parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.NodeTaint parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.NodeTaint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.NodeTaint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.NodeTaint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.NodeTaint parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.NodeTaint parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.NodeTaint parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.NodeTaint parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.NodeTaint parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.NodeTaint parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.NodeTaint parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.NodeTaint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.NodeTaint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The taint content for the node taint.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.NodeTaint} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.NodeTaint) com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_NodeTaint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_NodeTaint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_NodeTaint_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_NodeTaint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.NodeTaint.class, - com.google.cloud.gkemulticloud.v1.NodeTaint.Builder.class); + com.google.cloud.gkemulticloud.v1.NodeTaint.class, com.google.cloud.gkemulticloud.v1.NodeTaint.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.NodeTaint.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -623,9 +560,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_NodeTaint_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_NodeTaint_descriptor; } @java.lang.Override @@ -644,11 +581,8 @@ public com.google.cloud.gkemulticloud.v1.NodeTaint build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.NodeTaint buildPartial() { - com.google.cloud.gkemulticloud.v1.NodeTaint result = - new com.google.cloud.gkemulticloud.v1.NodeTaint(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.NodeTaint result = new com.google.cloud.gkemulticloud.v1.NodeTaint(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -670,39 +604,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.NodeTaint result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.NodeTaint) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.NodeTaint) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.NodeTaint)other); } else { super.mergeFrom(other); return this; @@ -750,31 +683,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - key_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - value_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - effect_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + key_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + value_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + effect_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -784,25 +713,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object key_ = ""; /** - * - * *
      * Required. Key for the taint.
      * 
* * string key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; @@ -811,21 +737,20 @@ public java.lang.String getKey() { } } /** - * - * *
      * Required. Key for the taint.
      * 
* * string key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for key. */ - public com.google.protobuf.ByteString getKeyBytes() { + public com.google.protobuf.ByteString + getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); key_ = b; return b; } else { @@ -833,35 +758,28 @@ public com.google.protobuf.ByteString getKeyBytes() { } } /** - * - * *
      * Required. Key for the taint.
      * 
* * string key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The key to set. * @return This builder for chaining. */ - public Builder setKey(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKey( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } key_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Key for the taint.
      * 
* * string key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearKey() { @@ -871,21 +789,17 @@ public Builder clearKey() { return this; } /** - * - * *
      * Required. Key for the taint.
      * 
* * string key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for key to set. * @return This builder for chaining. */ - public Builder setKeyBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKeyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); key_ = value; bitField0_ |= 0x00000001; @@ -895,20 +809,18 @@ public Builder setKeyBytes(com.google.protobuf.ByteString value) { private java.lang.Object value_ = ""; /** - * - * *
      * Required. Value for the taint.
      * 
* * string value = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; @@ -917,21 +829,20 @@ public java.lang.String getValue() { } } /** - * - * *
      * Required. Value for the taint.
      * 
* * string value = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for value. */ - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); value_ = b; return b; } else { @@ -939,35 +850,28 @@ public com.google.protobuf.ByteString getValueBytes() { } } /** - * - * *
      * Required. Value for the taint.
      * 
* * string value = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } value_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. Value for the taint.
      * 
* * string value = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearValue() { @@ -977,21 +881,17 @@ public Builder clearValue() { return this; } /** - * - * *
      * Required. Value for the taint.
      * 
* * string value = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); value_ = value; bitField0_ |= 0x00000002; @@ -1001,33 +901,22 @@ public Builder setValueBytes(com.google.protobuf.ByteString value) { private int effect_ = 0; /** - * - * *
      * Required. The taint effect.
      * 
* - * - * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for effect. */ - @java.lang.Override - public int getEffectValue() { + @java.lang.Override public int getEffectValue() { return effect_; } /** - * - * *
      * Required. The taint effect.
      * 
* - * - * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for effect to set. * @return This builder for chaining. */ @@ -1038,37 +927,24 @@ public Builder setEffectValue(int value) { return this; } /** - * - * *
      * Required. The taint effect.
      * 
* - * - * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The effect. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.NodeTaint.Effect getEffect() { - com.google.cloud.gkemulticloud.v1.NodeTaint.Effect result = - com.google.cloud.gkemulticloud.v1.NodeTaint.Effect.forNumber(effect_); - return result == null - ? com.google.cloud.gkemulticloud.v1.NodeTaint.Effect.UNRECOGNIZED - : result; + com.google.cloud.gkemulticloud.v1.NodeTaint.Effect result = com.google.cloud.gkemulticloud.v1.NodeTaint.Effect.forNumber(effect_); + return result == null ? com.google.cloud.gkemulticloud.v1.NodeTaint.Effect.UNRECOGNIZED : result; } /** - * - * *
      * Required. The taint effect.
      * 
* - * - * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The effect to set. * @return This builder for chaining. */ @@ -1082,16 +958,11 @@ public Builder setEffect(com.google.cloud.gkemulticloud.v1.NodeTaint.Effect valu return this; } /** - * - * *
      * Required. The taint effect.
      * 
* - * - * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearEffect() { @@ -1100,9 +971,9 @@ public Builder clearEffect() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1112,12 +983,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.NodeTaint) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.NodeTaint) private static final com.google.cloud.gkemulticloud.v1.NodeTaint DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.NodeTaint(); } @@ -1126,27 +997,27 @@ public static com.google.cloud.gkemulticloud.v1.NodeTaint getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeTaint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeTaint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1161,4 +1032,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.NodeTaint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaintOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaintOrBuilder.java similarity index 56% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaintOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaintOrBuilder.java index 1b9338760f64..d1817e341267 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaintOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaintOrBuilder.java @@ -1,103 +1,67 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface NodeTaintOrBuilder - extends +public interface NodeTaintOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.NodeTaint) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Key for the taint.
    * 
* * string key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The key. */ java.lang.String getKey(); /** - * - * *
    * Required. Key for the taint.
    * 
* * string key = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for key. */ - com.google.protobuf.ByteString getKeyBytes(); + com.google.protobuf.ByteString + getKeyBytes(); /** - * - * *
    * Required. Value for the taint.
    * 
* * string value = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The value. */ java.lang.String getValue(); /** - * - * *
    * Required. Value for the taint.
    * 
* * string value = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for value. */ - com.google.protobuf.ByteString getValueBytes(); + com.google.protobuf.ByteString + getValueBytes(); /** - * - * *
    * Required. The taint effect.
    * 
* - * - * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for effect. */ int getEffectValue(); /** - * - * *
    * Required. The taint effect.
    * 
* - * - * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The effect. */ com.google.cloud.gkemulticloud.v1.NodeTaint.Effect getEffect(); diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadata.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadata.java similarity index 71% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadata.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadata.java index dccc80e0bac8..67e1aa2f8a15 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadata.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadata.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Metadata about a long-running operation.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.OperationMetadata} */ -public final class OperationMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OperationMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.OperationMetadata) OperationMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OperationMetadata() { target_ = ""; statusDetail_ = ""; @@ -46,37 +28,32 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.OperationMetadata.class, - com.google.cloud.gkemulticloud.v1.OperationMetadata.Builder.class); + com.google.cloud.gkemulticloud.v1.OperationMetadata.class, com.google.cloud.gkemulticloud.v1.OperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time at which this operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -84,15 +61,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time at which this operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -100,14 +73,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time at which this operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -117,15 +87,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. The time at which this operation was completed.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -133,15 +99,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Output only. The time at which this operation was completed.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -149,14 +111,11 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. The time at which this operation was completed.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -164,18 +123,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } public static final int TARGET_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object target_ = ""; /** - * - * *
    * Output only. The name of the resource associated to this operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The target. */ @java.lang.Override @@ -184,29 +139,29 @@ public java.lang.String getTarget() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; } } /** - * - * *
    * Output only. The name of the resource associated to this operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString getTargetBytes() { + public com.google.protobuf.ByteString + getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); target_ = b; return b; } else { @@ -215,18 +170,14 @@ public com.google.protobuf.ByteString getTargetBytes() { } public static final int STATUS_DETAIL_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object statusDetail_ = ""; /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_detail = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The statusDetail. */ @java.lang.Override @@ -235,29 +186,29 @@ public java.lang.String getStatusDetail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusDetail_ = s; return s; } } /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_detail = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for statusDetail. */ @java.lang.Override - public com.google.protobuf.ByteString getStatusDetailBytes() { + public com.google.protobuf.ByteString + getStatusDetailBytes() { java.lang.Object ref = statusDetail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusDetail_ = b; return b; } else { @@ -266,19 +217,15 @@ public com.google.protobuf.ByteString getStatusDetailBytes() { } public static final int ERROR_DETAIL_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object errorDetail_ = ""; /** - * - * *
    * Output only. Human-readable status of any error that occurred during the
    * operation.
    * 
* * string error_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The errorDetail. */ @java.lang.Override @@ -287,30 +234,30 @@ public java.lang.String getErrorDetail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorDetail_ = s; return s; } } /** - * - * *
    * Output only. Human-readable status of any error that occurred during the
    * operation.
    * 
* * string error_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for errorDetail. */ @java.lang.Override - public com.google.protobuf.ByteString getErrorDetailBytes() { + public com.google.protobuf.ByteString + getErrorDetailBytes() { java.lang.Object ref = errorDetail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); errorDetail_ = b; return b; } else { @@ -319,19 +266,15 @@ public com.google.protobuf.ByteString getErrorDetailBytes() { } public static final int VERB_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object verb_ = ""; /** - * - * *
    * Output only. The verb associated with the API method which triggered this
    * operation. Possible values are "create", "delete", "update" and "import".
    * 
* * string verb = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The verb. */ @java.lang.Override @@ -340,30 +283,30 @@ public java.lang.String getVerb() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; } } /** - * - * *
    * Output only. The verb associated with the API method which triggered this
    * operation. Possible values are "create", "delete", "update" and "import".
    * 
* * string verb = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for verb. */ @java.lang.Override - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); verb_ = b; return b; } else { @@ -374,8 +317,6 @@ public com.google.protobuf.ByteString getVerbBytes() { public static final int REQUESTED_CANCELLATION_FIELD_NUMBER = 6; private boolean requestedCancellation_ = false; /** - * - * *
    * Output only. Identifies whether it has been requested cancellation
    * for the operation. Operations that have successfully been cancelled
@@ -385,7 +326,6 @@ public com.google.protobuf.ByteString getVerbBytes() {
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ @java.lang.Override @@ -394,7 +334,6 @@ public boolean getRequestedCancellation() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -406,7 +345,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -438,10 +378,12 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -453,7 +395,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, errorDetail_); } if (requestedCancellation_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requestedCancellation_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, requestedCancellation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(verb_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, verb_); @@ -466,27 +409,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.OperationMetadata other = - (com.google.cloud.gkemulticloud.v1.OperationMetadata) obj; + com.google.cloud.gkemulticloud.v1.OperationMetadata other = (com.google.cloud.gkemulticloud.v1.OperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; - } - if (!getTarget().equals(other.getTarget())) return false; - if (!getStatusDetail().equals(other.getStatusDetail())) return false; - if (!getErrorDetail().equals(other.getErrorDetail())) return false; - if (!getVerb().equals(other.getVerb())) return false; - if (getRequestedCancellation() != other.getRequestedCancellation()) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; + } + if (!getTarget() + .equals(other.getTarget())) return false; + if (!getStatusDetail() + .equals(other.getStatusDetail())) return false; + if (!getErrorDetail() + .equals(other.getErrorDetail())) return false; + if (!getVerb() + .equals(other.getVerb())) return false; + if (getRequestedCancellation() + != other.getRequestedCancellation()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -515,142 +464,139 @@ public int hashCode() { hash = (37 * hash) + VERB_FIELD_NUMBER; hash = (53 * hash) + getVerb().hashCode(); hash = (37 * hash) + REQUESTED_CANCELLATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequestedCancellation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRequestedCancellation()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.gkemulticloud.v1.OperationMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.OperationMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.OperationMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.OperationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.OperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.OperationMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.OperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.OperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.OperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata about a long-running operation.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.OperationMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.OperationMetadata) com.google.cloud.gkemulticloud.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.OperationMetadata.class, - com.google.cloud.gkemulticloud.v1.OperationMetadata.Builder.class); + com.google.cloud.gkemulticloud.v1.OperationMetadata.class, com.google.cloud.gkemulticloud.v1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.OperationMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -674,9 +620,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -695,11 +641,8 @@ public com.google.cloud.gkemulticloud.v1.OperationMetadata build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.OperationMetadata buildPartial() { - com.google.cloud.gkemulticloud.v1.OperationMetadata result = - new com.google.cloud.gkemulticloud.v1.OperationMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.OperationMetadata result = new com.google.cloud.gkemulticloud.v1.OperationMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -707,10 +650,14 @@ public com.google.cloud.gkemulticloud.v1.OperationMetadata buildPartial() { private void buildPartial0(com.google.cloud.gkemulticloud.v1.OperationMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.target_ = target_; @@ -733,39 +680,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.OperationMetadata r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.OperationMetadata) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.OperationMetadata) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.OperationMetadata)other); } else { super.mergeFrom(other); return this; @@ -773,8 +719,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.OperationMetadata other) { - if (other == com.google.cloud.gkemulticloud.v1.OperationMetadata.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.OperationMetadata.getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -830,55 +775,51 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - target_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - statusDetail_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - errorDetail_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 48: - { - requestedCancellation_ = input.readBool(); - bitField0_ |= 0x00000040; - break; - } // case 48 - case 58: - { - verb_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + target_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + statusDetail_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + errorDetail_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: { + requestedCancellation_ = input.readBool(); + bitField0_ |= 0x00000040; + break; + } // case 48 + case 58: { + verb_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -888,63 +829,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time at which this operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Output only. The time at which this operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which this operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -960,17 +881,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -981,21 +899,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time at which this operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1008,15 +922,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1029,15 +939,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time at which this operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000001; @@ -1045,48 +951,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which this operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time at which this operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1094,35 +988,24 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Output only. The time at which this operation was completed.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. The time at which this operation was completed.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1133,14 +1016,11 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. The time at which this operation was completed.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1156,16 +1036,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this operation was completed.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1176,20 +1054,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. The time at which this operation was completed.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1202,14 +1077,11 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which this operation was completed.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1222,14 +1094,11 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. The time at which this operation was completed.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000002; @@ -1237,44 +1106,36 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which this operation was completed.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Output only. The time at which this operation was completed.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1282,20 +1143,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** - * - * *
      * Output only. The name of the resource associated to this operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; @@ -1304,21 +1163,20 @@ public java.lang.String getTarget() { } } /** - * - * *
      * Output only. The name of the resource associated to this operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for target. */ - public com.google.protobuf.ByteString getTargetBytes() { + public com.google.protobuf.ByteString + getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); target_ = b; return b; } else { @@ -1326,35 +1184,28 @@ public com.google.protobuf.ByteString getTargetBytes() { } } /** - * - * *
      * Output only. The name of the resource associated to this operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTarget( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } target_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Output only. The name of the resource associated to this operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearTarget() { @@ -1364,21 +1215,17 @@ public Builder clearTarget() { return this; } /** - * - * *
      * Output only. The name of the resource associated to this operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTargetBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); target_ = value; bitField0_ |= 0x00000004; @@ -1388,20 +1235,18 @@ public Builder setTargetBytes(com.google.protobuf.ByteString value) { private java.lang.Object statusDetail_ = ""; /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_detail = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The statusDetail. */ public java.lang.String getStatusDetail() { java.lang.Object ref = statusDetail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusDetail_ = s; return s; @@ -1410,21 +1255,20 @@ public java.lang.String getStatusDetail() { } } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_detail = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for statusDetail. */ - public com.google.protobuf.ByteString getStatusDetailBytes() { + public com.google.protobuf.ByteString + getStatusDetailBytes() { java.lang.Object ref = statusDetail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusDetail_ = b; return b; } else { @@ -1432,35 +1276,28 @@ public com.google.protobuf.ByteString getStatusDetailBytes() { } } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_detail = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The statusDetail to set. * @return This builder for chaining. */ - public Builder setStatusDetail(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStatusDetail( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } statusDetail_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_detail = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearStatusDetail() { @@ -1470,21 +1307,17 @@ public Builder clearStatusDetail() { return this; } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_detail = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for statusDetail to set. * @return This builder for chaining. */ - public Builder setStatusDetailBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStatusDetailBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); statusDetail_ = value; bitField0_ |= 0x00000008; @@ -1494,21 +1327,19 @@ public Builder setStatusDetailBytes(com.google.protobuf.ByteString value) { private java.lang.Object errorDetail_ = ""; /** - * - * *
      * Output only. Human-readable status of any error that occurred during the
      * operation.
      * 
* * string error_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The errorDetail. */ public java.lang.String getErrorDetail() { java.lang.Object ref = errorDetail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorDetail_ = s; return s; @@ -1517,22 +1348,21 @@ public java.lang.String getErrorDetail() { } } /** - * - * *
      * Output only. Human-readable status of any error that occurred during the
      * operation.
      * 
* * string error_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for errorDetail. */ - public com.google.protobuf.ByteString getErrorDetailBytes() { + public com.google.protobuf.ByteString + getErrorDetailBytes() { java.lang.Object ref = errorDetail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); errorDetail_ = b; return b; } else { @@ -1540,37 +1370,30 @@ public com.google.protobuf.ByteString getErrorDetailBytes() { } } /** - * - * *
      * Output only. Human-readable status of any error that occurred during the
      * operation.
      * 
* * string error_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The errorDetail to set. * @return This builder for chaining. */ - public Builder setErrorDetail(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setErrorDetail( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } errorDetail_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Output only. Human-readable status of any error that occurred during the
      * operation.
      * 
* * string error_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearErrorDetail() { @@ -1580,22 +1403,18 @@ public Builder clearErrorDetail() { return this; } /** - * - * *
      * Output only. Human-readable status of any error that occurred during the
      * operation.
      * 
* * string error_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for errorDetail to set. * @return This builder for chaining. */ - public Builder setErrorDetailBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setErrorDetailBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); errorDetail_ = value; bitField0_ |= 0x00000010; @@ -1605,21 +1424,19 @@ public Builder setErrorDetailBytes(com.google.protobuf.ByteString value) { private java.lang.Object verb_ = ""; /** - * - * *
      * Output only. The verb associated with the API method which triggered this
      * operation. Possible values are "create", "delete", "update" and "import".
      * 
* * string verb = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; @@ -1628,22 +1445,21 @@ public java.lang.String getVerb() { } } /** - * - * *
      * Output only. The verb associated with the API method which triggered this
      * operation. Possible values are "create", "delete", "update" and "import".
      * 
* * string verb = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for verb. */ - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); verb_ = b; return b; } else { @@ -1651,37 +1467,30 @@ public com.google.protobuf.ByteString getVerbBytes() { } } /** - * - * *
      * Output only. The verb associated with the API method which triggered this
      * operation. Possible values are "create", "delete", "update" and "import".
      * 
* * string verb = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVerb( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } verb_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Output only. The verb associated with the API method which triggered this
      * operation. Possible values are "create", "delete", "update" and "import".
      * 
* * string verb = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearVerb() { @@ -1691,22 +1500,18 @@ public Builder clearVerb() { return this; } /** - * - * *
      * Output only. The verb associated with the API method which triggered this
      * operation. Possible values are "create", "delete", "update" and "import".
      * 
* * string verb = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVerbBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); verb_ = value; bitField0_ |= 0x00000020; @@ -1714,10 +1519,8 @@ public Builder setVerbBytes(com.google.protobuf.ByteString value) { return this; } - private boolean requestedCancellation_; + private boolean requestedCancellation_ ; /** - * - * *
      * Output only. Identifies whether it has been requested cancellation
      * for the operation. Operations that have successfully been cancelled
@@ -1727,7 +1530,6 @@ public Builder setVerbBytes(com.google.protobuf.ByteString value) {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ @java.lang.Override @@ -1735,8 +1537,6 @@ public boolean getRequestedCancellation() { return requestedCancellation_; } /** - * - * *
      * Output only. Identifies whether it has been requested cancellation
      * for the operation. Operations that have successfully been cancelled
@@ -1746,7 +1546,6 @@ public boolean getRequestedCancellation() {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The requestedCancellation to set. * @return This builder for chaining. */ @@ -1758,8 +1557,6 @@ public Builder setRequestedCancellation(boolean value) { return this; } /** - * - * *
      * Output only. Identifies whether it has been requested cancellation
      * for the operation. Operations that have successfully been cancelled
@@ -1769,7 +1566,6 @@ public Builder setRequestedCancellation(boolean value) {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { @@ -1778,9 +1574,9 @@ public Builder clearRequestedCancellation() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1790,12 +1586,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.OperationMetadata) private static final com.google.cloud.gkemulticloud.v1.OperationMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.OperationMetadata(); } @@ -1804,27 +1600,27 @@ public static com.google.cloud.gkemulticloud.v1.OperationMetadata getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1839,4 +1635,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadataOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadataOrBuilder.java similarity index 76% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadataOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadataOrBuilder.java index b79590f7abc9..3280f4de01e3 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadataOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadataOrBuilder.java @@ -1,211 +1,151 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface OperationMetadataOrBuilder - extends +public interface OperationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The time at which this operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time at which this operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time at which this operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time at which this operation was completed.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Output only. The time at which this operation was completed.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Output only. The time at which this operation was completed.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Output only. The name of the resource associated to this operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The target. */ java.lang.String getTarget(); /** - * - * *
    * Output only. The name of the resource associated to this operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for target. */ - com.google.protobuf.ByteString getTargetBytes(); + com.google.protobuf.ByteString + getTargetBytes(); /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_detail = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The statusDetail. */ java.lang.String getStatusDetail(); /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_detail = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for statusDetail. */ - com.google.protobuf.ByteString getStatusDetailBytes(); + com.google.protobuf.ByteString + getStatusDetailBytes(); /** - * - * *
    * Output only. Human-readable status of any error that occurred during the
    * operation.
    * 
* * string error_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The errorDetail. */ java.lang.String getErrorDetail(); /** - * - * *
    * Output only. Human-readable status of any error that occurred during the
    * operation.
    * 
* * string error_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for errorDetail. */ - com.google.protobuf.ByteString getErrorDetailBytes(); + com.google.protobuf.ByteString + getErrorDetailBytes(); /** - * - * *
    * Output only. The verb associated with the API method which triggered this
    * operation. Possible values are "create", "delete", "update" and "import".
    * 
* * string verb = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The verb. */ java.lang.String getVerb(); /** - * - * *
    * Output only. The verb associated with the API method which triggered this
    * operation. Possible values are "create", "delete", "update" and "import".
    * 
* * string verb = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for verb. */ - com.google.protobuf.ByteString getVerbBytes(); + com.google.protobuf.ByteString + getVerbBytes(); /** - * - * *
    * Output only. Identifies whether it has been requested cancellation
    * for the operation. Operations that have successfully been cancelled
@@ -215,7 +155,6 @@ public interface OperationMetadataOrBuilder
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ boolean getRequestedCancellation(); diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacement.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacement.java similarity index 71% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacement.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacement.java index 8a3d6a31902a..77c6dd29f502 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacement.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacement.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Configuration for the placement of a control plane replica.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ReplicaPlacement} */ -public final class ReplicaPlacement extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReplicaPlacement extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.ReplicaPlacement) ReplicaPlacementOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReplicaPlacement.newBuilder() to construct. private ReplicaPlacement(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReplicaPlacement() { subnetId_ = ""; azureAvailabilityZone_ = ""; @@ -44,32 +26,28 @@ private ReplicaPlacement() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReplicaPlacement(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ReplicaPlacement.class, - com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder.class); + com.google.cloud.gkemulticloud.v1.ReplicaPlacement.class, com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder.class); } public static final int SUBNET_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object subnetId_ = ""; /** - * - * *
    * Required. For a given replica, the ARM ID of the subnet where the control
    * plane VM is deployed. Make sure it's a subnet under the virtual network in
@@ -77,7 +55,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string subnet_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The subnetId. */ @java.lang.Override @@ -86,15 +63,14 @@ public java.lang.String getSubnetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetId_ = s; return s; } } /** - * - * *
    * Required. For a given replica, the ARM ID of the subnet where the control
    * plane VM is deployed. Make sure it's a subnet under the virtual network in
@@ -102,15 +78,16 @@ public java.lang.String getSubnetId() {
    * 
* * string subnet_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for subnetId. */ @java.lang.Override - public com.google.protobuf.ByteString getSubnetIdBytes() { + public com.google.protobuf.ByteString + getSubnetIdBytes() { java.lang.Object ref = subnetId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnetId_ = b; return b; } else { @@ -119,19 +96,15 @@ public com.google.protobuf.ByteString getSubnetIdBytes() { } public static final int AZURE_AVAILABILITY_ZONE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object azureAvailabilityZone_ = ""; /** - * - * *
    * Required. For a given replica, the Azure availability zone where to
    * provision the control plane VM and the ETCD disk.
    * 
* * string azure_availability_zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The azureAvailabilityZone. */ @java.lang.Override @@ -140,30 +113,30 @@ public java.lang.String getAzureAvailabilityZone() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureAvailabilityZone_ = s; return s; } } /** - * - * *
    * Required. For a given replica, the Azure availability zone where to
    * provision the control plane VM and the ETCD disk.
    * 
* * string azure_availability_zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for azureAvailabilityZone. */ @java.lang.Override - public com.google.protobuf.ByteString getAzureAvailabilityZoneBytes() { + public com.google.protobuf.ByteString + getAzureAvailabilityZoneBytes() { java.lang.Object ref = azureAvailabilityZone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); azureAvailabilityZone_ = b; return b; } else { @@ -172,7 +145,6 @@ public com.google.protobuf.ByteString getAzureAvailabilityZoneBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -184,7 +156,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnetId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, subnetId_); } @@ -214,16 +187,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.ReplicaPlacement)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.ReplicaPlacement other = - (com.google.cloud.gkemulticloud.v1.ReplicaPlacement) obj; + com.google.cloud.gkemulticloud.v1.ReplicaPlacement other = (com.google.cloud.gkemulticloud.v1.ReplicaPlacement) obj; - if (!getSubnetId().equals(other.getSubnetId())) return false; - if (!getAzureAvailabilityZone().equals(other.getAzureAvailabilityZone())) return false; + if (!getSubnetId() + .equals(other.getSubnetId())) return false; + if (!getAzureAvailabilityZone() + .equals(other.getAzureAvailabilityZone())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -245,135 +219,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.ReplicaPlacement parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ReplicaPlacement parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ReplicaPlacement parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ReplicaPlacement parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ReplicaPlacement parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.ReplicaPlacement parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.ReplicaPlacement parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ReplicaPlacement parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.ReplicaPlacement parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ReplicaPlacement parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ReplicaPlacement parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.ReplicaPlacement parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ReplicaPlacement parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.ReplicaPlacement parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.ReplicaPlacement prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for the placement of a control plane replica.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ReplicaPlacement} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.ReplicaPlacement) com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ReplicaPlacement.class, - com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder.class); + com.google.cloud.gkemulticloud.v1.ReplicaPlacement.class, com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.ReplicaPlacement.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -384,9 +354,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_descriptor; } @java.lang.Override @@ -405,11 +375,8 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacement build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.ReplicaPlacement buildPartial() { - com.google.cloud.gkemulticloud.v1.ReplicaPlacement result = - new com.google.cloud.gkemulticloud.v1.ReplicaPlacement(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.ReplicaPlacement result = new com.google.cloud.gkemulticloud.v1.ReplicaPlacement(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -428,39 +395,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.ReplicaPlacement re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.ReplicaPlacement) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.ReplicaPlacement) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.ReplicaPlacement)other); } else { super.mergeFrom(other); return this; @@ -468,8 +434,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ReplicaPlacement other) { - if (other == com.google.cloud.gkemulticloud.v1.ReplicaPlacement.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.ReplicaPlacement.getDefaultInstance()) return this; if (!other.getSubnetId().isEmpty()) { subnetId_ = other.subnetId_; bitField0_ |= 0x00000001; @@ -506,25 +471,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - subnetId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - azureAvailabilityZone_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + subnetId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + azureAvailabilityZone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -534,13 +496,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object subnetId_ = ""; /** - * - * *
      * Required. For a given replica, the ARM ID of the subnet where the control
      * plane VM is deployed. Make sure it's a subnet under the virtual network in
@@ -548,13 +507,13 @@ public Builder mergeFrom(
      * 
* * string subnet_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The subnetId. */ public java.lang.String getSubnetId() { java.lang.Object ref = subnetId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetId_ = s; return s; @@ -563,8 +522,6 @@ public java.lang.String getSubnetId() { } } /** - * - * *
      * Required. For a given replica, the ARM ID of the subnet where the control
      * plane VM is deployed. Make sure it's a subnet under the virtual network in
@@ -572,14 +529,15 @@ public java.lang.String getSubnetId() {
      * 
* * string subnet_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for subnetId. */ - public com.google.protobuf.ByteString getSubnetIdBytes() { + public com.google.protobuf.ByteString + getSubnetIdBytes() { java.lang.Object ref = subnetId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnetId_ = b; return b; } else { @@ -587,8 +545,6 @@ public com.google.protobuf.ByteString getSubnetIdBytes() { } } /** - * - * *
      * Required. For a given replica, the ARM ID of the subnet where the control
      * plane VM is deployed. Make sure it's a subnet under the virtual network in
@@ -596,22 +552,18 @@ public com.google.protobuf.ByteString getSubnetIdBytes() {
      * 
* * string subnet_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The subnetId to set. * @return This builder for chaining. */ - public Builder setSubnetId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSubnetId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } subnetId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. For a given replica, the ARM ID of the subnet where the control
      * plane VM is deployed. Make sure it's a subnet under the virtual network in
@@ -619,7 +571,6 @@ public Builder setSubnetId(java.lang.String value) {
      * 
* * string subnet_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSubnetId() { @@ -629,8 +580,6 @@ public Builder clearSubnetId() { return this; } /** - * - * *
      * Required. For a given replica, the ARM ID of the subnet where the control
      * plane VM is deployed. Make sure it's a subnet under the virtual network in
@@ -638,14 +587,12 @@ public Builder clearSubnetId() {
      * 
* * string subnet_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for subnetId to set. * @return This builder for chaining. */ - public Builder setSubnetIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSubnetIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); subnetId_ = value; bitField0_ |= 0x00000001; @@ -655,21 +602,19 @@ public Builder setSubnetIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object azureAvailabilityZone_ = ""; /** - * - * *
      * Required. For a given replica, the Azure availability zone where to
      * provision the control plane VM and the ETCD disk.
      * 
* * string azure_availability_zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The azureAvailabilityZone. */ public java.lang.String getAzureAvailabilityZone() { java.lang.Object ref = azureAvailabilityZone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureAvailabilityZone_ = s; return s; @@ -678,22 +623,21 @@ public java.lang.String getAzureAvailabilityZone() { } } /** - * - * *
      * Required. For a given replica, the Azure availability zone where to
      * provision the control plane VM and the ETCD disk.
      * 
* * string azure_availability_zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for azureAvailabilityZone. */ - public com.google.protobuf.ByteString getAzureAvailabilityZoneBytes() { + public com.google.protobuf.ByteString + getAzureAvailabilityZoneBytes() { java.lang.Object ref = azureAvailabilityZone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); azureAvailabilityZone_ = b; return b; } else { @@ -701,37 +645,30 @@ public com.google.protobuf.ByteString getAzureAvailabilityZoneBytes() { } } /** - * - * *
      * Required. For a given replica, the Azure availability zone where to
      * provision the control plane VM and the ETCD disk.
      * 
* * string azure_availability_zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The azureAvailabilityZone to set. * @return This builder for chaining. */ - public Builder setAzureAvailabilityZone(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAzureAvailabilityZone( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } azureAvailabilityZone_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. For a given replica, the Azure availability zone where to
      * provision the control plane VM and the ETCD disk.
      * 
* * string azure_availability_zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAzureAvailabilityZone() { @@ -741,31 +678,27 @@ public Builder clearAzureAvailabilityZone() { return this; } /** - * - * *
      * Required. For a given replica, the Azure availability zone where to
      * provision the control plane VM and the ETCD disk.
      * 
* * string azure_availability_zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for azureAvailabilityZone to set. * @return This builder for chaining. */ - public Builder setAzureAvailabilityZoneBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAzureAvailabilityZoneBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); azureAvailabilityZone_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -775,12 +708,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.ReplicaPlacement) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.ReplicaPlacement) private static final com.google.cloud.gkemulticloud.v1.ReplicaPlacement DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.ReplicaPlacement(); } @@ -789,27 +722,27 @@ public static com.google.cloud.gkemulticloud.v1.ReplicaPlacement getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReplicaPlacement parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReplicaPlacement parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -824,4 +757,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ReplicaPlacement getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacementOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacementOrBuilder.java similarity index 67% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacementOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacementOrBuilder.java index 43d69c2639ef..e00cf0a2d4ad 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacementOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacementOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface ReplicaPlacementOrBuilder - extends +public interface ReplicaPlacementOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.ReplicaPlacement) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. For a given replica, the ARM ID of the subnet where the control
    * plane VM is deployed. Make sure it's a subnet under the virtual network in
@@ -33,13 +15,10 @@ public interface ReplicaPlacementOrBuilder
    * 
* * string subnet_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The subnetId. */ java.lang.String getSubnetId(); /** - * - * *
    * Required. For a given replica, the ARM ID of the subnet where the control
    * plane VM is deployed. Make sure it's a subnet under the virtual network in
@@ -47,35 +26,30 @@ public interface ReplicaPlacementOrBuilder
    * 
* * string subnet_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for subnetId. */ - com.google.protobuf.ByteString getSubnetIdBytes(); + com.google.protobuf.ByteString + getSubnetIdBytes(); /** - * - * *
    * Required. For a given replica, the Azure availability zone where to
    * provision the control plane VM and the ETCD disk.
    * 
* * string azure_availability_zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The azureAvailabilityZone. */ java.lang.String getAzureAvailabilityZone(); /** - * - * *
    * Required. For a given replica, the Azure availability zone where to
    * provision the control plane VM and the ETCD disk.
    * 
* * string azure_availability_zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for azureAvailabilityZone. */ - com.google.protobuf.ByteString getAzureAvailabilityZoneBytes(); + com.google.protobuf.ByteString + getAzureAvailabilityZoneBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/RollbackAwsNodePoolUpdateRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/RollbackAwsNodePoolUpdateRequest.java new file mode 100644 index 000000000000..841fa7b1f1f5 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/RollbackAwsNodePoolUpdateRequest.java @@ -0,0 +1,720 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_service.proto + +package com.google.cloud.gkemulticloud.v1; + +/** + *
+ * Request message for `AwsClusters.RollbackAwsNodePoolUpdate` method.
+ * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest} + */ +public final class RollbackAwsNodePoolUpdateRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest) + RollbackAwsNodePoolUpdateRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use RollbackAwsNodePoolUpdateRequest.newBuilder() to construct. + private RollbackAwsNodePoolUpdateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private RollbackAwsNodePoolUpdateRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new RollbackAwsNodePoolUpdateRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_RollbackAwsNodePoolUpdateRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_RollbackAwsNodePoolUpdateRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest.class, com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + *
+   * Required. The name of the
+   * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
+   * rollback.
+   *
+   * `AwsNodePool` names are formatted as
+   * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`.
+   *
+   * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
+   * for more details on Google Cloud resource names.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+   * Required. The name of the
+   * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
+   * rollback.
+   *
+   * `AwsNodePool` names are formatted as
+   * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`.
+   *
+   * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
+   * for more details on Google Cloud resource names.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RESPECT_PDB_FIELD_NUMBER = 2; + private boolean respectPdb_ = false; + /** + *
+   * Optional. Option for rollback to ignore the PodDisruptionBudget when
+   * draining the node pool nodes. Default value is false.
+   * 
+ * + * bool respect_pdb = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The respectPdb. + */ + @java.lang.Override + public boolean getRespectPdb() { + return respectPdb_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (respectPdb_ != false) { + output.writeBool(2, respectPdb_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (respectPdb_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, respectPdb_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest other = (com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (getRespectPdb() + != other.getRespectPdb()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + RESPECT_PDB_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRespectPdb()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Request message for `AwsClusters.RollbackAwsNodePoolUpdate` method.
+   * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest) + com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_RollbackAwsNodePoolUpdateRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_RollbackAwsNodePoolUpdateRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest.class, com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + respectPdb_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_RollbackAwsNodePoolUpdateRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest build() { + com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest buildPartial() { + com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest result = new com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.respectPdb_ = respectPdb_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest other) { + if (other == com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getRespectPdb() != false) { + setRespectPdb(other.getRespectPdb()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + respectPdb_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + *
+     * Required. The name of the
+     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
+     * rollback.
+     *
+     * `AwsNodePool` names are formatted as
+     * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`.
+     *
+     * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
+     * for more details on Google Cloud resource names.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The name of the
+     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
+     * rollback.
+     *
+     * `AwsNodePool` names are formatted as
+     * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`.
+     *
+     * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
+     * for more details on Google Cloud resource names.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The name of the
+     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
+     * rollback.
+     *
+     * `AwsNodePool` names are formatted as
+     * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`.
+     *
+     * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
+     * for more details on Google Cloud resource names.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Required. The name of the
+     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
+     * rollback.
+     *
+     * `AwsNodePool` names are formatted as
+     * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`.
+     *
+     * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
+     * for more details on Google Cloud resource names.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     * Required. The name of the
+     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
+     * rollback.
+     *
+     * `AwsNodePool` names are formatted as
+     * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`.
+     *
+     * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
+     * for more details on Google Cloud resource names.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private boolean respectPdb_ ; + /** + *
+     * Optional. Option for rollback to ignore the PodDisruptionBudget when
+     * draining the node pool nodes. Default value is false.
+     * 
+ * + * bool respect_pdb = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The respectPdb. + */ + @java.lang.Override + public boolean getRespectPdb() { + return respectPdb_; + } + /** + *
+     * Optional. Option for rollback to ignore the PodDisruptionBudget when
+     * draining the node pool nodes. Default value is false.
+     * 
+ * + * bool respect_pdb = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The respectPdb to set. + * @return This builder for chaining. + */ + public Builder setRespectPdb(boolean value) { + + respectPdb_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * Optional. Option for rollback to ignore the PodDisruptionBudget when
+     * draining the node pool nodes. Default value is false.
+     * 
+ * + * bool respect_pdb = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearRespectPdb() { + bitField0_ = (bitField0_ & ~0x00000002); + respectPdb_ = false; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest) + private static final com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest(); + } + + public static com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RollbackAwsNodePoolUpdateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/RollbackAwsNodePoolUpdateRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/RollbackAwsNodePoolUpdateRequestOrBuilder.java new file mode 100644 index 000000000000..b809be15d7a0 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/RollbackAwsNodePoolUpdateRequestOrBuilder.java @@ -0,0 +1,56 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_service.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface RollbackAwsNodePoolUpdateRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the
+   * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
+   * rollback.
+   *
+   * `AwsNodePool` names are formatted as
+   * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`.
+   *
+   * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
+   * for more details on Google Cloud resource names.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the
+   * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
+   * rollback.
+   *
+   * `AwsNodePool` names are formatted as
+   * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`.
+   *
+   * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
+   * for more details on Google Cloud resource names.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * Optional. Option for rollback to ignore the PodDisruptionBudget when
+   * draining the node pool nodes. Default value is false.
+   * 
+ * + * bool respect_pdb = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The respectPdb. + */ + boolean getRespectPdb(); +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SpotConfig.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SpotConfig.java new file mode 100644 index 000000000000..6ca1e2a52386 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SpotConfig.java @@ -0,0 +1,654 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +/** + *
+ * SpotConfig has configuration info for Spot node.
+ * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.SpotConfig} + */ +public final class SpotConfig extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.SpotConfig) + SpotConfigOrBuilder { +private static final long serialVersionUID = 0L; + // Use SpotConfig.newBuilder() to construct. + private SpotConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SpotConfig() { + instanceTypes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SpotConfig(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_SpotConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_SpotConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.SpotConfig.class, com.google.cloud.gkemulticloud.v1.SpotConfig.Builder.class); + } + + public static final int INSTANCE_TYPES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList instanceTypes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + *
+   * Required. A list of instance types for creating spot node pool.
+   * 
+ * + * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return A list containing the instanceTypes. + */ + public com.google.protobuf.ProtocolStringList + getInstanceTypesList() { + return instanceTypes_; + } + /** + *
+   * Required. A list of instance types for creating spot node pool.
+   * 
+ * + * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The count of instanceTypes. + */ + public int getInstanceTypesCount() { + return instanceTypes_.size(); + } + /** + *
+   * Required. A list of instance types for creating spot node pool.
+   * 
+ * + * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param index The index of the element to return. + * @return The instanceTypes at the given index. + */ + public java.lang.String getInstanceTypes(int index) { + return instanceTypes_.get(index); + } + /** + *
+   * Required. A list of instance types for creating spot node pool.
+   * 
+ * + * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param index The index of the value to return. + * @return The bytes of the instanceTypes at the given index. + */ + public com.google.protobuf.ByteString + getInstanceTypesBytes(int index) { + return instanceTypes_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < instanceTypes_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceTypes_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < instanceTypes_.size(); i++) { + dataSize += computeStringSizeNoTag(instanceTypes_.getRaw(i)); + } + size += dataSize; + size += 1 * getInstanceTypesList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.SpotConfig)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.SpotConfig other = (com.google.cloud.gkemulticloud.v1.SpotConfig) obj; + + if (!getInstanceTypesList() + .equals(other.getInstanceTypesList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getInstanceTypesCount() > 0) { + hash = (37 * hash) + INSTANCE_TYPES_FIELD_NUMBER; + hash = (53 * hash) + getInstanceTypesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.SpotConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.SpotConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.SpotConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.SpotConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.SpotConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.SpotConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.SpotConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.SpotConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.SpotConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.SpotConfig parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.SpotConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.SpotConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.SpotConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * SpotConfig has configuration info for Spot node.
+   * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.SpotConfig} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.SpotConfig) + com.google.cloud.gkemulticloud.v1.SpotConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_SpotConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_SpotConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.SpotConfig.class, com.google.cloud.gkemulticloud.v1.SpotConfig.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.SpotConfig.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + instanceTypes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_SpotConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.SpotConfig getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.SpotConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.SpotConfig build() { + com.google.cloud.gkemulticloud.v1.SpotConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.SpotConfig buildPartial() { + com.google.cloud.gkemulticloud.v1.SpotConfig result = new com.google.cloud.gkemulticloud.v1.SpotConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.gkemulticloud.v1.SpotConfig result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + instanceTypes_.makeImmutable(); + result.instanceTypes_ = instanceTypes_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.SpotConfig) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.SpotConfig)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.SpotConfig other) { + if (other == com.google.cloud.gkemulticloud.v1.SpotConfig.getDefaultInstance()) return this; + if (!other.instanceTypes_.isEmpty()) { + if (instanceTypes_.isEmpty()) { + instanceTypes_ = other.instanceTypes_; + bitField0_ |= 0x00000001; + } else { + ensureInstanceTypesIsMutable(); + instanceTypes_.addAll(other.instanceTypes_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureInstanceTypesIsMutable(); + instanceTypes_.add(s); + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.protobuf.LazyStringArrayList instanceTypes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureInstanceTypesIsMutable() { + if (!instanceTypes_.isModifiable()) { + instanceTypes_ = new com.google.protobuf.LazyStringArrayList(instanceTypes_); + } + bitField0_ |= 0x00000001; + } + /** + *
+     * Required. A list of instance types for creating spot node pool.
+     * 
+ * + * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return A list containing the instanceTypes. + */ + public com.google.protobuf.ProtocolStringList + getInstanceTypesList() { + instanceTypes_.makeImmutable(); + return instanceTypes_; + } + /** + *
+     * Required. A list of instance types for creating spot node pool.
+     * 
+ * + * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The count of instanceTypes. + */ + public int getInstanceTypesCount() { + return instanceTypes_.size(); + } + /** + *
+     * Required. A list of instance types for creating spot node pool.
+     * 
+ * + * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param index The index of the element to return. + * @return The instanceTypes at the given index. + */ + public java.lang.String getInstanceTypes(int index) { + return instanceTypes_.get(index); + } + /** + *
+     * Required. A list of instance types for creating spot node pool.
+     * 
+ * + * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param index The index of the value to return. + * @return The bytes of the instanceTypes at the given index. + */ + public com.google.protobuf.ByteString + getInstanceTypesBytes(int index) { + return instanceTypes_.getByteString(index); + } + /** + *
+     * Required. A list of instance types for creating spot node pool.
+     * 
+ * + * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param index The index to set the value at. + * @param value The instanceTypes to set. + * @return This builder for chaining. + */ + public Builder setInstanceTypes( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureInstanceTypesIsMutable(); + instanceTypes_.set(index, value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Required. A list of instance types for creating spot node pool.
+     * 
+ * + * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param value The instanceTypes to add. + * @return This builder for chaining. + */ + public Builder addInstanceTypes( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureInstanceTypesIsMutable(); + instanceTypes_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Required. A list of instance types for creating spot node pool.
+     * 
+ * + * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param values The instanceTypes to add. + * @return This builder for chaining. + */ + public Builder addAllInstanceTypes( + java.lang.Iterable values) { + ensureInstanceTypesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, instanceTypes_); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Required. A list of instance types for creating spot node pool.
+     * 
+ * + * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearInstanceTypes() { + instanceTypes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; + onChanged(); + return this; + } + /** + *
+     * Required. A list of instance types for creating spot node pool.
+     * 
+ * + * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes of the instanceTypes to add. + * @return This builder for chaining. + */ + public Builder addInstanceTypesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureInstanceTypesIsMutable(); + instanceTypes_.add(value); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.SpotConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.SpotConfig) + private static final com.google.cloud.gkemulticloud.v1.SpotConfig DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.SpotConfig(); + } + + public static com.google.cloud.gkemulticloud.v1.SpotConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpotConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.SpotConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SpotConfigOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SpotConfigOrBuilder.java new file mode 100644 index 000000000000..5856766fede5 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SpotConfigOrBuilder.java @@ -0,0 +1,50 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface SpotConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.SpotConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. A list of instance types for creating spot node pool.
+   * 
+ * + * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return A list containing the instanceTypes. + */ + java.util.List + getInstanceTypesList(); + /** + *
+   * Required. A list of instance types for creating spot node pool.
+   * 
+ * + * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The count of instanceTypes. + */ + int getInstanceTypesCount(); + /** + *
+   * Required. A list of instance types for creating spot node pool.
+   * 
+ * + * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param index The index of the element to return. + * @return The instanceTypes at the given index. + */ + java.lang.String getInstanceTypes(int index); + /** + *
+   * Required. A list of instance types for creating spot node pool.
+   * 
+ * + * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param index The index of the value to return. + * @return The bytes of the instanceTypes at the given index. + */ + com.google.protobuf.ByteString + getInstanceTypesBytes(int index); +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SurgeSettings.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SurgeSettings.java new file mode 100644 index 000000000000..258d3cf6fee4 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SurgeSettings.java @@ -0,0 +1,589 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +/** + *
+ * SurgeSettings contains the parameters for Surge update.
+ * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.SurgeSettings} + */ +public final class SurgeSettings extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.SurgeSettings) + SurgeSettingsOrBuilder { +private static final long serialVersionUID = 0L; + // Use SurgeSettings.newBuilder() to construct. + private SurgeSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SurgeSettings() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SurgeSettings(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_SurgeSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_SurgeSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.SurgeSettings.class, com.google.cloud.gkemulticloud.v1.SurgeSettings.Builder.class); + } + + public static final int MAX_SURGE_FIELD_NUMBER = 1; + private int maxSurge_ = 0; + /** + *
+   * Optional. The maximum number of nodes that can be created beyond the
+   * current size of the node pool during the update process.
+   * 
+ * + * int32 max_surge = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return The maxSurge. + */ + @java.lang.Override + public int getMaxSurge() { + return maxSurge_; + } + + public static final int MAX_UNAVAILABLE_FIELD_NUMBER = 2; + private int maxUnavailable_ = 0; + /** + *
+   * Optional. The maximum number of nodes that can be simultaneously
+   * unavailable during the update process. A node is considered unavailable if
+   * its status is not Ready.
+   * 
+ * + * int32 max_unavailable = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The maxUnavailable. + */ + @java.lang.Override + public int getMaxUnavailable() { + return maxUnavailable_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (maxSurge_ != 0) { + output.writeInt32(1, maxSurge_); + } + if (maxUnavailable_ != 0) { + output.writeInt32(2, maxUnavailable_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (maxSurge_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, maxSurge_); + } + if (maxUnavailable_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, maxUnavailable_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.SurgeSettings)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.SurgeSettings other = (com.google.cloud.gkemulticloud.v1.SurgeSettings) obj; + + if (getMaxSurge() + != other.getMaxSurge()) return false; + if (getMaxUnavailable() + != other.getMaxUnavailable()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + MAX_SURGE_FIELD_NUMBER; + hash = (53 * hash) + getMaxSurge(); + hash = (37 * hash) + MAX_UNAVAILABLE_FIELD_NUMBER; + hash = (53 * hash) + getMaxUnavailable(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.SurgeSettings parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.SurgeSettings parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.SurgeSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.SurgeSettings parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.SurgeSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.SurgeSettings parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.SurgeSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.SurgeSettings parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.SurgeSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.SurgeSettings parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.SurgeSettings parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.SurgeSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.SurgeSettings prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * SurgeSettings contains the parameters for Surge update.
+   * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.SurgeSettings} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.SurgeSettings) + com.google.cloud.gkemulticloud.v1.SurgeSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_SurgeSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_SurgeSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.SurgeSettings.class, com.google.cloud.gkemulticloud.v1.SurgeSettings.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.SurgeSettings.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + maxSurge_ = 0; + maxUnavailable_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_SurgeSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.SurgeSettings getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.SurgeSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.SurgeSettings build() { + com.google.cloud.gkemulticloud.v1.SurgeSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.SurgeSettings buildPartial() { + com.google.cloud.gkemulticloud.v1.SurgeSettings result = new com.google.cloud.gkemulticloud.v1.SurgeSettings(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.gkemulticloud.v1.SurgeSettings result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.maxSurge_ = maxSurge_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.maxUnavailable_ = maxUnavailable_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.SurgeSettings) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.SurgeSettings)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.SurgeSettings other) { + if (other == com.google.cloud.gkemulticloud.v1.SurgeSettings.getDefaultInstance()) return this; + if (other.getMaxSurge() != 0) { + setMaxSurge(other.getMaxSurge()); + } + if (other.getMaxUnavailable() != 0) { + setMaxUnavailable(other.getMaxUnavailable()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + maxSurge_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + maxUnavailable_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private int maxSurge_ ; + /** + *
+     * Optional. The maximum number of nodes that can be created beyond the
+     * current size of the node pool during the update process.
+     * 
+ * + * int32 max_surge = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return The maxSurge. + */ + @java.lang.Override + public int getMaxSurge() { + return maxSurge_; + } + /** + *
+     * Optional. The maximum number of nodes that can be created beyond the
+     * current size of the node pool during the update process.
+     * 
+ * + * int32 max_surge = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The maxSurge to set. + * @return This builder for chaining. + */ + public Builder setMaxSurge(int value) { + + maxSurge_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Optional. The maximum number of nodes that can be created beyond the
+     * current size of the node pool during the update process.
+     * 
+ * + * int32 max_surge = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearMaxSurge() { + bitField0_ = (bitField0_ & ~0x00000001); + maxSurge_ = 0; + onChanged(); + return this; + } + + private int maxUnavailable_ ; + /** + *
+     * Optional. The maximum number of nodes that can be simultaneously
+     * unavailable during the update process. A node is considered unavailable if
+     * its status is not Ready.
+     * 
+ * + * int32 max_unavailable = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The maxUnavailable. + */ + @java.lang.Override + public int getMaxUnavailable() { + return maxUnavailable_; + } + /** + *
+     * Optional. The maximum number of nodes that can be simultaneously
+     * unavailable during the update process. A node is considered unavailable if
+     * its status is not Ready.
+     * 
+ * + * int32 max_unavailable = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The maxUnavailable to set. + * @return This builder for chaining. + */ + public Builder setMaxUnavailable(int value) { + + maxUnavailable_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * Optional. The maximum number of nodes that can be simultaneously
+     * unavailable during the update process. A node is considered unavailable if
+     * its status is not Ready.
+     * 
+ * + * int32 max_unavailable = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearMaxUnavailable() { + bitField0_ = (bitField0_ & ~0x00000002); + maxUnavailable_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.SurgeSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.SurgeSettings) + private static final com.google.cloud.gkemulticloud.v1.SurgeSettings DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.SurgeSettings(); + } + + public static com.google.cloud.gkemulticloud.v1.SurgeSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SurgeSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.SurgeSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SurgeSettingsOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SurgeSettingsOrBuilder.java new file mode 100644 index 000000000000..70cc1723d92c --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SurgeSettingsOrBuilder.java @@ -0,0 +1,32 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface SurgeSettingsOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.SurgeSettings) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Optional. The maximum number of nodes that can be created beyond the
+   * current size of the node pool during the update process.
+   * 
+ * + * int32 max_surge = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return The maxSurge. + */ + int getMaxSurge(); + + /** + *
+   * Optional. The maximum number of nodes that can be simultaneously
+   * unavailable during the update process. A node is considered unavailable if
+   * its status is not Ready.
+   * 
+ * + * int32 max_unavailable = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The maxUnavailable. + */ + int getMaxUnavailable(); +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAttachedClusterRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAttachedClusterRequest.java similarity index 67% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAttachedClusterRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAttachedClusterRequest.java index 64139361f094..9b8487037cfd 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAttachedClusterRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAttachedClusterRequest.java @@ -1,80 +1,57 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Request message for `AttachedClusters.UpdateAttachedCluster` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest} */ -public final class UpdateAttachedClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateAttachedClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest) UpdateAttachedClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateAttachedClusterRequest.newBuilder() to construct. private UpdateAttachedClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateAttachedClusterRequest() {} + private UpdateAttachedClusterRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateAttachedClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_UpdateAttachedClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAttachedClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_UpdateAttachedClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAttachedClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest.class, - com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest.class, com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest.Builder.class); } public static final int ATTACHED_CLUSTER_FIELD_NUMBER = 1; private com.google.cloud.gkemulticloud.v1.AttachedCluster attachedCluster_; /** - * - * *
    * Required. The
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
    * to update.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the attachedCluster field is set. */ @java.lang.Override @@ -82,57 +59,41 @@ public boolean hasAttachedCluster() { return attachedCluster_ != null; } /** - * - * *
    * Required. The
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
    * to update.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The attachedCluster. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedCluster getAttachedCluster() { - return attachedCluster_ == null - ? com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance() - : attachedCluster_; + return attachedCluster_ == null ? com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance() : attachedCluster_; } /** - * - * *
    * Required. The
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
    * to update.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder getAttachedClusterOrBuilder() { - return attachedCluster_ == null - ? com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance() - : attachedCluster_; + return attachedCluster_ == null ? com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance() : attachedCluster_; } public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; private boolean validateOnly_ = false; /** - * - * *
    * If set, only validate the request, but do not actually update the cluster.
    * 
* * bool validate_only = 2; - * * @return The validateOnly. */ @java.lang.Override @@ -143,25 +104,25 @@ public boolean getValidateOnly() { public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
    * fields from
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]:
    *
-   *  *   `description`.
    *  *   `annotations`.
-   *  *   `platform_version`.
+   *  *   `authorization.admin_groups`.
    *  *   `authorization.admin_users`.
+   *  *   `binary_authorization.evaluation_mode`.
+   *  *   `description`.
    *  *   `logging_config.component_config.enable_components`.
    *  *   `monitoring_config.managed_prometheus_config.enabled`.
+   *  *   `platform_version`.
+   *  *   `proxy_config.kubernetes_secret.name`.
+   *  *   `proxy_config.kubernetes_secret.namespace`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -169,25 +130,25 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
    * fields from
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]:
    *
-   *  *   `description`.
    *  *   `annotations`.
-   *  *   `platform_version`.
+   *  *   `authorization.admin_groups`.
    *  *   `authorization.admin_users`.
+   *  *   `binary_authorization.evaluation_mode`.
+   *  *   `description`.
    *  *   `logging_config.component_config.enable_components`.
    *  *   `monitoring_config.managed_prometheus_config.enabled`.
+   *  *   `platform_version`.
+   *  *   `proxy_config.kubernetes_secret.name`.
+   *  *   `proxy_config.kubernetes_secret.namespace`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -195,24 +156,25 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
    * fields from
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]:
    *
-   *  *   `description`.
    *  *   `annotations`.
-   *  *   `platform_version`.
+   *  *   `authorization.admin_groups`.
    *  *   `authorization.admin_users`.
+   *  *   `binary_authorization.evaluation_mode`.
+   *  *   `description`.
    *  *   `logging_config.component_config.enable_components`.
    *  *   `monitoring_config.managed_prometheus_config.enabled`.
+   *  *   `platform_version`.
+   *  *   `proxy_config.kubernetes_secret.name`.
+   *  *   `proxy_config.kubernetes_secret.namespace`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -220,7 +182,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,7 +193,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (attachedCluster_ != null) { output.writeMessage(1, getAttachedCluster()); } @@ -252,13 +214,16 @@ public int getSerializedSize() { size = 0; if (attachedCluster_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAttachedCluster()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAttachedCluster()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, validateOnly_); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -268,22 +233,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest other = - (com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest) obj; + com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest other = (com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest) obj; if (hasAttachedCluster() != other.hasAttachedCluster()) return false; if (hasAttachedCluster()) { - if (!getAttachedCluster().equals(other.getAttachedCluster())) return false; + if (!getAttachedCluster() + .equals(other.getAttachedCluster())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -301,7 +268,8 @@ public int hashCode() { hash = (53 * hash) + getAttachedCluster().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); if (hasUpdateMask()) { hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER; hash = (53 * hash) + getUpdateMask().hashCode(); @@ -312,136 +280,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `AttachedClusters.UpdateAttachedCluster` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest) com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_UpdateAttachedClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAttachedClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_UpdateAttachedClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAttachedClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest.class, - com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest.class, com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -461,14 +424,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto - .internal_static_google_cloud_gkemulticloud_v1_UpdateAttachedClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAttachedClusterRequest_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest - getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest.getDefaultInstance(); } @@ -483,27 +445,26 @@ public com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest result = - new com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest result = new com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest result) { + private void buildPartial0(com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.attachedCluster_ = - attachedClusterBuilder_ == null ? attachedCluster_ : attachedClusterBuilder_.build(); + result.attachedCluster_ = attachedClusterBuilder_ == null + ? attachedCluster_ + : attachedClusterBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.validateOnly_ = validateOnly_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -511,39 +472,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -551,9 +511,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest other) { - if (other - == com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest.getDefaultInstance()) return this; if (other.hasAttachedCluster()) { mergeAttachedCluster(other.getAttachedCluster()); } @@ -589,31 +547,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getAttachedClusterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getAttachedClusterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -623,69 +581,49 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.gkemulticloud.v1.AttachedCluster attachedCluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedCluster, - com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder, - com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder> - attachedClusterBuilder_; + com.google.cloud.gkemulticloud.v1.AttachedCluster, com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder> attachedClusterBuilder_; /** - * - * *
      * Required. The
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
      * to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the attachedCluster field is set. */ public boolean hasAttachedCluster() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
      * to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The attachedCluster. */ public com.google.cloud.gkemulticloud.v1.AttachedCluster getAttachedCluster() { if (attachedClusterBuilder_ == null) { - return attachedCluster_ == null - ? com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance() - : attachedCluster_; + return attachedCluster_ == null ? com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance() : attachedCluster_; } else { return attachedClusterBuilder_.getMessage(); } } /** - * - * *
      * Required. The
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
      * to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAttachedCluster(com.google.cloud.gkemulticloud.v1.AttachedCluster value) { if (attachedClusterBuilder_ == null) { @@ -701,17 +639,13 @@ public Builder setAttachedCluster(com.google.cloud.gkemulticloud.v1.AttachedClus return this; } /** - * - * *
      * Required. The
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
      * to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAttachedCluster( com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder builderForValue) { @@ -725,24 +659,19 @@ public Builder setAttachedCluster( return this; } /** - * - * *
      * Required. The
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
      * to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAttachedCluster(com.google.cloud.gkemulticloud.v1.AttachedCluster value) { if (attachedClusterBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && attachedCluster_ != null - && attachedCluster_ - != com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + attachedCluster_ != null && + attachedCluster_ != com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance()) { getAttachedClusterBuilder().mergeFrom(value); } else { attachedCluster_ = value; @@ -755,17 +684,13 @@ public Builder mergeAttachedCluster(com.google.cloud.gkemulticloud.v1.AttachedCl return this; } /** - * - * *
      * Required. The
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
      * to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAttachedCluster() { bitField0_ = (bitField0_ & ~0x00000001); @@ -778,17 +703,13 @@ public Builder clearAttachedCluster() { return this; } /** - * - * *
      * Required. The
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
      * to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder getAttachedClusterBuilder() { bitField0_ |= 0x00000001; @@ -796,68 +717,52 @@ public com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder getAttachedClus return getAttachedClusterFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
      * to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder - getAttachedClusterOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder getAttachedClusterOrBuilder() { if (attachedClusterBuilder_ != null) { return attachedClusterBuilder_.getMessageOrBuilder(); } else { - return attachedCluster_ == null - ? com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance() - : attachedCluster_; + return attachedCluster_ == null ? + com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance() : attachedCluster_; } } /** - * - * *
      * Required. The
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
      * to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedCluster, - com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder, - com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder> + com.google.cloud.gkemulticloud.v1.AttachedCluster, com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder> getAttachedClusterFieldBuilder() { if (attachedClusterBuilder_ == null) { - attachedClusterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedCluster, - com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder, - com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder>( - getAttachedCluster(), getParentForChildren(), isClean()); + attachedClusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AttachedCluster, com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder>( + getAttachedCluster(), + getParentForChildren(), + isClean()); attachedCluster_ = null; } return attachedClusterBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * If set, only validate the request, but do not actually update the cluster.
      * 
* * bool validate_only = 2; - * * @return The validateOnly. */ @java.lang.Override @@ -865,14 +770,11 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * If set, only validate the request, but do not actually update the cluster.
      * 
* * bool validate_only = 2; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -884,14 +786,11 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * If set, only validate the request, but do not actually update the cluster.
      * 
* * bool validate_only = 2; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -903,85 +802,81 @@ public Builder clearValidateOnly() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
      * fields from
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]:
      *
-     *  *   `description`.
      *  *   `annotations`.
-     *  *   `platform_version`.
+     *  *   `authorization.admin_groups`.
      *  *   `authorization.admin_users`.
+     *  *   `binary_authorization.evaluation_mode`.
+     *  *   `description`.
      *  *   `logging_config.component_config.enable_components`.
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
+     *  *   `platform_version`.
+     *  *   `proxy_config.kubernetes_secret.name`.
+     *  *   `proxy_config.kubernetes_secret.namespace`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
      * fields from
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]:
      *
-     *  *   `description`.
      *  *   `annotations`.
-     *  *   `platform_version`.
+     *  *   `authorization.admin_groups`.
      *  *   `authorization.admin_users`.
+     *  *   `binary_authorization.evaluation_mode`.
+     *  *   `description`.
      *  *   `logging_config.component_config.enable_components`.
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
+     *  *   `platform_version`.
+     *  *   `proxy_config.kubernetes_secret.name`.
+     *  *   `proxy_config.kubernetes_secret.namespace`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
      * fields from
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]:
      *
-     *  *   `description`.
      *  *   `annotations`.
-     *  *   `platform_version`.
+     *  *   `authorization.admin_groups`.
      *  *   `authorization.admin_users`.
+     *  *   `binary_authorization.evaluation_mode`.
+     *  *   `description`.
      *  *   `logging_config.component_config.enable_components`.
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
+     *  *   `platform_version`.
+     *  *   `proxy_config.kubernetes_secret.name`.
+     *  *   `proxy_config.kubernetes_secret.namespace`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -997,26 +892,28 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
      * fields from
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]:
      *
-     *  *   `description`.
      *  *   `annotations`.
-     *  *   `platform_version`.
+     *  *   `authorization.admin_groups`.
      *  *   `authorization.admin_users`.
+     *  *   `binary_authorization.evaluation_mode`.
+     *  *   `description`.
      *  *   `logging_config.component_config.enable_components`.
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
+     *  *   `platform_version`.
+     *  *   `proxy_config.kubernetes_secret.name`.
+     *  *   `proxy_config.kubernetes_secret.namespace`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -1027,30 +924,31 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
      * fields from
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]:
      *
-     *  *   `description`.
      *  *   `annotations`.
-     *  *   `platform_version`.
+     *  *   `authorization.admin_groups`.
      *  *   `authorization.admin_users`.
+     *  *   `binary_authorization.evaluation_mode`.
+     *  *   `description`.
      *  *   `logging_config.component_config.enable_components`.
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
+     *  *   `platform_version`.
+     *  *   `proxy_config.kubernetes_secret.name`.
+     *  *   `proxy_config.kubernetes_secret.namespace`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -1063,24 +961,25 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
      * fields from
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]:
      *
-     *  *   `description`.
      *  *   `annotations`.
-     *  *   `platform_version`.
+     *  *   `authorization.admin_groups`.
      *  *   `authorization.admin_users`.
+     *  *   `binary_authorization.evaluation_mode`.
+     *  *   `description`.
      *  *   `logging_config.component_config.enable_components`.
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
+     *  *   `platform_version`.
+     *  *   `proxy_config.kubernetes_secret.name`.
+     *  *   `proxy_config.kubernetes_secret.namespace`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1093,24 +992,25 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
      * fields from
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]:
      *
-     *  *   `description`.
      *  *   `annotations`.
-     *  *   `platform_version`.
+     *  *   `authorization.admin_groups`.
      *  *   `authorization.admin_users`.
+     *  *   `binary_authorization.evaluation_mode`.
+     *  *   `description`.
      *  *   `logging_config.component_config.enable_components`.
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
+     *  *   `platform_version`.
+     *  *   `proxy_config.kubernetes_secret.name`.
+     *  *   `proxy_config.kubernetes_secret.namespace`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000004; @@ -1118,73 +1018,71 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
      * fields from
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]:
      *
-     *  *   `description`.
      *  *   `annotations`.
-     *  *   `platform_version`.
+     *  *   `authorization.admin_groups`.
      *  *   `authorization.admin_users`.
+     *  *   `binary_authorization.evaluation_mode`.
+     *  *   `description`.
      *  *   `logging_config.component_config.enable_components`.
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
+     *  *   `platform_version`.
+     *  *   `proxy_config.kubernetes_secret.name`.
+     *  *   `proxy_config.kubernetes_secret.namespace`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
      * fields from
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]:
      *
-     *  *   `description`.
      *  *   `annotations`.
-     *  *   `platform_version`.
+     *  *   `authorization.admin_groups`.
      *  *   `authorization.admin_users`.
+     *  *   `binary_authorization.evaluation_mode`.
+     *  *   `description`.
      *  *   `logging_config.component_config.enable_components`.
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
+     *  *   `platform_version`.
+     *  *   `proxy_config.kubernetes_secret.name`.
+     *  *   `proxy_config.kubernetes_secret.namespace`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1194,43 +1092,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest) - private static final com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest(); } - public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest - getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAttachedClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAttachedClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1242,8 +1138,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest - getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAttachedClusterRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAttachedClusterRequestOrBuilder.java similarity index 71% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAttachedClusterRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAttachedClusterRequestOrBuilder.java index 3381d1509134..6eedffd29ea6 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAttachedClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAttachedClusterRequestOrBuilder.java @@ -1,153 +1,121 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; -public interface UpdateAttachedClusterRequestOrBuilder - extends +public interface UpdateAttachedClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
    * to update.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the attachedCluster field is set. */ boolean hasAttachedCluster(); /** - * - * *
    * Required. The
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
    * to update.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The attachedCluster. */ com.google.cloud.gkemulticloud.v1.AttachedCluster getAttachedCluster(); /** - * - * *
    * Required. The
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
    * to update.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder getAttachedClusterOrBuilder(); /** - * - * *
    * If set, only validate the request, but do not actually update the cluster.
    * 
* * bool validate_only = 2; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
    * fields from
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]:
    *
-   *  *   `description`.
    *  *   `annotations`.
-   *  *   `platform_version`.
+   *  *   `authorization.admin_groups`.
    *  *   `authorization.admin_users`.
+   *  *   `binary_authorization.evaluation_mode`.
+   *  *   `description`.
    *  *   `logging_config.component_config.enable_components`.
    *  *   `monitoring_config.managed_prometheus_config.enabled`.
+   *  *   `platform_version`.
+   *  *   `proxy_config.kubernetes_secret.name`.
+   *  *   `proxy_config.kubernetes_secret.namespace`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
    * fields from
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]:
    *
-   *  *   `description`.
    *  *   `annotations`.
-   *  *   `platform_version`.
+   *  *   `authorization.admin_groups`.
    *  *   `authorization.admin_users`.
+   *  *   `binary_authorization.evaluation_mode`.
+   *  *   `description`.
    *  *   `logging_config.component_config.enable_components`.
    *  *   `monitoring_config.managed_prometheus_config.enabled`.
+   *  *   `platform_version`.
+   *  *   `proxy_config.kubernetes_secret.name`.
+   *  *   `proxy_config.kubernetes_secret.namespace`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
    * fields from
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]:
    *
-   *  *   `description`.
    *  *   `annotations`.
-   *  *   `platform_version`.
+   *  *   `authorization.admin_groups`.
    *  *   `authorization.admin_users`.
+   *  *   `binary_authorization.evaluation_mode`.
+   *  *   `description`.
    *  *   `logging_config.component_config.enable_components`.
    *  *   `monitoring_config.managed_prometheus_config.enabled`.
+   *  *   `platform_version`.
+   *  *   `proxy_config.kubernetes_secret.name`.
+   *  *   `proxy_config.kubernetes_secret.namespace`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequest.java similarity index 73% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequest.java index e0062a232cdc..91a857395aaf 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequest.java @@ -1,79 +1,56 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Request message for `AwsClusters.UpdateAwsCluster` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest} */ -public final class UpdateAwsClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateAwsClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest) UpdateAwsClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateAwsClusterRequest.newBuilder() to construct. private UpdateAwsClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateAwsClusterRequest() {} + private UpdateAwsClusterRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateAwsClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest.class, - com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest.class, com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest.Builder.class); } public static final int AWS_CLUSTER_FIELD_NUMBER = 1; private com.google.cloud.gkemulticloud.v1.AwsCluster awsCluster_; /** - * - * *
    * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
    * resource to update.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the awsCluster field is set. */ @java.lang.Override @@ -81,55 +58,39 @@ public boolean hasAwsCluster() { return awsCluster_ != null; } /** - * - * *
    * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
    * resource to update.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The awsCluster. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsCluster getAwsCluster() { - return awsCluster_ == null - ? com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance() - : awsCluster_; + return awsCluster_ == null ? com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance() : awsCluster_; } /** - * - * *
    * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
    * resource to update.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClusterOrBuilder() { - return awsCluster_ == null - ? com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance() - : awsCluster_; + return awsCluster_ == null ? com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance() : awsCluster_; } public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; private boolean validateOnly_ = false; /** - * - * *
    * If set, only validate the request, but do not actually update the cluster.
    * 
* * bool validate_only = 2; - * * @return The validateOnly. */ @java.lang.Override @@ -140,8 +101,6 @@ public boolean getValidateOnly() { public static final int UPDATE_MASK_FIELD_NUMBER = 4; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -151,6 +110,8 @@ public boolean getValidateOnly() {
    *  *   `annotations`.
    *  *   `control_plane.version`.
    *  *   `authorization.admin_users`.
+   *  *   `authorization.admin_groups`.
+   *  *   `binary_authorization.evaluation_mode`.
    *  *   `control_plane.aws_services_authentication.role_arn`.
    *  *   `control_plane.aws_services_authentication.role_session_name`.
    *  *   `control_plane.config_encryption.kms_key_arn`.
@@ -162,6 +123,7 @@ public boolean getValidateOnly() {
    *  *   `control_plane.root_volume.size_gib`.
    *  *   `control_plane.root_volume.volume_type`.
    *  *   `control_plane.root_volume.iops`.
+   *  *   `control_plane.root_volume.throughput`.
    *  *   `control_plane.root_volume.kms_key_arn`.
    *  *   `control_plane.ssh_config`.
    *  *   `control_plane.ssh_config.ec2_key_pair`.
@@ -170,11 +132,10 @@ public boolean getValidateOnly() {
    *  *   `logging_config.component_config.enable_components`.
    *  *   `control_plane.tags`.
    *  *   `monitoring_config.managed_prometheus_config.enabled`.
+   *  *   `networking.per_node_pool_sg_rules_disabled`.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -182,8 +143,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -193,6 +152,8 @@ public boolean hasUpdateMask() {
    *  *   `annotations`.
    *  *   `control_plane.version`.
    *  *   `authorization.admin_users`.
+   *  *   `authorization.admin_groups`.
+   *  *   `binary_authorization.evaluation_mode`.
    *  *   `control_plane.aws_services_authentication.role_arn`.
    *  *   `control_plane.aws_services_authentication.role_session_name`.
    *  *   `control_plane.config_encryption.kms_key_arn`.
@@ -204,6 +165,7 @@ public boolean hasUpdateMask() {
    *  *   `control_plane.root_volume.size_gib`.
    *  *   `control_plane.root_volume.volume_type`.
    *  *   `control_plane.root_volume.iops`.
+   *  *   `control_plane.root_volume.throughput`.
    *  *   `control_plane.root_volume.kms_key_arn`.
    *  *   `control_plane.ssh_config`.
    *  *   `control_plane.ssh_config.ec2_key_pair`.
@@ -212,11 +174,10 @@ public boolean hasUpdateMask() {
    *  *   `logging_config.component_config.enable_components`.
    *  *   `control_plane.tags`.
    *  *   `monitoring_config.managed_prometheus_config.enabled`.
+   *  *   `networking.per_node_pool_sg_rules_disabled`.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -224,8 +185,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -235,6 +194,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    *  *   `annotations`.
    *  *   `control_plane.version`.
    *  *   `authorization.admin_users`.
+   *  *   `authorization.admin_groups`.
+   *  *   `binary_authorization.evaluation_mode`.
    *  *   `control_plane.aws_services_authentication.role_arn`.
    *  *   `control_plane.aws_services_authentication.role_session_name`.
    *  *   `control_plane.config_encryption.kms_key_arn`.
@@ -246,6 +207,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    *  *   `control_plane.root_volume.size_gib`.
    *  *   `control_plane.root_volume.volume_type`.
    *  *   `control_plane.root_volume.iops`.
+   *  *   `control_plane.root_volume.throughput`.
    *  *   `control_plane.root_volume.kms_key_arn`.
    *  *   `control_plane.ssh_config`.
    *  *   `control_plane.ssh_config.ec2_key_pair`.
@@ -254,10 +216,10 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    *  *   `logging_config.component_config.enable_components`.
    *  *   `control_plane.tags`.
    *  *   `monitoring_config.managed_prometheus_config.enabled`.
+   *  *   `networking.per_node_pool_sg_rules_disabled`.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -265,7 +227,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -277,7 +238,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (awsCluster_ != null) { output.writeMessage(1, getAwsCluster()); } @@ -297,13 +259,16 @@ public int getSerializedSize() { size = 0; if (awsCluster_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAwsCluster()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAwsCluster()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, validateOnly_); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -313,22 +278,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest other = - (com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest) obj; + com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest other = (com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest) obj; if (hasAwsCluster() != other.hasAwsCluster()) return false; if (hasAwsCluster()) { - if (!getAwsCluster().equals(other.getAwsCluster())) return false; + if (!getAwsCluster() + .equals(other.getAwsCluster())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -346,7 +313,8 @@ public int hashCode() { hash = (53 * hash) + getAwsCluster().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); if (hasUpdateMask()) { hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER; hash = (53 * hash) + getUpdateMask().hashCode(); @@ -357,136 +325,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `AwsClusters.UpdateAwsCluster` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest) com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest.class, - com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest.class, com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -506,9 +469,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_descriptor; } @java.lang.Override @@ -527,11 +490,8 @@ public com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest result = - new com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest result = new com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -539,13 +499,17 @@ public com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest buildPartial() private void buildPartial0(com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.awsCluster_ = awsClusterBuilder_ == null ? awsCluster_ : awsClusterBuilder_.build(); + result.awsCluster_ = awsClusterBuilder_ == null + ? awsCluster_ + : awsClusterBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.validateOnly_ = validateOnly_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -553,39 +517,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.UpdateAwsClusterReq public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -593,8 +556,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest.getDefaultInstance()) return this; if (other.hasAwsCluster()) { mergeAwsCluster(other.getAwsCluster()); } @@ -630,31 +592,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getAwsClusterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 34: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getAwsClusterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 34: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -664,66 +626,46 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.gkemulticloud.v1.AwsCluster awsCluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsCluster, - com.google.cloud.gkemulticloud.v1.AwsCluster.Builder, - com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder> - awsClusterBuilder_; + com.google.cloud.gkemulticloud.v1.AwsCluster, com.google.cloud.gkemulticloud.v1.AwsCluster.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder> awsClusterBuilder_; /** - * - * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the awsCluster field is set. */ public boolean hasAwsCluster() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The awsCluster. */ public com.google.cloud.gkemulticloud.v1.AwsCluster getAwsCluster() { if (awsClusterBuilder_ == null) { - return awsCluster_ == null - ? com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance() - : awsCluster_; + return awsCluster_ == null ? com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance() : awsCluster_; } else { return awsClusterBuilder_.getMessage(); } } /** - * - * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAwsCluster(com.google.cloud.gkemulticloud.v1.AwsCluster value) { if (awsClusterBuilder_ == null) { @@ -739,16 +681,12 @@ public Builder setAwsCluster(com.google.cloud.gkemulticloud.v1.AwsCluster value) return this; } /** - * - * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAwsCluster( com.google.cloud.gkemulticloud.v1.AwsCluster.Builder builderForValue) { @@ -762,22 +700,18 @@ public Builder setAwsCluster( return this; } /** - * - * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAwsCluster(com.google.cloud.gkemulticloud.v1.AwsCluster value) { if (awsClusterBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && awsCluster_ != null - && awsCluster_ != com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + awsCluster_ != null && + awsCluster_ != com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance()) { getAwsClusterBuilder().mergeFrom(value); } else { awsCluster_ = value; @@ -790,16 +724,12 @@ public Builder mergeAwsCluster(com.google.cloud.gkemulticloud.v1.AwsCluster valu return this; } /** - * - * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAwsCluster() { bitField0_ = (bitField0_ & ~0x00000001); @@ -812,16 +742,12 @@ public Builder clearAwsCluster() { return this; } /** - * - * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AwsCluster.Builder getAwsClusterBuilder() { bitField0_ |= 0x00000001; @@ -829,65 +755,50 @@ public com.google.cloud.gkemulticloud.v1.AwsCluster.Builder getAwsClusterBuilder return getAwsClusterFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClusterOrBuilder() { if (awsClusterBuilder_ != null) { return awsClusterBuilder_.getMessageOrBuilder(); } else { - return awsCluster_ == null - ? com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance() - : awsCluster_; + return awsCluster_ == null ? + com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance() : awsCluster_; } } /** - * - * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsCluster, - com.google.cloud.gkemulticloud.v1.AwsCluster.Builder, - com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsCluster, com.google.cloud.gkemulticloud.v1.AwsCluster.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder> getAwsClusterFieldBuilder() { if (awsClusterBuilder_ == null) { - awsClusterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsCluster, - com.google.cloud.gkemulticloud.v1.AwsCluster.Builder, - com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder>( - getAwsCluster(), getParentForChildren(), isClean()); + awsClusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsCluster, com.google.cloud.gkemulticloud.v1.AwsCluster.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder>( + getAwsCluster(), + getParentForChildren(), + isClean()); awsCluster_ = null; } return awsClusterBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * If set, only validate the request, but do not actually update the cluster.
      * 
* * bool validate_only = 2; - * * @return The validateOnly. */ @java.lang.Override @@ -895,14 +806,11 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * If set, only validate the request, but do not actually update the cluster.
      * 
* * bool validate_only = 2; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -914,14 +822,11 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * If set, only validate the request, but do not actually update the cluster.
      * 
* * bool validate_only = 2; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -933,13 +838,8 @@ public Builder clearValidateOnly() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -949,6 +849,8 @@ public Builder clearValidateOnly() {
      *  *   `annotations`.
      *  *   `control_plane.version`.
      *  *   `authorization.admin_users`.
+     *  *   `authorization.admin_groups`.
+     *  *   `binary_authorization.evaluation_mode`.
      *  *   `control_plane.aws_services_authentication.role_arn`.
      *  *   `control_plane.aws_services_authentication.role_session_name`.
      *  *   `control_plane.config_encryption.kms_key_arn`.
@@ -960,6 +862,7 @@ public Builder clearValidateOnly() {
      *  *   `control_plane.root_volume.size_gib`.
      *  *   `control_plane.root_volume.volume_type`.
      *  *   `control_plane.root_volume.iops`.
+     *  *   `control_plane.root_volume.throughput`.
      *  *   `control_plane.root_volume.kms_key_arn`.
      *  *   `control_plane.ssh_config`.
      *  *   `control_plane.ssh_config.ec2_key_pair`.
@@ -968,19 +871,16 @@ public Builder clearValidateOnly() {
      *  *   `logging_config.component_config.enable_components`.
      *  *   `control_plane.tags`.
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
+     *  *   `networking.per_node_pool_sg_rules_disabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -990,6 +890,8 @@ public boolean hasUpdateMask() {
      *  *   `annotations`.
      *  *   `control_plane.version`.
      *  *   `authorization.admin_users`.
+     *  *   `authorization.admin_groups`.
+     *  *   `binary_authorization.evaluation_mode`.
      *  *   `control_plane.aws_services_authentication.role_arn`.
      *  *   `control_plane.aws_services_authentication.role_session_name`.
      *  *   `control_plane.config_encryption.kms_key_arn`.
@@ -1001,6 +903,7 @@ public boolean hasUpdateMask() {
      *  *   `control_plane.root_volume.size_gib`.
      *  *   `control_plane.root_volume.volume_type`.
      *  *   `control_plane.root_volume.iops`.
+     *  *   `control_plane.root_volume.throughput`.
      *  *   `control_plane.root_volume.kms_key_arn`.
      *  *   `control_plane.ssh_config`.
      *  *   `control_plane.ssh_config.ec2_key_pair`.
@@ -1009,25 +912,20 @@ public boolean hasUpdateMask() {
      *  *   `logging_config.component_config.enable_components`.
      *  *   `control_plane.tags`.
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
+     *  *   `networking.per_node_pool_sg_rules_disabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1037,6 +935,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      *  *   `annotations`.
      *  *   `control_plane.version`.
      *  *   `authorization.admin_users`.
+     *  *   `authorization.admin_groups`.
+     *  *   `binary_authorization.evaluation_mode`.
      *  *   `control_plane.aws_services_authentication.role_arn`.
      *  *   `control_plane.aws_services_authentication.role_session_name`.
      *  *   `control_plane.config_encryption.kms_key_arn`.
@@ -1048,6 +948,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      *  *   `control_plane.root_volume.size_gib`.
      *  *   `control_plane.root_volume.volume_type`.
      *  *   `control_plane.root_volume.iops`.
+     *  *   `control_plane.root_volume.throughput`.
      *  *   `control_plane.root_volume.kms_key_arn`.
      *  *   `control_plane.ssh_config`.
      *  *   `control_plane.ssh_config.ec2_key_pair`.
@@ -1056,10 +957,10 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      *  *   `logging_config.component_config.enable_components`.
      *  *   `control_plane.tags`.
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
+     *  *   `networking.per_node_pool_sg_rules_disabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -1075,8 +976,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1086,6 +985,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `annotations`.
      *  *   `control_plane.version`.
      *  *   `authorization.admin_users`.
+     *  *   `authorization.admin_groups`.
+     *  *   `binary_authorization.evaluation_mode`.
      *  *   `control_plane.aws_services_authentication.role_arn`.
      *  *   `control_plane.aws_services_authentication.role_session_name`.
      *  *   `control_plane.config_encryption.kms_key_arn`.
@@ -1097,6 +998,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `control_plane.root_volume.size_gib`.
      *  *   `control_plane.root_volume.volume_type`.
      *  *   `control_plane.root_volume.iops`.
+     *  *   `control_plane.root_volume.throughput`.
      *  *   `control_plane.root_volume.kms_key_arn`.
      *  *   `control_plane.ssh_config`.
      *  *   `control_plane.ssh_config.ec2_key_pair`.
@@ -1105,12 +1007,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `logging_config.component_config.enable_components`.
      *  *   `control_plane.tags`.
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
+     *  *   `networking.per_node_pool_sg_rules_disabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -1121,8 +1024,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1132,6 +1033,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      *  *   `annotations`.
      *  *   `control_plane.version`.
      *  *   `authorization.admin_users`.
+     *  *   `authorization.admin_groups`.
+     *  *   `binary_authorization.evaluation_mode`.
      *  *   `control_plane.aws_services_authentication.role_arn`.
      *  *   `control_plane.aws_services_authentication.role_session_name`.
      *  *   `control_plane.config_encryption.kms_key_arn`.
@@ -1143,6 +1046,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      *  *   `control_plane.root_volume.size_gib`.
      *  *   `control_plane.root_volume.volume_type`.
      *  *   `control_plane.root_volume.iops`.
+     *  *   `control_plane.root_volume.throughput`.
      *  *   `control_plane.root_volume.kms_key_arn`.
      *  *   `control_plane.ssh_config`.
      *  *   `control_plane.ssh_config.ec2_key_pair`.
@@ -1151,16 +1055,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      *  *   `logging_config.component_config.enable_components`.
      *  *   `control_plane.tags`.
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
+     *  *   `networking.per_node_pool_sg_rules_disabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -1173,8 +1077,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1184,6 +1086,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `annotations`.
      *  *   `control_plane.version`.
      *  *   `authorization.admin_users`.
+     *  *   `authorization.admin_groups`.
+     *  *   `binary_authorization.evaluation_mode`.
      *  *   `control_plane.aws_services_authentication.role_arn`.
      *  *   `control_plane.aws_services_authentication.role_session_name`.
      *  *   `control_plane.config_encryption.kms_key_arn`.
@@ -1195,6 +1099,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `control_plane.root_volume.size_gib`.
      *  *   `control_plane.root_volume.volume_type`.
      *  *   `control_plane.root_volume.iops`.
+     *  *   `control_plane.root_volume.throughput`.
      *  *   `control_plane.root_volume.kms_key_arn`.
      *  *   `control_plane.ssh_config`.
      *  *   `control_plane.ssh_config.ec2_key_pair`.
@@ -1203,10 +1108,10 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `logging_config.component_config.enable_components`.
      *  *   `control_plane.tags`.
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
+     *  *   `networking.per_node_pool_sg_rules_disabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1219,8 +1124,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1230,6 +1133,8 @@ public Builder clearUpdateMask() {
      *  *   `annotations`.
      *  *   `control_plane.version`.
      *  *   `authorization.admin_users`.
+     *  *   `authorization.admin_groups`.
+     *  *   `binary_authorization.evaluation_mode`.
      *  *   `control_plane.aws_services_authentication.role_arn`.
      *  *   `control_plane.aws_services_authentication.role_session_name`.
      *  *   `control_plane.config_encryption.kms_key_arn`.
@@ -1241,6 +1146,7 @@ public Builder clearUpdateMask() {
      *  *   `control_plane.root_volume.size_gib`.
      *  *   `control_plane.root_volume.volume_type`.
      *  *   `control_plane.root_volume.iops`.
+     *  *   `control_plane.root_volume.throughput`.
      *  *   `control_plane.root_volume.kms_key_arn`.
      *  *   `control_plane.ssh_config`.
      *  *   `control_plane.ssh_config.ec2_key_pair`.
@@ -1249,10 +1155,10 @@ public Builder clearUpdateMask() {
      *  *   `logging_config.component_config.enable_components`.
      *  *   `control_plane.tags`.
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
+     *  *   `networking.per_node_pool_sg_rules_disabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000004; @@ -1260,8 +1166,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1271,6 +1175,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      *  *   `annotations`.
      *  *   `control_plane.version`.
      *  *   `authorization.admin_users`.
+     *  *   `authorization.admin_groups`.
+     *  *   `binary_authorization.evaluation_mode`.
      *  *   `control_plane.aws_services_authentication.role_arn`.
      *  *   `control_plane.aws_services_authentication.role_session_name`.
      *  *   `control_plane.config_encryption.kms_key_arn`.
@@ -1282,6 +1188,7 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      *  *   `control_plane.root_volume.size_gib`.
      *  *   `control_plane.root_volume.volume_type`.
      *  *   `control_plane.root_volume.iops`.
+     *  *   `control_plane.root_volume.throughput`.
      *  *   `control_plane.root_volume.kms_key_arn`.
      *  *   `control_plane.ssh_config`.
      *  *   `control_plane.ssh_config.ec2_key_pair`.
@@ -1290,23 +1197,20 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      *  *   `logging_config.component_config.enable_components`.
      *  *   `control_plane.tags`.
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
+     *  *   `networking.per_node_pool_sg_rules_disabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1316,6 +1220,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      *  *   `annotations`.
      *  *   `control_plane.version`.
      *  *   `authorization.admin_users`.
+     *  *   `authorization.admin_groups`.
+     *  *   `binary_authorization.evaluation_mode`.
      *  *   `control_plane.aws_services_authentication.role_arn`.
      *  *   `control_plane.aws_services_authentication.role_session_name`.
      *  *   `control_plane.config_encryption.kms_key_arn`.
@@ -1327,6 +1233,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      *  *   `control_plane.root_volume.size_gib`.
      *  *   `control_plane.root_volume.volume_type`.
      *  *   `control_plane.root_volume.iops`.
+     *  *   `control_plane.root_volume.throughput`.
      *  *   `control_plane.root_volume.kms_key_arn`.
      *  *   `control_plane.ssh_config`.
      *  *   `control_plane.ssh_config.ec2_key_pair`.
@@ -1335,30 +1242,27 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      *  *   `logging_config.component_config.enable_components`.
      *  *   `control_plane.tags`.
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
+     *  *   `networking.per_node_pool_sg_rules_disabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1368,12 +1272,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest) private static final com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest(); } @@ -1382,27 +1286,27 @@ public static com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAwsClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAwsClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1417,4 +1321,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequestOrBuilder.java similarity index 81% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequestOrBuilder.java index 403d139e0f08..a302f8b7a865 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequestOrBuilder.java @@ -1,88 +1,53 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface UpdateAwsClusterRequestOrBuilder - extends +public interface UpdateAwsClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
    * resource to update.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the awsCluster field is set. */ boolean hasAwsCluster(); /** - * - * *
    * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
    * resource to update.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The awsCluster. */ com.google.cloud.gkemulticloud.v1.AwsCluster getAwsCluster(); /** - * - * *
    * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
    * resource to update.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClusterOrBuilder(); /** - * - * *
    * If set, only validate the request, but do not actually update the cluster.
    * 
* * bool validate_only = 2; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -92,6 +57,8 @@ public interface UpdateAwsClusterRequestOrBuilder
    *  *   `annotations`.
    *  *   `control_plane.version`.
    *  *   `authorization.admin_users`.
+   *  *   `authorization.admin_groups`.
+   *  *   `binary_authorization.evaluation_mode`.
    *  *   `control_plane.aws_services_authentication.role_arn`.
    *  *   `control_plane.aws_services_authentication.role_session_name`.
    *  *   `control_plane.config_encryption.kms_key_arn`.
@@ -103,6 +70,7 @@ public interface UpdateAwsClusterRequestOrBuilder
    *  *   `control_plane.root_volume.size_gib`.
    *  *   `control_plane.root_volume.volume_type`.
    *  *   `control_plane.root_volume.iops`.
+   *  *   `control_plane.root_volume.throughput`.
    *  *   `control_plane.root_volume.kms_key_arn`.
    *  *   `control_plane.ssh_config`.
    *  *   `control_plane.ssh_config.ec2_key_pair`.
@@ -111,17 +79,14 @@ public interface UpdateAwsClusterRequestOrBuilder
    *  *   `logging_config.component_config.enable_components`.
    *  *   `control_plane.tags`.
    *  *   `monitoring_config.managed_prometheus_config.enabled`.
+   *  *   `networking.per_node_pool_sg_rules_disabled`.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -131,6 +96,8 @@ public interface UpdateAwsClusterRequestOrBuilder
    *  *   `annotations`.
    *  *   `control_plane.version`.
    *  *   `authorization.admin_users`.
+   *  *   `authorization.admin_groups`.
+   *  *   `binary_authorization.evaluation_mode`.
    *  *   `control_plane.aws_services_authentication.role_arn`.
    *  *   `control_plane.aws_services_authentication.role_session_name`.
    *  *   `control_plane.config_encryption.kms_key_arn`.
@@ -142,6 +109,7 @@ public interface UpdateAwsClusterRequestOrBuilder
    *  *   `control_plane.root_volume.size_gib`.
    *  *   `control_plane.root_volume.volume_type`.
    *  *   `control_plane.root_volume.iops`.
+   *  *   `control_plane.root_volume.throughput`.
    *  *   `control_plane.root_volume.kms_key_arn`.
    *  *   `control_plane.ssh_config`.
    *  *   `control_plane.ssh_config.ec2_key_pair`.
@@ -150,17 +118,14 @@ public interface UpdateAwsClusterRequestOrBuilder
    *  *   `logging_config.component_config.enable_components`.
    *  *   `control_plane.tags`.
    *  *   `monitoring_config.managed_prometheus_config.enabled`.
+   *  *   `networking.per_node_pool_sg_rules_disabled`.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -170,6 +135,8 @@ public interface UpdateAwsClusterRequestOrBuilder
    *  *   `annotations`.
    *  *   `control_plane.version`.
    *  *   `authorization.admin_users`.
+   *  *   `authorization.admin_groups`.
+   *  *   `binary_authorization.evaluation_mode`.
    *  *   `control_plane.aws_services_authentication.role_arn`.
    *  *   `control_plane.aws_services_authentication.role_session_name`.
    *  *   `control_plane.config_encryption.kms_key_arn`.
@@ -181,6 +148,7 @@ public interface UpdateAwsClusterRequestOrBuilder
    *  *   `control_plane.root_volume.size_gib`.
    *  *   `control_plane.root_volume.volume_type`.
    *  *   `control_plane.root_volume.iops`.
+   *  *   `control_plane.root_volume.throughput`.
    *  *   `control_plane.root_volume.kms_key_arn`.
    *  *   `control_plane.ssh_config`.
    *  *   `control_plane.ssh_config.ec2_key_pair`.
@@ -189,10 +157,10 @@ public interface UpdateAwsClusterRequestOrBuilder
    *  *   `logging_config.component_config.enable_components`.
    *  *   `control_plane.tags`.
    *  *   `monitoring_config.managed_prometheus_config.enabled`.
+   *  *   `networking.per_node_pool_sg_rules_disabled`.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequest.java similarity index 70% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequest.java index 2a169ee2e3ff..5c7260fee31d 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequest.java @@ -1,79 +1,56 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Request message for `AwsClusters.UpdateAwsNodePool` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest} */ -public final class UpdateAwsNodePoolRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateAwsNodePoolRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest) UpdateAwsNodePoolRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateAwsNodePoolRequest.newBuilder() to construct. private UpdateAwsNodePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateAwsNodePoolRequest() {} + private UpdateAwsNodePoolRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateAwsNodePoolRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest.class, - com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest.class, com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest.Builder.class); } public static final int AWS_NODE_POOL_FIELD_NUMBER = 1; private com.google.cloud.gkemulticloud.v1.AwsNodePool awsNodePool_; /** - * - * *
    * Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
    * resource to update.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the awsNodePool field is set. */ @java.lang.Override @@ -81,55 +58,39 @@ public boolean hasAwsNodePool() { return awsNodePool_ != null; } /** - * - * *
    * Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
    * resource to update.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The awsNodePool. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsNodePool getAwsNodePool() { - return awsNodePool_ == null - ? com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance() - : awsNodePool_; + return awsNodePool_ == null ? com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance() : awsNodePool_; } /** - * - * *
    * Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
    * resource to update.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolOrBuilder() { - return awsNodePool_ == null - ? com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance() - : awsNodePool_; + return awsNodePool_ == null ? com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance() : awsNodePool_; } public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; private boolean validateOnly_ = false; /** - * - * *
    * If set, only validate the request, but don't actually update the node pool.
    * 
* * bool validate_only = 2; - * * @return The validateOnly. */ @java.lang.Override @@ -140,8 +101,6 @@ public boolean getValidateOnly() { public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -154,6 +113,7 @@ public boolean getValidateOnly() {
    *  *   `config.config_encryption.kms_key_arn`.
    *  *   `config.security_group_ids`.
    *  *   `config.root_volume.iops`.
+   *  *   `config.root_volume.throughput`.
    *  *   `config.root_volume.kms_key_arn`.
    *  *   `config.root_volume.volume_type`.
    *  *   `config.root_volume.size_gib`.
@@ -169,11 +129,16 @@ public boolean getValidateOnly() {
    *  *   `config.autoscaling_metrics_collection`.
    *  *   `config.autoscaling_metrics_collection.granularity`.
    *  *   `config.autoscaling_metrics_collection.metrics`.
+   *  *   `config.instance_type`.
+   *  *   `management.auto_repair`.
+   *  *   `management`.
+   *  *   `update_settings`.
+   *  *   `update_settings.surge_settings`.
+   *  *   `update_settings.surge_settings.max_surge`.
+   *  *   `update_settings.surge_settings.max_unavailable`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -181,8 +146,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -195,6 +158,7 @@ public boolean hasUpdateMask() {
    *  *   `config.config_encryption.kms_key_arn`.
    *  *   `config.security_group_ids`.
    *  *   `config.root_volume.iops`.
+   *  *   `config.root_volume.throughput`.
    *  *   `config.root_volume.kms_key_arn`.
    *  *   `config.root_volume.volume_type`.
    *  *   `config.root_volume.size_gib`.
@@ -210,11 +174,16 @@ public boolean hasUpdateMask() {
    *  *   `config.autoscaling_metrics_collection`.
    *  *   `config.autoscaling_metrics_collection.granularity`.
    *  *   `config.autoscaling_metrics_collection.metrics`.
+   *  *   `config.instance_type`.
+   *  *   `management.auto_repair`.
+   *  *   `management`.
+   *  *   `update_settings`.
+   *  *   `update_settings.surge_settings`.
+   *  *   `update_settings.surge_settings.max_surge`.
+   *  *   `update_settings.surge_settings.max_unavailable`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -222,8 +191,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -236,6 +203,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    *  *   `config.config_encryption.kms_key_arn`.
    *  *   `config.security_group_ids`.
    *  *   `config.root_volume.iops`.
+   *  *   `config.root_volume.throughput`.
    *  *   `config.root_volume.kms_key_arn`.
    *  *   `config.root_volume.volume_type`.
    *  *   `config.root_volume.size_gib`.
@@ -251,10 +219,16 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    *  *   `config.autoscaling_metrics_collection`.
    *  *   `config.autoscaling_metrics_collection.granularity`.
    *  *   `config.autoscaling_metrics_collection.metrics`.
+   *  *   `config.instance_type`.
+   *  *   `management.auto_repair`.
+   *  *   `management`.
+   *  *   `update_settings`.
+   *  *   `update_settings.surge_settings`.
+   *  *   `update_settings.surge_settings.max_surge`.
+   *  *   `update_settings.surge_settings.max_unavailable`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -262,7 +236,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -274,7 +247,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (awsNodePool_ != null) { output.writeMessage(1, getAwsNodePool()); } @@ -294,13 +268,16 @@ public int getSerializedSize() { size = 0; if (awsNodePool_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAwsNodePool()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAwsNodePool()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, validateOnly_); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -310,22 +287,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest other = - (com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest) obj; + com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest other = (com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest) obj; if (hasAwsNodePool() != other.hasAwsNodePool()) return false; if (hasAwsNodePool()) { - if (!getAwsNodePool().equals(other.getAwsNodePool())) return false; + if (!getAwsNodePool() + .equals(other.getAwsNodePool())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -343,7 +322,8 @@ public int hashCode() { hash = (53 * hash) + getAwsNodePool().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); if (hasUpdateMask()) { hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER; hash = (53 * hash) + getUpdateMask().hashCode(); @@ -354,136 +334,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `AwsClusters.UpdateAwsNodePool` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest) com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest.class, - com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest.class, com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -503,9 +478,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto - .internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_descriptor; } @java.lang.Override @@ -524,11 +499,8 @@ public com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest result = - new com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest result = new com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -536,14 +508,17 @@ public com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest buildPartial() private void buildPartial0(com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.awsNodePool_ = - awsNodePoolBuilder_ == null ? awsNodePool_ : awsNodePoolBuilder_.build(); + result.awsNodePool_ = awsNodePoolBuilder_ == null + ? awsNodePool_ + : awsNodePoolBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.validateOnly_ = validateOnly_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -551,39 +526,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest)other); } else { super.mergeFrom(other); return this; @@ -591,8 +565,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest.getDefaultInstance()) return this; if (other.hasAwsNodePool()) { mergeAwsNodePool(other.getAwsNodePool()); } @@ -628,31 +601,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getAwsNodePoolFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getAwsNodePoolFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -662,66 +635,46 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.gkemulticloud.v1.AwsNodePool awsNodePool_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodePool, - com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder, - com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder> - awsNodePoolBuilder_; + com.google.cloud.gkemulticloud.v1.AwsNodePool, com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder, com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder> awsNodePoolBuilder_; /** - * - * *
      * Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the awsNodePool field is set. */ public boolean hasAwsNodePool() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The awsNodePool. */ public com.google.cloud.gkemulticloud.v1.AwsNodePool getAwsNodePool() { if (awsNodePoolBuilder_ == null) { - return awsNodePool_ == null - ? com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance() - : awsNodePool_; + return awsNodePool_ == null ? com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance() : awsNodePool_; } else { return awsNodePoolBuilder_.getMessage(); } } /** - * - * *
      * Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAwsNodePool(com.google.cloud.gkemulticloud.v1.AwsNodePool value) { if (awsNodePoolBuilder_ == null) { @@ -737,16 +690,12 @@ public Builder setAwsNodePool(com.google.cloud.gkemulticloud.v1.AwsNodePool valu return this; } /** - * - * *
      * Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAwsNodePool( com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder builderForValue) { @@ -760,22 +709,18 @@ public Builder setAwsNodePool( return this; } /** - * - * *
      * Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAwsNodePool(com.google.cloud.gkemulticloud.v1.AwsNodePool value) { if (awsNodePoolBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && awsNodePool_ != null - && awsNodePool_ != com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + awsNodePool_ != null && + awsNodePool_ != com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance()) { getAwsNodePoolBuilder().mergeFrom(value); } else { awsNodePool_ = value; @@ -788,16 +733,12 @@ public Builder mergeAwsNodePool(com.google.cloud.gkemulticloud.v1.AwsNodePool va return this; } /** - * - * *
      * Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAwsNodePool() { bitField0_ = (bitField0_ & ~0x00000001); @@ -810,16 +751,12 @@ public Builder clearAwsNodePool() { return this; } /** - * - * *
      * Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder getAwsNodePoolBuilder() { bitField0_ |= 0x00000001; @@ -827,65 +764,50 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder getAwsNodePoolBuild return getAwsNodePoolFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolOrBuilder() { if (awsNodePoolBuilder_ != null) { return awsNodePoolBuilder_.getMessageOrBuilder(); } else { - return awsNodePool_ == null - ? com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance() - : awsNodePool_; + return awsNodePool_ == null ? + com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance() : awsNodePool_; } } /** - * - * *
      * Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodePool, - com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder, - com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsNodePool, com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder, com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder> getAwsNodePoolFieldBuilder() { if (awsNodePoolBuilder_ == null) { - awsNodePoolBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodePool, - com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder, - com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder>( - getAwsNodePool(), getParentForChildren(), isClean()); + awsNodePoolBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsNodePool, com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder, com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder>( + getAwsNodePool(), + getParentForChildren(), + isClean()); awsNodePool_ = null; } return awsNodePoolBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * If set, only validate the request, but don't actually update the node pool.
      * 
* * bool validate_only = 2; - * * @return The validateOnly. */ @java.lang.Override @@ -893,14 +815,11 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * If set, only validate the request, but don't actually update the node pool.
      * 
* * bool validate_only = 2; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -912,14 +831,11 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * If set, only validate the request, but don't actually update the node pool.
      * 
* * bool validate_only = 2; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -931,13 +847,8 @@ public Builder clearValidateOnly() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -950,6 +861,7 @@ public Builder clearValidateOnly() {
      *  *   `config.config_encryption.kms_key_arn`.
      *  *   `config.security_group_ids`.
      *  *   `config.root_volume.iops`.
+     *  *   `config.root_volume.throughput`.
      *  *   `config.root_volume.kms_key_arn`.
      *  *   `config.root_volume.volume_type`.
      *  *   `config.root_volume.size_gib`.
@@ -965,19 +877,22 @@ public Builder clearValidateOnly() {
      *  *   `config.autoscaling_metrics_collection`.
      *  *   `config.autoscaling_metrics_collection.granularity`.
      *  *   `config.autoscaling_metrics_collection.metrics`.
+     *  *   `config.instance_type`.
+     *  *   `management.auto_repair`.
+     *  *   `management`.
+     *  *   `update_settings`.
+     *  *   `update_settings.surge_settings`.
+     *  *   `update_settings.surge_settings.max_surge`.
+     *  *   `update_settings.surge_settings.max_unavailable`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -990,6 +905,7 @@ public boolean hasUpdateMask() {
      *  *   `config.config_encryption.kms_key_arn`.
      *  *   `config.security_group_ids`.
      *  *   `config.root_volume.iops`.
+     *  *   `config.root_volume.throughput`.
      *  *   `config.root_volume.kms_key_arn`.
      *  *   `config.root_volume.volume_type`.
      *  *   `config.root_volume.size_gib`.
@@ -1005,25 +921,26 @@ public boolean hasUpdateMask() {
      *  *   `config.autoscaling_metrics_collection`.
      *  *   `config.autoscaling_metrics_collection.granularity`.
      *  *   `config.autoscaling_metrics_collection.metrics`.
+     *  *   `config.instance_type`.
+     *  *   `management.auto_repair`.
+     *  *   `management`.
+     *  *   `update_settings`.
+     *  *   `update_settings.surge_settings`.
+     *  *   `update_settings.surge_settings.max_surge`.
+     *  *   `update_settings.surge_settings.max_unavailable`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1036,6 +953,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      *  *   `config.config_encryption.kms_key_arn`.
      *  *   `config.security_group_ids`.
      *  *   `config.root_volume.iops`.
+     *  *   `config.root_volume.throughput`.
      *  *   `config.root_volume.kms_key_arn`.
      *  *   `config.root_volume.volume_type`.
      *  *   `config.root_volume.size_gib`.
@@ -1051,10 +969,16 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      *  *   `config.autoscaling_metrics_collection`.
      *  *   `config.autoscaling_metrics_collection.granularity`.
      *  *   `config.autoscaling_metrics_collection.metrics`.
+     *  *   `config.instance_type`.
+     *  *   `management.auto_repair`.
+     *  *   `management`.
+     *  *   `update_settings`.
+     *  *   `update_settings.surge_settings`.
+     *  *   `update_settings.surge_settings.max_surge`.
+     *  *   `update_settings.surge_settings.max_unavailable`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -1070,8 +994,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1084,6 +1006,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `config.config_encryption.kms_key_arn`.
      *  *   `config.security_group_ids`.
      *  *   `config.root_volume.iops`.
+     *  *   `config.root_volume.throughput`.
      *  *   `config.root_volume.kms_key_arn`.
      *  *   `config.root_volume.volume_type`.
      *  *   `config.root_volume.size_gib`.
@@ -1099,12 +1022,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `config.autoscaling_metrics_collection`.
      *  *   `config.autoscaling_metrics_collection.granularity`.
      *  *   `config.autoscaling_metrics_collection.metrics`.
+     *  *   `config.instance_type`.
+     *  *   `management.auto_repair`.
+     *  *   `management`.
+     *  *   `update_settings`.
+     *  *   `update_settings.surge_settings`.
+     *  *   `update_settings.surge_settings.max_surge`.
+     *  *   `update_settings.surge_settings.max_unavailable`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -1115,8 +1045,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1129,6 +1057,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      *  *   `config.config_encryption.kms_key_arn`.
      *  *   `config.security_group_ids`.
      *  *   `config.root_volume.iops`.
+     *  *   `config.root_volume.throughput`.
      *  *   `config.root_volume.kms_key_arn`.
      *  *   `config.root_volume.volume_type`.
      *  *   `config.root_volume.size_gib`.
@@ -1144,16 +1073,22 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      *  *   `config.autoscaling_metrics_collection`.
      *  *   `config.autoscaling_metrics_collection.granularity`.
      *  *   `config.autoscaling_metrics_collection.metrics`.
+     *  *   `config.instance_type`.
+     *  *   `management.auto_repair`.
+     *  *   `management`.
+     *  *   `update_settings`.
+     *  *   `update_settings.surge_settings`.
+     *  *   `update_settings.surge_settings.max_surge`.
+     *  *   `update_settings.surge_settings.max_unavailable`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -1166,8 +1101,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1180,6 +1113,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `config.config_encryption.kms_key_arn`.
      *  *   `config.security_group_ids`.
      *  *   `config.root_volume.iops`.
+     *  *   `config.root_volume.throughput`.
      *  *   `config.root_volume.kms_key_arn`.
      *  *   `config.root_volume.volume_type`.
      *  *   `config.root_volume.size_gib`.
@@ -1195,10 +1129,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `config.autoscaling_metrics_collection`.
      *  *   `config.autoscaling_metrics_collection.granularity`.
      *  *   `config.autoscaling_metrics_collection.metrics`.
+     *  *   `config.instance_type`.
+     *  *   `management.auto_repair`.
+     *  *   `management`.
+     *  *   `update_settings`.
+     *  *   `update_settings.surge_settings`.
+     *  *   `update_settings.surge_settings.max_surge`.
+     *  *   `update_settings.surge_settings.max_unavailable`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1211,8 +1151,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1225,6 +1163,7 @@ public Builder clearUpdateMask() {
      *  *   `config.config_encryption.kms_key_arn`.
      *  *   `config.security_group_ids`.
      *  *   `config.root_volume.iops`.
+     *  *   `config.root_volume.throughput`.
      *  *   `config.root_volume.kms_key_arn`.
      *  *   `config.root_volume.volume_type`.
      *  *   `config.root_volume.size_gib`.
@@ -1240,10 +1179,16 @@ public Builder clearUpdateMask() {
      *  *   `config.autoscaling_metrics_collection`.
      *  *   `config.autoscaling_metrics_collection.granularity`.
      *  *   `config.autoscaling_metrics_collection.metrics`.
+     *  *   `config.instance_type`.
+     *  *   `management.auto_repair`.
+     *  *   `management`.
+     *  *   `update_settings`.
+     *  *   `update_settings.surge_settings`.
+     *  *   `update_settings.surge_settings.max_surge`.
+     *  *   `update_settings.surge_settings.max_unavailable`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000004; @@ -1251,8 +1196,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1265,6 +1208,7 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      *  *   `config.config_encryption.kms_key_arn`.
      *  *   `config.security_group_ids`.
      *  *   `config.root_volume.iops`.
+     *  *   `config.root_volume.throughput`.
      *  *   `config.root_volume.kms_key_arn`.
      *  *   `config.root_volume.volume_type`.
      *  *   `config.root_volume.size_gib`.
@@ -1280,23 +1224,26 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      *  *   `config.autoscaling_metrics_collection`.
      *  *   `config.autoscaling_metrics_collection.granularity`.
      *  *   `config.autoscaling_metrics_collection.metrics`.
+     *  *   `config.instance_type`.
+     *  *   `management.auto_repair`.
+     *  *   `management`.
+     *  *   `update_settings`.
+     *  *   `update_settings.surge_settings`.
+     *  *   `update_settings.surge_settings.max_surge`.
+     *  *   `update_settings.surge_settings.max_unavailable`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1309,6 +1256,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      *  *   `config.config_encryption.kms_key_arn`.
      *  *   `config.security_group_ids`.
      *  *   `config.root_volume.iops`.
+     *  *   `config.root_volume.throughput`.
      *  *   `config.root_volume.kms_key_arn`.
      *  *   `config.root_volume.volume_type`.
      *  *   `config.root_volume.size_gib`.
@@ -1324,30 +1272,33 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      *  *   `config.autoscaling_metrics_collection`.
      *  *   `config.autoscaling_metrics_collection.granularity`.
      *  *   `config.autoscaling_metrics_collection.metrics`.
+     *  *   `config.instance_type`.
+     *  *   `management.auto_repair`.
+     *  *   `management`.
+     *  *   `update_settings`.
+     *  *   `update_settings.surge_settings`.
+     *  *   `update_settings.surge_settings.max_surge`.
+     *  *   `update_settings.surge_settings.max_unavailable`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1357,12 +1308,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest) private static final com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest(); } @@ -1371,27 +1322,27 @@ public static com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAwsNodePoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAwsNodePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1406,4 +1357,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequestOrBuilder.java similarity index 77% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequestOrBuilder.java index 3f34daa84657..386c07b1fc6f 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequestOrBuilder.java @@ -1,88 +1,53 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface UpdateAwsNodePoolRequestOrBuilder - extends +public interface UpdateAwsNodePoolRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
    * resource to update.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the awsNodePool field is set. */ boolean hasAwsNodePool(); /** - * - * *
    * Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
    * resource to update.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The awsNodePool. */ com.google.cloud.gkemulticloud.v1.AwsNodePool getAwsNodePool(); /** - * - * *
    * Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
    * resource to update.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolOrBuilder(); /** - * - * *
    * If set, only validate the request, but don't actually update the node pool.
    * 
* * bool validate_only = 2; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -95,6 +60,7 @@ public interface UpdateAwsNodePoolRequestOrBuilder
    *  *   `config.config_encryption.kms_key_arn`.
    *  *   `config.security_group_ids`.
    *  *   `config.root_volume.iops`.
+   *  *   `config.root_volume.throughput`.
    *  *   `config.root_volume.kms_key_arn`.
    *  *   `config.root_volume.volume_type`.
    *  *   `config.root_volume.size_gib`.
@@ -110,17 +76,20 @@ public interface UpdateAwsNodePoolRequestOrBuilder
    *  *   `config.autoscaling_metrics_collection`.
    *  *   `config.autoscaling_metrics_collection.granularity`.
    *  *   `config.autoscaling_metrics_collection.metrics`.
+   *  *   `config.instance_type`.
+   *  *   `management.auto_repair`.
+   *  *   `management`.
+   *  *   `update_settings`.
+   *  *   `update_settings.surge_settings`.
+   *  *   `update_settings.surge_settings.max_surge`.
+   *  *   `update_settings.surge_settings.max_unavailable`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -133,6 +102,7 @@ public interface UpdateAwsNodePoolRequestOrBuilder
    *  *   `config.config_encryption.kms_key_arn`.
    *  *   `config.security_group_ids`.
    *  *   `config.root_volume.iops`.
+   *  *   `config.root_volume.throughput`.
    *  *   `config.root_volume.kms_key_arn`.
    *  *   `config.root_volume.volume_type`.
    *  *   `config.root_volume.size_gib`.
@@ -148,17 +118,20 @@ public interface UpdateAwsNodePoolRequestOrBuilder
    *  *   `config.autoscaling_metrics_collection`.
    *  *   `config.autoscaling_metrics_collection.granularity`.
    *  *   `config.autoscaling_metrics_collection.metrics`.
+   *  *   `config.instance_type`.
+   *  *   `management.auto_repair`.
+   *  *   `management`.
+   *  *   `update_settings`.
+   *  *   `update_settings.surge_settings`.
+   *  *   `update_settings.surge_settings.max_surge`.
+   *  *   `update_settings.surge_settings.max_unavailable`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -171,6 +144,7 @@ public interface UpdateAwsNodePoolRequestOrBuilder
    *  *   `config.config_encryption.kms_key_arn`.
    *  *   `config.security_group_ids`.
    *  *   `config.root_volume.iops`.
+   *  *   `config.root_volume.throughput`.
    *  *   `config.root_volume.kms_key_arn`.
    *  *   `config.root_volume.volume_type`.
    *  *   `config.root_volume.size_gib`.
@@ -186,10 +160,16 @@ public interface UpdateAwsNodePoolRequestOrBuilder
    *  *   `config.autoscaling_metrics_collection`.
    *  *   `config.autoscaling_metrics_collection.granularity`.
    *  *   `config.autoscaling_metrics_collection.metrics`.
+   *  *   `config.instance_type`.
+   *  *   `management.auto_repair`.
+   *  *   `management`.
+   *  *   `update_settings`.
+   *  *   `update_settings.surge_settings`.
+   *  *   `update_settings.surge_settings.max_surge`.
+   *  *   `update_settings.surge_settings.max_unavailable`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequest.java similarity index 73% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequest.java index 2a3b03fc688e..17918164aa9f 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequest.java @@ -1,79 +1,56 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Request message for `AzureClusters.UpdateAzureCluster` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest} */ -public final class UpdateAzureClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateAzureClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest) UpdateAzureClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateAzureClusterRequest.newBuilder() to construct. private UpdateAzureClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateAzureClusterRequest() {} + private UpdateAzureClusterRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateAzureClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest.class, - com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest.class, com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest.Builder.class); } public static final int AZURE_CLUSTER_FIELD_NUMBER = 1; private com.google.cloud.gkemulticloud.v1.AzureCluster azureCluster_; /** - * - * *
    * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resource to update.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the azureCluster field is set. */ @java.lang.Override @@ -81,55 +58,39 @@ public boolean hasAzureCluster() { return azureCluster_ != null; } /** - * - * *
    * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resource to update.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The azureCluster. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureCluster getAzureCluster() { - return azureCluster_ == null - ? com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance() - : azureCluster_; + return azureCluster_ == null ? com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance() : azureCluster_; } /** - * - * *
    * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resource to update.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClusterOrBuilder() { - return azureCluster_ == null - ? com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance() - : azureCluster_; + return azureCluster_ == null ? com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance() : azureCluster_; } public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; private boolean validateOnly_ = false; /** - * - * *
    * If set, only validate the request, but do not actually update the cluster.
    * 
* * bool validate_only = 2; - * * @return The validateOnly. */ @java.lang.Override @@ -140,8 +101,6 @@ public boolean getValidateOnly() { public static final int UPDATE_MASK_FIELD_NUMBER = 4; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -153,6 +112,7 @@ public boolean getValidateOnly() {
    *  *   `control_plane.vm_size`.
    *  *   `annotations`.
    *  *   `authorization.admin_users`.
+   *  *   `authorization.admin_groups`.
    *  *   `control_plane.root_volume.size_gib`.
    *  *   `azure_services_authentication`.
    *  *   `azure_services_authentication.tenant_id`.
@@ -165,9 +125,7 @@ public boolean getValidateOnly() {
    *  *   `monitoring_config.managed_prometheus_config.enabled`.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -175,8 +133,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -188,6 +144,7 @@ public boolean hasUpdateMask() {
    *  *   `control_plane.vm_size`.
    *  *   `annotations`.
    *  *   `authorization.admin_users`.
+   *  *   `authorization.admin_groups`.
    *  *   `control_plane.root_volume.size_gib`.
    *  *   `azure_services_authentication`.
    *  *   `azure_services_authentication.tenant_id`.
@@ -200,9 +157,7 @@ public boolean hasUpdateMask() {
    *  *   `monitoring_config.managed_prometheus_config.enabled`.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -210,8 +165,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -223,6 +176,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    *  *   `control_plane.vm_size`.
    *  *   `annotations`.
    *  *   `authorization.admin_users`.
+   *  *   `authorization.admin_groups`.
    *  *   `control_plane.root_volume.size_gib`.
    *  *   `azure_services_authentication`.
    *  *   `azure_services_authentication.tenant_id`.
@@ -235,8 +189,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    *  *   `monitoring_config.managed_prometheus_config.enabled`.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -244,7 +197,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -256,7 +208,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (azureCluster_ != null) { output.writeMessage(1, getAzureCluster()); } @@ -276,13 +229,16 @@ public int getSerializedSize() { size = 0; if (azureCluster_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAzureCluster()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAzureCluster()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, validateOnly_); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -292,22 +248,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest other = - (com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest) obj; + com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest other = (com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest) obj; if (hasAzureCluster() != other.hasAzureCluster()) return false; if (hasAzureCluster()) { - if (!getAzureCluster().equals(other.getAzureCluster())) return false; + if (!getAzureCluster() + .equals(other.getAzureCluster())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -325,7 +283,8 @@ public int hashCode() { hash = (53 * hash) + getAzureCluster().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); if (hasUpdateMask()) { hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER; hash = (53 * hash) + getUpdateMask().hashCode(); @@ -336,136 +295,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `AzureClusters.UpdateAzureCluster` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest) com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest.class, - com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest.class, com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -485,9 +439,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_descriptor; } @java.lang.Override @@ -506,11 +460,8 @@ public com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest result = - new com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest result = new com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -518,14 +469,17 @@ public com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest buildPartial( private void buildPartial0(com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.azureCluster_ = - azureClusterBuilder_ == null ? azureCluster_ : azureClusterBuilder_.build(); + result.azureCluster_ = azureClusterBuilder_ == null + ? azureCluster_ + : azureClusterBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.validateOnly_ = validateOnly_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -533,39 +487,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.UpdateAzureClusterR public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -573,8 +526,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest.getDefaultInstance()) return this; if (other.hasAzureCluster()) { mergeAzureCluster(other.getAzureCluster()); } @@ -610,31 +562,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getAzureClusterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 34: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getAzureClusterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 34: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -644,66 +596,46 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.gkemulticloud.v1.AzureCluster azureCluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureCluster, - com.google.cloud.gkemulticloud.v1.AzureCluster.Builder, - com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder> - azureClusterBuilder_; + com.google.cloud.gkemulticloud.v1.AzureCluster, com.google.cloud.gkemulticloud.v1.AzureCluster.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder> azureClusterBuilder_; /** - * - * *
      * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the azureCluster field is set. */ public boolean hasAzureCluster() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The azureCluster. */ public com.google.cloud.gkemulticloud.v1.AzureCluster getAzureCluster() { if (azureClusterBuilder_ == null) { - return azureCluster_ == null - ? com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance() - : azureCluster_; + return azureCluster_ == null ? com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance() : azureCluster_; } else { return azureClusterBuilder_.getMessage(); } } /** - * - * *
      * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAzureCluster(com.google.cloud.gkemulticloud.v1.AzureCluster value) { if (azureClusterBuilder_ == null) { @@ -719,16 +651,12 @@ public Builder setAzureCluster(com.google.cloud.gkemulticloud.v1.AzureCluster va return this; } /** - * - * *
      * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAzureCluster( com.google.cloud.gkemulticloud.v1.AzureCluster.Builder builderForValue) { @@ -742,23 +670,18 @@ public Builder setAzureCluster( return this; } /** - * - * *
      * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAzureCluster(com.google.cloud.gkemulticloud.v1.AzureCluster value) { if (azureClusterBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && azureCluster_ != null - && azureCluster_ - != com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + azureCluster_ != null && + azureCluster_ != com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance()) { getAzureClusterBuilder().mergeFrom(value); } else { azureCluster_ = value; @@ -771,16 +694,12 @@ public Builder mergeAzureCluster(com.google.cloud.gkemulticloud.v1.AzureCluster return this; } /** - * - * *
      * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAzureCluster() { bitField0_ = (bitField0_ & ~0x00000001); @@ -793,16 +712,12 @@ public Builder clearAzureCluster() { return this; } /** - * - * *
      * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AzureCluster.Builder getAzureClusterBuilder() { bitField0_ |= 0x00000001; @@ -810,65 +725,50 @@ public com.google.cloud.gkemulticloud.v1.AzureCluster.Builder getAzureClusterBui return getAzureClusterFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClusterOrBuilder() { if (azureClusterBuilder_ != null) { return azureClusterBuilder_.getMessageOrBuilder(); } else { - return azureCluster_ == null - ? com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance() - : azureCluster_; + return azureCluster_ == null ? + com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance() : azureCluster_; } } /** - * - * *
      * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureCluster, - com.google.cloud.gkemulticloud.v1.AzureCluster.Builder, - com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureCluster, com.google.cloud.gkemulticloud.v1.AzureCluster.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder> getAzureClusterFieldBuilder() { if (azureClusterBuilder_ == null) { - azureClusterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureCluster, - com.google.cloud.gkemulticloud.v1.AzureCluster.Builder, - com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder>( - getAzureCluster(), getParentForChildren(), isClean()); + azureClusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureCluster, com.google.cloud.gkemulticloud.v1.AzureCluster.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder>( + getAzureCluster(), + getParentForChildren(), + isClean()); azureCluster_ = null; } return azureClusterBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * If set, only validate the request, but do not actually update the cluster.
      * 
* * bool validate_only = 2; - * * @return The validateOnly. */ @java.lang.Override @@ -876,14 +776,11 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * If set, only validate the request, but do not actually update the cluster.
      * 
* * bool validate_only = 2; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -895,14 +792,11 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * If set, only validate the request, but do not actually update the cluster.
      * 
* * bool validate_only = 2; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -914,13 +808,8 @@ public Builder clearValidateOnly() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -932,6 +821,7 @@ public Builder clearValidateOnly() {
      *  *   `control_plane.vm_size`.
      *  *   `annotations`.
      *  *   `authorization.admin_users`.
+     *  *   `authorization.admin_groups`.
      *  *   `control_plane.root_volume.size_gib`.
      *  *   `azure_services_authentication`.
      *  *   `azure_services_authentication.tenant_id`.
@@ -944,17 +834,13 @@ public Builder clearValidateOnly() {
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -966,6 +852,7 @@ public boolean hasUpdateMask() {
      *  *   `control_plane.vm_size`.
      *  *   `annotations`.
      *  *   `authorization.admin_users`.
+     *  *   `authorization.admin_groups`.
      *  *   `control_plane.root_volume.size_gib`.
      *  *   `azure_services_authentication`.
      *  *   `azure_services_authentication.tenant_id`.
@@ -978,23 +865,17 @@ public boolean hasUpdateMask() {
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1006,6 +887,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      *  *   `control_plane.vm_size`.
      *  *   `annotations`.
      *  *   `authorization.admin_users`.
+     *  *   `authorization.admin_groups`.
      *  *   `control_plane.root_volume.size_gib`.
      *  *   `azure_services_authentication`.
      *  *   `azure_services_authentication.tenant_id`.
@@ -1018,8 +900,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -1035,8 +916,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1048,6 +927,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `control_plane.vm_size`.
      *  *   `annotations`.
      *  *   `authorization.admin_users`.
+     *  *   `authorization.admin_groups`.
      *  *   `control_plane.root_volume.size_gib`.
      *  *   `azure_services_authentication`.
      *  *   `azure_services_authentication.tenant_id`.
@@ -1060,10 +940,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -1074,8 +954,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1087,6 +965,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      *  *   `control_plane.vm_size`.
      *  *   `annotations`.
      *  *   `authorization.admin_users`.
+     *  *   `authorization.admin_groups`.
      *  *   `control_plane.root_volume.size_gib`.
      *  *   `azure_services_authentication`.
      *  *   `azure_services_authentication.tenant_id`.
@@ -1099,14 +978,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -1119,8 +997,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1132,6 +1008,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `control_plane.vm_size`.
      *  *   `annotations`.
      *  *   `authorization.admin_users`.
+     *  *   `authorization.admin_groups`.
      *  *   `control_plane.root_volume.size_gib`.
      *  *   `azure_services_authentication`.
      *  *   `azure_services_authentication.tenant_id`.
@@ -1144,8 +1021,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1158,8 +1034,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1171,6 +1045,7 @@ public Builder clearUpdateMask() {
      *  *   `control_plane.vm_size`.
      *  *   `annotations`.
      *  *   `authorization.admin_users`.
+     *  *   `authorization.admin_groups`.
      *  *   `control_plane.root_volume.size_gib`.
      *  *   `azure_services_authentication`.
      *  *   `azure_services_authentication.tenant_id`.
@@ -1183,8 +1058,7 @@ public Builder clearUpdateMask() {
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000004; @@ -1192,8 +1066,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1205,6 +1077,7 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      *  *   `control_plane.vm_size`.
      *  *   `annotations`.
      *  *   `authorization.admin_users`.
+     *  *   `authorization.admin_groups`.
      *  *   `control_plane.root_volume.size_gib`.
      *  *   `azure_services_authentication`.
      *  *   `azure_services_authentication.tenant_id`.
@@ -1217,21 +1090,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1243,6 +1112,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      *  *   `control_plane.vm_size`.
      *  *   `annotations`.
      *  *   `authorization.admin_users`.
+     *  *   `authorization.admin_groups`.
      *  *   `control_plane.root_volume.size_gib`.
      *  *   `azure_services_authentication`.
      *  *   `azure_services_authentication.tenant_id`.
@@ -1255,28 +1125,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1286,12 +1152,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest) private static final com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest(); } @@ -1300,27 +1166,27 @@ public static com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAzureClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAzureClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1335,4 +1201,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequestOrBuilder.java similarity index 78% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequestOrBuilder.java index 1d9a93fd3c0e..6b1afa718b3d 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequestOrBuilder.java @@ -1,88 +1,53 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface UpdateAzureClusterRequestOrBuilder - extends +public interface UpdateAzureClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resource to update.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the azureCluster field is set. */ boolean hasAzureCluster(); /** - * - * *
    * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resource to update.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The azureCluster. */ com.google.cloud.gkemulticloud.v1.AzureCluster getAzureCluster(); /** - * - * *
    * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resource to update.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClusterOrBuilder(); /** - * - * *
    * If set, only validate the request, but do not actually update the cluster.
    * 
* * bool validate_only = 2; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -94,6 +59,7 @@ public interface UpdateAzureClusterRequestOrBuilder
    *  *   `control_plane.vm_size`.
    *  *   `annotations`.
    *  *   `authorization.admin_users`.
+   *  *   `authorization.admin_groups`.
    *  *   `control_plane.root_volume.size_gib`.
    *  *   `azure_services_authentication`.
    *  *   `azure_services_authentication.tenant_id`.
@@ -106,15 +72,11 @@ public interface UpdateAzureClusterRequestOrBuilder
    *  *   `monitoring_config.managed_prometheus_config.enabled`.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -126,6 +88,7 @@ public interface UpdateAzureClusterRequestOrBuilder
    *  *   `control_plane.vm_size`.
    *  *   `annotations`.
    *  *   `authorization.admin_users`.
+   *  *   `authorization.admin_groups`.
    *  *   `control_plane.root_volume.size_gib`.
    *  *   `azure_services_authentication`.
    *  *   `azure_services_authentication.tenant_id`.
@@ -138,15 +101,11 @@ public interface UpdateAzureClusterRequestOrBuilder
    *  *   `monitoring_config.managed_prometheus_config.enabled`.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -158,6 +117,7 @@ public interface UpdateAzureClusterRequestOrBuilder
    *  *   `control_plane.vm_size`.
    *  *   `annotations`.
    *  *   `authorization.admin_users`.
+   *  *   `authorization.admin_groups`.
    *  *   `control_plane.root_volume.size_gib`.
    *  *   `azure_services_authentication`.
    *  *   `azure_services_authentication.tenant_id`.
@@ -170,8 +130,7 @@ public interface UpdateAzureClusterRequestOrBuilder
    *  *   `monitoring_config.managed_prometheus_config.enabled`.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequest.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequest.java similarity index 67% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequest.java index 9aa732f51261..f628a48fe4ff 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequest.java @@ -1,79 +1,56 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Request message for `AzureClusters.UpdateAzureNodePool` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest} */ -public final class UpdateAzureNodePoolRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateAzureNodePoolRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest) UpdateAzureNodePoolRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateAzureNodePoolRequest.newBuilder() to construct. private UpdateAzureNodePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateAzureNodePoolRequest() {} + private UpdateAzureNodePoolRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateAzureNodePoolRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest.class, - com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest.class, com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest.Builder.class); } public static final int AZURE_NODE_POOL_FIELD_NUMBER = 1; private com.google.cloud.gkemulticloud.v1.AzureNodePool azureNodePool_; /** - * - * *
    * Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
    * resource to update.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the azureNodePool field is set. */ @java.lang.Override @@ -81,55 +58,39 @@ public boolean hasAzureNodePool() { return azureNodePool_ != null; } /** - * - * *
    * Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
    * resource to update.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The azureNodePool. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureNodePool getAzureNodePool() { - return azureNodePool_ == null - ? com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance() - : azureNodePool_; + return azureNodePool_ == null ? com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance() : azureNodePool_; } /** - * - * *
    * Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
    * resource to update.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePoolOrBuilder() { - return azureNodePool_ == null - ? com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance() - : azureNodePool_; + return azureNodePool_ == null ? com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance() : azureNodePool_; } public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; private boolean validateOnly_ = false; /** - * - * *
    * If set, only validate the request, but don't actually update the node pool.
    * 
* * bool validate_only = 2; - * * @return The validateOnly. */ @java.lang.Override @@ -140,8 +101,6 @@ public boolean getValidateOnly() { public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -152,11 +111,11 @@ public boolean getValidateOnly() {
    *  *   `autoscaling.min_node_count`.
    *  *   `autoscaling.max_node_count`.
    *  *   `config.ssh_config.authorized_key`.
+   *  *   `management.auto_repair`.
+   *  *   `management`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -164,8 +123,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -176,11 +133,11 @@ public boolean hasUpdateMask() {
    *  *   `autoscaling.min_node_count`.
    *  *   `autoscaling.max_node_count`.
    *  *   `config.ssh_config.authorized_key`.
+   *  *   `management.auto_repair`.
+   *  *   `management`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -188,8 +145,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -200,10 +155,11 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    *  *   `autoscaling.min_node_count`.
    *  *   `autoscaling.max_node_count`.
    *  *   `config.ssh_config.authorized_key`.
+   *  *   `management.auto_repair`.
+   *  *   `management`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -211,7 +167,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,7 +178,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (azureNodePool_ != null) { output.writeMessage(1, getAzureNodePool()); } @@ -243,13 +199,16 @@ public int getSerializedSize() { size = 0; if (azureNodePool_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAzureNodePool()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAzureNodePool()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, validateOnly_); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -259,22 +218,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest other = - (com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest) obj; + com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest other = (com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest) obj; if (hasAzureNodePool() != other.hasAzureNodePool()) return false; if (hasAzureNodePool()) { - if (!getAzureNodePool().equals(other.getAzureNodePool())) return false; + if (!getAzureNodePool() + .equals(other.getAzureNodePool())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -292,7 +253,8 @@ public int hashCode() { hash = (53 * hash) + getAzureNodePool().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); if (hasUpdateMask()) { hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER; hash = (53 * hash) + getUpdateMask().hashCode(); @@ -303,136 +265,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `AzureClusters.UpdateAzureNodePool` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest) com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest.class, - com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest.class, com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -452,14 +409,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto - .internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest - getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest.getDefaultInstance(); } @@ -474,27 +430,26 @@ public com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest result = - new com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest result = new com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest result) { + private void buildPartial0(com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.azureNodePool_ = - azureNodePoolBuilder_ == null ? azureNodePool_ : azureNodePoolBuilder_.build(); + result.azureNodePool_ = azureNodePoolBuilder_ == null + ? azureNodePool_ + : azureNodePoolBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.validateOnly_ = validateOnly_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -502,39 +457,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest)other); } else { super.mergeFrom(other); return this; @@ -542,9 +496,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest other) { - if (other - == com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest.getDefaultInstance()) return this; if (other.hasAzureNodePool()) { mergeAzureNodePool(other.getAzureNodePool()); } @@ -580,31 +532,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getAzureNodePoolFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getAzureNodePoolFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -614,66 +566,46 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.gkemulticloud.v1.AzureNodePool azureNodePool_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodePool, - com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder, - com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder> - azureNodePoolBuilder_; + com.google.cloud.gkemulticloud.v1.AzureNodePool, com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder, com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder> azureNodePoolBuilder_; /** - * - * *
      * Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the azureNodePool field is set. */ public boolean hasAzureNodePool() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The azureNodePool. */ public com.google.cloud.gkemulticloud.v1.AzureNodePool getAzureNodePool() { if (azureNodePoolBuilder_ == null) { - return azureNodePool_ == null - ? com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance() - : azureNodePool_; + return azureNodePool_ == null ? com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance() : azureNodePool_; } else { return azureNodePoolBuilder_.getMessage(); } } /** - * - * *
      * Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAzureNodePool(com.google.cloud.gkemulticloud.v1.AzureNodePool value) { if (azureNodePoolBuilder_ == null) { @@ -689,16 +621,12 @@ public Builder setAzureNodePool(com.google.cloud.gkemulticloud.v1.AzureNodePool return this; } /** - * - * *
      * Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAzureNodePool( com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder builderForValue) { @@ -712,23 +640,18 @@ public Builder setAzureNodePool( return this; } /** - * - * *
      * Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAzureNodePool(com.google.cloud.gkemulticloud.v1.AzureNodePool value) { if (azureNodePoolBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && azureNodePool_ != null - && azureNodePool_ - != com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + azureNodePool_ != null && + azureNodePool_ != com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance()) { getAzureNodePoolBuilder().mergeFrom(value); } else { azureNodePool_ = value; @@ -741,16 +664,12 @@ public Builder mergeAzureNodePool(com.google.cloud.gkemulticloud.v1.AzureNodePoo return this; } /** - * - * *
      * Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAzureNodePool() { bitField0_ = (bitField0_ & ~0x00000001); @@ -763,16 +682,12 @@ public Builder clearAzureNodePool() { return this; } /** - * - * *
      * Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder getAzureNodePoolBuilder() { bitField0_ |= 0x00000001; @@ -780,65 +695,50 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder getAzureNodePoolB return getAzureNodePoolFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePoolOrBuilder() { if (azureNodePoolBuilder_ != null) { return azureNodePoolBuilder_.getMessageOrBuilder(); } else { - return azureNodePool_ == null - ? com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance() - : azureNodePool_; + return azureNodePool_ == null ? + com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance() : azureNodePool_; } } /** - * - * *
      * Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resource to update.
      * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodePool, - com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder, - com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureNodePool, com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder, com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder> getAzureNodePoolFieldBuilder() { if (azureNodePoolBuilder_ == null) { - azureNodePoolBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodePool, - com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder, - com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder>( - getAzureNodePool(), getParentForChildren(), isClean()); + azureNodePoolBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureNodePool, com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder, com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder>( + getAzureNodePool(), + getParentForChildren(), + isClean()); azureNodePool_ = null; } return azureNodePoolBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * If set, only validate the request, but don't actually update the node pool.
      * 
* * bool validate_only = 2; - * * @return The validateOnly. */ @java.lang.Override @@ -846,14 +746,11 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * If set, only validate the request, but don't actually update the node pool.
      * 
* * bool validate_only = 2; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -865,14 +762,11 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * If set, only validate the request, but don't actually update the node pool.
      * 
* * bool validate_only = 2; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -884,13 +778,8 @@ public Builder clearValidateOnly() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -901,19 +790,17 @@ public Builder clearValidateOnly() {
      *  *   `autoscaling.min_node_count`.
      *  *   `autoscaling.max_node_count`.
      *  *   `config.ssh_config.authorized_key`.
+     *  *   `management.auto_repair`.
+     *  *   `management`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -924,25 +811,21 @@ public boolean hasUpdateMask() {
      *  *   `autoscaling.min_node_count`.
      *  *   `autoscaling.max_node_count`.
      *  *   `config.ssh_config.authorized_key`.
+     *  *   `management.auto_repair`.
+     *  *   `management`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -953,10 +836,11 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      *  *   `autoscaling.min_node_count`.
      *  *   `autoscaling.max_node_count`.
      *  *   `config.ssh_config.authorized_key`.
+     *  *   `management.auto_repair`.
+     *  *   `management`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -972,8 +856,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -984,12 +866,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `autoscaling.min_node_count`.
      *  *   `autoscaling.max_node_count`.
      *  *   `config.ssh_config.authorized_key`.
+     *  *   `management.auto_repair`.
+     *  *   `management`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -1000,8 +884,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1012,16 +894,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      *  *   `autoscaling.min_node_count`.
      *  *   `autoscaling.max_node_count`.
      *  *   `config.ssh_config.authorized_key`.
+     *  *   `management.auto_repair`.
+     *  *   `management`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -1034,8 +917,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1046,10 +927,11 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `autoscaling.min_node_count`.
      *  *   `autoscaling.max_node_count`.
      *  *   `config.ssh_config.authorized_key`.
+     *  *   `management.auto_repair`.
+     *  *   `management`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1062,8 +944,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1074,10 +954,11 @@ public Builder clearUpdateMask() {
      *  *   `autoscaling.min_node_count`.
      *  *   `autoscaling.max_node_count`.
      *  *   `config.ssh_config.authorized_key`.
+     *  *   `management.auto_repair`.
+     *  *   `management`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000004; @@ -1085,8 +966,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1097,23 +976,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      *  *   `autoscaling.min_node_count`.
      *  *   `autoscaling.max_node_count`.
      *  *   `config.ssh_config.authorized_key`.
+     *  *   `management.auto_repair`.
+     *  *   `management`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1124,30 +1001,28 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      *  *   `autoscaling.min_node_count`.
      *  *   `autoscaling.max_node_count`.
      *  *   `config.ssh_config.authorized_key`.
+     *  *   `management.auto_repair`.
+     *  *   `management`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1157,13 +1032,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest) - private static final com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest(); } @@ -1172,27 +1046,27 @@ public static com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAzureNodePoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAzureNodePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1207,4 +1081,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequestOrBuilder.java similarity index 69% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequestOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequestOrBuilder.java index 4a639b6e11d0..f7a34a774c68 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequestOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequestOrBuilder.java @@ -1,88 +1,53 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface UpdateAzureNodePoolRequestOrBuilder - extends +public interface UpdateAzureNodePoolRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
    * resource to update.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the azureNodePool field is set. */ boolean hasAzureNodePool(); /** - * - * *
    * Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
    * resource to update.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The azureNodePool. */ com.google.cloud.gkemulticloud.v1.AzureNodePool getAzureNodePool(); /** - * - * *
    * Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
    * resource to update.
    * 
* - * - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePoolOrBuilder(); /** - * - * *
    * If set, only validate the request, but don't actually update the node pool.
    * 
* * bool validate_only = 2; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -93,17 +58,15 @@ public interface UpdateAzureNodePoolRequestOrBuilder
    *  *   `autoscaling.min_node_count`.
    *  *   `autoscaling.max_node_count`.
    *  *   `config.ssh_config.authorized_key`.
+   *  *   `management.auto_repair`.
+   *  *   `management`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -114,17 +77,15 @@ public interface UpdateAzureNodePoolRequestOrBuilder
    *  *   `autoscaling.min_node_count`.
    *  *   `autoscaling.max_node_count`.
    *  *   `config.ssh_config.authorized_key`.
+   *  *   `management.auto_repair`.
+   *  *   `management`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -135,10 +96,11 @@ public interface UpdateAzureNodePoolRequestOrBuilder
    *  *   `autoscaling.min_node_count`.
    *  *   `autoscaling.max_node_count`.
    *  *   `config.ssh_config.authorized_key`.
+   *  *   `management.auto_repair`.
+   *  *   `management`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateSettings.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateSettings.java new file mode 100644 index 000000000000..b350a7fcd873 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateSettings.java @@ -0,0 +1,686 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +/** + *
+ * UpdateSettings control the level of parallelism and the level of
+ * disruption caused during the update of a node pool.
+ *
+ * These settings are applicable when the node pool update requires replacing
+ * the existing node pool nodes with the updated ones.
+ *
+ * UpdateSettings are optional. When UpdateSettings are not specified during the
+ * node pool creation, a default is chosen based on the parent cluster's
+ * version. For clusters with minor version 1.27 and later, a default
+ * surge_settings configuration with max_surge = 1 and max_unavailable = 0 is
+ * used. For clusters with older versions, node pool updates use the traditional
+ * rolling update mechanism of updating one node at a time in a
+ * "terminate before create" fashion and update_settings is not applicable.
+ *
+ * Set the surge_settings parameter to use the Surge Update mechanism for
+ * the rolling update of node pool nodes.
+ * 1. max_surge controls the number of additional nodes that can be created
+ * beyond the current size of the node pool temporarily for the time of the
+ * update to increase the number of available nodes.
+ * 2. max_unavailable controls the number of nodes that can be simultaneously
+ * unavailable during the update.
+ * 3. (max_surge + max_unavailable) determines the level of parallelism (i.e.,
+ * the number of nodes being updated at the same time).
+ * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.UpdateSettings} + */ +public final class UpdateSettings extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.UpdateSettings) + UpdateSettingsOrBuilder { +private static final long serialVersionUID = 0L; + // Use UpdateSettings.newBuilder() to construct. + private UpdateSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UpdateSettings() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UpdateSettings(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_UpdateSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_UpdateSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.UpdateSettings.class, com.google.cloud.gkemulticloud.v1.UpdateSettings.Builder.class); + } + + public static final int SURGE_SETTINGS_FIELD_NUMBER = 1; + private com.google.cloud.gkemulticloud.v1.SurgeSettings surgeSettings_; + /** + *
+   * Optional. Settings for surge update.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the surgeSettings field is set. + */ + @java.lang.Override + public boolean hasSurgeSettings() { + return surgeSettings_ != null; + } + /** + *
+   * Optional. Settings for surge update.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return The surgeSettings. + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.SurgeSettings getSurgeSettings() { + return surgeSettings_ == null ? com.google.cloud.gkemulticloud.v1.SurgeSettings.getDefaultInstance() : surgeSettings_; + } + /** + *
+   * Optional. Settings for surge update.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.SurgeSettingsOrBuilder getSurgeSettingsOrBuilder() { + return surgeSettings_ == null ? com.google.cloud.gkemulticloud.v1.SurgeSettings.getDefaultInstance() : surgeSettings_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (surgeSettings_ != null) { + output.writeMessage(1, getSurgeSettings()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (surgeSettings_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getSurgeSettings()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.gkemulticloud.v1.UpdateSettings)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.UpdateSettings other = (com.google.cloud.gkemulticloud.v1.UpdateSettings) obj; + + if (hasSurgeSettings() != other.hasSurgeSettings()) return false; + if (hasSurgeSettings()) { + if (!getSurgeSettings() + .equals(other.getSurgeSettings())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasSurgeSettings()) { + hash = (37 * hash) + SURGE_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getSurgeSettings().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.UpdateSettings parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.UpdateSettings parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.UpdateSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.UpdateSettings parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.UpdateSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.gkemulticloud.v1.UpdateSettings parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.UpdateSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.UpdateSettings parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.UpdateSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.UpdateSettings parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.gkemulticloud.v1.UpdateSettings parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.gkemulticloud.v1.UpdateSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.UpdateSettings prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * UpdateSettings control the level of parallelism and the level of
+   * disruption caused during the update of a node pool.
+   *
+   * These settings are applicable when the node pool update requires replacing
+   * the existing node pool nodes with the updated ones.
+   *
+   * UpdateSettings are optional. When UpdateSettings are not specified during the
+   * node pool creation, a default is chosen based on the parent cluster's
+   * version. For clusters with minor version 1.27 and later, a default
+   * surge_settings configuration with max_surge = 1 and max_unavailable = 0 is
+   * used. For clusters with older versions, node pool updates use the traditional
+   * rolling update mechanism of updating one node at a time in a
+   * "terminate before create" fashion and update_settings is not applicable.
+   *
+   * Set the surge_settings parameter to use the Surge Update mechanism for
+   * the rolling update of node pool nodes.
+   * 1. max_surge controls the number of additional nodes that can be created
+   * beyond the current size of the node pool temporarily for the time of the
+   * update to increase the number of available nodes.
+   * 2. max_unavailable controls the number of nodes that can be simultaneously
+   * unavailable during the update.
+   * 3. (max_surge + max_unavailable) determines the level of parallelism (i.e.,
+   * the number of nodes being updated at the same time).
+   * 
+ * + * Protobuf type {@code google.cloud.gkemulticloud.v1.UpdateSettings} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.UpdateSettings) + com.google.cloud.gkemulticloud.v1.UpdateSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_UpdateSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_UpdateSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.UpdateSettings.class, com.google.cloud.gkemulticloud.v1.UpdateSettings.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.UpdateSettings.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + surgeSettings_ = null; + if (surgeSettingsBuilder_ != null) { + surgeSettingsBuilder_.dispose(); + surgeSettingsBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_UpdateSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.UpdateSettings getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.UpdateSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.UpdateSettings build() { + com.google.cloud.gkemulticloud.v1.UpdateSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.UpdateSettings buildPartial() { + com.google.cloud.gkemulticloud.v1.UpdateSettings result = new com.google.cloud.gkemulticloud.v1.UpdateSettings(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.gkemulticloud.v1.UpdateSettings result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.surgeSettings_ = surgeSettingsBuilder_ == null + ? surgeSettings_ + : surgeSettingsBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.UpdateSettings) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.UpdateSettings)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.UpdateSettings other) { + if (other == com.google.cloud.gkemulticloud.v1.UpdateSettings.getDefaultInstance()) return this; + if (other.hasSurgeSettings()) { + mergeSurgeSettings(other.getSurgeSettings()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getSurgeSettingsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private com.google.cloud.gkemulticloud.v1.SurgeSettings surgeSettings_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.SurgeSettings, com.google.cloud.gkemulticloud.v1.SurgeSettings.Builder, com.google.cloud.gkemulticloud.v1.SurgeSettingsOrBuilder> surgeSettingsBuilder_; + /** + *
+     * Optional. Settings for surge update.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the surgeSettings field is set. + */ + public boolean hasSurgeSettings() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
+     * Optional. Settings for surge update.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return The surgeSettings. + */ + public com.google.cloud.gkemulticloud.v1.SurgeSettings getSurgeSettings() { + if (surgeSettingsBuilder_ == null) { + return surgeSettings_ == null ? com.google.cloud.gkemulticloud.v1.SurgeSettings.getDefaultInstance() : surgeSettings_; + } else { + return surgeSettingsBuilder_.getMessage(); + } + } + /** + *
+     * Optional. Settings for surge update.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setSurgeSettings(com.google.cloud.gkemulticloud.v1.SurgeSettings value) { + if (surgeSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + surgeSettings_ = value; + } else { + surgeSettingsBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Optional. Settings for surge update.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setSurgeSettings( + com.google.cloud.gkemulticloud.v1.SurgeSettings.Builder builderForValue) { + if (surgeSettingsBuilder_ == null) { + surgeSettings_ = builderForValue.build(); + } else { + surgeSettingsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Optional. Settings for surge update.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder mergeSurgeSettings(com.google.cloud.gkemulticloud.v1.SurgeSettings value) { + if (surgeSettingsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + surgeSettings_ != null && + surgeSettings_ != com.google.cloud.gkemulticloud.v1.SurgeSettings.getDefaultInstance()) { + getSurgeSettingsBuilder().mergeFrom(value); + } else { + surgeSettings_ = value; + } + } else { + surgeSettingsBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Optional. Settings for surge update.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder clearSurgeSettings() { + bitField0_ = (bitField0_ & ~0x00000001); + surgeSettings_ = null; + if (surgeSettingsBuilder_ != null) { + surgeSettingsBuilder_.dispose(); + surgeSettingsBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * Optional. Settings for surge update.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.SurgeSettings.Builder getSurgeSettingsBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getSurgeSettingsFieldBuilder().getBuilder(); + } + /** + *
+     * Optional. Settings for surge update.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.gkemulticloud.v1.SurgeSettingsOrBuilder getSurgeSettingsOrBuilder() { + if (surgeSettingsBuilder_ != null) { + return surgeSettingsBuilder_.getMessageOrBuilder(); + } else { + return surgeSettings_ == null ? + com.google.cloud.gkemulticloud.v1.SurgeSettings.getDefaultInstance() : surgeSettings_; + } + } + /** + *
+     * Optional. Settings for surge update.
+     * 
+ * + * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.SurgeSettings, com.google.cloud.gkemulticloud.v1.SurgeSettings.Builder, com.google.cloud.gkemulticloud.v1.SurgeSettingsOrBuilder> + getSurgeSettingsFieldBuilder() { + if (surgeSettingsBuilder_ == null) { + surgeSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.SurgeSettings, com.google.cloud.gkemulticloud.v1.SurgeSettings.Builder, com.google.cloud.gkemulticloud.v1.SurgeSettingsOrBuilder>( + getSurgeSettings(), + getParentForChildren(), + isClean()); + surgeSettings_ = null; + } + return surgeSettingsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.UpdateSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.UpdateSettings) + private static final com.google.cloud.gkemulticloud.v1.UpdateSettings DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.UpdateSettings(); + } + + public static com.google.cloud.gkemulticloud.v1.UpdateSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.UpdateSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateSettingsOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateSettingsOrBuilder.java new file mode 100644 index 000000000000..97b7ddf319bf --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateSettingsOrBuilder.java @@ -0,0 +1,36 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface UpdateSettingsOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.UpdateSettings) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Optional. Settings for surge update.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the surgeSettings field is set. + */ + boolean hasSurgeSettings(); + /** + *
+   * Optional. Settings for surge update.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return The surgeSettings. + */ + com.google.cloud.gkemulticloud.v1.SurgeSettings getSurgeSettings(); + /** + *
+   * Optional. Settings for surge update.
+   * 
+ * + * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.cloud.gkemulticloud.v1.SurgeSettingsOrBuilder getSurgeSettingsOrBuilder(); +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfig.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfig.java similarity index 70% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfig.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfig.java index 0a8783f3b016..c9f89f2483e4 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfig.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfig.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; /** - * - * *
  * Workload Identity settings.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.WorkloadIdentityConfig} */ -public final class WorkloadIdentityConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class WorkloadIdentityConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.WorkloadIdentityConfig) WorkloadIdentityConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use WorkloadIdentityConfig.newBuilder() to construct. private WorkloadIdentityConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WorkloadIdentityConfig() { issuerUri_ = ""; workloadPool_ = ""; @@ -45,38 +27,33 @@ private WorkloadIdentityConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WorkloadIdentityConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.class, - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.class, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder.class); } public static final int ISSUER_URI_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object issuerUri_ = ""; /** - * - * *
    * The OIDC issuer URL for this cluster.
    * 
* * string issuer_uri = 1; - * * @return The issuerUri. */ @java.lang.Override @@ -85,29 +62,29 @@ public java.lang.String getIssuerUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issuerUri_ = s; return s; } } /** - * - * *
    * The OIDC issuer URL for this cluster.
    * 
* * string issuer_uri = 1; - * * @return The bytes for issuerUri. */ @java.lang.Override - public com.google.protobuf.ByteString getIssuerUriBytes() { + public com.google.protobuf.ByteString + getIssuerUriBytes() { java.lang.Object ref = issuerUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); issuerUri_ = b; return b; } else { @@ -116,18 +93,14 @@ public com.google.protobuf.ByteString getIssuerUriBytes() { } public static final int WORKLOAD_POOL_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object workloadPool_ = ""; /** - * - * *
    * The Workload Identity Pool associated to the cluster.
    * 
* * string workload_pool = 2; - * * @return The workloadPool. */ @java.lang.Override @@ -136,29 +109,29 @@ public java.lang.String getWorkloadPool() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workloadPool_ = s; return s; } } /** - * - * *
    * The Workload Identity Pool associated to the cluster.
    * 
* * string workload_pool = 2; - * * @return The bytes for workloadPool. */ @java.lang.Override - public com.google.protobuf.ByteString getWorkloadPoolBytes() { + public com.google.protobuf.ByteString + getWorkloadPoolBytes() { java.lang.Object ref = workloadPool_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); workloadPool_ = b; return b; } else { @@ -167,19 +140,15 @@ public com.google.protobuf.ByteString getWorkloadPoolBytes() { } public static final int IDENTITY_PROVIDER_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object identityProvider_ = ""; /** - * - * *
    * The ID of the OIDC Identity Provider (IdP) associated to the Workload
    * Identity Pool.
    * 
* * string identity_provider = 3; - * * @return The identityProvider. */ @java.lang.Override @@ -188,30 +157,30 @@ public java.lang.String getIdentityProvider() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); identityProvider_ = s; return s; } } /** - * - * *
    * The ID of the OIDC Identity Provider (IdP) associated to the Workload
    * Identity Pool.
    * 
* * string identity_provider = 3; - * * @return The bytes for identityProvider. */ @java.lang.Override - public com.google.protobuf.ByteString getIdentityProviderBytes() { + public com.google.protobuf.ByteString + getIdentityProviderBytes() { java.lang.Object ref = identityProvider_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); identityProvider_ = b; return b; } else { @@ -220,7 +189,6 @@ public com.google.protobuf.ByteString getIdentityProviderBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,7 +200,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issuerUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issuerUri_); } @@ -268,17 +237,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig other = - (com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig) obj; + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig other = (com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig) obj; - if (!getIssuerUri().equals(other.getIssuerUri())) return false; - if (!getWorkloadPool().equals(other.getWorkloadPool())) return false; - if (!getIdentityProvider().equals(other.getIdentityProvider())) return false; + if (!getIssuerUri() + .equals(other.getIssuerUri())) return false; + if (!getWorkloadPool() + .equals(other.getWorkloadPool())) return false; + if (!getIdentityProvider() + .equals(other.getIdentityProvider())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -302,136 +273,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig prototype) { + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Workload Identity settings.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.WorkloadIdentityConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.WorkloadIdentityConfig) com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.class, - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.class, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -443,9 +409,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto - .internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_descriptor; } @java.lang.Override @@ -464,11 +430,8 @@ public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig buildPartial() { - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig result = - new com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig result = new com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -490,39 +453,38 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.WorkloadIdentityCon public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig) other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig)other); } else { super.mergeFrom(other); return this; @@ -530,8 +492,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig other) { - if (other == com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance()) return this; if (!other.getIssuerUri().isEmpty()) { issuerUri_ = other.issuerUri_; bitField0_ |= 0x00000001; @@ -573,31 +534,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - issuerUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - workloadPool_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - identityProvider_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + issuerUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + workloadPool_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + identityProvider_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -607,25 +564,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object issuerUri_ = ""; /** - * - * *
      * The OIDC issuer URL for this cluster.
      * 
* * string issuer_uri = 1; - * * @return The issuerUri. */ public java.lang.String getIssuerUri() { java.lang.Object ref = issuerUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issuerUri_ = s; return s; @@ -634,21 +588,20 @@ public java.lang.String getIssuerUri() { } } /** - * - * *
      * The OIDC issuer URL for this cluster.
      * 
* * string issuer_uri = 1; - * * @return The bytes for issuerUri. */ - public com.google.protobuf.ByteString getIssuerUriBytes() { + public com.google.protobuf.ByteString + getIssuerUriBytes() { java.lang.Object ref = issuerUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); issuerUri_ = b; return b; } else { @@ -656,35 +609,28 @@ public com.google.protobuf.ByteString getIssuerUriBytes() { } } /** - * - * *
      * The OIDC issuer URL for this cluster.
      * 
* * string issuer_uri = 1; - * * @param value The issuerUri to set. * @return This builder for chaining. */ - public Builder setIssuerUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIssuerUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } issuerUri_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The OIDC issuer URL for this cluster.
      * 
* * string issuer_uri = 1; - * * @return This builder for chaining. */ public Builder clearIssuerUri() { @@ -694,21 +640,17 @@ public Builder clearIssuerUri() { return this; } /** - * - * *
      * The OIDC issuer URL for this cluster.
      * 
* * string issuer_uri = 1; - * * @param value The bytes for issuerUri to set. * @return This builder for chaining. */ - public Builder setIssuerUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIssuerUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); issuerUri_ = value; bitField0_ |= 0x00000001; @@ -718,20 +660,18 @@ public Builder setIssuerUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object workloadPool_ = ""; /** - * - * *
      * The Workload Identity Pool associated to the cluster.
      * 
* * string workload_pool = 2; - * * @return The workloadPool. */ public java.lang.String getWorkloadPool() { java.lang.Object ref = workloadPool_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workloadPool_ = s; return s; @@ -740,21 +680,20 @@ public java.lang.String getWorkloadPool() { } } /** - * - * *
      * The Workload Identity Pool associated to the cluster.
      * 
* * string workload_pool = 2; - * * @return The bytes for workloadPool. */ - public com.google.protobuf.ByteString getWorkloadPoolBytes() { + public com.google.protobuf.ByteString + getWorkloadPoolBytes() { java.lang.Object ref = workloadPool_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); workloadPool_ = b; return b; } else { @@ -762,35 +701,28 @@ public com.google.protobuf.ByteString getWorkloadPoolBytes() { } } /** - * - * *
      * The Workload Identity Pool associated to the cluster.
      * 
* * string workload_pool = 2; - * * @param value The workloadPool to set. * @return This builder for chaining. */ - public Builder setWorkloadPool(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setWorkloadPool( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } workloadPool_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The Workload Identity Pool associated to the cluster.
      * 
* * string workload_pool = 2; - * * @return This builder for chaining. */ public Builder clearWorkloadPool() { @@ -800,21 +732,17 @@ public Builder clearWorkloadPool() { return this; } /** - * - * *
      * The Workload Identity Pool associated to the cluster.
      * 
* * string workload_pool = 2; - * * @param value The bytes for workloadPool to set. * @return This builder for chaining. */ - public Builder setWorkloadPoolBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setWorkloadPoolBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); workloadPool_ = value; bitField0_ |= 0x00000002; @@ -824,21 +752,19 @@ public Builder setWorkloadPoolBytes(com.google.protobuf.ByteString value) { private java.lang.Object identityProvider_ = ""; /** - * - * *
      * The ID of the OIDC Identity Provider (IdP) associated to the Workload
      * Identity Pool.
      * 
* * string identity_provider = 3; - * * @return The identityProvider. */ public java.lang.String getIdentityProvider() { java.lang.Object ref = identityProvider_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); identityProvider_ = s; return s; @@ -847,22 +773,21 @@ public java.lang.String getIdentityProvider() { } } /** - * - * *
      * The ID of the OIDC Identity Provider (IdP) associated to the Workload
      * Identity Pool.
      * 
* * string identity_provider = 3; - * * @return The bytes for identityProvider. */ - public com.google.protobuf.ByteString getIdentityProviderBytes() { + public com.google.protobuf.ByteString + getIdentityProviderBytes() { java.lang.Object ref = identityProvider_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); identityProvider_ = b; return b; } else { @@ -870,37 +795,30 @@ public com.google.protobuf.ByteString getIdentityProviderBytes() { } } /** - * - * *
      * The ID of the OIDC Identity Provider (IdP) associated to the Workload
      * Identity Pool.
      * 
* * string identity_provider = 3; - * * @param value The identityProvider to set. * @return This builder for chaining. */ - public Builder setIdentityProvider(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIdentityProvider( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } identityProvider_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The ID of the OIDC Identity Provider (IdP) associated to the Workload
      * Identity Pool.
      * 
* * string identity_provider = 3; - * * @return This builder for chaining. */ public Builder clearIdentityProvider() { @@ -910,31 +828,27 @@ public Builder clearIdentityProvider() { return this; } /** - * - * *
      * The ID of the OIDC Identity Provider (IdP) associated to the Workload
      * Identity Pool.
      * 
* * string identity_provider = 3; - * * @param value The bytes for identityProvider to set. * @return This builder for chaining. */ - public Builder setIdentityProviderBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIdentityProviderBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); identityProvider_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -944,12 +858,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.WorkloadIdentityConfig) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.WorkloadIdentityConfig) private static final com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig(); } @@ -958,27 +872,27 @@ public static com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkloadIdentityConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkloadIdentityConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -993,4 +907,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfigOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfigOrBuilder.java similarity index 62% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfigOrBuilder.java rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfigOrBuilder.java index 2b069006c699..fda5f364ffa6 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfigOrBuilder.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfigOrBuilder.java @@ -1,102 +1,71 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface WorkloadIdentityConfigOrBuilder - extends +public interface WorkloadIdentityConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.WorkloadIdentityConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The OIDC issuer URL for this cluster.
    * 
* * string issuer_uri = 1; - * * @return The issuerUri. */ java.lang.String getIssuerUri(); /** - * - * *
    * The OIDC issuer URL for this cluster.
    * 
* * string issuer_uri = 1; - * * @return The bytes for issuerUri. */ - com.google.protobuf.ByteString getIssuerUriBytes(); + com.google.protobuf.ByteString + getIssuerUriBytes(); /** - * - * *
    * The Workload Identity Pool associated to the cluster.
    * 
* * string workload_pool = 2; - * * @return The workloadPool. */ java.lang.String getWorkloadPool(); /** - * - * *
    * The Workload Identity Pool associated to the cluster.
    * 
* * string workload_pool = 2; - * * @return The bytes for workloadPool. */ - com.google.protobuf.ByteString getWorkloadPoolBytes(); + com.google.protobuf.ByteString + getWorkloadPoolBytes(); /** - * - * *
    * The ID of the OIDC Identity Provider (IdP) associated to the Workload
    * Identity Pool.
    * 
* * string identity_provider = 3; - * * @return The identityProvider. */ java.lang.String getIdentityProvider(); /** - * - * *
    * The ID of the OIDC Identity Provider (IdP) associated to the Workload
    * Identity Pool.
    * 
* * string identity_provider = 3; - * * @return The bytes for identityProvider. */ - com.google.protobuf.ByteString getIdentityProviderBytes(); + com.google.protobuf.ByteString + getIdentityProviderBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/attached_resources.proto b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/attached_resources.proto similarity index 84% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/attached_resources.proto rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/attached_resources.proto index adca2ee90273..f4f69ab1000b 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/attached_resources.proto +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/attached_resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -89,7 +89,7 @@ message AttachedCluster { // Required. The Kubernetes distribution of the underlying attached cluster. // - // Supported values: ["eks", "aks"]. + // Supported values: ["eks", "aks", "generic"]. string distribution = 16 [(google.api.field_behavior) = REQUIRED]; // Output only. The region where this cluster runs. @@ -157,18 +157,35 @@ message AttachedCluster { // Optional. Monitoring configuration for this cluster. MonitoringConfig monitoring_config = 23 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Proxy configuration for outbound HTTP(S) traffic. + AttachedProxyConfig proxy_config = 24 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Binary Authorization configuration for this cluster. + BinaryAuthorization binary_authorization = 25 + [(google.api.field_behavior) = OPTIONAL]; } // Configuration related to the cluster RBAC settings. message AttachedClustersAuthorization { - // Required. Users that can perform operations as a cluster admin. A managed + // Optional. Users that can perform operations as a cluster admin. A managed // ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole // to the users. Up to ten admin users can be provided. // // For more info on RBAC, see // https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles repeated AttachedClusterUser admin_users = 1 - [(google.api.field_behavior) = REQUIRED]; + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Groups of users that can perform operations as a cluster admin. A + // managed ClusterRoleBinding will be created to grant the `cluster-admin` + // ClusterRole to the groups. Up to ten admin groups can be provided. + // + // For more info on RBAC, see + // https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles + repeated AttachedClusterGroup admin_groups = 2 + [(google.api.field_behavior) = OPTIONAL]; } // Identities of a user-type subject for Attached clusters. @@ -177,6 +194,12 @@ message AttachedClusterUser { string username = 1 [(google.api.field_behavior) = REQUIRED]; } +// Identities of a group-type subject for Attached clusters. +message AttachedClusterGroup { + // Required. The name of the group, e.g. `my-group@domain.com`. + string group = 1 [(google.api.field_behavior) = REQUIRED]; +} + // OIDC discovery information of the target cluster. // // Kubernetes Service Account (KSA) tokens are JWT tokens signed by the cluster @@ -228,3 +251,20 @@ message AttachedClusterError { // Human-friendly description of the error. string message = 1; } + +// Details of a proxy config. +message AttachedProxyConfig { + // The Kubernetes Secret resource that contains the HTTP(S) proxy + // configuration. The secret must be a JSON encoded proxy configuration + // as described in + KubernetesSecret kubernetes_secret = 1; +} + +// Information about a Kubernetes Secret +message KubernetesSecret { + // Name of the kubernetes secret. + string name = 1; + + // Namespace in which the kubernetes secret is stored. + string namespace = 2; +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/attached_service.proto b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/attached_service.proto similarity index 89% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/attached_service.proto rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/attached_service.proto index 175be6d4e441..eb15cd093cb5 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/attached_service.proto +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/attached_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,7 +21,9 @@ import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/gkemulticloud/v1/attached_resources.proto"; +import "google/cloud/gkemulticloud/v1/common_resources.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.GkeMultiCloud.V1"; @@ -155,6 +157,16 @@ service AttachedClusters { }; option (google.api.method_signature) = "parent,attached_cluster_id"; } + + // Generates an access token for a cluster agent. + rpc GenerateAttachedClusterAgentToken( + GenerateAttachedClusterAgentTokenRequest) + returns (GenerateAttachedClusterAgentTokenResponse) { + option (google.api.http) = { + post: "/v1/{attached_cluster=projects/*/locations/*/attachedClusters/*}:generateAttachedClusterAgentToken" + body: "*" + }; + } } // Request message for `AttachedClusters.GenerateAttachedClusterInstallManifest` @@ -198,6 +210,9 @@ message GenerateAttachedClusterInstallManifestRequest { // calling // [GetAttachedServerConfig][google.cloud.gkemulticloud.v1.AttachedClusters.GetAttachedServerConfig]. string platform_version = 3 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Proxy configuration for outbound HTTP(S) traffic. + AttachedProxyConfig proxy_config = 4 [(google.api.field_behavior) = OPTIONAL]; } // Response message for @@ -278,6 +293,9 @@ message ImportAttachedClusterRequest { // // Supported values: ["eks", "aks"]. string distribution = 5 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Proxy configuration for outbound HTTP(S) traffic. + AttachedProxyConfig proxy_config = 6 [(google.api.field_behavior) = OPTIONAL]; } // Request message for `AttachedClusters.UpdateAttachedCluster` method. @@ -295,12 +313,16 @@ message UpdateAttachedClusterRequest { // fields from // [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]: // - // * `description`. // * `annotations`. - // * `platform_version`. + // * `authorization.admin_groups`. // * `authorization.admin_users`. + // * `binary_authorization.evaluation_mode`. + // * `description`. // * `logging_config.component_config.enable_components`. // * `monitoring_config.managed_prometheus_config.enabled`. + // * `platform_version`. + // * `proxy_config.kubernetes_secret.name`. + // * `proxy_config.kubernetes_secret.namespace`. google.protobuf.FieldMask update_mask = 3 [(google.api.field_behavior) = REQUIRED]; } @@ -430,3 +452,45 @@ message GetAttachedServerConfigRequest { } ]; } + +message GenerateAttachedClusterAgentTokenRequest { + // Required. + string attached_cluster = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "gkemulticloud.googleapis.com/AttachedCluster" + } + ]; + + // Required. + string subject_token = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. + string subject_token_type = 3 [(google.api.field_behavior) = REQUIRED]; + + // Required. + string version = 4 [(google.api.field_behavior) = REQUIRED]; + + // Optional. + string grant_type = 6 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. + string audience = 7 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. + string scope = 8 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. + string requested_token_type = 9 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. + string options = 10 [(google.api.field_behavior) = OPTIONAL]; +} + +message GenerateAttachedClusterAgentTokenResponse { + string access_token = 1; + + int32 expires_in = 2; + + string token_type = 3; +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_resources.proto b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_resources.proto similarity index 76% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_resources.proto rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_resources.proto index 8989cd8643df..a40b66054f56 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_resources.proto +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/gkemulticloud/v1/common_resources.proto"; import "google/protobuf/timestamp.proto"; +import "google/type/date.proto"; option csharp_namespace = "Google.Cloud.GkeMultiCloud.V1"; option go_package = "cloud.google.com/go/gkemulticloud/apiv1/gkemulticloudpb;gkemulticloudpb"; @@ -153,6 +154,10 @@ message AwsCluster { // Optional. Monitoring configuration for this cluster. MonitoringConfig monitoring_config = 21 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Binary Authorization configuration for this cluster. + BinaryAuthorization binary_authorization = 22 + [(google.api.field_behavior) = OPTIONAL]; } // ControlPlane defines common parameters between control plane nodes. @@ -252,14 +257,23 @@ message AwsServicesAuthentication { // Configuration related to the cluster RBAC settings. message AwsAuthorization { - // Required. Users that can perform operations as a cluster admin. A managed + // Optional. Users that can perform operations as a cluster admin. A managed // ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole // to the users. Up to ten admin users can be provided. // // For more info on RBAC, see // https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles repeated AwsClusterUser admin_users = 1 - [(google.api.field_behavior) = REQUIRED]; + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Groups of users that can perform operations as a cluster admin. A + // managed ClusterRoleBinding will be created to grant the `cluster-admin` + // ClusterRole to the groups. Up to ten admin groups can be provided. + // + // For more info on RBAC, see + // https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles + repeated AwsClusterGroup admin_groups = 2 + [(google.api.field_behavior) = OPTIONAL]; } // Identities of a user-type subject for AWS clusters. @@ -268,6 +282,12 @@ message AwsClusterUser { string username = 1 [(google.api.field_behavior) = REQUIRED]; } +// Identities of a group-type subject for AWS clusters. +message AwsClusterGroup { + // Required. The name of the group, e.g. `my-group@domain.com`. + string group = 1 [(google.api.field_behavior) = REQUIRED]; +} + // Configuration related to application-layer secrets encryption. message AwsDatabaseEncryption { // Required. The ARN of the AWS KMS key used to encrypt cluster secrets. @@ -306,6 +326,12 @@ message AwsVolumeTemplate { // GP3 volume. int32 iops = 3 [(google.api.field_behavior) = OPTIONAL]; + // Optional. The throughput that the volume supports, in MiB/s. Only valid if + // volume_type is GP3. + // + // If the volume_type is GP3 and this is not speficied, it defaults to 125. + int32 throughput = 5 [(google.api.field_behavior) = OPTIONAL]; + // Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK) // used to encrypt AWS EBS volumes. // @@ -336,6 +362,14 @@ message AwsClusterNetworking { // changed after creation. repeated string service_address_cidr_blocks = 3 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Disable the per node pool subnet security group rules on the + // control plane security group. When set to true, you must also provide one + // or more security groups that ensure node pools are able to send requests to + // the control plane on TCP/443 and TCP/8132. Failure to do so may result in + // unavailable node pools. + bool per_node_pool_sg_rules_disabled = 5 + [(google.api.field_behavior) = OPTIONAL]; } // An Anthos node pool running on AWS. @@ -443,13 +477,70 @@ message AwsNodePool { // Output only. A set of errors found in the node pool. repeated AwsNodePoolError errors = 29 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. The Management configuration for this node pool. + AwsNodeManagement management = 30 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Update settings control the speed and disruption of the update. + UpdateSettings update_settings = 32 [(google.api.field_behavior) = OPTIONAL]; +} + +// UpdateSettings control the level of parallelism and the level of +// disruption caused during the update of a node pool. +// +// These settings are applicable when the node pool update requires replacing +// the existing node pool nodes with the updated ones. +// +// UpdateSettings are optional. When UpdateSettings are not specified during the +// node pool creation, a default is chosen based on the parent cluster's +// version. For clusters with minor version 1.27 and later, a default +// surge_settings configuration with max_surge = 1 and max_unavailable = 0 is +// used. For clusters with older versions, node pool updates use the traditional +// rolling update mechanism of updating one node at a time in a +// "terminate before create" fashion and update_settings is not applicable. +// +// Set the surge_settings parameter to use the Surge Update mechanism for +// the rolling update of node pool nodes. +// 1. max_surge controls the number of additional nodes that can be created +// beyond the current size of the node pool temporarily for the time of the +// update to increase the number of available nodes. +// 2. max_unavailable controls the number of nodes that can be simultaneously +// unavailable during the update. +// 3. (max_surge + max_unavailable) determines the level of parallelism (i.e., +// the number of nodes being updated at the same time). +message UpdateSettings { + // Optional. Settings for surge update. + SurgeSettings surge_settings = 1 [(google.api.field_behavior) = OPTIONAL]; +} + +// SurgeSettings contains the parameters for Surge update. +message SurgeSettings { + // Optional. The maximum number of nodes that can be created beyond the + // current size of the node pool during the update process. + int32 max_surge = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The maximum number of nodes that can be simultaneously + // unavailable during the update process. A node is considered unavailable if + // its status is not Ready. + int32 max_unavailable = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// AwsNodeManagement defines the set of node management features turned on for +// an AWS node pool. +message AwsNodeManagement { + // Optional. Whether or not the nodes will be automatically repaired. When set + // to true, the nodes in this node pool will be monitored and if they fail + // health checks consistently over a period of time, an automatic repair + // action will be triggered to replace them with new nodes. + bool auto_repair = 1 [(google.api.field_behavior) = OPTIONAL]; } // Parameters that describe the nodes in a cluster. message AwsNodeConfig { - // Optional. The AWS instance type. + // Optional. The EC2 instance type when creating on-Demand instances. // - // When unspecified, it uses a default based on the node pool's version. + // If unspecified during node pool creation, a default will be chosen based on + // the node pool version, and assigned to this field. string instance_type = 1 [(google.api.field_behavior) = OPTIONAL]; // Optional. Template for the root volume provisioned for node pool nodes. @@ -478,8 +569,7 @@ message AwsNodeConfig { string iam_instance_profile = 6 [(google.api.field_behavior) = REQUIRED]; // Optional. The OS image type to use on node pool instances. - // Can have a value of `ubuntu`, or `windows` if the cluster enables - // the Windows node pool preview feature. + // Can be unspecified, or have a value of `ubuntu`. // // When unspecified, it defaults to `ubuntu`. string image_type = 11 [(google.api.field_behavior) = OPTIONAL]; @@ -511,6 +601,13 @@ message AwsNodeConfig { // When unspecified, metrics collection is disabled. AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Configuration for provisioning EC2 Spot instances + // + // When specified, the node pool will provision Spot instances from the set + // of spot_config.instance_types. + // This field is mutually exclusive with `instance_type`. + SpotConfig spot_config = 16 [(google.api.field_behavior) = OPTIONAL]; } // AwsNodePoolAutoscaling contains information required by cluster autoscaler @@ -525,6 +622,38 @@ message AwsNodePoolAutoscaling { int32 max_node_count = 2 [(google.api.field_behavior) = REQUIRED]; } +// AwsOpenIdConfig is an OIDC discovery document for the cluster. +// See the OpenID Connect Discovery 1.0 specification for details. +message AwsOpenIdConfig { + // OIDC Issuer. + string issuer = 1; + + // JSON Web Key uri. + string jwks_uri = 2; + + // Supported response types. + repeated string response_types_supported = 3; + + // Supported subject types. + repeated string subject_types_supported = 4; + + // supported ID Token signing Algorithms. + repeated string id_token_signing_alg_values_supported = 5; + + // Supported claims. + repeated string claims_supported = 6; + + // Supported grant types. + repeated string grant_types = 7; +} + +// AwsJsonWebKeys is a valid JSON Web Key Set as specififed in RFC 7517. +message AwsJsonWebKeys { + // The public component of the keys used by the cluster to sign token + // requests. + repeated Jwk keys = 1; +} + // AwsServerConfig is the configuration of GKE cluster on AWS. message AwsServerConfig { option (google.api.resource) = { @@ -535,7 +664,10 @@ message AwsServerConfig { // The resource name of the config. string name = 1; - // List of valid Kubernetes versions. + // List of all released Kubernetes versions, including ones which are end of + // life and can no longer be used. Filter by the `enabled` + // property to limit to currently available versions. + // Valid versions supported for both create and update operations repeated AwsK8sVersionInfo valid_versions = 2; // The list of supported AWS regions. @@ -546,6 +678,27 @@ message AwsServerConfig { message AwsK8sVersionInfo { // Kubernetes version name. string version = 1; + + // Optional. True if the version is available for cluster creation. If a + // version is enabled for creation, it can be used to create new clusters. + // Otherwise, cluster creation will fail. However, cluster upgrade operations + // may succeed, even if the version is not enabled. + bool enabled = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. True if this cluster version belongs to a minor version that has + // reached its end of life and is no longer in scope to receive security and + // bug fixes. + bool end_of_life = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The estimated date (in Pacific Time) when this cluster version + // will reach its end of life. Or if this version is no longer supported (the + // `end_of_life` field is true), this is the actual date (in Pacific time) + // when the version reached its end of life. + google.type.Date end_of_life_date = 5 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The date (in Pacific Time) when the cluster version was released. + google.type.Date release_date = 6 [(google.api.field_behavior) = OPTIONAL]; } // SSH configuration for AWS resources. @@ -614,6 +767,12 @@ message AwsAutoscalingGroupMetricsCollection { repeated string metrics = 2 [(google.api.field_behavior) = OPTIONAL]; } +// SpotConfig has configuration info for Spot node. +message SpotConfig { + // Required. A list of instance types for creating spot node pool. + repeated string instance_types = 1 [(google.api.field_behavior) = REQUIRED]; +} + // AwsClusterError describes errors found on AWS clusters. message AwsClusterError { // Human-friendly description of the error. diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_service.proto b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_service.proto similarity index 78% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_service.proto rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_service.proto index 874f4df58e15..ce713cf6567c 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_service.proto +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,7 +21,9 @@ import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/gkemulticloud/v1/aws_resources.proto"; +import "google/cloud/gkemulticloud/v1/common_resources.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; @@ -113,6 +115,15 @@ service AwsClusters { }; } + // Generates an access token for a cluster agent. + rpc GenerateAwsClusterAgentToken(GenerateAwsClusterAgentTokenRequest) + returns (GenerateAwsClusterAgentTokenResponse) { + option (google.api.http) = { + post: "/v1/{aws_cluster=projects/*/locations/*/awsClusters/*}:generateAwsClusterAgentToken" + body: "*" + }; + } + // Generates a short-lived access token to authenticate to a given // [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource. rpc GenerateAwsAccessToken(GenerateAwsAccessTokenRequest) @@ -156,6 +167,25 @@ service AwsClusters { }; } + // Rolls back a previously aborted or failed + // [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request. + // Makes no changes if the last update request successfully finished. + // If an update request is in progress, you cannot rollback the update. + // You must first cancel or let it finish unsuccessfully before you can + // rollback. + rpc RollbackAwsNodePoolUpdate(RollbackAwsNodePoolUpdateRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/awsClusters/*/awsNodePools/*}:rollback" + body: "*" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "AwsNodePool" + metadata_type: "OperationMetadata" + }; + } + // Describes a specific // [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource. rpc GetAwsNodePool(GetAwsNodePoolRequest) returns (AwsNodePool) { @@ -194,6 +224,25 @@ service AwsClusters { }; } + // Gets the OIDC discovery document for the cluster. + // See the + // [OpenID Connect Discovery 1.0 + // specification](https://openid.net/specs/openid-connect-discovery-1_0.html) + // for details. + rpc GetAwsOpenIdConfig(GetAwsOpenIdConfigRequest) returns (AwsOpenIdConfig) { + option (google.api.http) = { + get: "/v1/{aws_cluster=projects/*/locations/*/awsClusters/*}/.well-known/openid-configuration" + }; + } + + // Gets the public component of the cluster signing keys in + // JSON Web Key format. + rpc GetAwsJsonWebKeys(GetAwsJsonWebKeysRequest) returns (AwsJsonWebKeys) { + option (google.api.http) = { + get: "/v1/{aws_cluster=projects/*/locations/*/awsClusters/*}/jwks" + }; + } + // Returns information, such as supported AWS regions and Kubernetes // versions, on a given Google Cloud location. rpc GetAwsServerConfig(GetAwsServerConfigRequest) returns (AwsServerConfig) { @@ -257,6 +306,8 @@ message UpdateAwsClusterRequest { // * `annotations`. // * `control_plane.version`. // * `authorization.admin_users`. + // * `authorization.admin_groups`. + // * `binary_authorization.evaluation_mode`. // * `control_plane.aws_services_authentication.role_arn`. // * `control_plane.aws_services_authentication.role_session_name`. // * `control_plane.config_encryption.kms_key_arn`. @@ -268,6 +319,7 @@ message UpdateAwsClusterRequest { // * `control_plane.root_volume.size_gib`. // * `control_plane.root_volume.volume_type`. // * `control_plane.root_volume.iops`. + // * `control_plane.root_volume.throughput`. // * `control_plane.root_volume.kms_key_arn`. // * `control_plane.ssh_config`. // * `control_plane.ssh_config.ec2_key_pair`. @@ -276,6 +328,7 @@ message UpdateAwsClusterRequest { // * `logging_config.component_config.enable_components`. // * `control_plane.tags`. // * `monitoring_config.managed_prometheus_config.enabled`. + // * `networking.per_node_pool_sg_rules_disabled`. google.protobuf.FieldMask update_mask = 4 [(google.api.field_behavior) = REQUIRED]; } @@ -369,6 +422,12 @@ message DeleteAwsClusterRequest { // Useful for idempotent deletion. bool allow_missing = 3; + // Optional. If set to true, the deletion of + // [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will + // succeed even if errors occur during deleting in cluster resources. Using + // this parameter may result in orphaned resources in the cluster. + bool ignore_errors = 5 [(google.api.field_behavior) = OPTIONAL]; + // The current etag of the // [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]. // @@ -436,6 +495,7 @@ message UpdateAwsNodePoolRequest { // * `config.config_encryption.kms_key_arn`. // * `config.security_group_ids`. // * `config.root_volume.iops`. + // * `config.root_volume.throughput`. // * `config.root_volume.kms_key_arn`. // * `config.root_volume.volume_type`. // * `config.root_volume.size_gib`. @@ -451,10 +511,40 @@ message UpdateAwsNodePoolRequest { // * `config.autoscaling_metrics_collection`. // * `config.autoscaling_metrics_collection.granularity`. // * `config.autoscaling_metrics_collection.metrics`. + // * `config.instance_type`. + // * `management.auto_repair`. + // * `management`. + // * `update_settings`. + // * `update_settings.surge_settings`. + // * `update_settings.surge_settings.max_surge`. + // * `update_settings.surge_settings.max_unavailable`. google.protobuf.FieldMask update_mask = 3 [(google.api.field_behavior) = REQUIRED]; } +// Request message for `AwsClusters.RollbackAwsNodePoolUpdate` method. +message RollbackAwsNodePoolUpdateRequest { + // Required. The name of the + // [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to + // rollback. + // + // `AwsNodePool` names are formatted as + // `projects//locations//awsClusters//awsNodePools/`. + // + // See [Resource Names](https://cloud.google.com/apis/design/resource_names) + // for more details on Google Cloud resource names. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "gkemulticloud.googleapis.com/AwsNodePool" + } + ]; + + // Optional. Option for rollback to ignore the PodDisruptionBudget when + // draining the node pool nodes. Default value is false. + bool respect_pdb = 2 [(google.api.field_behavior) = OPTIONAL]; +} + // Request message for `AwsClusters.GetAwsNodePool` method. message GetAwsNodePoolRequest { // Required. The name of the @@ -546,6 +636,12 @@ message DeleteAwsNodePoolRequest { // Useful for idempotent deletion. bool allow_missing = 3; + // Optional. If set to true, the deletion of + // [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource will + // succeed even if errors occur during deleting in node pool resources. Using + // this parameter may result in orphaned resources in the node pool. + bool ignore_errors = 5 [(google.api.field_behavior) = OPTIONAL]; + // The current ETag of the // [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]. // @@ -556,6 +652,36 @@ message DeleteAwsNodePoolRequest { string etag = 4; } +// GetAwsOpenIdConfigRequest gets the OIDC discovery document for the +// cluster. See the OpenID Connect Discovery 1.0 specification for details. +message GetAwsOpenIdConfigRequest { + // Required. The AwsCluster, which owns the OIDC discovery document. + // Format: + // projects/{project}/locations/{location}/awsClusters/{cluster} + string aws_cluster = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "gkemulticloud.googleapis.com/AwsCluster" + } + ]; +} + +// GetAwsJsonWebKeysRequest gets the public component of the keys used by the +// cluster to sign token requests. This will be the jwks_uri for the discover +// document returned by getOpenIDConfig. See the OpenID Connect +// Discovery 1.0 specification for details. +message GetAwsJsonWebKeysRequest { + // Required. The AwsCluster, which owns the JsonWebKeys. + // Format: + // projects/{project}/locations/{location}/awsClusters/{cluster} + string aws_cluster = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "gkemulticloud.googleapis.com/AwsCluster" + } + ]; +} + // GetAwsServerConfigRequest gets the server config of GKE cluster on AWS. message GetAwsServerConfigRequest { // Required. The name of the @@ -603,3 +729,48 @@ message GenerateAwsAccessTokenResponse { google.protobuf.Timestamp expiration_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; } + +message GenerateAwsClusterAgentTokenRequest { + // Required. + string aws_cluster = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "gkemulticloud.googleapis.com/AwsCluster" + } + ]; + + // Required. + string subject_token = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. + string subject_token_type = 3 [(google.api.field_behavior) = REQUIRED]; + + // Required. + string version = 4 [(google.api.field_behavior) = REQUIRED]; + + // Optional. + string node_pool_id = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. + string grant_type = 6 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. + string audience = 7 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. + string scope = 8 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. + string requested_token_type = 9 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. + string options = 10 [(google.api.field_behavior) = OPTIONAL]; +} + +message GenerateAwsClusterAgentTokenResponse { + string access_token = 1; + + int32 expires_in = 2; + + string token_type = 3; +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_resources.proto b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_resources.proto similarity index 87% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_resources.proto rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_resources.proto index d7b6fc19e2d6..ba6a45da790e 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_resources.proto +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/gkemulticloud/v1/common_resources.proto"; import "google/protobuf/timestamp.proto"; +import "google/type/date.proto"; option csharp_namespace = "Google.Cloud.GkeMultiCloud.V1"; option go_package = "cloud.google.com/go/gkemulticloud/apiv1/gkemulticloudpb;gkemulticloudpb"; @@ -95,6 +96,8 @@ message AzureCluster { // authentication configuration for how the Anthos Multi-Cloud API connects to // Azure APIs. // + // Either azure_client or azure_services_authentication should be provided. + // // The `AzureClient` resource must reside on the same Google Cloud Platform // project and region as the `AzureCluster`. // @@ -116,6 +119,8 @@ message AzureCluster { AzureAuthorization authorization = 6 [(google.api.field_behavior) = REQUIRED]; // Optional. Authentication configuration for management of Azure resources. + // + // Either azure_client or azure_services_authentication should be provided. AzureServicesAuthentication azure_services_authentication = 22 [(google.api.field_behavior) = OPTIONAL]; @@ -445,14 +450,23 @@ message AzureClient { // Configuration related to the cluster RBAC settings. message AzureAuthorization { - // Required. Users that can perform operations as a cluster admin. A managed + // Optional. Users that can perform operations as a cluster admin. A managed // ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole // to the users. Up to ten admin users can be provided. // // For more info on RBAC, see // https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles repeated AzureClusterUser admin_users = 1 - [(google.api.field_behavior) = REQUIRED]; + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Groups of users that can perform operations as a cluster admin. A + // managed ClusterRoleBinding will be created to grant the `cluster-admin` + // ClusterRole to the groups. Up to ten admin groups can be provided. + // + // For more info on RBAC, see + // https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles + repeated AzureClusterGroup admin_groups = 2 + [(google.api.field_behavior) = OPTIONAL]; } // Authentication configuration for the management of Azure resources. @@ -470,6 +484,12 @@ message AzureClusterUser { string username = 1 [(google.api.field_behavior) = REQUIRED]; } +// Identities of a group-type subject for Azure clusters. +message AzureClusterGroup { + // Required. The name of the group, e.g. `my-group@domain.com`. + string group = 1 [(google.api.field_behavior) = REQUIRED]; +} + // An Anthos node pool running on Azure. message AzureNodePool { option (google.api.resource) = { @@ -577,6 +597,19 @@ message AzureNodePool { // Output only. A set of errors found in the node pool. repeated AzureNodePoolError errors = 29 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. The Management configuration for this node pool. + AzureNodeManagement management = 30 [(google.api.field_behavior) = OPTIONAL]; +} + +// AzureNodeManagement defines the set of node management features turned on for +// an Azure node pool. +message AzureNodeManagement { + // Optional. Whether or not the nodes will be automatically repaired. When set + // to true, the nodes in this node pool will be monitored and if they fail + // health checks consistently over a period of time, an automatic repair + // action will be triggered to replace them with new nodes. + bool auto_repair = 1 [(google.api.field_behavior) = OPTIONAL]; } // Parameters that describe the configuration of all node machines @@ -605,8 +638,7 @@ message AzureNodeConfig { map tags = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. The OS image type to use on node pool instances. - // Can have a value of `ubuntu`, or `windows` if the cluster enables - // the Windows node pool preview feature. + // Can be unspecified, or have a value of `ubuntu`. // // When unspecified, it defaults to `ubuntu`. string image_type = 8 [(google.api.field_behavior) = OPTIONAL]; @@ -644,6 +676,38 @@ message AzureNodePoolAutoscaling { int32 max_node_count = 2 [(google.api.field_behavior) = REQUIRED]; } +// AzureOpenIdConfig is an OIDC discovery document for the cluster. +// See the OpenID Connect Discovery 1.0 specification for details. +message AzureOpenIdConfig { + // OIDC Issuer. + string issuer = 1; + + // JSON Web Key uri. + string jwks_uri = 2; + + // Supported response types. + repeated string response_types_supported = 3; + + // Supported subject types. + repeated string subject_types_supported = 4; + + // supported ID Token signing Algorithms. + repeated string id_token_signing_alg_values_supported = 5; + + // Supported claims. + repeated string claims_supported = 6; + + // Supported grant types. + repeated string grant_types = 7; +} + +// AzureJsonWebKeys is a valid JSON Web Key Set as specififed in RFC 7517. +message AzureJsonWebKeys { + // The public component of the keys used by the cluster to sign token + // requests. + repeated Jwk keys = 1; +} + // AzureServerConfig contains information about a Google Cloud location, such as // supported Azure regions and Kubernetes versions. message AzureServerConfig { @@ -661,17 +725,41 @@ message AzureServerConfig { // for more details on Google Cloud Platform resource names. string name = 1; - // List of valid Kubernetes versions. + // List of all released Kubernetes versions, including ones which are end of + // life and can no longer be used. Filter by the `enabled` + // property to limit to currently available versions. + // Valid versions supported for both create and update operations repeated AzureK8sVersionInfo valid_versions = 2; // The list of supported Azure regions. repeated string supported_azure_regions = 3; } -// Information about a supported Kubernetes version. +// Kubernetes version information of GKE cluster on Azure. message AzureK8sVersionInfo { - // A supported Kubernetes version (for example, `1.19.10-gke.1000`) + // Kubernetes version name (for example, `1.19.10-gke.1000`) string version = 1; + + // Optional. True if the version is available for cluster creation. If a + // version is enabled for creation, it can be used to create new clusters. + // Otherwise, cluster creation will fail. However, cluster upgrade operations + // may succeed, even if the version is not enabled. + bool enabled = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. True if this cluster version belongs to a minor version that has + // reached its end of life and is no longer in scope to receive security and + // bug fixes. + bool end_of_life = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The estimated date (in Pacific Time) when this cluster version + // will reach its end of life. Or if this version is no longer supported (the + // `end_of_life` field is true), this is the actual date (in Pacific time) + // when the version reached its end of life. + google.type.Date end_of_life_date = 5 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The date (in Pacific Time) when the cluster version was released. + google.type.Date release_date = 6 [(google.api.field_behavior) = OPTIONAL]; } // SSH configuration for Azure resources. diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_service.proto b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_service.proto similarity index 88% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_service.proto rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_service.proto index d39e9dd63b55..8e669a05600d 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_service.proto +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,7 +21,9 @@ import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/gkemulticloud/v1/azure_resources.proto"; +import "google/cloud/gkemulticloud/v1/common_resources.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; @@ -178,6 +180,15 @@ service AzureClusters { }; } + // Generates an access token for a cluster agent. + rpc GenerateAzureClusterAgentToken(GenerateAzureClusterAgentTokenRequest) + returns (GenerateAzureClusterAgentTokenResponse) { + option (google.api.http) = { + post: "/v1/{azure_cluster=projects/*/locations/*/azureClusters/*}:generateAzureClusterAgentToken" + body: "*" + }; + } + // Generates a short-lived access token to authenticate to a given // [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource. rpc GenerateAzureAccessToken(GenerateAzureAccessTokenRequest) @@ -260,6 +271,29 @@ service AzureClusters { }; } + // Gets the OIDC discovery document for the cluster. + // See the + // [OpenID Connect Discovery 1.0 + // specification](https://openid.net/specs/openid-connect-discovery-1_0.html) + // for details. + rpc GetAzureOpenIdConfig(GetAzureOpenIdConfigRequest) + returns (AzureOpenIdConfig) { + option (google.api.http) = { + get: "/v1/{azure_cluster=projects/*/locations/*/azureClusters/*}/.well-known/openid-configuration" + }; + option (google.api.method_signature) = "azure_cluster"; + } + + // Gets the public component of the cluster signing keys in + // JSON Web Key format. + rpc GetAzureJsonWebKeys(GetAzureJsonWebKeysRequest) + returns (AzureJsonWebKeys) { + option (google.api.http) = { + get: "/v1/{azure_cluster=projects/*/locations/*/azureClusters/*}/jwks" + }; + option (google.api.method_signature) = "azure_cluster"; + } + // Returns information, such as supported Azure regions and Kubernetes // versions, on a given Google Cloud location. rpc GetAzureServerConfig(GetAzureServerConfigRequest) @@ -326,6 +360,7 @@ message UpdateAzureClusterRequest { // * `control_plane.vm_size`. // * `annotations`. // * `authorization.admin_users`. + // * `authorization.admin_groups`. // * `control_plane.root_volume.size_gib`. // * `azure_services_authentication`. // * `azure_services_authentication.tenant_id`. @@ -401,7 +436,7 @@ message ListAzureClustersResponse { string next_page_token = 2; } -// Request message for `Clusters.DeleteAzureCluster` method. +// Request message for `AzureClusters.DeleteAzureCluster` method. message DeleteAzureClusterRequest { // Required. The resource name the // [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete. @@ -444,7 +479,8 @@ message CreateAzureNodePoolRequest { // Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] // resource where this node pool will be created. // - // Location names are formatted as `projects//locations/`. + // `AzureCluster` names are formatted as + // `projects//locations//azureClusters/`. // // See [Resource Names](https://cloud.google.com/apis/design/resource_names) // for more details on Google Cloud resource names. @@ -493,6 +529,8 @@ message UpdateAzureNodePoolRequest { // * `autoscaling.min_node_count`. // * `autoscaling.max_node_count`. // * `config.ssh_config.authorized_key`. + // * `management.auto_repair`. + // * `management`. google.protobuf.FieldMask update_mask = 3 [(google.api.field_behavior) = REQUIRED]; } @@ -559,7 +597,7 @@ message ListAzureNodePoolsResponse { string next_page_token = 2; } -// Delete message for `AzureClusters.DeleteAzureNodePool` method. +// Request message for `AzureClusters.DeleteAzureNodePool` method. message DeleteAzureNodePoolRequest { // Required. The resource name the // [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete. @@ -599,6 +637,36 @@ message DeleteAzureNodePoolRequest { string etag = 4; } +// GetAzureOpenIdConfigRequest gets the OIDC discovery document for the +// cluster. See the OpenID Connect Discovery 1.0 specification for details. +message GetAzureOpenIdConfigRequest { + // Required. The AzureCluster, which owns the OIDC discovery document. + // Format: + // projects//locations//azureClusters/ + string azure_cluster = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "gkemulticloud.googleapis.com/AzureCluster" + } + ]; +} + +// GetAzureJsonWebKeysRequest gets the public component of the keys used by the +// cluster to sign token requests. This will be the jwks_uri for the discover +// document returned by getOpenIDConfig. See the OpenID Connect +// Discovery 1.0 specification for details. +message GetAzureJsonWebKeysRequest { + // Required. The AzureCluster, which owns the JsonWebKeys. + // Format: + // projects//locations//azureClusters/ + string azure_cluster = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "gkemulticloud.googleapis.com/AzureCluster" + } + ]; +} + // GetAzureServerConfigRequest gets the server config of GKE cluster on Azure. message GetAzureServerConfigRequest { // Required. The name of the @@ -753,7 +821,7 @@ message GenerateAzureAccessTokenRequest { // authenticate to. // // `AzureCluster` names are formatted as - // `projects//locations//AzureClusters/`. + // `projects//locations//azureClusters/`. // // See [Resource Names](https://cloud.google.com/apis/design/resource_names) // for more details on Google Cloud resource names. @@ -774,3 +842,48 @@ message GenerateAzureAccessTokenResponse { google.protobuf.Timestamp expiration_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; } + +message GenerateAzureClusterAgentTokenRequest { + // Required. + string azure_cluster = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "gkemulticloud.googleapis.com/AzureCluster" + } + ]; + + // Required. + string subject_token = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. + string subject_token_type = 3 [(google.api.field_behavior) = REQUIRED]; + + // Required. + string version = 4 [(google.api.field_behavior) = REQUIRED]; + + // Optional. + string node_pool_id = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. + string grant_type = 6 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. + string audience = 7 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. + string scope = 8 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. + string requested_token_type = 9 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. + string options = 10 [(google.api.field_behavior) = OPTIONAL]; +} + +message GenerateAzureClusterAgentTokenResponse { + string access_token = 1; + + int32 expires_in = 2; + + string token_type = 3; +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/common_resources.proto b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/common_resources.proto similarity index 85% rename from java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/common_resources.proto rename to owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/common_resources.proto index a39cb813e21a..a9746cabacde 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/common_resources.proto +++ b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/common_resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -27,6 +27,36 @@ option java_package = "com.google.cloud.gkemulticloud.v1"; option php_namespace = "Google\\Cloud\\GkeMultiCloud\\V1"; option ruby_package = "Google::Cloud::GkeMultiCloud::V1"; +// Jwk is a JSON Web Key as specified in RFC 7517. +message Jwk { + // Key Type. + string kty = 1; + + // Algorithm. + string alg = 2; + + // Permitted uses for the public keys. + string use = 3; + + // Key ID. + string kid = 4; + + // Used for RSA keys. + string n = 5; + + // Used for RSA keys. + string e = 6; + + // Used for ECDSA keys. + string x = 7; + + // Used for ECDSA keys. + string y = 8; + + // Used for ECDSA keys. + string crv = 9; +} + // Workload Identity settings. message WorkloadIdentityConfig { // The OIDC issuer URL for this cluster. @@ -172,3 +202,23 @@ message ManagedPrometheusConfig { // Enable Managed Collection. bool enabled = 1; } + +// Configuration for Binary Authorization. +message BinaryAuthorization { + // Binary Authorization mode of operation. + enum EvaluationMode { + // Default value + EVALUATION_MODE_UNSPECIFIED = 0; + + // Disable BinaryAuthorization + DISABLED = 1; + + // Enforce Kubernetes admission requests with BinaryAuthorization using the + // project's singleton policy. + PROJECT_SINGLETON_POLICY_ENFORCE = 2; + } + + // Mode of operation for binauthz policy evaluation. If unspecified, defaults + // to DISABLED. + EvaluationMode evaluation_mode = 1; +} diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/create/SyncCreateSetCredentialsProvider.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/create/SyncCreateSetEndpoint.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/AsyncCreateAttachedCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/AsyncCreateAttachedCluster.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/AsyncCreateAttachedCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/AsyncCreateAttachedCluster.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/AsyncCreateAttachedClusterLRO.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/AsyncCreateAttachedClusterLRO.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/AsyncCreateAttachedClusterLRO.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/AsyncCreateAttachedClusterLRO.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/SyncCreateAttachedCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/SyncCreateAttachedCluster.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/SyncCreateAttachedCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/SyncCreateAttachedCluster.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/SyncCreateAttachedClusterLocationnameAttachedclusterString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/SyncCreateAttachedClusterLocationnameAttachedclusterString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/SyncCreateAttachedClusterLocationnameAttachedclusterString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/SyncCreateAttachedClusterLocationnameAttachedclusterString.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/SyncCreateAttachedClusterStringAttachedclusterString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/SyncCreateAttachedClusterStringAttachedclusterString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/SyncCreateAttachedClusterStringAttachedclusterString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/SyncCreateAttachedClusterStringAttachedclusterString.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/AsyncDeleteAttachedCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/AsyncDeleteAttachedCluster.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/AsyncDeleteAttachedCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/AsyncDeleteAttachedCluster.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/AsyncDeleteAttachedClusterLRO.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/AsyncDeleteAttachedClusterLRO.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/AsyncDeleteAttachedClusterLRO.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/AsyncDeleteAttachedClusterLRO.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/SyncDeleteAttachedCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/SyncDeleteAttachedCluster.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/SyncDeleteAttachedCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/SyncDeleteAttachedCluster.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/SyncDeleteAttachedClusterAttachedclustername.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/SyncDeleteAttachedClusterAttachedclustername.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/SyncDeleteAttachedClusterAttachedclustername.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/SyncDeleteAttachedClusterAttachedclustername.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/SyncDeleteAttachedClusterString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/SyncDeleteAttachedClusterString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/SyncDeleteAttachedClusterString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/SyncDeleteAttachedClusterString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusteragenttoken/AsyncGenerateAttachedClusterAgentToken.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusteragenttoken/AsyncGenerateAttachedClusterAgentToken.java new file mode 100644 index 000000000000..853f572d0ceb --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusteragenttoken/AsyncGenerateAttachedClusterAgentToken.java @@ -0,0 +1,60 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkemulticloud.v1.samples; + +// [START gkemulticloud_v1_generated_AttachedClusters_GenerateAttachedClusterAgentToken_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gkemulticloud.v1.AttachedClusterName; +import com.google.cloud.gkemulticloud.v1.AttachedClustersClient; +import com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest; +import com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse; + +public class AsyncGenerateAttachedClusterAgentToken { + + public static void main(String[] args) throws Exception { + asyncGenerateAttachedClusterAgentToken(); + } + + public static void asyncGenerateAttachedClusterAgentToken() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AttachedClustersClient attachedClustersClient = AttachedClustersClient.create()) { + GenerateAttachedClusterAgentTokenRequest request = + GenerateAttachedClusterAgentTokenRequest.newBuilder() + .setAttachedCluster( + AttachedClusterName.of("[PROJECT]", "[LOCATION]", "[ATTACHED_CLUSTER]") + .toString()) + .setSubjectToken("subjectToken-1519661011") + .setSubjectTokenType("subjectTokenType1839592711") + .setVersion("version351608024") + .setGrantType("grantType-1219832202") + .setAudience("audience975628804") + .setScope("scope109264468") + .setRequestedTokenType("requestedTokenType1733106949") + .setOptions("options-1249474914") + .build(); + ApiFuture future = + attachedClustersClient.generateAttachedClusterAgentTokenCallable().futureCall(request); + // Do something. + GenerateAttachedClusterAgentTokenResponse response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_AttachedClusters_GenerateAttachedClusterAgentToken_async] diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusteragenttoken/SyncGenerateAttachedClusterAgentToken.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusteragenttoken/SyncGenerateAttachedClusterAgentToken.java new file mode 100644 index 000000000000..2e7c4dc74cc2 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusteragenttoken/SyncGenerateAttachedClusterAgentToken.java @@ -0,0 +1,57 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkemulticloud.v1.samples; + +// [START gkemulticloud_v1_generated_AttachedClusters_GenerateAttachedClusterAgentToken_sync] +import com.google.cloud.gkemulticloud.v1.AttachedClusterName; +import com.google.cloud.gkemulticloud.v1.AttachedClustersClient; +import com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest; +import com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse; + +public class SyncGenerateAttachedClusterAgentToken { + + public static void main(String[] args) throws Exception { + syncGenerateAttachedClusterAgentToken(); + } + + public static void syncGenerateAttachedClusterAgentToken() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AttachedClustersClient attachedClustersClient = AttachedClustersClient.create()) { + GenerateAttachedClusterAgentTokenRequest request = + GenerateAttachedClusterAgentTokenRequest.newBuilder() + .setAttachedCluster( + AttachedClusterName.of("[PROJECT]", "[LOCATION]", "[ATTACHED_CLUSTER]") + .toString()) + .setSubjectToken("subjectToken-1519661011") + .setSubjectTokenType("subjectTokenType1839592711") + .setVersion("version351608024") + .setGrantType("grantType-1219832202") + .setAudience("audience975628804") + .setScope("scope109264468") + .setRequestedTokenType("requestedTokenType1733106949") + .setOptions("options-1249474914") + .build(); + GenerateAttachedClusterAgentTokenResponse response = + attachedClustersClient.generateAttachedClusterAgentToken(request); + } + } +} +// [END gkemulticloud_v1_generated_AttachedClusters_GenerateAttachedClusterAgentToken_sync] diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/AsyncGenerateAttachedClusterInstallManifest.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/AsyncGenerateAttachedClusterInstallManifest.java similarity index 95% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/AsyncGenerateAttachedClusterInstallManifest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/AsyncGenerateAttachedClusterInstallManifest.java index e23a39435003..1934f7b0c13e 100644 --- a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/AsyncGenerateAttachedClusterInstallManifest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/AsyncGenerateAttachedClusterInstallManifest.java @@ -19,6 +19,7 @@ // [START gkemulticloud_v1_generated_AttachedClusters_GenerateAttachedClusterInstallManifest_async] import com.google.api.core.ApiFuture; import com.google.cloud.gkemulticloud.v1.AttachedClustersClient; +import com.google.cloud.gkemulticloud.v1.AttachedProxyConfig; import com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest; import com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse; import com.google.cloud.gkemulticloud.v1.LocationName; @@ -41,6 +42,7 @@ public static void asyncGenerateAttachedClusterInstallManifest() throws Exceptio .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setAttachedClusterId("attachedClusterId865943409") .setPlatformVersion("platformVersion1848800485") + .setProxyConfig(AttachedProxyConfig.newBuilder().build()) .build(); ApiFuture future = attachedClustersClient diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/SyncGenerateAttachedClusterInstallManifest.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/SyncGenerateAttachedClusterInstallManifest.java similarity index 94% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/SyncGenerateAttachedClusterInstallManifest.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/SyncGenerateAttachedClusterInstallManifest.java index 3f67bee6382b..24e194034f87 100644 --- a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/SyncGenerateAttachedClusterInstallManifest.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/SyncGenerateAttachedClusterInstallManifest.java @@ -18,6 +18,7 @@ // [START gkemulticloud_v1_generated_AttachedClusters_GenerateAttachedClusterInstallManifest_sync] import com.google.cloud.gkemulticloud.v1.AttachedClustersClient; +import com.google.cloud.gkemulticloud.v1.AttachedProxyConfig; import com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest; import com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse; import com.google.cloud.gkemulticloud.v1.LocationName; @@ -40,6 +41,7 @@ public static void syncGenerateAttachedClusterInstallManifest() throws Exception .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) .setAttachedClusterId("attachedClusterId865943409") .setPlatformVersion("platformVersion1848800485") + .setProxyConfig(AttachedProxyConfig.newBuilder().build()) .build(); GenerateAttachedClusterInstallManifestResponse response = attachedClustersClient.generateAttachedClusterInstallManifest(request); diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/SyncGenerateAttachedClusterInstallManifestLocationnameString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/SyncGenerateAttachedClusterInstallManifestLocationnameString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/SyncGenerateAttachedClusterInstallManifestLocationnameString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/SyncGenerateAttachedClusterInstallManifestLocationnameString.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/SyncGenerateAttachedClusterInstallManifestStringString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/SyncGenerateAttachedClusterInstallManifestStringString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/SyncGenerateAttachedClusterInstallManifestStringString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/SyncGenerateAttachedClusterInstallManifestStringString.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/AsyncGetAttachedCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/AsyncGetAttachedCluster.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/AsyncGetAttachedCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/AsyncGetAttachedCluster.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/SyncGetAttachedCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/SyncGetAttachedCluster.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/SyncGetAttachedCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/SyncGetAttachedCluster.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/SyncGetAttachedClusterAttachedclustername.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/SyncGetAttachedClusterAttachedclustername.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/SyncGetAttachedClusterAttachedclustername.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/SyncGetAttachedClusterAttachedclustername.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/SyncGetAttachedClusterString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/SyncGetAttachedClusterString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/SyncGetAttachedClusterString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/SyncGetAttachedClusterString.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/AsyncGetAttachedServerConfig.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/AsyncGetAttachedServerConfig.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/AsyncGetAttachedServerConfig.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/AsyncGetAttachedServerConfig.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/SyncGetAttachedServerConfig.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/SyncGetAttachedServerConfig.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/SyncGetAttachedServerConfig.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/SyncGetAttachedServerConfig.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/SyncGetAttachedServerConfigAttachedserverconfigname.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/SyncGetAttachedServerConfigAttachedserverconfigname.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/SyncGetAttachedServerConfigAttachedserverconfigname.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/SyncGetAttachedServerConfigAttachedserverconfigname.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/SyncGetAttachedServerConfigString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/SyncGetAttachedServerConfigString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/SyncGetAttachedServerConfigString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/SyncGetAttachedServerConfigString.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/AsyncImportAttachedCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/AsyncImportAttachedCluster.java similarity index 94% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/AsyncImportAttachedCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/AsyncImportAttachedCluster.java index 4ecb033dd9ba..4074b6d9e194 100644 --- a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/AsyncImportAttachedCluster.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/AsyncImportAttachedCluster.java @@ -19,6 +19,7 @@ // [START gkemulticloud_v1_generated_AttachedClusters_ImportAttachedCluster_async] import com.google.api.core.ApiFuture; import com.google.cloud.gkemulticloud.v1.AttachedClustersClient; +import com.google.cloud.gkemulticloud.v1.AttachedProxyConfig; import com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest; import com.google.cloud.gkemulticloud.v1.LocationName; import com.google.longrunning.Operation; @@ -43,6 +44,7 @@ public static void asyncImportAttachedCluster() throws Exception { .setFleetMembership("fleetMembership-665479228") .setPlatformVersion("platformVersion1848800485") .setDistribution("distribution-1580708220") + .setProxyConfig(AttachedProxyConfig.newBuilder().build()) .build(); ApiFuture future = attachedClustersClient.importAttachedClusterCallable().futureCall(request); diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/AsyncImportAttachedClusterLRO.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/AsyncImportAttachedClusterLRO.java similarity index 95% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/AsyncImportAttachedClusterLRO.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/AsyncImportAttachedClusterLRO.java index 0863ccbbd59d..da6fd516ab54 100644 --- a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/AsyncImportAttachedClusterLRO.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/AsyncImportAttachedClusterLRO.java @@ -20,6 +20,7 @@ import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.gkemulticloud.v1.AttachedCluster; import com.google.cloud.gkemulticloud.v1.AttachedClustersClient; +import com.google.cloud.gkemulticloud.v1.AttachedProxyConfig; import com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest; import com.google.cloud.gkemulticloud.v1.LocationName; import com.google.cloud.gkemulticloud.v1.OperationMetadata; @@ -44,6 +45,7 @@ public static void asyncImportAttachedClusterLRO() throws Exception { .setFleetMembership("fleetMembership-665479228") .setPlatformVersion("platformVersion1848800485") .setDistribution("distribution-1580708220") + .setProxyConfig(AttachedProxyConfig.newBuilder().build()) .build(); OperationFuture future = attachedClustersClient.importAttachedClusterOperationCallable().futureCall(request); diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/SyncImportAttachedCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/SyncImportAttachedCluster.java similarity index 94% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/SyncImportAttachedCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/SyncImportAttachedCluster.java index 01f612d52ad0..6cfb2d352547 100644 --- a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/SyncImportAttachedCluster.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/SyncImportAttachedCluster.java @@ -19,6 +19,7 @@ // [START gkemulticloud_v1_generated_AttachedClusters_ImportAttachedCluster_sync] import com.google.cloud.gkemulticloud.v1.AttachedCluster; import com.google.cloud.gkemulticloud.v1.AttachedClustersClient; +import com.google.cloud.gkemulticloud.v1.AttachedProxyConfig; import com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest; import com.google.cloud.gkemulticloud.v1.LocationName; @@ -42,6 +43,7 @@ public static void syncImportAttachedCluster() throws Exception { .setFleetMembership("fleetMembership-665479228") .setPlatformVersion("platformVersion1848800485") .setDistribution("distribution-1580708220") + .setProxyConfig(AttachedProxyConfig.newBuilder().build()) .build(); AttachedCluster response = attachedClustersClient.importAttachedClusterAsync(request).get(); } diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/SyncImportAttachedClusterLocationnameString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/SyncImportAttachedClusterLocationnameString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/SyncImportAttachedClusterLocationnameString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/SyncImportAttachedClusterLocationnameString.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/SyncImportAttachedClusterStringString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/SyncImportAttachedClusterStringString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/SyncImportAttachedClusterStringString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/SyncImportAttachedClusterStringString.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/AsyncListAttachedClusters.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/AsyncListAttachedClusters.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/AsyncListAttachedClusters.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/AsyncListAttachedClusters.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/AsyncListAttachedClustersPaged.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/AsyncListAttachedClustersPaged.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/AsyncListAttachedClustersPaged.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/AsyncListAttachedClustersPaged.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/SyncListAttachedClusters.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/SyncListAttachedClusters.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/SyncListAttachedClusters.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/SyncListAttachedClusters.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/SyncListAttachedClustersLocationname.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/SyncListAttachedClustersLocationname.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/SyncListAttachedClustersLocationname.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/SyncListAttachedClustersLocationname.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/SyncListAttachedClustersString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/SyncListAttachedClustersString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/SyncListAttachedClustersString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/SyncListAttachedClustersString.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/AsyncUpdateAttachedCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/AsyncUpdateAttachedCluster.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/AsyncUpdateAttachedCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/AsyncUpdateAttachedCluster.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/AsyncUpdateAttachedClusterLRO.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/AsyncUpdateAttachedClusterLRO.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/AsyncUpdateAttachedClusterLRO.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/AsyncUpdateAttachedClusterLRO.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/SyncUpdateAttachedCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/SyncUpdateAttachedCluster.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/SyncUpdateAttachedCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/SyncUpdateAttachedCluster.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/SyncUpdateAttachedClusterAttachedclusterFieldmask.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/SyncUpdateAttachedClusterAttachedclusterFieldmask.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/SyncUpdateAttachedClusterAttachedclusterFieldmask.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/SyncUpdateAttachedClusterAttachedclusterFieldmask.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusterssettings/getattachedcluster/SyncGetAttachedCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusterssettings/getattachedcluster/SyncGetAttachedCluster.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusterssettings/getattachedcluster/SyncGetAttachedCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusterssettings/getattachedcluster/SyncGetAttachedCluster.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/create/SyncCreateSetCredentialsProvider.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/create/SyncCreateSetEndpoint.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/AsyncCreateAwsCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/AsyncCreateAwsCluster.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/AsyncCreateAwsCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/AsyncCreateAwsCluster.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/AsyncCreateAwsClusterLRO.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/AsyncCreateAwsClusterLRO.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/AsyncCreateAwsClusterLRO.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/AsyncCreateAwsClusterLRO.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/SyncCreateAwsCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/SyncCreateAwsCluster.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/SyncCreateAwsCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/SyncCreateAwsCluster.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/SyncCreateAwsClusterLocationnameAwsclusterString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/SyncCreateAwsClusterLocationnameAwsclusterString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/SyncCreateAwsClusterLocationnameAwsclusterString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/SyncCreateAwsClusterLocationnameAwsclusterString.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/SyncCreateAwsClusterStringAwsclusterString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/SyncCreateAwsClusterStringAwsclusterString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/SyncCreateAwsClusterStringAwsclusterString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/SyncCreateAwsClusterStringAwsclusterString.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/AsyncCreateAwsNodePool.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/AsyncCreateAwsNodePool.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/AsyncCreateAwsNodePool.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/AsyncCreateAwsNodePool.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/AsyncCreateAwsNodePoolLRO.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/AsyncCreateAwsNodePoolLRO.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/AsyncCreateAwsNodePoolLRO.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/AsyncCreateAwsNodePoolLRO.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/SyncCreateAwsNodePool.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/SyncCreateAwsNodePool.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/SyncCreateAwsNodePool.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/SyncCreateAwsNodePool.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/SyncCreateAwsNodePoolAwsclusternameAwsnodepoolString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/SyncCreateAwsNodePoolAwsclusternameAwsnodepoolString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/SyncCreateAwsNodePoolAwsclusternameAwsnodepoolString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/SyncCreateAwsNodePoolAwsclusternameAwsnodepoolString.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/SyncCreateAwsNodePoolStringAwsnodepoolString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/SyncCreateAwsNodePoolStringAwsnodepoolString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/SyncCreateAwsNodePoolStringAwsnodepoolString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/SyncCreateAwsNodePoolStringAwsnodepoolString.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/AsyncDeleteAwsCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/AsyncDeleteAwsCluster.java similarity index 98% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/AsyncDeleteAwsCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/AsyncDeleteAwsCluster.java index b901b0733705..f03be3515a26 100644 --- a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/AsyncDeleteAwsCluster.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/AsyncDeleteAwsCluster.java @@ -41,6 +41,7 @@ public static void asyncDeleteAwsCluster() throws Exception { .setName(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) .setValidateOnly(true) .setAllowMissing(true) + .setIgnoreErrors(true) .setEtag("etag3123477") .build(); ApiFuture future = diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/AsyncDeleteAwsClusterLRO.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/AsyncDeleteAwsClusterLRO.java similarity index 98% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/AsyncDeleteAwsClusterLRO.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/AsyncDeleteAwsClusterLRO.java index 0d744172b3ce..e1a3ff7e5498 100644 --- a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/AsyncDeleteAwsClusterLRO.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/AsyncDeleteAwsClusterLRO.java @@ -42,6 +42,7 @@ public static void asyncDeleteAwsClusterLRO() throws Exception { .setName(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) .setValidateOnly(true) .setAllowMissing(true) + .setIgnoreErrors(true) .setEtag("etag3123477") .build(); OperationFuture future = diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/SyncDeleteAwsCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/SyncDeleteAwsCluster.java similarity index 98% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/SyncDeleteAwsCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/SyncDeleteAwsCluster.java index 8fb90fe7710b..e6c9c3bbafd4 100644 --- a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/SyncDeleteAwsCluster.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/SyncDeleteAwsCluster.java @@ -40,6 +40,7 @@ public static void syncDeleteAwsCluster() throws Exception { .setName(AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) .setValidateOnly(true) .setAllowMissing(true) + .setIgnoreErrors(true) .setEtag("etag3123477") .build(); awsClustersClient.deleteAwsClusterAsync(request).get(); diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/SyncDeleteAwsClusterAwsclustername.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/SyncDeleteAwsClusterAwsclustername.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/SyncDeleteAwsClusterAwsclustername.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/SyncDeleteAwsClusterAwsclustername.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/SyncDeleteAwsClusterString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/SyncDeleteAwsClusterString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/SyncDeleteAwsClusterString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/SyncDeleteAwsClusterString.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/AsyncDeleteAwsNodePool.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/AsyncDeleteAwsNodePool.java similarity index 98% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/AsyncDeleteAwsNodePool.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/AsyncDeleteAwsNodePool.java index ba6a48b70c30..eac3b256a7fb 100644 --- a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/AsyncDeleteAwsNodePool.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/AsyncDeleteAwsNodePool.java @@ -43,6 +43,7 @@ public static void asyncDeleteAwsNodePool() throws Exception { .toString()) .setValidateOnly(true) .setAllowMissing(true) + .setIgnoreErrors(true) .setEtag("etag3123477") .build(); ApiFuture future = diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/AsyncDeleteAwsNodePoolLRO.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/AsyncDeleteAwsNodePoolLRO.java similarity index 98% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/AsyncDeleteAwsNodePoolLRO.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/AsyncDeleteAwsNodePoolLRO.java index 981d243825e3..77e4942d1a54 100644 --- a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/AsyncDeleteAwsNodePoolLRO.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/AsyncDeleteAwsNodePoolLRO.java @@ -44,6 +44,7 @@ public static void asyncDeleteAwsNodePoolLRO() throws Exception { .toString()) .setValidateOnly(true) .setAllowMissing(true) + .setIgnoreErrors(true) .setEtag("etag3123477") .build(); OperationFuture future = diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/SyncDeleteAwsNodePool.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/SyncDeleteAwsNodePool.java similarity index 98% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/SyncDeleteAwsNodePool.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/SyncDeleteAwsNodePool.java index 3ca33d9f366d..d8d871741373 100644 --- a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/SyncDeleteAwsNodePool.java +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/SyncDeleteAwsNodePool.java @@ -42,6 +42,7 @@ public static void syncDeleteAwsNodePool() throws Exception { .toString()) .setValidateOnly(true) .setAllowMissing(true) + .setIgnoreErrors(true) .setEtag("etag3123477") .build(); awsClustersClient.deleteAwsNodePoolAsync(request).get(); diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/SyncDeleteAwsNodePoolAwsnodepoolname.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/SyncDeleteAwsNodePoolAwsnodepoolname.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/SyncDeleteAwsNodePoolAwsnodepoolname.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/SyncDeleteAwsNodePoolAwsnodepoolname.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/SyncDeleteAwsNodePoolString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/SyncDeleteAwsNodePoolString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/SyncDeleteAwsNodePoolString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/SyncDeleteAwsNodePoolString.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsaccesstoken/AsyncGenerateAwsAccessToken.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsaccesstoken/AsyncGenerateAwsAccessToken.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsaccesstoken/AsyncGenerateAwsAccessToken.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsaccesstoken/AsyncGenerateAwsAccessToken.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsaccesstoken/SyncGenerateAwsAccessToken.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsaccesstoken/SyncGenerateAwsAccessToken.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsaccesstoken/SyncGenerateAwsAccessToken.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsaccesstoken/SyncGenerateAwsAccessToken.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsclusteragenttoken/AsyncGenerateAwsClusterAgentToken.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsclusteragenttoken/AsyncGenerateAwsClusterAgentToken.java new file mode 100644 index 000000000000..bd14a290922a --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsclusteragenttoken/AsyncGenerateAwsClusterAgentToken.java @@ -0,0 +1,60 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkemulticloud.v1.samples; + +// [START gkemulticloud_v1_generated_AwsClusters_GenerateAwsClusterAgentToken_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gkemulticloud.v1.AwsClusterName; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest; +import com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse; + +public class AsyncGenerateAwsClusterAgentToken { + + public static void main(String[] args) throws Exception { + asyncGenerateAwsClusterAgentToken(); + } + + public static void asyncGenerateAwsClusterAgentToken() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + GenerateAwsClusterAgentTokenRequest request = + GenerateAwsClusterAgentTokenRequest.newBuilder() + .setAwsCluster( + AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .setSubjectToken("subjectToken-1519661011") + .setSubjectTokenType("subjectTokenType1839592711") + .setVersion("version351608024") + .setNodePoolId("nodePoolId1121557241") + .setGrantType("grantType-1219832202") + .setAudience("audience975628804") + .setScope("scope109264468") + .setRequestedTokenType("requestedTokenType1733106949") + .setOptions("options-1249474914") + .build(); + ApiFuture future = + awsClustersClient.generateAwsClusterAgentTokenCallable().futureCall(request); + // Do something. + GenerateAwsClusterAgentTokenResponse response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_AwsClusters_GenerateAwsClusterAgentToken_async] diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsclusteragenttoken/SyncGenerateAwsClusterAgentToken.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsclusteragenttoken/SyncGenerateAwsClusterAgentToken.java new file mode 100644 index 000000000000..aac400d766bd --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsclusteragenttoken/SyncGenerateAwsClusterAgentToken.java @@ -0,0 +1,57 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkemulticloud.v1.samples; + +// [START gkemulticloud_v1_generated_AwsClusters_GenerateAwsClusterAgentToken_sync] +import com.google.cloud.gkemulticloud.v1.AwsClusterName; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest; +import com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse; + +public class SyncGenerateAwsClusterAgentToken { + + public static void main(String[] args) throws Exception { + syncGenerateAwsClusterAgentToken(); + } + + public static void syncGenerateAwsClusterAgentToken() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + GenerateAwsClusterAgentTokenRequest request = + GenerateAwsClusterAgentTokenRequest.newBuilder() + .setAwsCluster( + AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .setSubjectToken("subjectToken-1519661011") + .setSubjectTokenType("subjectTokenType1839592711") + .setVersion("version351608024") + .setNodePoolId("nodePoolId1121557241") + .setGrantType("grantType-1219832202") + .setAudience("audience975628804") + .setScope("scope109264468") + .setRequestedTokenType("requestedTokenType1733106949") + .setOptions("options-1249474914") + .build(); + GenerateAwsClusterAgentTokenResponse response = + awsClustersClient.generateAwsClusterAgentToken(request); + } + } +} +// [END gkemulticloud_v1_generated_AwsClusters_GenerateAwsClusterAgentToken_sync] diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/AsyncGetAwsCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/AsyncGetAwsCluster.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/AsyncGetAwsCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/AsyncGetAwsCluster.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/SyncGetAwsCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/SyncGetAwsCluster.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/SyncGetAwsCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/SyncGetAwsCluster.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/SyncGetAwsClusterAwsclustername.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/SyncGetAwsClusterAwsclustername.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/SyncGetAwsClusterAwsclustername.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/SyncGetAwsClusterAwsclustername.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/SyncGetAwsClusterString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/SyncGetAwsClusterString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/SyncGetAwsClusterString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/SyncGetAwsClusterString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsjsonwebkeys/AsyncGetAwsJsonWebKeys.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsjsonwebkeys/AsyncGetAwsJsonWebKeys.java new file mode 100644 index 000000000000..866b93d921a2 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsjsonwebkeys/AsyncGetAwsJsonWebKeys.java @@ -0,0 +1,51 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkemulticloud.v1.samples; + +// [START gkemulticloud_v1_generated_AwsClusters_GetAwsJsonWebKeys_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gkemulticloud.v1.AwsClusterName; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys; +import com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest; + +public class AsyncGetAwsJsonWebKeys { + + public static void main(String[] args) throws Exception { + asyncGetAwsJsonWebKeys(); + } + + public static void asyncGetAwsJsonWebKeys() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + GetAwsJsonWebKeysRequest request = + GetAwsJsonWebKeysRequest.newBuilder() + .setAwsCluster( + AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .build(); + ApiFuture future = + awsClustersClient.getAwsJsonWebKeysCallable().futureCall(request); + // Do something. + AwsJsonWebKeys response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_AwsClusters_GetAwsJsonWebKeys_async] diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsjsonwebkeys/SyncGetAwsJsonWebKeys.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsjsonwebkeys/SyncGetAwsJsonWebKeys.java new file mode 100644 index 000000000000..79f4e0455ecc --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsjsonwebkeys/SyncGetAwsJsonWebKeys.java @@ -0,0 +1,47 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkemulticloud.v1.samples; + +// [START gkemulticloud_v1_generated_AwsClusters_GetAwsJsonWebKeys_sync] +import com.google.cloud.gkemulticloud.v1.AwsClusterName; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys; +import com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest; + +public class SyncGetAwsJsonWebKeys { + + public static void main(String[] args) throws Exception { + syncGetAwsJsonWebKeys(); + } + + public static void syncGetAwsJsonWebKeys() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + GetAwsJsonWebKeysRequest request = + GetAwsJsonWebKeysRequest.newBuilder() + .setAwsCluster( + AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .build(); + AwsJsonWebKeys response = awsClustersClient.getAwsJsonWebKeys(request); + } + } +} +// [END gkemulticloud_v1_generated_AwsClusters_GetAwsJsonWebKeys_sync] diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/AsyncGetAwsNodePool.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/AsyncGetAwsNodePool.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/AsyncGetAwsNodePool.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/AsyncGetAwsNodePool.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/SyncGetAwsNodePool.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/SyncGetAwsNodePool.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/SyncGetAwsNodePool.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/SyncGetAwsNodePool.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/SyncGetAwsNodePoolAwsnodepoolname.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/SyncGetAwsNodePoolAwsnodepoolname.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/SyncGetAwsNodePoolAwsnodepoolname.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/SyncGetAwsNodePoolAwsnodepoolname.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/SyncGetAwsNodePoolString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/SyncGetAwsNodePoolString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/SyncGetAwsNodePoolString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/SyncGetAwsNodePoolString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsopenidconfig/AsyncGetAwsOpenIdConfig.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsopenidconfig/AsyncGetAwsOpenIdConfig.java new file mode 100644 index 000000000000..5e9d35027242 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsopenidconfig/AsyncGetAwsOpenIdConfig.java @@ -0,0 +1,51 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkemulticloud.v1.samples; + +// [START gkemulticloud_v1_generated_AwsClusters_GetAwsOpenIdConfig_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gkemulticloud.v1.AwsClusterName; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig; +import com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest; + +public class AsyncGetAwsOpenIdConfig { + + public static void main(String[] args) throws Exception { + asyncGetAwsOpenIdConfig(); + } + + public static void asyncGetAwsOpenIdConfig() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + GetAwsOpenIdConfigRequest request = + GetAwsOpenIdConfigRequest.newBuilder() + .setAwsCluster( + AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .build(); + ApiFuture future = + awsClustersClient.getAwsOpenIdConfigCallable().futureCall(request); + // Do something. + AwsOpenIdConfig response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_AwsClusters_GetAwsOpenIdConfig_async] diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsopenidconfig/SyncGetAwsOpenIdConfig.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsopenidconfig/SyncGetAwsOpenIdConfig.java new file mode 100644 index 000000000000..d9dc1baacfa7 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsopenidconfig/SyncGetAwsOpenIdConfig.java @@ -0,0 +1,47 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkemulticloud.v1.samples; + +// [START gkemulticloud_v1_generated_AwsClusters_GetAwsOpenIdConfig_sync] +import com.google.cloud.gkemulticloud.v1.AwsClusterName; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig; +import com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest; + +public class SyncGetAwsOpenIdConfig { + + public static void main(String[] args) throws Exception { + syncGetAwsOpenIdConfig(); + } + + public static void syncGetAwsOpenIdConfig() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + GetAwsOpenIdConfigRequest request = + GetAwsOpenIdConfigRequest.newBuilder() + .setAwsCluster( + AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]").toString()) + .build(); + AwsOpenIdConfig response = awsClustersClient.getAwsOpenIdConfig(request); + } + } +} +// [END gkemulticloud_v1_generated_AwsClusters_GetAwsOpenIdConfig_sync] diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/AsyncGetAwsServerConfig.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/AsyncGetAwsServerConfig.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/AsyncGetAwsServerConfig.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/AsyncGetAwsServerConfig.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/SyncGetAwsServerConfig.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/SyncGetAwsServerConfig.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/SyncGetAwsServerConfig.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/SyncGetAwsServerConfig.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/SyncGetAwsServerConfigAwsserverconfigname.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/SyncGetAwsServerConfigAwsserverconfigname.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/SyncGetAwsServerConfigAwsserverconfigname.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/SyncGetAwsServerConfigAwsserverconfigname.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/SyncGetAwsServerConfigString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/SyncGetAwsServerConfigString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/SyncGetAwsServerConfigString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/SyncGetAwsServerConfigString.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/AsyncListAwsClusters.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/AsyncListAwsClusters.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/AsyncListAwsClusters.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/AsyncListAwsClusters.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/AsyncListAwsClustersPaged.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/AsyncListAwsClustersPaged.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/AsyncListAwsClustersPaged.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/AsyncListAwsClustersPaged.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/SyncListAwsClusters.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/SyncListAwsClusters.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/SyncListAwsClusters.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/SyncListAwsClusters.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/SyncListAwsClustersLocationname.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/SyncListAwsClustersLocationname.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/SyncListAwsClustersLocationname.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/SyncListAwsClustersLocationname.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/SyncListAwsClustersString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/SyncListAwsClustersString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/SyncListAwsClustersString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/SyncListAwsClustersString.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/AsyncListAwsNodePools.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/AsyncListAwsNodePools.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/AsyncListAwsNodePools.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/AsyncListAwsNodePools.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/AsyncListAwsNodePoolsPaged.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/AsyncListAwsNodePoolsPaged.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/AsyncListAwsNodePoolsPaged.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/AsyncListAwsNodePoolsPaged.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/SyncListAwsNodePools.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/SyncListAwsNodePools.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/SyncListAwsNodePools.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/SyncListAwsNodePools.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/SyncListAwsNodePoolsAwsclustername.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/SyncListAwsNodePoolsAwsclustername.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/SyncListAwsNodePoolsAwsclustername.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/SyncListAwsNodePoolsAwsclustername.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/SyncListAwsNodePoolsString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/SyncListAwsNodePoolsString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/SyncListAwsNodePoolsString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/SyncListAwsNodePoolsString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/AsyncRollbackAwsNodePoolUpdate.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/AsyncRollbackAwsNodePoolUpdate.java new file mode 100644 index 000000000000..e249715eaa60 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/AsyncRollbackAwsNodePoolUpdate.java @@ -0,0 +1,53 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkemulticloud.v1.samples; + +// [START gkemulticloud_v1_generated_AwsClusters_RollbackAwsNodePoolUpdate_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.AwsNodePoolName; +import com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest; +import com.google.longrunning.Operation; + +public class AsyncRollbackAwsNodePoolUpdate { + + public static void main(String[] args) throws Exception { + asyncRollbackAwsNodePoolUpdate(); + } + + public static void asyncRollbackAwsNodePoolUpdate() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + RollbackAwsNodePoolUpdateRequest request = + RollbackAwsNodePoolUpdateRequest.newBuilder() + .setName( + AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]") + .toString()) + .setRespectPdb(true) + .build(); + ApiFuture future = + awsClustersClient.rollbackAwsNodePoolUpdateCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_AwsClusters_RollbackAwsNodePoolUpdate_async] diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/AsyncRollbackAwsNodePoolUpdateLRO.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/AsyncRollbackAwsNodePoolUpdateLRO.java new file mode 100644 index 000000000000..2120bb65902b --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/AsyncRollbackAwsNodePoolUpdateLRO.java @@ -0,0 +1,54 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkemulticloud.v1.samples; + +// [START gkemulticloud_v1_generated_AwsClusters_RollbackAwsNodePoolUpdate_LRO_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.AwsNodePool; +import com.google.cloud.gkemulticloud.v1.AwsNodePoolName; +import com.google.cloud.gkemulticloud.v1.OperationMetadata; +import com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest; + +public class AsyncRollbackAwsNodePoolUpdateLRO { + + public static void main(String[] args) throws Exception { + asyncRollbackAwsNodePoolUpdateLRO(); + } + + public static void asyncRollbackAwsNodePoolUpdateLRO() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + RollbackAwsNodePoolUpdateRequest request = + RollbackAwsNodePoolUpdateRequest.newBuilder() + .setName( + AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]") + .toString()) + .setRespectPdb(true) + .build(); + OperationFuture future = + awsClustersClient.rollbackAwsNodePoolUpdateOperationCallable().futureCall(request); + // Do something. + AwsNodePool response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_AwsClusters_RollbackAwsNodePoolUpdate_LRO_async] diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/SyncRollbackAwsNodePoolUpdate.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/SyncRollbackAwsNodePoolUpdate.java new file mode 100644 index 000000000000..a085c99dd769 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/SyncRollbackAwsNodePoolUpdate.java @@ -0,0 +1,49 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkemulticloud.v1.samples; + +// [START gkemulticloud_v1_generated_AwsClusters_RollbackAwsNodePoolUpdate_sync] +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.AwsNodePool; +import com.google.cloud.gkemulticloud.v1.AwsNodePoolName; +import com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest; + +public class SyncRollbackAwsNodePoolUpdate { + + public static void main(String[] args) throws Exception { + syncRollbackAwsNodePoolUpdate(); + } + + public static void syncRollbackAwsNodePoolUpdate() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + RollbackAwsNodePoolUpdateRequest request = + RollbackAwsNodePoolUpdateRequest.newBuilder() + .setName( + AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]") + .toString()) + .setRespectPdb(true) + .build(); + AwsNodePool response = awsClustersClient.rollbackAwsNodePoolUpdateAsync(request).get(); + } + } +} +// [END gkemulticloud_v1_generated_AwsClusters_RollbackAwsNodePoolUpdate_sync] diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/SyncRollbackAwsNodePoolUpdateAwsnodepoolname.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/SyncRollbackAwsNodePoolUpdateAwsnodepoolname.java new file mode 100644 index 000000000000..5a6f3c7f09b7 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/SyncRollbackAwsNodePoolUpdateAwsnodepoolname.java @@ -0,0 +1,43 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkemulticloud.v1.samples; + +// [START gkemulticloud_v1_generated_AwsClusters_RollbackAwsNodePoolUpdate_Awsnodepoolname_sync] +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.AwsNodePool; +import com.google.cloud.gkemulticloud.v1.AwsNodePoolName; + +public class SyncRollbackAwsNodePoolUpdateAwsnodepoolname { + + public static void main(String[] args) throws Exception { + syncRollbackAwsNodePoolUpdateAwsnodepoolname(); + } + + public static void syncRollbackAwsNodePoolUpdateAwsnodepoolname() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + AwsNodePoolName name = + AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]"); + AwsNodePool response = awsClustersClient.rollbackAwsNodePoolUpdateAsync(name).get(); + } + } +} +// [END gkemulticloud_v1_generated_AwsClusters_RollbackAwsNodePoolUpdate_Awsnodepoolname_sync] diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/SyncRollbackAwsNodePoolUpdateString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/SyncRollbackAwsNodePoolUpdateString.java new file mode 100644 index 000000000000..84f9f8c7a9ae --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/SyncRollbackAwsNodePoolUpdateString.java @@ -0,0 +1,44 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkemulticloud.v1.samples; + +// [START gkemulticloud_v1_generated_AwsClusters_RollbackAwsNodePoolUpdate_String_sync] +import com.google.cloud.gkemulticloud.v1.AwsClustersClient; +import com.google.cloud.gkemulticloud.v1.AwsNodePool; +import com.google.cloud.gkemulticloud.v1.AwsNodePoolName; + +public class SyncRollbackAwsNodePoolUpdateString { + + public static void main(String[] args) throws Exception { + syncRollbackAwsNodePoolUpdateString(); + } + + public static void syncRollbackAwsNodePoolUpdateString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) { + String name = + AwsNodePoolName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]") + .toString(); + AwsNodePool response = awsClustersClient.rollbackAwsNodePoolUpdateAsync(name).get(); + } + } +} +// [END gkemulticloud_v1_generated_AwsClusters_RollbackAwsNodePoolUpdate_String_sync] diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/AsyncUpdateAwsCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/AsyncUpdateAwsCluster.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/AsyncUpdateAwsCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/AsyncUpdateAwsCluster.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/AsyncUpdateAwsClusterLRO.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/AsyncUpdateAwsClusterLRO.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/AsyncUpdateAwsClusterLRO.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/AsyncUpdateAwsClusterLRO.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/SyncUpdateAwsCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/SyncUpdateAwsCluster.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/SyncUpdateAwsCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/SyncUpdateAwsCluster.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/SyncUpdateAwsClusterAwsclusterFieldmask.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/SyncUpdateAwsClusterAwsclusterFieldmask.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/SyncUpdateAwsClusterAwsclusterFieldmask.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/SyncUpdateAwsClusterAwsclusterFieldmask.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/AsyncUpdateAwsNodePool.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/AsyncUpdateAwsNodePool.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/AsyncUpdateAwsNodePool.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/AsyncUpdateAwsNodePool.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/AsyncUpdateAwsNodePoolLRO.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/AsyncUpdateAwsNodePoolLRO.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/AsyncUpdateAwsNodePoolLRO.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/AsyncUpdateAwsNodePoolLRO.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/SyncUpdateAwsNodePool.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/SyncUpdateAwsNodePool.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/SyncUpdateAwsNodePool.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/SyncUpdateAwsNodePool.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/SyncUpdateAwsNodePoolAwsnodepoolFieldmask.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/SyncUpdateAwsNodePoolAwsnodepoolFieldmask.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/SyncUpdateAwsNodePoolAwsnodepoolFieldmask.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/SyncUpdateAwsNodePoolAwsnodepoolFieldmask.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusterssettings/getawscluster/SyncGetAwsCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusterssettings/getawscluster/SyncGetAwsCluster.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusterssettings/getawscluster/SyncGetAwsCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusterssettings/getawscluster/SyncGetAwsCluster.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/create/SyncCreateSetCredentialsProvider.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/create/SyncCreateSetEndpoint.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/AsyncCreateAzureClient.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/AsyncCreateAzureClient.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/AsyncCreateAzureClient.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/AsyncCreateAzureClient.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/AsyncCreateAzureClientLRO.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/AsyncCreateAzureClientLRO.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/AsyncCreateAzureClientLRO.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/AsyncCreateAzureClientLRO.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/SyncCreateAzureClient.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/SyncCreateAzureClient.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/SyncCreateAzureClient.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/SyncCreateAzureClient.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/SyncCreateAzureClientLocationnameAzureclientString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/SyncCreateAzureClientLocationnameAzureclientString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/SyncCreateAzureClientLocationnameAzureclientString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/SyncCreateAzureClientLocationnameAzureclientString.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/SyncCreateAzureClientStringAzureclientString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/SyncCreateAzureClientStringAzureclientString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/SyncCreateAzureClientStringAzureclientString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/SyncCreateAzureClientStringAzureclientString.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/AsyncCreateAzureCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/AsyncCreateAzureCluster.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/AsyncCreateAzureCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/AsyncCreateAzureCluster.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/AsyncCreateAzureClusterLRO.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/AsyncCreateAzureClusterLRO.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/AsyncCreateAzureClusterLRO.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/AsyncCreateAzureClusterLRO.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/SyncCreateAzureCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/SyncCreateAzureCluster.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/SyncCreateAzureCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/SyncCreateAzureCluster.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/SyncCreateAzureClusterLocationnameAzureclusterString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/SyncCreateAzureClusterLocationnameAzureclusterString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/SyncCreateAzureClusterLocationnameAzureclusterString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/SyncCreateAzureClusterLocationnameAzureclusterString.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/SyncCreateAzureClusterStringAzureclusterString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/SyncCreateAzureClusterStringAzureclusterString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/SyncCreateAzureClusterStringAzureclusterString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/SyncCreateAzureClusterStringAzureclusterString.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/AsyncCreateAzureNodePool.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/AsyncCreateAzureNodePool.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/AsyncCreateAzureNodePool.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/AsyncCreateAzureNodePool.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/AsyncCreateAzureNodePoolLRO.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/AsyncCreateAzureNodePoolLRO.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/AsyncCreateAzureNodePoolLRO.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/AsyncCreateAzureNodePoolLRO.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/SyncCreateAzureNodePool.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/SyncCreateAzureNodePool.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/SyncCreateAzureNodePool.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/SyncCreateAzureNodePool.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/SyncCreateAzureNodePoolAzureclusternameAzurenodepoolString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/SyncCreateAzureNodePoolAzureclusternameAzurenodepoolString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/SyncCreateAzureNodePoolAzureclusternameAzurenodepoolString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/SyncCreateAzureNodePoolAzureclusternameAzurenodepoolString.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/SyncCreateAzureNodePoolStringAzurenodepoolString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/SyncCreateAzureNodePoolStringAzurenodepoolString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/SyncCreateAzureNodePoolStringAzurenodepoolString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/SyncCreateAzureNodePoolStringAzurenodepoolString.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/AsyncDeleteAzureClient.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/AsyncDeleteAzureClient.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/AsyncDeleteAzureClient.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/AsyncDeleteAzureClient.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/AsyncDeleteAzureClientLRO.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/AsyncDeleteAzureClientLRO.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/AsyncDeleteAzureClientLRO.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/AsyncDeleteAzureClientLRO.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/SyncDeleteAzureClient.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/SyncDeleteAzureClient.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/SyncDeleteAzureClient.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/SyncDeleteAzureClient.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/SyncDeleteAzureClientAzureclientname.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/SyncDeleteAzureClientAzureclientname.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/SyncDeleteAzureClientAzureclientname.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/SyncDeleteAzureClientAzureclientname.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/SyncDeleteAzureClientString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/SyncDeleteAzureClientString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/SyncDeleteAzureClientString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/SyncDeleteAzureClientString.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/AsyncDeleteAzureCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/AsyncDeleteAzureCluster.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/AsyncDeleteAzureCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/AsyncDeleteAzureCluster.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/AsyncDeleteAzureClusterLRO.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/AsyncDeleteAzureClusterLRO.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/AsyncDeleteAzureClusterLRO.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/AsyncDeleteAzureClusterLRO.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/SyncDeleteAzureCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/SyncDeleteAzureCluster.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/SyncDeleteAzureCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/SyncDeleteAzureCluster.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/SyncDeleteAzureClusterAzureclustername.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/SyncDeleteAzureClusterAzureclustername.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/SyncDeleteAzureClusterAzureclustername.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/SyncDeleteAzureClusterAzureclustername.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/SyncDeleteAzureClusterString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/SyncDeleteAzureClusterString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/SyncDeleteAzureClusterString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/SyncDeleteAzureClusterString.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/AsyncDeleteAzureNodePool.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/AsyncDeleteAzureNodePool.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/AsyncDeleteAzureNodePool.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/AsyncDeleteAzureNodePool.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/AsyncDeleteAzureNodePoolLRO.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/AsyncDeleteAzureNodePoolLRO.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/AsyncDeleteAzureNodePoolLRO.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/AsyncDeleteAzureNodePoolLRO.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/SyncDeleteAzureNodePool.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/SyncDeleteAzureNodePool.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/SyncDeleteAzureNodePool.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/SyncDeleteAzureNodePool.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/SyncDeleteAzureNodePoolAzurenodepoolname.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/SyncDeleteAzureNodePoolAzurenodepoolname.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/SyncDeleteAzureNodePoolAzurenodepoolname.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/SyncDeleteAzureNodePoolAzurenodepoolname.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/SyncDeleteAzureNodePoolString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/SyncDeleteAzureNodePoolString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/SyncDeleteAzureNodePoolString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/SyncDeleteAzureNodePoolString.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureaccesstoken/AsyncGenerateAzureAccessToken.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureaccesstoken/AsyncGenerateAzureAccessToken.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureaccesstoken/AsyncGenerateAzureAccessToken.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureaccesstoken/AsyncGenerateAzureAccessToken.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureaccesstoken/SyncGenerateAzureAccessToken.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureaccesstoken/SyncGenerateAzureAccessToken.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureaccesstoken/SyncGenerateAzureAccessToken.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureaccesstoken/SyncGenerateAzureAccessToken.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureclusteragenttoken/AsyncGenerateAzureClusterAgentToken.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureclusteragenttoken/AsyncGenerateAzureClusterAgentToken.java new file mode 100644 index 000000000000..141449484bda --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureclusteragenttoken/AsyncGenerateAzureClusterAgentToken.java @@ -0,0 +1,60 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkemulticloud.v1.samples; + +// [START gkemulticloud_v1_generated_AzureClusters_GenerateAzureClusterAgentToken_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gkemulticloud.v1.AzureClusterName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest; +import com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse; + +public class AsyncGenerateAzureClusterAgentToken { + + public static void main(String[] args) throws Exception { + asyncGenerateAzureClusterAgentToken(); + } + + public static void asyncGenerateAzureClusterAgentToken() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + GenerateAzureClusterAgentTokenRequest request = + GenerateAzureClusterAgentTokenRequest.newBuilder() + .setAzureCluster( + AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString()) + .setSubjectToken("subjectToken-1519661011") + .setSubjectTokenType("subjectTokenType1839592711") + .setVersion("version351608024") + .setNodePoolId("nodePoolId1121557241") + .setGrantType("grantType-1219832202") + .setAudience("audience975628804") + .setScope("scope109264468") + .setRequestedTokenType("requestedTokenType1733106949") + .setOptions("options-1249474914") + .build(); + ApiFuture future = + azureClustersClient.generateAzureClusterAgentTokenCallable().futureCall(request); + // Do something. + GenerateAzureClusterAgentTokenResponse response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_AzureClusters_GenerateAzureClusterAgentToken_async] diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureclusteragenttoken/SyncGenerateAzureClusterAgentToken.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureclusteragenttoken/SyncGenerateAzureClusterAgentToken.java new file mode 100644 index 000000000000..dcf85813d68e --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureclusteragenttoken/SyncGenerateAzureClusterAgentToken.java @@ -0,0 +1,57 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkemulticloud.v1.samples; + +// [START gkemulticloud_v1_generated_AzureClusters_GenerateAzureClusterAgentToken_sync] +import com.google.cloud.gkemulticloud.v1.AzureClusterName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest; +import com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse; + +public class SyncGenerateAzureClusterAgentToken { + + public static void main(String[] args) throws Exception { + syncGenerateAzureClusterAgentToken(); + } + + public static void syncGenerateAzureClusterAgentToken() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + GenerateAzureClusterAgentTokenRequest request = + GenerateAzureClusterAgentTokenRequest.newBuilder() + .setAzureCluster( + AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString()) + .setSubjectToken("subjectToken-1519661011") + .setSubjectTokenType("subjectTokenType1839592711") + .setVersion("version351608024") + .setNodePoolId("nodePoolId1121557241") + .setGrantType("grantType-1219832202") + .setAudience("audience975628804") + .setScope("scope109264468") + .setRequestedTokenType("requestedTokenType1733106949") + .setOptions("options-1249474914") + .build(); + GenerateAzureClusterAgentTokenResponse response = + azureClustersClient.generateAzureClusterAgentToken(request); + } + } +} +// [END gkemulticloud_v1_generated_AzureClusters_GenerateAzureClusterAgentToken_sync] diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/AsyncGetAzureClient.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/AsyncGetAzureClient.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/AsyncGetAzureClient.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/AsyncGetAzureClient.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/SyncGetAzureClient.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/SyncGetAzureClient.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/SyncGetAzureClient.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/SyncGetAzureClient.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/SyncGetAzureClientAzureclientname.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/SyncGetAzureClientAzureclientname.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/SyncGetAzureClientAzureclientname.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/SyncGetAzureClientAzureclientname.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/SyncGetAzureClientString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/SyncGetAzureClientString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/SyncGetAzureClientString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/SyncGetAzureClientString.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/AsyncGetAzureCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/AsyncGetAzureCluster.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/AsyncGetAzureCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/AsyncGetAzureCluster.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/SyncGetAzureCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/SyncGetAzureCluster.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/SyncGetAzureCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/SyncGetAzureCluster.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/SyncGetAzureClusterAzureclustername.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/SyncGetAzureClusterAzureclustername.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/SyncGetAzureClusterAzureclustername.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/SyncGetAzureClusterAzureclustername.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/SyncGetAzureClusterString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/SyncGetAzureClusterString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/SyncGetAzureClusterString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/SyncGetAzureClusterString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/AsyncGetAzureJsonWebKeys.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/AsyncGetAzureJsonWebKeys.java new file mode 100644 index 000000000000..eeba82c7a01f --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/AsyncGetAzureJsonWebKeys.java @@ -0,0 +1,51 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkemulticloud.v1.samples; + +// [START gkemulticloud_v1_generated_AzureClusters_GetAzureJsonWebKeys_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gkemulticloud.v1.AzureClusterName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys; +import com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest; + +public class AsyncGetAzureJsonWebKeys { + + public static void main(String[] args) throws Exception { + asyncGetAzureJsonWebKeys(); + } + + public static void asyncGetAzureJsonWebKeys() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + GetAzureJsonWebKeysRequest request = + GetAzureJsonWebKeysRequest.newBuilder() + .setAzureCluster( + AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString()) + .build(); + ApiFuture future = + azureClustersClient.getAzureJsonWebKeysCallable().futureCall(request); + // Do something. + AzureJsonWebKeys response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_AzureClusters_GetAzureJsonWebKeys_async] diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/SyncGetAzureJsonWebKeys.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/SyncGetAzureJsonWebKeys.java new file mode 100644 index 000000000000..77489a994201 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/SyncGetAzureJsonWebKeys.java @@ -0,0 +1,47 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkemulticloud.v1.samples; + +// [START gkemulticloud_v1_generated_AzureClusters_GetAzureJsonWebKeys_sync] +import com.google.cloud.gkemulticloud.v1.AzureClusterName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys; +import com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest; + +public class SyncGetAzureJsonWebKeys { + + public static void main(String[] args) throws Exception { + syncGetAzureJsonWebKeys(); + } + + public static void syncGetAzureJsonWebKeys() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + GetAzureJsonWebKeysRequest request = + GetAzureJsonWebKeysRequest.newBuilder() + .setAzureCluster( + AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString()) + .build(); + AzureJsonWebKeys response = azureClustersClient.getAzureJsonWebKeys(request); + } + } +} +// [END gkemulticloud_v1_generated_AzureClusters_GetAzureJsonWebKeys_sync] diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/SyncGetAzureJsonWebKeysAzureclustername.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/SyncGetAzureJsonWebKeysAzureclustername.java new file mode 100644 index 000000000000..bcfe02b23b19 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/SyncGetAzureJsonWebKeysAzureclustername.java @@ -0,0 +1,43 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkemulticloud.v1.samples; + +// [START gkemulticloud_v1_generated_AzureClusters_GetAzureJsonWebKeys_Azureclustername_sync] +import com.google.cloud.gkemulticloud.v1.AzureClusterName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys; + +public class SyncGetAzureJsonWebKeysAzureclustername { + + public static void main(String[] args) throws Exception { + syncGetAzureJsonWebKeysAzureclustername(); + } + + public static void syncGetAzureJsonWebKeysAzureclustername() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + AzureClusterName azureCluster = + AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"); + AzureJsonWebKeys response = azureClustersClient.getAzureJsonWebKeys(azureCluster); + } + } +} +// [END gkemulticloud_v1_generated_AzureClusters_GetAzureJsonWebKeys_Azureclustername_sync] diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/SyncGetAzureJsonWebKeysString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/SyncGetAzureJsonWebKeysString.java new file mode 100644 index 000000000000..071b5eb88756 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/SyncGetAzureJsonWebKeysString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkemulticloud.v1.samples; + +// [START gkemulticloud_v1_generated_AzureClusters_GetAzureJsonWebKeys_String_sync] +import com.google.cloud.gkemulticloud.v1.AzureClusterName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys; + +public class SyncGetAzureJsonWebKeysString { + + public static void main(String[] args) throws Exception { + syncGetAzureJsonWebKeysString(); + } + + public static void syncGetAzureJsonWebKeysString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + String azureCluster = + AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString(); + AzureJsonWebKeys response = azureClustersClient.getAzureJsonWebKeys(azureCluster); + } + } +} +// [END gkemulticloud_v1_generated_AzureClusters_GetAzureJsonWebKeys_String_sync] diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/AsyncGetAzureNodePool.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/AsyncGetAzureNodePool.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/AsyncGetAzureNodePool.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/AsyncGetAzureNodePool.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/SyncGetAzureNodePool.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/SyncGetAzureNodePool.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/SyncGetAzureNodePool.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/SyncGetAzureNodePool.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/SyncGetAzureNodePoolAzurenodepoolname.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/SyncGetAzureNodePoolAzurenodepoolname.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/SyncGetAzureNodePoolAzurenodepoolname.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/SyncGetAzureNodePoolAzurenodepoolname.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/SyncGetAzureNodePoolString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/SyncGetAzureNodePoolString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/SyncGetAzureNodePoolString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/SyncGetAzureNodePoolString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/AsyncGetAzureOpenIdConfig.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/AsyncGetAzureOpenIdConfig.java new file mode 100644 index 000000000000..0e7f19b5bfef --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/AsyncGetAzureOpenIdConfig.java @@ -0,0 +1,51 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkemulticloud.v1.samples; + +// [START gkemulticloud_v1_generated_AzureClusters_GetAzureOpenIdConfig_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gkemulticloud.v1.AzureClusterName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig; +import com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest; + +public class AsyncGetAzureOpenIdConfig { + + public static void main(String[] args) throws Exception { + asyncGetAzureOpenIdConfig(); + } + + public static void asyncGetAzureOpenIdConfig() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + GetAzureOpenIdConfigRequest request = + GetAzureOpenIdConfigRequest.newBuilder() + .setAzureCluster( + AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString()) + .build(); + ApiFuture future = + azureClustersClient.getAzureOpenIdConfigCallable().futureCall(request); + // Do something. + AzureOpenIdConfig response = future.get(); + } + } +} +// [END gkemulticloud_v1_generated_AzureClusters_GetAzureOpenIdConfig_async] diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/SyncGetAzureOpenIdConfig.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/SyncGetAzureOpenIdConfig.java new file mode 100644 index 000000000000..7682cfd139da --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/SyncGetAzureOpenIdConfig.java @@ -0,0 +1,47 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkemulticloud.v1.samples; + +// [START gkemulticloud_v1_generated_AzureClusters_GetAzureOpenIdConfig_sync] +import com.google.cloud.gkemulticloud.v1.AzureClusterName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig; +import com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest; + +public class SyncGetAzureOpenIdConfig { + + public static void main(String[] args) throws Exception { + syncGetAzureOpenIdConfig(); + } + + public static void syncGetAzureOpenIdConfig() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + GetAzureOpenIdConfigRequest request = + GetAzureOpenIdConfigRequest.newBuilder() + .setAzureCluster( + AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString()) + .build(); + AzureOpenIdConfig response = azureClustersClient.getAzureOpenIdConfig(request); + } + } +} +// [END gkemulticloud_v1_generated_AzureClusters_GetAzureOpenIdConfig_sync] diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/SyncGetAzureOpenIdConfigAzureclustername.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/SyncGetAzureOpenIdConfigAzureclustername.java new file mode 100644 index 000000000000..37360a5a87a5 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/SyncGetAzureOpenIdConfigAzureclustername.java @@ -0,0 +1,43 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkemulticloud.v1.samples; + +// [START gkemulticloud_v1_generated_AzureClusters_GetAzureOpenIdConfig_Azureclustername_sync] +import com.google.cloud.gkemulticloud.v1.AzureClusterName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig; + +public class SyncGetAzureOpenIdConfigAzureclustername { + + public static void main(String[] args) throws Exception { + syncGetAzureOpenIdConfigAzureclustername(); + } + + public static void syncGetAzureOpenIdConfigAzureclustername() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + AzureClusterName azureCluster = + AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"); + AzureOpenIdConfig response = azureClustersClient.getAzureOpenIdConfig(azureCluster); + } + } +} +// [END gkemulticloud_v1_generated_AzureClusters_GetAzureOpenIdConfig_Azureclustername_sync] diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/SyncGetAzureOpenIdConfigString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/SyncGetAzureOpenIdConfigString.java new file mode 100644 index 000000000000..58c15baa10e3 --- /dev/null +++ b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/SyncGetAzureOpenIdConfigString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gkemulticloud.v1.samples; + +// [START gkemulticloud_v1_generated_AzureClusters_GetAzureOpenIdConfig_String_sync] +import com.google.cloud.gkemulticloud.v1.AzureClusterName; +import com.google.cloud.gkemulticloud.v1.AzureClustersClient; +import com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig; + +public class SyncGetAzureOpenIdConfigString { + + public static void main(String[] args) throws Exception { + syncGetAzureOpenIdConfigString(); + } + + public static void syncGetAzureOpenIdConfigString() throws Exception { + // This snippet has been automatically generated and should be regarded as a code template only. + // It will require modifications to work: + // - It may require correct/in-range values for request initialization. + // - It may require specifying regional endpoints when creating the service client as shown in + // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library + try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) { + String azureCluster = + AzureClusterName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]").toString(); + AzureOpenIdConfig response = azureClustersClient.getAzureOpenIdConfig(azureCluster); + } + } +} +// [END gkemulticloud_v1_generated_AzureClusters_GetAzureOpenIdConfig_String_sync] diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/AsyncGetAzureServerConfig.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/AsyncGetAzureServerConfig.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/AsyncGetAzureServerConfig.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/AsyncGetAzureServerConfig.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/SyncGetAzureServerConfig.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/SyncGetAzureServerConfig.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/SyncGetAzureServerConfig.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/SyncGetAzureServerConfig.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/SyncGetAzureServerConfigAzureserverconfigname.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/SyncGetAzureServerConfigAzureserverconfigname.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/SyncGetAzureServerConfigAzureserverconfigname.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/SyncGetAzureServerConfigAzureserverconfigname.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/SyncGetAzureServerConfigString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/SyncGetAzureServerConfigString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/SyncGetAzureServerConfigString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/SyncGetAzureServerConfigString.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/AsyncListAzureClients.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/AsyncListAzureClients.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/AsyncListAzureClients.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/AsyncListAzureClients.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/AsyncListAzureClientsPaged.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/AsyncListAzureClientsPaged.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/AsyncListAzureClientsPaged.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/AsyncListAzureClientsPaged.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/SyncListAzureClients.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/SyncListAzureClients.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/SyncListAzureClients.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/SyncListAzureClients.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/SyncListAzureClientsLocationname.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/SyncListAzureClientsLocationname.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/SyncListAzureClientsLocationname.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/SyncListAzureClientsLocationname.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/SyncListAzureClientsString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/SyncListAzureClientsString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/SyncListAzureClientsString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/SyncListAzureClientsString.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/AsyncListAzureClusters.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/AsyncListAzureClusters.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/AsyncListAzureClusters.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/AsyncListAzureClusters.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/AsyncListAzureClustersPaged.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/AsyncListAzureClustersPaged.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/AsyncListAzureClustersPaged.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/AsyncListAzureClustersPaged.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/SyncListAzureClusters.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/SyncListAzureClusters.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/SyncListAzureClusters.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/SyncListAzureClusters.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/SyncListAzureClustersLocationname.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/SyncListAzureClustersLocationname.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/SyncListAzureClustersLocationname.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/SyncListAzureClustersLocationname.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/SyncListAzureClustersString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/SyncListAzureClustersString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/SyncListAzureClustersString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/SyncListAzureClustersString.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/AsyncListAzureNodePools.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/AsyncListAzureNodePools.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/AsyncListAzureNodePools.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/AsyncListAzureNodePools.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/AsyncListAzureNodePoolsPaged.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/AsyncListAzureNodePoolsPaged.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/AsyncListAzureNodePoolsPaged.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/AsyncListAzureNodePoolsPaged.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/SyncListAzureNodePools.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/SyncListAzureNodePools.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/SyncListAzureNodePools.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/SyncListAzureNodePools.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/SyncListAzureNodePoolsAzureclustername.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/SyncListAzureNodePoolsAzureclustername.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/SyncListAzureNodePoolsAzureclustername.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/SyncListAzureNodePoolsAzureclustername.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/SyncListAzureNodePoolsString.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/SyncListAzureNodePoolsString.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/SyncListAzureNodePoolsString.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/SyncListAzureNodePoolsString.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/AsyncUpdateAzureCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/AsyncUpdateAzureCluster.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/AsyncUpdateAzureCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/AsyncUpdateAzureCluster.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/AsyncUpdateAzureClusterLRO.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/AsyncUpdateAzureClusterLRO.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/AsyncUpdateAzureClusterLRO.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/AsyncUpdateAzureClusterLRO.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/SyncUpdateAzureCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/SyncUpdateAzureCluster.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/SyncUpdateAzureCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/SyncUpdateAzureCluster.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/SyncUpdateAzureClusterAzureclusterFieldmask.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/SyncUpdateAzureClusterAzureclusterFieldmask.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/SyncUpdateAzureClusterAzureclusterFieldmask.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/SyncUpdateAzureClusterAzureclusterFieldmask.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/AsyncUpdateAzureNodePool.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/AsyncUpdateAzureNodePool.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/AsyncUpdateAzureNodePool.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/AsyncUpdateAzureNodePool.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/AsyncUpdateAzureNodePoolLRO.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/AsyncUpdateAzureNodePoolLRO.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/AsyncUpdateAzureNodePoolLRO.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/AsyncUpdateAzureNodePoolLRO.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/SyncUpdateAzureNodePool.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/SyncUpdateAzureNodePool.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/SyncUpdateAzureNodePool.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/SyncUpdateAzureNodePool.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/SyncUpdateAzureNodePoolAzurenodepoolFieldmask.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/SyncUpdateAzureNodePoolAzurenodepoolFieldmask.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/SyncUpdateAzureNodePoolAzurenodepoolFieldmask.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/SyncUpdateAzureNodePoolAzurenodepoolFieldmask.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusterssettings/getazureclient/SyncGetAzureClient.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusterssettings/getazureclient/SyncGetAzureClient.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusterssettings/getazureclient/SyncGetAzureClient.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusterssettings/getazureclient/SyncGetAzureClient.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/attachedclustersstubsettings/getattachedcluster/SyncGetAttachedCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/attachedclustersstubsettings/getattachedcluster/SyncGetAttachedCluster.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/attachedclustersstubsettings/getattachedcluster/SyncGetAttachedCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/attachedclustersstubsettings/getattachedcluster/SyncGetAttachedCluster.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/awsclustersstubsettings/getawscluster/SyncGetAwsCluster.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/awsclustersstubsettings/getawscluster/SyncGetAwsCluster.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/awsclustersstubsettings/getawscluster/SyncGetAwsCluster.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/awsclustersstubsettings/getawscluster/SyncGetAwsCluster.java diff --git a/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/azureclustersstubsettings/getazureclient/SyncGetAzureClient.java b/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/azureclustersstubsettings/getazureclient/SyncGetAzureClient.java similarity index 100% rename from java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/azureclustersstubsettings/getazureclient/SyncGetAzureClient.java rename to owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/azureclustersstubsettings/getazureclient/SyncGetAzureClient.java From 95809449e88115d5a1d937d07e5a30a3d7d2c6de Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Fri, 15 Dec 2023 20:08:17 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- java-gke-multi-cloud/README.md | 2 +- .../v1/AttachedClustersClient.java | 0 .../v1/AttachedClustersSettings.java | 1 - .../gkemulticloud/v1/AwsClustersClient.java | 0 .../gkemulticloud/v1/AwsClustersSettings.java | 1 - .../gkemulticloud/v1/AzureClustersClient.java | 0 .../v1/AzureClustersSettings.java | 1 - .../gkemulticloud/v1/gapic_metadata.json | 0 .../cloud/gkemulticloud/v1/package-info.java | 0 .../v1/stub/AttachedClustersStub.java | 0 .../v1/stub/AttachedClustersStubSettings.java | 0 .../v1/stub/AwsClustersStub.java | 0 .../v1/stub/AwsClustersStubSettings.java | 0 .../v1/stub/AzureClustersStub.java | 0 .../v1/stub/AzureClustersStubSettings.java | 0 .../GrpcAttachedClustersCallableFactory.java | 0 .../v1/stub/GrpcAttachedClustersStub.java | 1 - .../stub/GrpcAwsClustersCallableFactory.java | 0 .../v1/stub/GrpcAwsClustersStub.java | 1 - .../GrpcAzureClustersCallableFactory.java | 0 .../v1/stub/GrpcAzureClustersStub.java | 1 - ...tpJsonAttachedClustersCallableFactory.java | 0 .../v1/stub/HttpJsonAttachedClustersStub.java | 1 - .../HttpJsonAwsClustersCallableFactory.java | 0 .../v1/stub/HttpJsonAwsClustersStub.java | 1 - .../HttpJsonAzureClustersCallableFactory.java | 0 .../v1/stub/HttpJsonAzureClustersStub.java | 1 - .../reflect-config.json | 0 .../AttachedClustersClientHttpJsonTest.java | 0 .../v1/AttachedClustersClientTest.java | 0 .../v1/AwsClustersClientHttpJsonTest.java | 0 .../v1/AwsClustersClientTest.java | 0 .../v1/AzureClustersClientHttpJsonTest.java | 0 .../v1/AzureClustersClientTest.java | 0 .../v1/MockAttachedClusters.java | 0 .../v1/MockAttachedClustersImpl.java | 0 .../gkemulticloud/v1/MockAwsClusters.java | 0 .../gkemulticloud/v1/MockAwsClustersImpl.java | 0 .../gkemulticloud/v1/MockAzureClusters.java | 0 .../v1/MockAzureClustersImpl.java | 0 .../v1/AttachedClustersGrpc.java | 1484 ++++++++ .../gkemulticloud/v1/AwsClustersGrpc.java | 2318 ++++++++++++ .../gkemulticloud/v1/AzureClustersGrpc.java | 2733 ++++++++++++++ .../gkemulticloud/v1/AttachedCluster.java | 3039 ++++++++++----- .../v1/AttachedClusterError.java | 322 +- .../v1/AttachedClusterErrorOrBuilder.java | 50 + .../v1/AttachedClusterGroup.java | 322 +- .../v1/AttachedClusterGroupOrBuilder.java | 27 +- .../gkemulticloud/v1/AttachedClusterName.java | 0 .../v1/AttachedClusterOrBuilder.java | 387 +- .../gkemulticloud/v1/AttachedClusterUser.java | 322 +- .../v1/AttachedClusterUserOrBuilder.java | 27 +- .../v1/AttachedClustersAuthorization.java | 761 ++-- ...ttachedClustersAuthorizationOrBuilder.java | 91 +- .../gkemulticloud/v1/AttachedOidcConfig.java | 352 +- .../v1/AttachedOidcConfigOrBuilder.java | 30 +- .../v1/AttachedPlatformVersionInfo.java | 332 +- .../AttachedPlatformVersionInfoOrBuilder.java | 50 + .../gkemulticloud/v1/AttachedProxyConfig.java | 356 +- .../v1/AttachedProxyConfigOrBuilder.java | 26 +- .../v1/AttachedResourcesProto.java | 289 ++ .../v1/AttachedServerConfig.java | 581 +-- .../v1/AttachedServerConfigName.java | 0 .../v1/AttachedServerConfigOrBuilder.java | 56 +- .../v1/AttachedServiceProto.java | 365 ++ .../gkemulticloud/v1/AwsAuthorization.java | 718 ++-- .../v1/AwsAuthorizationOrBuilder.java | 94 +- .../AwsAutoscalingGroupMetricsCollection.java | 472 ++- ...calingGroupMetricsCollectionOrBuilder.java | 45 +- .../cloud/gkemulticloud/v1/AwsCluster.java | 2947 ++++++++++----- .../gkemulticloud/v1/AwsClusterError.java | 319 +- .../v1/AwsClusterErrorOrBuilder.java | 50 + .../gkemulticloud/v1/AwsClusterGroup.java | 319 +- .../v1/AwsClusterGroupOrBuilder.java | 27 +- .../gkemulticloud/v1/AwsClusterName.java | 0 .../v1/AwsClusterNetworking.java | 685 ++-- .../v1/AwsClusterNetworkingOrBuilder.java | 97 +- .../gkemulticloud/v1/AwsClusterOrBuilder.java | 378 +- .../gkemulticloud/v1/AwsClusterUser.java | 319 +- .../v1/AwsClusterUserOrBuilder.java | 27 +- .../gkemulticloud/v1/AwsConfigEncryption.java | 322 +- .../v1/AwsConfigEncryptionOrBuilder.java | 27 +- .../gkemulticloud/v1/AwsControlPlane.java | 2184 +++++++---- .../v1/AwsControlPlaneOrBuilder.java | 274 +- .../v1/AwsDatabaseEncryption.java | 322 +- .../v1/AwsDatabaseEncryptionOrBuilder.java | 27 +- .../v1/AwsInstancePlacement.java | 422 ++- .../v1/AwsInstancePlacementOrBuilder.java | 54 + .../gkemulticloud/v1/AwsJsonWebKeys.java | 407 +- .../v1/AwsJsonWebKeysOrBuilder.java | 37 +- .../gkemulticloud/v1/AwsK8sVersionInfo.java | 570 +-- .../v1/AwsK8sVersionInfoOrBuilder.java | 49 +- .../cloud/gkemulticloud/v1/AwsNodeConfig.java | 2407 +++++++----- .../v1/AwsNodeConfigOrBuilder.java | 307 +- .../gkemulticloud/v1/AwsNodeManagement.java | 284 +- .../v1/AwsNodeManagementOrBuilder.java | 21 +- .../cloud/gkemulticloud/v1/AwsNodePool.java | 2357 ++++++++---- .../v1/AwsNodePoolAutoscaling.java | 315 +- .../v1/AwsNodePoolAutoscalingOrBuilder.java | 24 +- .../gkemulticloud/v1/AwsNodePoolError.java | 319 +- .../v1/AwsNodePoolErrorOrBuilder.java | 50 + .../gkemulticloud/v1/AwsNodePoolName.java | 0 .../v1/AwsNodePoolOrBuilder.java | 297 +- .../gkemulticloud/v1/AwsOpenIdConfig.java | 941 +++-- .../v1/AwsOpenIdConfigOrBuilder.java | 126 +- .../gkemulticloud/v1/AwsProxyConfig.java | 391 +- .../v1/AwsProxyConfigOrBuilder.java | 36 +- .../gkemulticloud/v1/AwsResourcesProto.java | 715 ++++ .../gkemulticloud/v1/AwsServerConfig.java | 574 +-- .../gkemulticloud/v1/AwsServerConfigName.java | 0 .../v1/AwsServerConfigOrBuilder.java | 63 +- .../gkemulticloud/v1/AwsServiceProto.java | 513 +++ .../v1/AwsServicesAuthentication.java | 394 +- .../AwsServicesAuthenticationOrBuilder.java | 36 +- .../cloud/gkemulticloud/v1/AwsSshConfig.java | 312 +- .../v1/AwsSshConfigOrBuilder.java | 27 +- .../gkemulticloud/v1/AwsVolumeTemplate.java | 577 +-- .../v1/AwsVolumeTemplateOrBuilder.java | 50 +- .../gkemulticloud/v1/AzureAuthorization.java | 723 ++-- .../v1/AzureAuthorizationOrBuilder.java | 94 +- .../cloud/gkemulticloud/v1/AzureClient.java | 1180 +++--- .../gkemulticloud/v1/AzureClientName.java | 0 .../v1/AzureClientOrBuilder.java | 145 +- .../cloud/gkemulticloud/v1/AzureCluster.java | 3273 +++++++++++------ .../gkemulticloud/v1/AzureClusterError.java | 319 +- .../v1/AzureClusterErrorOrBuilder.java | 50 + .../gkemulticloud/v1/AzureClusterGroup.java | 319 +- .../v1/AzureClusterGroupOrBuilder.java | 27 +- .../gkemulticloud/v1/AzureClusterName.java | 0 .../v1/AzureClusterNetworking.java | 736 ++-- .../v1/AzureClusterNetworkingOrBuilder.java | 106 +- .../v1/AzureClusterOrBuilder.java | 419 ++- .../v1/AzureClusterResources.java | 447 ++- .../v1/AzureClusterResourcesOrBuilder.java | 44 +- .../gkemulticloud/v1/AzureClusterUser.java | 319 +- .../v1/AzureClusterUserOrBuilder.java | 27 +- .../v1/AzureConfigEncryption.java | 394 +- .../v1/AzureConfigEncryptionOrBuilder.java | 36 +- .../gkemulticloud/v1/AzureControlPlane.java | 1927 ++++++---- .../v1/AzureControlPlaneOrBuilder.java | 242 +- .../v1/AzureDatabaseEncryption.java | 322 +- .../v1/AzureDatabaseEncryptionOrBuilder.java | 27 +- .../gkemulticloud/v1/AzureDiskTemplate.java | 281 +- .../v1/AzureDiskTemplateOrBuilder.java | 41 + .../gkemulticloud/v1/AzureJsonWebKeys.java | 407 +- .../v1/AzureJsonWebKeysOrBuilder.java | 37 +- .../gkemulticloud/v1/AzureK8sVersionInfo.java | 573 +-- .../v1/AzureK8sVersionInfoOrBuilder.java | 49 +- .../gkemulticloud/v1/AzureNodeConfig.java | 1712 +++++---- .../v1/AzureNodeConfigOrBuilder.java | 214 +- .../gkemulticloud/v1/AzureNodeManagement.java | 287 +- .../v1/AzureNodeManagementOrBuilder.java | 21 +- .../cloud/gkemulticloud/v1/AzureNodePool.java | 2280 ++++++++---- .../v1/AzureNodePoolAutoscaling.java | 315 +- .../v1/AzureNodePoolAutoscalingOrBuilder.java | 24 +- .../gkemulticloud/v1/AzureNodePoolError.java | 319 +- .../v1/AzureNodePoolErrorOrBuilder.java | 50 + .../gkemulticloud/v1/AzureNodePoolName.java | 0 .../v1/AzureNodePoolOrBuilder.java | 286 +- .../gkemulticloud/v1/AzureOpenIdConfig.java | 941 +++-- .../v1/AzureOpenIdConfigOrBuilder.java | 126 +- .../gkemulticloud/v1/AzureProxyConfig.java | 391 +- .../v1/AzureProxyConfigOrBuilder.java | 36 +- .../gkemulticloud/v1/AzureResourcesProto.java | 706 ++++ .../gkemulticloud/v1/AzureServerConfig.java | 583 +-- .../v1/AzureServerConfigName.java | 0 .../v1/AzureServerConfigOrBuilder.java | 60 +- .../gkemulticloud/v1/AzureServiceProto.java | 597 +++ .../v1/AzureServicesAuthentication.java | 404 +- .../AzureServicesAuthenticationOrBuilder.java | 36 +- .../gkemulticloud/v1/AzureSshConfig.java | 319 +- .../v1/AzureSshConfigOrBuilder.java | 27 +- .../gkemulticloud/v1/BinaryAuthorization.java | 415 ++- .../v1/BinaryAuthorizationOrBuilder.java | 30 +- .../v1/CommonResourcesProto.java | 242 ++ .../v1/CreateAttachedClusterRequest.java | 623 ++-- ...CreateAttachedClusterRequestOrBuilder.java | 67 +- .../v1/CreateAwsClusterRequest.java | 598 +-- .../v1/CreateAwsClusterRequestOrBuilder.java | 67 +- .../v1/CreateAwsNodePoolRequest.java | 599 +-- .../v1/CreateAwsNodePoolRequestOrBuilder.java | 67 +- .../v1/CreateAzureClientRequest.java | 599 +-- .../v1/CreateAzureClientRequestOrBuilder.java | 67 +- .../v1/CreateAzureClusterRequest.java | 600 +-- .../CreateAzureClusterRequestOrBuilder.java | 67 +- .../v1/CreateAzureNodePoolRequest.java | 610 +-- .../CreateAzureNodePoolRequestOrBuilder.java | 67 +- .../v1/DeleteAttachedClusterRequest.java | 546 +-- ...DeleteAttachedClusterRequestOrBuilder.java | 53 +- .../v1/DeleteAwsClusterRequest.java | 526 +-- .../v1/DeleteAwsClusterRequestOrBuilder.java | 53 +- .../v1/DeleteAwsNodePoolRequest.java | 526 +-- .../v1/DeleteAwsNodePoolRequestOrBuilder.java | 53 +- .../v1/DeleteAzureClientRequest.java | 418 ++- .../v1/DeleteAzureClientRequestOrBuilder.java | 41 +- .../v1/DeleteAzureClusterRequest.java | 490 ++- .../DeleteAzureClusterRequestOrBuilder.java | 50 +- .../v1/DeleteAzureNodePoolRequest.java | 502 ++- .../DeleteAzureNodePoolRequestOrBuilder.java | 50 +- .../google/cloud/gkemulticloud/v1/Fleet.java | 381 +- .../gkemulticloud/v1/FleetOrBuilder.java | 36 +- ...erateAttachedClusterAgentTokenRequest.java | 1027 ++++-- ...chedClusterAgentTokenRequestOrBuilder.java | 107 +- ...rateAttachedClusterAgentTokenResponse.java | 488 +-- ...hedClusterAgentTokenResponseOrBuilder.java | 29 +- ...AttachedClusterInstallManifestRequest.java | 750 ++-- ...lusterInstallManifestRequestOrBuilder.java | 73 +- ...ttachedClusterInstallManifestResponse.java | 442 ++- ...usterInstallManifestResponseOrBuilder.java | 27 +- .../v1/GenerateAwsAccessTokenRequest.java | 373 +- ...enerateAwsAccessTokenRequestOrBuilder.java | 35 +- .../v1/GenerateAwsAccessTokenResponse.java | 494 ++- ...nerateAwsAccessTokenResponseOrBuilder.java | 47 +- .../GenerateAwsClusterAgentTokenRequest.java | 1043 ++++-- ...eAwsClusterAgentTokenRequestOrBuilder.java | 116 +- .../GenerateAwsClusterAgentTokenResponse.java | 435 ++- ...AwsClusterAgentTokenResponseOrBuilder.java | 29 +- .../v1/GenerateAzureAccessTokenRequest.java | 384 +- ...erateAzureAccessTokenRequestOrBuilder.java | 35 +- .../v1/GenerateAzureAccessTokenResponse.java | 506 ++- ...rateAzureAccessTokenResponseOrBuilder.java | 47 +- ...GenerateAzureClusterAgentTokenRequest.java | 1053 +++--- ...zureClusterAgentTokenRequestOrBuilder.java | 116 +- ...enerateAzureClusterAgentTokenResponse.java | 445 ++- ...ureClusterAgentTokenResponseOrBuilder.java | 29 +- .../v1/GetAttachedClusterRequest.java | 350 +- .../GetAttachedClusterRequestOrBuilder.java | 35 +- .../v1/GetAttachedServerConfigRequest.java | 376 +- ...tAttachedServerConfigRequestOrBuilder.java | 35 +- .../v1/GetAwsClusterRequest.java | 350 +- .../v1/GetAwsClusterRequestOrBuilder.java | 35 +- .../v1/GetAwsJsonWebKeysRequest.java | 350 +- .../v1/GetAwsJsonWebKeysRequestOrBuilder.java | 58 + .../v1/GetAwsNodePoolRequest.java | 350 +- .../v1/GetAwsNodePoolRequestOrBuilder.java | 35 +- .../v1/GetAwsOpenIdConfigRequest.java | 350 +- .../GetAwsOpenIdConfigRequestOrBuilder.java | 58 + .../v1/GetAwsServerConfigRequest.java | 350 +- .../GetAwsServerConfigRequestOrBuilder.java | 35 +- .../v1/GetAzureClientRequest.java | 350 +- .../v1/GetAzureClientRequestOrBuilder.java | 35 +- .../v1/GetAzureClusterRequest.java | 350 +- .../v1/GetAzureClusterRequestOrBuilder.java | 35 +- .../v1/GetAzureJsonWebKeysRequest.java | 360 +- .../GetAzureJsonWebKeysRequestOrBuilder.java | 58 + .../v1/GetAzureNodePoolRequest.java | 350 +- .../v1/GetAzureNodePoolRequestOrBuilder.java | 35 +- .../v1/GetAzureOpenIdConfigRequest.java | 360 +- .../GetAzureOpenIdConfigRequestOrBuilder.java | 58 + .../v1/GetAzureServerConfigRequest.java | 360 +- .../GetAzureServerConfigRequestOrBuilder.java | 35 +- .../v1/ImportAttachedClusterRequest.java | 769 ++-- ...ImportAttachedClusterRequestOrBuilder.java | 85 +- .../google/cloud/gkemulticloud/v1/Jwk.java | 884 +++-- .../cloud/gkemulticloud/v1/JwkOrBuilder.java | 99 +- .../gkemulticloud/v1/KubernetesSecret.java | 391 +- .../v1/KubernetesSecretOrBuilder.java | 36 +- .../v1/ListAttachedClustersRequest.java | 463 ++- .../ListAttachedClustersRequestOrBuilder.java | 47 +- .../v1/ListAttachedClustersResponse.java | 489 ++- ...ListAttachedClustersResponseOrBuilder.java | 42 +- .../v1/ListAwsClustersRequest.java | 453 ++- .../v1/ListAwsClustersRequestOrBuilder.java | 47 +- .../v1/ListAwsClustersResponse.java | 480 ++- .../v1/ListAwsClustersResponseOrBuilder.java | 45 +- .../v1/ListAwsNodePoolsRequest.java | 453 ++- .../v1/ListAwsNodePoolsRequestOrBuilder.java | 47 +- .../v1/ListAwsNodePoolsResponse.java | 477 ++- .../v1/ListAwsNodePoolsResponseOrBuilder.java | 45 +- .../v1/ListAzureClientsRequest.java | 453 ++- .../v1/ListAzureClientsRequestOrBuilder.java | 47 +- .../v1/ListAzureClientsResponse.java | 477 ++- .../v1/ListAzureClientsResponseOrBuilder.java | 45 +- .../v1/ListAzureClustersRequest.java | 453 ++- .../v1/ListAzureClustersRequestOrBuilder.java | 47 +- .../v1/ListAzureClustersResponse.java | 460 ++- .../ListAzureClustersResponseOrBuilder.java | 45 +- .../v1/ListAzureNodePoolsRequest.java | 453 ++- .../ListAzureNodePoolsRequestOrBuilder.java | 47 +- .../v1/ListAzureNodePoolsResponse.java | 472 ++- .../ListAzureNodePoolsResponseOrBuilder.java | 45 +- .../cloud/gkemulticloud/v1/LocationName.java | 0 .../v1/LoggingComponentConfig.java | 544 ++- .../v1/LoggingComponentConfigOrBuilder.java | 99 + .../cloud/gkemulticloud/v1/LoggingConfig.java | 357 +- .../v1/LoggingConfigOrBuilder.java | 26 +- .../v1/ManagedPrometheusConfig.java | 287 +- .../v1/ManagedPrometheusConfigOrBuilder.java | 38 + .../gkemulticloud/v1/MaxPodsConstraint.java | 284 +- .../v1/MaxPodsConstraintOrBuilder.java | 38 + .../gkemulticloud/v1/MonitoringConfig.java | 401 +- .../v1/MonitoringConfigOrBuilder.java | 38 +- .../cloud/gkemulticloud/v1/NodeTaint.java | 549 +-- .../gkemulticloud/v1/NodeTaintOrBuilder.java | 50 +- .../gkemulticloud/v1/OperationMetadata.java | 824 +++-- .../v1/OperationMetadataOrBuilder.java | 91 +- .../gkemulticloud/v1/ReplicaPlacement.java | 391 +- .../v1/ReplicaPlacementOrBuilder.java | 36 +- .../v1/RollbackAwsNodePoolUpdateRequest.java | 422 ++- ...backAwsNodePoolUpdateRequestOrBuilder.java | 38 +- .../cloud/gkemulticloud/v1/SpotConfig.java | 348 +- .../gkemulticloud/v1/SpotConfigOrBuilder.java | 36 +- .../cloud/gkemulticloud/v1/SurgeSettings.java | 308 +- .../v1/SurgeSettingsOrBuilder.java | 24 +- .../v1/UpdateAttachedClusterRequest.java | 579 +-- ...UpdateAttachedClusterRequestOrBuilder.java | 58 +- .../v1/UpdateAwsClusterRequest.java | 554 +-- .../v1/UpdateAwsClusterRequestOrBuilder.java | 58 +- .../v1/UpdateAwsNodePoolRequest.java | 555 +-- .../v1/UpdateAwsNodePoolRequestOrBuilder.java | 58 +- .../v1/UpdateAzureClusterRequest.java | 556 +-- .../UpdateAzureClusterRequestOrBuilder.java | 58 +- .../v1/UpdateAzureNodePoolRequest.java | 566 +-- .../UpdateAzureNodePoolRequestOrBuilder.java | 58 +- .../gkemulticloud/v1/UpdateSettings.java | 394 +- .../v1/UpdateSettingsOrBuilder.java | 66 + .../v1/WorkloadIdentityConfig.java | 466 ++- .../v1/WorkloadIdentityConfigOrBuilder.java | 45 +- .../gkemulticloud/v1/attached_resources.proto | 0 .../gkemulticloud/v1/attached_service.proto | 0 .../gkemulticloud/v1/aws_resources.proto | 0 .../cloud/gkemulticloud/v1/aws_service.proto | 0 .../gkemulticloud/v1/azure_resources.proto | 0 .../gkemulticloud/v1/azure_service.proto | 0 .../gkemulticloud/v1/common_resources.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateAttachedCluster.java | 0 .../AsyncCreateAttachedClusterLRO.java | 0 .../SyncCreateAttachedCluster.java | 0 ...sterLocationnameAttachedclusterString.java | 0 ...hedClusterStringAttachedclusterString.java | 0 .../AsyncDeleteAttachedCluster.java | 0 .../AsyncDeleteAttachedClusterLRO.java | 0 .../SyncDeleteAttachedCluster.java | 0 ...eteAttachedClusterAttachedclustername.java | 0 .../SyncDeleteAttachedClusterString.java | 0 ...syncGenerateAttachedClusterAgentToken.java | 0 ...SyncGenerateAttachedClusterAgentToken.java | 0 ...enerateAttachedClusterInstallManifest.java | 0 ...enerateAttachedClusterInstallManifest.java | 0 ...sterInstallManifestLocationnameString.java | 0 ...hedClusterInstallManifestStringString.java | 0 .../AsyncGetAttachedCluster.java | 0 .../SyncGetAttachedCluster.java | 0 ...GetAttachedClusterAttachedclustername.java | 0 .../SyncGetAttachedClusterString.java | 0 .../AsyncGetAttachedServerConfig.java | 0 .../SyncGetAttachedServerConfig.java | 0 ...dServerConfigAttachedserverconfigname.java | 0 .../SyncGetAttachedServerConfigString.java | 0 .../AsyncImportAttachedCluster.java | 0 .../AsyncImportAttachedClusterLRO.java | 0 .../SyncImportAttachedCluster.java | 0 ...portAttachedClusterLocationnameString.java | 0 ...SyncImportAttachedClusterStringString.java | 0 .../AsyncListAttachedClusters.java | 0 .../AsyncListAttachedClustersPaged.java | 0 .../SyncListAttachedClusters.java | 0 .../SyncListAttachedClustersLocationname.java | 0 .../SyncListAttachedClustersString.java | 0 .../AsyncUpdateAttachedCluster.java | 0 .../AsyncUpdateAttachedClusterLRO.java | 0 .../SyncUpdateAttachedCluster.java | 0 ...tachedClusterAttachedclusterFieldmask.java | 0 .../SyncGetAttachedCluster.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateAwsCluster.java | 0 .../AsyncCreateAwsClusterLRO.java | 0 .../SyncCreateAwsCluster.java | 0 ...wsClusterLocationnameAwsclusterString.java | 0 ...reateAwsClusterStringAwsclusterString.java | 0 .../AsyncCreateAwsNodePool.java | 0 .../AsyncCreateAwsNodePoolLRO.java | 0 .../SyncCreateAwsNodePool.java | 0 ...dePoolAwsclusternameAwsnodepoolString.java | 0 ...ateAwsNodePoolStringAwsnodepoolString.java | 0 .../AsyncDeleteAwsCluster.java | 0 .../AsyncDeleteAwsClusterLRO.java | 0 .../SyncDeleteAwsCluster.java | 0 .../SyncDeleteAwsClusterAwsclustername.java | 0 .../SyncDeleteAwsClusterString.java | 0 .../AsyncDeleteAwsNodePool.java | 0 .../AsyncDeleteAwsNodePoolLRO.java | 0 .../SyncDeleteAwsNodePool.java | 0 .../SyncDeleteAwsNodePoolAwsnodepoolname.java | 0 .../SyncDeleteAwsNodePoolString.java | 0 .../AsyncGenerateAwsAccessToken.java | 0 .../SyncGenerateAwsAccessToken.java | 0 .../AsyncGenerateAwsClusterAgentToken.java | 0 .../SyncGenerateAwsClusterAgentToken.java | 0 .../getawscluster/AsyncGetAwsCluster.java | 0 .../getawscluster/SyncGetAwsCluster.java | 0 .../SyncGetAwsClusterAwsclustername.java | 0 .../SyncGetAwsClusterString.java | 0 .../AsyncGetAwsJsonWebKeys.java | 0 .../SyncGetAwsJsonWebKeys.java | 0 .../getawsnodepool/AsyncGetAwsNodePool.java | 0 .../getawsnodepool/SyncGetAwsNodePool.java | 0 .../SyncGetAwsNodePoolAwsnodepoolname.java | 0 .../SyncGetAwsNodePoolString.java | 0 .../AsyncGetAwsOpenIdConfig.java | 0 .../SyncGetAwsOpenIdConfig.java | 0 .../AsyncGetAwsServerConfig.java | 0 .../SyncGetAwsServerConfig.java | 0 ...GetAwsServerConfigAwsserverconfigname.java | 0 .../SyncGetAwsServerConfigString.java | 0 .../listawsclusters/AsyncListAwsClusters.java | 0 .../AsyncListAwsClustersPaged.java | 0 .../listawsclusters/SyncListAwsClusters.java | 0 .../SyncListAwsClustersLocationname.java | 0 .../SyncListAwsClustersString.java | 0 .../AsyncListAwsNodePools.java | 0 .../AsyncListAwsNodePoolsPaged.java | 0 .../SyncListAwsNodePools.java | 0 .../SyncListAwsNodePoolsAwsclustername.java | 0 .../SyncListAwsNodePoolsString.java | 0 .../AsyncRollbackAwsNodePoolUpdate.java | 0 .../AsyncRollbackAwsNodePoolUpdateLRO.java | 0 .../SyncRollbackAwsNodePoolUpdate.java | 0 ...lbackAwsNodePoolUpdateAwsnodepoolname.java | 0 .../SyncRollbackAwsNodePoolUpdateString.java | 0 .../AsyncUpdateAwsCluster.java | 0 .../AsyncUpdateAwsClusterLRO.java | 0 .../SyncUpdateAwsCluster.java | 0 ...ncUpdateAwsClusterAwsclusterFieldmask.java | 0 .../AsyncUpdateAwsNodePool.java | 0 .../AsyncUpdateAwsNodePoolLRO.java | 0 .../SyncUpdateAwsNodePool.java | 0 ...UpdateAwsNodePoolAwsnodepoolFieldmask.java | 0 .../getawscluster/SyncGetAwsCluster.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateAzureClient.java | 0 .../AsyncCreateAzureClientLRO.java | 0 .../SyncCreateAzureClient.java | 0 ...reClientLocationnameAzureclientString.java | 0 ...ateAzureClientStringAzureclientString.java | 0 .../AsyncCreateAzureCluster.java | 0 .../AsyncCreateAzureClusterLRO.java | 0 .../SyncCreateAzureCluster.java | 0 ...ClusterLocationnameAzureclusterString.java | 0 ...eAzureClusterStringAzureclusterString.java | 0 .../AsyncCreateAzureNodePool.java | 0 .../AsyncCreateAzureNodePoolLRO.java | 0 .../SyncCreateAzureNodePool.java | 0 ...olAzureclusternameAzurenodepoolString.java | 0 ...zureNodePoolStringAzurenodepoolString.java | 0 .../AsyncDeleteAzureClient.java | 0 .../AsyncDeleteAzureClientLRO.java | 0 .../SyncDeleteAzureClient.java | 0 .../SyncDeleteAzureClientAzureclientname.java | 0 .../SyncDeleteAzureClientString.java | 0 .../AsyncDeleteAzureCluster.java | 0 .../AsyncDeleteAzureClusterLRO.java | 0 .../SyncDeleteAzureCluster.java | 0 ...yncDeleteAzureClusterAzureclustername.java | 0 .../SyncDeleteAzureClusterString.java | 0 .../AsyncDeleteAzureNodePool.java | 0 .../AsyncDeleteAzureNodePoolLRO.java | 0 .../SyncDeleteAzureNodePool.java | 0 ...cDeleteAzureNodePoolAzurenodepoolname.java | 0 .../SyncDeleteAzureNodePoolString.java | 0 .../AsyncGenerateAzureAccessToken.java | 0 .../SyncGenerateAzureAccessToken.java | 0 .../AsyncGenerateAzureClusterAgentToken.java | 0 .../SyncGenerateAzureClusterAgentToken.java | 0 .../getazureclient/AsyncGetAzureClient.java | 0 .../getazureclient/SyncGetAzureClient.java | 0 .../SyncGetAzureClientAzureclientname.java | 0 .../SyncGetAzureClientString.java | 0 .../getazurecluster/AsyncGetAzureCluster.java | 0 .../getazurecluster/SyncGetAzureCluster.java | 0 .../SyncGetAzureClusterAzureclustername.java | 0 .../SyncGetAzureClusterString.java | 0 .../AsyncGetAzureJsonWebKeys.java | 0 .../SyncGetAzureJsonWebKeys.java | 0 ...ncGetAzureJsonWebKeysAzureclustername.java | 0 .../SyncGetAzureJsonWebKeysString.java | 0 .../AsyncGetAzureNodePool.java | 0 .../SyncGetAzureNodePool.java | 0 ...SyncGetAzureNodePoolAzurenodepoolname.java | 0 .../SyncGetAzureNodePoolString.java | 0 .../AsyncGetAzureOpenIdConfig.java | 0 .../SyncGetAzureOpenIdConfig.java | 0 ...cGetAzureOpenIdConfigAzureclustername.java | 0 .../SyncGetAzureOpenIdConfigString.java | 0 .../AsyncGetAzureServerConfig.java | 0 .../SyncGetAzureServerConfig.java | 0 ...zureServerConfigAzureserverconfigname.java | 0 .../SyncGetAzureServerConfigString.java | 0 .../AsyncListAzureClients.java | 0 .../AsyncListAzureClientsPaged.java | 0 .../SyncListAzureClients.java | 0 .../SyncListAzureClientsLocationname.java | 0 .../SyncListAzureClientsString.java | 0 .../AsyncListAzureClusters.java | 0 .../AsyncListAzureClustersPaged.java | 0 .../SyncListAzureClusters.java | 0 .../SyncListAzureClustersLocationname.java | 0 .../SyncListAzureClustersString.java | 0 .../AsyncListAzureNodePools.java | 0 .../AsyncListAzureNodePoolsPaged.java | 0 .../SyncListAzureNodePools.java | 0 ...yncListAzureNodePoolsAzureclustername.java | 0 .../SyncListAzureNodePoolsString.java | 0 .../AsyncUpdateAzureCluster.java | 0 .../AsyncUpdateAzureClusterLRO.java | 0 .../SyncUpdateAzureCluster.java | 0 ...dateAzureClusterAzureclusterFieldmask.java | 0 .../AsyncUpdateAzureNodePool.java | 0 .../AsyncUpdateAzureNodePoolLRO.java | 0 .../SyncUpdateAzureNodePool.java | 0 ...teAzureNodePoolAzurenodepoolFieldmask.java | 0 .../getazureclient/SyncGetAzureClient.java | 0 .../SyncGetAttachedCluster.java | 0 .../getawscluster/SyncGetAwsCluster.java | 0 .../getazureclient/SyncGetAzureClient.java | 0 .../v1/AttachedClustersGrpc.java | 1103 ------ .../gkemulticloud/v1/AwsClustersGrpc.java | 1759 --------- .../gkemulticloud/v1/AzureClustersGrpc.java | 2061 ----------- .../v1/AttachedClusterErrorOrBuilder.java | 29 - .../AttachedPlatformVersionInfoOrBuilder.java | 29 - .../v1/AttachedResourcesProto.java | 241 -- .../v1/AttachedServiceProto.java | 326 -- .../v1/AwsClusterErrorOrBuilder.java | 29 - .../v1/AwsInstancePlacementOrBuilder.java | 28 - .../v1/AwsNodePoolErrorOrBuilder.java | 29 - .../gkemulticloud/v1/AwsResourcesProto.java | 591 --- .../gkemulticloud/v1/AwsServiceProto.java | 470 --- .../v1/AzureClusterErrorOrBuilder.java | 29 - .../v1/AzureDiskTemplateOrBuilder.java | 22 - .../v1/AzureNodePoolErrorOrBuilder.java | 29 - .../gkemulticloud/v1/AzureResourcesProto.java | 575 --- .../gkemulticloud/v1/AzureServiceProto.java | 550 --- .../v1/CommonResourcesProto.java | 211 -- .../v1/GetAwsJsonWebKeysRequestOrBuilder.java | 33 - .../GetAwsOpenIdConfigRequestOrBuilder.java | 33 - .../GetAzureJsonWebKeysRequestOrBuilder.java | 33 - .../GetAzureOpenIdConfigRequestOrBuilder.java | 33 - .../v1/LoggingComponentConfigOrBuilder.java | 58 - .../v1/ManagedPrometheusConfigOrBuilder.java | 19 - .../v1/MaxPodsConstraintOrBuilder.java | 19 - .../v1/UpdateSettingsOrBuilder.java | 36 - 548 files changed, 66762 insertions(+), 39992 deletions(-) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClient.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersSettings.java (99%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersSettings.java (99%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersSettings.java (99%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/gapic_metadata.json (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/package-info.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AttachedClustersStub.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AttachedClustersStubSettings.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStub.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStubSettings.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStub.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStubSettings.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAttachedClustersCallableFactory.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAttachedClustersStub.java (99%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersCallableFactory.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersStub.java (99%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersCallableFactory.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersStub.java (99%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAttachedClustersCallableFactory.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAttachedClustersStub.java (99%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersCallableFactory.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersStub.java (99%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersCallableFactory.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersStub.java (99%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/main/resources/META-INF/native-image/com.google.cloud.gkemulticloud.v1/reflect-config.json (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClientTest.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientTest.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientTest.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAttachedClusters.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAttachedClustersImpl.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClusters.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClustersImpl.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClusters.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClustersImpl.java (100%) create mode 100644 java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersGrpc.java create mode 100644 java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java create mode 100644 java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedCluster.java (65%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterError.java (66%) create mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterErrorOrBuilder.java rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterGroup.java (67%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterGroupOrBuilder.java (51%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterName.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterOrBuilder.java (69%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterUser.java (67%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterUserOrBuilder.java (51%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersAuthorization.java (69%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersAuthorizationOrBuilder.java (67%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedOidcConfig.java (71%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedOidcConfigOrBuilder.java (62%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedPlatformVersionInfo.java (64%) create mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedPlatformVersionInfoOrBuilder.java rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedProxyConfig.java (68%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedProxyConfigOrBuilder.java (68%) create mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedResourcesProto.java rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServerConfig.java (67%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServerConfigName.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServerConfigOrBuilder.java (62%) create mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServiceProto.java rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorization.java (71%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorizationOrBuilder.java (67%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAutoscalingGroupMetricsCollection.java (69%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAutoscalingGroupMetricsCollectionOrBuilder.java (75%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsCluster.java (64%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterError.java (66%) create mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterErrorOrBuilder.java rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterGroup.java (66%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterGroupOrBuilder.java (51%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterName.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworking.java (70%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworkingOrBuilder.java (70%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterOrBuilder.java (68%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUser.java (66%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUserOrBuilder.java (51%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryption.java (66%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryptionOrBuilder.java (52%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlane.java (65%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlaneOrBuilder.java (73%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryption.java (66%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryptionOrBuilder.java (52%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacement.java (63%) create mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacementOrBuilder.java rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsJsonWebKeys.java (71%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsJsonWebKeysOrBuilder.java (64%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfo.java (75%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfoOrBuilder.java (81%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfig.java (63%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfigOrBuilder.java (69%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeManagement.java (67%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeManagementOrBuilder.java (54%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePool.java (65%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscaling.java (68%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscalingOrBuilder.java (58%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolError.java (66%) create mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolErrorOrBuilder.java rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolName.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolOrBuilder.java (69%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsOpenIdConfig.java (72%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsOpenIdConfigOrBuilder.java (75%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfig.java (71%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfigOrBuilder.java (67%) create mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfig.java (76%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigName.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigOrBuilder.java (78%) create mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthentication.java (70%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthenticationOrBuilder.java (65%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfig.java (67%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfigOrBuilder.java (52%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplate.java (70%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplateOrBuilder.java (69%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorization.java (71%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorizationOrBuilder.java (66%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClient.java (70%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientName.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientOrBuilder.java (78%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureCluster.java (65%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterError.java (66%) create mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterErrorOrBuilder.java rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterGroup.java (67%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterGroupOrBuilder.java (51%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterName.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworking.java (73%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworkingOrBuilder.java (76%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterOrBuilder.java (70%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResources.java (65%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResourcesOrBuilder.java (53%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUser.java (67%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUserOrBuilder.java (51%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryption.java (72%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryptionOrBuilder.java (72%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlane.java (66%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlaneOrBuilder.java (71%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryption.java (70%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryptionOrBuilder.java (65%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplate.java (66%) create mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplateOrBuilder.java rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureJsonWebKeys.java (72%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureJsonWebKeysOrBuilder.java (64%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfo.java (75%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfoOrBuilder.java (81%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfig.java (63%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfigOrBuilder.java (69%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeManagement.java (67%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeManagementOrBuilder.java (54%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePool.java (66%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscaling.java (69%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscalingOrBuilder.java (58%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolError.java (67%) create mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolErrorOrBuilder.java rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolName.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolOrBuilder.java (70%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureOpenIdConfig.java (72%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureOpenIdConfigOrBuilder.java (75%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfig.java (72%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfigOrBuilder.java (71%) create mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfig.java (77%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigName.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigOrBuilder.java (81%) create mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthentication.java (68%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthenticationOrBuilder.java (60%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfig.java (68%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfigOrBuilder.java (58%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/BinaryAuthorization.java (65%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/BinaryAuthorizationOrBuilder.java (54%) create mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAttachedClusterRequest.java (68%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAttachedClusterRequestOrBuilder.java (68%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequest.java (68%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequestOrBuilder.java (68%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequest.java (68%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequestOrBuilder.java (69%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequest.java (69%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequestOrBuilder.java (68%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequest.java (68%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequestOrBuilder.java (68%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequest.java (68%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequestOrBuilder.java (69%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequest.java (72%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequestOrBuilder.java (74%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequest.java (72%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequestOrBuilder.java (74%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequest.java (73%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequestOrBuilder.java (74%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequest.java (70%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequestOrBuilder.java (66%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequest.java (72%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequestOrBuilder.java (72%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequest.java (71%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequestOrBuilder.java (72%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Fleet.java (72%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/FleetOrBuilder.java (69%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenRequest.java (66%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenRequestOrBuilder.java (68%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenResponse.java (58%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenResponseOrBuilder.java (55%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequest.java (65%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequestOrBuilder.java (74%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestResponse.java (53%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestResponseOrBuilder.java (55%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequest.java (63%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequestOrBuilder.java (56%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponse.java (61%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponseOrBuilder.java (53%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenRequest.java (69%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenRequestOrBuilder.java (68%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenResponse.java (61%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenResponseOrBuilder.java (51%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequest.java (63%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequestOrBuilder.java (56%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponse.java (60%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponseOrBuilder.java (54%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenRequest.java (68%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenRequestOrBuilder.java (68%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenResponse.java (61%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenResponseOrBuilder.java (55%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequest.java (67%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequestOrBuilder.java (57%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedServerConfigRequest.java (64%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedServerConfigRequestOrBuilder.java (56%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequest.java (65%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequestOrBuilder.java (56%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsJsonWebKeysRequest.java (63%) create mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsJsonWebKeysRequestOrBuilder.java rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequest.java (65%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequestOrBuilder.java (57%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsOpenIdConfigRequest.java (63%) create mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsOpenIdConfigRequestOrBuilder.java rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequest.java (65%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequestOrBuilder.java (55%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequest.java (66%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequestOrBuilder.java (57%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequest.java (66%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequestOrBuilder.java (56%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureJsonWebKeysRequest.java (63%) create mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureJsonWebKeysRequestOrBuilder.java rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequest.java (66%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequestOrBuilder.java (57%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureOpenIdConfigRequest.java (63%) create mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureOpenIdConfigRequestOrBuilder.java rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequest.java (65%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequestOrBuilder.java (56%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ImportAttachedClusterRequest.java (69%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ImportAttachedClusterRequestOrBuilder.java (70%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Jwk.java (70%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/JwkOrBuilder.java (67%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/KubernetesSecret.java (68%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/KubernetesSecretOrBuilder.java (55%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequest.java (70%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequestOrBuilder.java (68%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponse.java (74%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponseOrBuilder.java (76%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequest.java (70%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequestOrBuilder.java (68%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponse.java (73%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponseOrBuilder.java (72%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequest.java (70%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequestOrBuilder.java (68%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponse.java (73%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponseOrBuilder.java (73%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequest.java (70%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequestOrBuilder.java (68%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponse.java (73%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponseOrBuilder.java (74%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequest.java (70%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequestOrBuilder.java (68%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponse.java (75%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponseOrBuilder.java (74%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequest.java (71%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequestOrBuilder.java (69%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponse.java (73%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponseOrBuilder.java (73%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LocationName.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfig.java (64%) create mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfigOrBuilder.java rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfig.java (66%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfigOrBuilder.java (62%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ManagedPrometheusConfig.java (65%) create mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ManagedPrometheusConfigOrBuilder.java rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraint.java (66%) create mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraintOrBuilder.java rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MonitoringConfig.java (64%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MonitoringConfigOrBuilder.java (56%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaint.java (68%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaintOrBuilder.java (56%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadata.java (71%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadataOrBuilder.java (76%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacement.java (71%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacementOrBuilder.java (67%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/RollbackAwsNodePoolUpdateRequest.java (63%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/RollbackAwsNodePoolUpdateRequestOrBuilder.java (61%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SpotConfig.java (68%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SpotConfigOrBuilder.java (64%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SurgeSettings.java (69%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SurgeSettingsOrBuilder.java (59%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAttachedClusterRequest.java (70%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAttachedClusterRequestOrBuilder.java (74%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequest.java (76%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequestOrBuilder.java (83%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequest.java (75%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequestOrBuilder.java (82%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequest.java (73%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequestOrBuilder.java (78%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequest.java (68%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequestOrBuilder.java (71%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateSettings.java (64%) create mode 100644 java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateSettingsOrBuilder.java rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfig.java (70%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfigOrBuilder.java (62%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/attached_resources.proto (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/attached_service.proto (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_resources.proto (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_service.proto (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_resources.proto (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_service.proto (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/common_resources.proto (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/AsyncCreateAttachedCluster.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/AsyncCreateAttachedClusterLRO.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/SyncCreateAttachedCluster.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/SyncCreateAttachedClusterLocationnameAttachedclusterString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/SyncCreateAttachedClusterStringAttachedclusterString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/AsyncDeleteAttachedCluster.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/AsyncDeleteAttachedClusterLRO.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/SyncDeleteAttachedCluster.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/SyncDeleteAttachedClusterAttachedclustername.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/SyncDeleteAttachedClusterString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusteragenttoken/AsyncGenerateAttachedClusterAgentToken.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusteragenttoken/SyncGenerateAttachedClusterAgentToken.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/AsyncGenerateAttachedClusterInstallManifest.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/SyncGenerateAttachedClusterInstallManifest.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/SyncGenerateAttachedClusterInstallManifestLocationnameString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/SyncGenerateAttachedClusterInstallManifestStringString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/AsyncGetAttachedCluster.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/SyncGetAttachedCluster.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/SyncGetAttachedClusterAttachedclustername.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/SyncGetAttachedClusterString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/AsyncGetAttachedServerConfig.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/SyncGetAttachedServerConfig.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/SyncGetAttachedServerConfigAttachedserverconfigname.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/SyncGetAttachedServerConfigString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/AsyncImportAttachedCluster.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/AsyncImportAttachedClusterLRO.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/SyncImportAttachedCluster.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/SyncImportAttachedClusterLocationnameString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/SyncImportAttachedClusterStringString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/AsyncListAttachedClusters.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/AsyncListAttachedClustersPaged.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/SyncListAttachedClusters.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/SyncListAttachedClustersLocationname.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/SyncListAttachedClustersString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/AsyncUpdateAttachedCluster.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/AsyncUpdateAttachedClusterLRO.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/SyncUpdateAttachedCluster.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/SyncUpdateAttachedClusterAttachedclusterFieldmask.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusterssettings/getattachedcluster/SyncGetAttachedCluster.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/AsyncCreateAwsCluster.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/AsyncCreateAwsClusterLRO.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/SyncCreateAwsCluster.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/SyncCreateAwsClusterLocationnameAwsclusterString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/SyncCreateAwsClusterStringAwsclusterString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/AsyncCreateAwsNodePool.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/AsyncCreateAwsNodePoolLRO.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/SyncCreateAwsNodePool.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/SyncCreateAwsNodePoolAwsclusternameAwsnodepoolString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/SyncCreateAwsNodePoolStringAwsnodepoolString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/AsyncDeleteAwsCluster.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/AsyncDeleteAwsClusterLRO.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/SyncDeleteAwsCluster.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/SyncDeleteAwsClusterAwsclustername.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/SyncDeleteAwsClusterString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/AsyncDeleteAwsNodePool.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/AsyncDeleteAwsNodePoolLRO.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/SyncDeleteAwsNodePool.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/SyncDeleteAwsNodePoolAwsnodepoolname.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/SyncDeleteAwsNodePoolString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsaccesstoken/AsyncGenerateAwsAccessToken.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsaccesstoken/SyncGenerateAwsAccessToken.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsclusteragenttoken/AsyncGenerateAwsClusterAgentToken.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsclusteragenttoken/SyncGenerateAwsClusterAgentToken.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/AsyncGetAwsCluster.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/SyncGetAwsCluster.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/SyncGetAwsClusterAwsclustername.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/SyncGetAwsClusterString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsjsonwebkeys/AsyncGetAwsJsonWebKeys.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsjsonwebkeys/SyncGetAwsJsonWebKeys.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/AsyncGetAwsNodePool.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/SyncGetAwsNodePool.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/SyncGetAwsNodePoolAwsnodepoolname.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/SyncGetAwsNodePoolString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsopenidconfig/AsyncGetAwsOpenIdConfig.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsopenidconfig/SyncGetAwsOpenIdConfig.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/AsyncGetAwsServerConfig.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/SyncGetAwsServerConfig.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/SyncGetAwsServerConfigAwsserverconfigname.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/SyncGetAwsServerConfigString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/AsyncListAwsClusters.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/AsyncListAwsClustersPaged.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/SyncListAwsClusters.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/SyncListAwsClustersLocationname.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/SyncListAwsClustersString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/AsyncListAwsNodePools.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/AsyncListAwsNodePoolsPaged.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/SyncListAwsNodePools.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/SyncListAwsNodePoolsAwsclustername.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/SyncListAwsNodePoolsString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/AsyncRollbackAwsNodePoolUpdate.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/AsyncRollbackAwsNodePoolUpdateLRO.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/SyncRollbackAwsNodePoolUpdate.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/SyncRollbackAwsNodePoolUpdateAwsnodepoolname.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/SyncRollbackAwsNodePoolUpdateString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/AsyncUpdateAwsCluster.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/AsyncUpdateAwsClusterLRO.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/SyncUpdateAwsCluster.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/SyncUpdateAwsClusterAwsclusterFieldmask.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/AsyncUpdateAwsNodePool.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/AsyncUpdateAwsNodePoolLRO.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/SyncUpdateAwsNodePool.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/SyncUpdateAwsNodePoolAwsnodepoolFieldmask.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusterssettings/getawscluster/SyncGetAwsCluster.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/AsyncCreateAzureClient.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/AsyncCreateAzureClientLRO.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/SyncCreateAzureClient.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/SyncCreateAzureClientLocationnameAzureclientString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/SyncCreateAzureClientStringAzureclientString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/AsyncCreateAzureCluster.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/AsyncCreateAzureClusterLRO.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/SyncCreateAzureCluster.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/SyncCreateAzureClusterLocationnameAzureclusterString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/SyncCreateAzureClusterStringAzureclusterString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/AsyncCreateAzureNodePool.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/AsyncCreateAzureNodePoolLRO.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/SyncCreateAzureNodePool.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/SyncCreateAzureNodePoolAzureclusternameAzurenodepoolString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/SyncCreateAzureNodePoolStringAzurenodepoolString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/AsyncDeleteAzureClient.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/AsyncDeleteAzureClientLRO.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/SyncDeleteAzureClient.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/SyncDeleteAzureClientAzureclientname.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/SyncDeleteAzureClientString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/AsyncDeleteAzureCluster.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/AsyncDeleteAzureClusterLRO.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/SyncDeleteAzureCluster.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/SyncDeleteAzureClusterAzureclustername.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/SyncDeleteAzureClusterString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/AsyncDeleteAzureNodePool.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/AsyncDeleteAzureNodePoolLRO.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/SyncDeleteAzureNodePool.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/SyncDeleteAzureNodePoolAzurenodepoolname.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/SyncDeleteAzureNodePoolString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureaccesstoken/AsyncGenerateAzureAccessToken.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureaccesstoken/SyncGenerateAzureAccessToken.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureclusteragenttoken/AsyncGenerateAzureClusterAgentToken.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureclusteragenttoken/SyncGenerateAzureClusterAgentToken.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/AsyncGetAzureClient.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/SyncGetAzureClient.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/SyncGetAzureClientAzureclientname.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/SyncGetAzureClientString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/AsyncGetAzureCluster.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/SyncGetAzureCluster.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/SyncGetAzureClusterAzureclustername.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/SyncGetAzureClusterString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/AsyncGetAzureJsonWebKeys.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/SyncGetAzureJsonWebKeys.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/SyncGetAzureJsonWebKeysAzureclustername.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/SyncGetAzureJsonWebKeysString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/AsyncGetAzureNodePool.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/SyncGetAzureNodePool.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/SyncGetAzureNodePoolAzurenodepoolname.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/SyncGetAzureNodePoolString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/AsyncGetAzureOpenIdConfig.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/SyncGetAzureOpenIdConfig.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/SyncGetAzureOpenIdConfigAzureclustername.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/SyncGetAzureOpenIdConfigString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/AsyncGetAzureServerConfig.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/SyncGetAzureServerConfig.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/SyncGetAzureServerConfigAzureserverconfigname.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/SyncGetAzureServerConfigString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/AsyncListAzureClients.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/AsyncListAzureClientsPaged.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/SyncListAzureClients.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/SyncListAzureClientsLocationname.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/SyncListAzureClientsString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/AsyncListAzureClusters.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/AsyncListAzureClustersPaged.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/SyncListAzureClusters.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/SyncListAzureClustersLocationname.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/SyncListAzureClustersString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/AsyncListAzureNodePools.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/AsyncListAzureNodePoolsPaged.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/SyncListAzureNodePools.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/SyncListAzureNodePoolsAzureclustername.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/SyncListAzureNodePoolsString.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/AsyncUpdateAzureCluster.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/AsyncUpdateAzureClusterLRO.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/SyncUpdateAzureCluster.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/SyncUpdateAzureClusterAzureclusterFieldmask.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/AsyncUpdateAzureNodePool.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/AsyncUpdateAzureNodePoolLRO.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/SyncUpdateAzureNodePool.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/SyncUpdateAzureNodePoolAzurenodepoolFieldmask.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusterssettings/getazureclient/SyncGetAzureClient.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/attachedclustersstubsettings/getattachedcluster/SyncGetAttachedCluster.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/awsclustersstubsettings/getawscluster/SyncGetAwsCluster.java (100%) rename {owl-bot-staging/java-gke-multi-cloud/v1 => java-gke-multi-cloud}/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/azureclustersstubsettings/getazureclient/SyncGetAzureClient.java (100%) delete mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersGrpc.java delete mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java delete mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java delete mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterErrorOrBuilder.java delete mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedPlatformVersionInfoOrBuilder.java delete mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedResourcesProto.java delete mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServiceProto.java delete mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterErrorOrBuilder.java delete mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacementOrBuilder.java delete mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolErrorOrBuilder.java delete mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java delete mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java delete mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterErrorOrBuilder.java delete mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplateOrBuilder.java delete mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolErrorOrBuilder.java delete mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java delete mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java delete mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java delete mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsJsonWebKeysRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsOpenIdConfigRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureJsonWebKeysRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureOpenIdConfigRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ManagedPrometheusConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraintOrBuilder.java delete mode 100644 owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateSettingsOrBuilder.java diff --git a/java-gke-multi-cloud/README.md b/java-gke-multi-cloud/README.md index 57d382c8fcf4..206a6085558a 100644 --- a/java-gke-multi-cloud/README.md +++ b/java-gke-multi-cloud/README.md @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-gke-multi-cloud.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gke-multi-cloud/0.29.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gke-multi-cloud/0.31.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClient.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClient.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClient.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClient.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersSettings.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersSettings.java similarity index 99% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersSettings.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersSettings.java index 15ccaf81b7cc..1be93ed8b7e2 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersSettings.java +++ b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersSettings.java @@ -29,7 +29,6 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.gkemulticloud.v1.stub.AttachedClustersStubSettings; diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersSettings.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersSettings.java similarity index 99% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersSettings.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersSettings.java index 102f3b45c892..61fb91ea00bf 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersSettings.java +++ b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersSettings.java @@ -30,7 +30,6 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.gkemulticloud.v1.stub.AwsClustersStubSettings; diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersSettings.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersSettings.java similarity index 99% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersSettings.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersSettings.java index dffa5993c272..803fb49b67bc 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersSettings.java +++ b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersSettings.java @@ -31,7 +31,6 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.gkemulticloud.v1.stub.AzureClustersStubSettings; diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/gapic_metadata.json b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/gapic_metadata.json rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/gapic_metadata.json diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/package-info.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/package-info.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/package-info.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/package-info.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AttachedClustersStub.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AttachedClustersStub.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AttachedClustersStub.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AttachedClustersStub.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AttachedClustersStubSettings.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AttachedClustersStubSettings.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AttachedClustersStubSettings.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AttachedClustersStubSettings.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStub.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStub.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStub.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStub.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStubSettings.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStubSettings.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStubSettings.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AwsClustersStubSettings.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStub.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStub.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStub.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStub.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStubSettings.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStubSettings.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStubSettings.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/AzureClustersStubSettings.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAttachedClustersCallableFactory.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAttachedClustersCallableFactory.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAttachedClustersCallableFactory.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAttachedClustersCallableFactory.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAttachedClustersStub.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAttachedClustersStub.java similarity index 99% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAttachedClustersStub.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAttachedClustersStub.java index 95e2d2d93ce7..9014cedc82e1 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAttachedClustersStub.java +++ b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAttachedClustersStub.java @@ -47,7 +47,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersCallableFactory.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersCallableFactory.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersCallableFactory.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersCallableFactory.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersStub.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersStub.java similarity index 99% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersStub.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersStub.java index 7f749f7b3139..53d28a602527 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersStub.java +++ b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAwsClustersStub.java @@ -59,7 +59,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersCallableFactory.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersCallableFactory.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersCallableFactory.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersCallableFactory.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersStub.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersStub.java similarity index 99% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersStub.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersStub.java index 1c26b306ded8..6a34cdc8f896 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersStub.java +++ b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/GrpcAzureClustersStub.java @@ -65,7 +65,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAttachedClustersCallableFactory.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAttachedClustersCallableFactory.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAttachedClustersCallableFactory.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAttachedClustersCallableFactory.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAttachedClustersStub.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAttachedClustersStub.java similarity index 99% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAttachedClustersStub.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAttachedClustersStub.java index c9a7dfbe5ce3..ec087c0ba8f5 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAttachedClustersStub.java +++ b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAttachedClustersStub.java @@ -31,7 +31,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.RequestParamsBuilder; diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersCallableFactory.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersCallableFactory.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersCallableFactory.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersCallableFactory.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersStub.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersStub.java similarity index 99% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersStub.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersStub.java index 1abda76dffae..dcff1ee22126 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersStub.java +++ b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAwsClustersStub.java @@ -32,7 +32,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.RequestParamsBuilder; diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersCallableFactory.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersCallableFactory.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersCallableFactory.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersCallableFactory.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersStub.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersStub.java similarity index 99% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersStub.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersStub.java index 94974309ee11..970fd883a3c3 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersStub.java +++ b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/HttpJsonAzureClustersStub.java @@ -33,7 +33,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.RequestParamsBuilder; diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/resources/META-INF/native-image/com.google.cloud.gkemulticloud.v1/reflect-config.json b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/resources/META-INF/native-image/com.google.cloud.gkemulticloud.v1/reflect-config.json similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/main/resources/META-INF/native-image/com.google.cloud.gkemulticloud.v1/reflect-config.json rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/resources/META-INF/native-image/com.google.cloud.gkemulticloud.v1/reflect-config.json diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClientHttpJsonTest.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClientHttpJsonTest.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClientHttpJsonTest.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClientTest.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClientTest.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClientTest.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClientTest.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientHttpJsonTest.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientHttpJsonTest.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientHttpJsonTest.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientTest.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientTest.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientTest.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AwsClustersClientTest.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientHttpJsonTest.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientHttpJsonTest.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientHttpJsonTest.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientTest.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientTest.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientTest.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientTest.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAttachedClusters.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAttachedClusters.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAttachedClusters.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAttachedClusters.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAttachedClustersImpl.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAttachedClustersImpl.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAttachedClustersImpl.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAttachedClustersImpl.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClusters.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClusters.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClusters.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClusters.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClustersImpl.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClustersImpl.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClustersImpl.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAwsClustersImpl.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClusters.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClusters.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClusters.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClusters.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClustersImpl.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClustersImpl.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClustersImpl.java rename to java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/MockAzureClustersImpl.java diff --git a/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersGrpc.java b/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersGrpc.java new file mode 100644 index 000000000000..229c0c3a83a6 --- /dev/null +++ b/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersGrpc.java @@ -0,0 +1,1484 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.gkemulticloud.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * The AttachedClusters API provides a single centrally managed service
+ * to register and manage Anthos attached clusters that run on customer's owned
+ * infrastructure.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/gkemulticloud/v1/attached_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class AttachedClustersGrpc { + + private AttachedClustersGrpc() {} + + public static final java.lang.String SERVICE_NAME = + "google.cloud.gkemulticloud.v1.AttachedClusters"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest, + com.google.longrunning.Operation> + getCreateAttachedClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateAttachedCluster", + requestType = com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest, + com.google.longrunning.Operation> + getCreateAttachedClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest, + com.google.longrunning.Operation> + getCreateAttachedClusterMethod; + if ((getCreateAttachedClusterMethod = AttachedClustersGrpc.getCreateAttachedClusterMethod) + == null) { + synchronized (AttachedClustersGrpc.class) { + if ((getCreateAttachedClusterMethod = AttachedClustersGrpc.getCreateAttachedClusterMethod) + == null) { + AttachedClustersGrpc.getCreateAttachedClusterMethod = + getCreateAttachedClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateAttachedCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AttachedClustersMethodDescriptorSupplier("CreateAttachedCluster")) + .build(); + } + } + } + return getCreateAttachedClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest, + com.google.longrunning.Operation> + getUpdateAttachedClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAttachedCluster", + requestType = com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest, + com.google.longrunning.Operation> + getUpdateAttachedClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest, + com.google.longrunning.Operation> + getUpdateAttachedClusterMethod; + if ((getUpdateAttachedClusterMethod = AttachedClustersGrpc.getUpdateAttachedClusterMethod) + == null) { + synchronized (AttachedClustersGrpc.class) { + if ((getUpdateAttachedClusterMethod = AttachedClustersGrpc.getUpdateAttachedClusterMethod) + == null) { + AttachedClustersGrpc.getUpdateAttachedClusterMethod = + getUpdateAttachedClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateAttachedCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AttachedClustersMethodDescriptorSupplier("UpdateAttachedCluster")) + .build(); + } + } + } + return getUpdateAttachedClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest, + com.google.longrunning.Operation> + getImportAttachedClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportAttachedCluster", + requestType = com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest, + com.google.longrunning.Operation> + getImportAttachedClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest, + com.google.longrunning.Operation> + getImportAttachedClusterMethod; + if ((getImportAttachedClusterMethod = AttachedClustersGrpc.getImportAttachedClusterMethod) + == null) { + synchronized (AttachedClustersGrpc.class) { + if ((getImportAttachedClusterMethod = AttachedClustersGrpc.getImportAttachedClusterMethod) + == null) { + AttachedClustersGrpc.getImportAttachedClusterMethod = + getImportAttachedClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ImportAttachedCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AttachedClustersMethodDescriptorSupplier("ImportAttachedCluster")) + .build(); + } + } + } + return getImportAttachedClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest, + com.google.cloud.gkemulticloud.v1.AttachedCluster> + getGetAttachedClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAttachedCluster", + requestType = com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.AttachedCluster.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest, + com.google.cloud.gkemulticloud.v1.AttachedCluster> + getGetAttachedClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest, + com.google.cloud.gkemulticloud.v1.AttachedCluster> + getGetAttachedClusterMethod; + if ((getGetAttachedClusterMethod = AttachedClustersGrpc.getGetAttachedClusterMethod) == null) { + synchronized (AttachedClustersGrpc.class) { + if ((getGetAttachedClusterMethod = AttachedClustersGrpc.getGetAttachedClusterMethod) + == null) { + AttachedClustersGrpc.getGetAttachedClusterMethod = + getGetAttachedClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAttachedCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.AttachedCluster + .getDefaultInstance())) + .setSchemaDescriptor( + new AttachedClustersMethodDescriptorSupplier("GetAttachedCluster")) + .build(); + } + } + } + return getGetAttachedClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest, + com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse> + getListAttachedClustersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAttachedClusters", + requestType = com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest, + com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse> + getListAttachedClustersMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest, + com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse> + getListAttachedClustersMethod; + if ((getListAttachedClustersMethod = AttachedClustersGrpc.getListAttachedClustersMethod) + == null) { + synchronized (AttachedClustersGrpc.class) { + if ((getListAttachedClustersMethod = AttachedClustersGrpc.getListAttachedClustersMethod) + == null) { + AttachedClustersGrpc.getListAttachedClustersMethod = + getListAttachedClustersMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListAttachedClusters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AttachedClustersMethodDescriptorSupplier("ListAttachedClusters")) + .build(); + } + } + } + return getListAttachedClustersMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest, + com.google.longrunning.Operation> + getDeleteAttachedClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAttachedCluster", + requestType = com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest, + com.google.longrunning.Operation> + getDeleteAttachedClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest, + com.google.longrunning.Operation> + getDeleteAttachedClusterMethod; + if ((getDeleteAttachedClusterMethod = AttachedClustersGrpc.getDeleteAttachedClusterMethod) + == null) { + synchronized (AttachedClustersGrpc.class) { + if ((getDeleteAttachedClusterMethod = AttachedClustersGrpc.getDeleteAttachedClusterMethod) + == null) { + AttachedClustersGrpc.getDeleteAttachedClusterMethod = + getDeleteAttachedClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteAttachedCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AttachedClustersMethodDescriptorSupplier("DeleteAttachedCluster")) + .build(); + } + } + } + return getDeleteAttachedClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest, + com.google.cloud.gkemulticloud.v1.AttachedServerConfig> + getGetAttachedServerConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAttachedServerConfig", + requestType = com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.AttachedServerConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest, + com.google.cloud.gkemulticloud.v1.AttachedServerConfig> + getGetAttachedServerConfigMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest, + com.google.cloud.gkemulticloud.v1.AttachedServerConfig> + getGetAttachedServerConfigMethod; + if ((getGetAttachedServerConfigMethod = AttachedClustersGrpc.getGetAttachedServerConfigMethod) + == null) { + synchronized (AttachedClustersGrpc.class) { + if ((getGetAttachedServerConfigMethod = + AttachedClustersGrpc.getGetAttachedServerConfigMethod) + == null) { + AttachedClustersGrpc.getGetAttachedServerConfigMethod = + getGetAttachedServerConfigMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetAttachedServerConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.AttachedServerConfig + .getDefaultInstance())) + .setSchemaDescriptor( + new AttachedClustersMethodDescriptorSupplier("GetAttachedServerConfig")) + .build(); + } + } + } + return getGetAttachedServerConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest, + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse> + getGenerateAttachedClusterInstallManifestMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GenerateAttachedClusterInstallManifest", + requestType = + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest.class, + responseType = + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest, + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse> + getGenerateAttachedClusterInstallManifestMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest, + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse> + getGenerateAttachedClusterInstallManifestMethod; + if ((getGenerateAttachedClusterInstallManifestMethod = + AttachedClustersGrpc.getGenerateAttachedClusterInstallManifestMethod) + == null) { + synchronized (AttachedClustersGrpc.class) { + if ((getGenerateAttachedClusterInstallManifestMethod = + AttachedClustersGrpc.getGenerateAttachedClusterInstallManifestMethod) + == null) { + AttachedClustersGrpc.getGenerateAttachedClusterInstallManifestMethod = + getGenerateAttachedClusterInstallManifestMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "GenerateAttachedClusterInstallManifest")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1 + .GenerateAttachedClusterInstallManifestRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1 + .GenerateAttachedClusterInstallManifestResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AttachedClustersMethodDescriptorSupplier( + "GenerateAttachedClusterInstallManifest")) + .build(); + } + } + } + return getGenerateAttachedClusterInstallManifestMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest, + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse> + getGenerateAttachedClusterAgentTokenMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GenerateAttachedClusterAgentToken", + requestType = + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest.class, + responseType = + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest, + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse> + getGenerateAttachedClusterAgentTokenMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest, + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse> + getGenerateAttachedClusterAgentTokenMethod; + if ((getGenerateAttachedClusterAgentTokenMethod = + AttachedClustersGrpc.getGenerateAttachedClusterAgentTokenMethod) + == null) { + synchronized (AttachedClustersGrpc.class) { + if ((getGenerateAttachedClusterAgentTokenMethod = + AttachedClustersGrpc.getGenerateAttachedClusterAgentTokenMethod) + == null) { + AttachedClustersGrpc.getGenerateAttachedClusterAgentTokenMethod = + getGenerateAttachedClusterAgentTokenMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GenerateAttachedClusterAgentToken")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1 + .GenerateAttachedClusterAgentTokenRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1 + .GenerateAttachedClusterAgentTokenResponse.getDefaultInstance())) + .setSchemaDescriptor( + new AttachedClustersMethodDescriptorSupplier( + "GenerateAttachedClusterAgentToken")) + .build(); + } + } + } + return getGenerateAttachedClusterAgentTokenMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static AttachedClustersStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AttachedClustersStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AttachedClustersStub(channel, callOptions); + } + }; + return AttachedClustersStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static AttachedClustersBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AttachedClustersBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AttachedClustersBlockingStub(channel, callOptions); + } + }; + return AttachedClustersBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static AttachedClustersFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AttachedClustersFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AttachedClustersFutureStub(channel, callOptions); + } + }; + return AttachedClustersFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * The AttachedClusters API provides a single centrally managed service
+   * to register and manage Anthos attached clusters that run on customer's owned
+   * infrastructure.
+   * 
+ */ + public interface AsyncService { + + /** + * + * + *
+     * Creates a new
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
+     * on a given Google Cloud Platform project and region.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + default void createAttachedCluster( + com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateAttachedClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates an
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
+     * 
+ */ + default void updateAttachedCluster( + com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateAttachedClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Imports creates a new
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
+     * by importing an existing Fleet Membership resource.
+     * Attached Clusters created before the introduction of the Anthos Multi-Cloud
+     * API can be imported through this method.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + default void importAttachedCluster( + com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getImportAttachedClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Describes a specific
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
+     * 
+ */ + default void getAttachedCluster( + com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAttachedClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
+     * resources on a given Google Cloud project and region.
+     * 
+ */ + default void listAttachedClusters( + com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListAttachedClustersMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a specific
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + default void deleteAttachedCluster( + com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteAttachedClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns information, such as supported Kubernetes versions, on a given
+     * Google Cloud location.
+     * 
+ */ + default void getAttachedServerConfig( + com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAttachedServerConfigMethod(), responseObserver); + } + + /** + * + * + *
+     * Generates the install manifest to be installed on the target cluster.
+     * 
+ */ + default void generateAttachedClusterInstallManifest( + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGenerateAttachedClusterInstallManifestMethod(), responseObserver); + } + + /** + * + * + *
+     * Generates an access token for a cluster agent.
+     * 
+ */ + default void generateAttachedClusterAgentToken( + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGenerateAttachedClusterAgentTokenMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service AttachedClusters. + * + *
+   * The AttachedClusters API provides a single centrally managed service
+   * to register and manage Anthos attached clusters that run on customer's owned
+   * infrastructure.
+   * 
+ */ + public abstract static class AttachedClustersImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return AttachedClustersGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service AttachedClusters. + * + *
+   * The AttachedClusters API provides a single centrally managed service
+   * to register and manage Anthos attached clusters that run on customer's owned
+   * infrastructure.
+   * 
+ */ + public static final class AttachedClustersStub + extends io.grpc.stub.AbstractAsyncStub { + private AttachedClustersStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AttachedClustersStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AttachedClustersStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
+     * on a given Google Cloud Platform project and region.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public void createAttachedCluster( + com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateAttachedClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates an
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
+     * 
+ */ + public void updateAttachedCluster( + com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAttachedClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Imports creates a new
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
+     * by importing an existing Fleet Membership resource.
+     * Attached Clusters created before the introduction of the Anthos Multi-Cloud
+     * API can be imported through this method.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public void importAttachedCluster( + com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportAttachedClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Describes a specific
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
+     * 
+ */ + public void getAttachedCluster( + com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAttachedClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
+     * resources on a given Google Cloud project and region.
+     * 
+ */ + public void listAttachedClusters( + com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAttachedClustersMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a specific
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public void deleteAttachedCluster( + com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAttachedClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns information, such as supported Kubernetes versions, on a given
+     * Google Cloud location.
+     * 
+ */ + public void getAttachedServerConfig( + com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAttachedServerConfigMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Generates the install manifest to be installed on the target cluster.
+     * 
+ */ + public void generateAttachedClusterInstallManifest( + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGenerateAttachedClusterInstallManifestMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Generates an access token for a cluster agent.
+     * 
+ */ + public void generateAttachedClusterAgentToken( + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGenerateAttachedClusterAgentTokenMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service AttachedClusters. + * + *
+   * The AttachedClusters API provides a single centrally managed service
+   * to register and manage Anthos attached clusters that run on customer's owned
+   * infrastructure.
+   * 
+ */ + public static final class AttachedClustersBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private AttachedClustersBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AttachedClustersBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AttachedClustersBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
+     * on a given Google Cloud Platform project and region.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.longrunning.Operation createAttachedCluster( + com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateAttachedClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
+     * 
+ */ + public com.google.longrunning.Operation updateAttachedCluster( + com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAttachedClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Imports creates a new
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
+     * by importing an existing Fleet Membership resource.
+     * Attached Clusters created before the introduction of the Anthos Multi-Cloud
+     * API can be imported through this method.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.longrunning.Operation importAttachedCluster( + com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportAttachedClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Describes a specific
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.AttachedCluster getAttachedCluster( + com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAttachedClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
+     * resources on a given Google Cloud project and region.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse listAttachedClusters( + com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAttachedClustersMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a specific
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.longrunning.Operation deleteAttachedCluster( + com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAttachedClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns information, such as supported Kubernetes versions, on a given
+     * Google Cloud location.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.AttachedServerConfig getAttachedServerConfig( + com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAttachedServerConfigMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Generates the install manifest to be installed on the target cluster.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse + generateAttachedClusterInstallManifest( + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), + getGenerateAttachedClusterInstallManifestMethod(), + getCallOptions(), + request); + } + + /** + * + * + *
+     * Generates an access token for a cluster agent.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse + generateAttachedClusterAgentToken( + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGenerateAttachedClusterAgentTokenMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service AttachedClusters. + * + *
+   * The AttachedClusters API provides a single centrally managed service
+   * to register and manage Anthos attached clusters that run on customer's owned
+   * infrastructure.
+   * 
+ */ + public static final class AttachedClustersFutureStub + extends io.grpc.stub.AbstractFutureStub { + private AttachedClustersFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AttachedClustersFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AttachedClustersFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
+     * on a given Google Cloud Platform project and region.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createAttachedCluster( + com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateAttachedClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates an
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateAttachedCluster( + com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAttachedClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Imports creates a new
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
+     * by importing an existing Fleet Membership resource.
+     * Attached Clusters created before the introduction of the Anthos Multi-Cloud
+     * API can be imported through this method.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + importAttachedCluster( + com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportAttachedClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Describes a specific
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.gkemulticloud.v1.AttachedCluster> + getAttachedCluster(com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAttachedClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
+     * resources on a given Google Cloud project and region.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse> + listAttachedClusters( + com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAttachedClustersMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a specific
+     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteAttachedCluster( + com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAttachedClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns information, such as supported Kubernetes versions, on a given
+     * Google Cloud location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.gkemulticloud.v1.AttachedServerConfig> + getAttachedServerConfig( + com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAttachedServerConfigMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Generates the install manifest to be installed on the target cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse> + generateAttachedClusterInstallManifest( + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGenerateAttachedClusterInstallManifestMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Generates an access token for a cluster agent.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse> + generateAttachedClusterAgentToken( + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGenerateAttachedClusterAgentTokenMethod(), getCallOptions()), + request); + } + } + + private static final int METHODID_CREATE_ATTACHED_CLUSTER = 0; + private static final int METHODID_UPDATE_ATTACHED_CLUSTER = 1; + private static final int METHODID_IMPORT_ATTACHED_CLUSTER = 2; + private static final int METHODID_GET_ATTACHED_CLUSTER = 3; + private static final int METHODID_LIST_ATTACHED_CLUSTERS = 4; + private static final int METHODID_DELETE_ATTACHED_CLUSTER = 5; + private static final int METHODID_GET_ATTACHED_SERVER_CONFIG = 6; + private static final int METHODID_GENERATE_ATTACHED_CLUSTER_INSTALL_MANIFEST = 7; + private static final int METHODID_GENERATE_ATTACHED_CLUSTER_AGENT_TOKEN = 8; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_ATTACHED_CLUSTER: + serviceImpl.createAttachedCluster( + (com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_ATTACHED_CLUSTER: + serviceImpl.updateAttachedCluster( + (com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_IMPORT_ATTACHED_CLUSTER: + serviceImpl.importAttachedCluster( + (com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_ATTACHED_CLUSTER: + serviceImpl.getAttachedCluster( + (com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_ATTACHED_CLUSTERS: + serviceImpl.listAttachedClusters( + (com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse>) + responseObserver); + break; + case METHODID_DELETE_ATTACHED_CLUSTER: + serviceImpl.deleteAttachedCluster( + (com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_ATTACHED_SERVER_CONFIG: + serviceImpl.getAttachedServerConfig( + (com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GENERATE_ATTACHED_CLUSTER_INSTALL_MANIFEST: + serviceImpl.generateAttachedClusterInstallManifest( + (com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.cloud.gkemulticloud.v1 + .GenerateAttachedClusterInstallManifestResponse>) + responseObserver); + break; + case METHODID_GENERATE_ATTACHED_CLUSTER_AGENT_TOKEN: + serviceImpl.generateAttachedClusterAgentToken( + (com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse>) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateAttachedClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_ATTACHED_CLUSTER))) + .addMethod( + getUpdateAttachedClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_ATTACHED_CLUSTER))) + .addMethod( + getImportAttachedClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest, + com.google.longrunning.Operation>(service, METHODID_IMPORT_ATTACHED_CLUSTER))) + .addMethod( + getGetAttachedClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest, + com.google.cloud.gkemulticloud.v1.AttachedCluster>( + service, METHODID_GET_ATTACHED_CLUSTER))) + .addMethod( + getListAttachedClustersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest, + com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse>( + service, METHODID_LIST_ATTACHED_CLUSTERS))) + .addMethod( + getDeleteAttachedClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_ATTACHED_CLUSTER))) + .addMethod( + getGetAttachedServerConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest, + com.google.cloud.gkemulticloud.v1.AttachedServerConfig>( + service, METHODID_GET_ATTACHED_SERVER_CONFIG))) + .addMethod( + getGenerateAttachedClusterInstallManifestMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest, + com.google.cloud.gkemulticloud.v1 + .GenerateAttachedClusterInstallManifestResponse>( + service, METHODID_GENERATE_ATTACHED_CLUSTER_INSTALL_MANIFEST))) + .addMethod( + getGenerateAttachedClusterAgentTokenMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest, + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse>( + service, METHODID_GENERATE_ATTACHED_CLUSTER_AGENT_TOKEN))) + .build(); + } + + private abstract static class AttachedClustersBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + AttachedClustersBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("AttachedClusters"); + } + } + + private static final class AttachedClustersFileDescriptorSupplier + extends AttachedClustersBaseDescriptorSupplier { + AttachedClustersFileDescriptorSupplier() {} + } + + private static final class AttachedClustersMethodDescriptorSupplier + extends AttachedClustersBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + AttachedClustersMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (AttachedClustersGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new AttachedClustersFileDescriptorSupplier()) + .addMethod(getCreateAttachedClusterMethod()) + .addMethod(getUpdateAttachedClusterMethod()) + .addMethod(getImportAttachedClusterMethod()) + .addMethod(getGetAttachedClusterMethod()) + .addMethod(getListAttachedClustersMethod()) + .addMethod(getDeleteAttachedClusterMethod()) + .addMethod(getGetAttachedServerConfigMethod()) + .addMethod(getGenerateAttachedClusterInstallManifestMethod()) + .addMethod(getGenerateAttachedClusterAgentTokenMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java b/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java new file mode 100644 index 000000000000..9a93cb6b2abe --- /dev/null +++ b/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java @@ -0,0 +1,2318 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.gkemulticloud.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * The AwsClusters API provides a single centrally managed service
+ * to create and manage Anthos clusters that run on AWS infrastructure.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/gkemulticloud/v1/aws_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class AwsClustersGrpc { + + private AwsClustersGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.cloud.gkemulticloud.v1.AwsClusters"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest, + com.google.longrunning.Operation> + getCreateAwsClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateAwsCluster", + requestType = com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest, + com.google.longrunning.Operation> + getCreateAwsClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest, + com.google.longrunning.Operation> + getCreateAwsClusterMethod; + if ((getCreateAwsClusterMethod = AwsClustersGrpc.getCreateAwsClusterMethod) == null) { + synchronized (AwsClustersGrpc.class) { + if ((getCreateAwsClusterMethod = AwsClustersGrpc.getCreateAwsClusterMethod) == null) { + AwsClustersGrpc.getCreateAwsClusterMethod = + getCreateAwsClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAwsCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AwsClustersMethodDescriptorSupplier("CreateAwsCluster")) + .build(); + } + } + } + return getCreateAwsClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest, + com.google.longrunning.Operation> + getUpdateAwsClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAwsCluster", + requestType = com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest, + com.google.longrunning.Operation> + getUpdateAwsClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest, + com.google.longrunning.Operation> + getUpdateAwsClusterMethod; + if ((getUpdateAwsClusterMethod = AwsClustersGrpc.getUpdateAwsClusterMethod) == null) { + synchronized (AwsClustersGrpc.class) { + if ((getUpdateAwsClusterMethod = AwsClustersGrpc.getUpdateAwsClusterMethod) == null) { + AwsClustersGrpc.getUpdateAwsClusterMethod = + getUpdateAwsClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAwsCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AwsClustersMethodDescriptorSupplier("UpdateAwsCluster")) + .build(); + } + } + } + return getUpdateAwsClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest, + com.google.cloud.gkemulticloud.v1.AwsCluster> + getGetAwsClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAwsCluster", + requestType = com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.AwsCluster.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest, + com.google.cloud.gkemulticloud.v1.AwsCluster> + getGetAwsClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest, + com.google.cloud.gkemulticloud.v1.AwsCluster> + getGetAwsClusterMethod; + if ((getGetAwsClusterMethod = AwsClustersGrpc.getGetAwsClusterMethod) == null) { + synchronized (AwsClustersGrpc.class) { + if ((getGetAwsClusterMethod = AwsClustersGrpc.getGetAwsClusterMethod) == null) { + AwsClustersGrpc.getGetAwsClusterMethod = + getGetAwsClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAwsCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance())) + .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("GetAwsCluster")) + .build(); + } + } + } + return getGetAwsClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest, + com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse> + getListAwsClustersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAwsClusters", + requestType = com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest, + com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse> + getListAwsClustersMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest, + com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse> + getListAwsClustersMethod; + if ((getListAwsClustersMethod = AwsClustersGrpc.getListAwsClustersMethod) == null) { + synchronized (AwsClustersGrpc.class) { + if ((getListAwsClustersMethod = AwsClustersGrpc.getListAwsClustersMethod) == null) { + AwsClustersGrpc.getListAwsClustersMethod = + getListAwsClustersMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAwsClusters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AwsClustersMethodDescriptorSupplier("ListAwsClusters")) + .build(); + } + } + } + return getListAwsClustersMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest, + com.google.longrunning.Operation> + getDeleteAwsClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAwsCluster", + requestType = com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest, + com.google.longrunning.Operation> + getDeleteAwsClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest, + com.google.longrunning.Operation> + getDeleteAwsClusterMethod; + if ((getDeleteAwsClusterMethod = AwsClustersGrpc.getDeleteAwsClusterMethod) == null) { + synchronized (AwsClustersGrpc.class) { + if ((getDeleteAwsClusterMethod = AwsClustersGrpc.getDeleteAwsClusterMethod) == null) { + AwsClustersGrpc.getDeleteAwsClusterMethod = + getDeleteAwsClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAwsCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AwsClustersMethodDescriptorSupplier("DeleteAwsCluster")) + .build(); + } + } + } + return getDeleteAwsClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest, + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse> + getGenerateAwsClusterAgentTokenMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GenerateAwsClusterAgentToken", + requestType = com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest, + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse> + getGenerateAwsClusterAgentTokenMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest, + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse> + getGenerateAwsClusterAgentTokenMethod; + if ((getGenerateAwsClusterAgentTokenMethod = + AwsClustersGrpc.getGenerateAwsClusterAgentTokenMethod) + == null) { + synchronized (AwsClustersGrpc.class) { + if ((getGenerateAwsClusterAgentTokenMethod = + AwsClustersGrpc.getGenerateAwsClusterAgentTokenMethod) + == null) { + AwsClustersGrpc.getGenerateAwsClusterAgentTokenMethod = + getGenerateAwsClusterAgentTokenMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GenerateAwsClusterAgentToken")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AwsClustersMethodDescriptorSupplier("GenerateAwsClusterAgentToken")) + .build(); + } + } + } + return getGenerateAwsClusterAgentTokenMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest, + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse> + getGenerateAwsAccessTokenMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GenerateAwsAccessToken", + requestType = com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest, + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse> + getGenerateAwsAccessTokenMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest, + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse> + getGenerateAwsAccessTokenMethod; + if ((getGenerateAwsAccessTokenMethod = AwsClustersGrpc.getGenerateAwsAccessTokenMethod) + == null) { + synchronized (AwsClustersGrpc.class) { + if ((getGenerateAwsAccessTokenMethod = AwsClustersGrpc.getGenerateAwsAccessTokenMethod) + == null) { + AwsClustersGrpc.getGenerateAwsAccessTokenMethod = + getGenerateAwsAccessTokenMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GenerateAwsAccessToken")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AwsClustersMethodDescriptorSupplier("GenerateAwsAccessToken")) + .build(); + } + } + } + return getGenerateAwsAccessTokenMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest, + com.google.longrunning.Operation> + getCreateAwsNodePoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateAwsNodePool", + requestType = com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest, + com.google.longrunning.Operation> + getCreateAwsNodePoolMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest, + com.google.longrunning.Operation> + getCreateAwsNodePoolMethod; + if ((getCreateAwsNodePoolMethod = AwsClustersGrpc.getCreateAwsNodePoolMethod) == null) { + synchronized (AwsClustersGrpc.class) { + if ((getCreateAwsNodePoolMethod = AwsClustersGrpc.getCreateAwsNodePoolMethod) == null) { + AwsClustersGrpc.getCreateAwsNodePoolMethod = + getCreateAwsNodePoolMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAwsNodePool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AwsClustersMethodDescriptorSupplier("CreateAwsNodePool")) + .build(); + } + } + } + return getCreateAwsNodePoolMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest, + com.google.longrunning.Operation> + getUpdateAwsNodePoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAwsNodePool", + requestType = com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest, + com.google.longrunning.Operation> + getUpdateAwsNodePoolMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest, + com.google.longrunning.Operation> + getUpdateAwsNodePoolMethod; + if ((getUpdateAwsNodePoolMethod = AwsClustersGrpc.getUpdateAwsNodePoolMethod) == null) { + synchronized (AwsClustersGrpc.class) { + if ((getUpdateAwsNodePoolMethod = AwsClustersGrpc.getUpdateAwsNodePoolMethod) == null) { + AwsClustersGrpc.getUpdateAwsNodePoolMethod = + getUpdateAwsNodePoolMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAwsNodePool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AwsClustersMethodDescriptorSupplier("UpdateAwsNodePool")) + .build(); + } + } + } + return getUpdateAwsNodePoolMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest, + com.google.longrunning.Operation> + getRollbackAwsNodePoolUpdateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RollbackAwsNodePoolUpdate", + requestType = com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest, + com.google.longrunning.Operation> + getRollbackAwsNodePoolUpdateMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest, + com.google.longrunning.Operation> + getRollbackAwsNodePoolUpdateMethod; + if ((getRollbackAwsNodePoolUpdateMethod = AwsClustersGrpc.getRollbackAwsNodePoolUpdateMethod) + == null) { + synchronized (AwsClustersGrpc.class) { + if ((getRollbackAwsNodePoolUpdateMethod = + AwsClustersGrpc.getRollbackAwsNodePoolUpdateMethod) + == null) { + AwsClustersGrpc.getRollbackAwsNodePoolUpdateMethod = + getRollbackAwsNodePoolUpdateMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "RollbackAwsNodePoolUpdate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AwsClustersMethodDescriptorSupplier("RollbackAwsNodePoolUpdate")) + .build(); + } + } + } + return getRollbackAwsNodePoolUpdateMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest, + com.google.cloud.gkemulticloud.v1.AwsNodePool> + getGetAwsNodePoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAwsNodePool", + requestType = com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.AwsNodePool.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest, + com.google.cloud.gkemulticloud.v1.AwsNodePool> + getGetAwsNodePoolMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest, + com.google.cloud.gkemulticloud.v1.AwsNodePool> + getGetAwsNodePoolMethod; + if ((getGetAwsNodePoolMethod = AwsClustersGrpc.getGetAwsNodePoolMethod) == null) { + synchronized (AwsClustersGrpc.class) { + if ((getGetAwsNodePoolMethod = AwsClustersGrpc.getGetAwsNodePoolMethod) == null) { + AwsClustersGrpc.getGetAwsNodePoolMethod = + getGetAwsNodePoolMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAwsNodePool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance())) + .setSchemaDescriptor( + new AwsClustersMethodDescriptorSupplier("GetAwsNodePool")) + .build(); + } + } + } + return getGetAwsNodePoolMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest, + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse> + getListAwsNodePoolsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAwsNodePools", + requestType = com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest, + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse> + getListAwsNodePoolsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest, + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse> + getListAwsNodePoolsMethod; + if ((getListAwsNodePoolsMethod = AwsClustersGrpc.getListAwsNodePoolsMethod) == null) { + synchronized (AwsClustersGrpc.class) { + if ((getListAwsNodePoolsMethod = AwsClustersGrpc.getListAwsNodePoolsMethod) == null) { + AwsClustersGrpc.getListAwsNodePoolsMethod = + getListAwsNodePoolsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAwsNodePools")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AwsClustersMethodDescriptorSupplier("ListAwsNodePools")) + .build(); + } + } + } + return getListAwsNodePoolsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest, + com.google.longrunning.Operation> + getDeleteAwsNodePoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAwsNodePool", + requestType = com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest, + com.google.longrunning.Operation> + getDeleteAwsNodePoolMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest, + com.google.longrunning.Operation> + getDeleteAwsNodePoolMethod; + if ((getDeleteAwsNodePoolMethod = AwsClustersGrpc.getDeleteAwsNodePoolMethod) == null) { + synchronized (AwsClustersGrpc.class) { + if ((getDeleteAwsNodePoolMethod = AwsClustersGrpc.getDeleteAwsNodePoolMethod) == null) { + AwsClustersGrpc.getDeleteAwsNodePoolMethod = + getDeleteAwsNodePoolMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAwsNodePool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AwsClustersMethodDescriptorSupplier("DeleteAwsNodePool")) + .build(); + } + } + } + return getDeleteAwsNodePoolMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest, + com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig> + getGetAwsOpenIdConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAwsOpenIdConfig", + requestType = com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest, + com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig> + getGetAwsOpenIdConfigMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest, + com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig> + getGetAwsOpenIdConfigMethod; + if ((getGetAwsOpenIdConfigMethod = AwsClustersGrpc.getGetAwsOpenIdConfigMethod) == null) { + synchronized (AwsClustersGrpc.class) { + if ((getGetAwsOpenIdConfigMethod = AwsClustersGrpc.getGetAwsOpenIdConfigMethod) == null) { + AwsClustersGrpc.getGetAwsOpenIdConfigMethod = + getGetAwsOpenIdConfigMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAwsOpenIdConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig + .getDefaultInstance())) + .setSchemaDescriptor( + new AwsClustersMethodDescriptorSupplier("GetAwsOpenIdConfig")) + .build(); + } + } + } + return getGetAwsOpenIdConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest, + com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys> + getGetAwsJsonWebKeysMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAwsJsonWebKeys", + requestType = com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest, + com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys> + getGetAwsJsonWebKeysMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest, + com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys> + getGetAwsJsonWebKeysMethod; + if ((getGetAwsJsonWebKeysMethod = AwsClustersGrpc.getGetAwsJsonWebKeysMethod) == null) { + synchronized (AwsClustersGrpc.class) { + if ((getGetAwsJsonWebKeysMethod = AwsClustersGrpc.getGetAwsJsonWebKeysMethod) == null) { + AwsClustersGrpc.getGetAwsJsonWebKeysMethod = + getGetAwsJsonWebKeysMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAwsJsonWebKeys")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys + .getDefaultInstance())) + .setSchemaDescriptor( + new AwsClustersMethodDescriptorSupplier("GetAwsJsonWebKeys")) + .build(); + } + } + } + return getGetAwsJsonWebKeysMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest, + com.google.cloud.gkemulticloud.v1.AwsServerConfig> + getGetAwsServerConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAwsServerConfig", + requestType = com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.AwsServerConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest, + com.google.cloud.gkemulticloud.v1.AwsServerConfig> + getGetAwsServerConfigMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest, + com.google.cloud.gkemulticloud.v1.AwsServerConfig> + getGetAwsServerConfigMethod; + if ((getGetAwsServerConfigMethod = AwsClustersGrpc.getGetAwsServerConfigMethod) == null) { + synchronized (AwsClustersGrpc.class) { + if ((getGetAwsServerConfigMethod = AwsClustersGrpc.getGetAwsServerConfigMethod) == null) { + AwsClustersGrpc.getGetAwsServerConfigMethod = + getGetAwsServerConfigMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAwsServerConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.AwsServerConfig + .getDefaultInstance())) + .setSchemaDescriptor( + new AwsClustersMethodDescriptorSupplier("GetAwsServerConfig")) + .build(); + } + } + } + return getGetAwsServerConfigMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static AwsClustersStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AwsClustersStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AwsClustersStub(channel, callOptions); + } + }; + return AwsClustersStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static AwsClustersBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AwsClustersBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AwsClustersBlockingStub(channel, callOptions); + } + }; + return AwsClustersBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static AwsClustersFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AwsClustersFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AwsClustersFutureStub(channel, callOptions); + } + }; + return AwsClustersFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * The AwsClusters API provides a single centrally managed service
+   * to create and manage Anthos clusters that run on AWS infrastructure.
+   * 
+ */ + public interface AsyncService { + + /** + * + * + *
+     * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
+     * resource on a given Google Cloud Platform project and region.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + default void createAwsCluster( + com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateAwsClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates an [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
+     * 
+ */ + default void updateAwsCluster( + com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateAwsClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Describes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
+     * resource.
+     * 
+ */ + default void getAwsCluster( + com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAwsClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
+     * on a given Google Cloud project and region.
+     * 
+ */ + default void listAwsClusters( + com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListAwsClustersMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
+     * resource.
+     * Fails if the cluster has one or more associated
+     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + default void deleteAwsCluster( + com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteAwsClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Generates an access token for a cluster agent.
+     * 
+ */ + default void generateAwsClusterAgentToken( + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGenerateAwsClusterAgentTokenMethod(), responseObserver); + } + + /** + * + * + *
+     * Generates a short-lived access token to authenticate to a given
+     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
+     * 
+ */ + default void generateAwsAccessToken( + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGenerateAwsAccessTokenMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool],
+     * attached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + default void createAwsNodePool( + com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateAwsNodePoolMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates an [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
+     * 
+ */ + default void updateAwsNodePool( + com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateAwsNodePoolMethod(), responseObserver); + } + + /** + * + * + *
+     * Rolls back a previously aborted or failed
+     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request.
+     * Makes no changes if the last update request successfully finished.
+     * If an update request is in progress, you cannot rollback the update.
+     * You must first cancel or let it finish unsuccessfully before you can
+     * rollback.
+     * 
+ */ + default void rollbackAwsNodePoolUpdate( + com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRollbackAwsNodePoolUpdateMethod(), responseObserver); + } + + /** + * + * + *
+     * Describes a specific
+     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.
+     * 
+ */ + default void getAwsNodePool( + com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAwsNodePoolMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
+     * resources on a given
+     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
+     * 
+ */ + default void listAwsNodePools( + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListAwsNodePoolsMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
+     * resource.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + default void deleteAwsNodePool( + com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteAwsNodePoolMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets the OIDC discovery document for the cluster.
+     * See the
+     * [OpenID Connect Discovery 1.0
+     * specification](https://openid.net/specs/openid-connect-discovery-1_0.html)
+     * for details.
+     * 
+ */ + default void getAwsOpenIdConfig( + com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAwsOpenIdConfigMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets the public component of the cluster signing keys in
+     * JSON Web Key format.
+     * 
+ */ + default void getAwsJsonWebKeys( + com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAwsJsonWebKeysMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns information, such as supported AWS regions and Kubernetes
+     * versions, on a given Google Cloud location.
+     * 
+ */ + default void getAwsServerConfig( + com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAwsServerConfigMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service AwsClusters. + * + *
+   * The AwsClusters API provides a single centrally managed service
+   * to create and manage Anthos clusters that run on AWS infrastructure.
+   * 
+ */ + public abstract static class AwsClustersImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return AwsClustersGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service AwsClusters. + * + *
+   * The AwsClusters API provides a single centrally managed service
+   * to create and manage Anthos clusters that run on AWS infrastructure.
+   * 
+ */ + public static final class AwsClustersStub + extends io.grpc.stub.AbstractAsyncStub { + private AwsClustersStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AwsClustersStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AwsClustersStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
+     * resource on a given Google Cloud Platform project and region.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public void createAwsCluster( + com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateAwsClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates an [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
+     * 
+ */ + public void updateAwsCluster( + com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAwsClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Describes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
+     * resource.
+     * 
+ */ + public void getAwsCluster( + com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAwsClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists all [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
+     * on a given Google Cloud project and region.
+     * 
+ */ + public void listAwsClusters( + com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAwsClustersMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
+     * resource.
+     * Fails if the cluster has one or more associated
+     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public void deleteAwsCluster( + com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAwsClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Generates an access token for a cluster agent.
+     * 
+ */ + public void generateAwsClusterAgentToken( + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGenerateAwsClusterAgentTokenMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Generates a short-lived access token to authenticate to a given
+     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
+     * 
+ */ + public void generateAwsAccessToken( + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGenerateAwsAccessTokenMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool],
+     * attached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public void createAwsNodePool( + com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateAwsNodePoolMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates an [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
+     * 
+ */ + public void updateAwsNodePool( + com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAwsNodePoolMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Rolls back a previously aborted or failed
+     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request.
+     * Makes no changes if the last update request successfully finished.
+     * If an update request is in progress, you cannot rollback the update.
+     * You must first cancel or let it finish unsuccessfully before you can
+     * rollback.
+     * 
+ */ + public void rollbackAwsNodePoolUpdate( + com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRollbackAwsNodePoolUpdateMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Describes a specific
+     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.
+     * 
+ */ + public void getAwsNodePool( + com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAwsNodePoolMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists all [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
+     * resources on a given
+     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
+     * 
+ */ + public void listAwsNodePools( + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAwsNodePoolsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
+     * resource.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public void deleteAwsNodePool( + com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAwsNodePoolMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets the OIDC discovery document for the cluster.
+     * See the
+     * [OpenID Connect Discovery 1.0
+     * specification](https://openid.net/specs/openid-connect-discovery-1_0.html)
+     * for details.
+     * 
+ */ + public void getAwsOpenIdConfig( + com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAwsOpenIdConfigMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets the public component of the cluster signing keys in
+     * JSON Web Key format.
+     * 
+ */ + public void getAwsJsonWebKeys( + com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAwsJsonWebKeysMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns information, such as supported AWS regions and Kubernetes
+     * versions, on a given Google Cloud location.
+     * 
+ */ + public void getAwsServerConfig( + com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAwsServerConfigMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service AwsClusters. + * + *
+   * The AwsClusters API provides a single centrally managed service
+   * to create and manage Anthos clusters that run on AWS infrastructure.
+   * 
+ */ + public static final class AwsClustersBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private AwsClustersBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AwsClustersBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AwsClustersBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
+     * resource on a given Google Cloud Platform project and region.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.longrunning.Operation createAwsCluster( + com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateAwsClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
+     * 
+ */ + public com.google.longrunning.Operation updateAwsCluster( + com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAwsClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Describes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
+     * resource.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.AwsCluster getAwsCluster( + com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAwsClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
+     * on a given Google Cloud project and region.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse listAwsClusters( + com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAwsClustersMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
+     * resource.
+     * Fails if the cluster has one or more associated
+     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.longrunning.Operation deleteAwsCluster( + com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAwsClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Generates an access token for a cluster agent.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse + generateAwsClusterAgentToken( + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGenerateAwsClusterAgentTokenMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Generates a short-lived access token to authenticate to a given
+     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse generateAwsAccessToken( + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGenerateAwsAccessTokenMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool],
+     * attached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.longrunning.Operation createAwsNodePool( + com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateAwsNodePoolMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
+     * 
+ */ + public com.google.longrunning.Operation updateAwsNodePool( + com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAwsNodePoolMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Rolls back a previously aborted or failed
+     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request.
+     * Makes no changes if the last update request successfully finished.
+     * If an update request is in progress, you cannot rollback the update.
+     * You must first cancel or let it finish unsuccessfully before you can
+     * rollback.
+     * 
+ */ + public com.google.longrunning.Operation rollbackAwsNodePoolUpdate( + com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRollbackAwsNodePoolUpdateMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Describes a specific
+     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.AwsNodePool getAwsNodePool( + com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAwsNodePoolMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
+     * resources on a given
+     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse listAwsNodePools( + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAwsNodePoolsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
+     * resource.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.longrunning.Operation deleteAwsNodePool( + com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAwsNodePoolMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the OIDC discovery document for the cluster.
+     * See the
+     * [OpenID Connect Discovery 1.0
+     * specification](https://openid.net/specs/openid-connect-discovery-1_0.html)
+     * for details.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig getAwsOpenIdConfig( + com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAwsOpenIdConfigMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the public component of the cluster signing keys in
+     * JSON Web Key format.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys getAwsJsonWebKeys( + com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAwsJsonWebKeysMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns information, such as supported AWS regions and Kubernetes
+     * versions, on a given Google Cloud location.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.AwsServerConfig getAwsServerConfig( + com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAwsServerConfigMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service AwsClusters. + * + *
+   * The AwsClusters API provides a single centrally managed service
+   * to create and manage Anthos clusters that run on AWS infrastructure.
+   * 
+ */ + public static final class AwsClustersFutureStub + extends io.grpc.stub.AbstractFutureStub { + private AwsClustersFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AwsClustersFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AwsClustersFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
+     * resource on a given Google Cloud Platform project and region.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createAwsCluster(com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateAwsClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates an [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateAwsCluster(com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAwsClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Describes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
+     * resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.gkemulticloud.v1.AwsCluster> + getAwsCluster(com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAwsClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
+     * on a given Google Cloud project and region.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse> + listAwsClusters(com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAwsClustersMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
+     * resource.
+     * Fails if the cluster has one or more associated
+     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteAwsCluster(com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAwsClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Generates an access token for a cluster agent.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse> + generateAwsClusterAgentToken( + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGenerateAwsClusterAgentTokenMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Generates a short-lived access token to authenticate to a given
+     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse> + generateAwsAccessToken( + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGenerateAwsAccessTokenMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool],
+     * attached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createAwsNodePool(com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateAwsNodePoolMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates an [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateAwsNodePool(com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAwsNodePoolMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Rolls back a previously aborted or failed
+     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request.
+     * Makes no changes if the last update request successfully finished.
+     * If an update request is in progress, you cannot rollback the update.
+     * You must first cancel or let it finish unsuccessfully before you can
+     * rollback.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + rollbackAwsNodePoolUpdate( + com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRollbackAwsNodePoolUpdateMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Describes a specific
+     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.gkemulticloud.v1.AwsNodePool> + getAwsNodePool(com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAwsNodePoolMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
+     * resources on a given
+     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse> + listAwsNodePools(com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAwsNodePoolsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
+     * resource.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteAwsNodePool(com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAwsNodePoolMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets the OIDC discovery document for the cluster.
+     * See the
+     * [OpenID Connect Discovery 1.0
+     * specification](https://openid.net/specs/openid-connect-discovery-1_0.html)
+     * for details.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig> + getAwsOpenIdConfig(com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAwsOpenIdConfigMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets the public component of the cluster signing keys in
+     * JSON Web Key format.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys> + getAwsJsonWebKeys(com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAwsJsonWebKeysMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns information, such as supported AWS regions and Kubernetes
+     * versions, on a given Google Cloud location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.gkemulticloud.v1.AwsServerConfig> + getAwsServerConfig(com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAwsServerConfigMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_AWS_CLUSTER = 0; + private static final int METHODID_UPDATE_AWS_CLUSTER = 1; + private static final int METHODID_GET_AWS_CLUSTER = 2; + private static final int METHODID_LIST_AWS_CLUSTERS = 3; + private static final int METHODID_DELETE_AWS_CLUSTER = 4; + private static final int METHODID_GENERATE_AWS_CLUSTER_AGENT_TOKEN = 5; + private static final int METHODID_GENERATE_AWS_ACCESS_TOKEN = 6; + private static final int METHODID_CREATE_AWS_NODE_POOL = 7; + private static final int METHODID_UPDATE_AWS_NODE_POOL = 8; + private static final int METHODID_ROLLBACK_AWS_NODE_POOL_UPDATE = 9; + private static final int METHODID_GET_AWS_NODE_POOL = 10; + private static final int METHODID_LIST_AWS_NODE_POOLS = 11; + private static final int METHODID_DELETE_AWS_NODE_POOL = 12; + private static final int METHODID_GET_AWS_OPEN_ID_CONFIG = 13; + private static final int METHODID_GET_AWS_JSON_WEB_KEYS = 14; + private static final int METHODID_GET_AWS_SERVER_CONFIG = 15; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_AWS_CLUSTER: + serviceImpl.createAwsCluster( + (com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_AWS_CLUSTER: + serviceImpl.updateAwsCluster( + (com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_AWS_CLUSTER: + serviceImpl.getAwsCluster( + (com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_AWS_CLUSTERS: + serviceImpl.listAwsClusters( + (com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse>) + responseObserver); + break; + case METHODID_DELETE_AWS_CLUSTER: + serviceImpl.deleteAwsCluster( + (com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GENERATE_AWS_CLUSTER_AGENT_TOKEN: + serviceImpl.generateAwsClusterAgentToken( + (com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse>) + responseObserver); + break; + case METHODID_GENERATE_AWS_ACCESS_TOKEN: + serviceImpl.generateAwsAccessToken( + (com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse>) + responseObserver); + break; + case METHODID_CREATE_AWS_NODE_POOL: + serviceImpl.createAwsNodePool( + (com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_AWS_NODE_POOL: + serviceImpl.updateAwsNodePool( + (com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ROLLBACK_AWS_NODE_POOL_UPDATE: + serviceImpl.rollbackAwsNodePoolUpdate( + (com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_AWS_NODE_POOL: + serviceImpl.getAwsNodePool( + (com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_AWS_NODE_POOLS: + serviceImpl.listAwsNodePools( + (com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse>) + responseObserver); + break; + case METHODID_DELETE_AWS_NODE_POOL: + serviceImpl.deleteAwsNodePool( + (com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_AWS_OPEN_ID_CONFIG: + serviceImpl.getAwsOpenIdConfig( + (com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_AWS_JSON_WEB_KEYS: + serviceImpl.getAwsJsonWebKeys( + (com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_AWS_SERVER_CONFIG: + serviceImpl.getAwsServerConfig( + (com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateAwsClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_AWS_CLUSTER))) + .addMethod( + getUpdateAwsClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_AWS_CLUSTER))) + .addMethod( + getGetAwsClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest, + com.google.cloud.gkemulticloud.v1.AwsCluster>( + service, METHODID_GET_AWS_CLUSTER))) + .addMethod( + getListAwsClustersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest, + com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse>( + service, METHODID_LIST_AWS_CLUSTERS))) + .addMethod( + getDeleteAwsClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_AWS_CLUSTER))) + .addMethod( + getGenerateAwsClusterAgentTokenMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest, + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse>( + service, METHODID_GENERATE_AWS_CLUSTER_AGENT_TOKEN))) + .addMethod( + getGenerateAwsAccessTokenMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest, + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse>( + service, METHODID_GENERATE_AWS_ACCESS_TOKEN))) + .addMethod( + getCreateAwsNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_AWS_NODE_POOL))) + .addMethod( + getUpdateAwsNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_AWS_NODE_POOL))) + .addMethod( + getRollbackAwsNodePoolUpdateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest, + com.google.longrunning.Operation>( + service, METHODID_ROLLBACK_AWS_NODE_POOL_UPDATE))) + .addMethod( + getGetAwsNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest, + com.google.cloud.gkemulticloud.v1.AwsNodePool>( + service, METHODID_GET_AWS_NODE_POOL))) + .addMethod( + getListAwsNodePoolsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest, + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse>( + service, METHODID_LIST_AWS_NODE_POOLS))) + .addMethod( + getDeleteAwsNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_AWS_NODE_POOL))) + .addMethod( + getGetAwsOpenIdConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest, + com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig>( + service, METHODID_GET_AWS_OPEN_ID_CONFIG))) + .addMethod( + getGetAwsJsonWebKeysMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest, + com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys>( + service, METHODID_GET_AWS_JSON_WEB_KEYS))) + .addMethod( + getGetAwsServerConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest, + com.google.cloud.gkemulticloud.v1.AwsServerConfig>( + service, METHODID_GET_AWS_SERVER_CONFIG))) + .build(); + } + + private abstract static class AwsClustersBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + AwsClustersBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("AwsClusters"); + } + } + + private static final class AwsClustersFileDescriptorSupplier + extends AwsClustersBaseDescriptorSupplier { + AwsClustersFileDescriptorSupplier() {} + } + + private static final class AwsClustersMethodDescriptorSupplier + extends AwsClustersBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + AwsClustersMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (AwsClustersGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new AwsClustersFileDescriptorSupplier()) + .addMethod(getCreateAwsClusterMethod()) + .addMethod(getUpdateAwsClusterMethod()) + .addMethod(getGetAwsClusterMethod()) + .addMethod(getListAwsClustersMethod()) + .addMethod(getDeleteAwsClusterMethod()) + .addMethod(getGenerateAwsClusterAgentTokenMethod()) + .addMethod(getGenerateAwsAccessTokenMethod()) + .addMethod(getCreateAwsNodePoolMethod()) + .addMethod(getUpdateAwsNodePoolMethod()) + .addMethod(getRollbackAwsNodePoolUpdateMethod()) + .addMethod(getGetAwsNodePoolMethod()) + .addMethod(getListAwsNodePoolsMethod()) + .addMethod(getDeleteAwsNodePoolMethod()) + .addMethod(getGetAwsOpenIdConfigMethod()) + .addMethod(getGetAwsJsonWebKeysMethod()) + .addMethod(getGetAwsServerConfigMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java b/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java new file mode 100644 index 000000000000..5f4f0f9fe152 --- /dev/null +++ b/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java @@ -0,0 +1,2733 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.gkemulticloud.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * The AzureClusters API provides a single centrally managed service
+ * to create and manage Anthos clusters that run on Azure infrastructure.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/gkemulticloud/v1/azure_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class AzureClustersGrpc { + + private AzureClustersGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.cloud.gkemulticloud.v1.AzureClusters"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest, + com.google.longrunning.Operation> + getCreateAzureClientMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateAzureClient", + requestType = com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest, + com.google.longrunning.Operation> + getCreateAzureClientMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest, + com.google.longrunning.Operation> + getCreateAzureClientMethod; + if ((getCreateAzureClientMethod = AzureClustersGrpc.getCreateAzureClientMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getCreateAzureClientMethod = AzureClustersGrpc.getCreateAzureClientMethod) == null) { + AzureClustersGrpc.getCreateAzureClientMethod = + getCreateAzureClientMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAzureClient")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AzureClustersMethodDescriptorSupplier("CreateAzureClient")) + .build(); + } + } + } + return getCreateAzureClientMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAzureClientRequest, + com.google.cloud.gkemulticloud.v1.AzureClient> + getGetAzureClientMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAzureClient", + requestType = com.google.cloud.gkemulticloud.v1.GetAzureClientRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.AzureClient.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAzureClientRequest, + com.google.cloud.gkemulticloud.v1.AzureClient> + getGetAzureClientMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAzureClientRequest, + com.google.cloud.gkemulticloud.v1.AzureClient> + getGetAzureClientMethod; + if ((getGetAzureClientMethod = AzureClustersGrpc.getGetAzureClientMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getGetAzureClientMethod = AzureClustersGrpc.getGetAzureClientMethod) == null) { + AzureClustersGrpc.getGetAzureClientMethod = + getGetAzureClientMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAzureClient")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GetAzureClientRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.AzureClient.getDefaultInstance())) + .setSchemaDescriptor( + new AzureClustersMethodDescriptorSupplier("GetAzureClient")) + .build(); + } + } + } + return getGetAzureClientMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest, + com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse> + getListAzureClientsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAzureClients", + requestType = com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest, + com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse> + getListAzureClientsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest, + com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse> + getListAzureClientsMethod; + if ((getListAzureClientsMethod = AzureClustersGrpc.getListAzureClientsMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getListAzureClientsMethod = AzureClustersGrpc.getListAzureClientsMethod) == null) { + AzureClustersGrpc.getListAzureClientsMethod = + getListAzureClientsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAzureClients")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AzureClustersMethodDescriptorSupplier("ListAzureClients")) + .build(); + } + } + } + return getListAzureClientsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest, + com.google.longrunning.Operation> + getDeleteAzureClientMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAzureClient", + requestType = com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest, + com.google.longrunning.Operation> + getDeleteAzureClientMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest, + com.google.longrunning.Operation> + getDeleteAzureClientMethod; + if ((getDeleteAzureClientMethod = AzureClustersGrpc.getDeleteAzureClientMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getDeleteAzureClientMethod = AzureClustersGrpc.getDeleteAzureClientMethod) == null) { + AzureClustersGrpc.getDeleteAzureClientMethod = + getDeleteAzureClientMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAzureClient")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AzureClustersMethodDescriptorSupplier("DeleteAzureClient")) + .build(); + } + } + } + return getDeleteAzureClientMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest, + com.google.longrunning.Operation> + getCreateAzureClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateAzureCluster", + requestType = com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest, + com.google.longrunning.Operation> + getCreateAzureClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest, + com.google.longrunning.Operation> + getCreateAzureClusterMethod; + if ((getCreateAzureClusterMethod = AzureClustersGrpc.getCreateAzureClusterMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getCreateAzureClusterMethod = AzureClustersGrpc.getCreateAzureClusterMethod) == null) { + AzureClustersGrpc.getCreateAzureClusterMethod = + getCreateAzureClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAzureCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AzureClustersMethodDescriptorSupplier("CreateAzureCluster")) + .build(); + } + } + } + return getCreateAzureClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest, + com.google.longrunning.Operation> + getUpdateAzureClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAzureCluster", + requestType = com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest, + com.google.longrunning.Operation> + getUpdateAzureClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest, + com.google.longrunning.Operation> + getUpdateAzureClusterMethod; + if ((getUpdateAzureClusterMethod = AzureClustersGrpc.getUpdateAzureClusterMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getUpdateAzureClusterMethod = AzureClustersGrpc.getUpdateAzureClusterMethod) == null) { + AzureClustersGrpc.getUpdateAzureClusterMethod = + getUpdateAzureClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAzureCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AzureClustersMethodDescriptorSupplier("UpdateAzureCluster")) + .build(); + } + } + } + return getUpdateAzureClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest, + com.google.cloud.gkemulticloud.v1.AzureCluster> + getGetAzureClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAzureCluster", + requestType = com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.AzureCluster.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest, + com.google.cloud.gkemulticloud.v1.AzureCluster> + getGetAzureClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest, + com.google.cloud.gkemulticloud.v1.AzureCluster> + getGetAzureClusterMethod; + if ((getGetAzureClusterMethod = AzureClustersGrpc.getGetAzureClusterMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getGetAzureClusterMethod = AzureClustersGrpc.getGetAzureClusterMethod) == null) { + AzureClustersGrpc.getGetAzureClusterMethod = + getGetAzureClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAzureCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance())) + .setSchemaDescriptor( + new AzureClustersMethodDescriptorSupplier("GetAzureCluster")) + .build(); + } + } + } + return getGetAzureClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest, + com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse> + getListAzureClustersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAzureClusters", + requestType = com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest, + com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse> + getListAzureClustersMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest, + com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse> + getListAzureClustersMethod; + if ((getListAzureClustersMethod = AzureClustersGrpc.getListAzureClustersMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getListAzureClustersMethod = AzureClustersGrpc.getListAzureClustersMethod) == null) { + AzureClustersGrpc.getListAzureClustersMethod = + getListAzureClustersMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAzureClusters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AzureClustersMethodDescriptorSupplier("ListAzureClusters")) + .build(); + } + } + } + return getListAzureClustersMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest, + com.google.longrunning.Operation> + getDeleteAzureClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAzureCluster", + requestType = com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest, + com.google.longrunning.Operation> + getDeleteAzureClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest, + com.google.longrunning.Operation> + getDeleteAzureClusterMethod; + if ((getDeleteAzureClusterMethod = AzureClustersGrpc.getDeleteAzureClusterMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getDeleteAzureClusterMethod = AzureClustersGrpc.getDeleteAzureClusterMethod) == null) { + AzureClustersGrpc.getDeleteAzureClusterMethod = + getDeleteAzureClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAzureCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AzureClustersMethodDescriptorSupplier("DeleteAzureCluster")) + .build(); + } + } + } + return getDeleteAzureClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest, + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse> + getGenerateAzureClusterAgentTokenMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GenerateAzureClusterAgentToken", + requestType = com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest, + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse> + getGenerateAzureClusterAgentTokenMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest, + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse> + getGenerateAzureClusterAgentTokenMethod; + if ((getGenerateAzureClusterAgentTokenMethod = + AzureClustersGrpc.getGenerateAzureClusterAgentTokenMethod) + == null) { + synchronized (AzureClustersGrpc.class) { + if ((getGenerateAzureClusterAgentTokenMethod = + AzureClustersGrpc.getGenerateAzureClusterAgentTokenMethod) + == null) { + AzureClustersGrpc.getGenerateAzureClusterAgentTokenMethod = + getGenerateAzureClusterAgentTokenMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GenerateAzureClusterAgentToken")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1 + .GenerateAzureClusterAgentTokenRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1 + .GenerateAzureClusterAgentTokenResponse.getDefaultInstance())) + .setSchemaDescriptor( + new AzureClustersMethodDescriptorSupplier( + "GenerateAzureClusterAgentToken")) + .build(); + } + } + } + return getGenerateAzureClusterAgentTokenMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest, + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse> + getGenerateAzureAccessTokenMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GenerateAzureAccessToken", + requestType = com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest, + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse> + getGenerateAzureAccessTokenMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest, + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse> + getGenerateAzureAccessTokenMethod; + if ((getGenerateAzureAccessTokenMethod = AzureClustersGrpc.getGenerateAzureAccessTokenMethod) + == null) { + synchronized (AzureClustersGrpc.class) { + if ((getGenerateAzureAccessTokenMethod = + AzureClustersGrpc.getGenerateAzureAccessTokenMethod) + == null) { + AzureClustersGrpc.getGenerateAzureAccessTokenMethod = + getGenerateAzureAccessTokenMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GenerateAzureAccessToken")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AzureClustersMethodDescriptorSupplier("GenerateAzureAccessToken")) + .build(); + } + } + } + return getGenerateAzureAccessTokenMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest, + com.google.longrunning.Operation> + getCreateAzureNodePoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateAzureNodePool", + requestType = com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest, + com.google.longrunning.Operation> + getCreateAzureNodePoolMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest, + com.google.longrunning.Operation> + getCreateAzureNodePoolMethod; + if ((getCreateAzureNodePoolMethod = AzureClustersGrpc.getCreateAzureNodePoolMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getCreateAzureNodePoolMethod = AzureClustersGrpc.getCreateAzureNodePoolMethod) + == null) { + AzureClustersGrpc.getCreateAzureNodePoolMethod = + getCreateAzureNodePoolMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateAzureNodePool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AzureClustersMethodDescriptorSupplier("CreateAzureNodePool")) + .build(); + } + } + } + return getCreateAzureNodePoolMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest, + com.google.longrunning.Operation> + getUpdateAzureNodePoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAzureNodePool", + requestType = com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest, + com.google.longrunning.Operation> + getUpdateAzureNodePoolMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest, + com.google.longrunning.Operation> + getUpdateAzureNodePoolMethod; + if ((getUpdateAzureNodePoolMethod = AzureClustersGrpc.getUpdateAzureNodePoolMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getUpdateAzureNodePoolMethod = AzureClustersGrpc.getUpdateAzureNodePoolMethod) + == null) { + AzureClustersGrpc.getUpdateAzureNodePoolMethod = + getUpdateAzureNodePoolMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateAzureNodePool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AzureClustersMethodDescriptorSupplier("UpdateAzureNodePool")) + .build(); + } + } + } + return getUpdateAzureNodePoolMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest, + com.google.cloud.gkemulticloud.v1.AzureNodePool> + getGetAzureNodePoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAzureNodePool", + requestType = com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.AzureNodePool.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest, + com.google.cloud.gkemulticloud.v1.AzureNodePool> + getGetAzureNodePoolMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest, + com.google.cloud.gkemulticloud.v1.AzureNodePool> + getGetAzureNodePoolMethod; + if ((getGetAzureNodePoolMethod = AzureClustersGrpc.getGetAzureNodePoolMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getGetAzureNodePoolMethod = AzureClustersGrpc.getGetAzureNodePoolMethod) == null) { + AzureClustersGrpc.getGetAzureNodePoolMethod = + getGetAzureNodePoolMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAzureNodePool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance())) + .setSchemaDescriptor( + new AzureClustersMethodDescriptorSupplier("GetAzureNodePool")) + .build(); + } + } + } + return getGetAzureNodePoolMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest, + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse> + getListAzureNodePoolsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAzureNodePools", + requestType = com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest, + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse> + getListAzureNodePoolsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest, + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse> + getListAzureNodePoolsMethod; + if ((getListAzureNodePoolsMethod = AzureClustersGrpc.getListAzureNodePoolsMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getListAzureNodePoolsMethod = AzureClustersGrpc.getListAzureNodePoolsMethod) == null) { + AzureClustersGrpc.getListAzureNodePoolsMethod = + getListAzureNodePoolsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAzureNodePools")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AzureClustersMethodDescriptorSupplier("ListAzureNodePools")) + .build(); + } + } + } + return getListAzureNodePoolsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest, + com.google.longrunning.Operation> + getDeleteAzureNodePoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAzureNodePool", + requestType = com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest, + com.google.longrunning.Operation> + getDeleteAzureNodePoolMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest, + com.google.longrunning.Operation> + getDeleteAzureNodePoolMethod; + if ((getDeleteAzureNodePoolMethod = AzureClustersGrpc.getDeleteAzureNodePoolMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getDeleteAzureNodePoolMethod = AzureClustersGrpc.getDeleteAzureNodePoolMethod) + == null) { + AzureClustersGrpc.getDeleteAzureNodePoolMethod = + getDeleteAzureNodePoolMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteAzureNodePool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AzureClustersMethodDescriptorSupplier("DeleteAzureNodePool")) + .build(); + } + } + } + return getDeleteAzureNodePoolMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest, + com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig> + getGetAzureOpenIdConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAzureOpenIdConfig", + requestType = com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest, + com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig> + getGetAzureOpenIdConfigMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest, + com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig> + getGetAzureOpenIdConfigMethod; + if ((getGetAzureOpenIdConfigMethod = AzureClustersGrpc.getGetAzureOpenIdConfigMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getGetAzureOpenIdConfigMethod = AzureClustersGrpc.getGetAzureOpenIdConfigMethod) + == null) { + AzureClustersGrpc.getGetAzureOpenIdConfigMethod = + getGetAzureOpenIdConfigMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetAzureOpenIdConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig + .getDefaultInstance())) + .setSchemaDescriptor( + new AzureClustersMethodDescriptorSupplier("GetAzureOpenIdConfig")) + .build(); + } + } + } + return getGetAzureOpenIdConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest, + com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys> + getGetAzureJsonWebKeysMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAzureJsonWebKeys", + requestType = com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest, + com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys> + getGetAzureJsonWebKeysMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest, + com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys> + getGetAzureJsonWebKeysMethod; + if ((getGetAzureJsonWebKeysMethod = AzureClustersGrpc.getGetAzureJsonWebKeysMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getGetAzureJsonWebKeysMethod = AzureClustersGrpc.getGetAzureJsonWebKeysMethod) + == null) { + AzureClustersGrpc.getGetAzureJsonWebKeysMethod = + getGetAzureJsonWebKeysMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetAzureJsonWebKeys")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys + .getDefaultInstance())) + .setSchemaDescriptor( + new AzureClustersMethodDescriptorSupplier("GetAzureJsonWebKeys")) + .build(); + } + } + } + return getGetAzureJsonWebKeysMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest, + com.google.cloud.gkemulticloud.v1.AzureServerConfig> + getGetAzureServerConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAzureServerConfig", + requestType = com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest.class, + responseType = com.google.cloud.gkemulticloud.v1.AzureServerConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest, + com.google.cloud.gkemulticloud.v1.AzureServerConfig> + getGetAzureServerConfigMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest, + com.google.cloud.gkemulticloud.v1.AzureServerConfig> + getGetAzureServerConfigMethod; + if ((getGetAzureServerConfigMethod = AzureClustersGrpc.getGetAzureServerConfigMethod) == null) { + synchronized (AzureClustersGrpc.class) { + if ((getGetAzureServerConfigMethod = AzureClustersGrpc.getGetAzureServerConfigMethod) + == null) { + AzureClustersGrpc.getGetAzureServerConfigMethod = + getGetAzureServerConfigMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetAzureServerConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.gkemulticloud.v1.AzureServerConfig + .getDefaultInstance())) + .setSchemaDescriptor( + new AzureClustersMethodDescriptorSupplier("GetAzureServerConfig")) + .build(); + } + } + } + return getGetAzureServerConfigMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static AzureClustersStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AzureClustersStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AzureClustersStub(channel, callOptions); + } + }; + return AzureClustersStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static AzureClustersBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AzureClustersBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AzureClustersBlockingStub(channel, callOptions); + } + }; + return AzureClustersBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static AzureClustersFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AzureClustersFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AzureClustersFutureStub(channel, callOptions); + } + }; + return AzureClustersFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * The AzureClusters API provides a single centrally managed service
+   * to create and manage Anthos clusters that run on Azure infrastructure.
+   * 
+ */ + public interface AsyncService { + + /** + * + * + *
+     * Creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
+     * resource on a given Google Cloud project and region.
+     * `AzureClient` resources hold client authentication
+     * information needed by the Anthos Multicloud API to manage Azure resources
+     * on your Azure subscription on your behalf.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + default void createAzureClient( + com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateAzureClientMethod(), responseObserver); + } + + /** + * + * + *
+     * Describes a specific
+     * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.
+     * 
+ */ + default void getAzureClient( + com.google.cloud.gkemulticloud.v1.GetAzureClientRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAzureClientMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
+     * resources on a given Google Cloud project and region.
+     * 
+ */ + default void listAzureClients( + com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListAzureClientsMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
+     * resource.
+     * If the client is used by one or more clusters, deletion will
+     * fail and a `FAILED_PRECONDITION` error will be returned.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + default void deleteAzureClient( + com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteAzureClientMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
+     * resource on a given Google Cloud Platform project and region.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + default void createAzureCluster( + com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateAzureClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates an [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
+     * 
+ */ + default void updateAzureCluster( + com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateAzureClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Describes a specific
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
+     * 
+ */ + default void getAzureCluster( + com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAzureClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
+     * resources on a given Google Cloud project and region.
+     * 
+ */ + default void listAzureClusters( + com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListAzureClustersMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a specific
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
+     * Fails if the cluster has one or more associated
+     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + default void deleteAzureCluster( + com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteAzureClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Generates an access token for a cluster agent.
+     * 
+ */ + default void generateAzureClusterAgentToken( + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGenerateAzureClusterAgentTokenMethod(), responseObserver); + } + + /** + * + * + *
+     * Generates a short-lived access token to authenticate to a given
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
+     * 
+ */ + default void generateAzureAccessToken( + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGenerateAzureAccessTokenMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool],
+     * attached to a given
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + default void createAzureNodePool( + com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateAzureNodePoolMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates an [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
+     * 
+ */ + default void updateAzureNodePool( + com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateAzureNodePoolMethod(), responseObserver); + } + + /** + * + * + *
+     * Describes a specific
+     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
+     * 
+ */ + default void getAzureNodePool( + com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAzureNodePoolMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
+     * resources on a given
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
+     * 
+ */ + default void listAzureNodePools( + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListAzureNodePoolsMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a specific
+     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + default void deleteAzureNodePool( + com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteAzureNodePoolMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets the OIDC discovery document for the cluster.
+     * See the
+     * [OpenID Connect Discovery 1.0
+     * specification](https://openid.net/specs/openid-connect-discovery-1_0.html)
+     * for details.
+     * 
+ */ + default void getAzureOpenIdConfig( + com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAzureOpenIdConfigMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets the public component of the cluster signing keys in
+     * JSON Web Key format.
+     * 
+ */ + default void getAzureJsonWebKeys( + com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAzureJsonWebKeysMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns information, such as supported Azure regions and Kubernetes
+     * versions, on a given Google Cloud location.
+     * 
+ */ + default void getAzureServerConfig( + com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAzureServerConfigMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service AzureClusters. + * + *
+   * The AzureClusters API provides a single centrally managed service
+   * to create and manage Anthos clusters that run on Azure infrastructure.
+   * 
+ */ + public abstract static class AzureClustersImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return AzureClustersGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service AzureClusters. + * + *
+   * The AzureClusters API provides a single centrally managed service
+   * to create and manage Anthos clusters that run on Azure infrastructure.
+   * 
+ */ + public static final class AzureClustersStub + extends io.grpc.stub.AbstractAsyncStub { + private AzureClustersStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AzureClustersStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AzureClustersStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
+     * resource on a given Google Cloud project and region.
+     * `AzureClient` resources hold client authentication
+     * information needed by the Anthos Multicloud API to manage Azure resources
+     * on your Azure subscription on your behalf.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public void createAzureClient( + com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateAzureClientMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Describes a specific
+     * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.
+     * 
+ */ + public void getAzureClient( + com.google.cloud.gkemulticloud.v1.GetAzureClientRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAzureClientMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists all [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
+     * resources on a given Google Cloud project and region.
+     * 
+ */ + public void listAzureClients( + com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAzureClientsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
+     * resource.
+     * If the client is used by one or more clusters, deletion will
+     * fail and a `FAILED_PRECONDITION` error will be returned.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public void deleteAzureClient( + com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAzureClientMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
+     * resource on a given Google Cloud Platform project and region.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public void createAzureCluster( + com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateAzureClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates an [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
+     * 
+ */ + public void updateAzureCluster( + com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAzureClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Describes a specific
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
+     * 
+ */ + public void getAzureCluster( + com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAzureClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
+     * resources on a given Google Cloud project and region.
+     * 
+ */ + public void listAzureClusters( + com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAzureClustersMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a specific
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
+     * Fails if the cluster has one or more associated
+     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public void deleteAzureCluster( + com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAzureClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Generates an access token for a cluster agent.
+     * 
+ */ + public void generateAzureClusterAgentToken( + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGenerateAzureClusterAgentTokenMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Generates a short-lived access token to authenticate to a given
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
+     * 
+ */ + public void generateAzureAccessToken( + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGenerateAzureAccessTokenMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool],
+     * attached to a given
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public void createAzureNodePool( + com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateAzureNodePoolMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates an [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
+     * 
+ */ + public void updateAzureNodePool( + com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAzureNodePoolMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Describes a specific
+     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
+     * 
+ */ + public void getAzureNodePool( + com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAzureNodePoolMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
+     * resources on a given
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
+     * 
+ */ + public void listAzureNodePools( + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAzureNodePoolsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a specific
+     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public void deleteAzureNodePool( + com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAzureNodePoolMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets the OIDC discovery document for the cluster.
+     * See the
+     * [OpenID Connect Discovery 1.0
+     * specification](https://openid.net/specs/openid-connect-discovery-1_0.html)
+     * for details.
+     * 
+ */ + public void getAzureOpenIdConfig( + com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAzureOpenIdConfigMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets the public component of the cluster signing keys in
+     * JSON Web Key format.
+     * 
+ */ + public void getAzureJsonWebKeys( + com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAzureJsonWebKeysMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns information, such as supported Azure regions and Kubernetes
+     * versions, on a given Google Cloud location.
+     * 
+ */ + public void getAzureServerConfig( + com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAzureServerConfigMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service AzureClusters. + * + *
+   * The AzureClusters API provides a single centrally managed service
+   * to create and manage Anthos clusters that run on Azure infrastructure.
+   * 
+ */ + public static final class AzureClustersBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private AzureClustersBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AzureClustersBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AzureClustersBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
+     * resource on a given Google Cloud project and region.
+     * `AzureClient` resources hold client authentication
+     * information needed by the Anthos Multicloud API to manage Azure resources
+     * on your Azure subscription on your behalf.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.longrunning.Operation createAzureClient( + com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateAzureClientMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Describes a specific
+     * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.AzureClient getAzureClient( + com.google.cloud.gkemulticloud.v1.GetAzureClientRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAzureClientMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
+     * resources on a given Google Cloud project and region.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse listAzureClients( + com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAzureClientsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
+     * resource.
+     * If the client is used by one or more clusters, deletion will
+     * fail and a `FAILED_PRECONDITION` error will be returned.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.longrunning.Operation deleteAzureClient( + com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAzureClientMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
+     * resource on a given Google Cloud Platform project and region.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.longrunning.Operation createAzureCluster( + com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateAzureClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
+     * 
+ */ + public com.google.longrunning.Operation updateAzureCluster( + com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAzureClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Describes a specific
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.AzureCluster getAzureCluster( + com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAzureClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
+     * resources on a given Google Cloud project and region.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse listAzureClusters( + com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAzureClustersMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a specific
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
+     * Fails if the cluster has one or more associated
+     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.longrunning.Operation deleteAzureCluster( + com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAzureClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Generates an access token for a cluster agent.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse + generateAzureClusterAgentToken( + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGenerateAzureClusterAgentTokenMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Generates a short-lived access token to authenticate to a given
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse + generateAzureAccessToken( + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGenerateAzureAccessTokenMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool],
+     * attached to a given
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.longrunning.Operation createAzureNodePool( + com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateAzureNodePoolMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
+     * 
+ */ + public com.google.longrunning.Operation updateAzureNodePool( + com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAzureNodePoolMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Describes a specific
+     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.AzureNodePool getAzureNodePool( + com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAzureNodePoolMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
+     * resources on a given
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse listAzureNodePools( + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAzureNodePoolsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a specific
+     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.longrunning.Operation deleteAzureNodePool( + com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAzureNodePoolMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the OIDC discovery document for the cluster.
+     * See the
+     * [OpenID Connect Discovery 1.0
+     * specification](https://openid.net/specs/openid-connect-discovery-1_0.html)
+     * for details.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig getAzureOpenIdConfig( + com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAzureOpenIdConfigMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the public component of the cluster signing keys in
+     * JSON Web Key format.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys getAzureJsonWebKeys( + com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAzureJsonWebKeysMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns information, such as supported Azure regions and Kubernetes
+     * versions, on a given Google Cloud location.
+     * 
+ */ + public com.google.cloud.gkemulticloud.v1.AzureServerConfig getAzureServerConfig( + com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAzureServerConfigMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service AzureClusters. + * + *
+   * The AzureClusters API provides a single centrally managed service
+   * to create and manage Anthos clusters that run on Azure infrastructure.
+   * 
+ */ + public static final class AzureClustersFutureStub + extends io.grpc.stub.AbstractFutureStub { + private AzureClustersFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AzureClustersFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AzureClustersFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
+     * resource on a given Google Cloud project and region.
+     * `AzureClient` resources hold client authentication
+     * information needed by the Anthos Multicloud API to manage Azure resources
+     * on your Azure subscription on your behalf.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createAzureClient(com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateAzureClientMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Describes a specific
+     * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.gkemulticloud.v1.AzureClient> + getAzureClient(com.google.cloud.gkemulticloud.v1.GetAzureClientRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAzureClientMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
+     * resources on a given Google Cloud project and region.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse> + listAzureClients(com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAzureClientsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
+     * resource.
+     * If the client is used by one or more clusters, deletion will
+     * fail and a `FAILED_PRECONDITION` error will be returned.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteAzureClient(com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAzureClientMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
+     * resource on a given Google Cloud Platform project and region.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createAzureCluster(com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateAzureClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates an [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateAzureCluster(com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAzureClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Describes a specific
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.gkemulticloud.v1.AzureCluster> + getAzureCluster(com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAzureClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
+     * resources on a given Google Cloud project and region.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse> + listAzureClusters(com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAzureClustersMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a specific
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
+     * Fails if the cluster has one or more associated
+     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteAzureCluster(com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAzureClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Generates an access token for a cluster agent.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse> + generateAzureClusterAgentToken( + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGenerateAzureClusterAgentTokenMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Generates a short-lived access token to authenticate to a given
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse> + generateAzureAccessToken( + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGenerateAzureAccessTokenMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool],
+     * attached to a given
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createAzureNodePool(com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateAzureNodePoolMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates an [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateAzureNodePool(com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAzureNodePoolMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Describes a specific
+     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.gkemulticloud.v1.AzureNodePool> + getAzureNodePool(com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAzureNodePoolMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
+     * resources on a given
+     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse> + listAzureNodePools(com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAzureNodePoolsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a specific
+     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
+     * If successful, the response contains a newly created
+     * [Operation][google.longrunning.Operation] resource that can be
+     * described to track the status of the operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteAzureNodePool(com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAzureNodePoolMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets the OIDC discovery document for the cluster.
+     * See the
+     * [OpenID Connect Discovery 1.0
+     * specification](https://openid.net/specs/openid-connect-discovery-1_0.html)
+     * for details.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig> + getAzureOpenIdConfig( + com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAzureOpenIdConfigMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets the public component of the cluster signing keys in
+     * JSON Web Key format.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys> + getAzureJsonWebKeys(com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAzureJsonWebKeysMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns information, such as supported Azure regions and Kubernetes
+     * versions, on a given Google Cloud location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.gkemulticloud.v1.AzureServerConfig> + getAzureServerConfig( + com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAzureServerConfigMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_AZURE_CLIENT = 0; + private static final int METHODID_GET_AZURE_CLIENT = 1; + private static final int METHODID_LIST_AZURE_CLIENTS = 2; + private static final int METHODID_DELETE_AZURE_CLIENT = 3; + private static final int METHODID_CREATE_AZURE_CLUSTER = 4; + private static final int METHODID_UPDATE_AZURE_CLUSTER = 5; + private static final int METHODID_GET_AZURE_CLUSTER = 6; + private static final int METHODID_LIST_AZURE_CLUSTERS = 7; + private static final int METHODID_DELETE_AZURE_CLUSTER = 8; + private static final int METHODID_GENERATE_AZURE_CLUSTER_AGENT_TOKEN = 9; + private static final int METHODID_GENERATE_AZURE_ACCESS_TOKEN = 10; + private static final int METHODID_CREATE_AZURE_NODE_POOL = 11; + private static final int METHODID_UPDATE_AZURE_NODE_POOL = 12; + private static final int METHODID_GET_AZURE_NODE_POOL = 13; + private static final int METHODID_LIST_AZURE_NODE_POOLS = 14; + private static final int METHODID_DELETE_AZURE_NODE_POOL = 15; + private static final int METHODID_GET_AZURE_OPEN_ID_CONFIG = 16; + private static final int METHODID_GET_AZURE_JSON_WEB_KEYS = 17; + private static final int METHODID_GET_AZURE_SERVER_CONFIG = 18; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_AZURE_CLIENT: + serviceImpl.createAzureClient( + (com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_AZURE_CLIENT: + serviceImpl.getAzureClient( + (com.google.cloud.gkemulticloud.v1.GetAzureClientRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_AZURE_CLIENTS: + serviceImpl.listAzureClients( + (com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse>) + responseObserver); + break; + case METHODID_DELETE_AZURE_CLIENT: + serviceImpl.deleteAzureClient( + (com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_AZURE_CLUSTER: + serviceImpl.createAzureCluster( + (com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_AZURE_CLUSTER: + serviceImpl.updateAzureCluster( + (com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_AZURE_CLUSTER: + serviceImpl.getAzureCluster( + (com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_AZURE_CLUSTERS: + serviceImpl.listAzureClusters( + (com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse>) + responseObserver); + break; + case METHODID_DELETE_AZURE_CLUSTER: + serviceImpl.deleteAzureCluster( + (com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GENERATE_AZURE_CLUSTER_AGENT_TOKEN: + serviceImpl.generateAzureClusterAgentToken( + (com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse>) + responseObserver); + break; + case METHODID_GENERATE_AZURE_ACCESS_TOKEN: + serviceImpl.generateAzureAccessToken( + (com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse>) + responseObserver); + break; + case METHODID_CREATE_AZURE_NODE_POOL: + serviceImpl.createAzureNodePool( + (com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_AZURE_NODE_POOL: + serviceImpl.updateAzureNodePool( + (com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_AZURE_NODE_POOL: + serviceImpl.getAzureNodePool( + (com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_AZURE_NODE_POOLS: + serviceImpl.listAzureNodePools( + (com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse>) + responseObserver); + break; + case METHODID_DELETE_AZURE_NODE_POOL: + serviceImpl.deleteAzureNodePool( + (com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_AZURE_OPEN_ID_CONFIG: + serviceImpl.getAzureOpenIdConfig( + (com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_AZURE_JSON_WEB_KEYS: + serviceImpl.getAzureJsonWebKeys( + (com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_AZURE_SERVER_CONFIG: + serviceImpl.getAzureServerConfig( + (com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateAzureClientMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_AZURE_CLIENT))) + .addMethod( + getGetAzureClientMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GetAzureClientRequest, + com.google.cloud.gkemulticloud.v1.AzureClient>( + service, METHODID_GET_AZURE_CLIENT))) + .addMethod( + getListAzureClientsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest, + com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse>( + service, METHODID_LIST_AZURE_CLIENTS))) + .addMethod( + getDeleteAzureClientMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_AZURE_CLIENT))) + .addMethod( + getCreateAzureClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_AZURE_CLUSTER))) + .addMethod( + getUpdateAzureClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_AZURE_CLUSTER))) + .addMethod( + getGetAzureClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest, + com.google.cloud.gkemulticloud.v1.AzureCluster>( + service, METHODID_GET_AZURE_CLUSTER))) + .addMethod( + getListAzureClustersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest, + com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse>( + service, METHODID_LIST_AZURE_CLUSTERS))) + .addMethod( + getDeleteAzureClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_AZURE_CLUSTER))) + .addMethod( + getGenerateAzureClusterAgentTokenMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest, + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse>( + service, METHODID_GENERATE_AZURE_CLUSTER_AGENT_TOKEN))) + .addMethod( + getGenerateAzureAccessTokenMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest, + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse>( + service, METHODID_GENERATE_AZURE_ACCESS_TOKEN))) + .addMethod( + getCreateAzureNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_AZURE_NODE_POOL))) + .addMethod( + getUpdateAzureNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_AZURE_NODE_POOL))) + .addMethod( + getGetAzureNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest, + com.google.cloud.gkemulticloud.v1.AzureNodePool>( + service, METHODID_GET_AZURE_NODE_POOL))) + .addMethod( + getListAzureNodePoolsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest, + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse>( + service, METHODID_LIST_AZURE_NODE_POOLS))) + .addMethod( + getDeleteAzureNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_AZURE_NODE_POOL))) + .addMethod( + getGetAzureOpenIdConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest, + com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig>( + service, METHODID_GET_AZURE_OPEN_ID_CONFIG))) + .addMethod( + getGetAzureJsonWebKeysMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest, + com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys>( + service, METHODID_GET_AZURE_JSON_WEB_KEYS))) + .addMethod( + getGetAzureServerConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest, + com.google.cloud.gkemulticloud.v1.AzureServerConfig>( + service, METHODID_GET_AZURE_SERVER_CONFIG))) + .build(); + } + + private abstract static class AzureClustersBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + AzureClustersBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("AzureClusters"); + } + } + + private static final class AzureClustersFileDescriptorSupplier + extends AzureClustersBaseDescriptorSupplier { + AzureClustersFileDescriptorSupplier() {} + } + + private static final class AzureClustersMethodDescriptorSupplier + extends AzureClustersBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + AzureClustersMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (AzureClustersGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new AzureClustersFileDescriptorSupplier()) + .addMethod(getCreateAzureClientMethod()) + .addMethod(getGetAzureClientMethod()) + .addMethod(getListAzureClientsMethod()) + .addMethod(getDeleteAzureClientMethod()) + .addMethod(getCreateAzureClusterMethod()) + .addMethod(getUpdateAzureClusterMethod()) + .addMethod(getGetAzureClusterMethod()) + .addMethod(getListAzureClustersMethod()) + .addMethod(getDeleteAzureClusterMethod()) + .addMethod(getGenerateAzureClusterAgentTokenMethod()) + .addMethod(getGenerateAzureAccessTokenMethod()) + .addMethod(getCreateAzureNodePoolMethod()) + .addMethod(getUpdateAzureNodePoolMethod()) + .addMethod(getGetAzureNodePoolMethod()) + .addMethod(getListAzureNodePoolsMethod()) + .addMethod(getDeleteAzureNodePoolMethod()) + .addMethod(getGetAzureOpenIdConfigMethod()) + .addMethod(getGetAzureJsonWebKeysMethod()) + .addMethod(getGetAzureServerConfigMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedCluster.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedCluster.java similarity index 65% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedCluster.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedCluster.java index ced888bac1b9..ef35f9dafb0e 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedCluster.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedCluster.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * An Anthos cluster running on customer own infrastructure.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedCluster} */ -public final class AttachedCluster extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AttachedCluster extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AttachedCluster) AttachedClusterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AttachedCluster.newBuilder() to construct. private AttachedCluster(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AttachedCluster() { name_ = ""; description_ = ""; @@ -34,46 +52,49 @@ private AttachedCluster() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AttachedCluster(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 13: return internalGetAnnotations(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AttachedCluster.class, com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder.class); + com.google.cloud.gkemulticloud.v1.AttachedCluster.class, + com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder.class); } /** + * + * *
    * The lifecycle state of the cluster.
    * 
* * Protobuf enum {@code google.cloud.gkemulticloud.v1.AttachedCluster.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not set.
      * 
@@ -82,6 +103,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The PROVISIONING state indicates the cluster is being registered.
      * 
@@ -90,6 +113,8 @@ public enum State */ PROVISIONING(1), /** + * + * *
      * The RUNNING state indicates the cluster has been register and is fully
      * usable.
@@ -99,6 +124,8 @@ public enum State
      */
     RUNNING(2),
     /**
+     *
+     *
      * 
      * The RECONCILING state indicates that some work is actively being done on
      * the cluster, such as upgrading software components.
@@ -108,6 +135,8 @@ public enum State
      */
     RECONCILING(3),
     /**
+     *
+     *
      * 
      * The STOPPING state indicates the cluster is being de-registered.
      * 
@@ -116,6 +145,8 @@ public enum State */ STOPPING(4), /** + * + * *
      * The ERROR state indicates the cluster is in a broken unrecoverable
      * state.
@@ -125,6 +156,8 @@ public enum State
      */
     ERROR(5),
     /**
+     *
+     *
      * 
      * The DEGRADED state indicates the cluster requires user action to
      * restore full functionality.
@@ -137,6 +170,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Not set.
      * 
@@ -145,6 +180,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The PROVISIONING state indicates the cluster is being registered.
      * 
@@ -153,6 +190,8 @@ public enum State */ public static final int PROVISIONING_VALUE = 1; /** + * + * *
      * The RUNNING state indicates the cluster has been register and is fully
      * usable.
@@ -162,6 +201,8 @@ public enum State
      */
     public static final int RUNNING_VALUE = 2;
     /**
+     *
+     *
      * 
      * The RECONCILING state indicates that some work is actively being done on
      * the cluster, such as upgrading software components.
@@ -171,6 +212,8 @@ public enum State
      */
     public static final int RECONCILING_VALUE = 3;
     /**
+     *
+     *
      * 
      * The STOPPING state indicates the cluster is being de-registered.
      * 
@@ -179,6 +222,8 @@ public enum State */ public static final int STOPPING_VALUE = 4; /** + * + * *
      * The ERROR state indicates the cluster is in a broken unrecoverable
      * state.
@@ -188,6 +233,8 @@ public enum State
      */
     public static final int ERROR_VALUE = 5;
     /**
+     *
+     *
      * 
      * The DEGRADED state indicates the cluster requires user action to
      * restore full functionality.
@@ -197,7 +244,6 @@ public enum State
      */
     public static final int DEGRADED_VALUE = 6;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -222,53 +268,59 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return PROVISIONING;
-        case 2: return RUNNING;
-        case 3: return RECONCILING;
-        case 4: return STOPPING;
-        case 5: return ERROR;
-        case 6: return DEGRADED;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return PROVISIONING;
+        case 2:
+          return RUNNING;
+        case 3:
+          return RECONCILING;
+        case 4:
+          return STOPPING;
+        case 5:
+          return ERROR;
+        case 6:
+          return DEGRADED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AttachedCluster.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AttachedCluster.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -286,9 +338,12 @@ private State(int value) {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The name of this resource.
    *
@@ -300,6 +355,7 @@ private State(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -308,14 +364,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of this resource.
    *
@@ -327,16 +384,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -345,15 +401,19 @@ public java.lang.String getName() { } public static final int DESCRIPTION_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. A human readable description of this cluster.
    * Cannot be longer than 255 UTF-8 encoded bytes.
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -362,30 +422,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Optional. A human readable description of this cluster.
    * Cannot be longer than 255 UTF-8 encoded bytes.
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -396,11 +456,16 @@ public java.lang.String getDescription() { public static final int OIDC_CONFIG_FIELD_NUMBER = 3; private com.google.cloud.gkemulticloud.v1.AttachedOidcConfig oidcConfig_; /** + * + * *
    * Required. OpenID Connect (OIDC) configuration for the cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the oidcConfig field is set. */ @java.lang.Override @@ -408,33 +473,49 @@ public boolean hasOidcConfig() { return oidcConfig_ != null; } /** + * + * *
    * Required. OpenID Connect (OIDC) configuration for the cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The oidcConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedOidcConfig getOidcConfig() { - return oidcConfig_ == null ? com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.getDefaultInstance() : oidcConfig_; + return oidcConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.getDefaultInstance() + : oidcConfig_; } /** + * + * *
    * Required. OpenID Connect (OIDC) configuration for the cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedOidcConfigOrBuilder getOidcConfigOrBuilder() { - return oidcConfig_ == null ? com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.getDefaultInstance() : oidcConfig_; + return oidcConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.getDefaultInstance() + : oidcConfig_; } public static final int PLATFORM_VERSION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object platformVersion_ = ""; /** + * + * *
    * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
    *
@@ -444,6 +525,7 @@ public com.google.cloud.gkemulticloud.v1.AttachedOidcConfigOrBuilder getOidcConf
    * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The platformVersion. */ @java.lang.Override @@ -452,14 +534,15 @@ public java.lang.String getPlatformVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); platformVersion_ = s; return s; } } /** + * + * *
    * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
    *
@@ -469,16 +552,15 @@ public java.lang.String getPlatformVersion() {
    * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for platformVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getPlatformVersionBytes() { + public com.google.protobuf.ByteString getPlatformVersionBytes() { java.lang.Object ref = platformVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); platformVersion_ = b; return b; } else { @@ -487,9 +569,12 @@ public java.lang.String getPlatformVersion() { } public static final int DISTRIBUTION_FIELD_NUMBER = 16; + @SuppressWarnings("serial") private volatile java.lang.Object distribution_ = ""; /** + * + * *
    * Required. The Kubernetes distribution of the underlying attached cluster.
    *
@@ -497,6 +582,7 @@ public java.lang.String getPlatformVersion() {
    * 
* * string distribution = 16 [(.google.api.field_behavior) = REQUIRED]; + * * @return The distribution. */ @java.lang.Override @@ -505,14 +591,15 @@ public java.lang.String getDistribution() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); distribution_ = s; return s; } } /** + * + * *
    * Required. The Kubernetes distribution of the underlying attached cluster.
    *
@@ -520,16 +607,15 @@ public java.lang.String getDistribution() {
    * 
* * string distribution = 16 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for distribution. */ @java.lang.Override - public com.google.protobuf.ByteString - getDistributionBytes() { + public com.google.protobuf.ByteString getDistributionBytes() { java.lang.Object ref = distribution_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); distribution_ = b; return b; } else { @@ -538,9 +624,12 @@ public java.lang.String getDistribution() { } public static final int CLUSTER_REGION_FIELD_NUMBER = 22; + @SuppressWarnings("serial") private volatile java.lang.Object clusterRegion_ = ""; /** + * + * *
    * Output only. The region where this cluster runs.
    *
@@ -549,6 +638,7 @@ public java.lang.String getDistribution() {
    * 
* * string cluster_region = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The clusterRegion. */ @java.lang.Override @@ -557,14 +647,15 @@ public java.lang.String getClusterRegion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterRegion_ = s; return s; } } /** + * + * *
    * Output only. The region where this cluster runs.
    *
@@ -573,16 +664,15 @@ public java.lang.String getClusterRegion() {
    * 
* * string cluster_region = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for clusterRegion. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterRegionBytes() { + public com.google.protobuf.ByteString getClusterRegionBytes() { java.lang.Object ref = clusterRegion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterRegion_ = b; return b; } else { @@ -593,11 +683,15 @@ public java.lang.String getClusterRegion() { public static final int FLEET_FIELD_NUMBER = 5; private com.google.cloud.gkemulticloud.v1.Fleet fleet_; /** + * + * *
    * Required. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the fleet field is set. */ @java.lang.Override @@ -605,11 +699,15 @@ public boolean hasFleet() { return fleet_ != null; } /** + * + * *
    * Required. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The fleet. */ @java.lang.Override @@ -617,11 +715,14 @@ public com.google.cloud.gkemulticloud.v1.Fleet getFleet() { return fleet_ == null ? com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() : fleet_; } /** + * + * *
    * Required. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder() { @@ -631,38 +732,57 @@ public com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder() { public static final int STATE_FIELD_NUMBER = 6; private int state_ = 0; /** + * + * *
    * Output only. The current state of the cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. The current state of the cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedCluster.State getState() { - com.google.cloud.gkemulticloud.v1.AttachedCluster.State result = com.google.cloud.gkemulticloud.v1.AttachedCluster.State.forNumber(state_); - return result == null ? com.google.cloud.gkemulticloud.v1.AttachedCluster.State.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AttachedCluster.State getState() { + com.google.cloud.gkemulticloud.v1.AttachedCluster.State result = + com.google.cloud.gkemulticloud.v1.AttachedCluster.State.forNumber(state_); + return result == null + ? com.google.cloud.gkemulticloud.v1.AttachedCluster.State.UNRECOGNIZED + : result; } public static final int UID_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. A globally unique identifier for the cluster.
    * 
* * string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -671,29 +791,29 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** + * + * *
    * Output only. A globally unique identifier for the cluster.
    * 
* * string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -704,11 +824,14 @@ public java.lang.String getUid() { public static final int RECONCILING_FIELD_NUMBER = 8; private boolean reconciling_ = false; /** + * + * *
    * Output only. If set, there are currently changes in flight to the cluster.
    * 
* * bool reconciling = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -719,11 +842,15 @@ public boolean getReconciling() { public static final int CREATE_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time at which this cluster was registered.
    * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -731,11 +858,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time at which this cluster was registered.
    * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -743,11 +874,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time at which this cluster was registered.
    * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -757,11 +891,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -769,11 +907,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -781,11 +923,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -793,9 +938,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int ETAG_FIELD_NUMBER = 11; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -805,6 +953,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string etag = 11; + * * @return The etag. */ @java.lang.Override @@ -813,14 +962,15 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** + * + * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -830,16 +980,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 11; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -848,14 +997,18 @@ public java.lang.String getEtag() { } public static final int KUBERNETES_VERSION_FIELD_NUMBER = 12; + @SuppressWarnings("serial") private volatile java.lang.Object kubernetesVersion_ = ""; /** + * + * *
    * Output only. The Kubernetes version of the cluster.
    * 
* * string kubernetes_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The kubernetesVersion. */ @java.lang.Override @@ -864,29 +1017,29 @@ public java.lang.String getKubernetesVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kubernetesVersion_ = s; return s; } } /** + * + * *
    * Output only. The Kubernetes version of the cluster.
    * 
* * string kubernetes_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for kubernetesVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getKubernetesVersionBytes() { + public com.google.protobuf.ByteString getKubernetesVersionBytes() { java.lang.Object ref = kubernetesVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kubernetesVersion_ = b; return b; } else { @@ -895,32 +1048,35 @@ public java.lang.String getKubernetesVersion() { } public static final int ANNOTATIONS_FIELD_NUMBER = 13; + private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_AnnotationsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
    * Optional. Annotations on the cluster.
    *
@@ -933,23 +1089,25 @@ public int getAnnotationsCount() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsAnnotations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetAnnotations().getMap().containsKey(key); } - /** - * Use {@link #getAnnotationsMap()} instead. - */ + /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** + * + * *
    * Optional. Annotations on the cluster.
    *
@@ -962,13 +1120,16 @@ public java.util.Map getAnnotations() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** + * + * *
    * Optional. Annotations on the cluster.
    *
@@ -981,20 +1142,23 @@ public java.util.Map getAnnotationsMap() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -java.lang.String getAnnotationsOrDefault( + public /* nullable */ java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Optional. Annotations on the cluster.
    *
@@ -1007,14 +1171,15 @@ java.lang.String getAnnotationsOrDefault(
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + public java.lang.String getAnnotationsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1024,11 +1189,16 @@ public java.lang.String getAnnotationsOrThrow( public static final int WORKLOAD_IDENTITY_CONFIG_FIELD_NUMBER = 14; private com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workloadIdentityConfig_; /** + * + * *
    * Output only. Workload Identity settings.
    * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the workloadIdentityConfig field is set. */ @java.lang.Override @@ -1036,37 +1206,56 @@ public boolean hasWorkloadIdentityConfig() { return workloadIdentityConfig_ != null; } /** + * + * *
    * Output only. Workload Identity settings.
    * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The workloadIdentityConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig getWorkloadIdentityConfig() { - return workloadIdentityConfig_ == null ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_; + return workloadIdentityConfig_ == null + ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() + : workloadIdentityConfig_; } /** + * + * *
    * Output only. Workload Identity settings.
    * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder() { - return workloadIdentityConfig_ == null ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_; + public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder + getWorkloadIdentityConfigOrBuilder() { + return workloadIdentityConfig_ == null + ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() + : workloadIdentityConfig_; } public static final int LOGGING_CONFIG_FIELD_NUMBER = 15; private com.google.cloud.gkemulticloud.v1.LoggingConfig loggingConfig_; /** + * + * *
    * Optional. Logging configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the loggingConfig field is set. */ @java.lang.Override @@ -1074,83 +1263,117 @@ public boolean hasLoggingConfig() { return loggingConfig_ != null; } /** + * + * *
    * Optional. Logging configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The loggingConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.LoggingConfig getLoggingConfig() { - return loggingConfig_ == null ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() + : loggingConfig_; } /** + * + * *
    * Optional. Logging configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder() { - return loggingConfig_ == null ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() + : loggingConfig_; } public static final int ERRORS_FIELD_NUMBER = 20; + @SuppressWarnings("serial") private java.util.List errors_; /** + * + * *
    * Output only. A set of errors found in the cluster.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getErrorsList() { return errors_; } /** + * + * *
    * Output only. A set of errors found in the cluster.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getErrorsOrBuilderList() { return errors_; } /** + * + * *
    * Output only. A set of errors found in the cluster.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** + * + * *
    * Output only. A set of errors found in the cluster.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedClusterError getErrors(int index) { return errors_.get(index); } /** + * + * *
    * Output only. A set of errors found in the cluster.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedClusterErrorOrBuilder getErrorsOrBuilder( @@ -1161,11 +1384,16 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterErrorOrBuilder getErrors public static final int AUTHORIZATION_FIELD_NUMBER = 21; private com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization_; /** + * + * *
    * Optional. Configuration related to the cluster RBAC settings.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the authorization field is set. */ @java.lang.Override @@ -1173,37 +1401,56 @@ public boolean hasAuthorization() { return authorization_ != null; } /** + * + * *
    * Optional. Configuration related to the cluster RBAC settings.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The authorization. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization getAuthorization() { - return authorization_ == null ? com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.getDefaultInstance() : authorization_; + return authorization_ == null + ? com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.getDefaultInstance() + : authorization_; } /** + * + * *
    * Optional. Configuration related to the cluster RBAC settings.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorizationOrBuilder getAuthorizationOrBuilder() { - return authorization_ == null ? com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.getDefaultInstance() : authorization_; + public com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorizationOrBuilder + getAuthorizationOrBuilder() { + return authorization_ == null + ? com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.getDefaultInstance() + : authorization_; } public static final int MONITORING_CONFIG_FIELD_NUMBER = 23; private com.google.cloud.gkemulticloud.v1.MonitoringConfig monitoringConfig_; /** + * + * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the monitoringConfig field is set. */ @java.lang.Override @@ -1211,37 +1458,56 @@ public boolean hasMonitoringConfig() { return monitoringConfig_ != null; } /** + * + * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The monitoringConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.MonitoringConfig getMonitoringConfig() { - return monitoringConfig_ == null ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; + return monitoringConfig_ == null + ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() + : monitoringConfig_; } /** + * + * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBuilder() { - return monitoringConfig_ == null ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; + public com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder + getMonitoringConfigOrBuilder() { + return monitoringConfig_ == null + ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() + : monitoringConfig_; } public static final int PROXY_CONFIG_FIELD_NUMBER = 24; private com.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxyConfig_; /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the proxyConfig field is set. */ @java.lang.Override @@ -1249,37 +1515,55 @@ public boolean hasProxyConfig() { return proxyConfig_ != null; } /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The proxyConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedProxyConfig getProxyConfig() { - return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() : proxyConfig_; + return proxyConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() + : proxyConfig_; } /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder getProxyConfigOrBuilder() { - return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() : proxyConfig_; + return proxyConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() + : proxyConfig_; } public static final int BINARY_AUTHORIZATION_FIELD_NUMBER = 25; private com.google.cloud.gkemulticloud.v1.BinaryAuthorization binaryAuthorization_; /** + * + * *
    * Optional. Binary Authorization configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the binaryAuthorization field is set. */ @java.lang.Override @@ -1287,30 +1571,45 @@ public boolean hasBinaryAuthorization() { return binaryAuthorization_ != null; } /** + * + * *
    * Optional. Binary Authorization configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The binaryAuthorization. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.BinaryAuthorization getBinaryAuthorization() { - return binaryAuthorization_ == null ? com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; + return binaryAuthorization_ == null + ? com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance() + : binaryAuthorization_; } /** + * + * *
    * Optional. Binary Authorization configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder() { - return binaryAuthorization_ == null ? com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; + public com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder + getBinaryAuthorizationOrBuilder() { + return binaryAuthorization_ == null + ? com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance() + : binaryAuthorization_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1322,8 +1621,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1339,7 +1637,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (fleet_ != null) { output.writeMessage(5, getFleet()); } - if (state_ != com.google.cloud.gkemulticloud.v1.AttachedCluster.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.gkemulticloud.v1.AttachedCluster.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(6, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { @@ -1360,12 +1659,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kubernetesVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, kubernetesVersion_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetAnnotations(), - AnnotationsDefaultEntryHolder.defaultEntry, - 13); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 13); if (workloadIdentityConfig_ != null) { output.writeMessage(14, getWorkloadIdentityConfig()); } @@ -1409,34 +1704,29 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (oidcConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getOidcConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getOidcConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(platformVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, platformVersion_); } if (fleet_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getFleet()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getFleet()); } - if (state_ != com.google.cloud.gkemulticloud.v1.AttachedCluster.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, state_); + if (state_ + != com.google.cloud.gkemulticloud.v1.AttachedCluster.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, uid_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(8, reconciling_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, reconciling_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, etag_); @@ -1444,49 +1734,44 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kubernetesVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, kubernetesVersion_); } - for (java.util.Map.Entry entry - : internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry - annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, annotations__); + for (java.util.Map.Entry entry : + internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry annotations__ = + AnnotationsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, annotations__); } if (workloadIdentityConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, getWorkloadIdentityConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(14, getWorkloadIdentityConfig()); } if (loggingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, getLoggingConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getLoggingConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(distribution_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, distribution_); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(20, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, errors_.get(i)); } if (authorization_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(21, getAuthorization()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getAuthorization()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterRegion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, clusterRegion_); } if (monitoringConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(23, getMonitoringConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getMonitoringConfig()); } if (proxyConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(24, getProxyConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(24, getProxyConfig()); } if (binaryAuthorization_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(25, getBinaryAuthorization()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(25, getBinaryAuthorization()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1496,85 +1781,65 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AttachedCluster)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AttachedCluster other = (com.google.cloud.gkemulticloud.v1.AttachedCluster) obj; + com.google.cloud.gkemulticloud.v1.AttachedCluster other = + (com.google.cloud.gkemulticloud.v1.AttachedCluster) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (hasOidcConfig() != other.hasOidcConfig()) return false; if (hasOidcConfig()) { - if (!getOidcConfig() - .equals(other.getOidcConfig())) return false; - } - if (!getPlatformVersion() - .equals(other.getPlatformVersion())) return false; - if (!getDistribution() - .equals(other.getDistribution())) return false; - if (!getClusterRegion() - .equals(other.getClusterRegion())) return false; + if (!getOidcConfig().equals(other.getOidcConfig())) return false; + } + if (!getPlatformVersion().equals(other.getPlatformVersion())) return false; + if (!getDistribution().equals(other.getDistribution())) return false; + if (!getClusterRegion().equals(other.getClusterRegion())) return false; if (hasFleet() != other.hasFleet()) return false; if (hasFleet()) { - if (!getFleet() - .equals(other.getFleet())) return false; + if (!getFleet().equals(other.getFleet())) return false; } if (state_ != other.state_) return false; - if (!getUid() - .equals(other.getUid())) return false; - if (getReconciling() - != other.getReconciling()) return false; + if (!getUid().equals(other.getUid())) return false; + if (getReconciling() != other.getReconciling()) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; - } - if (!getEtag() - .equals(other.getEtag())) return false; - if (!getKubernetesVersion() - .equals(other.getKubernetesVersion())) return false; - if (!internalGetAnnotations().equals( - other.internalGetAnnotations())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; + } + if (!getEtag().equals(other.getEtag())) return false; + if (!getKubernetesVersion().equals(other.getKubernetesVersion())) return false; + if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; if (hasWorkloadIdentityConfig() != other.hasWorkloadIdentityConfig()) return false; if (hasWorkloadIdentityConfig()) { - if (!getWorkloadIdentityConfig() - .equals(other.getWorkloadIdentityConfig())) return false; + if (!getWorkloadIdentityConfig().equals(other.getWorkloadIdentityConfig())) return false; } if (hasLoggingConfig() != other.hasLoggingConfig()) return false; if (hasLoggingConfig()) { - if (!getLoggingConfig() - .equals(other.getLoggingConfig())) return false; + if (!getLoggingConfig().equals(other.getLoggingConfig())) return false; } - if (!getErrorsList() - .equals(other.getErrorsList())) return false; + if (!getErrorsList().equals(other.getErrorsList())) return false; if (hasAuthorization() != other.hasAuthorization()) return false; if (hasAuthorization()) { - if (!getAuthorization() - .equals(other.getAuthorization())) return false; + if (!getAuthorization().equals(other.getAuthorization())) return false; } if (hasMonitoringConfig() != other.hasMonitoringConfig()) return false; if (hasMonitoringConfig()) { - if (!getMonitoringConfig() - .equals(other.getMonitoringConfig())) return false; + if (!getMonitoringConfig().equals(other.getMonitoringConfig())) return false; } if (hasProxyConfig() != other.hasProxyConfig()) return false; if (hasProxyConfig()) { - if (!getProxyConfig() - .equals(other.getProxyConfig())) return false; + if (!getProxyConfig().equals(other.getProxyConfig())) return false; } if (hasBinaryAuthorization() != other.hasBinaryAuthorization()) return false; if (hasBinaryAuthorization()) { - if (!getBinaryAuthorization() - .equals(other.getBinaryAuthorization())) return false; + if (!getBinaryAuthorization().equals(other.getBinaryAuthorization())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1610,8 +1875,7 @@ public int hashCode() { hash = (37 * hash) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid().hashCode(); hash = (37 * hash) + RECONCILING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getReconciling()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReconciling()); if (hasCreateTime()) { hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime().hashCode(); @@ -1662,153 +1926,155 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AttachedCluster parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AttachedCluster parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AttachedCluster parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AttachedCluster parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AttachedCluster parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AttachedCluster parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedCluster parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AttachedCluster parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AttachedCluster parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedCluster parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AttachedCluster parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AttachedCluster parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AttachedCluster parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AttachedCluster parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AttachedCluster prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * An Anthos cluster running on customer own infrastructure.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedCluster} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AttachedCluster) com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 13: return internalGetAnnotations(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 13: return internalGetMutableAnnotations(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AttachedCluster.class, com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder.class); + com.google.cloud.gkemulticloud.v1.AttachedCluster.class, + com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AttachedCluster.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1885,9 +2151,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_descriptor; } @java.lang.Override @@ -1906,14 +2172,18 @@ public com.google.cloud.gkemulticloud.v1.AttachedCluster build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedCluster buildPartial() { - com.google.cloud.gkemulticloud.v1.AttachedCluster result = new com.google.cloud.gkemulticloud.v1.AttachedCluster(this); + com.google.cloud.gkemulticloud.v1.AttachedCluster result = + new com.google.cloud.gkemulticloud.v1.AttachedCluster(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.AttachedCluster result) { + private void buildPartialRepeatedFields( + com.google.cloud.gkemulticloud.v1.AttachedCluster result) { if (errorsBuilder_ == null) { if (((bitField0_ & 0x00020000) != 0)) { errors_ = java.util.Collections.unmodifiableList(errors_); @@ -1934,9 +2204,7 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AttachedCluster res result.description_ = description_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.oidcConfig_ = oidcConfigBuilder_ == null - ? oidcConfig_ - : oidcConfigBuilder_.build(); + result.oidcConfig_ = oidcConfigBuilder_ == null ? oidcConfig_ : oidcConfigBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.platformVersion_ = platformVersion_; @@ -1948,9 +2216,7 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AttachedCluster res result.clusterRegion_ = clusterRegion_; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.fleet_ = fleetBuilder_ == null - ? fleet_ - : fleetBuilder_.build(); + result.fleet_ = fleetBuilder_ == null ? fleet_ : fleetBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { result.state_ = state_; @@ -1962,14 +2228,10 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AttachedCluster res result.reconciling_ = reconciling_; } if (((from_bitField0_ & 0x00000400) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000800) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00001000) != 0)) { result.etag_ = etag_; @@ -1982,34 +2244,32 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AttachedCluster res result.annotations_.makeImmutable(); } if (((from_bitField0_ & 0x00008000) != 0)) { - result.workloadIdentityConfig_ = workloadIdentityConfigBuilder_ == null - ? workloadIdentityConfig_ - : workloadIdentityConfigBuilder_.build(); + result.workloadIdentityConfig_ = + workloadIdentityConfigBuilder_ == null + ? workloadIdentityConfig_ + : workloadIdentityConfigBuilder_.build(); } if (((from_bitField0_ & 0x00010000) != 0)) { - result.loggingConfig_ = loggingConfigBuilder_ == null - ? loggingConfig_ - : loggingConfigBuilder_.build(); + result.loggingConfig_ = + loggingConfigBuilder_ == null ? loggingConfig_ : loggingConfigBuilder_.build(); } if (((from_bitField0_ & 0x00040000) != 0)) { - result.authorization_ = authorizationBuilder_ == null - ? authorization_ - : authorizationBuilder_.build(); + result.authorization_ = + authorizationBuilder_ == null ? authorization_ : authorizationBuilder_.build(); } if (((from_bitField0_ & 0x00080000) != 0)) { - result.monitoringConfig_ = monitoringConfigBuilder_ == null - ? monitoringConfig_ - : monitoringConfigBuilder_.build(); + result.monitoringConfig_ = + monitoringConfigBuilder_ == null ? monitoringConfig_ : monitoringConfigBuilder_.build(); } if (((from_bitField0_ & 0x00100000) != 0)) { - result.proxyConfig_ = proxyConfigBuilder_ == null - ? proxyConfig_ - : proxyConfigBuilder_.build(); + result.proxyConfig_ = + proxyConfigBuilder_ == null ? proxyConfig_ : proxyConfigBuilder_.build(); } if (((from_bitField0_ & 0x00200000) != 0)) { - result.binaryAuthorization_ = binaryAuthorizationBuilder_ == null - ? binaryAuthorization_ - : binaryAuthorizationBuilder_.build(); + result.binaryAuthorization_ = + binaryAuthorizationBuilder_ == null + ? binaryAuthorization_ + : binaryAuthorizationBuilder_.build(); } } @@ -2017,38 +2277,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AttachedCluster res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AttachedCluster) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedCluster)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedCluster) other); } else { super.mergeFrom(other); return this; @@ -2056,7 +2317,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AttachedCluster other) { - if (other == com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -2115,8 +2377,7 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AttachedCluster other bitField0_ |= 0x00002000; onChanged(); } - internalGetMutableAnnotations().mergeFrom( - other.internalGetAnnotations()); + internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); bitField0_ |= 0x00004000; if (other.hasWorkloadIdentityConfig()) { mergeWorkloadIdentityConfig(other.getWorkloadIdentityConfig()); @@ -2142,9 +2403,10 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AttachedCluster other errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00020000); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getErrorsFieldBuilder() : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getErrorsFieldBuilder() + : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -2188,154 +2450,162 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getOidcConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - platformVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - input.readMessage( - getFleetFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 42 - case 48: { - state_ = input.readEnum(); - bitField0_ |= 0x00000080; - break; - } // case 48 - case 58: { - uid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 58 - case 64: { - reconciling_ = input.readBool(); - bitField0_ |= 0x00000200; - break; - } // case 64 - case 74: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000400; - break; - } // case 74 - case 82: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000800; - break; - } // case 82 - case 90: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; - break; - } // case 90 - case 98: { - kubernetesVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00002000; - break; - } // case 98 - case 106: { - com.google.protobuf.MapEntry - annotations__ = input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableAnnotations().getMutableMap().put( - annotations__.getKey(), annotations__.getValue()); - bitField0_ |= 0x00004000; - break; - } // case 106 - case 114: { - input.readMessage( - getWorkloadIdentityConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00008000; - break; - } // case 114 - case 122: { - input.readMessage( - getLoggingConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00010000; - break; - } // case 122 - case 130: { - distribution_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 130 - case 162: { - com.google.cloud.gkemulticloud.v1.AttachedClusterError m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AttachedClusterError.parser(), - extensionRegistry); - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.add(m); - } else { - errorsBuilder_.addMessage(m); - } - break; - } // case 162 - case 170: { - input.readMessage( - getAuthorizationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00040000; - break; - } // case 170 - case 178: { - clusterRegion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 178 - case 186: { - input.readMessage( - getMonitoringConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00080000; - break; - } // case 186 - case 194: { - input.readMessage( - getProxyConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00100000; - break; - } // case 194 - case 202: { - input.readMessage( - getBinaryAuthorizationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00200000; - break; - } // case 202 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getOidcConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + platformVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + input.readMessage(getFleetFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 42 + case 48: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000080; + break; + } // case 48 + case 58: + { + uid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 58 + case 64: + { + reconciling_ = input.readBool(); + bitField0_ |= 0x00000200; + break; + } // case 64 + case 74: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 74 + case 82: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000800; + break; + } // case 82 + case 90: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 90 + case 98: + { + kubernetesVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00002000; + break; + } // case 98 + case 106: + { + com.google.protobuf.MapEntry annotations__ = + input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableAnnotations() + .getMutableMap() + .put(annotations__.getKey(), annotations__.getValue()); + bitField0_ |= 0x00004000; + break; + } // case 106 + case 114: + { + input.readMessage( + getWorkloadIdentityConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00008000; + break; + } // case 114 + case 122: + { + input.readMessage(getLoggingConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00010000; + break; + } // case 122 + case 130: + { + distribution_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 130 + case 162: + { + com.google.cloud.gkemulticloud.v1.AttachedClusterError m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AttachedClusterError.parser(), + extensionRegistry); + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.add(m); + } else { + errorsBuilder_.addMessage(m); + } + break; + } // case 162 + case 170: + { + input.readMessage(getAuthorizationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00040000; + break; + } // case 170 + case 178: + { + clusterRegion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 178 + case 186: + { + input.readMessage( + getMonitoringConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00080000; + break; + } // case 186 + case 194: + { + input.readMessage(getProxyConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00100000; + break; + } // case 194 + case 202: + { + input.readMessage( + getBinaryAuthorizationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00200000; + break; + } // case 202 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2345,10 +2615,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * The name of this resource.
      *
@@ -2360,13 +2633,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2375,6 +2648,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of this resource.
      *
@@ -2386,15 +2661,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -2402,6 +2676,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of this resource.
      *
@@ -2413,18 +2689,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The name of this resource.
      *
@@ -2436,6 +2716,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -2445,6 +2726,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The name of this resource.
      *
@@ -2456,12 +2739,14 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2471,19 +2756,21 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. A human readable description of this cluster.
      * Cannot be longer than 255 UTF-8 encoded bytes.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2492,21 +2779,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. A human readable description of this cluster.
      * Cannot be longer than 255 UTF-8 encoded bytes.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -2514,30 +2802,37 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. A human readable description of this cluster.
      * Cannot be longer than 255 UTF-8 encoded bytes.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. A human readable description of this cluster.
      * Cannot be longer than 255 UTF-8 encoded bytes.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2547,18 +2842,22 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. A human readable description of this cluster.
      * Cannot be longer than 255 UTF-8 encoded bytes.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000002; @@ -2568,39 +2867,58 @@ public Builder setDescriptionBytes( private com.google.cloud.gkemulticloud.v1.AttachedOidcConfig oidcConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedOidcConfig, com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.Builder, com.google.cloud.gkemulticloud.v1.AttachedOidcConfigOrBuilder> oidcConfigBuilder_; + com.google.cloud.gkemulticloud.v1.AttachedOidcConfig, + com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.Builder, + com.google.cloud.gkemulticloud.v1.AttachedOidcConfigOrBuilder> + oidcConfigBuilder_; /** + * + * *
      * Required. OpenID Connect (OIDC) configuration for the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the oidcConfig field is set. */ public boolean hasOidcConfig() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. OpenID Connect (OIDC) configuration for the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The oidcConfig. */ public com.google.cloud.gkemulticloud.v1.AttachedOidcConfig getOidcConfig() { if (oidcConfigBuilder_ == null) { - return oidcConfig_ == null ? com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.getDefaultInstance() : oidcConfig_; + return oidcConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.getDefaultInstance() + : oidcConfig_; } else { return oidcConfigBuilder_.getMessage(); } } /** + * + * *
      * Required. OpenID Connect (OIDC) configuration for the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOidcConfig(com.google.cloud.gkemulticloud.v1.AttachedOidcConfig value) { if (oidcConfigBuilder_ == null) { @@ -2616,11 +2934,15 @@ public Builder setOidcConfig(com.google.cloud.gkemulticloud.v1.AttachedOidcConfi return this; } /** + * + * *
      * Required. OpenID Connect (OIDC) configuration for the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOidcConfig( com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.Builder builderForValue) { @@ -2634,17 +2956,22 @@ public Builder setOidcConfig( return this; } /** + * + * *
      * Required. OpenID Connect (OIDC) configuration for the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeOidcConfig(com.google.cloud.gkemulticloud.v1.AttachedOidcConfig value) { if (oidcConfigBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - oidcConfig_ != null && - oidcConfig_ != com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && oidcConfig_ != null + && oidcConfig_ + != com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.getDefaultInstance()) { getOidcConfigBuilder().mergeFrom(value); } else { oidcConfig_ = value; @@ -2657,11 +2984,15 @@ public Builder mergeOidcConfig(com.google.cloud.gkemulticloud.v1.AttachedOidcCon return this; } /** + * + * *
      * Required. OpenID Connect (OIDC) configuration for the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearOidcConfig() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2674,11 +3005,15 @@ public Builder clearOidcConfig() { return this; } /** + * + * *
      * Required. OpenID Connect (OIDC) configuration for the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.Builder getOidcConfigBuilder() { bitField0_ |= 0x00000004; @@ -2686,36 +3021,48 @@ public com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.Builder getOidcConfi return getOidcConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. OpenID Connect (OIDC) configuration for the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AttachedOidcConfigOrBuilder getOidcConfigOrBuilder() { if (oidcConfigBuilder_ != null) { return oidcConfigBuilder_.getMessageOrBuilder(); } else { - return oidcConfig_ == null ? - com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.getDefaultInstance() : oidcConfig_; + return oidcConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.getDefaultInstance() + : oidcConfig_; } } /** + * + * *
      * Required. OpenID Connect (OIDC) configuration for the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedOidcConfig, com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.Builder, com.google.cloud.gkemulticloud.v1.AttachedOidcConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.AttachedOidcConfig, + com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.Builder, + com.google.cloud.gkemulticloud.v1.AttachedOidcConfigOrBuilder> getOidcConfigFieldBuilder() { if (oidcConfigBuilder_ == null) { - oidcConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedOidcConfig, com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.Builder, com.google.cloud.gkemulticloud.v1.AttachedOidcConfigOrBuilder>( - getOidcConfig(), - getParentForChildren(), - isClean()); + oidcConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AttachedOidcConfig, + com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.Builder, + com.google.cloud.gkemulticloud.v1.AttachedOidcConfigOrBuilder>( + getOidcConfig(), getParentForChildren(), isClean()); oidcConfig_ = null; } return oidcConfigBuilder_; @@ -2723,6 +3070,8 @@ public com.google.cloud.gkemulticloud.v1.AttachedOidcConfigOrBuilder getOidcConf private java.lang.Object platformVersion_ = ""; /** + * + * *
      * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
      *
@@ -2732,13 +3081,13 @@ public com.google.cloud.gkemulticloud.v1.AttachedOidcConfigOrBuilder getOidcConf
      * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The platformVersion. */ public java.lang.String getPlatformVersion() { java.lang.Object ref = platformVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); platformVersion_ = s; return s; @@ -2747,6 +3096,8 @@ public java.lang.String getPlatformVersion() { } } /** + * + * *
      * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
      *
@@ -2756,15 +3107,14 @@ public java.lang.String getPlatformVersion() {
      * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for platformVersion. */ - public com.google.protobuf.ByteString - getPlatformVersionBytes() { + public com.google.protobuf.ByteString getPlatformVersionBytes() { java.lang.Object ref = platformVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); platformVersion_ = b; return b; } else { @@ -2772,6 +3122,8 @@ public java.lang.String getPlatformVersion() { } } /** + * + * *
      * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
      *
@@ -2781,18 +3133,22 @@ public java.lang.String getPlatformVersion() {
      * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The platformVersion to set. * @return This builder for chaining. */ - public Builder setPlatformVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPlatformVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } platformVersion_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
      *
@@ -2802,6 +3158,7 @@ public Builder setPlatformVersion(
      * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPlatformVersion() { @@ -2811,6 +3168,8 @@ public Builder clearPlatformVersion() { return this; } /** + * + * *
      * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
      *
@@ -2820,12 +3179,14 @@ public Builder clearPlatformVersion() {
      * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for platformVersion to set. * @return This builder for chaining. */ - public Builder setPlatformVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPlatformVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); platformVersion_ = value; bitField0_ |= 0x00000008; @@ -2835,6 +3196,8 @@ public Builder setPlatformVersionBytes( private java.lang.Object distribution_ = ""; /** + * + * *
      * Required. The Kubernetes distribution of the underlying attached cluster.
      *
@@ -2842,13 +3205,13 @@ public Builder setPlatformVersionBytes(
      * 
* * string distribution = 16 [(.google.api.field_behavior) = REQUIRED]; + * * @return The distribution. */ public java.lang.String getDistribution() { java.lang.Object ref = distribution_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); distribution_ = s; return s; @@ -2857,6 +3220,8 @@ public java.lang.String getDistribution() { } } /** + * + * *
      * Required. The Kubernetes distribution of the underlying attached cluster.
      *
@@ -2864,15 +3229,14 @@ public java.lang.String getDistribution() {
      * 
* * string distribution = 16 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for distribution. */ - public com.google.protobuf.ByteString - getDistributionBytes() { + public com.google.protobuf.ByteString getDistributionBytes() { java.lang.Object ref = distribution_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); distribution_ = b; return b; } else { @@ -2880,6 +3244,8 @@ public java.lang.String getDistribution() { } } /** + * + * *
      * Required. The Kubernetes distribution of the underlying attached cluster.
      *
@@ -2887,18 +3253,22 @@ public java.lang.String getDistribution() {
      * 
* * string distribution = 16 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The distribution to set. * @return This builder for chaining. */ - public Builder setDistribution( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDistribution(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } distribution_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Required. The Kubernetes distribution of the underlying attached cluster.
      *
@@ -2906,6 +3276,7 @@ public Builder setDistribution(
      * 
* * string distribution = 16 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDistribution() { @@ -2915,6 +3286,8 @@ public Builder clearDistribution() { return this; } /** + * + * *
      * Required. The Kubernetes distribution of the underlying attached cluster.
      *
@@ -2922,12 +3295,14 @@ public Builder clearDistribution() {
      * 
* * string distribution = 16 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for distribution to set. * @return This builder for chaining. */ - public Builder setDistributionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDistributionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); distribution_ = value; bitField0_ |= 0x00000010; @@ -2937,6 +3312,8 @@ public Builder setDistributionBytes( private java.lang.Object clusterRegion_ = ""; /** + * + * *
      * Output only. The region where this cluster runs.
      *
@@ -2945,13 +3322,13 @@ public Builder setDistributionBytes(
      * 
* * string cluster_region = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The clusterRegion. */ public java.lang.String getClusterRegion() { java.lang.Object ref = clusterRegion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterRegion_ = s; return s; @@ -2960,6 +3337,8 @@ public java.lang.String getClusterRegion() { } } /** + * + * *
      * Output only. The region where this cluster runs.
      *
@@ -2968,15 +3347,14 @@ public java.lang.String getClusterRegion() {
      * 
* * string cluster_region = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for clusterRegion. */ - public com.google.protobuf.ByteString - getClusterRegionBytes() { + public com.google.protobuf.ByteString getClusterRegionBytes() { java.lang.Object ref = clusterRegion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterRegion_ = b; return b; } else { @@ -2984,6 +3362,8 @@ public java.lang.String getClusterRegion() { } } /** + * + * *
      * Output only. The region where this cluster runs.
      *
@@ -2992,18 +3372,22 @@ public java.lang.String getClusterRegion() {
      * 
* * string cluster_region = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The clusterRegion to set. * @return This builder for chaining. */ - public Builder setClusterRegion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } clusterRegion_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Output only. The region where this cluster runs.
      *
@@ -3012,6 +3396,7 @@ public Builder setClusterRegion(
      * 
* * string cluster_region = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearClusterRegion() { @@ -3021,6 +3406,8 @@ public Builder clearClusterRegion() { return this; } /** + * + * *
      * Output only. The region where this cluster runs.
      *
@@ -3029,12 +3416,14 @@ public Builder clearClusterRegion() {
      * 
* * string cluster_region = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for clusterRegion to set. * @return This builder for chaining. */ - public Builder setClusterRegionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); clusterRegion_ = value; bitField0_ |= 0x00000020; @@ -3044,39 +3433,58 @@ public Builder setClusterRegionBytes( private com.google.cloud.gkemulticloud.v1.Fleet fleet_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.Fleet, com.google.cloud.gkemulticloud.v1.Fleet.Builder, com.google.cloud.gkemulticloud.v1.FleetOrBuilder> fleetBuilder_; + com.google.cloud.gkemulticloud.v1.Fleet, + com.google.cloud.gkemulticloud.v1.Fleet.Builder, + com.google.cloud.gkemulticloud.v1.FleetOrBuilder> + fleetBuilder_; /** + * + * *
      * Required. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the fleet field is set. */ public boolean hasFleet() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Required. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The fleet. */ public com.google.cloud.gkemulticloud.v1.Fleet getFleet() { if (fleetBuilder_ == null) { - return fleet_ == null ? com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() : fleet_; + return fleet_ == null + ? com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() + : fleet_; } else { return fleetBuilder_.getMessage(); } } /** + * + * *
      * Required. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { if (fleetBuilder_ == null) { @@ -3092,14 +3500,17 @@ public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { return this; } /** + * + * *
      * Required. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setFleet( - com.google.cloud.gkemulticloud.v1.Fleet.Builder builderForValue) { + public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet.Builder builderForValue) { if (fleetBuilder_ == null) { fleet_ = builderForValue.build(); } else { @@ -3110,17 +3521,21 @@ public Builder setFleet( return this; } /** + * + * *
      * Required. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { if (fleetBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - fleet_ != null && - fleet_ != com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && fleet_ != null + && fleet_ != com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance()) { getFleetBuilder().mergeFrom(value); } else { fleet_ = value; @@ -3133,11 +3548,15 @@ public Builder mergeFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { return this; } /** + * + * *
      * Required. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearFleet() { bitField0_ = (bitField0_ & ~0x00000040); @@ -3150,11 +3569,15 @@ public Builder clearFleet() { return this; } /** + * + * *
      * Required. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.Fleet.Builder getFleetBuilder() { bitField0_ |= 0x00000040; @@ -3162,36 +3585,48 @@ public com.google.cloud.gkemulticloud.v1.Fleet.Builder getFleetBuilder() { return getFleetFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder() { if (fleetBuilder_ != null) { return fleetBuilder_.getMessageOrBuilder(); } else { - return fleet_ == null ? - com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() : fleet_; + return fleet_ == null + ? com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() + : fleet_; } } /** + * + * *
      * Required. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.Fleet, com.google.cloud.gkemulticloud.v1.Fleet.Builder, com.google.cloud.gkemulticloud.v1.FleetOrBuilder> + com.google.cloud.gkemulticloud.v1.Fleet, + com.google.cloud.gkemulticloud.v1.Fleet.Builder, + com.google.cloud.gkemulticloud.v1.FleetOrBuilder> getFleetFieldBuilder() { if (fleetBuilder_ == null) { - fleetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.Fleet, com.google.cloud.gkemulticloud.v1.Fleet.Builder, com.google.cloud.gkemulticloud.v1.FleetOrBuilder>( - getFleet(), - getParentForChildren(), - isClean()); + fleetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.Fleet, + com.google.cloud.gkemulticloud.v1.Fleet.Builder, + com.google.cloud.gkemulticloud.v1.FleetOrBuilder>( + getFleet(), getParentForChildren(), isClean()); fleet_ = null; } return fleetBuilder_; @@ -3199,22 +3634,33 @@ public com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder() { private int state_ = 0; /** + * + * *
      * Output only. The current state of the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. The current state of the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -3225,24 +3671,37 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. The current state of the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedCluster.State getState() { - com.google.cloud.gkemulticloud.v1.AttachedCluster.State result = com.google.cloud.gkemulticloud.v1.AttachedCluster.State.forNumber(state_); - return result == null ? com.google.cloud.gkemulticloud.v1.AttachedCluster.State.UNRECOGNIZED : result; + com.google.cloud.gkemulticloud.v1.AttachedCluster.State result = + com.google.cloud.gkemulticloud.v1.AttachedCluster.State.forNumber(state_); + return result == null + ? com.google.cloud.gkemulticloud.v1.AttachedCluster.State.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The current state of the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -3256,11 +3715,16 @@ public Builder setState(com.google.cloud.gkemulticloud.v1.AttachedCluster.State return this; } /** + * + * *
      * Output only. The current state of the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -3272,18 +3736,20 @@ public Builder clearState() { private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. A globally unique identifier for the cluster.
      * 
* * string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -3292,20 +3758,21 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. A globally unique identifier for the cluster.
      * 
* * string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -3313,28 +3780,35 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. A globally unique identifier for the cluster.
      * 
* * string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * Output only. A globally unique identifier for the cluster.
      * 
* * string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -3344,17 +3818,21 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. A globally unique identifier for the cluster.
      * 
* * string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000100; @@ -3362,13 +3840,16 @@ public Builder setUidBytes( return this; } - private boolean reconciling_ ; + private boolean reconciling_; /** + * + * *
      * Output only. If set, there are currently changes in flight to the cluster.
      * 
* * bool reconciling = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -3376,11 +3857,14 @@ public boolean getReconciling() { return reconciling_; } /** + * + * *
      * Output only. If set, there are currently changes in flight to the cluster.
      * 
* * bool reconciling = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The reconciling to set. * @return This builder for chaining. */ @@ -3392,11 +3876,14 @@ public Builder setReconciling(boolean value) { return this; } /** + * + * *
      * Output only. If set, there are currently changes in flight to the cluster.
      * 
* * bool reconciling = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -3408,39 +3895,58 @@ public Builder clearReconciling() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time at which this cluster was registered.
      * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * *
      * Output only. The time at which this cluster was registered.
      * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time at which this cluster was registered.
      * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -3456,14 +3962,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this cluster was registered.
      * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -3474,17 +3983,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time at which this cluster was registered.
      * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -3497,11 +4010,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this cluster was registered.
      * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000400); @@ -3514,11 +4031,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time at which this cluster was registered.
      * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000400; @@ -3526,36 +4047,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time at which this cluster was registered.
      * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time at which this cluster was registered.
      * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -3563,39 +4096,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000800) != 0); } /** + * + * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3611,14 +4163,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -3629,17 +4184,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -3652,11 +4211,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000800); @@ -3669,11 +4232,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000800; @@ -3681,36 +4248,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -3718,6 +4297,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object etag_ = ""; /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3727,13 +4308,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string etag = 11; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -3742,6 +4323,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3751,15 +4334,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 11; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -3767,6 +4349,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3776,18 +4360,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 11; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3797,6 +4385,7 @@ public Builder setEtag(
      * 
* * string etag = 11; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -3806,6 +4395,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3815,12 +4406,14 @@ public Builder clearEtag() {
      * 
* * string etag = 11; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00001000; @@ -3830,18 +4423,20 @@ public Builder setEtagBytes( private java.lang.Object kubernetesVersion_ = ""; /** + * + * *
      * Output only. The Kubernetes version of the cluster.
      * 
* * string kubernetes_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The kubernetesVersion. */ public java.lang.String getKubernetesVersion() { java.lang.Object ref = kubernetesVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kubernetesVersion_ = s; return s; @@ -3850,20 +4445,21 @@ public java.lang.String getKubernetesVersion() { } } /** + * + * *
      * Output only. The Kubernetes version of the cluster.
      * 
* * string kubernetes_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for kubernetesVersion. */ - public com.google.protobuf.ByteString - getKubernetesVersionBytes() { + public com.google.protobuf.ByteString getKubernetesVersionBytes() { java.lang.Object ref = kubernetesVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kubernetesVersion_ = b; return b; } else { @@ -3871,28 +4467,35 @@ public java.lang.String getKubernetesVersion() { } } /** + * + * *
      * Output only. The Kubernetes version of the cluster.
      * 
* * string kubernetes_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The kubernetesVersion to set. * @return This builder for chaining. */ - public Builder setKubernetesVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKubernetesVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } kubernetesVersion_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** + * + * *
      * Output only. The Kubernetes version of the cluster.
      * 
* * string kubernetes_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearKubernetesVersion() { @@ -3902,17 +4505,21 @@ public Builder clearKubernetesVersion() { return this; } /** + * + * *
      * Output only. The Kubernetes version of the cluster.
      * 
* * string kubernetes_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for kubernetesVersion to set. * @return This builder for chaining. */ - public Builder setKubernetesVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKubernetesVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); kubernetesVersion_ = value; bitField0_ |= 0x00002000; @@ -3920,8 +4527,8 @@ public Builder setKubernetesVersionBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -3930,11 +4537,12 @@ public Builder setKubernetesVersionBytes( } return annotations_; } + private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = + com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -3943,10 +4551,13 @@ public Builder setKubernetesVersionBytes( onChanged(); return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
      * Optional. Annotations on the cluster.
      *
@@ -3959,23 +4570,25 @@ public int getAnnotationsCount() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsAnnotations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetAnnotations().getMap().containsKey(key); } - /** - * Use {@link #getAnnotationsMap()} instead. - */ + /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** + * + * *
      * Optional. Annotations on the cluster.
      *
@@ -3988,13 +4601,16 @@ public java.util.Map getAnnotations() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** + * + * *
      * Optional. Annotations on the cluster.
      *
@@ -4007,20 +4623,23 @@ public java.util.Map getAnnotationsMap() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -java.lang.String getAnnotationsOrDefault( + public /* nullable */ java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Optional. Annotations on the cluster.
      *
@@ -4033,26 +4652,29 @@ java.lang.String getAnnotationsOrDefault(
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + public java.lang.String getAnnotationsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearAnnotations() { bitField0_ = (bitField0_ & ~0x00004000); - internalGetMutableAnnotations().getMutableMap() - .clear(); + internalGetMutableAnnotations().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. Annotations on the cluster.
      *
@@ -4065,25 +4687,25 @@ public Builder clearAnnotations() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder removeAnnotations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableAnnotations().getMutableMap() - .remove(key); + public Builder removeAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableAnnotations().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableAnnotations() { + public java.util.Map getMutableAnnotations() { bitField0_ |= 0x00004000; return internalGetMutableAnnotations().getMutableMap(); } /** + * + * *
      * Optional. Annotations on the cluster.
      *
@@ -4096,19 +4718,23 @@ public Builder removeAnnotations(
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder putAnnotations( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableAnnotations().getMutableMap() - .put(key, value); + public Builder putAnnotations(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableAnnotations().getMutableMap().put(key, value); bitField0_ |= 0x00004000; return this; } /** + * + * *
      * Optional. Annotations on the cluster.
      *
@@ -4121,53 +4747,72 @@ public Builder putAnnotations(
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder putAllAnnotations( - java.util.Map values) { - internalGetMutableAnnotations().getMutableMap() - .putAll(values); + public Builder putAllAnnotations(java.util.Map values) { + internalGetMutableAnnotations().getMutableMap().putAll(values); bitField0_ |= 0x00004000; return this; } private com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workloadIdentityConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder> workloadIdentityConfigBuilder_; + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder> + workloadIdentityConfigBuilder_; /** + * + * *
      * Output only. Workload Identity settings.
      * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the workloadIdentityConfig field is set. */ public boolean hasWorkloadIdentityConfig() { return ((bitField0_ & 0x00008000) != 0); } /** + * + * *
      * Output only. Workload Identity settings.
      * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The workloadIdentityConfig. */ public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig getWorkloadIdentityConfig() { if (workloadIdentityConfigBuilder_ == null) { - return workloadIdentityConfig_ == null ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_; + return workloadIdentityConfig_ == null + ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() + : workloadIdentityConfig_; } else { return workloadIdentityConfigBuilder_.getMessage(); } } /** + * + * *
      * Output only. Workload Identity settings.
      * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setWorkloadIdentityConfig(com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig value) { + public Builder setWorkloadIdentityConfig( + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig value) { if (workloadIdentityConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4181,11 +4826,15 @@ public Builder setWorkloadIdentityConfig(com.google.cloud.gkemulticloud.v1.Workl return this; } /** + * + * *
      * Output only. Workload Identity settings.
      * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setWorkloadIdentityConfig( com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder builderForValue) { @@ -4199,17 +4848,23 @@ public Builder setWorkloadIdentityConfig( return this; } /** + * + * *
      * Output only. Workload Identity settings.
      * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeWorkloadIdentityConfig(com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig value) { + public Builder mergeWorkloadIdentityConfig( + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig value) { if (workloadIdentityConfigBuilder_ == null) { - if (((bitField0_ & 0x00008000) != 0) && - workloadIdentityConfig_ != null && - workloadIdentityConfig_ != com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00008000) != 0) + && workloadIdentityConfig_ != null + && workloadIdentityConfig_ + != com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance()) { getWorkloadIdentityConfigBuilder().mergeFrom(value); } else { workloadIdentityConfig_ = value; @@ -4222,11 +4877,15 @@ public Builder mergeWorkloadIdentityConfig(com.google.cloud.gkemulticloud.v1.Wor return this; } /** + * + * *
      * Output only. Workload Identity settings.
      * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearWorkloadIdentityConfig() { bitField0_ = (bitField0_ & ~0x00008000); @@ -4239,48 +4898,66 @@ public Builder clearWorkloadIdentityConfig() { return this; } /** + * + * *
      * Output only. Workload Identity settings.
      * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder getWorkloadIdentityConfigBuilder() { + public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder + getWorkloadIdentityConfigBuilder() { bitField0_ |= 0x00008000; onChanged(); return getWorkloadIdentityConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Workload Identity settings.
      * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder() { + public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder + getWorkloadIdentityConfigOrBuilder() { if (workloadIdentityConfigBuilder_ != null) { return workloadIdentityConfigBuilder_.getMessageOrBuilder(); } else { - return workloadIdentityConfig_ == null ? - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_; + return workloadIdentityConfig_ == null + ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() + : workloadIdentityConfig_; } } /** + * + * *
      * Output only. Workload Identity settings.
      * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder> getWorkloadIdentityConfigFieldBuilder() { if (workloadIdentityConfigBuilder_ == null) { - workloadIdentityConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder>( - getWorkloadIdentityConfig(), - getParentForChildren(), - isClean()); + workloadIdentityConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder>( + getWorkloadIdentityConfig(), getParentForChildren(), isClean()); workloadIdentityConfig_ = null; } return workloadIdentityConfigBuilder_; @@ -4288,39 +4965,58 @@ public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder getWork private com.google.cloud.gkemulticloud.v1.LoggingConfig loggingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.LoggingConfig, com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder> loggingConfigBuilder_; + com.google.cloud.gkemulticloud.v1.LoggingConfig, + com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, + com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder> + loggingConfigBuilder_; /** + * + * *
      * Optional. Logging configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return ((bitField0_ & 0x00010000) != 0); } /** + * + * *
      * Optional. Logging configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The loggingConfig. */ public com.google.cloud.gkemulticloud.v1.LoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { - return loggingConfig_ == null ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() + : loggingConfig_; } else { return loggingConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. Logging configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setLoggingConfig(com.google.cloud.gkemulticloud.v1.LoggingConfig value) { if (loggingConfigBuilder_ == null) { @@ -4336,11 +5032,15 @@ public Builder setLoggingConfig(com.google.cloud.gkemulticloud.v1.LoggingConfig return this; } /** + * + * *
      * Optional. Logging configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setLoggingConfig( com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder builderForValue) { @@ -4354,17 +5054,22 @@ public Builder setLoggingConfig( return this; } /** + * + * *
      * Optional. Logging configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeLoggingConfig(com.google.cloud.gkemulticloud.v1.LoggingConfig value) { if (loggingConfigBuilder_ == null) { - if (((bitField0_ & 0x00010000) != 0) && - loggingConfig_ != null && - loggingConfig_ != com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00010000) != 0) + && loggingConfig_ != null + && loggingConfig_ + != com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance()) { getLoggingConfigBuilder().mergeFrom(value); } else { loggingConfig_ = value; @@ -4377,11 +5082,15 @@ public Builder mergeLoggingConfig(com.google.cloud.gkemulticloud.v1.LoggingConfi return this; } /** + * + * *
      * Optional. Logging configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearLoggingConfig() { bitField0_ = (bitField0_ & ~0x00010000); @@ -4394,11 +5103,15 @@ public Builder clearLoggingConfig() { return this; } /** + * + * *
      * Optional. Logging configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder getLoggingConfigBuilder() { bitField0_ |= 0x00010000; @@ -4406,59 +5119,81 @@ public com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder getLoggingConfigB return getLoggingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Logging configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder() { if (loggingConfigBuilder_ != null) { return loggingConfigBuilder_.getMessageOrBuilder(); } else { - return loggingConfig_ == null ? - com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() + : loggingConfig_; } } /** + * + * *
      * Optional. Logging configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.LoggingConfig, com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.LoggingConfig, + com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, + com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder> getLoggingConfigFieldBuilder() { if (loggingConfigBuilder_ == null) { - loggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.LoggingConfig, com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder>( - getLoggingConfig(), - getParentForChildren(), - isClean()); + loggingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.LoggingConfig, + com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, + com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder>( + getLoggingConfig(), getParentForChildren(), isClean()); loggingConfig_ = null; } return loggingConfigBuilder_; } private java.util.List errors_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00020000) != 0)) { - errors_ = new java.util.ArrayList(errors_); + errors_ = + new java.util.ArrayList( + errors_); bitField0_ |= 0x00020000; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedClusterError, com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterErrorOrBuilder> errorsBuilder_; + com.google.cloud.gkemulticloud.v1.AttachedClusterError, + com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder, + com.google.cloud.gkemulticloud.v1.AttachedClusterErrorOrBuilder> + errorsBuilder_; /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getErrorsList() { if (errorsBuilder_ == null) { @@ -4468,11 +5203,15 @@ public java.util.List ge } } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -4482,11 +5221,15 @@ public int getErrorsCount() { } } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.gkemulticloud.v1.AttachedClusterError getErrors(int index) { if (errorsBuilder_ == null) { @@ -4496,11 +5239,15 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterError getErrors(int inde } } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setErrors( int index, com.google.cloud.gkemulticloud.v1.AttachedClusterError value) { @@ -4517,11 +5264,15 @@ public Builder setErrors( return this; } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setErrors( int index, com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder builderForValue) { @@ -4535,11 +5286,15 @@ public Builder setErrors( return this; } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addErrors(com.google.cloud.gkemulticloud.v1.AttachedClusterError value) { if (errorsBuilder_ == null) { @@ -4555,11 +5310,15 @@ public Builder addErrors(com.google.cloud.gkemulticloud.v1.AttachedClusterError return this; } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addErrors( int index, com.google.cloud.gkemulticloud.v1.AttachedClusterError value) { @@ -4576,11 +5335,15 @@ public Builder addErrors( return this; } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addErrors( com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder builderForValue) { @@ -4594,11 +5357,15 @@ public Builder addErrors( return this; } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addErrors( int index, com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder builderForValue) { @@ -4612,18 +5379,22 @@ public Builder addErrors( return this; } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllErrors( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -4631,11 +5402,15 @@ public Builder addAllErrors( return this; } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -4648,11 +5423,15 @@ public Builder clearErrors() { return this; } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -4665,39 +5444,52 @@ public Builder removeErrors(int index) { return this; } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder getErrorsBuilder( int index) { return getErrorsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.gkemulticloud.v1.AttachedClusterErrorOrBuilder getErrorsOrBuilder( int index) { if (errorsBuilder_ == null) { - return errors_.get(index); } else { + return errors_.get(index); + } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -4705,49 +5497,65 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterErrorOrBuilder getErrors } } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder addErrorsBuilder() { - return getErrorsFieldBuilder().addBuilder( - com.google.cloud.gkemulticloud.v1.AttachedClusterError.getDefaultInstance()); + return getErrorsFieldBuilder() + .addBuilder(com.google.cloud.gkemulticloud.v1.AttachedClusterError.getDefaultInstance()); } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder addErrorsBuilder( int index) { - return getErrorsFieldBuilder().addBuilder( - index, com.google.cloud.gkemulticloud.v1.AttachedClusterError.getDefaultInstance()); + return getErrorsFieldBuilder() + .addBuilder( + index, com.google.cloud.gkemulticloud.v1.AttachedClusterError.getDefaultInstance()); } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedClusterError, com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterErrorOrBuilder> + com.google.cloud.gkemulticloud.v1.AttachedClusterError, + com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder, + com.google.cloud.gkemulticloud.v1.AttachedClusterErrorOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedClusterError, com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterErrorOrBuilder>( - errors_, - ((bitField0_ & 0x00020000) != 0), - getParentForChildren(), - isClean()); + errorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AttachedClusterError, + com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder, + com.google.cloud.gkemulticloud.v1.AttachedClusterErrorOrBuilder>( + errors_, ((bitField0_ & 0x00020000) != 0), getParentForChildren(), isClean()); errors_ = null; } return errorsBuilder_; @@ -4755,41 +5563,61 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder addErrorsB private com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization, com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.Builder, com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorizationOrBuilder> authorizationBuilder_; + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization, + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.Builder, + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorizationOrBuilder> + authorizationBuilder_; /** + * + * *
      * Optional. Configuration related to the cluster RBAC settings.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the authorization field is set. */ public boolean hasAuthorization() { return ((bitField0_ & 0x00040000) != 0); } /** + * + * *
      * Optional. Configuration related to the cluster RBAC settings.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The authorization. */ public com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization getAuthorization() { if (authorizationBuilder_ == null) { - return authorization_ == null ? com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.getDefaultInstance() : authorization_; + return authorization_ == null + ? com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.getDefaultInstance() + : authorization_; } else { return authorizationBuilder_.getMessage(); } } /** + * + * *
      * Optional. Configuration related to the cluster RBAC settings.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setAuthorization(com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization value) { + public Builder setAuthorization( + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization value) { if (authorizationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4803,11 +5631,15 @@ public Builder setAuthorization(com.google.cloud.gkemulticloud.v1.AttachedCluste return this; } /** + * + * *
      * Optional. Configuration related to the cluster RBAC settings.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAuthorization( com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.Builder builderForValue) { @@ -4821,17 +5653,24 @@ public Builder setAuthorization( return this; } /** + * + * *
      * Optional. Configuration related to the cluster RBAC settings.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeAuthorization(com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization value) { + public Builder mergeAuthorization( + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization value) { if (authorizationBuilder_ == null) { - if (((bitField0_ & 0x00040000) != 0) && - authorization_ != null && - authorization_ != com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.getDefaultInstance()) { + if (((bitField0_ & 0x00040000) != 0) + && authorization_ != null + && authorization_ + != com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization + .getDefaultInstance()) { getAuthorizationBuilder().mergeFrom(value); } else { authorization_ = value; @@ -4844,11 +5683,15 @@ public Builder mergeAuthorization(com.google.cloud.gkemulticloud.v1.AttachedClus return this; } /** + * + * *
      * Optional. Configuration related to the cluster RBAC settings.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearAuthorization() { bitField0_ = (bitField0_ & ~0x00040000); @@ -4861,48 +5704,66 @@ public Builder clearAuthorization() { return this; } /** + * + * *
      * Optional. Configuration related to the cluster RBAC settings.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.Builder getAuthorizationBuilder() { + public com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.Builder + getAuthorizationBuilder() { bitField0_ |= 0x00040000; onChanged(); return getAuthorizationFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Configuration related to the cluster RBAC settings.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorizationOrBuilder getAuthorizationOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorizationOrBuilder + getAuthorizationOrBuilder() { if (authorizationBuilder_ != null) { return authorizationBuilder_.getMessageOrBuilder(); } else { - return authorization_ == null ? - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.getDefaultInstance() : authorization_; + return authorization_ == null + ? com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.getDefaultInstance() + : authorization_; } } /** + * + * *
      * Optional. Configuration related to the cluster RBAC settings.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization, com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.Builder, com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorizationOrBuilder> + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization, + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.Builder, + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorizationOrBuilder> getAuthorizationFieldBuilder() { if (authorizationBuilder_ == null) { - authorizationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization, com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.Builder, com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorizationOrBuilder>( - getAuthorization(), - getParentForChildren(), - isClean()); + authorizationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization, + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.Builder, + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorizationOrBuilder>( + getAuthorization(), getParentForChildren(), isClean()); authorization_ = null; } return authorizationBuilder_; @@ -4910,39 +5771,58 @@ public com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorizationOrBuilder private com.google.cloud.gkemulticloud.v1.MonitoringConfig monitoringConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.MonitoringConfig, com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder> monitoringConfigBuilder_; + com.google.cloud.gkemulticloud.v1.MonitoringConfig, + com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, + com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder> + monitoringConfigBuilder_; /** + * + * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the monitoringConfig field is set. */ public boolean hasMonitoringConfig() { return ((bitField0_ & 0x00080000) != 0); } /** + * + * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The monitoringConfig. */ public com.google.cloud.gkemulticloud.v1.MonitoringConfig getMonitoringConfig() { if (monitoringConfigBuilder_ == null) { - return monitoringConfig_ == null ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; + return monitoringConfig_ == null + ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() + : monitoringConfig_; } else { return monitoringConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setMonitoringConfig(com.google.cloud.gkemulticloud.v1.MonitoringConfig value) { if (monitoringConfigBuilder_ == null) { @@ -4958,11 +5838,15 @@ public Builder setMonitoringConfig(com.google.cloud.gkemulticloud.v1.MonitoringC return this; } /** + * + * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setMonitoringConfig( com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder builderForValue) { @@ -4976,17 +5860,22 @@ public Builder setMonitoringConfig( return this; } /** + * + * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeMonitoringConfig(com.google.cloud.gkemulticloud.v1.MonitoringConfig value) { if (monitoringConfigBuilder_ == null) { - if (((bitField0_ & 0x00080000) != 0) && - monitoringConfig_ != null && - monitoringConfig_ != com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00080000) != 0) + && monitoringConfig_ != null + && monitoringConfig_ + != com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance()) { getMonitoringConfigBuilder().mergeFrom(value); } else { monitoringConfig_ = value; @@ -4999,11 +5888,15 @@ public Builder mergeMonitoringConfig(com.google.cloud.gkemulticloud.v1.Monitorin return this; } /** + * + * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearMonitoringConfig() { bitField0_ = (bitField0_ & ~0x00080000); @@ -5016,11 +5909,15 @@ public Builder clearMonitoringConfig() { return this; } /** + * + * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder getMonitoringConfigBuilder() { bitField0_ |= 0x00080000; @@ -5028,36 +5925,49 @@ public com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder getMonitoringC return getMonitoringConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBuilder() { + public com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder + getMonitoringConfigOrBuilder() { if (monitoringConfigBuilder_ != null) { return monitoringConfigBuilder_.getMessageOrBuilder(); } else { - return monitoringConfig_ == null ? - com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; + return monitoringConfig_ == null + ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() + : monitoringConfig_; } } /** + * + * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.MonitoringConfig, com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.MonitoringConfig, + com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, + com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder> getMonitoringConfigFieldBuilder() { if (monitoringConfigBuilder_ == null) { - monitoringConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.MonitoringConfig, com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder>( - getMonitoringConfig(), - getParentForChildren(), - isClean()); + monitoringConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.MonitoringConfig, + com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, + com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder>( + getMonitoringConfig(), getParentForChildren(), isClean()); monitoringConfig_ = null; } return monitoringConfigBuilder_; @@ -5065,39 +5975,58 @@ public com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder getMonitoring private com.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxyConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedProxyConfig, com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder> proxyConfigBuilder_; + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig, + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder, + com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder> + proxyConfigBuilder_; /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the proxyConfig field is set. */ public boolean hasProxyConfig() { return ((bitField0_ & 0x00100000) != 0); } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The proxyConfig. */ public com.google.cloud.gkemulticloud.v1.AttachedProxyConfig getProxyConfig() { if (proxyConfigBuilder_ == null) { - return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() : proxyConfig_; + return proxyConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() + : proxyConfig_; } else { return proxyConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setProxyConfig(com.google.cloud.gkemulticloud.v1.AttachedProxyConfig value) { if (proxyConfigBuilder_ == null) { @@ -5113,11 +6042,15 @@ public Builder setProxyConfig(com.google.cloud.gkemulticloud.v1.AttachedProxyCon return this; } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setProxyConfig( com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder builderForValue) { @@ -5131,17 +6064,22 @@ public Builder setProxyConfig( return this; } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeProxyConfig(com.google.cloud.gkemulticloud.v1.AttachedProxyConfig value) { if (proxyConfigBuilder_ == null) { - if (((bitField0_ & 0x00100000) != 0) && - proxyConfig_ != null && - proxyConfig_ != com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00100000) != 0) + && proxyConfig_ != null + && proxyConfig_ + != com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance()) { getProxyConfigBuilder().mergeFrom(value); } else { proxyConfig_ = value; @@ -5154,11 +6092,15 @@ public Builder mergeProxyConfig(com.google.cloud.gkemulticloud.v1.AttachedProxyC return this; } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearProxyConfig() { bitField0_ = (bitField0_ & ~0x00100000); @@ -5171,11 +6113,15 @@ public Builder clearProxyConfig() { return this; } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder getProxyConfigBuilder() { bitField0_ |= 0x00100000; @@ -5183,36 +6129,49 @@ public com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder getProxyCon return getProxyConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder getProxyConfigOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder + getProxyConfigOrBuilder() { if (proxyConfigBuilder_ != null) { return proxyConfigBuilder_.getMessageOrBuilder(); } else { - return proxyConfig_ == null ? - com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() : proxyConfig_; + return proxyConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() + : proxyConfig_; } } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedProxyConfig, com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig, + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder, + com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder> getProxyConfigFieldBuilder() { if (proxyConfigBuilder_ == null) { - proxyConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedProxyConfig, com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder>( - getProxyConfig(), - getParentForChildren(), - isClean()); + proxyConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig, + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder, + com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder>( + getProxyConfig(), getParentForChildren(), isClean()); proxyConfig_ = null; } return proxyConfigBuilder_; @@ -5220,41 +6179,61 @@ public com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder getProxyCo private com.google.cloud.gkemulticloud.v1.BinaryAuthorization binaryAuthorization_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.BinaryAuthorization, com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder, com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder> binaryAuthorizationBuilder_; + com.google.cloud.gkemulticloud.v1.BinaryAuthorization, + com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder, + com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder> + binaryAuthorizationBuilder_; /** + * + * *
      * Optional. Binary Authorization configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the binaryAuthorization field is set. */ public boolean hasBinaryAuthorization() { return ((bitField0_ & 0x00200000) != 0); } /** + * + * *
      * Optional. Binary Authorization configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The binaryAuthorization. */ public com.google.cloud.gkemulticloud.v1.BinaryAuthorization getBinaryAuthorization() { if (binaryAuthorizationBuilder_ == null) { - return binaryAuthorization_ == null ? com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; + return binaryAuthorization_ == null + ? com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance() + : binaryAuthorization_; } else { return binaryAuthorizationBuilder_.getMessage(); } } /** + * + * *
      * Optional. Binary Authorization configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setBinaryAuthorization(com.google.cloud.gkemulticloud.v1.BinaryAuthorization value) { + public Builder setBinaryAuthorization( + com.google.cloud.gkemulticloud.v1.BinaryAuthorization value) { if (binaryAuthorizationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5268,11 +6247,15 @@ public Builder setBinaryAuthorization(com.google.cloud.gkemulticloud.v1.BinaryAu return this; } /** + * + * *
      * Optional. Binary Authorization configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setBinaryAuthorization( com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder builderForValue) { @@ -5286,17 +6269,23 @@ public Builder setBinaryAuthorization( return this; } /** + * + * *
      * Optional. Binary Authorization configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeBinaryAuthorization(com.google.cloud.gkemulticloud.v1.BinaryAuthorization value) { + public Builder mergeBinaryAuthorization( + com.google.cloud.gkemulticloud.v1.BinaryAuthorization value) { if (binaryAuthorizationBuilder_ == null) { - if (((bitField0_ & 0x00200000) != 0) && - binaryAuthorization_ != null && - binaryAuthorization_ != com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance()) { + if (((bitField0_ & 0x00200000) != 0) + && binaryAuthorization_ != null + && binaryAuthorization_ + != com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance()) { getBinaryAuthorizationBuilder().mergeFrom(value); } else { binaryAuthorization_ = value; @@ -5309,11 +6298,15 @@ public Builder mergeBinaryAuthorization(com.google.cloud.gkemulticloud.v1.Binary return this; } /** + * + * *
      * Optional. Binary Authorization configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearBinaryAuthorization() { bitField0_ = (bitField0_ & ~0x00200000); @@ -5326,55 +6319,73 @@ public Builder clearBinaryAuthorization() { return this; } /** + * + * *
      * Optional. Binary Authorization configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder getBinaryAuthorizationBuilder() { + public com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder + getBinaryAuthorizationBuilder() { bitField0_ |= 0x00200000; onChanged(); return getBinaryAuthorizationFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Binary Authorization configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder() { + public com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder + getBinaryAuthorizationOrBuilder() { if (binaryAuthorizationBuilder_ != null) { return binaryAuthorizationBuilder_.getMessageOrBuilder(); } else { - return binaryAuthorization_ == null ? - com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; + return binaryAuthorization_ == null + ? com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance() + : binaryAuthorization_; } } /** + * + * *
      * Optional. Binary Authorization configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.BinaryAuthorization, com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder, com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder> + com.google.cloud.gkemulticloud.v1.BinaryAuthorization, + com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder, + com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder> getBinaryAuthorizationFieldBuilder() { if (binaryAuthorizationBuilder_ == null) { - binaryAuthorizationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.BinaryAuthorization, com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder, com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder>( - getBinaryAuthorization(), - getParentForChildren(), - isClean()); + binaryAuthorizationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.BinaryAuthorization, + com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder, + com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder>( + getBinaryAuthorization(), getParentForChildren(), isClean()); binaryAuthorization_ = null; } return binaryAuthorizationBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5384,12 +6395,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AttachedCluster) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AttachedCluster) private static final com.google.cloud.gkemulticloud.v1.AttachedCluster DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AttachedCluster(); } @@ -5398,27 +6409,27 @@ public static com.google.cloud.gkemulticloud.v1.AttachedCluster getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AttachedCluster parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AttachedCluster parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5433,6 +6444,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AttachedCluster getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterError.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterError.java similarity index 66% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterError.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterError.java index ce066383ced3..b2b7354e3a0f 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterError.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterError.java @@ -1,57 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * AttachedClusterError describes errors found on attached clusters.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedClusterError} */ -public final class AttachedClusterError extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AttachedClusterError extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AttachedClusterError) AttachedClusterErrorOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AttachedClusterError.newBuilder() to construct. private AttachedClusterError(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AttachedClusterError() { message_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AttachedClusterError(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClusterError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedClusterError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClusterError_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedClusterError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AttachedClusterError.class, com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder.class); + com.google.cloud.gkemulticloud.v1.AttachedClusterError.class, + com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder.class); } public static final int MESSAGE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** + * + * *
    * Human-friendly description of the error.
    * 
* * string message = 1; + * * @return The message. */ @java.lang.Override @@ -60,29 +83,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** + * + * *
    * Human-friendly description of the error.
    * 
* * string message = 1; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -91,6 +114,7 @@ public java.lang.String getMessage() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,8 +126,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } @@ -127,15 +150,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AttachedClusterError)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AttachedClusterError other = (com.google.cloud.gkemulticloud.v1.AttachedClusterError) obj; + com.google.cloud.gkemulticloud.v1.AttachedClusterError other = + (com.google.cloud.gkemulticloud.v1.AttachedClusterError) obj; - if (!getMessage() - .equals(other.getMessage())) return false; + if (!getMessage().equals(other.getMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -155,131 +178,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AttachedClusterError parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterError parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterError parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterError parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterError parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedClusterError parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AttachedClusterError parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterError parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedClusterError parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AttachedClusterError parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AttachedClusterError parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterError parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterError parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AttachedClusterError prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.AttachedClusterError prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * AttachedClusterError describes errors found on attached clusters.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedClusterError} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AttachedClusterError) com.google.cloud.gkemulticloud.v1.AttachedClusterErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClusterError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedClusterError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClusterError_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedClusterError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AttachedClusterError.class, com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder.class); + com.google.cloud.gkemulticloud.v1.AttachedClusterError.class, + com.google.cloud.gkemulticloud.v1.AttachedClusterError.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AttachedClusterError.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -289,9 +317,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClusterError_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedClusterError_descriptor; } @java.lang.Override @@ -310,8 +338,11 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterError build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedClusterError buildPartial() { - com.google.cloud.gkemulticloud.v1.AttachedClusterError result = new com.google.cloud.gkemulticloud.v1.AttachedClusterError(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.AttachedClusterError result = + new com.google.cloud.gkemulticloud.v1.AttachedClusterError(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -327,38 +358,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AttachedClusterErro public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AttachedClusterError) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedClusterError)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedClusterError) other); } else { super.mergeFrom(other); return this; @@ -366,7 +398,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AttachedClusterError other) { - if (other == com.google.cloud.gkemulticloud.v1.AttachedClusterError.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AttachedClusterError.getDefaultInstance()) + return this; if (!other.getMessage().isEmpty()) { message_ = other.message_; bitField0_ |= 0x00000001; @@ -398,17 +431,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -418,22 +453,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object message_ = ""; /** + * + * *
      * Human-friendly description of the error.
      * 
* * string message = 1; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -442,20 +480,21 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Human-friendly description of the error.
      * 
* * string message = 1; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -463,28 +502,35 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Human-friendly description of the error.
      * 
* * string message = 1; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Human-friendly description of the error.
      * 
* * string message = 1; + * * @return This builder for chaining. */ public Builder clearMessage() { @@ -494,26 +540,30 @@ public Builder clearMessage() { return this; } /** + * + * *
      * Human-friendly description of the error.
      * 
* * string message = 1; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -523,12 +573,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AttachedClusterError) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AttachedClusterError) private static final com.google.cloud.gkemulticloud.v1.AttachedClusterError DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AttachedClusterError(); } @@ -537,27 +587,27 @@ public static com.google.cloud.gkemulticloud.v1.AttachedClusterError getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AttachedClusterError parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AttachedClusterError parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -572,6 +622,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AttachedClusterError getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterErrorOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterErrorOrBuilder.java new file mode 100644 index 000000000000..d1e2a91f24fd --- /dev/null +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterErrorOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/attached_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface AttachedClusterErrorOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AttachedClusterError) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Human-friendly description of the error.
+   * 
+ * + * string message = 1; + * + * @return The message. + */ + java.lang.String getMessage(); + /** + * + * + *
+   * Human-friendly description of the error.
+   * 
+ * + * string message = 1; + * + * @return The bytes for message. + */ + com.google.protobuf.ByteString getMessageBytes(); +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterGroup.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterGroup.java similarity index 67% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterGroup.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterGroup.java index c24b69d50a36..3ca9e1d60c95 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterGroup.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterGroup.java @@ -1,57 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Identities of a group-type subject for Attached clusters.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedClusterGroup} */ -public final class AttachedClusterGroup extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AttachedClusterGroup extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AttachedClusterGroup) AttachedClusterGroupOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AttachedClusterGroup.newBuilder() to construct. private AttachedClusterGroup(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AttachedClusterGroup() { group_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AttachedClusterGroup(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClusterGroup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedClusterGroup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClusterGroup_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedClusterGroup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.class, com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.Builder.class); + com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.class, + com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.Builder.class); } public static final int GROUP_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object group_ = ""; /** + * + * *
    * Required. The name of the group, e.g. `my-group@domain.com`.
    * 
* * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The group. */ @java.lang.Override @@ -60,29 +83,29 @@ public java.lang.String getGroup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); group_ = s; return s; } } /** + * + * *
    * Required. The name of the group, e.g. `my-group@domain.com`.
    * 
* * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for group. */ @java.lang.Override - public com.google.protobuf.ByteString - getGroupBytes() { + public com.google.protobuf.ByteString getGroupBytes() { java.lang.Object ref = group_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); group_ = b; return b; } else { @@ -91,6 +114,7 @@ public java.lang.String getGroup() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,8 +126,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(group_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_); } @@ -127,15 +150,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AttachedClusterGroup)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AttachedClusterGroup other = (com.google.cloud.gkemulticloud.v1.AttachedClusterGroup) obj; + com.google.cloud.gkemulticloud.v1.AttachedClusterGroup other = + (com.google.cloud.gkemulticloud.v1.AttachedClusterGroup) obj; - if (!getGroup() - .equals(other.getGroup())) return false; + if (!getGroup().equals(other.getGroup())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -155,131 +178,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AttachedClusterGroup parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterGroup parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterGroup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterGroup parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterGroup parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedClusterGroup parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AttachedClusterGroup parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterGroup parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedClusterGroup parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AttachedClusterGroup parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AttachedClusterGroup parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterGroup parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterGroup parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AttachedClusterGroup prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.AttachedClusterGroup prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Identities of a group-type subject for Attached clusters.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedClusterGroup} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AttachedClusterGroup) com.google.cloud.gkemulticloud.v1.AttachedClusterGroupOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClusterGroup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedClusterGroup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClusterGroup_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedClusterGroup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.class, com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.Builder.class); + com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.class, + com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -289,9 +317,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClusterGroup_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedClusterGroup_descriptor; } @java.lang.Override @@ -310,8 +338,11 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterGroup build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedClusterGroup buildPartial() { - com.google.cloud.gkemulticloud.v1.AttachedClusterGroup result = new com.google.cloud.gkemulticloud.v1.AttachedClusterGroup(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.AttachedClusterGroup result = + new com.google.cloud.gkemulticloud.v1.AttachedClusterGroup(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -327,38 +358,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AttachedClusterGrou public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AttachedClusterGroup) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedClusterGroup)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedClusterGroup) other); } else { super.mergeFrom(other); return this; @@ -366,7 +398,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AttachedClusterGroup other) { - if (other == com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.getDefaultInstance()) + return this; if (!other.getGroup().isEmpty()) { group_ = other.group_; bitField0_ |= 0x00000001; @@ -398,17 +431,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - group_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + group_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -418,22 +453,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object group_ = ""; /** + * + * *
      * Required. The name of the group, e.g. `my-group@domain.com`.
      * 
* * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The group. */ public java.lang.String getGroup() { java.lang.Object ref = group_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); group_ = s; return s; @@ -442,20 +480,21 @@ public java.lang.String getGroup() { } } /** + * + * *
      * Required. The name of the group, e.g. `my-group@domain.com`.
      * 
* * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for group. */ - public com.google.protobuf.ByteString - getGroupBytes() { + public com.google.protobuf.ByteString getGroupBytes() { java.lang.Object ref = group_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); group_ = b; return b; } else { @@ -463,28 +502,35 @@ public java.lang.String getGroup() { } } /** + * + * *
      * Required. The name of the group, e.g. `my-group@domain.com`.
      * 
* * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The group to set. * @return This builder for chaining. */ - public Builder setGroup( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGroup(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } group_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the group, e.g. `my-group@domain.com`.
      * 
* * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearGroup() { @@ -494,26 +540,30 @@ public Builder clearGroup() { return this; } /** + * + * *
      * Required. The name of the group, e.g. `my-group@domain.com`.
      * 
* * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for group to set. * @return This builder for chaining. */ - public Builder setGroupBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGroupBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); group_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -523,12 +573,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AttachedClusterGroup) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AttachedClusterGroup) private static final com.google.cloud.gkemulticloud.v1.AttachedClusterGroup DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AttachedClusterGroup(); } @@ -537,27 +587,27 @@ public static com.google.cloud.gkemulticloud.v1.AttachedClusterGroup getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AttachedClusterGroup parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AttachedClusterGroup parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -572,6 +622,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AttachedClusterGroup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterGroupOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterGroupOrBuilder.java similarity index 51% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterGroupOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterGroupOrBuilder.java index b656a21f528b..b19c83560419 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterGroupOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterGroupOrBuilder.java @@ -1,29 +1,50 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AttachedClusterGroupOrBuilder extends +public interface AttachedClusterGroupOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AttachedClusterGroup) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the group, e.g. `my-group@domain.com`.
    * 
* * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The group. */ java.lang.String getGroup(); /** + * + * *
    * Required. The name of the group, e.g. `my-group@domain.com`.
    * 
* * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for group. */ - com.google.protobuf.ByteString - getGroupBytes(); + com.google.protobuf.ByteString getGroupBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterName.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterName.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterName.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterName.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterOrBuilder.java similarity index 69% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterOrBuilder.java index 842c0945e6e5..5959a94fa63b 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AttachedClusterOrBuilder extends +public interface AttachedClusterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AttachedCluster) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of this resource.
    *
@@ -19,10 +37,13 @@ public interface AttachedClusterOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of this resource.
    *
@@ -34,61 +55,82 @@ public interface AttachedClusterOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. A human readable description of this cluster.
    * Cannot be longer than 255 UTF-8 encoded bytes.
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. A human readable description of this cluster.
    * Cannot be longer than 255 UTF-8 encoded bytes.
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Required. OpenID Connect (OIDC) configuration for the cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the oidcConfig field is set. */ boolean hasOidcConfig(); /** + * + * *
    * Required. OpenID Connect (OIDC) configuration for the cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The oidcConfig. */ com.google.cloud.gkemulticloud.v1.AttachedOidcConfig getOidcConfig(); /** + * + * *
    * Required. OpenID Connect (OIDC) configuration for the cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gkemulticloud.v1.AttachedOidcConfigOrBuilder getOidcConfigOrBuilder(); /** + * + * *
    * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
    *
@@ -98,10 +140,13 @@ public interface AttachedClusterOrBuilder extends
    * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The platformVersion. */ java.lang.String getPlatformVersion(); /** + * + * *
    * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
    *
@@ -111,12 +156,14 @@ public interface AttachedClusterOrBuilder extends
    * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for platformVersion. */ - com.google.protobuf.ByteString - getPlatformVersionBytes(); + com.google.protobuf.ByteString getPlatformVersionBytes(); /** + * + * *
    * Required. The Kubernetes distribution of the underlying attached cluster.
    *
@@ -124,10 +171,13 @@ public interface AttachedClusterOrBuilder extends
    * 
* * string distribution = 16 [(.google.api.field_behavior) = REQUIRED]; + * * @return The distribution. */ java.lang.String getDistribution(); /** + * + * *
    * Required. The Kubernetes distribution of the underlying attached cluster.
    *
@@ -135,12 +185,14 @@ public interface AttachedClusterOrBuilder extends
    * 
* * string distribution = 16 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for distribution. */ - com.google.protobuf.ByteString - getDistributionBytes(); + com.google.protobuf.ByteString getDistributionBytes(); /** + * + * *
    * Output only. The region where this cluster runs.
    *
@@ -149,10 +201,13 @@ public interface AttachedClusterOrBuilder extends
    * 
* * string cluster_region = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The clusterRegion. */ java.lang.String getClusterRegion(); /** + * + * *
    * Output only. The region where this cluster runs.
    *
@@ -161,142 +216,195 @@ public interface AttachedClusterOrBuilder extends
    * 
* * string cluster_region = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for clusterRegion. */ - com.google.protobuf.ByteString - getClusterRegionBytes(); + com.google.protobuf.ByteString getClusterRegionBytes(); /** + * + * *
    * Required. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the fleet field is set. */ boolean hasFleet(); /** + * + * *
    * Required. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The fleet. */ com.google.cloud.gkemulticloud.v1.Fleet getFleet(); /** + * + * *
    * Required. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder(); /** + * + * *
    * Output only. The current state of the cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The current state of the cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.gkemulticloud.v1.AttachedCluster.State getState(); /** + * + * *
    * Output only. A globally unique identifier for the cluster.
    * 
* * string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. A globally unique identifier for the cluster.
    * 
* * string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Output only. If set, there are currently changes in flight to the cluster.
    * 
* * bool reconciling = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ boolean getReconciling(); /** + * + * *
    * Output only. The time at which this cluster was registered.
    * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time at which this cluster was registered.
    * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time at which this cluster was registered.
    * 
* - * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -306,10 +414,13 @@ public interface AttachedClusterOrBuilder extends
    * 
* * string etag = 11; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -319,32 +430,39 @@ public interface AttachedClusterOrBuilder extends
    * 
* * string etag = 11; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Output only. The Kubernetes version of the cluster.
    * 
* * string kubernetes_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The kubernetesVersion. */ java.lang.String getKubernetesVersion(); /** + * + * *
    * Output only. The Kubernetes version of the cluster.
    * 
* * string kubernetes_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for kubernetesVersion. */ - com.google.protobuf.ByteString - getKubernetesVersionBytes(); + com.google.protobuf.ByteString getKubernetesVersionBytes(); /** + * + * *
    * Optional. Annotations on the cluster.
    *
@@ -357,10 +475,13 @@ public interface AttachedClusterOrBuilder extends
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getAnnotationsCount(); /** + * + * *
    * Optional. Annotations on the cluster.
    *
@@ -373,17 +494,16 @@ public interface AttachedClusterOrBuilder extends
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - */ - boolean containsAnnotations( - java.lang.String key); - /** - * Use {@link #getAnnotationsMap()} instead. + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ + boolean containsAnnotations(java.lang.String key); + /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getAnnotations(); + java.util.Map getAnnotations(); /** + * + * *
    * Optional. Annotations on the cluster.
    *
@@ -396,11 +516,13 @@ boolean containsAnnotations(
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.Map - getAnnotationsMap(); + java.util.Map getAnnotationsMap(); /** + * + * *
    * Optional. Annotations on the cluster.
    *
@@ -413,14 +535,17 @@ boolean containsAnnotations(
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ /* nullable */ -java.lang.String getAnnotationsOrDefault( + java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Optional. Annotations on the cluster.
    *
@@ -433,214 +558,318 @@ java.lang.String getAnnotationsOrDefault(
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.lang.String getAnnotationsOrThrow( - java.lang.String key); + java.lang.String getAnnotationsOrThrow(java.lang.String key); /** + * + * *
    * Output only. Workload Identity settings.
    * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the workloadIdentityConfig field is set. */ boolean hasWorkloadIdentityConfig(); /** + * + * *
    * Output only. Workload Identity settings.
    * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The workloadIdentityConfig. */ com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig getWorkloadIdentityConfig(); /** + * + * *
    * Output only. Workload Identity settings.
    * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder(); + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder + getWorkloadIdentityConfigOrBuilder(); /** + * + * *
    * Optional. Logging configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** + * + * *
    * Optional. Logging configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The loggingConfig. */ com.google.cloud.gkemulticloud.v1.LoggingConfig getLoggingConfig(); /** + * + * *
    * Optional. Logging configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder(); /** + * + * *
    * Output only. A set of errors found in the cluster.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getErrorsList(); + java.util.List getErrorsList(); /** + * + * *
    * Output only. A set of errors found in the cluster.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.gkemulticloud.v1.AttachedClusterError getErrors(int index); /** + * + * *
    * Output only. A set of errors found in the cluster.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getErrorsCount(); /** + * + * *
    * Output only. A set of errors found in the cluster.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getErrorsOrBuilderList(); /** + * + * *
    * Output only. A set of errors found in the cluster.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.gkemulticloud.v1.AttachedClusterErrorOrBuilder getErrorsOrBuilder( - int index); + com.google.cloud.gkemulticloud.v1.AttachedClusterErrorOrBuilder getErrorsOrBuilder(int index); /** + * + * *
    * Optional. Configuration related to the cluster RBAC settings.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the authorization field is set. */ boolean hasAuthorization(); /** + * + * *
    * Optional. Configuration related to the cluster RBAC settings.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The authorization. */ com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization getAuthorization(); /** + * + * *
    * Optional. Configuration related to the cluster RBAC settings.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorizationOrBuilder getAuthorizationOrBuilder(); + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorizationOrBuilder + getAuthorizationOrBuilder(); /** + * + * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the monitoringConfig field is set. */ boolean hasMonitoringConfig(); /** + * + * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The monitoringConfig. */ com.google.cloud.gkemulticloud.v1.MonitoringConfig getMonitoringConfig(); /** + * + * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBuilder(); /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the proxyConfig field is set. */ boolean hasProxyConfig(); /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The proxyConfig. */ com.google.cloud.gkemulticloud.v1.AttachedProxyConfig getProxyConfig(); /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder getProxyConfigOrBuilder(); /** + * + * *
    * Optional. Binary Authorization configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the binaryAuthorization field is set. */ boolean hasBinaryAuthorization(); /** + * + * *
    * Optional. Binary Authorization configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The binaryAuthorization. */ com.google.cloud.gkemulticloud.v1.BinaryAuthorization getBinaryAuthorization(); /** + * + * *
    * Optional. Binary Authorization configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterUser.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterUser.java similarity index 67% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterUser.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterUser.java index 6135ad687940..185b2ccd727e 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterUser.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterUser.java @@ -1,57 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Identities of a user-type subject for Attached clusters.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedClusterUser} */ -public final class AttachedClusterUser extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AttachedClusterUser extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AttachedClusterUser) AttachedClusterUserOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AttachedClusterUser.newBuilder() to construct. private AttachedClusterUser(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AttachedClusterUser() { username_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AttachedClusterUser(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClusterUser_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedClusterUser_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClusterUser_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedClusterUser_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AttachedClusterUser.class, com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder.class); + com.google.cloud.gkemulticloud.v1.AttachedClusterUser.class, + com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder.class); } public static final int USERNAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object username_ = ""; /** + * + * *
    * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
    * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The username. */ @java.lang.Override @@ -60,29 +83,29 @@ public java.lang.String getUsername() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; } } /** + * + * *
    * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
    * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for username. */ @java.lang.Override - public com.google.protobuf.ByteString - getUsernameBytes() { + public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); username_ = b; return b; } else { @@ -91,6 +114,7 @@ public java.lang.String getUsername() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,8 +126,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(username_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, username_); } @@ -127,15 +150,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AttachedClusterUser)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AttachedClusterUser other = (com.google.cloud.gkemulticloud.v1.AttachedClusterUser) obj; + com.google.cloud.gkemulticloud.v1.AttachedClusterUser other = + (com.google.cloud.gkemulticloud.v1.AttachedClusterUser) obj; - if (!getUsername() - .equals(other.getUsername())) return false; + if (!getUsername().equals(other.getUsername())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -155,131 +178,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AttachedClusterUser parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterUser parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterUser parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterUser parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterUser parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterUser parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedClusterUser parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AttachedClusterUser parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterUser parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedClusterUser parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AttachedClusterUser parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AttachedClusterUser parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterUser parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AttachedClusterUser parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AttachedClusterUser prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.AttachedClusterUser prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Identities of a user-type subject for Attached clusters.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedClusterUser} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AttachedClusterUser) com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClusterUser_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedClusterUser_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClusterUser_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedClusterUser_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AttachedClusterUser.class, com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder.class); + com.google.cloud.gkemulticloud.v1.AttachedClusterUser.class, + com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AttachedClusterUser.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -289,9 +317,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClusterUser_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedClusterUser_descriptor; } @java.lang.Override @@ -310,8 +338,11 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterUser build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedClusterUser buildPartial() { - com.google.cloud.gkemulticloud.v1.AttachedClusterUser result = new com.google.cloud.gkemulticloud.v1.AttachedClusterUser(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.AttachedClusterUser result = + new com.google.cloud.gkemulticloud.v1.AttachedClusterUser(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -327,38 +358,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AttachedClusterUser public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AttachedClusterUser) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedClusterUser)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedClusterUser) other); } else { super.mergeFrom(other); return this; @@ -366,7 +398,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AttachedClusterUser other) { - if (other == com.google.cloud.gkemulticloud.v1.AttachedClusterUser.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AttachedClusterUser.getDefaultInstance()) + return this; if (!other.getUsername().isEmpty()) { username_ = other.username_; bitField0_ |= 0x00000001; @@ -398,17 +431,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - username_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + username_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -418,22 +453,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object username_ = ""; /** + * + * *
      * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
      * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The username. */ public java.lang.String getUsername() { java.lang.Object ref = username_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; @@ -442,20 +480,21 @@ public java.lang.String getUsername() { } } /** + * + * *
      * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
      * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for username. */ - public com.google.protobuf.ByteString - getUsernameBytes() { + public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); username_ = b; return b; } else { @@ -463,28 +502,35 @@ public java.lang.String getUsername() { } } /** + * + * *
      * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
      * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The username to set. * @return This builder for chaining. */ - public Builder setUsername( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUsername(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } username_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
      * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearUsername() { @@ -494,26 +540,30 @@ public Builder clearUsername() { return this; } /** + * + * *
      * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
      * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for username to set. * @return This builder for chaining. */ - public Builder setUsernameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUsernameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); username_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -523,12 +573,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AttachedClusterUser) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AttachedClusterUser) private static final com.google.cloud.gkemulticloud.v1.AttachedClusterUser DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AttachedClusterUser(); } @@ -537,27 +587,27 @@ public static com.google.cloud.gkemulticloud.v1.AttachedClusterUser getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AttachedClusterUser parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AttachedClusterUser parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -572,6 +622,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AttachedClusterUser getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterUserOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterUserOrBuilder.java similarity index 51% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterUserOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterUserOrBuilder.java index f52211c9d61b..c7870e8c1ec5 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterUserOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterUserOrBuilder.java @@ -1,29 +1,50 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AttachedClusterUserOrBuilder extends +public interface AttachedClusterUserOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AttachedClusterUser) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
    * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The username. */ java.lang.String getUsername(); /** + * + * *
    * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
    * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for username. */ - com.google.protobuf.ByteString - getUsernameBytes(); + com.google.protobuf.ByteString getUsernameBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersAuthorization.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersAuthorization.java similarity index 69% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersAuthorization.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersAuthorization.java index 7eb12d37d777..6f1e615c9f20 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersAuthorization.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersAuthorization.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Configuration related to the cluster RBAC settings.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedClustersAuthorization} */ -public final class AttachedClustersAuthorization extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AttachedClustersAuthorization extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AttachedClustersAuthorization) AttachedClustersAuthorizationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AttachedClustersAuthorization.newBuilder() to construct. private AttachedClustersAuthorization(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AttachedClustersAuthorization() { adminUsers_ = java.util.Collections.emptyList(); adminGroups_ = java.util.Collections.emptyList(); @@ -26,28 +44,32 @@ private AttachedClustersAuthorization() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AttachedClustersAuthorization(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClustersAuthorization_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedClustersAuthorization_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClustersAuthorization_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedClustersAuthorization_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.class, com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.Builder.class); + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.class, + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.Builder.class); } public static final int ADMIN_USERS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List adminUsers_; /** + * + * *
    * Optional. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -57,13 +79,17 @@ protected java.lang.Object newInstance(
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List getAdminUsersList() { return adminUsers_; } /** + * + * *
    * Optional. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -73,14 +99,18 @@ public java.util.List get
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List getAdminUsersOrBuilderList() { return adminUsers_; } /** + * + * *
    * Optional. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -90,13 +120,17 @@ public java.util.List get
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getAdminUsersCount() { return adminUsers_.size(); } /** + * + * *
    * Optional. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -106,13 +140,17 @@ public int getAdminUsersCount() {
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedClusterUser getAdminUsers(int index) { return adminUsers_.get(index); } /** + * + * *
    * Optional. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -122,7 +160,9 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterUser getAdminUsers(int i
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder getAdminUsersOrBuilder( @@ -131,9 +171,12 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder getAdminUs } public static final int ADMIN_GROUPS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List adminGroups_; /** + * + * *
    * Optional. Groups of users that can perform operations as a cluster admin. A
    * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -143,13 +186,18 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder getAdminUs
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List getAdminGroupsList() { + public java.util.List + getAdminGroupsList() { return adminGroups_; } /** + * + * *
    * Optional. Groups of users that can perform operations as a cluster admin. A
    * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -159,14 +207,18 @@ public java.util.List ge
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List getAdminGroupsOrBuilderList() { return adminGroups_; } /** + * + * *
    * Optional. Groups of users that can perform operations as a cluster admin. A
    * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -176,13 +228,17 @@ public java.util.List ge
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getAdminGroupsCount() { return adminGroups_.size(); } /** + * + * *
    * Optional. Groups of users that can perform operations as a cluster admin. A
    * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -192,13 +248,17 @@ public int getAdminGroupsCount() {
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedClusterGroup getAdminGroups(int index) { return adminGroups_.get(index); } /** + * + * *
    * Optional. Groups of users that can perform operations as a cluster admin. A
    * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -208,7 +268,9 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterGroup getAdminGroups(int
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedClusterGroupOrBuilder getAdminGroupsOrBuilder( @@ -217,6 +279,7 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterGroupOrBuilder getAdminG } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,8 +291,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < adminUsers_.size(); i++) { output.writeMessage(1, adminUsers_.get(i)); } @@ -246,12 +308,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < adminUsers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, adminUsers_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, adminUsers_.get(i)); } for (int i = 0; i < adminGroups_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, adminGroups_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, adminGroups_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -261,17 +321,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization other = (com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization) obj; + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization other = + (com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization) obj; - if (!getAdminUsersList() - .equals(other.getAdminUsersList())) return false; - if (!getAdminGroupsList() - .equals(other.getAdminGroupsList())) return false; + if (!getAdminUsersList().equals(other.getAdminUsersList())) return false; + if (!getAdminGroupsList().equals(other.getAdminGroupsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -297,131 +356,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration related to the cluster RBAC settings.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedClustersAuthorization} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AttachedClustersAuthorization) com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorizationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClustersAuthorization_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedClustersAuthorization_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClustersAuthorization_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedClustersAuthorization_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.class, com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.Builder.class); + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.class, + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -444,13 +508,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedClustersAuthorization_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedClustersAuthorization_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization + getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.getDefaultInstance(); } @@ -465,14 +530,18 @@ public com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization buildPartial() { - com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization result = new com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization(this); + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization result = + new com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization result) { + private void buildPartialRepeatedFields( + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization result) { if (adminUsersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { adminUsers_ = java.util.Collections.unmodifiableList(adminUsers_); @@ -493,7 +562,8 @@ private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.Attach } } - private void buildPartial0(com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization result) { + private void buildPartial0( + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization result) { int from_bitField0_ = bitField0_; } @@ -501,46 +571,50 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AttachedClustersAut public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization other) { - if (other == com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization other) { + if (other + == com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization.getDefaultInstance()) + return this; if (adminUsersBuilder_ == null) { if (!other.adminUsers_.isEmpty()) { if (adminUsers_.isEmpty()) { @@ -559,9 +633,10 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AttachedClustersAutho adminUsersBuilder_ = null; adminUsers_ = other.adminUsers_; bitField0_ = (bitField0_ & ~0x00000001); - adminUsersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAdminUsersFieldBuilder() : null; + adminUsersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAdminUsersFieldBuilder() + : null; } else { adminUsersBuilder_.addAllMessages(other.adminUsers_); } @@ -585,9 +660,10 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AttachedClustersAutho adminGroupsBuilder_ = null; adminGroups_ = other.adminGroups_; bitField0_ = (bitField0_ & ~0x00000002); - adminGroupsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAdminGroupsFieldBuilder() : null; + adminGroupsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAdminGroupsFieldBuilder() + : null; } else { adminGroupsBuilder_.addAllMessages(other.adminGroups_); } @@ -619,38 +695,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.gkemulticloud.v1.AttachedClusterUser m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AttachedClusterUser.parser(), - extensionRegistry); - if (adminUsersBuilder_ == null) { - ensureAdminUsersIsMutable(); - adminUsers_.add(m); - } else { - adminUsersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - com.google.cloud.gkemulticloud.v1.AttachedClusterGroup m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.parser(), - extensionRegistry); - if (adminGroupsBuilder_ == null) { - ensureAdminGroupsIsMutable(); - adminGroups_.add(m); - } else { - adminGroupsBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.gkemulticloud.v1.AttachedClusterUser m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AttachedClusterUser.parser(), + extensionRegistry); + if (adminUsersBuilder_ == null) { + ensureAdminUsersIsMutable(); + adminUsers_.add(m); + } else { + adminUsersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + com.google.cloud.gkemulticloud.v1.AttachedClusterGroup m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.parser(), + extensionRegistry); + if (adminGroupsBuilder_ == null) { + ensureAdminGroupsIsMutable(); + adminGroups_.add(m); + } else { + adminGroupsBuilder_.addMessage(m); + } + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -660,21 +739,30 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List adminUsers_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAdminUsersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - adminUsers_ = new java.util.ArrayList(adminUsers_); + adminUsers_ = + new java.util.ArrayList( + adminUsers_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedClusterUser, com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder> adminUsersBuilder_; + com.google.cloud.gkemulticloud.v1.AttachedClusterUser, + com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder, + com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder> + adminUsersBuilder_; /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -684,9 +772,12 @@ private void ensureAdminUsersIsMutable() {
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List getAdminUsersList() { + public java.util.List + getAdminUsersList() { if (adminUsersBuilder_ == null) { return java.util.Collections.unmodifiableList(adminUsers_); } else { @@ -694,6 +785,8 @@ public java.util.List get } } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -703,7 +796,9 @@ public java.util.List get
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getAdminUsersCount() { if (adminUsersBuilder_ == null) { @@ -713,6 +808,8 @@ public int getAdminUsersCount() { } } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -722,7 +819,9 @@ public int getAdminUsersCount() {
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AttachedClusterUser getAdminUsers(int index) { if (adminUsersBuilder_ == null) { @@ -732,6 +831,8 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterUser getAdminUsers(int i } } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -741,7 +842,9 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterUser getAdminUsers(int i
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAdminUsers( int index, com.google.cloud.gkemulticloud.v1.AttachedClusterUser value) { @@ -758,6 +861,8 @@ public Builder setAdminUsers( return this; } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -767,7 +872,9 @@ public Builder setAdminUsers(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAdminUsers( int index, com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder builderForValue) { @@ -781,6 +888,8 @@ public Builder setAdminUsers( return this; } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -790,7 +899,9 @@ public Builder setAdminUsers(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAdminUsers(com.google.cloud.gkemulticloud.v1.AttachedClusterUser value) { if (adminUsersBuilder_ == null) { @@ -806,6 +917,8 @@ public Builder addAdminUsers(com.google.cloud.gkemulticloud.v1.AttachedClusterUs return this; } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -815,7 +928,9 @@ public Builder addAdminUsers(com.google.cloud.gkemulticloud.v1.AttachedClusterUs
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAdminUsers( int index, com.google.cloud.gkemulticloud.v1.AttachedClusterUser value) { @@ -832,6 +947,8 @@ public Builder addAdminUsers( return this; } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -841,7 +958,9 @@ public Builder addAdminUsers(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAdminUsers( com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder builderForValue) { @@ -855,6 +974,8 @@ public Builder addAdminUsers( return this; } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -864,7 +985,9 @@ public Builder addAdminUsers(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAdminUsers( int index, com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder builderForValue) { @@ -878,6 +1001,8 @@ public Builder addAdminUsers( return this; } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -887,14 +1012,16 @@ public Builder addAdminUsers(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllAdminUsers( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (adminUsersBuilder_ == null) { ensureAdminUsersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, adminUsers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, adminUsers_); onChanged(); } else { adminUsersBuilder_.addAllMessages(values); @@ -902,6 +1029,8 @@ public Builder addAllAdminUsers( return this; } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -911,7 +1040,9 @@ public Builder addAllAdminUsers(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearAdminUsers() { if (adminUsersBuilder_ == null) { @@ -924,6 +1055,8 @@ public Builder clearAdminUsers() { return this; } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -933,7 +1066,9 @@ public Builder clearAdminUsers() {
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeAdminUsers(int index) { if (adminUsersBuilder_ == null) { @@ -946,6 +1081,8 @@ public Builder removeAdminUsers(int index) { return this; } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -955,13 +1092,17 @@ public Builder removeAdminUsers(int index) {
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder getAdminUsersBuilder( int index) { return getAdminUsersFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -971,16 +1112,21 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder getAdminUse
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder getAdminUsersOrBuilder( int index) { if (adminUsersBuilder_ == null) { - return adminUsers_.get(index); } else { + return adminUsers_.get(index); + } else { return adminUsersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -990,10 +1136,12 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder getAdminUs
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getAdminUsersOrBuilderList() { + public java.util.List + getAdminUsersOrBuilderList() { if (adminUsersBuilder_ != null) { return adminUsersBuilder_.getMessageOrBuilderList(); } else { @@ -1001,6 +1149,8 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder getAdminUs } } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -1010,13 +1160,17 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder getAdminUs
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder addAdminUsersBuilder() { - return getAdminUsersFieldBuilder().addBuilder( - com.google.cloud.gkemulticloud.v1.AttachedClusterUser.getDefaultInstance()); + return getAdminUsersFieldBuilder() + .addBuilder(com.google.cloud.gkemulticloud.v1.AttachedClusterUser.getDefaultInstance()); } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -1026,14 +1180,19 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder addAdminUse
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder addAdminUsersBuilder( int index) { - return getAdminUsersFieldBuilder().addBuilder( - index, com.google.cloud.gkemulticloud.v1.AttachedClusterUser.getDefaultInstance()); + return getAdminUsersFieldBuilder() + .addBuilder( + index, com.google.cloud.gkemulticloud.v1.AttachedClusterUser.getDefaultInstance()); } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -1043,40 +1202,53 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder addAdminUse
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getAdminUsersBuilderList() { + public java.util.List + getAdminUsersBuilderList() { return getAdminUsersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedClusterUser, com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder> + com.google.cloud.gkemulticloud.v1.AttachedClusterUser, + com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder, + com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder> getAdminUsersFieldBuilder() { if (adminUsersBuilder_ == null) { - adminUsersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedClusterUser, com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder>( - adminUsers_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + adminUsersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AttachedClusterUser, + com.google.cloud.gkemulticloud.v1.AttachedClusterUser.Builder, + com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder>( + adminUsers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); adminUsers_ = null; } return adminUsersBuilder_; } private java.util.List adminGroups_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAdminGroupsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - adminGroups_ = new java.util.ArrayList(adminGroups_); + adminGroups_ = + new java.util.ArrayList( + adminGroups_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedClusterGroup, com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterGroupOrBuilder> adminGroupsBuilder_; + com.google.cloud.gkemulticloud.v1.AttachedClusterGroup, + com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.Builder, + com.google.cloud.gkemulticloud.v1.AttachedClusterGroupOrBuilder> + adminGroupsBuilder_; /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1086,9 +1258,12 @@ private void ensureAdminGroupsIsMutable() {
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List getAdminGroupsList() { + public java.util.List + getAdminGroupsList() { if (adminGroupsBuilder_ == null) { return java.util.Collections.unmodifiableList(adminGroups_); } else { @@ -1096,6 +1271,8 @@ public java.util.List ge } } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1105,7 +1282,9 @@ public java.util.List ge
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getAdminGroupsCount() { if (adminGroupsBuilder_ == null) { @@ -1115,6 +1294,8 @@ public int getAdminGroupsCount() { } } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1124,7 +1305,9 @@ public int getAdminGroupsCount() {
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AttachedClusterGroup getAdminGroups(int index) { if (adminGroupsBuilder_ == null) { @@ -1134,6 +1317,8 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterGroup getAdminGroups(int } } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1143,7 +1328,9 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterGroup getAdminGroups(int
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAdminGroups( int index, com.google.cloud.gkemulticloud.v1.AttachedClusterGroup value) { @@ -1160,6 +1347,8 @@ public Builder setAdminGroups( return this; } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1169,7 +1358,9 @@ public Builder setAdminGroups(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAdminGroups( int index, com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.Builder builderForValue) { @@ -1183,6 +1374,8 @@ public Builder setAdminGroups( return this; } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1192,7 +1385,9 @@ public Builder setAdminGroups(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAdminGroups(com.google.cloud.gkemulticloud.v1.AttachedClusterGroup value) { if (adminGroupsBuilder_ == null) { @@ -1208,6 +1403,8 @@ public Builder addAdminGroups(com.google.cloud.gkemulticloud.v1.AttachedClusterG return this; } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1217,7 +1414,9 @@ public Builder addAdminGroups(com.google.cloud.gkemulticloud.v1.AttachedClusterG
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAdminGroups( int index, com.google.cloud.gkemulticloud.v1.AttachedClusterGroup value) { @@ -1234,6 +1433,8 @@ public Builder addAdminGroups( return this; } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1243,7 +1444,9 @@ public Builder addAdminGroups(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAdminGroups( com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.Builder builderForValue) { @@ -1257,6 +1460,8 @@ public Builder addAdminGroups( return this; } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1266,7 +1471,9 @@ public Builder addAdminGroups(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAdminGroups( int index, com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.Builder builderForValue) { @@ -1280,6 +1487,8 @@ public Builder addAdminGroups( return this; } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1289,14 +1498,16 @@ public Builder addAdminGroups(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllAdminGroups( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (adminGroupsBuilder_ == null) { ensureAdminGroupsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, adminGroups_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, adminGroups_); onChanged(); } else { adminGroupsBuilder_.addAllMessages(values); @@ -1304,6 +1515,8 @@ public Builder addAllAdminGroups( return this; } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1313,7 +1526,9 @@ public Builder addAllAdminGroups(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearAdminGroups() { if (adminGroupsBuilder_ == null) { @@ -1326,6 +1541,8 @@ public Builder clearAdminGroups() { return this; } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1335,7 +1552,9 @@ public Builder clearAdminGroups() {
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeAdminGroups(int index) { if (adminGroupsBuilder_ == null) { @@ -1348,6 +1567,8 @@ public Builder removeAdminGroups(int index) { return this; } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1357,13 +1578,17 @@ public Builder removeAdminGroups(int index) {
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.Builder getAdminGroupsBuilder( int index) { return getAdminGroupsFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1373,16 +1598,21 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.Builder getAdminGr
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AttachedClusterGroupOrBuilder getAdminGroupsOrBuilder( int index) { if (adminGroupsBuilder_ == null) { - return adminGroups_.get(index); } else { + return adminGroups_.get(index); + } else { return adminGroupsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1392,10 +1622,12 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterGroupOrBuilder getAdminG
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getAdminGroupsOrBuilderList() { + public java.util.List + getAdminGroupsOrBuilderList() { if (adminGroupsBuilder_ != null) { return adminGroupsBuilder_.getMessageOrBuilderList(); } else { @@ -1403,6 +1635,8 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterGroupOrBuilder getAdminG } } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1412,13 +1646,17 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterGroupOrBuilder getAdminG
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.Builder addAdminGroupsBuilder() { - return getAdminGroupsFieldBuilder().addBuilder( - com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.getDefaultInstance()); + return getAdminGroupsFieldBuilder() + .addBuilder(com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.getDefaultInstance()); } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1428,14 +1666,19 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.Builder addAdminGr
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.Builder addAdminGroupsBuilder( int index) { - return getAdminGroupsFieldBuilder().addBuilder( - index, com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.getDefaultInstance()); + return getAdminGroupsFieldBuilder() + .addBuilder( + index, com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.getDefaultInstance()); } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1445,29 +1688,34 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.Builder addAdminGr
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getAdminGroupsBuilderList() { + public java.util.List + getAdminGroupsBuilderList() { return getAdminGroupsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedClusterGroup, com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterGroupOrBuilder> + com.google.cloud.gkemulticloud.v1.AttachedClusterGroup, + com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.Builder, + com.google.cloud.gkemulticloud.v1.AttachedClusterGroupOrBuilder> getAdminGroupsFieldBuilder() { if (adminGroupsBuilder_ == null) { - adminGroupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedClusterGroup, com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterGroupOrBuilder>( - adminGroups_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + adminGroupsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AttachedClusterGroup, + com.google.cloud.gkemulticloud.v1.AttachedClusterGroup.Builder, + com.google.cloud.gkemulticloud.v1.AttachedClusterGroupOrBuilder>( + adminGroups_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); adminGroups_ = null; } return adminGroupsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1477,41 +1725,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AttachedClustersAuthorization) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AttachedClustersAuthorization) - private static final com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization DEFAULT_INSTANCE; + private static final com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization(); } - public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AttachedClustersAuthorization parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AttachedClustersAuthorization parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1523,9 +1773,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersAuthorizationOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersAuthorizationOrBuilder.java similarity index 67% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersAuthorizationOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersAuthorizationOrBuilder.java index 6fb2d3dd1b31..052b7dbc5482 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersAuthorizationOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersAuthorizationOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AttachedClustersAuthorizationOrBuilder extends +public interface AttachedClustersAuthorizationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AttachedClustersAuthorization) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -17,11 +35,14 @@ public interface AttachedClustersAuthorizationOrBuilder extends
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List - getAdminUsersList(); + java.util.List getAdminUsersList(); /** + * + * *
    * Optional. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -31,10 +52,14 @@ public interface AttachedClustersAuthorizationOrBuilder extends
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.AttachedClusterUser getAdminUsers(int index); /** + * + * *
    * Optional. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -44,10 +69,14 @@ public interface AttachedClustersAuthorizationOrBuilder extends
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getAdminUsersCount(); /** + * + * *
    * Optional. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -57,11 +86,15 @@ public interface AttachedClustersAuthorizationOrBuilder extends
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getAdminUsersOrBuilderList(); /** + * + * *
    * Optional. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -71,12 +104,15 @@ public interface AttachedClustersAuthorizationOrBuilder extends
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder getAdminUsersOrBuilder( - int index); + com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder getAdminUsersOrBuilder(int index); /** + * + * *
    * Optional. Groups of users that can perform operations as a cluster admin. A
    * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -86,11 +122,14 @@ com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder getAdminUsersOrBu
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List - getAdminGroupsList(); + java.util.List getAdminGroupsList(); /** + * + * *
    * Optional. Groups of users that can perform operations as a cluster admin. A
    * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -100,10 +139,14 @@ com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder getAdminUsersOrBu
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.AttachedClusterGroup getAdminGroups(int index); /** + * + * *
    * Optional. Groups of users that can perform operations as a cluster admin. A
    * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -113,10 +156,14 @@ com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder getAdminUsersOrBu
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getAdminGroupsCount(); /** + * + * *
    * Optional. Groups of users that can perform operations as a cluster admin. A
    * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -126,11 +173,15 @@ com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder getAdminUsersOrBu
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getAdminGroupsOrBuilderList(); /** + * + * *
    * Optional. Groups of users that can perform operations as a cluster admin. A
    * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -140,7 +191,9 @@ com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder getAdminUsersOrBu
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.AttachedClusterGroupOrBuilder getAdminGroupsOrBuilder( int index); diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedOidcConfig.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedOidcConfig.java similarity index 71% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedOidcConfig.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedOidcConfig.java index d576e5e0d4f4..1cc1b5302bc5 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedOidcConfig.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedOidcConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * OIDC discovery information of the target cluster.
  *
@@ -20,15 +37,16 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedOidcConfig}
  */
-public final class AttachedOidcConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AttachedOidcConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AttachedOidcConfig)
     AttachedOidcConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AttachedOidcConfig.newBuilder() to construct.
   private AttachedOidcConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AttachedOidcConfig() {
     issuerUrl_ = "";
     jwks_ = com.google.protobuf.ByteString.EMPTY;
@@ -36,33 +54,38 @@ private AttachedOidcConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AttachedOidcConfig();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedOidcConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AttachedOidcConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedOidcConfig_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AttachedOidcConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.class, com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.Builder.class);
+            com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.class,
+            com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.Builder.class);
   }
 
   public static final int ISSUER_URL_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object issuerUrl_ = "";
   /**
+   *
+   *
    * 
    * A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://`.
    * 
* * string issuer_url = 1; + * * @return The issuerUrl. */ @java.lang.Override @@ -71,29 +94,29 @@ public java.lang.String getIssuerUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issuerUrl_ = s; return s; } } /** + * + * *
    * A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://`.
    * 
* * string issuer_url = 1; + * * @return The bytes for issuerUrl. */ @java.lang.Override - public com.google.protobuf.ByteString - getIssuerUrlBytes() { + public com.google.protobuf.ByteString getIssuerUrlBytes() { java.lang.Object ref = issuerUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); issuerUrl_ = b; return b; } else { @@ -104,6 +127,8 @@ public java.lang.String getIssuerUrl() { public static final int JWKS_FIELD_NUMBER = 2; private com.google.protobuf.ByteString jwks_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
    * Optional. OIDC verification keys in JWKS format (RFC 7517).
    * It contains a list of OIDC verification keys that can be used to verify
@@ -115,6 +140,7 @@ public java.lang.String getIssuerUrl() {
    * 
* * bytes jwks = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The jwks. */ @java.lang.Override @@ -123,6 +149,7 @@ public com.google.protobuf.ByteString getJwks() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -134,8 +161,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issuerUrl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issuerUrl_); } @@ -155,8 +181,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, issuerUrl_); } if (!jwks_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, jwks_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, jwks_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -166,17 +191,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AttachedOidcConfig)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AttachedOidcConfig other = (com.google.cloud.gkemulticloud.v1.AttachedOidcConfig) obj; + com.google.cloud.gkemulticloud.v1.AttachedOidcConfig other = + (com.google.cloud.gkemulticloud.v1.AttachedOidcConfig) obj; - if (!getIssuerUrl() - .equals(other.getIssuerUrl())) return false; - if (!getJwks() - .equals(other.getJwks())) return false; + if (!getIssuerUrl().equals(other.getIssuerUrl())) return false; + if (!getJwks().equals(other.getJwks())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -198,98 +222,103 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AttachedOidcConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AttachedOidcConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AttachedOidcConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AttachedOidcConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AttachedOidcConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AttachedOidcConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedOidcConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AttachedOidcConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AttachedOidcConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedOidcConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AttachedOidcConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AttachedOidcConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AttachedOidcConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AttachedOidcConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AttachedOidcConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * OIDC discovery information of the target cluster.
    *
@@ -306,33 +335,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedOidcConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AttachedOidcConfig)
       com.google.cloud.gkemulticloud.v1.AttachedOidcConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedOidcConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AttachedOidcConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedOidcConfig_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AttachedOidcConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.class, com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.Builder.class);
+              com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.class,
+              com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -343,9 +371,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedOidcConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AttachedOidcConfig_descriptor;
     }
 
     @java.lang.Override
@@ -364,8 +392,11 @@ public com.google.cloud.gkemulticloud.v1.AttachedOidcConfig build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.AttachedOidcConfig buildPartial() {
-      com.google.cloud.gkemulticloud.v1.AttachedOidcConfig result = new com.google.cloud.gkemulticloud.v1.AttachedOidcConfig(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.gkemulticloud.v1.AttachedOidcConfig result =
+          new com.google.cloud.gkemulticloud.v1.AttachedOidcConfig(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -384,38 +415,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AttachedOidcConfig
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.AttachedOidcConfig) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedOidcConfig)other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedOidcConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -423,7 +455,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AttachedOidcConfig other) {
-      if (other == com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.getDefaultInstance()) return this;
+      if (other == com.google.cloud.gkemulticloud.v1.AttachedOidcConfig.getDefaultInstance())
+        return this;
       if (!other.getIssuerUrl().isEmpty()) {
         issuerUrl_ = other.issuerUrl_;
         bitField0_ |= 0x00000001;
@@ -458,22 +491,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              issuerUrl_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              jwks_ = input.readBytes();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                issuerUrl_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                jwks_ = input.readBytes();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -483,22 +519,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object issuerUrl_ = "";
     /**
+     *
+     *
      * 
      * A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://`.
      * 
* * string issuer_url = 1; + * * @return The issuerUrl. */ public java.lang.String getIssuerUrl() { java.lang.Object ref = issuerUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issuerUrl_ = s; return s; @@ -507,20 +546,21 @@ public java.lang.String getIssuerUrl() { } } /** + * + * *
      * A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://`.
      * 
* * string issuer_url = 1; + * * @return The bytes for issuerUrl. */ - public com.google.protobuf.ByteString - getIssuerUrlBytes() { + public com.google.protobuf.ByteString getIssuerUrlBytes() { java.lang.Object ref = issuerUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); issuerUrl_ = b; return b; } else { @@ -528,28 +568,35 @@ public java.lang.String getIssuerUrl() { } } /** + * + * *
      * A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://`.
      * 
* * string issuer_url = 1; + * * @param value The issuerUrl to set. * @return This builder for chaining. */ - public Builder setIssuerUrl( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIssuerUrl(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } issuerUrl_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://`.
      * 
* * string issuer_url = 1; + * * @return This builder for chaining. */ public Builder clearIssuerUrl() { @@ -559,17 +606,21 @@ public Builder clearIssuerUrl() { return this; } /** + * + * *
      * A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://`.
      * 
* * string issuer_url = 1; + * * @param value The bytes for issuerUrl to set. * @return This builder for chaining. */ - public Builder setIssuerUrlBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIssuerUrlBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); issuerUrl_ = value; bitField0_ |= 0x00000001; @@ -579,6 +630,8 @@ public Builder setIssuerUrlBytes( private com.google.protobuf.ByteString jwks_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * Optional. OIDC verification keys in JWKS format (RFC 7517).
      * It contains a list of OIDC verification keys that can be used to verify
@@ -590,6 +643,7 @@ public Builder setIssuerUrlBytes(
      * 
* * bytes jwks = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The jwks. */ @java.lang.Override @@ -597,6 +651,8 @@ public com.google.protobuf.ByteString getJwks() { return jwks_; } /** + * + * *
      * Optional. OIDC verification keys in JWKS format (RFC 7517).
      * It contains a list of OIDC verification keys that can be used to verify
@@ -608,17 +664,22 @@ public com.google.protobuf.ByteString getJwks() {
      * 
* * bytes jwks = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The jwks to set. * @return This builder for chaining. */ public Builder setJwks(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } jwks_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. OIDC verification keys in JWKS format (RFC 7517).
      * It contains a list of OIDC verification keys that can be used to verify
@@ -630,6 +691,7 @@ public Builder setJwks(com.google.protobuf.ByteString value) {
      * 
* * bytes jwks = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearJwks() { @@ -638,9 +700,9 @@ public Builder clearJwks() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -650,12 +712,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AttachedOidcConfig) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AttachedOidcConfig) private static final com.google.cloud.gkemulticloud.v1.AttachedOidcConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AttachedOidcConfig(); } @@ -664,27 +726,27 @@ public static com.google.cloud.gkemulticloud.v1.AttachedOidcConfig getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AttachedOidcConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AttachedOidcConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -699,6 +761,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AttachedOidcConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedOidcConfigOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedOidcConfigOrBuilder.java similarity index 62% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedOidcConfigOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedOidcConfigOrBuilder.java index a2268f73bca0..693b6fca48e8 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedOidcConfigOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedOidcConfigOrBuilder.java @@ -1,33 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AttachedOidcConfigOrBuilder extends +public interface AttachedOidcConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AttachedOidcConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://`.
    * 
* * string issuer_url = 1; + * * @return The issuerUrl. */ java.lang.String getIssuerUrl(); /** + * + * *
    * A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://`.
    * 
* * string issuer_url = 1; + * * @return The bytes for issuerUrl. */ - com.google.protobuf.ByteString - getIssuerUrlBytes(); + com.google.protobuf.ByteString getIssuerUrlBytes(); /** + * + * *
    * Optional. OIDC verification keys in JWKS format (RFC 7517).
    * It contains a list of OIDC verification keys that can be used to verify
@@ -39,6 +62,7 @@ public interface AttachedOidcConfigOrBuilder extends
    * 
* * bytes jwks = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The jwks. */ com.google.protobuf.ByteString getJwks(); diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedPlatformVersionInfo.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedPlatformVersionInfo.java similarity index 64% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedPlatformVersionInfo.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedPlatformVersionInfo.java index 0c4454627514..be5be66b154b 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedPlatformVersionInfo.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedPlatformVersionInfo.java @@ -1,57 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Information about a supported Attached Clusters platform version.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo} */ -public final class AttachedPlatformVersionInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AttachedPlatformVersionInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo) AttachedPlatformVersionInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AttachedPlatformVersionInfo.newBuilder() to construct. private AttachedPlatformVersionInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AttachedPlatformVersionInfo() { version_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AttachedPlatformVersionInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedPlatformVersionInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedPlatformVersionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedPlatformVersionInfo_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedPlatformVersionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.class, com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder.class); + com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.class, + com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder.class); } public static final int VERSION_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object version_ = ""; /** + * + * *
    * Platform version name.
    * 
* * string version = 1; + * * @return The version. */ @java.lang.Override @@ -60,29 +83,29 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
    * Platform version name.
    * 
* * string version = 1; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -91,6 +114,7 @@ public java.lang.String getVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,8 +126,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); } @@ -127,15 +150,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo other = (com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo) obj; + com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo other = + (com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo) obj; - if (!getVersion() - .equals(other.getVersion())) return false; + if (!getVersion().equals(other.getVersion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -155,131 +178,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Information about a supported Attached Clusters platform version.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo) com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedPlatformVersionInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedPlatformVersionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedPlatformVersionInfo_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedPlatformVersionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.class, com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder.class); + com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.class, + com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -289,13 +317,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedPlatformVersionInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedPlatformVersionInfo_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo + getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.getDefaultInstance(); } @@ -310,13 +339,17 @@ public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo buildPartial() { - com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo result = new com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo result = + new com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo result) { + private void buildPartial0( + com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.version_ = version_; @@ -327,38 +360,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AttachedPlatformVer public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo) other); } else { super.mergeFrom(other); return this; @@ -366,7 +400,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo other) { - if (other == com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.getDefaultInstance()) return this; + if (other + == com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.getDefaultInstance()) + return this; if (!other.getVersion().isEmpty()) { version_ = other.version_; bitField0_ |= 0x00000001; @@ -398,17 +434,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - version_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -418,22 +456,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object version_ = ""; /** + * + * *
      * Platform version name.
      * 
* * string version = 1; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -442,20 +483,21 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Platform version name.
      * 
* * string version = 1; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -463,28 +505,35 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Platform version name.
      * 
* * string version = 1; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } version_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Platform version name.
      * 
* * string version = 1; + * * @return This builder for chaining. */ public Builder clearVersion() { @@ -494,26 +543,30 @@ public Builder clearVersion() { return this; } /** + * + * *
      * Platform version name.
      * 
* * string version = 1; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); version_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -523,12 +576,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo) - private static final com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo DEFAULT_INSTANCE; + private static final com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo(); } @@ -537,27 +591,27 @@ public static com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AttachedPlatformVersionInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AttachedPlatformVersionInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -572,6 +626,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedPlatformVersionInfoOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedPlatformVersionInfoOrBuilder.java new file mode 100644 index 000000000000..d90ba29b7fa7 --- /dev/null +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedPlatformVersionInfoOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/attached_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface AttachedPlatformVersionInfoOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Platform version name.
+   * 
+ * + * string version = 1; + * + * @return The version. + */ + java.lang.String getVersion(); + /** + * + * + *
+   * Platform version name.
+   * 
+ * + * string version = 1; + * + * @return The bytes for version. + */ + com.google.protobuf.ByteString getVersionBytes(); +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedProxyConfig.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedProxyConfig.java similarity index 68% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedProxyConfig.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedProxyConfig.java index b85d95a3317e..fdb942b48570 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedProxyConfig.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedProxyConfig.java @@ -1,50 +1,70 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Details of a proxy config.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedProxyConfig} */ -public final class AttachedProxyConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AttachedProxyConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AttachedProxyConfig) AttachedProxyConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AttachedProxyConfig.newBuilder() to construct. private AttachedProxyConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AttachedProxyConfig() { - } + + private AttachedProxyConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AttachedProxyConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedProxyConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedProxyConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedProxyConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedProxyConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.class, com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.class, + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder.class); } public static final int KUBERNETES_SECRET_FIELD_NUMBER = 1; private com.google.cloud.gkemulticloud.v1.KubernetesSecret kubernetesSecret_; /** + * + * *
    * The Kubernetes Secret resource that contains the HTTP(S) proxy
    * configuration. The secret must be a JSON encoded proxy configuration
@@ -52,6 +72,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.cloud.gkemulticloud.v1.KubernetesSecret kubernetes_secret = 1; + * * @return Whether the kubernetesSecret field is set. */ @java.lang.Override @@ -59,6 +80,8 @@ public boolean hasKubernetesSecret() { return kubernetesSecret_ != null; } /** + * + * *
    * The Kubernetes Secret resource that contains the HTTP(S) proxy
    * configuration. The secret must be a JSON encoded proxy configuration
@@ -66,13 +89,18 @@ public boolean hasKubernetesSecret() {
    * 
* * .google.cloud.gkemulticloud.v1.KubernetesSecret kubernetes_secret = 1; + * * @return The kubernetesSecret. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.KubernetesSecret getKubernetesSecret() { - return kubernetesSecret_ == null ? com.google.cloud.gkemulticloud.v1.KubernetesSecret.getDefaultInstance() : kubernetesSecret_; + return kubernetesSecret_ == null + ? com.google.cloud.gkemulticloud.v1.KubernetesSecret.getDefaultInstance() + : kubernetesSecret_; } /** + * + * *
    * The Kubernetes Secret resource that contains the HTTP(S) proxy
    * configuration. The secret must be a JSON encoded proxy configuration
@@ -82,11 +110,15 @@ public com.google.cloud.gkemulticloud.v1.KubernetesSecret getKubernetesSecret()
    * .google.cloud.gkemulticloud.v1.KubernetesSecret kubernetes_secret = 1;
    */
   @java.lang.Override
-  public com.google.cloud.gkemulticloud.v1.KubernetesSecretOrBuilder getKubernetesSecretOrBuilder() {
-    return kubernetesSecret_ == null ? com.google.cloud.gkemulticloud.v1.KubernetesSecret.getDefaultInstance() : kubernetesSecret_;
+  public com.google.cloud.gkemulticloud.v1.KubernetesSecretOrBuilder
+      getKubernetesSecretOrBuilder() {
+    return kubernetesSecret_ == null
+        ? com.google.cloud.gkemulticloud.v1.KubernetesSecret.getDefaultInstance()
+        : kubernetesSecret_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -98,8 +130,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (kubernetesSecret_ != null) {
       output.writeMessage(1, getKubernetesSecret());
     }
@@ -113,8 +144,7 @@ public int getSerializedSize() {
 
     size = 0;
     if (kubernetesSecret_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getKubernetesSecret());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getKubernetesSecret());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -124,17 +154,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AttachedProxyConfig)) {
       return super.equals(obj);
     }
-    com.google.cloud.gkemulticloud.v1.AttachedProxyConfig other = (com.google.cloud.gkemulticloud.v1.AttachedProxyConfig) obj;
+    com.google.cloud.gkemulticloud.v1.AttachedProxyConfig other =
+        (com.google.cloud.gkemulticloud.v1.AttachedProxyConfig) obj;
 
     if (hasKubernetesSecret() != other.hasKubernetesSecret()) return false;
     if (hasKubernetesSecret()) {
-      if (!getKubernetesSecret()
-          .equals(other.getKubernetesSecret())) return false;
+      if (!getKubernetesSecret().equals(other.getKubernetesSecret())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -157,131 +187,136 @@ public int hashCode() {
   }
 
   public static com.google.cloud.gkemulticloud.v1.AttachedProxyConfig parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.gkemulticloud.v1.AttachedProxyConfig parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.gkemulticloud.v1.AttachedProxyConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.gkemulticloud.v1.AttachedProxyConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.gkemulticloud.v1.AttachedProxyConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.gkemulticloud.v1.AttachedProxyConfig parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.gkemulticloud.v1.AttachedProxyConfig parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.gkemulticloud.v1.AttachedProxyConfig parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.gkemulticloud.v1.AttachedProxyConfig parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.gkemulticloud.v1.AttachedProxyConfig parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.gkemulticloud.v1.AttachedProxyConfig parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.gkemulticloud.v1.AttachedProxyConfig parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.gkemulticloud.v1.AttachedProxyConfig parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.gkemulticloud.v1.AttachedProxyConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AttachedProxyConfig prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.gkemulticloud.v1.AttachedProxyConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Details of a proxy config.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedProxyConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AttachedProxyConfig) com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedProxyConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedProxyConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedProxyConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedProxyConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.class, com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.class, + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -295,9 +330,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedProxyConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AttachedProxyConfig_descriptor; } @java.lang.Override @@ -316,8 +351,11 @@ public com.google.cloud.gkemulticloud.v1.AttachedProxyConfig build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedProxyConfig buildPartial() { - com.google.cloud.gkemulticloud.v1.AttachedProxyConfig result = new com.google.cloud.gkemulticloud.v1.AttachedProxyConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig result = + new com.google.cloud.gkemulticloud.v1.AttachedProxyConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -325,9 +363,8 @@ public com.google.cloud.gkemulticloud.v1.AttachedProxyConfig buildPartial() { private void buildPartial0(com.google.cloud.gkemulticloud.v1.AttachedProxyConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.kubernetesSecret_ = kubernetesSecretBuilder_ == null - ? kubernetesSecret_ - : kubernetesSecretBuilder_.build(); + result.kubernetesSecret_ = + kubernetesSecretBuilder_ == null ? kubernetesSecret_ : kubernetesSecretBuilder_.build(); } } @@ -335,38 +372,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AttachedProxyConfig public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AttachedProxyConfig) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedProxyConfig)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedProxyConfig) other); } else { super.mergeFrom(other); return this; @@ -374,7 +412,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AttachedProxyConfig other) { - if (other == com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance()) + return this; if (other.hasKubernetesSecret()) { mergeKubernetesSecret(other.getKubernetesSecret()); } @@ -404,19 +443,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getKubernetesSecretFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getKubernetesSecretFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -426,12 +466,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.gkemulticloud.v1.KubernetesSecret kubernetesSecret_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.KubernetesSecret, com.google.cloud.gkemulticloud.v1.KubernetesSecret.Builder, com.google.cloud.gkemulticloud.v1.KubernetesSecretOrBuilder> kubernetesSecretBuilder_; + com.google.cloud.gkemulticloud.v1.KubernetesSecret, + com.google.cloud.gkemulticloud.v1.KubernetesSecret.Builder, + com.google.cloud.gkemulticloud.v1.KubernetesSecretOrBuilder> + kubernetesSecretBuilder_; /** + * + * *
      * The Kubernetes Secret resource that contains the HTTP(S) proxy
      * configuration. The secret must be a JSON encoded proxy configuration
@@ -439,12 +485,15 @@ public Builder mergeFrom(
      * 
* * .google.cloud.gkemulticloud.v1.KubernetesSecret kubernetes_secret = 1; + * * @return Whether the kubernetesSecret field is set. */ public boolean hasKubernetesSecret() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The Kubernetes Secret resource that contains the HTTP(S) proxy
      * configuration. The secret must be a JSON encoded proxy configuration
@@ -452,16 +501,21 @@ public boolean hasKubernetesSecret() {
      * 
* * .google.cloud.gkemulticloud.v1.KubernetesSecret kubernetes_secret = 1; + * * @return The kubernetesSecret. */ public com.google.cloud.gkemulticloud.v1.KubernetesSecret getKubernetesSecret() { if (kubernetesSecretBuilder_ == null) { - return kubernetesSecret_ == null ? com.google.cloud.gkemulticloud.v1.KubernetesSecret.getDefaultInstance() : kubernetesSecret_; + return kubernetesSecret_ == null + ? com.google.cloud.gkemulticloud.v1.KubernetesSecret.getDefaultInstance() + : kubernetesSecret_; } else { return kubernetesSecretBuilder_.getMessage(); } } /** + * + * *
      * The Kubernetes Secret resource that contains the HTTP(S) proxy
      * configuration. The secret must be a JSON encoded proxy configuration
@@ -484,6 +538,8 @@ public Builder setKubernetesSecret(com.google.cloud.gkemulticloud.v1.KubernetesS
       return this;
     }
     /**
+     *
+     *
      * 
      * The Kubernetes Secret resource that contains the HTTP(S) proxy
      * configuration. The secret must be a JSON encoded proxy configuration
@@ -504,6 +560,8 @@ public Builder setKubernetesSecret(
       return this;
     }
     /**
+     *
+     *
      * 
      * The Kubernetes Secret resource that contains the HTTP(S) proxy
      * configuration. The secret must be a JSON encoded proxy configuration
@@ -514,9 +572,10 @@ public Builder setKubernetesSecret(
      */
     public Builder mergeKubernetesSecret(com.google.cloud.gkemulticloud.v1.KubernetesSecret value) {
       if (kubernetesSecretBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          kubernetesSecret_ != null &&
-          kubernetesSecret_ != com.google.cloud.gkemulticloud.v1.KubernetesSecret.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && kubernetesSecret_ != null
+            && kubernetesSecret_
+                != com.google.cloud.gkemulticloud.v1.KubernetesSecret.getDefaultInstance()) {
           getKubernetesSecretBuilder().mergeFrom(value);
         } else {
           kubernetesSecret_ = value;
@@ -529,6 +588,8 @@ public Builder mergeKubernetesSecret(com.google.cloud.gkemulticloud.v1.Kubernete
       return this;
     }
     /**
+     *
+     *
      * 
      * The Kubernetes Secret resource that contains the HTTP(S) proxy
      * configuration. The secret must be a JSON encoded proxy configuration
@@ -548,6 +609,8 @@ public Builder clearKubernetesSecret() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The Kubernetes Secret resource that contains the HTTP(S) proxy
      * configuration. The secret must be a JSON encoded proxy configuration
@@ -562,6 +625,8 @@ public com.google.cloud.gkemulticloud.v1.KubernetesSecret.Builder getKubernetesS
       return getKubernetesSecretFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The Kubernetes Secret resource that contains the HTTP(S) proxy
      * configuration. The secret must be a JSON encoded proxy configuration
@@ -570,15 +635,19 @@ public com.google.cloud.gkemulticloud.v1.KubernetesSecret.Builder getKubernetesS
      *
      * .google.cloud.gkemulticloud.v1.KubernetesSecret kubernetes_secret = 1;
      */
-    public com.google.cloud.gkemulticloud.v1.KubernetesSecretOrBuilder getKubernetesSecretOrBuilder() {
+    public com.google.cloud.gkemulticloud.v1.KubernetesSecretOrBuilder
+        getKubernetesSecretOrBuilder() {
       if (kubernetesSecretBuilder_ != null) {
         return kubernetesSecretBuilder_.getMessageOrBuilder();
       } else {
-        return kubernetesSecret_ == null ?
-            com.google.cloud.gkemulticloud.v1.KubernetesSecret.getDefaultInstance() : kubernetesSecret_;
+        return kubernetesSecret_ == null
+            ? com.google.cloud.gkemulticloud.v1.KubernetesSecret.getDefaultInstance()
+            : kubernetesSecret_;
       }
     }
     /**
+     *
+     *
      * 
      * The Kubernetes Secret resource that contains the HTTP(S) proxy
      * configuration. The secret must be a JSON encoded proxy configuration
@@ -588,21 +657,24 @@ public com.google.cloud.gkemulticloud.v1.KubernetesSecretOrBuilder getKubernetes
      * .google.cloud.gkemulticloud.v1.KubernetesSecret kubernetes_secret = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.gkemulticloud.v1.KubernetesSecret, com.google.cloud.gkemulticloud.v1.KubernetesSecret.Builder, com.google.cloud.gkemulticloud.v1.KubernetesSecretOrBuilder> 
+            com.google.cloud.gkemulticloud.v1.KubernetesSecret,
+            com.google.cloud.gkemulticloud.v1.KubernetesSecret.Builder,
+            com.google.cloud.gkemulticloud.v1.KubernetesSecretOrBuilder>
         getKubernetesSecretFieldBuilder() {
       if (kubernetesSecretBuilder_ == null) {
-        kubernetesSecretBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.gkemulticloud.v1.KubernetesSecret, com.google.cloud.gkemulticloud.v1.KubernetesSecret.Builder, com.google.cloud.gkemulticloud.v1.KubernetesSecretOrBuilder>(
-                getKubernetesSecret(),
-                getParentForChildren(),
-                isClean());
+        kubernetesSecretBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.gkemulticloud.v1.KubernetesSecret,
+                com.google.cloud.gkemulticloud.v1.KubernetesSecret.Builder,
+                com.google.cloud.gkemulticloud.v1.KubernetesSecretOrBuilder>(
+                getKubernetesSecret(), getParentForChildren(), isClean());
         kubernetesSecret_ = null;
       }
       return kubernetesSecretBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -612,12 +684,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AttachedProxyConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AttachedProxyConfig)
   private static final com.google.cloud.gkemulticloud.v1.AttachedProxyConfig DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AttachedProxyConfig();
   }
@@ -626,27 +698,27 @@ public static com.google.cloud.gkemulticloud.v1.AttachedProxyConfig getDefaultIn
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public AttachedProxyConfig parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public AttachedProxyConfig parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -661,6 +733,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.gkemulticloud.v1.AttachedProxyConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedProxyConfigOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedProxyConfigOrBuilder.java
similarity index 68%
rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedProxyConfigOrBuilder.java
rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedProxyConfigOrBuilder.java
index 06ce1849e1e6..999eb805e1a8 100644
--- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedProxyConfigOrBuilder.java
+++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedProxyConfigOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/gkemulticloud/v1/attached_resources.proto
 
 package com.google.cloud.gkemulticloud.v1;
 
-public interface AttachedProxyConfigOrBuilder extends
+public interface AttachedProxyConfigOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AttachedProxyConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The Kubernetes Secret resource that contains the HTTP(S) proxy
    * configuration. The secret must be a JSON encoded proxy configuration
@@ -15,10 +33,13 @@ public interface AttachedProxyConfigOrBuilder extends
    * 
* * .google.cloud.gkemulticloud.v1.KubernetesSecret kubernetes_secret = 1; + * * @return Whether the kubernetesSecret field is set. */ boolean hasKubernetesSecret(); /** + * + * *
    * The Kubernetes Secret resource that contains the HTTP(S) proxy
    * configuration. The secret must be a JSON encoded proxy configuration
@@ -26,10 +47,13 @@ public interface AttachedProxyConfigOrBuilder extends
    * 
* * .google.cloud.gkemulticloud.v1.KubernetesSecret kubernetes_secret = 1; + * * @return The kubernetesSecret. */ com.google.cloud.gkemulticloud.v1.KubernetesSecret getKubernetesSecret(); /** + * + * *
    * The Kubernetes Secret resource that contains the HTTP(S) proxy
    * configuration. The secret must be a JSON encoded proxy configuration
diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedResourcesProto.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedResourcesProto.java
new file mode 100644
index 000000000000..35291b3331bf
--- /dev/null
+++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedResourcesProto.java
@@ -0,0 +1,289 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/gkemulticloud/v1/attached_resources.proto
+
+package com.google.cloud.gkemulticloud.v1;
+
+public final class AttachedResourcesProto {
+  private AttachedResourcesProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_AnnotationsEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_AnnotationsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_gkemulticloud_v1_AttachedClustersAuthorization_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_gkemulticloud_v1_AttachedClustersAuthorization_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_gkemulticloud_v1_AttachedClusterUser_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_gkemulticloud_v1_AttachedClusterUser_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_gkemulticloud_v1_AttachedClusterGroup_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_gkemulticloud_v1_AttachedClusterGroup_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_gkemulticloud_v1_AttachedOidcConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_gkemulticloud_v1_AttachedOidcConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_gkemulticloud_v1_AttachedServerConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_gkemulticloud_v1_AttachedServerConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_gkemulticloud_v1_AttachedPlatformVersionInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_gkemulticloud_v1_AttachedPlatformVersionInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_gkemulticloud_v1_AttachedClusterError_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_gkemulticloud_v1_AttachedClusterError_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_gkemulticloud_v1_AttachedProxyConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_gkemulticloud_v1_AttachedProxyConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_gkemulticloud_v1_KubernetesSecret_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_gkemulticloud_v1_KubernetesSecret_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n6google/cloud/gkemulticloud/v1/attached"
+          + "_resources.proto\022\035google.cloud.gkemultic"
+          + "loud.v1\032\037google/api/field_behavior.proto"
+          + "\032\031google/api/resource.proto\0324google/clou"
+          + "d/gkemulticloud/v1/common_resources.prot"
+          + "o\032\037google/protobuf/timestamp.proto\"\206\014\n\017A"
+          + "ttachedCluster\022\014\n\004name\030\001 \001(\t\022\031\n\013descript"
+          + "ion\030\002 \001(\tB\004\342A\001\001\022L\n\013oidc_config\030\003 \001(\01321.g"
+          + "oogle.cloud.gkemulticloud.v1.AttachedOid"
+          + "cConfigB\004\342A\001\002\022\036\n\020platform_version\030\004 \001(\tB"
+          + "\004\342A\001\002\022\032\n\014distribution\030\020 \001(\tB\004\342A\001\002\022\034\n\016clu"
+          + "ster_region\030\026 \001(\tB\004\342A\001\003\0229\n\005fleet\030\005 \001(\0132$"
+          + ".google.cloud.gkemulticloud.v1.FleetB\004\342A"
+          + "\001\002\022I\n\005state\030\006 \001(\01624.google.cloud.gkemult"
+          + "icloud.v1.AttachedCluster.StateB\004\342A\001\003\022\021\n"
+          + "\003uid\030\007 \001(\tB\004\342A\001\003\022\031\n\013reconciling\030\010 \001(\010B\004\342"
+          + "A\001\003\0225\n\013create_time\030\t \001(\0132\032.google.protob"
+          + "uf.TimestampB\004\342A\001\003\0225\n\013update_time\030\n \001(\0132"
+          + "\032.google.protobuf.TimestampB\004\342A\001\003\022\014\n\004eta"
+          + "g\030\013 \001(\t\022 \n\022kubernetes_version\030\014 \001(\tB\004\342A\001"
+          + "\003\022Z\n\013annotations\030\r \003(\0132?.google.cloud.gk"
+          + "emulticloud.v1.AttachedCluster.Annotatio"
+          + "nsEntryB\004\342A\001\001\022]\n\030workload_identity_confi"
+          + "g\030\016 \001(\01325.google.cloud.gkemulticloud.v1."
+          + "WorkloadIdentityConfigB\004\342A\001\003\022J\n\016logging_"
+          + "config\030\017 \001(\0132,.google.cloud.gkemulticlou"
+          + "d.v1.LoggingConfigB\004\342A\001\001\022I\n\006errors\030\024 \003(\013"
+          + "23.google.cloud.gkemulticloud.v1.Attache"
+          + "dClusterErrorB\004\342A\001\003\022Y\n\rauthorization\030\025 \001"
+          + "(\0132<.google.cloud.gkemulticloud.v1.Attac"
+          + "hedClustersAuthorizationB\004\342A\001\001\022P\n\021monito"
+          + "ring_config\030\027 \001(\0132/.google.cloud.gkemult"
+          + "icloud.v1.MonitoringConfigB\004\342A\001\001\022N\n\014prox"
+          + "y_config\030\030 \001(\01322.google.cloud.gkemulticl"
+          + "oud.v1.AttachedProxyConfigB\004\342A\001\001\022V\n\024bina"
+          + "ry_authorization\030\031 \001(\01322.google.cloud.gk"
+          + "emulticloud.v1.BinaryAuthorizationB\004\342A\001\001"
+          + "\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val"
+          + "ue\030\002 \001(\t:\0028\001\"u\n\005State\022\025\n\021STATE_UNSPECIFI"
+          + "ED\020\000\022\020\n\014PROVISIONING\020\001\022\013\n\007RUNNING\020\002\022\017\n\013R"
+          + "ECONCILING\020\003\022\014\n\010STOPPING\020\004\022\t\n\005ERROR\020\005\022\014\n"
+          + "\010DEGRADED\020\006:~\352A{\n,gkemulticloud.googleap"
+          + "is.com/AttachedCluster\022Kprojects/{projec"
+          + "t}/locations/{location}/attachedClusters"
+          + "/{attached_cluster}\"\277\001\n\035AttachedClusters"
+          + "Authorization\022M\n\013admin_users\030\001 \003(\01322.goo"
+          + "gle.cloud.gkemulticloud.v1.AttachedClust"
+          + "erUserB\004\342A\001\001\022O\n\014admin_groups\030\002 \003(\01323.goo"
+          + "gle.cloud.gkemulticloud.v1.AttachedClust"
+          + "erGroupB\004\342A\001\001\"-\n\023AttachedClusterUser\022\026\n\010"
+          + "username\030\001 \001(\tB\004\342A\001\002\"+\n\024AttachedClusterG"
+          + "roup\022\023\n\005group\030\001 \001(\tB\004\342A\001\002\"<\n\022AttachedOid"
+          + "cConfig\022\022\n\nissuer_url\030\001 \001(\t\022\022\n\004jwks\030\002 \001("
+          + "\014B\004\342A\001\001\"\356\001\n\024AttachedServerConfig\022\014\n\004name"
+          + "\030\001 \001(\t\022R\n\016valid_versions\030\002 \003(\0132:.google."
+          + "cloud.gkemulticloud.v1.AttachedPlatformV"
+          + "ersionInfo:t\352Aq\n1gkemulticloud.googleapi"
+          + "s.com/AttachedServerConfig\022
  * AttachedServerConfig provides information about supported
  * Kubernetes versions
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedServerConfig}
  */
-public final class AttachedServerConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AttachedServerConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AttachedServerConfig)
     AttachedServerConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AttachedServerConfig.newBuilder() to construct.
   private AttachedServerConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AttachedServerConfig() {
     name_ = "";
     validVersions_ = java.util.Collections.emptyList();
@@ -27,33 +45,38 @@ private AttachedServerConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AttachedServerConfig();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedServerConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AttachedServerConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedServerConfig_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AttachedServerConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.AttachedServerConfig.class, com.google.cloud.gkemulticloud.v1.AttachedServerConfig.Builder.class);
+            com.google.cloud.gkemulticloud.v1.AttachedServerConfig.class,
+            com.google.cloud.gkemulticloud.v1.AttachedServerConfig.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The resource name of the config.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -62,29 +85,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The resource name of the config.
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -93,67 +116,87 @@ public java.lang.String getName() { } public static final int VALID_VERSIONS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") - private java.util.List validVersions_; + private java.util.List + validVersions_; /** + * + * *
    * List of valid platform versions.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * */ @java.lang.Override - public java.util.List getValidVersionsList() { + public java.util.List + getValidVersionsList() { return validVersions_; } /** + * + * *
    * List of valid platform versions.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfoOrBuilder> getValidVersionsOrBuilderList() { return validVersions_; } /** + * + * *
    * List of valid platform versions.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * */ @java.lang.Override public int getValidVersionsCount() { return validVersions_.size(); } /** + * + * *
    * List of valid platform versions.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo getValidVersions(int index) { return validVersions_.get(index); } /** + * + * *
    * List of valid platform versions.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfoOrBuilder getValidVersionsOrBuilder( - int index) { + public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfoOrBuilder + getValidVersionsOrBuilder(int index) { return validVersions_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -165,8 +208,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -186,8 +228,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < validVersions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, validVersions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, validVersions_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -197,17 +238,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AttachedServerConfig)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AttachedServerConfig other = (com.google.cloud.gkemulticloud.v1.AttachedServerConfig) obj; + com.google.cloud.gkemulticloud.v1.AttachedServerConfig other = + (com.google.cloud.gkemulticloud.v1.AttachedServerConfig) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getValidVersionsList() - .equals(other.getValidVersionsList())) return false; + if (!getName().equals(other.getName())) return false; + if (!getValidVersionsList().equals(other.getValidVersionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -231,98 +271,104 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AttachedServerConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AttachedServerConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AttachedServerConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AttachedServerConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AttachedServerConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AttachedServerConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedServerConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AttachedServerConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AttachedServerConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AttachedServerConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AttachedServerConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AttachedServerConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AttachedServerConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AttachedServerConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AttachedServerConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.AttachedServerConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * AttachedServerConfig provides information about supported
    * Kubernetes versions
@@ -330,33 +376,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.AttachedServerConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AttachedServerConfig)
       com.google.cloud.gkemulticloud.v1.AttachedServerConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedServerConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AttachedServerConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedServerConfig_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AttachedServerConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.AttachedServerConfig.class, com.google.cloud.gkemulticloud.v1.AttachedServerConfig.Builder.class);
+              com.google.cloud.gkemulticloud.v1.AttachedServerConfig.class,
+              com.google.cloud.gkemulticloud.v1.AttachedServerConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.AttachedServerConfig.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -373,9 +418,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AttachedServerConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AttachedServerConfig_descriptor;
     }
 
     @java.lang.Override
@@ -394,14 +439,18 @@ public com.google.cloud.gkemulticloud.v1.AttachedServerConfig build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.AttachedServerConfig buildPartial() {
-      com.google.cloud.gkemulticloud.v1.AttachedServerConfig result = new com.google.cloud.gkemulticloud.v1.AttachedServerConfig(this);
+      com.google.cloud.gkemulticloud.v1.AttachedServerConfig result =
+          new com.google.cloud.gkemulticloud.v1.AttachedServerConfig(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.AttachedServerConfig result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.gkemulticloud.v1.AttachedServerConfig result) {
       if (validVersionsBuilder_ == null) {
         if (((bitField0_ & 0x00000002) != 0)) {
           validVersions_ = java.util.Collections.unmodifiableList(validVersions_);
@@ -424,38 +473,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AttachedServerConfi
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.AttachedServerConfig) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedServerConfig)other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.AttachedServerConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -463,7 +513,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AttachedServerConfig other) {
-      if (other == com.google.cloud.gkemulticloud.v1.AttachedServerConfig.getDefaultInstance()) return this;
+      if (other == com.google.cloud.gkemulticloud.v1.AttachedServerConfig.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -487,9 +538,10 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AttachedServerConfig
             validVersionsBuilder_ = null;
             validVersions_ = other.validVersions_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            validVersionsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getValidVersionsFieldBuilder() : null;
+            validVersionsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getValidVersionsFieldBuilder()
+                    : null;
           } else {
             validVersionsBuilder_.addAllMessages(other.validVersions_);
           }
@@ -521,30 +573,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo m =
-                  input.readMessage(
-                      com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.parser(),
-                      extensionRegistry);
-              if (validVersionsBuilder_ == null) {
-                ensureValidVersionsIsMutable();
-                validVersions_.add(m);
-              } else {
-                validVersionsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo m =
+                    input.readMessage(
+                        com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.parser(),
+                        extensionRegistry);
+                if (validVersionsBuilder_ == null) {
+                  ensureValidVersionsIsMutable();
+                  validVersions_.add(m);
+                } else {
+                  validVersionsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -554,22 +609,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The resource name of the config.
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -578,20 +636,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the config.
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -599,28 +658,35 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the config.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The resource name of the config.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -630,17 +696,21 @@ public Builder clearName() { return this; } /** + * + * *
      * The resource name of the config.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -648,26 +718,36 @@ public Builder setNameBytes( return this; } - private java.util.List validVersions_ = - java.util.Collections.emptyList(); + private java.util.List + validVersions_ = java.util.Collections.emptyList(); + private void ensureValidVersionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - validVersions_ = new java.util.ArrayList(validVersions_); + validVersions_ = + new java.util.ArrayList( + validVersions_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo, com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder, com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfoOrBuilder> validVersionsBuilder_; + com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo, + com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder, + com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfoOrBuilder> + validVersionsBuilder_; /** + * + * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * */ - public java.util.List getValidVersionsList() { + public java.util.List + getValidVersionsList() { if (validVersionsBuilder_ == null) { return java.util.Collections.unmodifiableList(validVersions_); } else { @@ -675,11 +755,14 @@ public java.util.List * List of valid platform versions. *
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * */ public int getValidVersionsCount() { if (validVersionsBuilder_ == null) { @@ -689,13 +772,17 @@ public int getValidVersionsCount() { } } /** + * + * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * */ - public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo getValidVersions(int index) { + public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo getValidVersions( + int index) { if (validVersionsBuilder_ == null) { return validVersions_.get(index); } else { @@ -703,11 +790,14 @@ public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo getValidVer } } /** + * + * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * */ public Builder setValidVersions( int index, com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo value) { @@ -724,14 +814,18 @@ public Builder setValidVersions( return this; } /** + * + * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * */ public Builder setValidVersions( - int index, com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder builderForValue) { + int index, + com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder builderForValue) { if (validVersionsBuilder_ == null) { ensureValidVersionsIsMutable(); validVersions_.set(index, builderForValue.build()); @@ -742,13 +836,17 @@ public Builder setValidVersions( return this; } /** + * + * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * */ - public Builder addValidVersions(com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo value) { + public Builder addValidVersions( + com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo value) { if (validVersionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -762,11 +860,14 @@ public Builder addValidVersions(com.google.cloud.gkemulticloud.v1.AttachedPlatfo return this; } /** + * + * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * */ public Builder addValidVersions( int index, com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo value) { @@ -783,11 +884,14 @@ public Builder addValidVersions( return this; } /** + * + * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * */ public Builder addValidVersions( com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder builderForValue) { @@ -801,14 +905,18 @@ public Builder addValidVersions( return this; } /** + * + * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * */ public Builder addValidVersions( - int index, com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder builderForValue) { + int index, + com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder builderForValue) { if (validVersionsBuilder_ == null) { ensureValidVersionsIsMutable(); validVersions_.add(index, builderForValue.build()); @@ -819,18 +927,21 @@ public Builder addValidVersions( return this; } /** + * + * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * */ public Builder addAllValidVersions( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (validVersionsBuilder_ == null) { ensureValidVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, validVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, validVersions_); onChanged(); } else { validVersionsBuilder_.addAllMessages(values); @@ -838,11 +949,14 @@ public Builder addAllValidVersions( return this; } /** + * + * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * */ public Builder clearValidVersions() { if (validVersionsBuilder_ == null) { @@ -855,11 +969,14 @@ public Builder clearValidVersions() { return this; } /** + * + * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * */ public Builder removeValidVersions(int index) { if (validVersionsBuilder_ == null) { @@ -872,39 +989,50 @@ public Builder removeValidVersions(int index) { return this; } /** + * + * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * */ - public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder getValidVersionsBuilder( - int index) { + public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder + getValidVersionsBuilder(int index) { return getValidVersionsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * */ - public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfoOrBuilder getValidVersionsOrBuilder( - int index) { + public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfoOrBuilder + getValidVersionsOrBuilder(int index) { if (validVersionsBuilder_ == null) { - return validVersions_.get(index); } else { + return validVersions_.get(index); + } else { return validVersionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * */ - public java.util.List - getValidVersionsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfoOrBuilder> + getValidVersionsOrBuilderList() { if (validVersionsBuilder_ != null) { return validVersionsBuilder_.getMessageOrBuilderList(); } else { @@ -912,45 +1040,64 @@ public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfoOrBuilder ge } } /** + * + * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * */ - public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder addValidVersionsBuilder() { - return getValidVersionsFieldBuilder().addBuilder( - com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.getDefaultInstance()); + public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder + addValidVersionsBuilder() { + return getValidVersionsFieldBuilder() + .addBuilder( + com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.getDefaultInstance()); } /** + * + * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * */ - public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder addValidVersionsBuilder( - int index) { - return getValidVersionsFieldBuilder().addBuilder( - index, com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.getDefaultInstance()); + public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder + addValidVersionsBuilder(int index) { + return getValidVersionsFieldBuilder() + .addBuilder( + index, + com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.getDefaultInstance()); } /** + * + * *
      * List of valid platform versions.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * */ - public java.util.List - getValidVersionsBuilderList() { + public java.util.List + getValidVersionsBuilderList() { return getValidVersionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo, com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder, com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfoOrBuilder> + com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo, + com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder, + com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfoOrBuilder> getValidVersionsFieldBuilder() { if (validVersionsBuilder_ == null) { - validVersionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo, com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder, com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfoOrBuilder>( + validVersionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo, + com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder, + com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfoOrBuilder>( validVersions_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -959,9 +1106,9 @@ public com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo.Builder add } return validVersionsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -971,12 +1118,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AttachedServerConfig) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AttachedServerConfig) private static final com.google.cloud.gkemulticloud.v1.AttachedServerConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AttachedServerConfig(); } @@ -985,27 +1132,27 @@ public static com.google.cloud.gkemulticloud.v1.AttachedServerConfig getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AttachedServerConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AttachedServerConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1020,6 +1167,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AttachedServerConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServerConfigName.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServerConfigName.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServerConfigName.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServerConfigName.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServerConfigOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServerConfigOrBuilder.java similarity index 62% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServerConfigOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServerConfigOrBuilder.java index a33bc4585898..ea9f418381fb 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServerConfigOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServerConfigOrBuilder.java @@ -1,72 +1,108 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AttachedServerConfigOrBuilder extends +public interface AttachedServerConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AttachedServerConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The resource name of the config.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The resource name of the config.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * List of valid platform versions.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * */ - java.util.List + java.util.List getValidVersionsList(); /** + * + * *
    * List of valid platform versions.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * */ com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo getValidVersions(int index); /** + * + * *
    * List of valid platform versions.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * */ int getValidVersionsCount(); /** + * + * *
    * List of valid platform versions.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * */ - java.util.List + java.util.List getValidVersionsOrBuilderList(); /** + * + * *
    * List of valid platform versions.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * repeated .google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo valid_versions = 2; + * */ com.google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfoOrBuilder getValidVersionsOrBuilder( int index); diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServiceProto.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServiceProto.java new file mode 100644 index 000000000000..bb7abc136798 --- /dev/null +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServiceProto.java @@ -0,0 +1,365 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/attached_service.proto + +package com.google.cloud.gkemulticloud.v1; + +public final class AttachedServiceProto { + private AttachedServiceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_CreateAttachedClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_CreateAttachedClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_ImportAttachedClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_ImportAttachedClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_UpdateAttachedClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_UpdateAttachedClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GetAttachedClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GetAttachedClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_DeleteAttachedClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_DeleteAttachedClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GetAttachedServerConfigRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GetAttachedServerConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n4google/cloud/gkemulticloud/v1/attached" + + "_service.proto\022\035google.cloud.gkemulticlo" + + "ud.v1\032\034google/api/annotations.proto\032\027goo" + + "gle/api/client.proto\032\037google/api/field_b" + + "ehavior.proto\032\031google/api/resource.proto" + + "\0326google/cloud/gkemulticloud/v1/attached" + + "_resources.proto\0324google/cloud/gkemultic" + + "loud/v1/common_resources.proto\032#google/l" + + "ongrunning/operations.proto\032\033google/prot" + + "obuf/empty.proto\032 google/protobuf/field_" + + "mask.proto\"\211\002\n-GenerateAttachedClusterIn" + + "stallManifestRequest\022E\n\006parent\030\001 \001(\tB5\342A" + + "\001\002\372A.\022,gkemulticloud.googleapis.com/Atta" + + "chedCluster\022!\n\023attached_cluster_id\030\002 \001(\t" + + "B\004\342A\001\002\022\036\n\020platform_version\030\003 \001(\tB\004\342A\001\002\022N" + + "\n\014proxy_config\030\004 \001(\01322.google.cloud.gkem" + + "ulticloud.v1.AttachedProxyConfigB\004\342A\001\001\"B" + + "\n.GenerateAttachedClusterInstallManifest" + + "Response\022\020\n\010manifest\030\001 \001(\t\"\357\001\n\034CreateAtt" + + "achedClusterRequest\022E\n\006parent\030\001 \001(\tB5\342A\001" + + "\002\372A.\022,gkemulticloud.googleapis.com/Attac" + + "hedCluster\022N\n\020attached_cluster\030\002 \001(\0132..g" + + "oogle.cloud.gkemulticloud.v1.AttachedClu" + + "sterB\004\342A\001\002\022!\n\023attached_cluster_id\030\003 \001(\tB" + + "\004\342A\001\002\022\025\n\rvalidate_only\030\004 \001(\010\"\250\002\n\034ImportA" + + "ttachedClusterRequest\022E\n\006parent\030\001 \001(\tB5\342" + + "A\001\002\372A.\022,gkemulticloud.googleapis.com/Att" + + "achedCluster\022\025\n\rvalidate_only\030\002 \001(\010\022\036\n\020f" + + "leet_membership\030\003 \001(\tB\004\342A\001\002\022\036\n\020platform_" + + "version\030\004 \001(\tB\004\342A\001\002\022\032\n\014distribution\030\005 \001(" + + "\tB\004\342A\001\002\022N\n\014proxy_config\030\006 \001(\01322.google.c" + + "loud.gkemulticloud.v1.AttachedProxyConfi" + + "gB\004\342A\001\001\"\274\001\n\034UpdateAttachedClusterRequest" + + "\022N\n\020attached_cluster\030\001 \001(\0132..google.clou" + + "d.gkemulticloud.v1.AttachedClusterB\004\342A\001\002" + + "\022\025\n\rvalidate_only\030\002 \001(\010\0225\n\013update_mask\030\003" + + " \001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\"`" + + "\n\031GetAttachedClusterRequest\022C\n\004name\030\001 \001(" + + "\tB5\342A\001\002\372A.\n,gkemulticloud.googleapis.com" + + "/AttachedCluster\"\213\001\n\033ListAttachedCluster" + + "sRequest\022E\n\006parent\030\001 \001(\tB5\342A\001\002\372A.\022,gkemu" + + "lticloud.googleapis.com/AttachedCluster\022" + + "\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\202" + + "\001\n\034ListAttachedClustersResponse\022I\n\021attac" + + "hed_clusters\030\001 \003(\0132..google.cloud.gkemul" + + "ticloud.v1.AttachedCluster\022\027\n\017next_page_" + + "token\030\002 \001(\t\"\266\001\n\034DeleteAttachedClusterReq" + + "uest\022C\n\004name\030\001 \001(\tB5\342A\001\002\372A.\n,gkemulticlo" + + "ud.googleapis.com/AttachedCluster\022\025\n\rval" + + "idate_only\030\002 \001(\010\022\025\n\rallow_missing\030\003 \001(\010\022" + + "\025\n\rignore_errors\030\005 \001(\010\022\014\n\004etag\030\004 \001(\t\"j\n\036" + + "GetAttachedServerConfigRequest\022H\n\004name\030\001" + + " \001(\tB:\342A\001\002\372A3\n1gkemulticloud.googleapis." + + "com/AttachedServerConfig\"\323\002\n(GenerateAtt" + + "achedClusterAgentTokenRequest\022O\n\020attache" + + "d_cluster\030\001 \001(\tB5\342A\001\002\372A.\n,gkemulticloud." + + "googleapis.com/AttachedCluster\022\033\n\rsubjec" + + "t_token\030\002 \001(\tB\004\342A\001\002\022 \n\022subject_token_typ" + + "e\030\003 \001(\tB\004\342A\001\002\022\025\n\007version\030\004 \001(\tB\004\342A\001\002\022\030\n\n" + + "grant_type\030\006 \001(\tB\004\342A\001\001\022\026\n\010audience\030\007 \001(\t" + + "B\004\342A\001\001\022\023\n\005scope\030\010 \001(\tB\004\342A\001\001\022\"\n\024requested" + + "_token_type\030\t \001(\tB\004\342A\001\001\022\025\n\007options\030\n \001(\t" + + "B\004\342A\001\001\"i\n)GenerateAttachedClusterAgentTo" + + "kenResponse\022\024\n\014access_token\030\001 \001(\t\022\022\n\nexp" + + "ires_in\030\002 \001(\005\022\022\n\ntoken_type\030\003 \001(\t2\335\022\n\020At" + + "tachedClusters\022\231\002\n\025CreateAttachedCluster" + + "\022;.google.cloud.gkemulticloud.v1.CreateA" + + "ttachedClusterRequest\032\035.google.longrunni" + + "ng.Operation\"\243\001\312A$\n\017AttachedCluster\022\021Ope" + + "rationMetadata\332A+parent,attached_cluster" + + ",attached_cluster_id\202\323\344\223\002H\"4/v1/{parent=" + + "projects/*/locations/*}/attachedClusters" + + ":\020attached_cluster\022\233\002\n\025UpdateAttachedClu" + + "ster\022;.google.cloud.gkemulticloud.v1.Upd" + + "ateAttachedClusterRequest\032\035.google.longr" + + "unning.Operation\"\245\001\312A$\n\017AttachedCluster\022" + + "\021OperationMetadata\332A\034attached_cluster,up" + + "date_mask\202\323\344\223\002Y2E/v1/{attached_cluster.n" + + "ame=projects/*/locations/*/attachedClust" + + "ers/*}:\020attached_cluster\022\375\001\n\025ImportAttac" + + "hedCluster\022;.google.cloud.gkemulticloud." + + "v1.ImportAttachedClusterRequest\032\035.google" + + ".longrunning.Operation\"\207\001\312A$\n\017AttachedCl" + + "uster\022\021OperationMetadata\332A\027parent,fleet_" + + "membership\202\323\344\223\002@\";/v1/{parent=projects/*" + + "/locations/*}/attachedClusters:import:\001*" + + "\022\303\001\n\022GetAttachedCluster\0228.google.cloud.g" + + "kemulticloud.v1.GetAttachedClusterReques" + + "t\032..google.cloud.gkemulticloud.v1.Attach" + + "edCluster\"C\332A\004name\202\323\344\223\0026\0224/v1/{name=proj" + + "ects/*/locations/*/attachedClusters/*}\022\326" + + "\001\n\024ListAttachedClusters\022:.google.cloud.g" + + "kemulticloud.v1.ListAttachedClustersRequ" + + "est\032;.google.cloud.gkemulticloud.v1.List" + + "AttachedClustersResponse\"E\332A\006parent\202\323\344\223\002" + + "6\0224/v1/{parent=projects/*/locations/*}/a" + + "ttachedClusters\022\345\001\n\025DeleteAttachedCluste" + + "r\022;.google.cloud.gkemulticloud.v1.Delete" + + "AttachedClusterRequest\032\035.google.longrunn" + + "ing.Operation\"p\312A*\n\025google.protobuf.Empt" + + "y\022\021OperationMetadata\332A\004name\202\323\344\223\0026*4/v1/{" + + "name=projects/*/locations/*/attachedClus" + + "ters/*}\022\324\001\n\027GetAttachedServerConfig\022=.go" + + "ogle.cloud.gkemulticloud.v1.GetAttachedS" + + "erverConfigRequest\0323.google.cloud.gkemul" + + "ticloud.v1.AttachedServerConfig\"E\332A\004name" + + "\202\323\344\223\0028\0226/v1/{name=projects/*/locations/*" + + "/attachedServerConfig}\022\266\002\n&GenerateAttac" + + "hedClusterInstallManifest\022L.google.cloud" + + ".gkemulticloud.v1.GenerateAttachedCluste" + + "rInstallManifestRequest\032M.google.cloud.g" + + "kemulticloud.v1.GenerateAttachedClusterI" + + "nstallManifestResponse\"o\332A\032parent,attach" + + "ed_cluster_id\202\323\344\223\002L\022J/v1/{parent=project" + + "s/*/locations/*}:generateAttachedCluster" + + "InstallManifest\022\245\002\n!GenerateAttachedClus" + + "terAgentToken\022G.google.cloud.gkemulticlo" + + "ud.v1.GenerateAttachedClusterAgentTokenR" + + "equest\032H.google.cloud.gkemulticloud.v1.G" + + "enerateAttachedClusterAgentTokenResponse" + + "\"m\202\323\344\223\002g\"b/v1/{attached_cluster=projects" + + "/*/locations/*/attachedClusters/*}:gener" + + "ateAttachedClusterAgentToken:\001*\032P\312A\034gkem" + + "ulticloud.googleapis.com\322A.https://www.g" + + "oogleapis.com/auth/cloud-platformB\347\001\n!co" + + "m.google.cloud.gkemulticloud.v1B\024Attache" + + "dServiceProtoP\001ZGcloud.google.com/go/gke" + + "multicloud/apiv1/gkemulticloudpb;gkemult" + + "icloudpb\252\002\035Google.Cloud.GkeMultiCloud.V1" + + "\312\002\035Google\\Cloud\\GkeMultiCloud\\V1\352\002 Googl" + + "e::Cloud::GkeMultiCloud::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.getDescriptor(), + com.google.cloud.gkemulticloud.v1.CommonResourcesProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestRequest_descriptor, + new java.lang.String[] { + "Parent", "AttachedClusterId", "PlatformVersion", "ProxyConfig", + }); + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestResponse_descriptor, + new java.lang.String[] { + "Manifest", + }); + internal_static_google_cloud_gkemulticloud_v1_CreateAttachedClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_gkemulticloud_v1_CreateAttachedClusterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_CreateAttachedClusterRequest_descriptor, + new java.lang.String[] { + "Parent", "AttachedCluster", "AttachedClusterId", "ValidateOnly", + }); + internal_static_google_cloud_gkemulticloud_v1_ImportAttachedClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_gkemulticloud_v1_ImportAttachedClusterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_ImportAttachedClusterRequest_descriptor, + new java.lang.String[] { + "Parent", + "ValidateOnly", + "FleetMembership", + "PlatformVersion", + "Distribution", + "ProxyConfig", + }); + internal_static_google_cloud_gkemulticloud_v1_UpdateAttachedClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_gkemulticloud_v1_UpdateAttachedClusterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_UpdateAttachedClusterRequest_descriptor, + new java.lang.String[] { + "AttachedCluster", "ValidateOnly", "UpdateMask", + }); + internal_static_google_cloud_gkemulticloud_v1_GetAttachedClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_gkemulticloud_v1_GetAttachedClusterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GetAttachedClusterRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersResponse_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersResponse_descriptor, + new java.lang.String[] { + "AttachedClusters", "NextPageToken", + }); + internal_static_google_cloud_gkemulticloud_v1_DeleteAttachedClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_gkemulticloud_v1_DeleteAttachedClusterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_DeleteAttachedClusterRequest_descriptor, + new java.lang.String[] { + "Name", "ValidateOnly", "AllowMissing", "IgnoreErrors", "Etag", + }); + internal_static_google_cloud_gkemulticloud_v1_GetAttachedServerConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_gkemulticloud_v1_GetAttachedServerConfigRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GetAttachedServerConfigRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenRequest_descriptor, + new java.lang.String[] { + "AttachedCluster", + "SubjectToken", + "SubjectTokenType", + "Version", + "GrantType", + "Audience", + "Scope", + "RequestedTokenType", + "Options", + }); + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenResponse_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenResponse_descriptor, + new java.lang.String[] { + "AccessToken", "ExpiresIn", "TokenType", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.getDescriptor(); + com.google.cloud.gkemulticloud.v1.CommonResourcesProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorization.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorization.java similarity index 71% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorization.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorization.java index 6cf813b34a8b..d93704f7d74a 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorization.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorization.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Configuration related to the cluster RBAC settings.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsAuthorization} */ -public final class AwsAuthorization extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AwsAuthorization extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsAuthorization) AwsAuthorizationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AwsAuthorization.newBuilder() to construct. private AwsAuthorization(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AwsAuthorization() { adminUsers_ = java.util.Collections.emptyList(); adminGroups_ = java.util.Collections.emptyList(); @@ -26,28 +44,32 @@ private AwsAuthorization() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AwsAuthorization(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsAuthorization.class, com.google.cloud.gkemulticloud.v1.AwsAuthorization.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsAuthorization.class, + com.google.cloud.gkemulticloud.v1.AwsAuthorization.Builder.class); } public static final int ADMIN_USERS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List adminUsers_; /** + * + * *
    * Optional. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -57,13 +79,17 @@ protected java.lang.Object newInstance(
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List getAdminUsersList() { return adminUsers_; } /** + * + * *
    * Optional. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -73,14 +99,18 @@ public java.util.List getAdmin
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List getAdminUsersOrBuilderList() { return adminUsers_; } /** + * + * *
    * Optional. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -90,13 +120,17 @@ public java.util.List getAdmin
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getAdminUsersCount() { return adminUsers_.size(); } /** + * + * *
    * Optional. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -106,13 +140,17 @@ public int getAdminUsersCount() {
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsClusterUser getAdminUsers(int index) { return adminUsers_.get(index); } /** + * + * *
    * Optional. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -122,7 +160,9 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterUser getAdminUsers(int index)
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder getAdminUsersOrBuilder( @@ -131,9 +171,12 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder getAdminUsersOr } public static final int ADMIN_GROUPS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List adminGroups_; /** + * + * *
    * Optional. Groups of users that can perform operations as a cluster admin. A
    * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -143,13 +186,17 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder getAdminUsersOr
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List getAdminGroupsList() { return adminGroups_; } /** + * + * *
    * Optional. Groups of users that can perform operations as a cluster admin. A
    * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -159,14 +206,18 @@ public java.util.List getAdmi
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List getAdminGroupsOrBuilderList() { return adminGroups_; } /** + * + * *
    * Optional. Groups of users that can perform operations as a cluster admin. A
    * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -176,13 +227,17 @@ public java.util.List getAdmi
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getAdminGroupsCount() { return adminGroups_.size(); } /** + * + * *
    * Optional. Groups of users that can perform operations as a cluster admin. A
    * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -192,13 +247,17 @@ public int getAdminGroupsCount() {
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsClusterGroup getAdminGroups(int index) { return adminGroups_.get(index); } /** + * + * *
    * Optional. Groups of users that can perform operations as a cluster admin. A
    * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -208,7 +267,9 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterGroup getAdminGroups(int inde
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsClusterGroupOrBuilder getAdminGroupsOrBuilder( @@ -217,6 +278,7 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterGroupOrBuilder getAdminGroups } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,8 +290,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < adminUsers_.size(); i++) { output.writeMessage(1, adminUsers_.get(i)); } @@ -246,12 +307,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < adminUsers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, adminUsers_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, adminUsers_.get(i)); } for (int i = 0; i < adminGroups_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, adminGroups_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, adminGroups_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -261,17 +320,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsAuthorization)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsAuthorization other = (com.google.cloud.gkemulticloud.v1.AwsAuthorization) obj; + com.google.cloud.gkemulticloud.v1.AwsAuthorization other = + (com.google.cloud.gkemulticloud.v1.AwsAuthorization) obj; - if (!getAdminUsersList() - .equals(other.getAdminUsersList())) return false; - if (!getAdminGroupsList() - .equals(other.getAdminGroupsList())) return false; + if (!getAdminUsersList().equals(other.getAdminUsersList())) return false; + if (!getAdminGroupsList().equals(other.getAdminGroupsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -297,131 +355,135 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsAuthorization parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsAuthorization prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration related to the cluster RBAC settings.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsAuthorization} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsAuthorization) com.google.cloud.gkemulticloud.v1.AwsAuthorizationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsAuthorization.class, com.google.cloud.gkemulticloud.v1.AwsAuthorization.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsAuthorization.class, + com.google.cloud.gkemulticloud.v1.AwsAuthorization.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AwsAuthorization.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -444,9 +506,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_descriptor; } @java.lang.Override @@ -465,14 +527,18 @@ public com.google.cloud.gkemulticloud.v1.AwsAuthorization build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsAuthorization buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsAuthorization result = new com.google.cloud.gkemulticloud.v1.AwsAuthorization(this); + com.google.cloud.gkemulticloud.v1.AwsAuthorization result = + new com.google.cloud.gkemulticloud.v1.AwsAuthorization(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.AwsAuthorization result) { + private void buildPartialRepeatedFields( + com.google.cloud.gkemulticloud.v1.AwsAuthorization result) { if (adminUsersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { adminUsers_ = java.util.Collections.unmodifiableList(adminUsers_); @@ -501,38 +567,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsAuthorization re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AwsAuthorization) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsAuthorization)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsAuthorization) other); } else { super.mergeFrom(other); return this; @@ -540,7 +607,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsAuthorization other) { - if (other == com.google.cloud.gkemulticloud.v1.AwsAuthorization.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AwsAuthorization.getDefaultInstance()) + return this; if (adminUsersBuilder_ == null) { if (!other.adminUsers_.isEmpty()) { if (adminUsers_.isEmpty()) { @@ -559,9 +627,10 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsAuthorization othe adminUsersBuilder_ = null; adminUsers_ = other.adminUsers_; bitField0_ = (bitField0_ & ~0x00000001); - adminUsersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAdminUsersFieldBuilder() : null; + adminUsersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAdminUsersFieldBuilder() + : null; } else { adminUsersBuilder_.addAllMessages(other.adminUsers_); } @@ -585,9 +654,10 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsAuthorization othe adminGroupsBuilder_ = null; adminGroups_ = other.adminGroups_; bitField0_ = (bitField0_ & ~0x00000002); - adminGroupsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAdminGroupsFieldBuilder() : null; + adminGroupsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAdminGroupsFieldBuilder() + : null; } else { adminGroupsBuilder_.addAllMessages(other.adminGroups_); } @@ -619,38 +689,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.gkemulticloud.v1.AwsClusterUser m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsClusterUser.parser(), - extensionRegistry); - if (adminUsersBuilder_ == null) { - ensureAdminUsersIsMutable(); - adminUsers_.add(m); - } else { - adminUsersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - com.google.cloud.gkemulticloud.v1.AwsClusterGroup m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsClusterGroup.parser(), - extensionRegistry); - if (adminGroupsBuilder_ == null) { - ensureAdminGroupsIsMutable(); - adminGroups_.add(m); - } else { - adminGroupsBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.gkemulticloud.v1.AwsClusterUser m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsClusterUser.parser(), + extensionRegistry); + if (adminUsersBuilder_ == null) { + ensureAdminUsersIsMutable(); + adminUsers_.add(m); + } else { + adminUsersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + com.google.cloud.gkemulticloud.v1.AwsClusterGroup m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsClusterGroup.parser(), + extensionRegistry); + if (adminGroupsBuilder_ == null) { + ensureAdminGroupsIsMutable(); + adminGroups_.add(m); + } else { + adminGroupsBuilder_.addMessage(m); + } + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -660,21 +733,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List adminUsers_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAdminUsersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - adminUsers_ = new java.util.ArrayList(adminUsers_); + adminUsers_ = + new java.util.ArrayList(adminUsers_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsClusterUser, com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder> adminUsersBuilder_; + com.google.cloud.gkemulticloud.v1.AwsClusterUser, + com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder, + com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder> + adminUsersBuilder_; /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -684,7 +765,9 @@ private void ensureAdminUsersIsMutable() {
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getAdminUsersList() { if (adminUsersBuilder_ == null) { @@ -694,6 +777,8 @@ public java.util.List getAdmin } } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -703,7 +788,9 @@ public java.util.List getAdmin
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getAdminUsersCount() { if (adminUsersBuilder_ == null) { @@ -713,6 +800,8 @@ public int getAdminUsersCount() { } } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -722,7 +811,9 @@ public int getAdminUsersCount() {
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AwsClusterUser getAdminUsers(int index) { if (adminUsersBuilder_ == null) { @@ -732,6 +823,8 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterUser getAdminUsers(int index) } } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -741,7 +834,9 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterUser getAdminUsers(int index)
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAdminUsers( int index, com.google.cloud.gkemulticloud.v1.AwsClusterUser value) { @@ -758,6 +853,8 @@ public Builder setAdminUsers( return this; } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -767,7 +864,9 @@ public Builder setAdminUsers(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAdminUsers( int index, com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder builderForValue) { @@ -781,6 +880,8 @@ public Builder setAdminUsers( return this; } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -790,7 +891,9 @@ public Builder setAdminUsers(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAdminUsers(com.google.cloud.gkemulticloud.v1.AwsClusterUser value) { if (adminUsersBuilder_ == null) { @@ -806,6 +909,8 @@ public Builder addAdminUsers(com.google.cloud.gkemulticloud.v1.AwsClusterUser va return this; } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -815,7 +920,9 @@ public Builder addAdminUsers(com.google.cloud.gkemulticloud.v1.AwsClusterUser va
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAdminUsers( int index, com.google.cloud.gkemulticloud.v1.AwsClusterUser value) { @@ -832,6 +939,8 @@ public Builder addAdminUsers( return this; } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -841,7 +950,9 @@ public Builder addAdminUsers(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAdminUsers( com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder builderForValue) { @@ -855,6 +966,8 @@ public Builder addAdminUsers( return this; } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -864,7 +977,9 @@ public Builder addAdminUsers(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAdminUsers( int index, com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder builderForValue) { @@ -878,6 +993,8 @@ public Builder addAdminUsers( return this; } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -887,14 +1004,15 @@ public Builder addAdminUsers(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllAdminUsers( java.lang.Iterable values) { if (adminUsersBuilder_ == null) { ensureAdminUsersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, adminUsers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, adminUsers_); onChanged(); } else { adminUsersBuilder_.addAllMessages(values); @@ -902,6 +1020,8 @@ public Builder addAllAdminUsers( return this; } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -911,7 +1031,9 @@ public Builder addAllAdminUsers(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearAdminUsers() { if (adminUsersBuilder_ == null) { @@ -924,6 +1046,8 @@ public Builder clearAdminUsers() { return this; } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -933,7 +1057,9 @@ public Builder clearAdminUsers() {
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeAdminUsers(int index) { if (adminUsersBuilder_ == null) { @@ -946,6 +1072,8 @@ public Builder removeAdminUsers(int index) { return this; } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -955,13 +1083,17 @@ public Builder removeAdminUsers(int index) {
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder getAdminUsersBuilder( int index) { return getAdminUsersFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -971,16 +1103,21 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder getAdminUsersBui
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder getAdminUsersOrBuilder( int index) { if (adminUsersBuilder_ == null) { - return adminUsers_.get(index); } else { + return adminUsers_.get(index); + } else { return adminUsersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -990,10 +1127,12 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder getAdminUsersOr
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getAdminUsersOrBuilderList() { + public java.util.List + getAdminUsersOrBuilderList() { if (adminUsersBuilder_ != null) { return adminUsersBuilder_.getMessageOrBuilderList(); } else { @@ -1001,6 +1140,8 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder getAdminUsersOr } } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -1010,13 +1151,17 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder getAdminUsersOr
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder addAdminUsersBuilder() { - return getAdminUsersFieldBuilder().addBuilder( - com.google.cloud.gkemulticloud.v1.AwsClusterUser.getDefaultInstance()); + return getAdminUsersFieldBuilder() + .addBuilder(com.google.cloud.gkemulticloud.v1.AwsClusterUser.getDefaultInstance()); } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -1026,14 +1171,18 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder addAdminUsersBui
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder addAdminUsersBuilder( int index) { - return getAdminUsersFieldBuilder().addBuilder( - index, com.google.cloud.gkemulticloud.v1.AwsClusterUser.getDefaultInstance()); + return getAdminUsersFieldBuilder() + .addBuilder(index, com.google.cloud.gkemulticloud.v1.AwsClusterUser.getDefaultInstance()); } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -1043,40 +1192,53 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder addAdminUsersBui
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getAdminUsersBuilderList() { + public java.util.List + getAdminUsersBuilderList() { return getAdminUsersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsClusterUser, com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsClusterUser, + com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder, + com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder> getAdminUsersFieldBuilder() { if (adminUsersBuilder_ == null) { - adminUsersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsClusterUser, com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder>( - adminUsers_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + adminUsersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsClusterUser, + com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder, + com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder>( + adminUsers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); adminUsers_ = null; } return adminUsersBuilder_; } private java.util.List adminGroups_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAdminGroupsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - adminGroups_ = new java.util.ArrayList(adminGroups_); + adminGroups_ = + new java.util.ArrayList( + adminGroups_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsClusterGroup, com.google.cloud.gkemulticloud.v1.AwsClusterGroup.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterGroupOrBuilder> adminGroupsBuilder_; + com.google.cloud.gkemulticloud.v1.AwsClusterGroup, + com.google.cloud.gkemulticloud.v1.AwsClusterGroup.Builder, + com.google.cloud.gkemulticloud.v1.AwsClusterGroupOrBuilder> + adminGroupsBuilder_; /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1086,7 +1248,9 @@ private void ensureAdminGroupsIsMutable() {
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getAdminGroupsList() { if (adminGroupsBuilder_ == null) { @@ -1096,6 +1260,8 @@ public java.util.List getAdmi } } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1105,7 +1271,9 @@ public java.util.List getAdmi
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getAdminGroupsCount() { if (adminGroupsBuilder_ == null) { @@ -1115,6 +1283,8 @@ public int getAdminGroupsCount() { } } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1124,7 +1294,9 @@ public int getAdminGroupsCount() {
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AwsClusterGroup getAdminGroups(int index) { if (adminGroupsBuilder_ == null) { @@ -1134,6 +1306,8 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterGroup getAdminGroups(int inde } } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1143,7 +1317,9 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterGroup getAdminGroups(int inde
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAdminGroups( int index, com.google.cloud.gkemulticloud.v1.AwsClusterGroup value) { @@ -1160,6 +1336,8 @@ public Builder setAdminGroups( return this; } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1169,7 +1347,9 @@ public Builder setAdminGroups(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAdminGroups( int index, com.google.cloud.gkemulticloud.v1.AwsClusterGroup.Builder builderForValue) { @@ -1183,6 +1363,8 @@ public Builder setAdminGroups( return this; } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1192,7 +1374,9 @@ public Builder setAdminGroups(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAdminGroups(com.google.cloud.gkemulticloud.v1.AwsClusterGroup value) { if (adminGroupsBuilder_ == null) { @@ -1208,6 +1392,8 @@ public Builder addAdminGroups(com.google.cloud.gkemulticloud.v1.AwsClusterGroup return this; } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1217,7 +1403,9 @@ public Builder addAdminGroups(com.google.cloud.gkemulticloud.v1.AwsClusterGroup
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAdminGroups( int index, com.google.cloud.gkemulticloud.v1.AwsClusterGroup value) { @@ -1234,6 +1422,8 @@ public Builder addAdminGroups( return this; } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1243,7 +1433,9 @@ public Builder addAdminGroups(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAdminGroups( com.google.cloud.gkemulticloud.v1.AwsClusterGroup.Builder builderForValue) { @@ -1257,6 +1449,8 @@ public Builder addAdminGroups( return this; } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1266,7 +1460,9 @@ public Builder addAdminGroups(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAdminGroups( int index, com.google.cloud.gkemulticloud.v1.AwsClusterGroup.Builder builderForValue) { @@ -1280,6 +1476,8 @@ public Builder addAdminGroups( return this; } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1289,14 +1487,15 @@ public Builder addAdminGroups(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllAdminGroups( java.lang.Iterable values) { if (adminGroupsBuilder_ == null) { ensureAdminGroupsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, adminGroups_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, adminGroups_); onChanged(); } else { adminGroupsBuilder_.addAllMessages(values); @@ -1304,6 +1503,8 @@ public Builder addAllAdminGroups( return this; } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1313,7 +1514,9 @@ public Builder addAllAdminGroups(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearAdminGroups() { if (adminGroupsBuilder_ == null) { @@ -1326,6 +1529,8 @@ public Builder clearAdminGroups() { return this; } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1335,7 +1540,9 @@ public Builder clearAdminGroups() {
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeAdminGroups(int index) { if (adminGroupsBuilder_ == null) { @@ -1348,6 +1555,8 @@ public Builder removeAdminGroups(int index) { return this; } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1357,13 +1566,17 @@ public Builder removeAdminGroups(int index) {
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AwsClusterGroup.Builder getAdminGroupsBuilder( int index) { return getAdminGroupsFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1373,16 +1586,21 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterGroup.Builder getAdminGroupsB
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AwsClusterGroupOrBuilder getAdminGroupsOrBuilder( int index) { if (adminGroupsBuilder_ == null) { - return adminGroups_.get(index); } else { + return adminGroups_.get(index); + } else { return adminGroupsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1392,10 +1610,12 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterGroupOrBuilder getAdminGroups
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getAdminGroupsOrBuilderList() { + public java.util.List + getAdminGroupsOrBuilderList() { if (adminGroupsBuilder_ != null) { return adminGroupsBuilder_.getMessageOrBuilderList(); } else { @@ -1403,6 +1623,8 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterGroupOrBuilder getAdminGroups } } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1412,13 +1634,17 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterGroupOrBuilder getAdminGroups
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AwsClusterGroup.Builder addAdminGroupsBuilder() { - return getAdminGroupsFieldBuilder().addBuilder( - com.google.cloud.gkemulticloud.v1.AwsClusterGroup.getDefaultInstance()); + return getAdminGroupsFieldBuilder() + .addBuilder(com.google.cloud.gkemulticloud.v1.AwsClusterGroup.getDefaultInstance()); } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1428,14 +1654,19 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterGroup.Builder addAdminGroupsB
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AwsClusterGroup.Builder addAdminGroupsBuilder( int index) { - return getAdminGroupsFieldBuilder().addBuilder( - index, com.google.cloud.gkemulticloud.v1.AwsClusterGroup.getDefaultInstance()); + return getAdminGroupsFieldBuilder() + .addBuilder( + index, com.google.cloud.gkemulticloud.v1.AwsClusterGroup.getDefaultInstance()); } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1445,29 +1676,34 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterGroup.Builder addAdminGroupsB
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getAdminGroupsBuilderList() { + public java.util.List + getAdminGroupsBuilderList() { return getAdminGroupsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsClusterGroup, com.google.cloud.gkemulticloud.v1.AwsClusterGroup.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterGroupOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsClusterGroup, + com.google.cloud.gkemulticloud.v1.AwsClusterGroup.Builder, + com.google.cloud.gkemulticloud.v1.AwsClusterGroupOrBuilder> getAdminGroupsFieldBuilder() { if (adminGroupsBuilder_ == null) { - adminGroupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsClusterGroup, com.google.cloud.gkemulticloud.v1.AwsClusterGroup.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterGroupOrBuilder>( - adminGroups_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + adminGroupsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsClusterGroup, + com.google.cloud.gkemulticloud.v1.AwsClusterGroup.Builder, + com.google.cloud.gkemulticloud.v1.AwsClusterGroupOrBuilder>( + adminGroups_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); adminGroups_ = null; } return adminGroupsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1477,12 +1713,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsAuthorization) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsAuthorization) private static final com.google.cloud.gkemulticloud.v1.AwsAuthorization DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsAuthorization(); } @@ -1491,27 +1727,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsAuthorization getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsAuthorization parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsAuthorization parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1526,6 +1762,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsAuthorization getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorizationOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorizationOrBuilder.java similarity index 67% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorizationOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorizationOrBuilder.java index 1363b34fd90a..cf6237231c53 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorizationOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAuthorizationOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsAuthorizationOrBuilder extends +public interface AwsAuthorizationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsAuthorization) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -17,11 +35,14 @@ public interface AwsAuthorizationOrBuilder extends
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List - getAdminUsersList(); + java.util.List getAdminUsersList(); /** + * + * *
    * Optional. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -31,10 +52,14 @@ public interface AwsAuthorizationOrBuilder extends
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.AwsClusterUser getAdminUsers(int index); /** + * + * *
    * Optional. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -44,10 +69,14 @@ public interface AwsAuthorizationOrBuilder extends
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getAdminUsersCount(); /** + * + * *
    * Optional. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -57,11 +86,15 @@ public interface AwsAuthorizationOrBuilder extends
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getAdminUsersOrBuilderList(); /** + * + * *
    * Optional. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -71,12 +104,15 @@ public interface AwsAuthorizationOrBuilder extends
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder getAdminUsersOrBuilder( - int index); + com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder getAdminUsersOrBuilder(int index); /** + * + * *
    * Optional. Groups of users that can perform operations as a cluster admin. A
    * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -86,11 +122,14 @@ com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder getAdminUsersOrBuilder
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List - getAdminGroupsList(); + java.util.List getAdminGroupsList(); /** + * + * *
    * Optional. Groups of users that can perform operations as a cluster admin. A
    * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -100,10 +139,14 @@ com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder getAdminUsersOrBuilder
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.AwsClusterGroup getAdminGroups(int index); /** + * + * *
    * Optional. Groups of users that can perform operations as a cluster admin. A
    * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -113,10 +156,14 @@ com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder getAdminUsersOrBuilder
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getAdminGroupsCount(); /** + * + * *
    * Optional. Groups of users that can perform operations as a cluster admin. A
    * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -126,11 +173,15 @@ com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder getAdminUsersOrBuilder
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getAdminGroupsOrBuilderList(); /** + * + * *
    * Optional. Groups of users that can perform operations as a cluster admin. A
    * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -140,8 +191,9 @@ com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder getAdminUsersOrBuilder
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.gkemulticloud.v1.AwsClusterGroupOrBuilder getAdminGroupsOrBuilder( - int index); + com.google.cloud.gkemulticloud.v1.AwsClusterGroupOrBuilder getAdminGroupsOrBuilder(int index); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAutoscalingGroupMetricsCollection.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAutoscalingGroupMetricsCollection.java similarity index 69% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAutoscalingGroupMetricsCollection.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAutoscalingGroupMetricsCollection.java index 50d122f3a403..0b46b83656a6 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAutoscalingGroupMetricsCollection.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAutoscalingGroupMetricsCollection.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Configuration related to CloudWatch metrics collection in an AWS
  * Auto Scaling group.
@@ -11,51 +28,58 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection}
  */
-public final class AwsAutoscalingGroupMetricsCollection extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AwsAutoscalingGroupMetricsCollection
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection)
     AwsAutoscalingGroupMetricsCollectionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AwsAutoscalingGroupMetricsCollection.newBuilder() to construct.
-  private AwsAutoscalingGroupMetricsCollection(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private AwsAutoscalingGroupMetricsCollection(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AwsAutoscalingGroupMetricsCollection() {
     granularity_ = "";
-    metrics_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    metrics_ = com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AwsAutoscalingGroupMetricsCollection();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.class, com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.Builder.class);
+            com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.class,
+            com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.Builder.class);
   }
 
   public static final int GRANULARITY_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object granularity_ = "";
   /**
+   *
+   *
    * 
    * Required. The frequency at which EC2 Auto Scaling sends aggregated data to
    * AWS CloudWatch. The only valid value is "1Minute".
    * 
* * string granularity = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The granularity. */ @java.lang.Override @@ -64,30 +88,30 @@ public java.lang.String getGranularity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); granularity_ = s; return s; } } /** + * + * *
    * Required. The frequency at which EC2 Auto Scaling sends aggregated data to
    * AWS CloudWatch. The only valid value is "1Minute".
    * 
* * string granularity = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for granularity. */ @java.lang.Override - public com.google.protobuf.ByteString - getGranularityBytes() { + public com.google.protobuf.ByteString getGranularityBytes() { java.lang.Object ref = granularity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); granularity_ = b; return b; } else { @@ -96,10 +120,13 @@ public java.lang.String getGranularity() { } public static final int METRICS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList metrics_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Optional. The metrics to enable. For a list of valid metrics, see
    * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -108,13 +135,15 @@ public java.lang.String getGranularity() {
    * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the metrics. */ - public com.google.protobuf.ProtocolStringList - getMetricsList() { + public com.google.protobuf.ProtocolStringList getMetricsList() { return metrics_; } /** + * + * *
    * Optional. The metrics to enable. For a list of valid metrics, see
    * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -123,12 +152,15 @@ public java.lang.String getGranularity() {
    * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of metrics. */ public int getMetricsCount() { return metrics_.size(); } /** + * + * *
    * Optional. The metrics to enable. For a list of valid metrics, see
    * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -137,6 +169,7 @@ public int getMetricsCount() {
    * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The metrics at the given index. */ @@ -144,6 +177,8 @@ public java.lang.String getMetrics(int index) { return metrics_.get(index); } /** + * + * *
    * Optional. The metrics to enable. For a list of valid metrics, see
    * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -152,15 +187,16 @@ public java.lang.String getMetrics(int index) {
    * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the metrics at the given index. */ - public com.google.protobuf.ByteString - getMetricsBytes(int index) { + public com.google.protobuf.ByteString getMetricsBytes(int index) { return metrics_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +208,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(granularity_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, granularity_); } @@ -208,17 +243,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection other = (com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection) obj; + com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection other = + (com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection) obj; - if (!getGranularity() - .equals(other.getGranularity())) return false; - if (!getMetricsList() - .equals(other.getMetricsList())) return false; + if (!getGranularity().equals(other.getGranularity())) return false; + if (!getMetricsList().equals(other.getMetricsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -242,98 +276,105 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration related to CloudWatch metrics collection in an AWS
    * Auto Scaling group.
@@ -341,57 +382,59 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection)
       com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollectionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.class, com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.Builder.class);
+              com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.class,
+              com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.Builder.class);
     }
 
-    // Construct using com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.newBuilder()
-    private Builder() {
-
-    }
+    // Construct using
+    // com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.newBuilder()
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
       granularity_ = "";
-      metrics_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      metrics_ = com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection getDefaultInstanceForType() {
-      return com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.getDefaultInstance();
+    public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection
+        getDefaultInstanceForType() {
+      return com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection
+          .getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection build() {
-      com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection result = buildPartial();
+      com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection result =
+          buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -400,13 +443,17 @@ public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection bu
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection buildPartial() {
-      com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection result = new com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection result =
+          new com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection result) {
+    private void buildPartial0(
+        com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.granularity_ = granularity_;
@@ -421,46 +468,51 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroup
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection)other);
+        return mergeFrom(
+            (com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection other) {
-      if (other == com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection other) {
+      if (other
+          == com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection
+              .getDefaultInstance()) return this;
       if (!other.getGranularity().isEmpty()) {
         granularity_ = other.granularity_;
         bitField0_ |= 0x00000001;
@@ -502,23 +554,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              granularity_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureMetricsIsMutable();
-              metrics_.add(s);
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                granularity_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureMetricsIsMutable();
+                metrics_.add(s);
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -528,23 +583,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object granularity_ = "";
     /**
+     *
+     *
      * 
      * Required. The frequency at which EC2 Auto Scaling sends aggregated data to
      * AWS CloudWatch. The only valid value is "1Minute".
      * 
* * string granularity = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The granularity. */ public java.lang.String getGranularity() { java.lang.Object ref = granularity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); granularity_ = s; return s; @@ -553,21 +611,22 @@ public java.lang.String getGranularity() { } } /** + * + * *
      * Required. The frequency at which EC2 Auto Scaling sends aggregated data to
      * AWS CloudWatch. The only valid value is "1Minute".
      * 
* * string granularity = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for granularity. */ - public com.google.protobuf.ByteString - getGranularityBytes() { + public com.google.protobuf.ByteString getGranularityBytes() { java.lang.Object ref = granularity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); granularity_ = b; return b; } else { @@ -575,30 +634,37 @@ public java.lang.String getGranularity() { } } /** + * + * *
      * Required. The frequency at which EC2 Auto Scaling sends aggregated data to
      * AWS CloudWatch. The only valid value is "1Minute".
      * 
* * string granularity = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The granularity to set. * @return This builder for chaining. */ - public Builder setGranularity( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGranularity(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } granularity_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The frequency at which EC2 Auto Scaling sends aggregated data to
      * AWS CloudWatch. The only valid value is "1Minute".
      * 
* * string granularity = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearGranularity() { @@ -608,18 +674,22 @@ public Builder clearGranularity() { return this; } /** + * + * *
      * Required. The frequency at which EC2 Auto Scaling sends aggregated data to
      * AWS CloudWatch. The only valid value is "1Minute".
      * 
* * string granularity = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for granularity to set. * @return This builder for chaining. */ - public Builder setGranularityBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGranularityBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); granularity_ = value; bitField0_ |= 0x00000001; @@ -629,6 +699,7 @@ public Builder setGranularityBytes( private com.google.protobuf.LazyStringArrayList metrics_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureMetricsIsMutable() { if (!metrics_.isModifiable()) { metrics_ = new com.google.protobuf.LazyStringArrayList(metrics_); @@ -636,6 +707,8 @@ private void ensureMetricsIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * Optional. The metrics to enable. For a list of valid metrics, see
      * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -644,14 +717,16 @@ private void ensureMetricsIsMutable() {
      * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the metrics. */ - public com.google.protobuf.ProtocolStringList - getMetricsList() { + public com.google.protobuf.ProtocolStringList getMetricsList() { metrics_.makeImmutable(); return metrics_; } /** + * + * *
      * Optional. The metrics to enable. For a list of valid metrics, see
      * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -660,12 +735,15 @@ private void ensureMetricsIsMutable() {
      * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of metrics. */ public int getMetricsCount() { return metrics_.size(); } /** + * + * *
      * Optional. The metrics to enable. For a list of valid metrics, see
      * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -674,6 +752,7 @@ public int getMetricsCount() {
      * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The metrics at the given index. */ @@ -681,6 +760,8 @@ public java.lang.String getMetrics(int index) { return metrics_.get(index); } /** + * + * *
      * Optional. The metrics to enable. For a list of valid metrics, see
      * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -689,14 +770,16 @@ public java.lang.String getMetrics(int index) {
      * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the metrics at the given index. */ - public com.google.protobuf.ByteString - getMetricsBytes(int index) { + public com.google.protobuf.ByteString getMetricsBytes(int index) { return metrics_.getByteString(index); } /** + * + * *
      * Optional. The metrics to enable. For a list of valid metrics, see
      * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -705,13 +788,15 @@ public java.lang.String getMetrics(int index) {
      * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The metrics to set. * @return This builder for chaining. */ - public Builder setMetrics( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMetrics(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureMetricsIsMutable(); metrics_.set(index, value); bitField0_ |= 0x00000002; @@ -719,6 +804,8 @@ public Builder setMetrics( return this; } /** + * + * *
      * Optional. The metrics to enable. For a list of valid metrics, see
      * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -727,12 +814,14 @@ public Builder setMetrics(
      * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The metrics to add. * @return This builder for chaining. */ - public Builder addMetrics( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addMetrics(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureMetricsIsMutable(); metrics_.add(value); bitField0_ |= 0x00000002; @@ -740,6 +829,8 @@ public Builder addMetrics( return this; } /** + * + * *
      * Optional. The metrics to enable. For a list of valid metrics, see
      * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -748,19 +839,20 @@ public Builder addMetrics(
      * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The metrics to add. * @return This builder for chaining. */ - public Builder addAllMetrics( - java.lang.Iterable values) { + public Builder addAllMetrics(java.lang.Iterable values) { ensureMetricsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, metrics_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metrics_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. The metrics to enable. For a list of valid metrics, see
      * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -769,16 +861,19 @@ public Builder addAllMetrics(
      * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearMetrics() { - metrics_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + metrics_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * Optional. The metrics to enable. For a list of valid metrics, see
      * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -787,12 +882,14 @@ public Builder clearMetrics() {
      * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the metrics to add. * @return This builder for chaining. */ - public Builder addMetricsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addMetricsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureMetricsIsMutable(); metrics_.add(value); @@ -800,9 +897,9 @@ public Builder addMetricsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -812,41 +909,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection) - private static final com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection DEFAULT_INSTANCE; + private static final com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection(); } - public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsAutoscalingGroupMetricsCollection parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsAutoscalingGroupMetricsCollection parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -858,9 +957,8 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAutoscalingGroupMetricsCollectionOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAutoscalingGroupMetricsCollectionOrBuilder.java similarity index 75% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAutoscalingGroupMetricsCollectionOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAutoscalingGroupMetricsCollectionOrBuilder.java index 84bb1263efde..804c0e9e4e00 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAutoscalingGroupMetricsCollectionOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsAutoscalingGroupMetricsCollectionOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsAutoscalingGroupMetricsCollectionOrBuilder extends +public interface AwsAutoscalingGroupMetricsCollectionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The frequency at which EC2 Auto Scaling sends aggregated data to
    * AWS CloudWatch. The only valid value is "1Minute".
    * 
* * string granularity = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The granularity. */ java.lang.String getGranularity(); /** + * + * *
    * Required. The frequency at which EC2 Auto Scaling sends aggregated data to
    * AWS CloudWatch. The only valid value is "1Minute".
    * 
* * string granularity = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for granularity. */ - com.google.protobuf.ByteString - getGranularityBytes(); + com.google.protobuf.ByteString getGranularityBytes(); /** + * + * *
    * Optional. The metrics to enable. For a list of valid metrics, see
    * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -38,11 +61,13 @@ public interface AwsAutoscalingGroupMetricsCollectionOrBuilder extends
    * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the metrics. */ - java.util.List - getMetricsList(); + java.util.List getMetricsList(); /** + * + * *
    * Optional. The metrics to enable. For a list of valid metrics, see
    * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -51,10 +76,13 @@ public interface AwsAutoscalingGroupMetricsCollectionOrBuilder extends
    * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of metrics. */ int getMetricsCount(); /** + * + * *
    * Optional. The metrics to enable. For a list of valid metrics, see
    * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -63,11 +91,14 @@ public interface AwsAutoscalingGroupMetricsCollectionOrBuilder extends
    * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The metrics at the given index. */ java.lang.String getMetrics(int index); /** + * + * *
    * Optional. The metrics to enable. For a list of valid metrics, see
    * https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html.
@@ -76,9 +107,9 @@ public interface AwsAutoscalingGroupMetricsCollectionOrBuilder extends
    * 
* * repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the metrics at the given index. */ - com.google.protobuf.ByteString - getMetricsBytes(int index); + com.google.protobuf.ByteString getMetricsBytes(int index); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsCluster.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsCluster.java similarity index 64% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsCluster.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsCluster.java index 36afed48027e..b9bc623508d7 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsCluster.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsCluster.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * An Anthos cluster running on AWS.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsCluster} */ -public final class AwsCluster extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AwsCluster extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsCluster) AwsClusterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AwsCluster.newBuilder() to construct. private AwsCluster(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AwsCluster() { name_ = ""; description_ = ""; @@ -33,46 +51,49 @@ private AwsCluster() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AwsCluster(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsCluster_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsCluster_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 14: return internalGetAnnotations(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsCluster_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsCluster_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsCluster.class, com.google.cloud.gkemulticloud.v1.AwsCluster.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsCluster.class, + com.google.cloud.gkemulticloud.v1.AwsCluster.Builder.class); } /** + * + * *
    * The lifecycle state of the cluster.
    * 
* * Protobuf enum {@code google.cloud.gkemulticloud.v1.AwsCluster.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not set.
      * 
@@ -81,6 +102,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The PROVISIONING state indicates the cluster is being created.
      * 
@@ -89,6 +112,8 @@ public enum State */ PROVISIONING(1), /** + * + * *
      * The RUNNING state indicates the cluster has been created and is fully
      * usable.
@@ -98,6 +123,8 @@ public enum State
      */
     RUNNING(2),
     /**
+     *
+     *
      * 
      * The RECONCILING state indicates that some work is actively being done on
      * the cluster, such as upgrading the control plane replicas.
@@ -107,6 +134,8 @@ public enum State
      */
     RECONCILING(3),
     /**
+     *
+     *
      * 
      * The STOPPING state indicates the cluster is being deleted.
      * 
@@ -115,6 +144,8 @@ public enum State */ STOPPING(4), /** + * + * *
      * The ERROR state indicates the cluster is in a broken unrecoverable
      * state.
@@ -124,6 +155,8 @@ public enum State
      */
     ERROR(5),
     /**
+     *
+     *
      * 
      * The DEGRADED state indicates the cluster requires user action to
      * restore full functionality.
@@ -136,6 +169,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Not set.
      * 
@@ -144,6 +179,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The PROVISIONING state indicates the cluster is being created.
      * 
@@ -152,6 +189,8 @@ public enum State */ public static final int PROVISIONING_VALUE = 1; /** + * + * *
      * The RUNNING state indicates the cluster has been created and is fully
      * usable.
@@ -161,6 +200,8 @@ public enum State
      */
     public static final int RUNNING_VALUE = 2;
     /**
+     *
+     *
      * 
      * The RECONCILING state indicates that some work is actively being done on
      * the cluster, such as upgrading the control plane replicas.
@@ -170,6 +211,8 @@ public enum State
      */
     public static final int RECONCILING_VALUE = 3;
     /**
+     *
+     *
      * 
      * The STOPPING state indicates the cluster is being deleted.
      * 
@@ -178,6 +221,8 @@ public enum State */ public static final int STOPPING_VALUE = 4; /** + * + * *
      * The ERROR state indicates the cluster is in a broken unrecoverable
      * state.
@@ -187,6 +232,8 @@ public enum State
      */
     public static final int ERROR_VALUE = 5;
     /**
+     *
+     *
      * 
      * The DEGRADED state indicates the cluster requires user action to
      * restore full functionality.
@@ -196,7 +243,6 @@ public enum State
      */
     public static final int DEGRADED_VALUE = 6;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -221,53 +267,57 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return PROVISIONING;
-        case 2: return RUNNING;
-        case 3: return RECONCILING;
-        case 4: return STOPPING;
-        case 5: return ERROR;
-        case 6: return DEGRADED;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return PROVISIONING;
+        case 2:
+          return RUNNING;
+        case 3:
+          return RECONCILING;
+        case 4:
+          return STOPPING;
+        case 5:
+          return ERROR;
+        case 6:
+          return DEGRADED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.gkemulticloud.v1.AwsCluster.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -285,9 +335,12 @@ private State(int value) {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The name of this resource.
    *
@@ -299,6 +352,7 @@ private State(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -307,14 +361,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of this resource.
    *
@@ -326,16 +381,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -344,15 +398,19 @@ public java.lang.String getName() { } public static final int DESCRIPTION_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. A human readable description of this cluster.
    * Cannot be longer than 255 UTF-8 encoded bytes.
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -361,30 +419,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Optional. A human readable description of this cluster.
    * Cannot be longer than 255 UTF-8 encoded bytes.
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -395,11 +453,16 @@ public java.lang.String getDescription() { public static final int NETWORKING_FIELD_NUMBER = 3; private com.google.cloud.gkemulticloud.v1.AwsClusterNetworking networking_; /** + * + * *
    * Required. Cluster-wide networking configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the networking field is set. */ @java.lang.Override @@ -407,33 +470,49 @@ public boolean hasNetworking() { return networking_ != null; } /** + * + * *
    * Required. Cluster-wide networking configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The networking. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsClusterNetworking getNetworking() { - return networking_ == null ? com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.getDefaultInstance() : networking_; + return networking_ == null + ? com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.getDefaultInstance() + : networking_; } /** + * + * *
    * Required. Cluster-wide networking configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsClusterNetworkingOrBuilder getNetworkingOrBuilder() { - return networking_ == null ? com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.getDefaultInstance() : networking_; + return networking_ == null + ? com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.getDefaultInstance() + : networking_; } public static final int AWS_REGION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object awsRegion_ = ""; /** + * + * *
    * Required. The AWS region where the cluster runs.
    *
@@ -444,6 +523,7 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterNetworkingOrBuilder getNetwor
    * 
* * string aws_region = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The awsRegion. */ @java.lang.Override @@ -452,14 +532,15 @@ public java.lang.String getAwsRegion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); awsRegion_ = s; return s; } } /** + * + * *
    * Required. The AWS region where the cluster runs.
    *
@@ -470,16 +551,15 @@ public java.lang.String getAwsRegion() {
    * 
* * string aws_region = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for awsRegion. */ @java.lang.Override - public com.google.protobuf.ByteString - getAwsRegionBytes() { + public com.google.protobuf.ByteString getAwsRegionBytes() { java.lang.Object ref = awsRegion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); awsRegion_ = b; return b; } else { @@ -490,11 +570,16 @@ public java.lang.String getAwsRegion() { public static final int CONTROL_PLANE_FIELD_NUMBER = 5; private com.google.cloud.gkemulticloud.v1.AwsControlPlane controlPlane_; /** + * + * *
    * Required. Configuration related to the cluster control plane.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the controlPlane field is set. */ @java.lang.Override @@ -502,37 +587,55 @@ public boolean hasControlPlane() { return controlPlane_ != null; } /** + * + * *
    * Required. Configuration related to the cluster control plane.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The controlPlane. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsControlPlane getControlPlane() { - return controlPlane_ == null ? com.google.cloud.gkemulticloud.v1.AwsControlPlane.getDefaultInstance() : controlPlane_; + return controlPlane_ == null + ? com.google.cloud.gkemulticloud.v1.AwsControlPlane.getDefaultInstance() + : controlPlane_; } /** + * + * *
    * Required. Configuration related to the cluster control plane.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsControlPlaneOrBuilder getControlPlaneOrBuilder() { - return controlPlane_ == null ? com.google.cloud.gkemulticloud.v1.AwsControlPlane.getDefaultInstance() : controlPlane_; + return controlPlane_ == null + ? com.google.cloud.gkemulticloud.v1.AwsControlPlane.getDefaultInstance() + : controlPlane_; } public static final int AUTHORIZATION_FIELD_NUMBER = 15; private com.google.cloud.gkemulticloud.v1.AwsAuthorization authorization_; /** + * + * *
    * Required. Configuration related to the cluster RBAC settings.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the authorization field is set. */ @java.lang.Override @@ -540,64 +643,96 @@ public boolean hasAuthorization() { return authorization_ != null; } /** + * + * *
    * Required. Configuration related to the cluster RBAC settings.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The authorization. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsAuthorization getAuthorization() { - return authorization_ == null ? com.google.cloud.gkemulticloud.v1.AwsAuthorization.getDefaultInstance() : authorization_; + return authorization_ == null + ? com.google.cloud.gkemulticloud.v1.AwsAuthorization.getDefaultInstance() + : authorization_; } /** + * + * *
    * Required. Configuration related to the cluster RBAC settings.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsAuthorizationOrBuilder getAuthorizationOrBuilder() { - return authorization_ == null ? com.google.cloud.gkemulticloud.v1.AwsAuthorization.getDefaultInstance() : authorization_; + return authorization_ == null + ? com.google.cloud.gkemulticloud.v1.AwsAuthorization.getDefaultInstance() + : authorization_; } public static final int STATE_FIELD_NUMBER = 7; private int state_ = 0; /** + * + * *
    * Output only. The current state of the cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. The current state of the cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsCluster.State getState() { - com.google.cloud.gkemulticloud.v1.AwsCluster.State result = com.google.cloud.gkemulticloud.v1.AwsCluster.State.forNumber(state_); - return result == null ? com.google.cloud.gkemulticloud.v1.AwsCluster.State.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsCluster.State getState() { + com.google.cloud.gkemulticloud.v1.AwsCluster.State result = + com.google.cloud.gkemulticloud.v1.AwsCluster.State.forNumber(state_); + return result == null + ? com.google.cloud.gkemulticloud.v1.AwsCluster.State.UNRECOGNIZED + : result; } public static final int ENDPOINT_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object endpoint_ = ""; /** + * + * *
    * Output only. The endpoint of the cluster's API server.
    * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The endpoint. */ @java.lang.Override @@ -606,29 +741,29 @@ public java.lang.String getEndpoint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endpoint_ = s; return s; } } /** + * + * *
    * Output only. The endpoint of the cluster's API server.
    * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for endpoint. */ @java.lang.Override - public com.google.protobuf.ByteString - getEndpointBytes() { + public com.google.protobuf.ByteString getEndpointBytes() { java.lang.Object ref = endpoint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); endpoint_ = b; return b; } else { @@ -637,14 +772,18 @@ public java.lang.String getEndpoint() { } public static final int UID_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. A globally unique identifier for the cluster.
    * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -653,29 +792,29 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** + * + * *
    * Output only. A globally unique identifier for the cluster.
    * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -686,11 +825,14 @@ public java.lang.String getUid() { public static final int RECONCILING_FIELD_NUMBER = 10; private boolean reconciling_ = false; /** + * + * *
    * Output only. If set, there are currently changes in flight to the cluster.
    * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -701,11 +843,15 @@ public boolean getReconciling() { public static final int CREATE_TIME_FIELD_NUMBER = 11; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time at which this cluster was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -713,11 +859,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time at which this cluster was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -725,11 +875,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time at which this cluster was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -739,11 +892,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 12; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -751,11 +908,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -763,11 +924,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -775,9 +939,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int ETAG_FIELD_NUMBER = 13; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -787,6 +954,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string etag = 13; + * * @return The etag. */ @java.lang.Override @@ -795,14 +963,15 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** + * + * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -812,16 +981,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 13; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -830,32 +998,35 @@ public java.lang.String getEtag() { } public static final int ANNOTATIONS_FIELD_NUMBER = 14; + private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsCluster_AnnotationsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsCluster_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
    * Optional. Annotations on the cluster.
    *
@@ -868,23 +1039,25 @@ public int getAnnotationsCount() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsAnnotations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetAnnotations().getMap().containsKey(key); } - /** - * Use {@link #getAnnotationsMap()} instead. - */ + /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** + * + * *
    * Optional. Annotations on the cluster.
    *
@@ -897,13 +1070,16 @@ public java.util.Map getAnnotations() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** + * + * *
    * Optional. Annotations on the cluster.
    *
@@ -916,20 +1092,23 @@ public java.util.Map getAnnotationsMap() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -java.lang.String getAnnotationsOrDefault( + public /* nullable */ java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Optional. Annotations on the cluster.
    *
@@ -942,14 +1121,15 @@ java.lang.String getAnnotationsOrDefault(
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + public java.lang.String getAnnotationsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -959,11 +1139,16 @@ public java.lang.String getAnnotationsOrThrow( public static final int WORKLOAD_IDENTITY_CONFIG_FIELD_NUMBER = 16; private com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workloadIdentityConfig_; /** + * + * *
    * Output only. Workload Identity settings.
    * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the workloadIdentityConfig field is set. */ @java.lang.Override @@ -971,38 +1156,56 @@ public boolean hasWorkloadIdentityConfig() { return workloadIdentityConfig_ != null; } /** + * + * *
    * Output only. Workload Identity settings.
    * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The workloadIdentityConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig getWorkloadIdentityConfig() { - return workloadIdentityConfig_ == null ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_; + return workloadIdentityConfig_ == null + ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() + : workloadIdentityConfig_; } /** + * + * *
    * Output only. Workload Identity settings.
    * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder() { - return workloadIdentityConfig_ == null ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_; + public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder + getWorkloadIdentityConfigOrBuilder() { + return workloadIdentityConfig_ == null + ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() + : workloadIdentityConfig_; } public static final int CLUSTER_CA_CERTIFICATE_FIELD_NUMBER = 17; + @SuppressWarnings("serial") private volatile java.lang.Object clusterCaCertificate_ = ""; /** + * + * *
    * Output only. PEM encoded x509 certificate of the cluster root of trust.
    * 
* * string cluster_ca_certificate = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The clusterCaCertificate. */ @java.lang.Override @@ -1011,29 +1214,29 @@ public java.lang.String getClusterCaCertificate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterCaCertificate_ = s; return s; } } /** + * + * *
    * Output only. PEM encoded x509 certificate of the cluster root of trust.
    * 
* * string cluster_ca_certificate = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for clusterCaCertificate. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterCaCertificateBytes() { + public com.google.protobuf.ByteString getClusterCaCertificateBytes() { java.lang.Object ref = clusterCaCertificate_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterCaCertificate_ = b; return b; } else { @@ -1044,11 +1247,16 @@ public java.lang.String getClusterCaCertificate() { public static final int FLEET_FIELD_NUMBER = 18; private com.google.cloud.gkemulticloud.v1.Fleet fleet_; /** + * + * *
    * Required. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the fleet field is set. */ @java.lang.Override @@ -1056,11 +1264,16 @@ public boolean hasFleet() { return fleet_ != null; } /** + * + * *
    * Required. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The fleet. */ @java.lang.Override @@ -1068,11 +1281,15 @@ public com.google.cloud.gkemulticloud.v1.Fleet getFleet() { return fleet_ == null ? com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() : fleet_; } /** + * + * *
    * Required. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder() { @@ -1082,11 +1299,16 @@ public com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder() { public static final int LOGGING_CONFIG_FIELD_NUMBER = 19; private com.google.cloud.gkemulticloud.v1.LoggingConfig loggingConfig_; /** + * + * *
    * Optional. Logging configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the loggingConfig field is set. */ @java.lang.Override @@ -1094,98 +1316,136 @@ public boolean hasLoggingConfig() { return loggingConfig_ != null; } /** + * + * *
    * Optional. Logging configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The loggingConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.LoggingConfig getLoggingConfig() { - return loggingConfig_ == null ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() + : loggingConfig_; } /** + * + * *
    * Optional. Logging configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder() { - return loggingConfig_ == null ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() + : loggingConfig_; } public static final int ERRORS_FIELD_NUMBER = 20; + @SuppressWarnings("serial") private java.util.List errors_; /** + * + * *
    * Output only. A set of errors found in the cluster.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getErrorsList() { return errors_; } /** + * + * *
    * Output only. A set of errors found in the cluster.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getErrorsOrBuilderList() { return errors_; } /** + * + * *
    * Output only. A set of errors found in the cluster.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** + * + * *
    * Output only. A set of errors found in the cluster.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsClusterError getErrors(int index) { return errors_.get(index); } /** + * + * *
    * Output only. A set of errors found in the cluster.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsClusterErrorOrBuilder getErrorsOrBuilder( - int index) { + public com.google.cloud.gkemulticloud.v1.AwsClusterErrorOrBuilder getErrorsOrBuilder(int index) { return errors_.get(index); } public static final int MONITORING_CONFIG_FIELD_NUMBER = 21; private com.google.cloud.gkemulticloud.v1.MonitoringConfig monitoringConfig_; /** + * + * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the monitoringConfig field is set. */ @java.lang.Override @@ -1193,37 +1453,56 @@ public boolean hasMonitoringConfig() { return monitoringConfig_ != null; } /** + * + * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The monitoringConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.MonitoringConfig getMonitoringConfig() { - return monitoringConfig_ == null ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; + return monitoringConfig_ == null + ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() + : monitoringConfig_; } /** + * + * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBuilder() { - return monitoringConfig_ == null ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; + public com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder + getMonitoringConfigOrBuilder() { + return monitoringConfig_ == null + ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() + : monitoringConfig_; } public static final int BINARY_AUTHORIZATION_FIELD_NUMBER = 22; private com.google.cloud.gkemulticloud.v1.BinaryAuthorization binaryAuthorization_; /** + * + * *
    * Optional. Binary Authorization configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the binaryAuthorization field is set. */ @java.lang.Override @@ -1231,30 +1510,45 @@ public boolean hasBinaryAuthorization() { return binaryAuthorization_ != null; } /** + * + * *
    * Optional. Binary Authorization configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The binaryAuthorization. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.BinaryAuthorization getBinaryAuthorization() { - return binaryAuthorization_ == null ? com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; + return binaryAuthorization_ == null + ? com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance() + : binaryAuthorization_; } /** + * + * *
    * Optional. Binary Authorization configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder() { - return binaryAuthorization_ == null ? com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; + public com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder + getBinaryAuthorizationOrBuilder() { + return binaryAuthorization_ == null + ? com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance() + : binaryAuthorization_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1266,8 +1560,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1283,7 +1576,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (controlPlane_ != null) { output.writeMessage(5, getControlPlane()); } - if (state_ != com.google.cloud.gkemulticloud.v1.AwsCluster.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.gkemulticloud.v1.AwsCluster.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(7, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpoint_)) { @@ -1304,12 +1598,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, etag_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetAnnotations(), - AnnotationsDefaultEntryHolder.defaultEntry, - 14); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 14); if (authorization_ != null) { output.writeMessage(15, getAuthorization()); } @@ -1350,19 +1640,17 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (networking_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getNetworking()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getNetworking()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsRegion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, awsRegion_); } if (controlPlane_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getControlPlane()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getControlPlane()); } - if (state_ != com.google.cloud.gkemulticloud.v1.AwsCluster.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, state_); + if (state_ + != com.google.cloud.gkemulticloud.v1.AwsCluster.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpoint_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, endpoint_); @@ -1371,60 +1659,52 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, uid_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(10, reconciling_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, reconciling_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, etag_); } - for (java.util.Map.Entry entry - : internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry - annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, annotations__); + for (java.util.Map.Entry entry : + internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry annotations__ = + AnnotationsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, annotations__); } if (authorization_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, getAuthorization()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getAuthorization()); } if (workloadIdentityConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, getWorkloadIdentityConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(16, getWorkloadIdentityConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterCaCertificate_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, clusterCaCertificate_); } if (fleet_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(18, getFleet()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getFleet()); } if (loggingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(19, getLoggingConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getLoggingConfig()); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(20, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, errors_.get(i)); } if (monitoringConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(21, getMonitoringConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getMonitoringConfig()); } if (binaryAuthorization_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(22, getBinaryAuthorization()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(22, getBinaryAuthorization()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1434,83 +1714,64 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsCluster)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsCluster other = (com.google.cloud.gkemulticloud.v1.AwsCluster) obj; + com.google.cloud.gkemulticloud.v1.AwsCluster other = + (com.google.cloud.gkemulticloud.v1.AwsCluster) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (hasNetworking() != other.hasNetworking()) return false; if (hasNetworking()) { - if (!getNetworking() - .equals(other.getNetworking())) return false; + if (!getNetworking().equals(other.getNetworking())) return false; } - if (!getAwsRegion() - .equals(other.getAwsRegion())) return false; + if (!getAwsRegion().equals(other.getAwsRegion())) return false; if (hasControlPlane() != other.hasControlPlane()) return false; if (hasControlPlane()) { - if (!getControlPlane() - .equals(other.getControlPlane())) return false; + if (!getControlPlane().equals(other.getControlPlane())) return false; } if (hasAuthorization() != other.hasAuthorization()) return false; if (hasAuthorization()) { - if (!getAuthorization() - .equals(other.getAuthorization())) return false; + if (!getAuthorization().equals(other.getAuthorization())) return false; } if (state_ != other.state_) return false; - if (!getEndpoint() - .equals(other.getEndpoint())) return false; - if (!getUid() - .equals(other.getUid())) return false; - if (getReconciling() - != other.getReconciling()) return false; + if (!getEndpoint().equals(other.getEndpoint())) return false; + if (!getUid().equals(other.getUid())) return false; + if (getReconciling() != other.getReconciling()) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } - if (!getEtag() - .equals(other.getEtag())) return false; - if (!internalGetAnnotations().equals( - other.internalGetAnnotations())) return false; + if (!getEtag().equals(other.getEtag())) return false; + if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; if (hasWorkloadIdentityConfig() != other.hasWorkloadIdentityConfig()) return false; if (hasWorkloadIdentityConfig()) { - if (!getWorkloadIdentityConfig() - .equals(other.getWorkloadIdentityConfig())) return false; + if (!getWorkloadIdentityConfig().equals(other.getWorkloadIdentityConfig())) return false; } - if (!getClusterCaCertificate() - .equals(other.getClusterCaCertificate())) return false; + if (!getClusterCaCertificate().equals(other.getClusterCaCertificate())) return false; if (hasFleet() != other.hasFleet()) return false; if (hasFleet()) { - if (!getFleet() - .equals(other.getFleet())) return false; + if (!getFleet().equals(other.getFleet())) return false; } if (hasLoggingConfig() != other.hasLoggingConfig()) return false; if (hasLoggingConfig()) { - if (!getLoggingConfig() - .equals(other.getLoggingConfig())) return false; + if (!getLoggingConfig().equals(other.getLoggingConfig())) return false; } - if (!getErrorsList() - .equals(other.getErrorsList())) return false; + if (!getErrorsList().equals(other.getErrorsList())) return false; if (hasMonitoringConfig() != other.hasMonitoringConfig()) return false; if (hasMonitoringConfig()) { - if (!getMonitoringConfig() - .equals(other.getMonitoringConfig())) return false; + if (!getMonitoringConfig().equals(other.getMonitoringConfig())) return false; } if (hasBinaryAuthorization() != other.hasBinaryAuthorization()) return false; if (hasBinaryAuthorization()) { - if (!getBinaryAuthorization() - .equals(other.getBinaryAuthorization())) return false; + if (!getBinaryAuthorization().equals(other.getBinaryAuthorization())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1548,8 +1809,7 @@ public int hashCode() { hash = (37 * hash) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid().hashCode(); hash = (37 * hash) + RECONCILING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getReconciling()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReconciling()); if (hasCreateTime()) { hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime().hashCode(); @@ -1595,154 +1855,156 @@ public int hashCode() { return hash; } - public static com.google.cloud.gkemulticloud.v1.AwsCluster parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.gkemulticloud.v1.AwsCluster parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsCluster parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsCluster parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsCluster parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsCluster parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsCluster parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsCluster parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsCluster parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsCluster parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsCluster parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsCluster parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsCluster parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsCluster parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsCluster prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * An Anthos cluster running on AWS.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsCluster} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsCluster) com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsCluster_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsCluster_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 14: return internalGetAnnotations(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 14: return internalGetMutableAnnotations(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsCluster_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsCluster_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsCluster.class, com.google.cloud.gkemulticloud.v1.AwsCluster.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsCluster.class, + com.google.cloud.gkemulticloud.v1.AwsCluster.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AwsCluster.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1818,9 +2080,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsCluster_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsCluster_descriptor; } @java.lang.Override @@ -1839,9 +2101,12 @@ public com.google.cloud.gkemulticloud.v1.AwsCluster build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsCluster buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsCluster result = new com.google.cloud.gkemulticloud.v1.AwsCluster(this); + com.google.cloud.gkemulticloud.v1.AwsCluster result = + new com.google.cloud.gkemulticloud.v1.AwsCluster(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1867,22 +2132,18 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsCluster result) result.description_ = description_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.networking_ = networkingBuilder_ == null - ? networking_ - : networkingBuilder_.build(); + result.networking_ = networkingBuilder_ == null ? networking_ : networkingBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.awsRegion_ = awsRegion_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.controlPlane_ = controlPlaneBuilder_ == null - ? controlPlane_ - : controlPlaneBuilder_.build(); + result.controlPlane_ = + controlPlaneBuilder_ == null ? controlPlane_ : controlPlaneBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.authorization_ = authorizationBuilder_ == null - ? authorization_ - : authorizationBuilder_.build(); + result.authorization_ = + authorizationBuilder_ == null ? authorization_ : authorizationBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { result.state_ = state_; @@ -1897,14 +2158,10 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsCluster result) result.reconciling_ = reconciling_; } if (((from_bitField0_ & 0x00000400) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000800) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00001000) != 0)) { result.etag_ = etag_; @@ -1914,32 +2171,30 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsCluster result) result.annotations_.makeImmutable(); } if (((from_bitField0_ & 0x00004000) != 0)) { - result.workloadIdentityConfig_ = workloadIdentityConfigBuilder_ == null - ? workloadIdentityConfig_ - : workloadIdentityConfigBuilder_.build(); + result.workloadIdentityConfig_ = + workloadIdentityConfigBuilder_ == null + ? workloadIdentityConfig_ + : workloadIdentityConfigBuilder_.build(); } if (((from_bitField0_ & 0x00008000) != 0)) { result.clusterCaCertificate_ = clusterCaCertificate_; } if (((from_bitField0_ & 0x00010000) != 0)) { - result.fleet_ = fleetBuilder_ == null - ? fleet_ - : fleetBuilder_.build(); + result.fleet_ = fleetBuilder_ == null ? fleet_ : fleetBuilder_.build(); } if (((from_bitField0_ & 0x00020000) != 0)) { - result.loggingConfig_ = loggingConfigBuilder_ == null - ? loggingConfig_ - : loggingConfigBuilder_.build(); + result.loggingConfig_ = + loggingConfigBuilder_ == null ? loggingConfig_ : loggingConfigBuilder_.build(); } if (((from_bitField0_ & 0x00080000) != 0)) { - result.monitoringConfig_ = monitoringConfigBuilder_ == null - ? monitoringConfig_ - : monitoringConfigBuilder_.build(); + result.monitoringConfig_ = + monitoringConfigBuilder_ == null ? monitoringConfig_ : monitoringConfigBuilder_.build(); } if (((from_bitField0_ & 0x00100000) != 0)) { - result.binaryAuthorization_ = binaryAuthorizationBuilder_ == null - ? binaryAuthorization_ - : binaryAuthorizationBuilder_.build(); + result.binaryAuthorization_ = + binaryAuthorizationBuilder_ == null + ? binaryAuthorization_ + : binaryAuthorizationBuilder_.build(); } } @@ -1947,38 +2202,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsCluster result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AwsCluster) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsCluster)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsCluster) other); } else { super.mergeFrom(other); return this; @@ -2038,8 +2294,7 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsCluster other) { bitField0_ |= 0x00001000; onChanged(); } - internalGetMutableAnnotations().mergeFrom( - other.internalGetAnnotations()); + internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); bitField0_ |= 0x00002000; if (other.hasWorkloadIdentityConfig()) { mergeWorkloadIdentityConfig(other.getWorkloadIdentityConfig()); @@ -2073,9 +2328,10 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsCluster other) { errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00040000); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getErrorsFieldBuilder() : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getErrorsFieldBuilder() + : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -2113,149 +2369,156 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getNetworkingFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - awsRegion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - input.readMessage( - getControlPlaneFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 56: { - state_ = input.readEnum(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 66: { - endpoint_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 74: { - uid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 74 - case 80: { - reconciling_ = input.readBool(); - bitField0_ |= 0x00000200; - break; - } // case 80 - case 90: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000400; - break; - } // case 90 - case 98: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000800; - break; - } // case 98 - case 106: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; - break; - } // case 106 - case 114: { - com.google.protobuf.MapEntry - annotations__ = input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableAnnotations().getMutableMap().put( - annotations__.getKey(), annotations__.getValue()); - bitField0_ |= 0x00002000; - break; - } // case 114 - case 122: { - input.readMessage( - getAuthorizationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 122 - case 130: { - input.readMessage( - getWorkloadIdentityConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00004000; - break; - } // case 130 - case 138: { - clusterCaCertificate_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00008000; - break; - } // case 138 - case 146: { - input.readMessage( - getFleetFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00010000; - break; - } // case 146 - case 154: { - input.readMessage( - getLoggingConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00020000; - break; - } // case 154 - case 162: { - com.google.cloud.gkemulticloud.v1.AwsClusterError m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsClusterError.parser(), - extensionRegistry); - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.add(m); - } else { - errorsBuilder_.addMessage(m); - } - break; - } // case 162 - case 170: { - input.readMessage( - getMonitoringConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00080000; - break; - } // case 170 - case 178: { - input.readMessage( - getBinaryAuthorizationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00100000; - break; - } // case 178 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getNetworkingFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + awsRegion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + input.readMessage(getControlPlaneFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 56: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 66: + { + endpoint_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 74: + { + uid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 80: + { + reconciling_ = input.readBool(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 90: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 90 + case 98: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000800; + break; + } // case 98 + case 106: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 106 + case 114: + { + com.google.protobuf.MapEntry annotations__ = + input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableAnnotations() + .getMutableMap() + .put(annotations__.getKey(), annotations__.getValue()); + bitField0_ |= 0x00002000; + break; + } // case 114 + case 122: + { + input.readMessage(getAuthorizationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 122 + case 130: + { + input.readMessage( + getWorkloadIdentityConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00004000; + break; + } // case 130 + case 138: + { + clusterCaCertificate_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00008000; + break; + } // case 138 + case 146: + { + input.readMessage(getFleetFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00010000; + break; + } // case 146 + case 154: + { + input.readMessage(getLoggingConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00020000; + break; + } // case 154 + case 162: + { + com.google.cloud.gkemulticloud.v1.AwsClusterError m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsClusterError.parser(), + extensionRegistry); + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.add(m); + } else { + errorsBuilder_.addMessage(m); + } + break; + } // case 162 + case 170: + { + input.readMessage( + getMonitoringConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00080000; + break; + } // case 170 + case 178: + { + input.readMessage( + getBinaryAuthorizationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00100000; + break; + } // case 178 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2265,10 +2528,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * The name of this resource.
      *
@@ -2280,13 +2546,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2295,6 +2561,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of this resource.
      *
@@ -2306,15 +2574,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -2322,6 +2589,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of this resource.
      *
@@ -2333,18 +2602,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The name of this resource.
      *
@@ -2356,6 +2629,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -2365,6 +2639,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The name of this resource.
      *
@@ -2376,12 +2652,14 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2391,19 +2669,21 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. A human readable description of this cluster.
      * Cannot be longer than 255 UTF-8 encoded bytes.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2412,21 +2692,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. A human readable description of this cluster.
      * Cannot be longer than 255 UTF-8 encoded bytes.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -2434,30 +2715,37 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. A human readable description of this cluster.
      * Cannot be longer than 255 UTF-8 encoded bytes.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. A human readable description of this cluster.
      * Cannot be longer than 255 UTF-8 encoded bytes.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2467,18 +2755,22 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. A human readable description of this cluster.
      * Cannot be longer than 255 UTF-8 encoded bytes.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000002; @@ -2488,39 +2780,58 @@ public Builder setDescriptionBytes( private com.google.cloud.gkemulticloud.v1.AwsClusterNetworking networking_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsClusterNetworking, com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterNetworkingOrBuilder> networkingBuilder_; + com.google.cloud.gkemulticloud.v1.AwsClusterNetworking, + com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder, + com.google.cloud.gkemulticloud.v1.AwsClusterNetworkingOrBuilder> + networkingBuilder_; /** + * + * *
      * Required. Cluster-wide networking configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the networking field is set. */ public boolean hasNetworking() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. Cluster-wide networking configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The networking. */ public com.google.cloud.gkemulticloud.v1.AwsClusterNetworking getNetworking() { if (networkingBuilder_ == null) { - return networking_ == null ? com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.getDefaultInstance() : networking_; + return networking_ == null + ? com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.getDefaultInstance() + : networking_; } else { return networkingBuilder_.getMessage(); } } /** + * + * *
      * Required. Cluster-wide networking configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setNetworking(com.google.cloud.gkemulticloud.v1.AwsClusterNetworking value) { if (networkingBuilder_ == null) { @@ -2536,11 +2847,15 @@ public Builder setNetworking(com.google.cloud.gkemulticloud.v1.AwsClusterNetwork return this; } /** + * + * *
      * Required. Cluster-wide networking configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setNetworking( com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder builderForValue) { @@ -2554,17 +2869,22 @@ public Builder setNetworking( return this; } /** + * + * *
      * Required. Cluster-wide networking configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeNetworking(com.google.cloud.gkemulticloud.v1.AwsClusterNetworking value) { if (networkingBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - networking_ != null && - networking_ != com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && networking_ != null + && networking_ + != com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.getDefaultInstance()) { getNetworkingBuilder().mergeFrom(value); } else { networking_ = value; @@ -2577,11 +2897,15 @@ public Builder mergeNetworking(com.google.cloud.gkemulticloud.v1.AwsClusterNetwo return this; } /** + * + * *
      * Required. Cluster-wide networking configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearNetworking() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2594,11 +2918,15 @@ public Builder clearNetworking() { return this; } /** + * + * *
      * Required. Cluster-wide networking configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder getNetworkingBuilder() { bitField0_ |= 0x00000004; @@ -2606,36 +2934,49 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder getNetwork return getNetworkingFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Cluster-wide networking configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.gkemulticloud.v1.AwsClusterNetworkingOrBuilder getNetworkingOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsClusterNetworkingOrBuilder + getNetworkingOrBuilder() { if (networkingBuilder_ != null) { return networkingBuilder_.getMessageOrBuilder(); } else { - return networking_ == null ? - com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.getDefaultInstance() : networking_; + return networking_ == null + ? com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.getDefaultInstance() + : networking_; } } /** + * + * *
      * Required. Cluster-wide networking configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsClusterNetworking, com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterNetworkingOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsClusterNetworking, + com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder, + com.google.cloud.gkemulticloud.v1.AwsClusterNetworkingOrBuilder> getNetworkingFieldBuilder() { if (networkingBuilder_ == null) { - networkingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsClusterNetworking, com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterNetworkingOrBuilder>( - getNetworking(), - getParentForChildren(), - isClean()); + networkingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsClusterNetworking, + com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder, + com.google.cloud.gkemulticloud.v1.AwsClusterNetworkingOrBuilder>( + getNetworking(), getParentForChildren(), isClean()); networking_ = null; } return networkingBuilder_; @@ -2643,6 +2984,8 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterNetworkingOrBuilder getNetwor private java.lang.Object awsRegion_ = ""; /** + * + * *
      * Required. The AWS region where the cluster runs.
      *
@@ -2653,13 +2996,13 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterNetworkingOrBuilder getNetwor
      * 
* * string aws_region = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The awsRegion. */ public java.lang.String getAwsRegion() { java.lang.Object ref = awsRegion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); awsRegion_ = s; return s; @@ -2668,6 +3011,8 @@ public java.lang.String getAwsRegion() { } } /** + * + * *
      * Required. The AWS region where the cluster runs.
      *
@@ -2678,15 +3023,14 @@ public java.lang.String getAwsRegion() {
      * 
* * string aws_region = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for awsRegion. */ - public com.google.protobuf.ByteString - getAwsRegionBytes() { + public com.google.protobuf.ByteString getAwsRegionBytes() { java.lang.Object ref = awsRegion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); awsRegion_ = b; return b; } else { @@ -2694,6 +3038,8 @@ public java.lang.String getAwsRegion() { } } /** + * + * *
      * Required. The AWS region where the cluster runs.
      *
@@ -2704,18 +3050,22 @@ public java.lang.String getAwsRegion() {
      * 
* * string aws_region = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The awsRegion to set. * @return This builder for chaining. */ - public Builder setAwsRegion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAwsRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } awsRegion_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Required. The AWS region where the cluster runs.
      *
@@ -2726,6 +3076,7 @@ public Builder setAwsRegion(
      * 
* * string aws_region = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAwsRegion() { @@ -2735,6 +3086,8 @@ public Builder clearAwsRegion() { return this; } /** + * + * *
      * Required. The AWS region where the cluster runs.
      *
@@ -2745,12 +3098,14 @@ public Builder clearAwsRegion() {
      * 
* * string aws_region = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for awsRegion to set. * @return This builder for chaining. */ - public Builder setAwsRegionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAwsRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); awsRegion_ = value; bitField0_ |= 0x00000008; @@ -2760,39 +3115,58 @@ public Builder setAwsRegionBytes( private com.google.cloud.gkemulticloud.v1.AwsControlPlane controlPlane_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsControlPlane, com.google.cloud.gkemulticloud.v1.AwsControlPlane.Builder, com.google.cloud.gkemulticloud.v1.AwsControlPlaneOrBuilder> controlPlaneBuilder_; + com.google.cloud.gkemulticloud.v1.AwsControlPlane, + com.google.cloud.gkemulticloud.v1.AwsControlPlane.Builder, + com.google.cloud.gkemulticloud.v1.AwsControlPlaneOrBuilder> + controlPlaneBuilder_; /** + * + * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the controlPlane field is set. */ public boolean hasControlPlane() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The controlPlane. */ public com.google.cloud.gkemulticloud.v1.AwsControlPlane getControlPlane() { if (controlPlaneBuilder_ == null) { - return controlPlane_ == null ? com.google.cloud.gkemulticloud.v1.AwsControlPlane.getDefaultInstance() : controlPlane_; + return controlPlane_ == null + ? com.google.cloud.gkemulticloud.v1.AwsControlPlane.getDefaultInstance() + : controlPlane_; } else { return controlPlaneBuilder_.getMessage(); } } /** + * + * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setControlPlane(com.google.cloud.gkemulticloud.v1.AwsControlPlane value) { if (controlPlaneBuilder_ == null) { @@ -2808,11 +3182,15 @@ public Builder setControlPlane(com.google.cloud.gkemulticloud.v1.AwsControlPlane return this; } /** + * + * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setControlPlane( com.google.cloud.gkemulticloud.v1.AwsControlPlane.Builder builderForValue) { @@ -2826,17 +3204,22 @@ public Builder setControlPlane( return this; } /** + * + * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeControlPlane(com.google.cloud.gkemulticloud.v1.AwsControlPlane value) { if (controlPlaneBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - controlPlane_ != null && - controlPlane_ != com.google.cloud.gkemulticloud.v1.AwsControlPlane.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && controlPlane_ != null + && controlPlane_ + != com.google.cloud.gkemulticloud.v1.AwsControlPlane.getDefaultInstance()) { getControlPlaneBuilder().mergeFrom(value); } else { controlPlane_ = value; @@ -2849,11 +3232,15 @@ public Builder mergeControlPlane(com.google.cloud.gkemulticloud.v1.AwsControlPla return this; } /** + * + * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearControlPlane() { bitField0_ = (bitField0_ & ~0x00000010); @@ -2866,11 +3253,15 @@ public Builder clearControlPlane() { return this; } /** + * + * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AwsControlPlane.Builder getControlPlaneBuilder() { bitField0_ |= 0x00000010; @@ -2878,36 +3269,48 @@ public com.google.cloud.gkemulticloud.v1.AwsControlPlane.Builder getControlPlane return getControlPlaneFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AwsControlPlaneOrBuilder getControlPlaneOrBuilder() { if (controlPlaneBuilder_ != null) { return controlPlaneBuilder_.getMessageOrBuilder(); } else { - return controlPlane_ == null ? - com.google.cloud.gkemulticloud.v1.AwsControlPlane.getDefaultInstance() : controlPlane_; + return controlPlane_ == null + ? com.google.cloud.gkemulticloud.v1.AwsControlPlane.getDefaultInstance() + : controlPlane_; } } /** + * + * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsControlPlane, com.google.cloud.gkemulticloud.v1.AwsControlPlane.Builder, com.google.cloud.gkemulticloud.v1.AwsControlPlaneOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsControlPlane, + com.google.cloud.gkemulticloud.v1.AwsControlPlane.Builder, + com.google.cloud.gkemulticloud.v1.AwsControlPlaneOrBuilder> getControlPlaneFieldBuilder() { if (controlPlaneBuilder_ == null) { - controlPlaneBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsControlPlane, com.google.cloud.gkemulticloud.v1.AwsControlPlane.Builder, com.google.cloud.gkemulticloud.v1.AwsControlPlaneOrBuilder>( - getControlPlane(), - getParentForChildren(), - isClean()); + controlPlaneBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsControlPlane, + com.google.cloud.gkemulticloud.v1.AwsControlPlane.Builder, + com.google.cloud.gkemulticloud.v1.AwsControlPlaneOrBuilder>( + getControlPlane(), getParentForChildren(), isClean()); controlPlane_ = null; } return controlPlaneBuilder_; @@ -2915,39 +3318,58 @@ public com.google.cloud.gkemulticloud.v1.AwsControlPlaneOrBuilder getControlPlan private com.google.cloud.gkemulticloud.v1.AwsAuthorization authorization_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsAuthorization, com.google.cloud.gkemulticloud.v1.AwsAuthorization.Builder, com.google.cloud.gkemulticloud.v1.AwsAuthorizationOrBuilder> authorizationBuilder_; + com.google.cloud.gkemulticloud.v1.AwsAuthorization, + com.google.cloud.gkemulticloud.v1.AwsAuthorization.Builder, + com.google.cloud.gkemulticloud.v1.AwsAuthorizationOrBuilder> + authorizationBuilder_; /** + * + * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the authorization field is set. */ public boolean hasAuthorization() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The authorization. */ public com.google.cloud.gkemulticloud.v1.AwsAuthorization getAuthorization() { if (authorizationBuilder_ == null) { - return authorization_ == null ? com.google.cloud.gkemulticloud.v1.AwsAuthorization.getDefaultInstance() : authorization_; + return authorization_ == null + ? com.google.cloud.gkemulticloud.v1.AwsAuthorization.getDefaultInstance() + : authorization_; } else { return authorizationBuilder_.getMessage(); } } /** + * + * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAuthorization(com.google.cloud.gkemulticloud.v1.AwsAuthorization value) { if (authorizationBuilder_ == null) { @@ -2963,11 +3385,15 @@ public Builder setAuthorization(com.google.cloud.gkemulticloud.v1.AwsAuthorizati return this; } /** + * + * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAuthorization( com.google.cloud.gkemulticloud.v1.AwsAuthorization.Builder builderForValue) { @@ -2981,17 +3407,22 @@ public Builder setAuthorization( return this; } /** + * + * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAuthorization(com.google.cloud.gkemulticloud.v1.AwsAuthorization value) { if (authorizationBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - authorization_ != null && - authorization_ != com.google.cloud.gkemulticloud.v1.AwsAuthorization.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && authorization_ != null + && authorization_ + != com.google.cloud.gkemulticloud.v1.AwsAuthorization.getDefaultInstance()) { getAuthorizationBuilder().mergeFrom(value); } else { authorization_ = value; @@ -3004,11 +3435,15 @@ public Builder mergeAuthorization(com.google.cloud.gkemulticloud.v1.AwsAuthoriza return this; } /** + * + * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAuthorization() { bitField0_ = (bitField0_ & ~0x00000020); @@ -3021,11 +3456,15 @@ public Builder clearAuthorization() { return this; } /** + * + * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AwsAuthorization.Builder getAuthorizationBuilder() { bitField0_ |= 0x00000020; @@ -3033,36 +3472,48 @@ public com.google.cloud.gkemulticloud.v1.AwsAuthorization.Builder getAuthorizati return getAuthorizationFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AwsAuthorizationOrBuilder getAuthorizationOrBuilder() { if (authorizationBuilder_ != null) { return authorizationBuilder_.getMessageOrBuilder(); } else { - return authorization_ == null ? - com.google.cloud.gkemulticloud.v1.AwsAuthorization.getDefaultInstance() : authorization_; + return authorization_ == null + ? com.google.cloud.gkemulticloud.v1.AwsAuthorization.getDefaultInstance() + : authorization_; } } /** + * + * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsAuthorization, com.google.cloud.gkemulticloud.v1.AwsAuthorization.Builder, com.google.cloud.gkemulticloud.v1.AwsAuthorizationOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsAuthorization, + com.google.cloud.gkemulticloud.v1.AwsAuthorization.Builder, + com.google.cloud.gkemulticloud.v1.AwsAuthorizationOrBuilder> getAuthorizationFieldBuilder() { if (authorizationBuilder_ == null) { - authorizationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsAuthorization, com.google.cloud.gkemulticloud.v1.AwsAuthorization.Builder, com.google.cloud.gkemulticloud.v1.AwsAuthorizationOrBuilder>( - getAuthorization(), - getParentForChildren(), - isClean()); + authorizationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsAuthorization, + com.google.cloud.gkemulticloud.v1.AwsAuthorization.Builder, + com.google.cloud.gkemulticloud.v1.AwsAuthorizationOrBuilder>( + getAuthorization(), getParentForChildren(), isClean()); authorization_ = null; } return authorizationBuilder_; @@ -3070,22 +3521,33 @@ public com.google.cloud.gkemulticloud.v1.AwsAuthorizationOrBuilder getAuthorizat private int state_ = 0; /** + * + * *
      * Output only. The current state of the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. The current state of the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -3096,24 +3558,37 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. The current state of the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsCluster.State getState() { - com.google.cloud.gkemulticloud.v1.AwsCluster.State result = com.google.cloud.gkemulticloud.v1.AwsCluster.State.forNumber(state_); - return result == null ? com.google.cloud.gkemulticloud.v1.AwsCluster.State.UNRECOGNIZED : result; + com.google.cloud.gkemulticloud.v1.AwsCluster.State result = + com.google.cloud.gkemulticloud.v1.AwsCluster.State.forNumber(state_); + return result == null + ? com.google.cloud.gkemulticloud.v1.AwsCluster.State.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The current state of the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -3127,11 +3602,16 @@ public Builder setState(com.google.cloud.gkemulticloud.v1.AwsCluster.State value return this; } /** + * + * *
      * Output only. The current state of the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -3143,18 +3623,20 @@ public Builder clearState() { private java.lang.Object endpoint_ = ""; /** + * + * *
      * Output only. The endpoint of the cluster's API server.
      * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The endpoint. */ public java.lang.String getEndpoint() { java.lang.Object ref = endpoint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endpoint_ = s; return s; @@ -3163,20 +3645,21 @@ public java.lang.String getEndpoint() { } } /** + * + * *
      * Output only. The endpoint of the cluster's API server.
      * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for endpoint. */ - public com.google.protobuf.ByteString - getEndpointBytes() { + public com.google.protobuf.ByteString getEndpointBytes() { java.lang.Object ref = endpoint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); endpoint_ = b; return b; } else { @@ -3184,28 +3667,35 @@ public java.lang.String getEndpoint() { } } /** + * + * *
      * Output only. The endpoint of the cluster's API server.
      * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The endpoint to set. * @return This builder for chaining. */ - public Builder setEndpoint( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEndpoint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } endpoint_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * Output only. The endpoint of the cluster's API server.
      * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearEndpoint() { @@ -3215,17 +3705,21 @@ public Builder clearEndpoint() { return this; } /** + * + * *
      * Output only. The endpoint of the cluster's API server.
      * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for endpoint to set. * @return This builder for chaining. */ - public Builder setEndpointBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEndpointBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); endpoint_ = value; bitField0_ |= 0x00000080; @@ -3235,18 +3729,20 @@ public Builder setEndpointBytes( private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. A globally unique identifier for the cluster.
      * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -3255,20 +3751,21 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. A globally unique identifier for the cluster.
      * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -3276,28 +3773,35 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. A globally unique identifier for the cluster.
      * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * Output only. A globally unique identifier for the cluster.
      * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -3307,17 +3811,21 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. A globally unique identifier for the cluster.
      * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000100; @@ -3325,13 +3833,16 @@ public Builder setUidBytes( return this; } - private boolean reconciling_ ; + private boolean reconciling_; /** + * + * *
      * Output only. If set, there are currently changes in flight to the cluster.
      * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -3339,11 +3850,14 @@ public boolean getReconciling() { return reconciling_; } /** + * + * *
      * Output only. If set, there are currently changes in flight to the cluster.
      * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The reconciling to set. * @return This builder for chaining. */ @@ -3355,11 +3869,14 @@ public Builder setReconciling(boolean value) { return this; } /** + * + * *
      * Output only. If set, there are currently changes in flight to the cluster.
      * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -3371,39 +3888,58 @@ public Builder clearReconciling() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time at which this cluster was created.
      * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * *
      * Output only. The time at which this cluster was created.
      * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time at which this cluster was created.
      * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -3419,14 +3955,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this cluster was created.
      * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -3437,17 +3976,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time at which this cluster was created.
      * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -3460,11 +4003,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this cluster was created.
      * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000400); @@ -3477,11 +4024,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time at which this cluster was created.
      * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000400; @@ -3489,36 +4040,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time at which this cluster was created.
      * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time at which this cluster was created.
      * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -3526,39 +4089,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000800) != 0); } /** + * + * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3574,14 +4156,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -3592,17 +4177,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -3615,11 +4204,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000800); @@ -3632,11 +4225,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000800; @@ -3644,36 +4241,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -3681,6 +4290,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object etag_ = ""; /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3690,13 +4301,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string etag = 13; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -3705,6 +4316,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3714,15 +4327,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 13; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -3730,6 +4342,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3739,18 +4353,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 13; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3760,6 +4378,7 @@ public Builder setEtag(
      * 
* * string etag = 13; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -3769,6 +4388,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3778,12 +4399,14 @@ public Builder clearEtag() {
      * 
* * string etag = 13; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00001000; @@ -3791,8 +4414,8 @@ public Builder setEtagBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -3801,11 +4424,12 @@ public Builder setEtagBytes( } return annotations_; } + private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = + com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -3814,10 +4438,13 @@ public Builder setEtagBytes( onChanged(); return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
      * Optional. Annotations on the cluster.
      *
@@ -3830,23 +4457,25 @@ public int getAnnotationsCount() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsAnnotations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetAnnotations().getMap().containsKey(key); } - /** - * Use {@link #getAnnotationsMap()} instead. - */ + /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** + * + * *
      * Optional. Annotations on the cluster.
      *
@@ -3859,13 +4488,16 @@ public java.util.Map getAnnotations() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** + * + * *
      * Optional. Annotations on the cluster.
      *
@@ -3878,20 +4510,23 @@ public java.util.Map getAnnotationsMap() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -java.lang.String getAnnotationsOrDefault( + public /* nullable */ java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Optional. Annotations on the cluster.
      *
@@ -3904,26 +4539,29 @@ java.lang.String getAnnotationsOrDefault(
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + public java.lang.String getAnnotationsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearAnnotations() { bitField0_ = (bitField0_ & ~0x00002000); - internalGetMutableAnnotations().getMutableMap() - .clear(); + internalGetMutableAnnotations().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. Annotations on the cluster.
      *
@@ -3936,25 +4574,25 @@ public Builder clearAnnotations() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder removeAnnotations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableAnnotations().getMutableMap() - .remove(key); + public Builder removeAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableAnnotations().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableAnnotations() { + public java.util.Map getMutableAnnotations() { bitField0_ |= 0x00002000; return internalGetMutableAnnotations().getMutableMap(); } /** + * + * *
      * Optional. Annotations on the cluster.
      *
@@ -3967,19 +4605,23 @@ public Builder removeAnnotations(
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder putAnnotations( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableAnnotations().getMutableMap() - .put(key, value); + public Builder putAnnotations(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableAnnotations().getMutableMap().put(key, value); bitField0_ |= 0x00002000; return this; } /** + * + * *
      * Optional. Annotations on the cluster.
      *
@@ -3992,53 +4634,72 @@ public Builder putAnnotations(
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder putAllAnnotations( - java.util.Map values) { - internalGetMutableAnnotations().getMutableMap() - .putAll(values); + public Builder putAllAnnotations(java.util.Map values) { + internalGetMutableAnnotations().getMutableMap().putAll(values); bitField0_ |= 0x00002000; return this; } private com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workloadIdentityConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder> workloadIdentityConfigBuilder_; + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder> + workloadIdentityConfigBuilder_; /** + * + * *
      * Output only. Workload Identity settings.
      * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the workloadIdentityConfig field is set. */ public boolean hasWorkloadIdentityConfig() { return ((bitField0_ & 0x00004000) != 0); } /** + * + * *
      * Output only. Workload Identity settings.
      * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The workloadIdentityConfig. */ public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig getWorkloadIdentityConfig() { if (workloadIdentityConfigBuilder_ == null) { - return workloadIdentityConfig_ == null ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_; + return workloadIdentityConfig_ == null + ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() + : workloadIdentityConfig_; } else { return workloadIdentityConfigBuilder_.getMessage(); } } /** + * + * *
      * Output only. Workload Identity settings.
      * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setWorkloadIdentityConfig(com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig value) { + public Builder setWorkloadIdentityConfig( + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig value) { if (workloadIdentityConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4052,11 +4713,15 @@ public Builder setWorkloadIdentityConfig(com.google.cloud.gkemulticloud.v1.Workl return this; } /** + * + * *
      * Output only. Workload Identity settings.
      * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setWorkloadIdentityConfig( com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder builderForValue) { @@ -4070,17 +4735,23 @@ public Builder setWorkloadIdentityConfig( return this; } /** + * + * *
      * Output only. Workload Identity settings.
      * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeWorkloadIdentityConfig(com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig value) { + public Builder mergeWorkloadIdentityConfig( + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig value) { if (workloadIdentityConfigBuilder_ == null) { - if (((bitField0_ & 0x00004000) != 0) && - workloadIdentityConfig_ != null && - workloadIdentityConfig_ != com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00004000) != 0) + && workloadIdentityConfig_ != null + && workloadIdentityConfig_ + != com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance()) { getWorkloadIdentityConfigBuilder().mergeFrom(value); } else { workloadIdentityConfig_ = value; @@ -4093,11 +4764,15 @@ public Builder mergeWorkloadIdentityConfig(com.google.cloud.gkemulticloud.v1.Wor return this; } /** + * + * *
      * Output only. Workload Identity settings.
      * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearWorkloadIdentityConfig() { bitField0_ = (bitField0_ & ~0x00004000); @@ -4110,48 +4785,66 @@ public Builder clearWorkloadIdentityConfig() { return this; } /** + * + * *
      * Output only. Workload Identity settings.
      * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder getWorkloadIdentityConfigBuilder() { + public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder + getWorkloadIdentityConfigBuilder() { bitField0_ |= 0x00004000; onChanged(); return getWorkloadIdentityConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Workload Identity settings.
      * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder() { + public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder + getWorkloadIdentityConfigOrBuilder() { if (workloadIdentityConfigBuilder_ != null) { return workloadIdentityConfigBuilder_.getMessageOrBuilder(); } else { - return workloadIdentityConfig_ == null ? - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_; + return workloadIdentityConfig_ == null + ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() + : workloadIdentityConfig_; } } /** + * + * *
      * Output only. Workload Identity settings.
      * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder> getWorkloadIdentityConfigFieldBuilder() { if (workloadIdentityConfigBuilder_ == null) { - workloadIdentityConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder>( - getWorkloadIdentityConfig(), - getParentForChildren(), - isClean()); + workloadIdentityConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder>( + getWorkloadIdentityConfig(), getParentForChildren(), isClean()); workloadIdentityConfig_ = null; } return workloadIdentityConfigBuilder_; @@ -4159,18 +4852,20 @@ public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder getWork private java.lang.Object clusterCaCertificate_ = ""; /** + * + * *
      * Output only. PEM encoded x509 certificate of the cluster root of trust.
      * 
* * string cluster_ca_certificate = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The clusterCaCertificate. */ public java.lang.String getClusterCaCertificate() { java.lang.Object ref = clusterCaCertificate_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterCaCertificate_ = s; return s; @@ -4179,20 +4874,21 @@ public java.lang.String getClusterCaCertificate() { } } /** + * + * *
      * Output only. PEM encoded x509 certificate of the cluster root of trust.
      * 
* * string cluster_ca_certificate = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for clusterCaCertificate. */ - public com.google.protobuf.ByteString - getClusterCaCertificateBytes() { + public com.google.protobuf.ByteString getClusterCaCertificateBytes() { java.lang.Object ref = clusterCaCertificate_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterCaCertificate_ = b; return b; } else { @@ -4200,28 +4896,35 @@ public java.lang.String getClusterCaCertificate() { } } /** + * + * *
      * Output only. PEM encoded x509 certificate of the cluster root of trust.
      * 
* * string cluster_ca_certificate = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The clusterCaCertificate to set. * @return This builder for chaining. */ - public Builder setClusterCaCertificate( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterCaCertificate(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } clusterCaCertificate_ = value; bitField0_ |= 0x00008000; onChanged(); return this; } /** + * + * *
      * Output only. PEM encoded x509 certificate of the cluster root of trust.
      * 
* * string cluster_ca_certificate = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearClusterCaCertificate() { @@ -4231,17 +4934,21 @@ public Builder clearClusterCaCertificate() { return this; } /** + * + * *
      * Output only. PEM encoded x509 certificate of the cluster root of trust.
      * 
* * string cluster_ca_certificate = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for clusterCaCertificate to set. * @return This builder for chaining. */ - public Builder setClusterCaCertificateBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterCaCertificateBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); clusterCaCertificate_ = value; bitField0_ |= 0x00008000; @@ -4251,39 +4958,58 @@ public Builder setClusterCaCertificateBytes( private com.google.cloud.gkemulticloud.v1.Fleet fleet_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.Fleet, com.google.cloud.gkemulticloud.v1.Fleet.Builder, com.google.cloud.gkemulticloud.v1.FleetOrBuilder> fleetBuilder_; + com.google.cloud.gkemulticloud.v1.Fleet, + com.google.cloud.gkemulticloud.v1.Fleet.Builder, + com.google.cloud.gkemulticloud.v1.FleetOrBuilder> + fleetBuilder_; /** + * + * *
      * Required. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the fleet field is set. */ public boolean hasFleet() { return ((bitField0_ & 0x00010000) != 0); } /** + * + * *
      * Required. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The fleet. */ public com.google.cloud.gkemulticloud.v1.Fleet getFleet() { if (fleetBuilder_ == null) { - return fleet_ == null ? com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() : fleet_; + return fleet_ == null + ? com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() + : fleet_; } else { return fleetBuilder_.getMessage(); } } /** + * + * *
      * Required. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { if (fleetBuilder_ == null) { @@ -4299,14 +5025,17 @@ public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { return this; } /** + * + * *
      * Required. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setFleet( - com.google.cloud.gkemulticloud.v1.Fleet.Builder builderForValue) { + public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet.Builder builderForValue) { if (fleetBuilder_ == null) { fleet_ = builderForValue.build(); } else { @@ -4317,17 +5046,21 @@ public Builder setFleet( return this; } /** + * + * *
      * Required. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { if (fleetBuilder_ == null) { - if (((bitField0_ & 0x00010000) != 0) && - fleet_ != null && - fleet_ != com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance()) { + if (((bitField0_ & 0x00010000) != 0) + && fleet_ != null + && fleet_ != com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance()) { getFleetBuilder().mergeFrom(value); } else { fleet_ = value; @@ -4340,11 +5073,15 @@ public Builder mergeFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { return this; } /** + * + * *
      * Required. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearFleet() { bitField0_ = (bitField0_ & ~0x00010000); @@ -4357,11 +5094,15 @@ public Builder clearFleet() { return this; } /** + * + * *
      * Required. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.Fleet.Builder getFleetBuilder() { bitField0_ |= 0x00010000; @@ -4369,36 +5110,48 @@ public com.google.cloud.gkemulticloud.v1.Fleet.Builder getFleetBuilder() { return getFleetFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder() { if (fleetBuilder_ != null) { return fleetBuilder_.getMessageOrBuilder(); } else { - return fleet_ == null ? - com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() : fleet_; + return fleet_ == null + ? com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() + : fleet_; } } /** + * + * *
      * Required. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.Fleet, com.google.cloud.gkemulticloud.v1.Fleet.Builder, com.google.cloud.gkemulticloud.v1.FleetOrBuilder> + com.google.cloud.gkemulticloud.v1.Fleet, + com.google.cloud.gkemulticloud.v1.Fleet.Builder, + com.google.cloud.gkemulticloud.v1.FleetOrBuilder> getFleetFieldBuilder() { if (fleetBuilder_ == null) { - fleetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.Fleet, com.google.cloud.gkemulticloud.v1.Fleet.Builder, com.google.cloud.gkemulticloud.v1.FleetOrBuilder>( - getFleet(), - getParentForChildren(), - isClean()); + fleetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.Fleet, + com.google.cloud.gkemulticloud.v1.Fleet.Builder, + com.google.cloud.gkemulticloud.v1.FleetOrBuilder>( + getFleet(), getParentForChildren(), isClean()); fleet_ = null; } return fleetBuilder_; @@ -4406,39 +5159,58 @@ public com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder() { private com.google.cloud.gkemulticloud.v1.LoggingConfig loggingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.LoggingConfig, com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder> loggingConfigBuilder_; + com.google.cloud.gkemulticloud.v1.LoggingConfig, + com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, + com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder> + loggingConfigBuilder_; /** + * + * *
      * Optional. Logging configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return ((bitField0_ & 0x00020000) != 0); } /** + * + * *
      * Optional. Logging configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The loggingConfig. */ public com.google.cloud.gkemulticloud.v1.LoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { - return loggingConfig_ == null ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() + : loggingConfig_; } else { return loggingConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. Logging configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setLoggingConfig(com.google.cloud.gkemulticloud.v1.LoggingConfig value) { if (loggingConfigBuilder_ == null) { @@ -4454,11 +5226,15 @@ public Builder setLoggingConfig(com.google.cloud.gkemulticloud.v1.LoggingConfig return this; } /** + * + * *
      * Optional. Logging configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setLoggingConfig( com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder builderForValue) { @@ -4472,17 +5248,22 @@ public Builder setLoggingConfig( return this; } /** + * + * *
      * Optional. Logging configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeLoggingConfig(com.google.cloud.gkemulticloud.v1.LoggingConfig value) { if (loggingConfigBuilder_ == null) { - if (((bitField0_ & 0x00020000) != 0) && - loggingConfig_ != null && - loggingConfig_ != com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00020000) != 0) + && loggingConfig_ != null + && loggingConfig_ + != com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance()) { getLoggingConfigBuilder().mergeFrom(value); } else { loggingConfig_ = value; @@ -4495,11 +5276,15 @@ public Builder mergeLoggingConfig(com.google.cloud.gkemulticloud.v1.LoggingConfi return this; } /** + * + * *
      * Optional. Logging configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearLoggingConfig() { bitField0_ = (bitField0_ & ~0x00020000); @@ -4512,11 +5297,15 @@ public Builder clearLoggingConfig() { return this; } /** + * + * *
      * Optional. Logging configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder getLoggingConfigBuilder() { bitField0_ |= 0x00020000; @@ -4524,59 +5313,80 @@ public com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder getLoggingConfigB return getLoggingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Logging configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder() { if (loggingConfigBuilder_ != null) { return loggingConfigBuilder_.getMessageOrBuilder(); } else { - return loggingConfig_ == null ? - com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() + : loggingConfig_; } } /** + * + * *
      * Optional. Logging configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.LoggingConfig, com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.LoggingConfig, + com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, + com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder> getLoggingConfigFieldBuilder() { if (loggingConfigBuilder_ == null) { - loggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.LoggingConfig, com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder>( - getLoggingConfig(), - getParentForChildren(), - isClean()); + loggingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.LoggingConfig, + com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, + com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder>( + getLoggingConfig(), getParentForChildren(), isClean()); loggingConfig_ = null; } return loggingConfigBuilder_; } private java.util.List errors_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00040000) != 0)) { - errors_ = new java.util.ArrayList(errors_); + errors_ = + new java.util.ArrayList(errors_); bitField0_ |= 0x00040000; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsClusterError, com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterErrorOrBuilder> errorsBuilder_; + com.google.cloud.gkemulticloud.v1.AwsClusterError, + com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder, + com.google.cloud.gkemulticloud.v1.AwsClusterErrorOrBuilder> + errorsBuilder_; /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getErrorsList() { if (errorsBuilder_ == null) { @@ -4586,11 +5396,15 @@ public java.util.List getErro } } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -4600,11 +5414,15 @@ public int getErrorsCount() { } } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.gkemulticloud.v1.AwsClusterError getErrors(int index) { if (errorsBuilder_ == null) { @@ -4614,14 +5432,17 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterError getErrors(int index) { } } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setErrors( - int index, com.google.cloud.gkemulticloud.v1.AwsClusterError value) { + public Builder setErrors(int index, com.google.cloud.gkemulticloud.v1.AwsClusterError value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4635,11 +5456,15 @@ public Builder setErrors( return this; } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setErrors( int index, com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder builderForValue) { @@ -4653,11 +5478,15 @@ public Builder setErrors( return this; } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addErrors(com.google.cloud.gkemulticloud.v1.AwsClusterError value) { if (errorsBuilder_ == null) { @@ -4673,14 +5502,17 @@ public Builder addErrors(com.google.cloud.gkemulticloud.v1.AwsClusterError value return this; } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addErrors( - int index, com.google.cloud.gkemulticloud.v1.AwsClusterError value) { + public Builder addErrors(int index, com.google.cloud.gkemulticloud.v1.AwsClusterError value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4694,11 +5526,15 @@ public Builder addErrors( return this; } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addErrors( com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder builderForValue) { @@ -4712,11 +5548,15 @@ public Builder addErrors( return this; } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addErrors( int index, com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder builderForValue) { @@ -4730,18 +5570,21 @@ public Builder addErrors( return this; } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllErrors( java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -4749,11 +5592,15 @@ public Builder addAllErrors( return this; } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -4766,11 +5613,15 @@ public Builder clearErrors() { return this; } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -4783,39 +5634,51 @@ public Builder removeErrors(int index) { return this; } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder getErrorsBuilder( - int index) { + public com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder getErrorsBuilder(int index) { return getErrorsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.gkemulticloud.v1.AwsClusterErrorOrBuilder getErrorsOrBuilder( int index) { if (errorsBuilder_ == null) { - return errors_.get(index); } else { + return errors_.get(index); + } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -4823,49 +5686,64 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterErrorOrBuilder getErrorsOrBui } } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder addErrorsBuilder() { - return getErrorsFieldBuilder().addBuilder( - com.google.cloud.gkemulticloud.v1.AwsClusterError.getDefaultInstance()); + return getErrorsFieldBuilder() + .addBuilder(com.google.cloud.gkemulticloud.v1.AwsClusterError.getDefaultInstance()); } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder addErrorsBuilder( - int index) { - return getErrorsFieldBuilder().addBuilder( - index, com.google.cloud.gkemulticloud.v1.AwsClusterError.getDefaultInstance()); + public com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder addErrorsBuilder(int index) { + return getErrorsFieldBuilder() + .addBuilder( + index, com.google.cloud.gkemulticloud.v1.AwsClusterError.getDefaultInstance()); } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsClusterError, com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterErrorOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsClusterError, + com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder, + com.google.cloud.gkemulticloud.v1.AwsClusterErrorOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsClusterError, com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterErrorOrBuilder>( - errors_, - ((bitField0_ & 0x00040000) != 0), - getParentForChildren(), - isClean()); + errorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsClusterError, + com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder, + com.google.cloud.gkemulticloud.v1.AwsClusterErrorOrBuilder>( + errors_, ((bitField0_ & 0x00040000) != 0), getParentForChildren(), isClean()); errors_ = null; } return errorsBuilder_; @@ -4873,39 +5751,58 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder addErrorsBuilde private com.google.cloud.gkemulticloud.v1.MonitoringConfig monitoringConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.MonitoringConfig, com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder> monitoringConfigBuilder_; + com.google.cloud.gkemulticloud.v1.MonitoringConfig, + com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, + com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder> + monitoringConfigBuilder_; /** + * + * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the monitoringConfig field is set. */ public boolean hasMonitoringConfig() { return ((bitField0_ & 0x00080000) != 0); } /** + * + * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The monitoringConfig. */ public com.google.cloud.gkemulticloud.v1.MonitoringConfig getMonitoringConfig() { if (monitoringConfigBuilder_ == null) { - return monitoringConfig_ == null ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; + return monitoringConfig_ == null + ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() + : monitoringConfig_; } else { return monitoringConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setMonitoringConfig(com.google.cloud.gkemulticloud.v1.MonitoringConfig value) { if (monitoringConfigBuilder_ == null) { @@ -4921,11 +5818,15 @@ public Builder setMonitoringConfig(com.google.cloud.gkemulticloud.v1.MonitoringC return this; } /** + * + * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setMonitoringConfig( com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder builderForValue) { @@ -4939,17 +5840,22 @@ public Builder setMonitoringConfig( return this; } /** + * + * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeMonitoringConfig(com.google.cloud.gkemulticloud.v1.MonitoringConfig value) { if (monitoringConfigBuilder_ == null) { - if (((bitField0_ & 0x00080000) != 0) && - monitoringConfig_ != null && - monitoringConfig_ != com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00080000) != 0) + && monitoringConfig_ != null + && monitoringConfig_ + != com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance()) { getMonitoringConfigBuilder().mergeFrom(value); } else { monitoringConfig_ = value; @@ -4962,11 +5868,15 @@ public Builder mergeMonitoringConfig(com.google.cloud.gkemulticloud.v1.Monitorin return this; } /** + * + * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearMonitoringConfig() { bitField0_ = (bitField0_ & ~0x00080000); @@ -4979,11 +5889,15 @@ public Builder clearMonitoringConfig() { return this; } /** + * + * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder getMonitoringConfigBuilder() { bitField0_ |= 0x00080000; @@ -4991,36 +5905,49 @@ public com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder getMonitoringC return getMonitoringConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBuilder() { + public com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder + getMonitoringConfigOrBuilder() { if (monitoringConfigBuilder_ != null) { return monitoringConfigBuilder_.getMessageOrBuilder(); } else { - return monitoringConfig_ == null ? - com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; + return monitoringConfig_ == null + ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() + : monitoringConfig_; } } /** + * + * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.MonitoringConfig, com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.MonitoringConfig, + com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, + com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder> getMonitoringConfigFieldBuilder() { if (monitoringConfigBuilder_ == null) { - monitoringConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.MonitoringConfig, com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder>( - getMonitoringConfig(), - getParentForChildren(), - isClean()); + monitoringConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.MonitoringConfig, + com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, + com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder>( + getMonitoringConfig(), getParentForChildren(), isClean()); monitoringConfig_ = null; } return monitoringConfigBuilder_; @@ -5028,41 +5955,61 @@ public com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder getMonitoring private com.google.cloud.gkemulticloud.v1.BinaryAuthorization binaryAuthorization_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.BinaryAuthorization, com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder, com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder> binaryAuthorizationBuilder_; + com.google.cloud.gkemulticloud.v1.BinaryAuthorization, + com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder, + com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder> + binaryAuthorizationBuilder_; /** + * + * *
      * Optional. Binary Authorization configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the binaryAuthorization field is set. */ public boolean hasBinaryAuthorization() { return ((bitField0_ & 0x00100000) != 0); } /** + * + * *
      * Optional. Binary Authorization configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The binaryAuthorization. */ public com.google.cloud.gkemulticloud.v1.BinaryAuthorization getBinaryAuthorization() { if (binaryAuthorizationBuilder_ == null) { - return binaryAuthorization_ == null ? com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; + return binaryAuthorization_ == null + ? com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance() + : binaryAuthorization_; } else { return binaryAuthorizationBuilder_.getMessage(); } } /** + * + * *
      * Optional. Binary Authorization configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setBinaryAuthorization(com.google.cloud.gkemulticloud.v1.BinaryAuthorization value) { + public Builder setBinaryAuthorization( + com.google.cloud.gkemulticloud.v1.BinaryAuthorization value) { if (binaryAuthorizationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5076,11 +6023,15 @@ public Builder setBinaryAuthorization(com.google.cloud.gkemulticloud.v1.BinaryAu return this; } /** + * + * *
      * Optional. Binary Authorization configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setBinaryAuthorization( com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder builderForValue) { @@ -5094,17 +6045,23 @@ public Builder setBinaryAuthorization( return this; } /** + * + * *
      * Optional. Binary Authorization configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeBinaryAuthorization(com.google.cloud.gkemulticloud.v1.BinaryAuthorization value) { + public Builder mergeBinaryAuthorization( + com.google.cloud.gkemulticloud.v1.BinaryAuthorization value) { if (binaryAuthorizationBuilder_ == null) { - if (((bitField0_ & 0x00100000) != 0) && - binaryAuthorization_ != null && - binaryAuthorization_ != com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance()) { + if (((bitField0_ & 0x00100000) != 0) + && binaryAuthorization_ != null + && binaryAuthorization_ + != com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance()) { getBinaryAuthorizationBuilder().mergeFrom(value); } else { binaryAuthorization_ = value; @@ -5117,11 +6074,15 @@ public Builder mergeBinaryAuthorization(com.google.cloud.gkemulticloud.v1.Binary return this; } /** + * + * *
      * Optional. Binary Authorization configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearBinaryAuthorization() { bitField0_ = (bitField0_ & ~0x00100000); @@ -5134,55 +6095,73 @@ public Builder clearBinaryAuthorization() { return this; } /** + * + * *
      * Optional. Binary Authorization configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder getBinaryAuthorizationBuilder() { + public com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder + getBinaryAuthorizationBuilder() { bitField0_ |= 0x00100000; onChanged(); return getBinaryAuthorizationFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Binary Authorization configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder() { + public com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder + getBinaryAuthorizationOrBuilder() { if (binaryAuthorizationBuilder_ != null) { return binaryAuthorizationBuilder_.getMessageOrBuilder(); } else { - return binaryAuthorization_ == null ? - com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; + return binaryAuthorization_ == null + ? com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance() + : binaryAuthorization_; } } /** + * + * *
      * Optional. Binary Authorization configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.BinaryAuthorization, com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder, com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder> + com.google.cloud.gkemulticloud.v1.BinaryAuthorization, + com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder, + com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder> getBinaryAuthorizationFieldBuilder() { if (binaryAuthorizationBuilder_ == null) { - binaryAuthorizationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.BinaryAuthorization, com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder, com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder>( - getBinaryAuthorization(), - getParentForChildren(), - isClean()); + binaryAuthorizationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.BinaryAuthorization, + com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder, + com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder>( + getBinaryAuthorization(), getParentForChildren(), isClean()); binaryAuthorization_ = null; } return binaryAuthorizationBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5192,12 +6171,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsCluster) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsCluster) private static final com.google.cloud.gkemulticloud.v1.AwsCluster DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsCluster(); } @@ -5206,27 +6185,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsCluster getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsCluster parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsCluster parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5241,6 +6220,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsCluster getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterError.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterError.java similarity index 66% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterError.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterError.java index 009be281de54..9f0ca7ca5cdc 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterError.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterError.java @@ -1,57 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * AwsClusterError describes errors found on AWS clusters.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsClusterError} */ -public final class AwsClusterError extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AwsClusterError extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsClusterError) AwsClusterErrorOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AwsClusterError.newBuilder() to construct. private AwsClusterError(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AwsClusterError() { message_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AwsClusterError(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsClusterError.class, com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsClusterError.class, + com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder.class); } public static final int MESSAGE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** + * + * *
    * Human-friendly description of the error.
    * 
* * string message = 1; + * * @return The message. */ @java.lang.Override @@ -60,29 +83,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** + * + * *
    * Human-friendly description of the error.
    * 
* * string message = 1; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -91,6 +114,7 @@ public java.lang.String getMessage() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,8 +126,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } @@ -127,15 +150,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsClusterError)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsClusterError other = (com.google.cloud.gkemulticloud.v1.AwsClusterError) obj; + com.google.cloud.gkemulticloud.v1.AwsClusterError other = + (com.google.cloud.gkemulticloud.v1.AwsClusterError) obj; - if (!getMessage() - .equals(other.getMessage())) return false; + if (!getMessage().equals(other.getMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -155,131 +178,135 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AwsClusterError parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsClusterError parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsClusterError parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsClusterError parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsClusterError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsClusterError parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterError parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AwsClusterError parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsClusterError parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterError parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsClusterError parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsClusterError parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsClusterError parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsClusterError parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsClusterError prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * AwsClusterError describes errors found on AWS clusters.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsClusterError} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsClusterError) com.google.cloud.gkemulticloud.v1.AwsClusterErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsClusterError.class, com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsClusterError.class, + com.google.cloud.gkemulticloud.v1.AwsClusterError.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AwsClusterError.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -289,9 +316,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_descriptor; } @java.lang.Override @@ -310,8 +337,11 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterError build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsClusterError buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsClusterError result = new com.google.cloud.gkemulticloud.v1.AwsClusterError(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.AwsClusterError result = + new com.google.cloud.gkemulticloud.v1.AwsClusterError(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -327,38 +357,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsClusterError res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AwsClusterError) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsClusterError)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsClusterError) other); } else { super.mergeFrom(other); return this; @@ -366,7 +397,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsClusterError other) { - if (other == com.google.cloud.gkemulticloud.v1.AwsClusterError.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AwsClusterError.getDefaultInstance()) + return this; if (!other.getMessage().isEmpty()) { message_ = other.message_; bitField0_ |= 0x00000001; @@ -398,17 +430,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -418,22 +452,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object message_ = ""; /** + * + * *
      * Human-friendly description of the error.
      * 
* * string message = 1; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -442,20 +479,21 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Human-friendly description of the error.
      * 
* * string message = 1; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -463,28 +501,35 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Human-friendly description of the error.
      * 
* * string message = 1; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Human-friendly description of the error.
      * 
* * string message = 1; + * * @return This builder for chaining. */ public Builder clearMessage() { @@ -494,26 +539,30 @@ public Builder clearMessage() { return this; } /** + * + * *
      * Human-friendly description of the error.
      * 
* * string message = 1; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -523,12 +572,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsClusterError) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsClusterError) private static final com.google.cloud.gkemulticloud.v1.AwsClusterError DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsClusterError(); } @@ -537,27 +586,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsClusterError getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsClusterError parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsClusterError parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -572,6 +621,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsClusterError getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterErrorOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterErrorOrBuilder.java new file mode 100644 index 000000000000..532a9e4712c8 --- /dev/null +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterErrorOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface AwsClusterErrorOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsClusterError) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Human-friendly description of the error.
+   * 
+ * + * string message = 1; + * + * @return The message. + */ + java.lang.String getMessage(); + /** + * + * + *
+   * Human-friendly description of the error.
+   * 
+ * + * string message = 1; + * + * @return The bytes for message. + */ + com.google.protobuf.ByteString getMessageBytes(); +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterGroup.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterGroup.java similarity index 66% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterGroup.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterGroup.java index 1da3180885b3..763de96e6283 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterGroup.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterGroup.java @@ -1,57 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Identities of a group-type subject for AWS clusters.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsClusterGroup} */ -public final class AwsClusterGroup extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AwsClusterGroup extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsClusterGroup) AwsClusterGroupOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AwsClusterGroup.newBuilder() to construct. private AwsClusterGroup(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AwsClusterGroup() { group_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AwsClusterGroup(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterGroup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsClusterGroup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterGroup_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsClusterGroup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsClusterGroup.class, com.google.cloud.gkemulticloud.v1.AwsClusterGroup.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsClusterGroup.class, + com.google.cloud.gkemulticloud.v1.AwsClusterGroup.Builder.class); } public static final int GROUP_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object group_ = ""; /** + * + * *
    * Required. The name of the group, e.g. `my-group@domain.com`.
    * 
* * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The group. */ @java.lang.Override @@ -60,29 +83,29 @@ public java.lang.String getGroup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); group_ = s; return s; } } /** + * + * *
    * Required. The name of the group, e.g. `my-group@domain.com`.
    * 
* * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for group. */ @java.lang.Override - public com.google.protobuf.ByteString - getGroupBytes() { + public com.google.protobuf.ByteString getGroupBytes() { java.lang.Object ref = group_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); group_ = b; return b; } else { @@ -91,6 +114,7 @@ public java.lang.String getGroup() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,8 +126,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(group_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_); } @@ -127,15 +150,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsClusterGroup)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsClusterGroup other = (com.google.cloud.gkemulticloud.v1.AwsClusterGroup) obj; + com.google.cloud.gkemulticloud.v1.AwsClusterGroup other = + (com.google.cloud.gkemulticloud.v1.AwsClusterGroup) obj; - if (!getGroup() - .equals(other.getGroup())) return false; + if (!getGroup().equals(other.getGroup())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -155,131 +178,135 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AwsClusterGroup parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsClusterGroup parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsClusterGroup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsClusterGroup parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsClusterGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsClusterGroup parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterGroup parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AwsClusterGroup parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsClusterGroup parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterGroup parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsClusterGroup parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsClusterGroup parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsClusterGroup parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsClusterGroup parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsClusterGroup prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Identities of a group-type subject for AWS clusters.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsClusterGroup} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsClusterGroup) com.google.cloud.gkemulticloud.v1.AwsClusterGroupOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterGroup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsClusterGroup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterGroup_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsClusterGroup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsClusterGroup.class, com.google.cloud.gkemulticloud.v1.AwsClusterGroup.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsClusterGroup.class, + com.google.cloud.gkemulticloud.v1.AwsClusterGroup.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AwsClusterGroup.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -289,9 +316,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterGroup_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsClusterGroup_descriptor; } @java.lang.Override @@ -310,8 +337,11 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterGroup build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsClusterGroup buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsClusterGroup result = new com.google.cloud.gkemulticloud.v1.AwsClusterGroup(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.AwsClusterGroup result = + new com.google.cloud.gkemulticloud.v1.AwsClusterGroup(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -327,38 +357,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsClusterGroup res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AwsClusterGroup) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsClusterGroup)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsClusterGroup) other); } else { super.mergeFrom(other); return this; @@ -366,7 +397,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsClusterGroup other) { - if (other == com.google.cloud.gkemulticloud.v1.AwsClusterGroup.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AwsClusterGroup.getDefaultInstance()) + return this; if (!other.getGroup().isEmpty()) { group_ = other.group_; bitField0_ |= 0x00000001; @@ -398,17 +430,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - group_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + group_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -418,22 +452,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object group_ = ""; /** + * + * *
      * Required. The name of the group, e.g. `my-group@domain.com`.
      * 
* * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The group. */ public java.lang.String getGroup() { java.lang.Object ref = group_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); group_ = s; return s; @@ -442,20 +479,21 @@ public java.lang.String getGroup() { } } /** + * + * *
      * Required. The name of the group, e.g. `my-group@domain.com`.
      * 
* * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for group. */ - public com.google.protobuf.ByteString - getGroupBytes() { + public com.google.protobuf.ByteString getGroupBytes() { java.lang.Object ref = group_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); group_ = b; return b; } else { @@ -463,28 +501,35 @@ public java.lang.String getGroup() { } } /** + * + * *
      * Required. The name of the group, e.g. `my-group@domain.com`.
      * 
* * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The group to set. * @return This builder for chaining. */ - public Builder setGroup( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGroup(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } group_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the group, e.g. `my-group@domain.com`.
      * 
* * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearGroup() { @@ -494,26 +539,30 @@ public Builder clearGroup() { return this; } /** + * + * *
      * Required. The name of the group, e.g. `my-group@domain.com`.
      * 
* * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for group to set. * @return This builder for chaining. */ - public Builder setGroupBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGroupBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); group_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -523,12 +572,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsClusterGroup) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsClusterGroup) private static final com.google.cloud.gkemulticloud.v1.AwsClusterGroup DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsClusterGroup(); } @@ -537,27 +586,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsClusterGroup getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsClusterGroup parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsClusterGroup parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -572,6 +621,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsClusterGroup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterGroupOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterGroupOrBuilder.java similarity index 51% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterGroupOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterGroupOrBuilder.java index f4c3c49045d5..763839ee74d4 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterGroupOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterGroupOrBuilder.java @@ -1,29 +1,50 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsClusterGroupOrBuilder extends +public interface AwsClusterGroupOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsClusterGroup) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the group, e.g. `my-group@domain.com`.
    * 
* * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The group. */ java.lang.String getGroup(); /** + * + * *
    * Required. The name of the group, e.g. `my-group@domain.com`.
    * 
* * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for group. */ - com.google.protobuf.ByteString - getGroupBytes(); + com.google.protobuf.ByteString getGroupBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterName.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterName.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterName.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterName.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworking.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworking.java similarity index 70% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworking.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworking.java index 81ea8c859729..3802b03cc8cc 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworking.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworking.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * ClusterNetworking defines cluster-wide networking configuration.
  *
@@ -13,47 +30,50 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsClusterNetworking}
  */
-public final class AwsClusterNetworking extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AwsClusterNetworking extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsClusterNetworking)
     AwsClusterNetworkingOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AwsClusterNetworking.newBuilder() to construct.
   private AwsClusterNetworking(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AwsClusterNetworking() {
     vpcId_ = "";
-    podAddressCidrBlocks_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
-    serviceAddressCidrBlocks_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    podAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    serviceAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AwsClusterNetworking();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.class, com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder.class);
+            com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.class,
+            com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder.class);
   }
 
   public static final int VPC_ID_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object vpcId_ = "";
   /**
+   *
+   *
    * 
    * Required. The VPC associated with the cluster. All component clusters
    * (i.e. control plane and node pools) run on a single VPC.
@@ -62,6 +82,7 @@ protected java.lang.Object newInstance(
    * 
* * string vpc_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The vpcId. */ @java.lang.Override @@ -70,14 +91,15 @@ public java.lang.String getVpcId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vpcId_ = s; return s; } } /** + * + * *
    * Required. The VPC associated with the cluster. All component clusters
    * (i.e. control plane and node pools) run on a single VPC.
@@ -86,16 +108,15 @@ public java.lang.String getVpcId() {
    * 
* * string vpc_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for vpcId. */ @java.lang.Override - public com.google.protobuf.ByteString - getVpcIdBytes() { + public com.google.protobuf.ByteString getVpcIdBytes() { java.lang.Object ref = vpcId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); vpcId_ = b; return b; } else { @@ -104,44 +125,56 @@ public java.lang.String getVpcId() { } public static final int POD_ADDRESS_CIDR_BLOCKS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList podAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Required. All pods in the cluster are assigned an IPv4 address from these
    * ranges. Only a single range is supported. This field cannot be changed
    * after creation.
    * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the podAddressCidrBlocks. */ - public com.google.protobuf.ProtocolStringList - getPodAddressCidrBlocksList() { + public com.google.protobuf.ProtocolStringList getPodAddressCidrBlocksList() { return podAddressCidrBlocks_; } /** + * + * *
    * Required. All pods in the cluster are assigned an IPv4 address from these
    * ranges. Only a single range is supported. This field cannot be changed
    * after creation.
    * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of podAddressCidrBlocks. */ public int getPodAddressCidrBlocksCount() { return podAddressCidrBlocks_.size(); } /** + * + * *
    * Required. All pods in the cluster are assigned an IPv4 address from these
    * ranges. Only a single range is supported. This field cannot be changed
    * after creation.
    * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The podAddressCidrBlocks at the given index. */ @@ -149,60 +182,78 @@ public java.lang.String getPodAddressCidrBlocks(int index) { return podAddressCidrBlocks_.get(index); } /** + * + * *
    * Required. All pods in the cluster are assigned an IPv4 address from these
    * ranges. Only a single range is supported. This field cannot be changed
    * after creation.
    * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The bytes of the podAddressCidrBlocks at the given index. */ - public com.google.protobuf.ByteString - getPodAddressCidrBlocksBytes(int index) { + public com.google.protobuf.ByteString getPodAddressCidrBlocksBytes(int index) { return podAddressCidrBlocks_.getByteString(index); } public static final int SERVICE_ADDRESS_CIDR_BLOCKS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList serviceAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Required. All services in the cluster are assigned an IPv4 address from
    * these ranges. Only a single range is supported. This field cannot be
    * changed after creation.
    * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the serviceAddressCidrBlocks. */ - public com.google.protobuf.ProtocolStringList - getServiceAddressCidrBlocksList() { + public com.google.protobuf.ProtocolStringList getServiceAddressCidrBlocksList() { return serviceAddressCidrBlocks_; } /** + * + * *
    * Required. All services in the cluster are assigned an IPv4 address from
    * these ranges. Only a single range is supported. This field cannot be
    * changed after creation.
    * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of serviceAddressCidrBlocks. */ public int getServiceAddressCidrBlocksCount() { return serviceAddressCidrBlocks_.size(); } /** + * + * *
    * Required. All services in the cluster are assigned an IPv4 address from
    * these ranges. Only a single range is supported. This field cannot be
    * changed after creation.
    * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The serviceAddressCidrBlocks at the given index. */ @@ -210,24 +261,30 @@ public java.lang.String getServiceAddressCidrBlocks(int index) { return serviceAddressCidrBlocks_.get(index); } /** + * + * *
    * Required. All services in the cluster are assigned an IPv4 address from
    * these ranges. Only a single range is supported. This field cannot be
    * changed after creation.
    * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The bytes of the serviceAddressCidrBlocks at the given index. */ - public com.google.protobuf.ByteString - getServiceAddressCidrBlocksBytes(int index) { + public com.google.protobuf.ByteString getServiceAddressCidrBlocksBytes(int index) { return serviceAddressCidrBlocks_.getByteString(index); } public static final int PER_NODE_POOL_SG_RULES_DISABLED_FIELD_NUMBER = 5; private boolean perNodePoolSgRulesDisabled_ = false; /** + * + * *
    * Optional. Disable the per node pool subnet security group rules on the
    * control plane security group. When set to true, you must also provide one
@@ -236,7 +293,9 @@ public java.lang.String getServiceAddressCidrBlocks(int index) {
    * unavailable node pools.
    * 
* - * bool per_node_pool_sg_rules_disabled = 5 [(.google.api.field_behavior) = OPTIONAL]; + * bool per_node_pool_sg_rules_disabled = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The perNodePoolSgRulesDisabled. */ @java.lang.Override @@ -245,6 +304,7 @@ public boolean getPerNodePoolSgRulesDisabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -256,16 +316,17 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vpcId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, vpcId_); } for (int i = 0; i < podAddressCidrBlocks_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, podAddressCidrBlocks_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 2, podAddressCidrBlocks_.getRaw(i)); } for (int i = 0; i < serviceAddressCidrBlocks_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, serviceAddressCidrBlocks_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 3, serviceAddressCidrBlocks_.getRaw(i)); } if (perNodePoolSgRulesDisabled_ != false) { output.writeBool(5, perNodePoolSgRulesDisabled_); @@ -299,8 +360,7 @@ public int getSerializedSize() { size += 1 * getServiceAddressCidrBlocksList().size(); } if (perNodePoolSgRulesDisabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, perNodePoolSgRulesDisabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, perNodePoolSgRulesDisabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -310,21 +370,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsClusterNetworking)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsClusterNetworking other = (com.google.cloud.gkemulticloud.v1.AwsClusterNetworking) obj; + com.google.cloud.gkemulticloud.v1.AwsClusterNetworking other = + (com.google.cloud.gkemulticloud.v1.AwsClusterNetworking) obj; - if (!getVpcId() - .equals(other.getVpcId())) return false; - if (!getPodAddressCidrBlocksList() - .equals(other.getPodAddressCidrBlocksList())) return false; - if (!getServiceAddressCidrBlocksList() - .equals(other.getServiceAddressCidrBlocksList())) return false; - if (getPerNodePoolSgRulesDisabled() - != other.getPerNodePoolSgRulesDisabled()) return false; + if (!getVpcId().equals(other.getVpcId())) return false; + if (!getPodAddressCidrBlocksList().equals(other.getPodAddressCidrBlocksList())) return false; + if (!getServiceAddressCidrBlocksList().equals(other.getServiceAddressCidrBlocksList())) + return false; + if (getPerNodePoolSgRulesDisabled() != other.getPerNodePoolSgRulesDisabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -347,106 +405,111 @@ public int hashCode() { hash = (53 * hash) + getServiceAddressCidrBlocksList().hashCode(); } hash = (37 * hash) + PER_NODE_POOL_SG_RULES_DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getPerNodePoolSgRulesDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPerNodePoolSgRulesDisabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.gkemulticloud.v1.AwsClusterNetworking parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsClusterNetworking parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsClusterNetworking parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsClusterNetworking parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsClusterNetworking parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsClusterNetworking parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterNetworking parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AwsClusterNetworking parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsClusterNetworking parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterNetworking parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsClusterNetworking parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsClusterNetworking parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsClusterNetworking parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsClusterNetworking parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsClusterNetworking prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.AwsClusterNetworking prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ClusterNetworking defines cluster-wide networking configuration.
    *
@@ -456,50 +519,47 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsClusterNetworking}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsClusterNetworking)
       com.google.cloud.gkemulticloud.v1.AwsClusterNetworkingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.class, com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder.class);
+              com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.class,
+              com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
       vpcId_ = "";
-      podAddressCidrBlocks_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
-      serviceAddressCidrBlocks_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      podAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      serviceAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList();
       perNodePoolSgRulesDisabled_ = false;
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_descriptor;
     }
 
     @java.lang.Override
@@ -518,8 +578,11 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterNetworking build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.AwsClusterNetworking buildPartial() {
-      com.google.cloud.gkemulticloud.v1.AwsClusterNetworking result = new com.google.cloud.gkemulticloud.v1.AwsClusterNetworking(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.gkemulticloud.v1.AwsClusterNetworking result =
+          new com.google.cloud.gkemulticloud.v1.AwsClusterNetworking(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -546,38 +609,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsClusterNetworkin
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.AwsClusterNetworking) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsClusterNetworking)other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsClusterNetworking) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -585,7 +649,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsClusterNetworking other) {
-      if (other == com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.getDefaultInstance()) return this;
+      if (other == com.google.cloud.gkemulticloud.v1.AwsClusterNetworking.getDefaultInstance())
+        return this;
       if (!other.getVpcId().isEmpty()) {
         vpcId_ = other.vpcId_;
         bitField0_ |= 0x00000001;
@@ -640,34 +705,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              vpcId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensurePodAddressCidrBlocksIsMutable();
-              podAddressCidrBlocks_.add(s);
-              break;
-            } // case 18
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureServiceAddressCidrBlocksIsMutable();
-              serviceAddressCidrBlocks_.add(s);
-              break;
-            } // case 26
-            case 40: {
-              perNodePoolSgRulesDisabled_ = input.readBool();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 40
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                vpcId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensurePodAddressCidrBlocksIsMutable();
+                podAddressCidrBlocks_.add(s);
+                break;
+              } // case 18
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureServiceAddressCidrBlocksIsMutable();
+                serviceAddressCidrBlocks_.add(s);
+                break;
+              } // case 26
+            case 40:
+              {
+                perNodePoolSgRulesDisabled_ = input.readBool();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 40
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -677,10 +747,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object vpcId_ = "";
     /**
+     *
+     *
      * 
      * Required. The VPC associated with the cluster. All component clusters
      * (i.e. control plane and node pools) run on a single VPC.
@@ -689,13 +762,13 @@ public Builder mergeFrom(
      * 
* * string vpc_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The vpcId. */ public java.lang.String getVpcId() { java.lang.Object ref = vpcId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vpcId_ = s; return s; @@ -704,6 +777,8 @@ public java.lang.String getVpcId() { } } /** + * + * *
      * Required. The VPC associated with the cluster. All component clusters
      * (i.e. control plane and node pools) run on a single VPC.
@@ -712,15 +787,14 @@ public java.lang.String getVpcId() {
      * 
* * string vpc_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for vpcId. */ - public com.google.protobuf.ByteString - getVpcIdBytes() { + public com.google.protobuf.ByteString getVpcIdBytes() { java.lang.Object ref = vpcId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); vpcId_ = b; return b; } else { @@ -728,6 +802,8 @@ public java.lang.String getVpcId() { } } /** + * + * *
      * Required. The VPC associated with the cluster. All component clusters
      * (i.e. control plane and node pools) run on a single VPC.
@@ -736,18 +812,22 @@ public java.lang.String getVpcId() {
      * 
* * string vpc_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The vpcId to set. * @return This builder for chaining. */ - public Builder setVpcId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVpcId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } vpcId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The VPC associated with the cluster. All component clusters
      * (i.e. control plane and node pools) run on a single VPC.
@@ -756,6 +836,7 @@ public Builder setVpcId(
      * 
* * string vpc_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearVpcId() { @@ -765,6 +846,8 @@ public Builder clearVpcId() { return this; } /** + * + * *
      * Required. The VPC associated with the cluster. All component clusters
      * (i.e. control plane and node pools) run on a single VPC.
@@ -773,12 +856,14 @@ public Builder clearVpcId() {
      * 
* * string vpc_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for vpcId to set. * @return This builder for chaining. */ - public Builder setVpcIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVpcIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); vpcId_ = value; bitField0_ |= 0x00000001; @@ -788,6 +873,7 @@ public Builder setVpcIdBytes( private com.google.protobuf.LazyStringArrayList podAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensurePodAddressCidrBlocksIsMutable() { if (!podAddressCidrBlocks_.isModifiable()) { podAddressCidrBlocks_ = new com.google.protobuf.LazyStringArrayList(podAddressCidrBlocks_); @@ -795,41 +881,52 @@ private void ensurePodAddressCidrBlocksIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * Required. All pods in the cluster are assigned an IPv4 address from these
      * ranges. Only a single range is supported. This field cannot be changed
      * after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the podAddressCidrBlocks. */ - public com.google.protobuf.ProtocolStringList - getPodAddressCidrBlocksList() { + public com.google.protobuf.ProtocolStringList getPodAddressCidrBlocksList() { podAddressCidrBlocks_.makeImmutable(); return podAddressCidrBlocks_; } /** + * + * *
      * Required. All pods in the cluster are assigned an IPv4 address from these
      * ranges. Only a single range is supported. This field cannot be changed
      * after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of podAddressCidrBlocks. */ public int getPodAddressCidrBlocksCount() { return podAddressCidrBlocks_.size(); } /** + * + * *
      * Required. All pods in the cluster are assigned an IPv4 address from these
      * ranges. Only a single range is supported. This field cannot be changed
      * after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The podAddressCidrBlocks at the given index. */ @@ -837,35 +934,43 @@ public java.lang.String getPodAddressCidrBlocks(int index) { return podAddressCidrBlocks_.get(index); } /** + * + * *
      * Required. All pods in the cluster are assigned an IPv4 address from these
      * ranges. Only a single range is supported. This field cannot be changed
      * after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The bytes of the podAddressCidrBlocks at the given index. */ - public com.google.protobuf.ByteString - getPodAddressCidrBlocksBytes(int index) { + public com.google.protobuf.ByteString getPodAddressCidrBlocksBytes(int index) { return podAddressCidrBlocks_.getByteString(index); } /** + * + * *
      * Required. All pods in the cluster are assigned an IPv4 address from these
      * ranges. Only a single range is supported. This field cannot be changed
      * after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index to set the value at. * @param value The podAddressCidrBlocks to set. * @return This builder for chaining. */ - public Builder setPodAddressCidrBlocks( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPodAddressCidrBlocks(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensurePodAddressCidrBlocksIsMutable(); podAddressCidrBlocks_.set(index, value); bitField0_ |= 0x00000002; @@ -873,19 +978,24 @@ public Builder setPodAddressCidrBlocks( return this; } /** + * + * *
      * Required. All pods in the cluster are assigned an IPv4 address from these
      * ranges. Only a single range is supported. This field cannot be changed
      * after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The podAddressCidrBlocks to add. * @return This builder for chaining. */ - public Builder addPodAddressCidrBlocks( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addPodAddressCidrBlocks(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensurePodAddressCidrBlocksIsMutable(); podAddressCidrBlocks_.add(value); bitField0_ |= 0x00000002; @@ -893,56 +1003,67 @@ public Builder addPodAddressCidrBlocks( return this; } /** + * + * *
      * Required. All pods in the cluster are assigned an IPv4 address from these
      * ranges. Only a single range is supported. This field cannot be changed
      * after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param values The podAddressCidrBlocks to add. * @return This builder for chaining. */ - public Builder addAllPodAddressCidrBlocks( - java.lang.Iterable values) { + public Builder addAllPodAddressCidrBlocks(java.lang.Iterable values) { ensurePodAddressCidrBlocksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, podAddressCidrBlocks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, podAddressCidrBlocks_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. All pods in the cluster are assigned an IPv4 address from these
      * ranges. Only a single range is supported. This field cannot be changed
      * after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearPodAddressCidrBlocks() { - podAddressCidrBlocks_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + podAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * Required. All pods in the cluster are assigned an IPv4 address from these
      * ranges. Only a single range is supported. This field cannot be changed
      * after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The bytes of the podAddressCidrBlocks to add. * @return This builder for chaining. */ - public Builder addPodAddressCidrBlocksBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addPodAddressCidrBlocksBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensurePodAddressCidrBlocksIsMutable(); podAddressCidrBlocks_.add(value); @@ -953,48 +1074,64 @@ public Builder addPodAddressCidrBlocksBytes( private com.google.protobuf.LazyStringArrayList serviceAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureServiceAddressCidrBlocksIsMutable() { if (!serviceAddressCidrBlocks_.isModifiable()) { - serviceAddressCidrBlocks_ = new com.google.protobuf.LazyStringArrayList(serviceAddressCidrBlocks_); + serviceAddressCidrBlocks_ = + new com.google.protobuf.LazyStringArrayList(serviceAddressCidrBlocks_); } bitField0_ |= 0x00000004; } /** + * + * *
      * Required. All services in the cluster are assigned an IPv4 address from
      * these ranges. Only a single range is supported. This field cannot be
      * changed after creation.
      * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the serviceAddressCidrBlocks. */ - public com.google.protobuf.ProtocolStringList - getServiceAddressCidrBlocksList() { + public com.google.protobuf.ProtocolStringList getServiceAddressCidrBlocksList() { serviceAddressCidrBlocks_.makeImmutable(); return serviceAddressCidrBlocks_; } /** + * + * *
      * Required. All services in the cluster are assigned an IPv4 address from
      * these ranges. Only a single range is supported. This field cannot be
      * changed after creation.
      * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of serviceAddressCidrBlocks. */ public int getServiceAddressCidrBlocksCount() { return serviceAddressCidrBlocks_.size(); } /** + * + * *
      * Required. All services in the cluster are assigned an IPv4 address from
      * these ranges. Only a single range is supported. This field cannot be
      * changed after creation.
      * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The serviceAddressCidrBlocks at the given index. */ @@ -1002,35 +1139,45 @@ public java.lang.String getServiceAddressCidrBlocks(int index) { return serviceAddressCidrBlocks_.get(index); } /** + * + * *
      * Required. All services in the cluster are assigned an IPv4 address from
      * these ranges. Only a single range is supported. This field cannot be
      * changed after creation.
      * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The bytes of the serviceAddressCidrBlocks at the given index. */ - public com.google.protobuf.ByteString - getServiceAddressCidrBlocksBytes(int index) { + public com.google.protobuf.ByteString getServiceAddressCidrBlocksBytes(int index) { return serviceAddressCidrBlocks_.getByteString(index); } /** + * + * *
      * Required. All services in the cluster are assigned an IPv4 address from
      * these ranges. Only a single range is supported. This field cannot be
      * changed after creation.
      * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index to set the value at. * @param value The serviceAddressCidrBlocks to set. * @return This builder for chaining. */ - public Builder setServiceAddressCidrBlocks( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceAddressCidrBlocks(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureServiceAddressCidrBlocksIsMutable(); serviceAddressCidrBlocks_.set(index, value); bitField0_ |= 0x00000004; @@ -1038,19 +1185,25 @@ public Builder setServiceAddressCidrBlocks( return this; } /** + * + * *
      * Required. All services in the cluster are assigned an IPv4 address from
      * these ranges. Only a single range is supported. This field cannot be
      * changed after creation.
      * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The serviceAddressCidrBlocks to add. * @return This builder for chaining. */ - public Builder addServiceAddressCidrBlocks( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addServiceAddressCidrBlocks(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureServiceAddressCidrBlocksIsMutable(); serviceAddressCidrBlocks_.add(value); bitField0_ |= 0x00000004; @@ -1058,56 +1211,70 @@ public Builder addServiceAddressCidrBlocks( return this; } /** + * + * *
      * Required. All services in the cluster are assigned an IPv4 address from
      * these ranges. Only a single range is supported. This field cannot be
      * changed after creation.
      * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param values The serviceAddressCidrBlocks to add. * @return This builder for chaining. */ - public Builder addAllServiceAddressCidrBlocks( - java.lang.Iterable values) { + public Builder addAllServiceAddressCidrBlocks(java.lang.Iterable values) { ensureServiceAddressCidrBlocksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, serviceAddressCidrBlocks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, serviceAddressCidrBlocks_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. All services in the cluster are assigned an IPv4 address from
      * these ranges. Only a single range is supported. This field cannot be
      * changed after creation.
      * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearServiceAddressCidrBlocks() { - serviceAddressCidrBlocks_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + serviceAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Required. All services in the cluster are assigned an IPv4 address from
      * these ranges. Only a single range is supported. This field cannot be
      * changed after creation.
      * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The bytes of the serviceAddressCidrBlocks to add. * @return This builder for chaining. */ - public Builder addServiceAddressCidrBlocksBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addServiceAddressCidrBlocksBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureServiceAddressCidrBlocksIsMutable(); serviceAddressCidrBlocks_.add(value); @@ -1116,8 +1283,10 @@ public Builder addServiceAddressCidrBlocksBytes( return this; } - private boolean perNodePoolSgRulesDisabled_ ; + private boolean perNodePoolSgRulesDisabled_; /** + * + * *
      * Optional. Disable the per node pool subnet security group rules on the
      * control plane security group. When set to true, you must also provide one
@@ -1126,7 +1295,9 @@ public Builder addServiceAddressCidrBlocksBytes(
      * unavailable node pools.
      * 
* - * bool per_node_pool_sg_rules_disabled = 5 [(.google.api.field_behavior) = OPTIONAL]; + * bool per_node_pool_sg_rules_disabled = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The perNodePoolSgRulesDisabled. */ @java.lang.Override @@ -1134,6 +1305,8 @@ public boolean getPerNodePoolSgRulesDisabled() { return perNodePoolSgRulesDisabled_; } /** + * + * *
      * Optional. Disable the per node pool subnet security group rules on the
      * control plane security group. When set to true, you must also provide one
@@ -1142,7 +1315,9 @@ public boolean getPerNodePoolSgRulesDisabled() {
      * unavailable node pools.
      * 
* - * bool per_node_pool_sg_rules_disabled = 5 [(.google.api.field_behavior) = OPTIONAL]; + * bool per_node_pool_sg_rules_disabled = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The perNodePoolSgRulesDisabled to set. * @return This builder for chaining. */ @@ -1154,6 +1329,8 @@ public Builder setPerNodePoolSgRulesDisabled(boolean value) { return this; } /** + * + * *
      * Optional. Disable the per node pool subnet security group rules on the
      * control plane security group. When set to true, you must also provide one
@@ -1162,7 +1339,9 @@ public Builder setPerNodePoolSgRulesDisabled(boolean value) {
      * unavailable node pools.
      * 
* - * bool per_node_pool_sg_rules_disabled = 5 [(.google.api.field_behavior) = OPTIONAL]; + * bool per_node_pool_sg_rules_disabled = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearPerNodePoolSgRulesDisabled() { @@ -1171,9 +1350,9 @@ public Builder clearPerNodePoolSgRulesDisabled() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1183,12 +1362,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsClusterNetworking) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsClusterNetworking) private static final com.google.cloud.gkemulticloud.v1.AwsClusterNetworking DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsClusterNetworking(); } @@ -1197,27 +1376,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsClusterNetworking getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsClusterNetworking parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsClusterNetworking parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1232,6 +1411,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsClusterNetworking getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworkingOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworkingOrBuilder.java similarity index 70% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworkingOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworkingOrBuilder.java index 21035d7e3f46..d1f239558c7e 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworkingOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterNetworkingOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsClusterNetworkingOrBuilder extends +public interface AwsClusterNetworkingOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsClusterNetworking) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The VPC associated with the cluster. All component clusters
    * (i.e. control plane and node pools) run on a single VPC.
@@ -16,10 +34,13 @@ public interface AwsClusterNetworkingOrBuilder extends
    * 
* * string vpc_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The vpcId. */ java.lang.String getVpcId(); /** + * + * *
    * Required. The VPC associated with the cluster. All component clusters
    * (i.e. control plane and node pools) run on a single VPC.
@@ -28,110 +49,144 @@ public interface AwsClusterNetworkingOrBuilder extends
    * 
* * string vpc_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for vpcId. */ - com.google.protobuf.ByteString - getVpcIdBytes(); + com.google.protobuf.ByteString getVpcIdBytes(); /** + * + * *
    * Required. All pods in the cluster are assigned an IPv4 address from these
    * ranges. Only a single range is supported. This field cannot be changed
    * after creation.
    * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the podAddressCidrBlocks. */ - java.util.List - getPodAddressCidrBlocksList(); + java.util.List getPodAddressCidrBlocksList(); /** + * + * *
    * Required. All pods in the cluster are assigned an IPv4 address from these
    * ranges. Only a single range is supported. This field cannot be changed
    * after creation.
    * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of podAddressCidrBlocks. */ int getPodAddressCidrBlocksCount(); /** + * + * *
    * Required. All pods in the cluster are assigned an IPv4 address from these
    * ranges. Only a single range is supported. This field cannot be changed
    * after creation.
    * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The podAddressCidrBlocks at the given index. */ java.lang.String getPodAddressCidrBlocks(int index); /** + * + * *
    * Required. All pods in the cluster are assigned an IPv4 address from these
    * ranges. Only a single range is supported. This field cannot be changed
    * after creation.
    * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The bytes of the podAddressCidrBlocks at the given index. */ - com.google.protobuf.ByteString - getPodAddressCidrBlocksBytes(int index); + com.google.protobuf.ByteString getPodAddressCidrBlocksBytes(int index); /** + * + * *
    * Required. All services in the cluster are assigned an IPv4 address from
    * these ranges. Only a single range is supported. This field cannot be
    * changed after creation.
    * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the serviceAddressCidrBlocks. */ - java.util.List - getServiceAddressCidrBlocksList(); + java.util.List getServiceAddressCidrBlocksList(); /** + * + * *
    * Required. All services in the cluster are assigned an IPv4 address from
    * these ranges. Only a single range is supported. This field cannot be
    * changed after creation.
    * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of serviceAddressCidrBlocks. */ int getServiceAddressCidrBlocksCount(); /** + * + * *
    * Required. All services in the cluster are assigned an IPv4 address from
    * these ranges. Only a single range is supported. This field cannot be
    * changed after creation.
    * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The serviceAddressCidrBlocks at the given index. */ java.lang.String getServiceAddressCidrBlocks(int index); /** + * + * *
    * Required. All services in the cluster are assigned an IPv4 address from
    * these ranges. Only a single range is supported. This field cannot be
    * changed after creation.
    * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The bytes of the serviceAddressCidrBlocks at the given index. */ - com.google.protobuf.ByteString - getServiceAddressCidrBlocksBytes(int index); + com.google.protobuf.ByteString getServiceAddressCidrBlocksBytes(int index); /** + * + * *
    * Optional. Disable the per node pool subnet security group rules on the
    * control plane security group. When set to true, you must also provide one
@@ -140,7 +195,9 @@ public interface AwsClusterNetworkingOrBuilder extends
    * unavailable node pools.
    * 
* - * bool per_node_pool_sg_rules_disabled = 5 [(.google.api.field_behavior) = OPTIONAL]; + * bool per_node_pool_sg_rules_disabled = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The perNodePoolSgRulesDisabled. */ boolean getPerNodePoolSgRulesDisabled(); diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterOrBuilder.java similarity index 68% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterOrBuilder.java index cc965813ae64..b913d66b7d70 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsClusterOrBuilder extends +public interface AwsClusterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsCluster) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of this resource.
    *
@@ -19,10 +37,13 @@ public interface AwsClusterOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of this resource.
    *
@@ -34,61 +55,82 @@ public interface AwsClusterOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. A human readable description of this cluster.
    * Cannot be longer than 255 UTF-8 encoded bytes.
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. A human readable description of this cluster.
    * Cannot be longer than 255 UTF-8 encoded bytes.
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Required. Cluster-wide networking configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the networking field is set. */ boolean hasNetworking(); /** + * + * *
    * Required. Cluster-wide networking configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The networking. */ com.google.cloud.gkemulticloud.v1.AwsClusterNetworking getNetworking(); /** + * + * *
    * Required. Cluster-wide networking configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gkemulticloud.v1.AwsClusterNetworkingOrBuilder getNetworkingOrBuilder(); /** + * + * *
    * Required. The AWS region where the cluster runs.
    *
@@ -99,10 +141,13 @@ public interface AwsClusterOrBuilder extends
    * 
* * string aws_region = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The awsRegion. */ java.lang.String getAwsRegion(); /** + * + * *
    * Required. The AWS region where the cluster runs.
    *
@@ -113,189 +158,264 @@ public interface AwsClusterOrBuilder extends
    * 
* * string aws_region = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for awsRegion. */ - com.google.protobuf.ByteString - getAwsRegionBytes(); + com.google.protobuf.ByteString getAwsRegionBytes(); /** + * + * *
    * Required. Configuration related to the cluster control plane.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the controlPlane field is set. */ boolean hasControlPlane(); /** + * + * *
    * Required. Configuration related to the cluster control plane.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The controlPlane. */ com.google.cloud.gkemulticloud.v1.AwsControlPlane getControlPlane(); /** + * + * *
    * Required. Configuration related to the cluster control plane.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gkemulticloud.v1.AwsControlPlaneOrBuilder getControlPlaneOrBuilder(); /** + * + * *
    * Required. Configuration related to the cluster RBAC settings.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the authorization field is set. */ boolean hasAuthorization(); /** + * + * *
    * Required. Configuration related to the cluster RBAC settings.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The authorization. */ com.google.cloud.gkemulticloud.v1.AwsAuthorization getAuthorization(); /** + * + * *
    * Required. Configuration related to the cluster RBAC settings.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gkemulticloud.v1.AwsAuthorizationOrBuilder getAuthorizationOrBuilder(); /** + * + * *
    * Output only. The current state of the cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The current state of the cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.gkemulticloud.v1.AwsCluster.State getState(); /** + * + * *
    * Output only. The endpoint of the cluster's API server.
    * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The endpoint. */ java.lang.String getEndpoint(); /** + * + * *
    * Output only. The endpoint of the cluster's API server.
    * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for endpoint. */ - com.google.protobuf.ByteString - getEndpointBytes(); + com.google.protobuf.ByteString getEndpointBytes(); /** + * + * *
    * Output only. A globally unique identifier for the cluster.
    * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. A globally unique identifier for the cluster.
    * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Output only. If set, there are currently changes in flight to the cluster.
    * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ boolean getReconciling(); /** + * + * *
    * Output only. The time at which this cluster was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time at which this cluster was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time at which this cluster was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -305,10 +425,13 @@ public interface AwsClusterOrBuilder extends
    * 
* * string etag = 13; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -318,12 +441,14 @@ public interface AwsClusterOrBuilder extends
    * 
* * string etag = 13; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Optional. Annotations on the cluster.
    *
@@ -336,10 +461,13 @@ public interface AwsClusterOrBuilder extends
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getAnnotationsCount(); /** + * + * *
    * Optional. Annotations on the cluster.
    *
@@ -352,17 +480,16 @@ public interface AwsClusterOrBuilder extends
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - */ - boolean containsAnnotations( - java.lang.String key); - /** - * Use {@link #getAnnotationsMap()} instead. + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ + boolean containsAnnotations(java.lang.String key); + /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getAnnotations(); + java.util.Map getAnnotations(); /** + * + * *
    * Optional. Annotations on the cluster.
    *
@@ -375,11 +502,13 @@ boolean containsAnnotations(
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.Map - getAnnotationsMap(); + java.util.Map getAnnotationsMap(); /** + * + * *
    * Optional. Annotations on the cluster.
    *
@@ -392,14 +521,17 @@ boolean containsAnnotations(
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ /* nullable */ -java.lang.String getAnnotationsOrDefault( + java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Optional. Annotations on the cluster.
    *
@@ -412,207 +544,301 @@ java.lang.String getAnnotationsOrDefault(
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.lang.String getAnnotationsOrThrow( - java.lang.String key); + java.lang.String getAnnotationsOrThrow(java.lang.String key); /** + * + * *
    * Output only. Workload Identity settings.
    * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the workloadIdentityConfig field is set. */ boolean hasWorkloadIdentityConfig(); /** + * + * *
    * Output only. Workload Identity settings.
    * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The workloadIdentityConfig. */ com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig getWorkloadIdentityConfig(); /** + * + * *
    * Output only. Workload Identity settings.
    * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder(); + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder + getWorkloadIdentityConfigOrBuilder(); /** + * + * *
    * Output only. PEM encoded x509 certificate of the cluster root of trust.
    * 
* * string cluster_ca_certificate = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The clusterCaCertificate. */ java.lang.String getClusterCaCertificate(); /** + * + * *
    * Output only. PEM encoded x509 certificate of the cluster root of trust.
    * 
* * string cluster_ca_certificate = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for clusterCaCertificate. */ - com.google.protobuf.ByteString - getClusterCaCertificateBytes(); + com.google.protobuf.ByteString getClusterCaCertificateBytes(); /** + * + * *
    * Required. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the fleet field is set. */ boolean hasFleet(); /** + * + * *
    * Required. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The fleet. */ com.google.cloud.gkemulticloud.v1.Fleet getFleet(); /** + * + * *
    * Required. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder(); /** + * + * *
    * Optional. Logging configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** + * + * *
    * Optional. Logging configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The loggingConfig. */ com.google.cloud.gkemulticloud.v1.LoggingConfig getLoggingConfig(); /** + * + * *
    * Optional. Logging configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder(); /** + * + * *
    * Output only. A set of errors found in the cluster.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getErrorsList(); + java.util.List getErrorsList(); /** + * + * *
    * Output only. A set of errors found in the cluster.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.gkemulticloud.v1.AwsClusterError getErrors(int index); /** + * + * *
    * Output only. A set of errors found in the cluster.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getErrorsCount(); /** + * + * *
    * Output only. A set of errors found in the cluster.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getErrorsOrBuilderList(); /** + * + * *
    * Output only. A set of errors found in the cluster.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.gkemulticloud.v1.AwsClusterErrorOrBuilder getErrorsOrBuilder( - int index); + com.google.cloud.gkemulticloud.v1.AwsClusterErrorOrBuilder getErrorsOrBuilder(int index); /** + * + * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the monitoringConfig field is set. */ boolean hasMonitoringConfig(); /** + * + * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The monitoringConfig. */ com.google.cloud.gkemulticloud.v1.MonitoringConfig getMonitoringConfig(); /** + * + * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBuilder(); /** + * + * *
    * Optional. Binary Authorization configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the binaryAuthorization field is set. */ boolean hasBinaryAuthorization(); /** + * + * *
    * Optional. Binary Authorization configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The binaryAuthorization. */ com.google.cloud.gkemulticloud.v1.BinaryAuthorization getBinaryAuthorization(); /** + * + * *
    * Optional. Binary Authorization configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUser.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUser.java similarity index 66% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUser.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUser.java index 3e6609dd46fe..e1c19472c456 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUser.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUser.java @@ -1,57 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Identities of a user-type subject for AWS clusters.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsClusterUser} */ -public final class AwsClusterUser extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AwsClusterUser extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsClusterUser) AwsClusterUserOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AwsClusterUser.newBuilder() to construct. private AwsClusterUser(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AwsClusterUser() { username_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AwsClusterUser(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsClusterUser.class, com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsClusterUser.class, + com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder.class); } public static final int USERNAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object username_ = ""; /** + * + * *
    * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
    * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The username. */ @java.lang.Override @@ -60,29 +83,29 @@ public java.lang.String getUsername() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; } } /** + * + * *
    * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
    * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for username. */ @java.lang.Override - public com.google.protobuf.ByteString - getUsernameBytes() { + public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); username_ = b; return b; } else { @@ -91,6 +114,7 @@ public java.lang.String getUsername() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,8 +126,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(username_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, username_); } @@ -127,15 +150,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsClusterUser)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsClusterUser other = (com.google.cloud.gkemulticloud.v1.AwsClusterUser) obj; + com.google.cloud.gkemulticloud.v1.AwsClusterUser other = + (com.google.cloud.gkemulticloud.v1.AwsClusterUser) obj; - if (!getUsername() - .equals(other.getUsername())) return false; + if (!getUsername().equals(other.getUsername())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -154,132 +177,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.gkemulticloud.v1.AwsClusterUser parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.gkemulticloud.v1.AwsClusterUser parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsClusterUser parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsClusterUser parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsClusterUser parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsClusterUser parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsClusterUser parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterUser parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AwsClusterUser parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsClusterUser parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsClusterUser parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsClusterUser parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsClusterUser parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsClusterUser parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsClusterUser parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsClusterUser prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Identities of a user-type subject for AWS clusters.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsClusterUser} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsClusterUser) com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsClusterUser.class, com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsClusterUser.class, + com.google.cloud.gkemulticloud.v1.AwsClusterUser.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AwsClusterUser.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -289,9 +316,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_descriptor; } @java.lang.Override @@ -310,8 +337,11 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterUser build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsClusterUser buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsClusterUser result = new com.google.cloud.gkemulticloud.v1.AwsClusterUser(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.AwsClusterUser result = + new com.google.cloud.gkemulticloud.v1.AwsClusterUser(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -327,38 +357,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsClusterUser resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AwsClusterUser) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsClusterUser)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsClusterUser) other); } else { super.mergeFrom(other); return this; @@ -366,7 +397,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsClusterUser other) { - if (other == com.google.cloud.gkemulticloud.v1.AwsClusterUser.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AwsClusterUser.getDefaultInstance()) + return this; if (!other.getUsername().isEmpty()) { username_ = other.username_; bitField0_ |= 0x00000001; @@ -398,17 +430,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - username_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + username_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -418,22 +452,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object username_ = ""; /** + * + * *
      * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
      * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The username. */ public java.lang.String getUsername() { java.lang.Object ref = username_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; @@ -442,20 +479,21 @@ public java.lang.String getUsername() { } } /** + * + * *
      * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
      * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for username. */ - public com.google.protobuf.ByteString - getUsernameBytes() { + public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); username_ = b; return b; } else { @@ -463,28 +501,35 @@ public java.lang.String getUsername() { } } /** + * + * *
      * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
      * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The username to set. * @return This builder for chaining. */ - public Builder setUsername( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUsername(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } username_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
      * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearUsername() { @@ -494,26 +539,30 @@ public Builder clearUsername() { return this; } /** + * + * *
      * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
      * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for username to set. * @return This builder for chaining. */ - public Builder setUsernameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUsernameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); username_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -523,12 +572,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsClusterUser) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsClusterUser) private static final com.google.cloud.gkemulticloud.v1.AwsClusterUser DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsClusterUser(); } @@ -537,27 +586,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsClusterUser getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsClusterUser parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsClusterUser parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -572,6 +621,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsClusterUser getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUserOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUserOrBuilder.java similarity index 51% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUserOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUserOrBuilder.java index 607d0f5371f9..006f5a0cbbb7 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUserOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterUserOrBuilder.java @@ -1,29 +1,50 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsClusterUserOrBuilder extends +public interface AwsClusterUserOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsClusterUser) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
    * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The username. */ java.lang.String getUsername(); /** + * + * *
    * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
    * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for username. */ - com.google.protobuf.ByteString - getUsernameBytes(); + com.google.protobuf.ByteString getUsernameBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryption.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryption.java similarity index 66% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryption.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryption.java index 8ebef5202e8d..691df54682e1 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryption.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryption.java @@ -1,57 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Config encryption for user data.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsConfigEncryption} */ -public final class AwsConfigEncryption extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AwsConfigEncryption extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsConfigEncryption) AwsConfigEncryptionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AwsConfigEncryption.newBuilder() to construct. private AwsConfigEncryption(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AwsConfigEncryption() { kmsKeyArn_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AwsConfigEncryption(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.class, com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.class, + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder.class); } public static final int KMS_KEY_ARN_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object kmsKeyArn_ = ""; /** + * + * *
    * Required. The ARN of the AWS KMS key used to encrypt user data.
    * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The kmsKeyArn. */ @java.lang.Override @@ -60,29 +83,29 @@ public java.lang.String getKmsKeyArn() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyArn_ = s; return s; } } /** + * + * *
    * Required. The ARN of the AWS KMS key used to encrypt user data.
    * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for kmsKeyArn. */ @java.lang.Override - public com.google.protobuf.ByteString - getKmsKeyArnBytes() { + public com.google.protobuf.ByteString getKmsKeyArnBytes() { java.lang.Object ref = kmsKeyArn_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kmsKeyArn_ = b; return b; } else { @@ -91,6 +114,7 @@ public java.lang.String getKmsKeyArn() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,8 +126,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyArn_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kmsKeyArn_); } @@ -127,15 +150,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsConfigEncryption)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption other = (com.google.cloud.gkemulticloud.v1.AwsConfigEncryption) obj; + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption other = + (com.google.cloud.gkemulticloud.v1.AwsConfigEncryption) obj; - if (!getKmsKeyArn() - .equals(other.getKmsKeyArn())) return false; + if (!getKmsKeyArn().equals(other.getKmsKeyArn())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -155,131 +178,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AwsConfigEncryption parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsConfigEncryption parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsConfigEncryption parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsConfigEncryption parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsConfigEncryption parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsConfigEncryption parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsConfigEncryption parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AwsConfigEncryption parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsConfigEncryption parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsConfigEncryption parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsConfigEncryption parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsConfigEncryption parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsConfigEncryption parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsConfigEncryption parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsConfigEncryption prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Config encryption for user data.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsConfigEncryption} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsConfigEncryption) com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.class, com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.class, + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -289,9 +317,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_descriptor; } @java.lang.Override @@ -310,8 +338,11 @@ public com.google.cloud.gkemulticloud.v1.AwsConfigEncryption build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsConfigEncryption buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption result = new com.google.cloud.gkemulticloud.v1.AwsConfigEncryption(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption result = + new com.google.cloud.gkemulticloud.v1.AwsConfigEncryption(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -327,38 +358,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsConfigEncryption public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AwsConfigEncryption) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsConfigEncryption)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsConfigEncryption) other); } else { super.mergeFrom(other); return this; @@ -366,7 +398,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsConfigEncryption other) { - if (other == com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance()) + return this; if (!other.getKmsKeyArn().isEmpty()) { kmsKeyArn_ = other.kmsKeyArn_; bitField0_ |= 0x00000001; @@ -398,17 +431,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - kmsKeyArn_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + kmsKeyArn_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -418,22 +453,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object kmsKeyArn_ = ""; /** + * + * *
      * Required. The ARN of the AWS KMS key used to encrypt user data.
      * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The kmsKeyArn. */ public java.lang.String getKmsKeyArn() { java.lang.Object ref = kmsKeyArn_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyArn_ = s; return s; @@ -442,20 +480,21 @@ public java.lang.String getKmsKeyArn() { } } /** + * + * *
      * Required. The ARN of the AWS KMS key used to encrypt user data.
      * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for kmsKeyArn. */ - public com.google.protobuf.ByteString - getKmsKeyArnBytes() { + public com.google.protobuf.ByteString getKmsKeyArnBytes() { java.lang.Object ref = kmsKeyArn_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kmsKeyArn_ = b; return b; } else { @@ -463,28 +502,35 @@ public java.lang.String getKmsKeyArn() { } } /** + * + * *
      * Required. The ARN of the AWS KMS key used to encrypt user data.
      * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The kmsKeyArn to set. * @return This builder for chaining. */ - public Builder setKmsKeyArn( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKmsKeyArn(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } kmsKeyArn_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The ARN of the AWS KMS key used to encrypt user data.
      * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearKmsKeyArn() { @@ -494,26 +540,30 @@ public Builder clearKmsKeyArn() { return this; } /** + * + * *
      * Required. The ARN of the AWS KMS key used to encrypt user data.
      * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for kmsKeyArn to set. * @return This builder for chaining. */ - public Builder setKmsKeyArnBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKmsKeyArnBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); kmsKeyArn_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -523,12 +573,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsConfigEncryption) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsConfigEncryption) private static final com.google.cloud.gkemulticloud.v1.AwsConfigEncryption DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsConfigEncryption(); } @@ -537,27 +587,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsConfigEncryption getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsConfigEncryption parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsConfigEncryption parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -572,6 +622,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsConfigEncryption getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryptionOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryptionOrBuilder.java similarity index 52% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryptionOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryptionOrBuilder.java index c97c1de1e2e0..e67e7b66f6a4 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryptionOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsConfigEncryptionOrBuilder.java @@ -1,29 +1,50 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsConfigEncryptionOrBuilder extends +public interface AwsConfigEncryptionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsConfigEncryption) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The ARN of the AWS KMS key used to encrypt user data.
    * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The kmsKeyArn. */ java.lang.String getKmsKeyArn(); /** + * + * *
    * Required. The ARN of the AWS KMS key used to encrypt user data.
    * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for kmsKeyArn. */ - com.google.protobuf.ByteString - getKmsKeyArnBytes(); + com.google.protobuf.ByteString getKmsKeyArnBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlane.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlane.java similarity index 65% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlane.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlane.java index 7d02e644fa70..9b0aa32b967b 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlane.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlane.java @@ -1,70 +1,89 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * ControlPlane defines common parameters between control plane nodes.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsControlPlane} */ -public final class AwsControlPlane extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AwsControlPlane extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsControlPlane) AwsControlPlaneOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AwsControlPlane.newBuilder() to construct. private AwsControlPlane(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AwsControlPlane() { version_ = ""; instanceType_ = ""; - subnetIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - securityGroupIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + subnetIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + securityGroupIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); iamInstanceProfile_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AwsControlPlane(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 11: return internalGetTags(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsControlPlane.class, com.google.cloud.gkemulticloud.v1.AwsControlPlane.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsControlPlane.class, + com.google.cloud.gkemulticloud.v1.AwsControlPlane.Builder.class); } public static final int VERSION_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object version_ = ""; /** + * + * *
    * Required. The Kubernetes version to run on control plane replicas
    * (e.g. `1.19.10-gke.1000`).
@@ -75,6 +94,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The version. */ @java.lang.Override @@ -83,14 +103,15 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
    * Required. The Kubernetes version to run on control plane replicas
    * (e.g. `1.19.10-gke.1000`).
@@ -101,16 +122,15 @@ public java.lang.String getVersion() {
    * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -119,9 +139,12 @@ public java.lang.String getVersion() { } public static final int INSTANCE_TYPE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object instanceType_ = ""; /** + * + * *
    * Optional. The AWS instance type.
    *
@@ -129,6 +152,7 @@ public java.lang.String getVersion() {
    * 
* * string instance_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The instanceType. */ @java.lang.Override @@ -137,14 +161,15 @@ public java.lang.String getInstanceType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceType_ = s; return s; } } /** + * + * *
    * Optional. The AWS instance type.
    *
@@ -152,16 +177,15 @@ public java.lang.String getInstanceType() {
    * 
* * string instance_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for instanceType. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstanceTypeBytes() { + public com.google.protobuf.ByteString getInstanceTypeBytes() { java.lang.Object ref = instanceType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instanceType_ = b; return b; } else { @@ -172,12 +196,17 @@ public java.lang.String getInstanceType() { public static final int SSH_CONFIG_FIELD_NUMBER = 14; private com.google.cloud.gkemulticloud.v1.AwsSshConfig sshConfig_; /** + * + * *
    * Optional. SSH configuration for how to access the underlying control plane
    * machines.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the sshConfig field is set. */ @java.lang.Override @@ -185,36 +214,52 @@ public boolean hasSshConfig() { return sshConfig_ != null; } /** + * + * *
    * Optional. SSH configuration for how to access the underlying control plane
    * machines.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The sshConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsSshConfig getSshConfig() { - return sshConfig_ == null ? com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance() : sshConfig_; + return sshConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance() + : sshConfig_; } /** + * + * *
    * Optional. SSH configuration for how to access the underlying control plane
    * machines.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder getSshConfigOrBuilder() { - return sshConfig_ == null ? com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance() : sshConfig_; + return sshConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance() + : sshConfig_; } public static final int SUBNET_IDS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList subnetIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Required. The list of subnets where control plane replicas will run.
    * A replica will be provisioned on each subnet and up to three values
@@ -223,13 +268,15 @@ public com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder getSshConfigOrBui
    * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the subnetIds. */ - public com.google.protobuf.ProtocolStringList - getSubnetIdsList() { + public com.google.protobuf.ProtocolStringList getSubnetIdsList() { return subnetIds_; } /** + * + * *
    * Required. The list of subnets where control plane replicas will run.
    * A replica will be provisioned on each subnet and up to three values
@@ -238,12 +285,15 @@ public com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder getSshConfigOrBui
    * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of subnetIds. */ public int getSubnetIdsCount() { return subnetIds_.size(); } /** + * + * *
    * Required. The list of subnets where control plane replicas will run.
    * A replica will be provisioned on each subnet and up to three values
@@ -252,6 +302,7 @@ public int getSubnetIdsCount() {
    * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The subnetIds at the given index. */ @@ -259,6 +310,8 @@ public java.lang.String getSubnetIds(int index) { return subnetIds_.get(index); } /** + * + * *
    * Required. The list of subnets where control plane replicas will run.
    * A replica will be provisioned on each subnet and up to three values
@@ -267,19 +320,22 @@ public java.lang.String getSubnetIds(int index) {
    * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the subnetIds at the given index. */ - public com.google.protobuf.ByteString - getSubnetIdsBytes(int index) { + public com.google.protobuf.ByteString getSubnetIdsBytes(int index) { return subnetIds_.getByteString(index); } public static final int SECURITY_GROUP_IDS_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList securityGroupIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Optional. The IDs of additional security groups to add to control plane
    * replicas. The Anthos Multi-Cloud API will automatically create and manage
@@ -287,13 +343,15 @@ public java.lang.String getSubnetIds(int index) {
    * 
* * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the securityGroupIds. */ - public com.google.protobuf.ProtocolStringList - getSecurityGroupIdsList() { + public com.google.protobuf.ProtocolStringList getSecurityGroupIdsList() { return securityGroupIds_; } /** + * + * *
    * Optional. The IDs of additional security groups to add to control plane
    * replicas. The Anthos Multi-Cloud API will automatically create and manage
@@ -301,12 +359,15 @@ public java.lang.String getSubnetIds(int index) {
    * 
* * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of securityGroupIds. */ public int getSecurityGroupIdsCount() { return securityGroupIds_.size(); } /** + * + * *
    * Optional. The IDs of additional security groups to add to control plane
    * replicas. The Anthos Multi-Cloud API will automatically create and manage
@@ -314,6 +375,7 @@ public int getSecurityGroupIdsCount() {
    * 
* * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The securityGroupIds at the given index. */ @@ -321,6 +383,8 @@ public java.lang.String getSecurityGroupIds(int index) { return securityGroupIds_.get(index); } /** + * + * *
    * Optional. The IDs of additional security groups to add to control plane
    * replicas. The Anthos Multi-Cloud API will automatically create and manage
@@ -328,24 +392,28 @@ public java.lang.String getSecurityGroupIds(int index) {
    * 
* * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the securityGroupIds at the given index. */ - public com.google.protobuf.ByteString - getSecurityGroupIdsBytes(int index) { + public com.google.protobuf.ByteString getSecurityGroupIdsBytes(int index) { return securityGroupIds_.getByteString(index); } public static final int IAM_INSTANCE_PROFILE_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object iamInstanceProfile_ = ""; /** + * + * *
    * Required. The name or ARN of the AWS IAM instance profile to assign to each
    * control plane replica.
    * 
* * string iam_instance_profile = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The iamInstanceProfile. */ @java.lang.Override @@ -354,30 +422,30 @@ public java.lang.String getIamInstanceProfile() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); iamInstanceProfile_ = s; return s; } } /** + * + * *
    * Required. The name or ARN of the AWS IAM instance profile to assign to each
    * control plane replica.
    * 
* * string iam_instance_profile = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for iamInstanceProfile. */ @java.lang.Override - public com.google.protobuf.ByteString - getIamInstanceProfileBytes() { + public com.google.protobuf.ByteString getIamInstanceProfileBytes() { java.lang.Object ref = iamInstanceProfile_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); iamInstanceProfile_ = b; return b; } else { @@ -388,6 +456,8 @@ public java.lang.String getIamInstanceProfile() { public static final int ROOT_VOLUME_FIELD_NUMBER = 8; private com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate rootVolume_; /** + * + * *
    * Optional. Configuration related to the root volume provisioned for each
    * control plane replica.
@@ -398,7 +468,10 @@ public java.lang.String getIamInstanceProfile() {
    * When unspecified, it defaults to 32 GiB with the GP2 volume type.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the rootVolume field is set. */ @java.lang.Override @@ -406,6 +479,8 @@ public boolean hasRootVolume() { return rootVolume_ != null; } /** + * + * *
    * Optional. Configuration related to the root volume provisioned for each
    * control plane replica.
@@ -416,14 +491,21 @@ public boolean hasRootVolume() {
    * When unspecified, it defaults to 32 GiB with the GP2 volume type.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The rootVolume. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getRootVolume() { - return rootVolume_ == null ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() : rootVolume_; + return rootVolume_ == null + ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() + : rootVolume_; } /** + * + * *
    * Optional. Configuration related to the root volume provisioned for each
    * control plane replica.
@@ -434,16 +516,22 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getRootVolume() {
    * When unspecified, it defaults to 32 GiB with the GP2 volume type.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getRootVolumeOrBuilder() { - return rootVolume_ == null ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() : rootVolume_; + return rootVolume_ == null + ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() + : rootVolume_; } public static final int MAIN_VOLUME_FIELD_NUMBER = 9; private com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate mainVolume_; /** + * + * *
    * Optional. Configuration related to the main volume provisioned for each
    * control plane replica.
@@ -455,7 +543,10 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getRootVolum
    * When unspecified, it defaults to 8 GiB with the GP2 volume type.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the mainVolume field is set. */ @java.lang.Override @@ -463,6 +554,8 @@ public boolean hasMainVolume() { return mainVolume_ != null; } /** + * + * *
    * Optional. Configuration related to the main volume provisioned for each
    * control plane replica.
@@ -474,14 +567,21 @@ public boolean hasMainVolume() {
    * When unspecified, it defaults to 8 GiB with the GP2 volume type.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The mainVolume. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getMainVolume() { - return mainVolume_ == null ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() : mainVolume_; + return mainVolume_ == null + ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() + : mainVolume_; } /** + * + * *
    * Optional. Configuration related to the main volume provisioned for each
    * control plane replica.
@@ -493,21 +593,30 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getMainVolume() {
    * When unspecified, it defaults to 8 GiB with the GP2 volume type.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getMainVolumeOrBuilder() { - return mainVolume_ == null ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() : mainVolume_; + return mainVolume_ == null + ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() + : mainVolume_; } public static final int DATABASE_ENCRYPTION_FIELD_NUMBER = 10; private com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption databaseEncryption_; /** + * + * *
    * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the databaseEncryption field is set. */ @java.lang.Override @@ -515,56 +624,72 @@ public boolean hasDatabaseEncryption() { return databaseEncryption_ != null; } /** + * + * *
    * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The databaseEncryption. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption getDatabaseEncryption() { - return databaseEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.getDefaultInstance() : databaseEncryption_; + return databaseEncryption_ == null + ? com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.getDefaultInstance() + : databaseEncryption_; } /** + * + * *
    * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryptionOrBuilder getDatabaseEncryptionOrBuilder() { - return databaseEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.getDefaultInstance() : databaseEncryption_; + public com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryptionOrBuilder + getDatabaseEncryptionOrBuilder() { + return databaseEncryption_ == null + ? com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.getDefaultInstance() + : databaseEncryption_; } public static final int TAGS_FIELD_NUMBER = 11; + private static final class TagsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_TagsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_TagsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> tags_; - private com.google.protobuf.MapField - internalGetTags() { + private com.google.protobuf.MapField tags_; + + private com.google.protobuf.MapField internalGetTags() { if (tags_ == null) { - return com.google.protobuf.MapField.emptyMapField( - TagsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(TagsDefaultEntryHolder.defaultEntry); } return tags_; } + public int getTagsCount() { return internalGetTags().getMap().size(); } /** + * + * *
    * Optional. A set of AWS resource tags to propagate to all underlying managed
    * AWS resources.
@@ -577,20 +702,21 @@ public int getTagsCount() {
    * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public boolean containsTags(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsTags(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetTags().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getTagsMap()} instead.
-   */
+  /** Use {@link #getTagsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getTags() {
     return getTagsMap();
   }
   /**
+   *
+   *
    * 
    * Optional. A set of AWS resource tags to propagate to all underlying managed
    * AWS resources.
@@ -607,6 +733,8 @@ public java.util.Map getTagsMap() {
     return internalGetTags().getMap();
   }
   /**
+   *
+   *
    * 
    * Optional. A set of AWS resource tags to propagate to all underlying managed
    * AWS resources.
@@ -619,17 +747,19 @@ public java.util.Map getTagsMap() {
    * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getTagsOrDefault(
+  public /* nullable */ java.lang.String getTagsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetTags().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetTags().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Optional. A set of AWS resource tags to propagate to all underlying managed
    * AWS resources.
@@ -642,11 +772,11 @@ java.lang.String getTagsOrDefault(
    * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public java.lang.String getTagsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetTags().getMap();
+  public java.lang.String getTagsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetTags().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -656,11 +786,16 @@ public java.lang.String getTagsOrThrow(
   public static final int AWS_SERVICES_AUTHENTICATION_FIELD_NUMBER = 12;
   private com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication awsServicesAuthentication_;
   /**
+   *
+   *
    * 
    * Required. Authentication configuration for management of AWS resources.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the awsServicesAuthentication field is set. */ @java.lang.Override @@ -668,37 +803,57 @@ public boolean hasAwsServicesAuthentication() { return awsServicesAuthentication_ != null; } /** + * + * *
    * Required. Authentication configuration for management of AWS resources.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The awsServicesAuthentication. */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication getAwsServicesAuthentication() { - return awsServicesAuthentication_ == null ? com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.getDefaultInstance() : awsServicesAuthentication_; + public com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication + getAwsServicesAuthentication() { + return awsServicesAuthentication_ == null + ? com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.getDefaultInstance() + : awsServicesAuthentication_; } /** + * + * *
    * Required. Authentication configuration for management of AWS resources.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsServicesAuthenticationOrBuilder getAwsServicesAuthenticationOrBuilder() { - return awsServicesAuthentication_ == null ? com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.getDefaultInstance() : awsServicesAuthentication_; + public com.google.cloud.gkemulticloud.v1.AwsServicesAuthenticationOrBuilder + getAwsServicesAuthenticationOrBuilder() { + return awsServicesAuthentication_ == null + ? com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.getDefaultInstance() + : awsServicesAuthentication_; } public static final int PROXY_CONFIG_FIELD_NUMBER = 16; private com.google.cloud.gkemulticloud.v1.AwsProxyConfig proxyConfig_; /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the proxyConfig field is set. */ @java.lang.Override @@ -706,37 +861,55 @@ public boolean hasProxyConfig() { return proxyConfig_ != null; } /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The proxyConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsProxyConfig getProxyConfig() { - return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance() : proxyConfig_; + return proxyConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance() + : proxyConfig_; } /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder getProxyConfigOrBuilder() { - return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance() : proxyConfig_; + return proxyConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance() + : proxyConfig_; } public static final int CONFIG_ENCRYPTION_FIELD_NUMBER = 17; private com.google.cloud.gkemulticloud.v1.AwsConfigEncryption configEncryption_; /** + * + * *
    * Required. Config encryption for user data.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the configEncryption field is set. */ @java.lang.Override @@ -744,38 +917,57 @@ public boolean hasConfigEncryption() { return configEncryption_ != null; } /** + * + * *
    * Required. Config encryption for user data.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The configEncryption. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsConfigEncryption getConfigEncryption() { - return configEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance() : configEncryption_; + return configEncryption_ == null + ? com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance() + : configEncryption_; } /** + * + * *
    * Required. Config encryption for user data.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder getConfigEncryptionOrBuilder() { - return configEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance() : configEncryption_; + public com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder + getConfigEncryptionOrBuilder() { + return configEncryption_ == null + ? com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance() + : configEncryption_; } public static final int INSTANCE_PLACEMENT_FIELD_NUMBER = 18; private com.google.cloud.gkemulticloud.v1.AwsInstancePlacement instancePlacement_; /** + * + * *
    * Optional. The placement to use on control plane instances.
    * When unspecified, the VPC's default tenancy will be used.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the instancePlacement field is set. */ @java.lang.Override @@ -783,32 +975,47 @@ public boolean hasInstancePlacement() { return instancePlacement_ != null; } /** + * + * *
    * Optional. The placement to use on control plane instances.
    * When unspecified, the VPC's default tenancy will be used.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The instancePlacement. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement getInstancePlacement() { - return instancePlacement_ == null ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance() : instancePlacement_; + return instancePlacement_ == null + ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance() + : instancePlacement_; } /** + * + * *
    * Optional. The placement to use on control plane instances.
    * When unspecified, the VPC's default tenancy will be used.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder getInstancePlacementOrBuilder() { - return instancePlacement_ == null ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance() : instancePlacement_; + public com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder + getInstancePlacementOrBuilder() { + return instancePlacement_ == null + ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance() + : instancePlacement_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -820,8 +1027,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); } @@ -846,12 +1052,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (databaseEncryption_ != null) { output.writeMessage(10, getDatabaseEncryption()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetTags(), - TagsDefaultEntryHolder.defaultEntry, - 11); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetTags(), TagsDefaultEntryHolder.defaultEntry, 11); if (awsServicesAuthentication_ != null) { output.writeMessage(12, getAwsServicesAuthentication()); } @@ -902,46 +1104,40 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, iamInstanceProfile_); } if (rootVolume_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getRootVolume()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getRootVolume()); } if (mainVolume_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getMainVolume()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getMainVolume()); } if (databaseEncryption_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getDatabaseEncryption()); - } - for (java.util.Map.Entry entry - : internalGetTags().getMap().entrySet()) { - com.google.protobuf.MapEntry - tags__ = TagsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, tags__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getDatabaseEncryption()); + } + for (java.util.Map.Entry entry : + internalGetTags().getMap().entrySet()) { + com.google.protobuf.MapEntry tags__ = + TagsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, tags__); } if (awsServicesAuthentication_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getAwsServicesAuthentication()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 12, getAwsServicesAuthentication()); } if (sshConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, getSshConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getSshConfig()); } if (proxyConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, getProxyConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getProxyConfig()); } if (configEncryption_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(17, getConfigEncryption()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, getConfigEncryption()); } if (instancePlacement_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(18, getInstancePlacement()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getInstancePlacement()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -951,64 +1147,52 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsControlPlane)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsControlPlane other = (com.google.cloud.gkemulticloud.v1.AwsControlPlane) obj; + com.google.cloud.gkemulticloud.v1.AwsControlPlane other = + (com.google.cloud.gkemulticloud.v1.AwsControlPlane) obj; - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getInstanceType() - .equals(other.getInstanceType())) return false; + if (!getVersion().equals(other.getVersion())) return false; + if (!getInstanceType().equals(other.getInstanceType())) return false; if (hasSshConfig() != other.hasSshConfig()) return false; if (hasSshConfig()) { - if (!getSshConfig() - .equals(other.getSshConfig())) return false; - } - if (!getSubnetIdsList() - .equals(other.getSubnetIdsList())) return false; - if (!getSecurityGroupIdsList() - .equals(other.getSecurityGroupIdsList())) return false; - if (!getIamInstanceProfile() - .equals(other.getIamInstanceProfile())) return false; + if (!getSshConfig().equals(other.getSshConfig())) return false; + } + if (!getSubnetIdsList().equals(other.getSubnetIdsList())) return false; + if (!getSecurityGroupIdsList().equals(other.getSecurityGroupIdsList())) return false; + if (!getIamInstanceProfile().equals(other.getIamInstanceProfile())) return false; if (hasRootVolume() != other.hasRootVolume()) return false; if (hasRootVolume()) { - if (!getRootVolume() - .equals(other.getRootVolume())) return false; + if (!getRootVolume().equals(other.getRootVolume())) return false; } if (hasMainVolume() != other.hasMainVolume()) return false; if (hasMainVolume()) { - if (!getMainVolume() - .equals(other.getMainVolume())) return false; + if (!getMainVolume().equals(other.getMainVolume())) return false; } if (hasDatabaseEncryption() != other.hasDatabaseEncryption()) return false; if (hasDatabaseEncryption()) { - if (!getDatabaseEncryption() - .equals(other.getDatabaseEncryption())) return false; + if (!getDatabaseEncryption().equals(other.getDatabaseEncryption())) return false; } - if (!internalGetTags().equals( - other.internalGetTags())) return false; + if (!internalGetTags().equals(other.internalGetTags())) return false; if (hasAwsServicesAuthentication() != other.hasAwsServicesAuthentication()) return false; if (hasAwsServicesAuthentication()) { - if (!getAwsServicesAuthentication() - .equals(other.getAwsServicesAuthentication())) return false; + if (!getAwsServicesAuthentication().equals(other.getAwsServicesAuthentication())) + return false; } if (hasProxyConfig() != other.hasProxyConfig()) return false; if (hasProxyConfig()) { - if (!getProxyConfig() - .equals(other.getProxyConfig())) return false; + if (!getProxyConfig().equals(other.getProxyConfig())) return false; } if (hasConfigEncryption() != other.hasConfigEncryption()) return false; if (hasConfigEncryption()) { - if (!getConfigEncryption() - .equals(other.getConfigEncryption())) return false; + if (!getConfigEncryption().equals(other.getConfigEncryption())) return false; } if (hasInstancePlacement() != other.hasInstancePlacement()) return false; if (hasInstancePlacement()) { - if (!getInstancePlacement() - .equals(other.getInstancePlacement())) return false; + if (!getInstancePlacement().equals(other.getInstancePlacement())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1077,153 +1261,155 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AwsControlPlane parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsControlPlane parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsControlPlane parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsControlPlane parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsControlPlane parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsControlPlane parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsControlPlane parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AwsControlPlane parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsControlPlane parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsControlPlane parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsControlPlane parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsControlPlane parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsControlPlane parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsControlPlane parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsControlPlane prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ControlPlane defines common parameters between control plane nodes.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsControlPlane} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsControlPlane) com.google.cloud.gkemulticloud.v1.AwsControlPlaneOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 11: return internalGetTags(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 11: return internalGetMutableTags(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsControlPlane.class, com.google.cloud.gkemulticloud.v1.AwsControlPlane.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsControlPlane.class, + com.google.cloud.gkemulticloud.v1.AwsControlPlane.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AwsControlPlane.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1235,10 +1421,8 @@ public Builder clear() { sshConfigBuilder_.dispose(); sshConfigBuilder_ = null; } - subnetIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - securityGroupIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + subnetIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + securityGroupIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); iamInstanceProfile_ = ""; rootVolume_ = null; if (rootVolumeBuilder_ != null) { @@ -1280,9 +1464,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_descriptor; } @java.lang.Override @@ -1301,8 +1485,11 @@ public com.google.cloud.gkemulticloud.v1.AwsControlPlane build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsControlPlane buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsControlPlane result = new com.google.cloud.gkemulticloud.v1.AwsControlPlane(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.AwsControlPlane result = + new com.google.cloud.gkemulticloud.v1.AwsControlPlane(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1316,9 +1503,7 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsControlPlane res result.instanceType_ = instanceType_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.sshConfig_ = sshConfigBuilder_ == null - ? sshConfig_ - : sshConfigBuilder_.build(); + result.sshConfig_ = sshConfigBuilder_ == null ? sshConfig_ : sshConfigBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { subnetIds_.makeImmutable(); @@ -1332,43 +1517,40 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsControlPlane res result.iamInstanceProfile_ = iamInstanceProfile_; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.rootVolume_ = rootVolumeBuilder_ == null - ? rootVolume_ - : rootVolumeBuilder_.build(); + result.rootVolume_ = rootVolumeBuilder_ == null ? rootVolume_ : rootVolumeBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { - result.mainVolume_ = mainVolumeBuilder_ == null - ? mainVolume_ - : mainVolumeBuilder_.build(); + result.mainVolume_ = mainVolumeBuilder_ == null ? mainVolume_ : mainVolumeBuilder_.build(); } if (((from_bitField0_ & 0x00000100) != 0)) { - result.databaseEncryption_ = databaseEncryptionBuilder_ == null - ? databaseEncryption_ - : databaseEncryptionBuilder_.build(); + result.databaseEncryption_ = + databaseEncryptionBuilder_ == null + ? databaseEncryption_ + : databaseEncryptionBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { result.tags_ = internalGetTags(); result.tags_.makeImmutable(); } if (((from_bitField0_ & 0x00000400) != 0)) { - result.awsServicesAuthentication_ = awsServicesAuthenticationBuilder_ == null - ? awsServicesAuthentication_ - : awsServicesAuthenticationBuilder_.build(); + result.awsServicesAuthentication_ = + awsServicesAuthenticationBuilder_ == null + ? awsServicesAuthentication_ + : awsServicesAuthenticationBuilder_.build(); } if (((from_bitField0_ & 0x00000800) != 0)) { - result.proxyConfig_ = proxyConfigBuilder_ == null - ? proxyConfig_ - : proxyConfigBuilder_.build(); + result.proxyConfig_ = + proxyConfigBuilder_ == null ? proxyConfig_ : proxyConfigBuilder_.build(); } if (((from_bitField0_ & 0x00001000) != 0)) { - result.configEncryption_ = configEncryptionBuilder_ == null - ? configEncryption_ - : configEncryptionBuilder_.build(); + result.configEncryption_ = + configEncryptionBuilder_ == null ? configEncryption_ : configEncryptionBuilder_.build(); } if (((from_bitField0_ & 0x00002000) != 0)) { - result.instancePlacement_ = instancePlacementBuilder_ == null - ? instancePlacement_ - : instancePlacementBuilder_.build(); + result.instancePlacement_ = + instancePlacementBuilder_ == null + ? instancePlacement_ + : instancePlacementBuilder_.build(); } } @@ -1376,38 +1558,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsControlPlane res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AwsControlPlane) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsControlPlane)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsControlPlane) other); } else { super.mergeFrom(other); return this; @@ -1415,7 +1598,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsControlPlane other) { - if (other == com.google.cloud.gkemulticloud.v1.AwsControlPlane.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AwsControlPlane.getDefaultInstance()) + return this; if (!other.getVersion().isEmpty()) { version_ = other.version_; bitField0_ |= 0x00000001; @@ -1463,8 +1647,7 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsControlPlane other if (other.hasDatabaseEncryption()) { mergeDatabaseEncryption(other.getDatabaseEncryption()); } - internalGetMutableTags().mergeFrom( - other.internalGetTags()); + internalGetMutableTags().mergeFrom(other.internalGetTags()); bitField0_ |= 0x00000200; if (other.hasAwsServicesAuthentication()) { mergeAwsServicesAuthentication(other.getAwsServicesAuthentication()); @@ -1504,104 +1687,106 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - version_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - instanceType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - ensureSubnetIdsIsMutable(); - subnetIds_.add(s); - break; - } // case 34 - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - ensureSecurityGroupIdsIsMutable(); - securityGroupIds_.add(s); - break; - } // case 42 - case 58: { - iamInstanceProfile_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 58 - case 66: { - input.readMessage( - getRootVolumeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 66 - case 74: { - input.readMessage( - getMainVolumeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 74 - case 82: { - input.readMessage( - getDatabaseEncryptionFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 82 - case 90: { - com.google.protobuf.MapEntry - tags__ = input.readMessage( - TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableTags().getMutableMap().put( - tags__.getKey(), tags__.getValue()); - bitField0_ |= 0x00000200; - break; - } // case 90 - case 98: { - input.readMessage( - getAwsServicesAuthenticationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000400; - break; - } // case 98 - case 114: { - input.readMessage( - getSshConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 114 - case 130: { - input.readMessage( - getProxyConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000800; - break; - } // case 130 - case 138: { - input.readMessage( - getConfigEncryptionFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00001000; - break; - } // case 138 - case 146: { - input.readMessage( - getInstancePlacementFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00002000; - break; - } // case 146 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + instanceType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureSubnetIdsIsMutable(); + subnetIds_.add(s); + break; + } // case 34 + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureSecurityGroupIdsIsMutable(); + securityGroupIds_.add(s); + break; + } // case 42 + case 58: + { + iamInstanceProfile_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 58 + case 66: + { + input.readMessage(getRootVolumeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 66 + case 74: + { + input.readMessage(getMainVolumeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 74 + case 82: + { + input.readMessage( + getDatabaseEncryptionFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 82 + case 90: + { + com.google.protobuf.MapEntry tags__ = + input.readMessage( + TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableTags().getMutableMap().put(tags__.getKey(), tags__.getValue()); + bitField0_ |= 0x00000200; + break; + } // case 90 + case 98: + { + input.readMessage( + getAwsServicesAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 98 + case 114: + { + input.readMessage(getSshConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 114 + case 130: + { + input.readMessage(getProxyConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000800; + break; + } // case 130 + case 138: + { + input.readMessage( + getConfigEncryptionFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00001000; + break; + } // case 138 + case 146: + { + input.readMessage( + getInstancePlacementFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00002000; + break; + } // case 146 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1611,10 +1796,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object version_ = ""; /** + * + * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1625,13 +1813,13 @@ public Builder mergeFrom(
      * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -1640,6 +1828,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1650,15 +1840,14 @@ public java.lang.String getVersion() {
      * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -1666,6 +1855,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1676,18 +1867,22 @@ public java.lang.String getVersion() {
      * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } version_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1698,6 +1893,7 @@ public Builder setVersion(
      * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearVersion() { @@ -1707,6 +1903,8 @@ public Builder clearVersion() { return this; } /** + * + * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1717,12 +1915,14 @@ public Builder clearVersion() {
      * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); version_ = value; bitField0_ |= 0x00000001; @@ -1732,6 +1932,8 @@ public Builder setVersionBytes( private java.lang.Object instanceType_ = ""; /** + * + * *
      * Optional. The AWS instance type.
      *
@@ -1739,13 +1941,13 @@ public Builder setVersionBytes(
      * 
* * string instance_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The instanceType. */ public java.lang.String getInstanceType() { java.lang.Object ref = instanceType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceType_ = s; return s; @@ -1754,6 +1956,8 @@ public java.lang.String getInstanceType() { } } /** + * + * *
      * Optional. The AWS instance type.
      *
@@ -1761,15 +1965,14 @@ public java.lang.String getInstanceType() {
      * 
* * string instance_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for instanceType. */ - public com.google.protobuf.ByteString - getInstanceTypeBytes() { + public com.google.protobuf.ByteString getInstanceTypeBytes() { java.lang.Object ref = instanceType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instanceType_ = b; return b; } else { @@ -1777,6 +1980,8 @@ public java.lang.String getInstanceType() { } } /** + * + * *
      * Optional. The AWS instance type.
      *
@@ -1784,18 +1989,22 @@ public java.lang.String getInstanceType() {
      * 
* * string instance_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The instanceType to set. * @return This builder for chaining. */ - public Builder setInstanceType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } instanceType_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. The AWS instance type.
      *
@@ -1803,6 +2012,7 @@ public Builder setInstanceType(
      * 
* * string instance_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearInstanceType() { @@ -1812,6 +2022,8 @@ public Builder clearInstanceType() { return this; } /** + * + * *
      * Optional. The AWS instance type.
      *
@@ -1819,12 +2031,14 @@ public Builder clearInstanceType() {
      * 
* * string instance_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for instanceType to set. * @return This builder for chaining. */ - public Builder setInstanceTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); instanceType_ = value; bitField0_ |= 0x00000002; @@ -1834,42 +2048,61 @@ public Builder setInstanceTypeBytes( private com.google.cloud.gkemulticloud.v1.AwsSshConfig sshConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsSshConfig, com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder, com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder> sshConfigBuilder_; + com.google.cloud.gkemulticloud.v1.AwsSshConfig, + com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder, + com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder> + sshConfigBuilder_; /** + * + * *
      * Optional. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the sshConfig field is set. */ public boolean hasSshConfig() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Optional. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The sshConfig. */ public com.google.cloud.gkemulticloud.v1.AwsSshConfig getSshConfig() { if (sshConfigBuilder_ == null) { - return sshConfig_ == null ? com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance() : sshConfig_; + return sshConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance() + : sshConfig_; } else { return sshConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setSshConfig(com.google.cloud.gkemulticloud.v1.AwsSshConfig value) { if (sshConfigBuilder_ == null) { @@ -1885,12 +2118,16 @@ public Builder setSshConfig(com.google.cloud.gkemulticloud.v1.AwsSshConfig value return this; } /** + * + * *
      * Optional. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setSshConfig( com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder builderForValue) { @@ -1904,18 +2141,22 @@ public Builder setSshConfig( return this; } /** + * + * *
      * Optional. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeSshConfig(com.google.cloud.gkemulticloud.v1.AwsSshConfig value) { if (sshConfigBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - sshConfig_ != null && - sshConfig_ != com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && sshConfig_ != null + && sshConfig_ != com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance()) { getSshConfigBuilder().mergeFrom(value); } else { sshConfig_ = value; @@ -1928,12 +2169,16 @@ public Builder mergeSshConfig(com.google.cloud.gkemulticloud.v1.AwsSshConfig val return this; } /** + * + * *
      * Optional. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearSshConfig() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1946,12 +2191,16 @@ public Builder clearSshConfig() { return this; } /** + * + * *
      * Optional. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder getSshConfigBuilder() { bitField0_ |= 0x00000004; @@ -1959,38 +2208,50 @@ public com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder getSshConfigBuilde return getSshConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder getSshConfigOrBuilder() { if (sshConfigBuilder_ != null) { return sshConfigBuilder_.getMessageOrBuilder(); } else { - return sshConfig_ == null ? - com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance() : sshConfig_; + return sshConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance() + : sshConfig_; } } /** + * + * *
      * Optional. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsSshConfig, com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder, com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsSshConfig, + com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder, + com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder> getSshConfigFieldBuilder() { if (sshConfigBuilder_ == null) { - sshConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsSshConfig, com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder, com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder>( - getSshConfig(), - getParentForChildren(), - isClean()); + sshConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsSshConfig, + com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder, + com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder>( + getSshConfig(), getParentForChildren(), isClean()); sshConfig_ = null; } return sshConfigBuilder_; @@ -1998,6 +2259,7 @@ public com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder getSshConfigOrBui private com.google.protobuf.LazyStringArrayList subnetIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureSubnetIdsIsMutable() { if (!subnetIds_.isModifiable()) { subnetIds_ = new com.google.protobuf.LazyStringArrayList(subnetIds_); @@ -2005,6 +2267,8 @@ private void ensureSubnetIdsIsMutable() { bitField0_ |= 0x00000008; } /** + * + * *
      * Required. The list of subnets where control plane replicas will run.
      * A replica will be provisioned on each subnet and up to three values
@@ -2013,14 +2277,16 @@ private void ensureSubnetIdsIsMutable() {
      * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the subnetIds. */ - public com.google.protobuf.ProtocolStringList - getSubnetIdsList() { + public com.google.protobuf.ProtocolStringList getSubnetIdsList() { subnetIds_.makeImmutable(); return subnetIds_; } /** + * + * *
      * Required. The list of subnets where control plane replicas will run.
      * A replica will be provisioned on each subnet and up to three values
@@ -2029,12 +2295,15 @@ private void ensureSubnetIdsIsMutable() {
      * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of subnetIds. */ public int getSubnetIdsCount() { return subnetIds_.size(); } /** + * + * *
      * Required. The list of subnets where control plane replicas will run.
      * A replica will be provisioned on each subnet and up to three values
@@ -2043,6 +2312,7 @@ public int getSubnetIdsCount() {
      * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The subnetIds at the given index. */ @@ -2050,6 +2320,8 @@ public java.lang.String getSubnetIds(int index) { return subnetIds_.get(index); } /** + * + * *
      * Required. The list of subnets where control plane replicas will run.
      * A replica will be provisioned on each subnet and up to three values
@@ -2058,14 +2330,16 @@ public java.lang.String getSubnetIds(int index) {
      * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the subnetIds at the given index. */ - public com.google.protobuf.ByteString - getSubnetIdsBytes(int index) { + public com.google.protobuf.ByteString getSubnetIdsBytes(int index) { return subnetIds_.getByteString(index); } /** + * + * *
      * Required. The list of subnets where control plane replicas will run.
      * A replica will be provisioned on each subnet and up to three values
@@ -2074,13 +2348,15 @@ public java.lang.String getSubnetIds(int index) {
      * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index to set the value at. * @param value The subnetIds to set. * @return This builder for chaining. */ - public Builder setSubnetIds( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSubnetIds(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSubnetIdsIsMutable(); subnetIds_.set(index, value); bitField0_ |= 0x00000008; @@ -2088,6 +2364,8 @@ public Builder setSubnetIds( return this; } /** + * + * *
      * Required. The list of subnets where control plane replicas will run.
      * A replica will be provisioned on each subnet and up to three values
@@ -2096,12 +2374,14 @@ public Builder setSubnetIds(
      * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The subnetIds to add. * @return This builder for chaining. */ - public Builder addSubnetIds( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSubnetIds(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSubnetIdsIsMutable(); subnetIds_.add(value); bitField0_ |= 0x00000008; @@ -2109,6 +2389,8 @@ public Builder addSubnetIds( return this; } /** + * + * *
      * Required. The list of subnets where control plane replicas will run.
      * A replica will be provisioned on each subnet and up to three values
@@ -2117,19 +2399,20 @@ public Builder addSubnetIds(
      * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param values The subnetIds to add. * @return This builder for chaining. */ - public Builder addAllSubnetIds( - java.lang.Iterable values) { + public Builder addAllSubnetIds(java.lang.Iterable values) { ensureSubnetIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, subnetIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, subnetIds_); bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Required. The list of subnets where control plane replicas will run.
      * A replica will be provisioned on each subnet and up to three values
@@ -2138,16 +2421,19 @@ public Builder addAllSubnetIds(
      * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSubnetIds() { - subnetIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008);; + subnetIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + ; onChanged(); return this; } /** + * + * *
      * Required. The list of subnets where control plane replicas will run.
      * A replica will be provisioned on each subnet and up to three values
@@ -2156,12 +2442,14 @@ public Builder clearSubnetIds() {
      * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes of the subnetIds to add. * @return This builder for chaining. */ - public Builder addSubnetIdsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSubnetIdsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureSubnetIdsIsMutable(); subnetIds_.add(value); @@ -2172,6 +2460,7 @@ public Builder addSubnetIdsBytes( private com.google.protobuf.LazyStringArrayList securityGroupIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureSecurityGroupIdsIsMutable() { if (!securityGroupIds_.isModifiable()) { securityGroupIds_ = new com.google.protobuf.LazyStringArrayList(securityGroupIds_); @@ -2179,41 +2468,52 @@ private void ensureSecurityGroupIdsIsMutable() { bitField0_ |= 0x00000010; } /** + * + * *
      * Optional. The IDs of additional security groups to add to control plane
      * replicas. The Anthos Multi-Cloud API will automatically create and manage
      * security groups with the minimum rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the securityGroupIds. */ - public com.google.protobuf.ProtocolStringList - getSecurityGroupIdsList() { + public com.google.protobuf.ProtocolStringList getSecurityGroupIdsList() { securityGroupIds_.makeImmutable(); return securityGroupIds_; } /** + * + * *
      * Optional. The IDs of additional security groups to add to control plane
      * replicas. The Anthos Multi-Cloud API will automatically create and manage
      * security groups with the minimum rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of securityGroupIds. */ public int getSecurityGroupIdsCount() { return securityGroupIds_.size(); } /** + * + * *
      * Optional. The IDs of additional security groups to add to control plane
      * replicas. The Anthos Multi-Cloud API will automatically create and manage
      * security groups with the minimum rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The securityGroupIds at the given index. */ @@ -2221,35 +2521,43 @@ public java.lang.String getSecurityGroupIds(int index) { return securityGroupIds_.get(index); } /** + * + * *
      * Optional. The IDs of additional security groups to add to control plane
      * replicas. The Anthos Multi-Cloud API will automatically create and manage
      * security groups with the minimum rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The bytes of the securityGroupIds at the given index. */ - public com.google.protobuf.ByteString - getSecurityGroupIdsBytes(int index) { + public com.google.protobuf.ByteString getSecurityGroupIdsBytes(int index) { return securityGroupIds_.getByteString(index); } /** + * + * *
      * Optional. The IDs of additional security groups to add to control plane
      * replicas. The Anthos Multi-Cloud API will automatically create and manage
      * security groups with the minimum rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The securityGroupIds to set. * @return This builder for chaining. */ - public Builder setSecurityGroupIds( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSecurityGroupIds(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSecurityGroupIdsIsMutable(); securityGroupIds_.set(index, value); bitField0_ |= 0x00000010; @@ -2257,19 +2565,24 @@ public Builder setSecurityGroupIds( return this; } /** + * + * *
      * Optional. The IDs of additional security groups to add to control plane
      * replicas. The Anthos Multi-Cloud API will automatically create and manage
      * security groups with the minimum rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The securityGroupIds to add. * @return This builder for chaining. */ - public Builder addSecurityGroupIds( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSecurityGroupIds(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSecurityGroupIdsIsMutable(); securityGroupIds_.add(value); bitField0_ |= 0x00000010; @@ -2277,56 +2590,67 @@ public Builder addSecurityGroupIds( return this; } /** + * + * *
      * Optional. The IDs of additional security groups to add to control plane
      * replicas. The Anthos Multi-Cloud API will automatically create and manage
      * security groups with the minimum rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The securityGroupIds to add. * @return This builder for chaining. */ - public Builder addAllSecurityGroupIds( - java.lang.Iterable values) { + public Builder addAllSecurityGroupIds(java.lang.Iterable values) { ensureSecurityGroupIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, securityGroupIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, securityGroupIds_); bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. The IDs of additional security groups to add to control plane
      * replicas. The Anthos Multi-Cloud API will automatically create and manage
      * security groups with the minimum rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearSecurityGroupIds() { - securityGroupIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010);; + securityGroupIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + ; onChanged(); return this; } /** + * + * *
      * Optional. The IDs of additional security groups to add to control plane
      * replicas. The Anthos Multi-Cloud API will automatically create and manage
      * security groups with the minimum rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The bytes of the securityGroupIds to add. * @return This builder for chaining. */ - public Builder addSecurityGroupIdsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSecurityGroupIdsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureSecurityGroupIdsIsMutable(); securityGroupIds_.add(value); @@ -2337,19 +2661,21 @@ public Builder addSecurityGroupIdsBytes( private java.lang.Object iamInstanceProfile_ = ""; /** + * + * *
      * Required. The name or ARN of the AWS IAM instance profile to assign to each
      * control plane replica.
      * 
* * string iam_instance_profile = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The iamInstanceProfile. */ public java.lang.String getIamInstanceProfile() { java.lang.Object ref = iamInstanceProfile_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); iamInstanceProfile_ = s; return s; @@ -2358,21 +2684,22 @@ public java.lang.String getIamInstanceProfile() { } } /** + * + * *
      * Required. The name or ARN of the AWS IAM instance profile to assign to each
      * control plane replica.
      * 
* * string iam_instance_profile = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for iamInstanceProfile. */ - public com.google.protobuf.ByteString - getIamInstanceProfileBytes() { + public com.google.protobuf.ByteString getIamInstanceProfileBytes() { java.lang.Object ref = iamInstanceProfile_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); iamInstanceProfile_ = b; return b; } else { @@ -2380,30 +2707,37 @@ public java.lang.String getIamInstanceProfile() { } } /** + * + * *
      * Required. The name or ARN of the AWS IAM instance profile to assign to each
      * control plane replica.
      * 
* * string iam_instance_profile = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The iamInstanceProfile to set. * @return This builder for chaining. */ - public Builder setIamInstanceProfile( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIamInstanceProfile(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } iamInstanceProfile_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Required. The name or ARN of the AWS IAM instance profile to assign to each
      * control plane replica.
      * 
* * string iam_instance_profile = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearIamInstanceProfile() { @@ -2413,18 +2747,22 @@ public Builder clearIamInstanceProfile() { return this; } /** + * + * *
      * Required. The name or ARN of the AWS IAM instance profile to assign to each
      * control plane replica.
      * 
* * string iam_instance_profile = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for iamInstanceProfile to set. * @return This builder for chaining. */ - public Builder setIamInstanceProfileBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIamInstanceProfileBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); iamInstanceProfile_ = value; bitField0_ |= 0x00000020; @@ -2434,8 +2772,13 @@ public Builder setIamInstanceProfileBytes( private com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate rootVolume_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder> rootVolumeBuilder_; + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder> + rootVolumeBuilder_; /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2446,13 +2789,18 @@ public Builder setIamInstanceProfileBytes(
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the rootVolume field is set. */ public boolean hasRootVolume() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2463,17 +2811,24 @@ public boolean hasRootVolume() {
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The rootVolume. */ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getRootVolume() { if (rootVolumeBuilder_ == null) { - return rootVolume_ == null ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() : rootVolume_; + return rootVolume_ == null + ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() + : rootVolume_; } else { return rootVolumeBuilder_.getMessage(); } } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2484,7 +2839,9 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getRootVolume() {
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRootVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate value) { if (rootVolumeBuilder_ == null) { @@ -2500,6 +2857,8 @@ public Builder setRootVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate return this; } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2510,7 +2869,9 @@ public Builder setRootVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRootVolume( com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder builderForValue) { @@ -2524,6 +2885,8 @@ public Builder setRootVolume( return this; } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2534,13 +2897,16 @@ public Builder setRootVolume(
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeRootVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate value) { if (rootVolumeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - rootVolume_ != null && - rootVolume_ != com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && rootVolume_ != null + && rootVolume_ + != com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance()) { getRootVolumeBuilder().mergeFrom(value); } else { rootVolume_ = value; @@ -2553,6 +2919,8 @@ public Builder mergeRootVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTempla return this; } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2563,7 +2931,9 @@ public Builder mergeRootVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTempla
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearRootVolume() { bitField0_ = (bitField0_ & ~0x00000040); @@ -2576,6 +2946,8 @@ public Builder clearRootVolume() { return this; } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2586,7 +2958,9 @@ public Builder clearRootVolume() {
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder getRootVolumeBuilder() { bitField0_ |= 0x00000040; @@ -2594,6 +2968,8 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder getRootVolume return getRootVolumeFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2604,17 +2980,22 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder getRootVolume
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getRootVolumeOrBuilder() { if (rootVolumeBuilder_ != null) { return rootVolumeBuilder_.getMessageOrBuilder(); } else { - return rootVolume_ == null ? - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() : rootVolume_; + return rootVolume_ == null + ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() + : rootVolume_; } } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2625,17 +3006,22 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getRootVolum
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder> getRootVolumeFieldBuilder() { if (rootVolumeBuilder_ == null) { - rootVolumeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder>( - getRootVolume(), - getParentForChildren(), - isClean()); + rootVolumeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder>( + getRootVolume(), getParentForChildren(), isClean()); rootVolume_ = null; } return rootVolumeBuilder_; @@ -2643,8 +3029,13 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getRootVolum private com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate mainVolume_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder> mainVolumeBuilder_; + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder> + mainVolumeBuilder_; /** + * + * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2656,13 +3047,18 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getRootVolum
      * When unspecified, it defaults to 8 GiB with the GP2 volume type.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the mainVolume field is set. */ public boolean hasMainVolume() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2674,17 +3070,24 @@ public boolean hasMainVolume() {
      * When unspecified, it defaults to 8 GiB with the GP2 volume type.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The mainVolume. */ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getMainVolume() { if (mainVolumeBuilder_ == null) { - return mainVolume_ == null ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() : mainVolume_; + return mainVolume_ == null + ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() + : mainVolume_; } else { return mainVolumeBuilder_.getMessage(); } } /** + * + * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2696,7 +3099,9 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getMainVolume() {
      * When unspecified, it defaults to 8 GiB with the GP2 volume type.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setMainVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate value) { if (mainVolumeBuilder_ == null) { @@ -2712,6 +3117,8 @@ public Builder setMainVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate return this; } /** + * + * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2723,7 +3130,9 @@ public Builder setMainVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate
      * When unspecified, it defaults to 8 GiB with the GP2 volume type.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setMainVolume( com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder builderForValue) { @@ -2737,6 +3146,8 @@ public Builder setMainVolume( return this; } /** + * + * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2748,13 +3159,16 @@ public Builder setMainVolume(
      * When unspecified, it defaults to 8 GiB with the GP2 volume type.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeMainVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate value) { if (mainVolumeBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - mainVolume_ != null && - mainVolume_ != com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && mainVolume_ != null + && mainVolume_ + != com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance()) { getMainVolumeBuilder().mergeFrom(value); } else { mainVolume_ = value; @@ -2767,6 +3181,8 @@ public Builder mergeMainVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTempla return this; } /** + * + * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2778,7 +3194,9 @@ public Builder mergeMainVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTempla
      * When unspecified, it defaults to 8 GiB with the GP2 volume type.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearMainVolume() { bitField0_ = (bitField0_ & ~0x00000080); @@ -2791,6 +3209,8 @@ public Builder clearMainVolume() { return this; } /** + * + * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2802,7 +3222,9 @@ public Builder clearMainVolume() {
      * When unspecified, it defaults to 8 GiB with the GP2 volume type.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder getMainVolumeBuilder() { bitField0_ |= 0x00000080; @@ -2810,6 +3232,8 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder getMainVolume return getMainVolumeFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2821,17 +3245,22 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder getMainVolume
      * When unspecified, it defaults to 8 GiB with the GP2 volume type.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getMainVolumeOrBuilder() { if (mainVolumeBuilder_ != null) { return mainVolumeBuilder_.getMessageOrBuilder(); } else { - return mainVolume_ == null ? - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() : mainVolume_; + return mainVolume_ == null + ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() + : mainVolume_; } } /** + * + * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2843,17 +3272,22 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getMainVolum
      * When unspecified, it defaults to 8 GiB with the GP2 volume type.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder> getMainVolumeFieldBuilder() { if (mainVolumeBuilder_ == null) { - mainVolumeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder>( - getMainVolume(), - getParentForChildren(), - isClean()); + mainVolumeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder>( + getMainVolume(), getParentForChildren(), isClean()); mainVolume_ = null; } return mainVolumeBuilder_; @@ -2861,41 +3295,61 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getMainVolum private com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption databaseEncryption_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption, com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.Builder, com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryptionOrBuilder> databaseEncryptionBuilder_; + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption, + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.Builder, + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryptionOrBuilder> + databaseEncryptionBuilder_; /** + * + * *
      * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the databaseEncryption field is set. */ public boolean hasDatabaseEncryption() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
      * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The databaseEncryption. */ public com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption getDatabaseEncryption() { if (databaseEncryptionBuilder_ == null) { - return databaseEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.getDefaultInstance() : databaseEncryption_; + return databaseEncryption_ == null + ? com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.getDefaultInstance() + : databaseEncryption_; } else { return databaseEncryptionBuilder_.getMessage(); } } /** + * + * *
      * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setDatabaseEncryption(com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption value) { + public Builder setDatabaseEncryption( + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption value) { if (databaseEncryptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2909,11 +3363,15 @@ public Builder setDatabaseEncryption(com.google.cloud.gkemulticloud.v1.AwsDataba return this; } /** + * + * *
      * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDatabaseEncryption( com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.Builder builderForValue) { @@ -2927,17 +3385,23 @@ public Builder setDatabaseEncryption( return this; } /** + * + * *
      * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeDatabaseEncryption(com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption value) { + public Builder mergeDatabaseEncryption( + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption value) { if (databaseEncryptionBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && - databaseEncryption_ != null && - databaseEncryption_ != com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) + && databaseEncryption_ != null + && databaseEncryption_ + != com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.getDefaultInstance()) { getDatabaseEncryptionBuilder().mergeFrom(value); } else { databaseEncryption_ = value; @@ -2950,11 +3414,15 @@ public Builder mergeDatabaseEncryption(com.google.cloud.gkemulticloud.v1.AwsData return this; } /** + * + * *
      * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDatabaseEncryption() { bitField0_ = (bitField0_ & ~0x00000100); @@ -2967,68 +3435,84 @@ public Builder clearDatabaseEncryption() { return this; } /** + * + * *
      * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.Builder getDatabaseEncryptionBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.Builder + getDatabaseEncryptionBuilder() { bitField0_ |= 0x00000100; onChanged(); return getDatabaseEncryptionFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryptionOrBuilder getDatabaseEncryptionOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryptionOrBuilder + getDatabaseEncryptionOrBuilder() { if (databaseEncryptionBuilder_ != null) { return databaseEncryptionBuilder_.getMessageOrBuilder(); } else { - return databaseEncryption_ == null ? - com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.getDefaultInstance() : databaseEncryption_; + return databaseEncryption_ == null + ? com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.getDefaultInstance() + : databaseEncryption_; } } /** + * + * *
      * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption, com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.Builder, com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryptionOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption, + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.Builder, + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryptionOrBuilder> getDatabaseEncryptionFieldBuilder() { if (databaseEncryptionBuilder_ == null) { - databaseEncryptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption, com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.Builder, com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryptionOrBuilder>( - getDatabaseEncryption(), - getParentForChildren(), - isClean()); + databaseEncryptionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption, + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.Builder, + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryptionOrBuilder>( + getDatabaseEncryption(), getParentForChildren(), isClean()); databaseEncryption_ = null; } return databaseEncryptionBuilder_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> tags_; - private com.google.protobuf.MapField - internalGetTags() { + private com.google.protobuf.MapField tags_; + + private com.google.protobuf.MapField internalGetTags() { if (tags_ == null) { - return com.google.protobuf.MapField.emptyMapField( - TagsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(TagsDefaultEntryHolder.defaultEntry); } return tags_; } + private com.google.protobuf.MapField internalGetMutableTags() { if (tags_ == null) { - tags_ = com.google.protobuf.MapField.newMapField( - TagsDefaultEntryHolder.defaultEntry); + tags_ = com.google.protobuf.MapField.newMapField(TagsDefaultEntryHolder.defaultEntry); } if (!tags_.isMutable()) { tags_ = tags_.copy(); @@ -3037,10 +3521,13 @@ public com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryptionOrBuilder getDatab onChanged(); return tags_; } + public int getTagsCount() { return internalGetTags().getMap().size(); } /** + * + * *
      * Optional. A set of AWS resource tags to propagate to all underlying managed
      * AWS resources.
@@ -3053,20 +3540,21 @@ public int getTagsCount() {
      * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public boolean containsTags(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsTags(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetTags().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getTagsMap()} instead.
-     */
+    /** Use {@link #getTagsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getTags() {
       return getTagsMap();
     }
     /**
+     *
+     *
      * 
      * Optional. A set of AWS resource tags to propagate to all underlying managed
      * AWS resources.
@@ -3083,6 +3571,8 @@ public java.util.Map getTagsMap() {
       return internalGetTags().getMap();
     }
     /**
+     *
+     *
      * 
      * Optional. A set of AWS resource tags to propagate to all underlying managed
      * AWS resources.
@@ -3095,17 +3585,19 @@ public java.util.Map getTagsMap() {
      * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getTagsOrDefault(
+    public /* nullable */ java.lang.String getTagsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetTags().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetTags().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Optional. A set of AWS resource tags to propagate to all underlying managed
      * AWS resources.
@@ -3118,23 +3610,25 @@ java.lang.String getTagsOrDefault(
      * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public java.lang.String getTagsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetTags().getMap();
+    public java.lang.String getTagsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetTags().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearTags() {
       bitField0_ = (bitField0_ & ~0x00000200);
-      internalGetMutableTags().getMutableMap()
-          .clear();
+      internalGetMutableTags().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. A set of AWS resource tags to propagate to all underlying managed
      * AWS resources.
@@ -3146,23 +3640,22 @@ public Builder clearTags() {
      *
      * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder removeTags(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableTags().getMutableMap()
-          .remove(key);
+    public Builder removeTags(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableTags().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableTags() {
+    public java.util.Map getMutableTags() {
       bitField0_ |= 0x00000200;
       return internalGetMutableTags().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Optional. A set of AWS resource tags to propagate to all underlying managed
      * AWS resources.
@@ -3174,17 +3667,20 @@ public Builder removeTags(
      *
      * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putTags(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableTags().getMutableMap()
-          .put(key, value);
+    public Builder putTags(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableTags().getMutableMap().put(key, value);
       bitField0_ |= 0x00000200;
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. A set of AWS resource tags to propagate to all underlying managed
      * AWS resources.
@@ -3196,51 +3692,70 @@ public Builder putTags(
      *
      * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putAllTags(
-        java.util.Map values) {
-      internalGetMutableTags().getMutableMap()
-          .putAll(values);
+    public Builder putAllTags(java.util.Map values) {
+      internalGetMutableTags().getMutableMap().putAll(values);
       bitField0_ |= 0x00000200;
       return this;
     }
 
     private com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication awsServicesAuthentication_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication, com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.Builder, com.google.cloud.gkemulticloud.v1.AwsServicesAuthenticationOrBuilder> awsServicesAuthenticationBuilder_;
+            com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication,
+            com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.Builder,
+            com.google.cloud.gkemulticloud.v1.AwsServicesAuthenticationOrBuilder>
+        awsServicesAuthenticationBuilder_;
     /**
+     *
+     *
      * 
      * Required. Authentication configuration for management of AWS resources.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the awsServicesAuthentication field is set. */ public boolean hasAwsServicesAuthentication() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * *
      * Required. Authentication configuration for management of AWS resources.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The awsServicesAuthentication. */ - public com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication getAwsServicesAuthentication() { + public com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication + getAwsServicesAuthentication() { if (awsServicesAuthenticationBuilder_ == null) { - return awsServicesAuthentication_ == null ? com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.getDefaultInstance() : awsServicesAuthentication_; + return awsServicesAuthentication_ == null + ? com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.getDefaultInstance() + : awsServicesAuthentication_; } else { return awsServicesAuthenticationBuilder_.getMessage(); } } /** + * + * *
      * Required. Authentication configuration for management of AWS resources.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setAwsServicesAuthentication(com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication value) { + public Builder setAwsServicesAuthentication( + com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication value) { if (awsServicesAuthenticationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3254,11 +3769,15 @@ public Builder setAwsServicesAuthentication(com.google.cloud.gkemulticloud.v1.Aw return this; } /** + * + * *
      * Required. Authentication configuration for management of AWS resources.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAwsServicesAuthentication( com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.Builder builderForValue) { @@ -3272,17 +3791,24 @@ public Builder setAwsServicesAuthentication( return this; } /** + * + * *
      * Required. Authentication configuration for management of AWS resources.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeAwsServicesAuthentication(com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication value) { + public Builder mergeAwsServicesAuthentication( + com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication value) { if (awsServicesAuthenticationBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) && - awsServicesAuthentication_ != null && - awsServicesAuthentication_ != com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) + && awsServicesAuthentication_ != null + && awsServicesAuthentication_ + != com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication + .getDefaultInstance()) { getAwsServicesAuthenticationBuilder().mergeFrom(value); } else { awsServicesAuthentication_ = value; @@ -3295,11 +3821,15 @@ public Builder mergeAwsServicesAuthentication(com.google.cloud.gkemulticloud.v1. return this; } /** + * + * *
      * Required. Authentication configuration for management of AWS resources.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAwsServicesAuthentication() { bitField0_ = (bitField0_ & ~0x00000400); @@ -3312,48 +3842,66 @@ public Builder clearAwsServicesAuthentication() { return this; } /** + * + * *
      * Required. Authentication configuration for management of AWS resources.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.Builder getAwsServicesAuthenticationBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.Builder + getAwsServicesAuthenticationBuilder() { bitField0_ |= 0x00000400; onChanged(); return getAwsServicesAuthenticationFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Authentication configuration for management of AWS resources.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.gkemulticloud.v1.AwsServicesAuthenticationOrBuilder getAwsServicesAuthenticationOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsServicesAuthenticationOrBuilder + getAwsServicesAuthenticationOrBuilder() { if (awsServicesAuthenticationBuilder_ != null) { return awsServicesAuthenticationBuilder_.getMessageOrBuilder(); } else { - return awsServicesAuthentication_ == null ? - com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.getDefaultInstance() : awsServicesAuthentication_; + return awsServicesAuthentication_ == null + ? com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.getDefaultInstance() + : awsServicesAuthentication_; } } /** + * + * *
      * Required. Authentication configuration for management of AWS resources.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication, com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.Builder, com.google.cloud.gkemulticloud.v1.AwsServicesAuthenticationOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication, + com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.Builder, + com.google.cloud.gkemulticloud.v1.AwsServicesAuthenticationOrBuilder> getAwsServicesAuthenticationFieldBuilder() { if (awsServicesAuthenticationBuilder_ == null) { - awsServicesAuthenticationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication, com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.Builder, com.google.cloud.gkemulticloud.v1.AwsServicesAuthenticationOrBuilder>( - getAwsServicesAuthentication(), - getParentForChildren(), - isClean()); + awsServicesAuthenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication, + com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.Builder, + com.google.cloud.gkemulticloud.v1.AwsServicesAuthenticationOrBuilder>( + getAwsServicesAuthentication(), getParentForChildren(), isClean()); awsServicesAuthentication_ = null; } return awsServicesAuthenticationBuilder_; @@ -3361,39 +3909,58 @@ public com.google.cloud.gkemulticloud.v1.AwsServicesAuthenticationOrBuilder getA private com.google.cloud.gkemulticloud.v1.AwsProxyConfig proxyConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsProxyConfig, com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder> proxyConfigBuilder_; + com.google.cloud.gkemulticloud.v1.AwsProxyConfig, + com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder, + com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder> + proxyConfigBuilder_; /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the proxyConfig field is set. */ public boolean hasProxyConfig() { return ((bitField0_ & 0x00000800) != 0); } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The proxyConfig. */ public com.google.cloud.gkemulticloud.v1.AwsProxyConfig getProxyConfig() { if (proxyConfigBuilder_ == null) { - return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance() : proxyConfig_; + return proxyConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance() + : proxyConfig_; } else { return proxyConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setProxyConfig(com.google.cloud.gkemulticloud.v1.AwsProxyConfig value) { if (proxyConfigBuilder_ == null) { @@ -3409,11 +3976,15 @@ public Builder setProxyConfig(com.google.cloud.gkemulticloud.v1.AwsProxyConfig v return this; } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setProxyConfig( com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder builderForValue) { @@ -3427,17 +3998,22 @@ public Builder setProxyConfig( return this; } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeProxyConfig(com.google.cloud.gkemulticloud.v1.AwsProxyConfig value) { if (proxyConfigBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) && - proxyConfig_ != null && - proxyConfig_ != com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) + && proxyConfig_ != null + && proxyConfig_ + != com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance()) { getProxyConfigBuilder().mergeFrom(value); } else { proxyConfig_ = value; @@ -3450,11 +4026,15 @@ public Builder mergeProxyConfig(com.google.cloud.gkemulticloud.v1.AwsProxyConfig return this; } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearProxyConfig() { bitField0_ = (bitField0_ & ~0x00000800); @@ -3467,11 +4047,15 @@ public Builder clearProxyConfig() { return this; } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder getProxyConfigBuilder() { bitField0_ |= 0x00000800; @@ -3479,36 +4063,48 @@ public com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder getProxyConfigBu return getProxyConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder getProxyConfigOrBuilder() { if (proxyConfigBuilder_ != null) { return proxyConfigBuilder_.getMessageOrBuilder(); } else { - return proxyConfig_ == null ? - com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance() : proxyConfig_; + return proxyConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance() + : proxyConfig_; } } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsProxyConfig, com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsProxyConfig, + com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder, + com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder> getProxyConfigFieldBuilder() { if (proxyConfigBuilder_ == null) { - proxyConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsProxyConfig, com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder>( - getProxyConfig(), - getParentForChildren(), - isClean()); + proxyConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsProxyConfig, + com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder, + com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder>( + getProxyConfig(), getParentForChildren(), isClean()); proxyConfig_ = null; } return proxyConfigBuilder_; @@ -3516,41 +4112,61 @@ public com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder getProxyConfigO private com.google.cloud.gkemulticloud.v1.AwsConfigEncryption configEncryption_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption, com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder, com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder> configEncryptionBuilder_; + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption, + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder, + com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder> + configEncryptionBuilder_; /** + * + * *
      * Required. Config encryption for user data.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the configEncryption field is set. */ public boolean hasConfigEncryption() { return ((bitField0_ & 0x00001000) != 0); } /** + * + * *
      * Required. Config encryption for user data.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The configEncryption. */ public com.google.cloud.gkemulticloud.v1.AwsConfigEncryption getConfigEncryption() { if (configEncryptionBuilder_ == null) { - return configEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance() : configEncryption_; + return configEncryption_ == null + ? com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance() + : configEncryption_; } else { return configEncryptionBuilder_.getMessage(); } } /** + * + * *
      * Required. Config encryption for user data.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setConfigEncryption(com.google.cloud.gkemulticloud.v1.AwsConfigEncryption value) { + public Builder setConfigEncryption( + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption value) { if (configEncryptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3564,11 +4180,15 @@ public Builder setConfigEncryption(com.google.cloud.gkemulticloud.v1.AwsConfigEn return this; } /** + * + * *
      * Required. Config encryption for user data.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setConfigEncryption( com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder builderForValue) { @@ -3582,17 +4202,23 @@ public Builder setConfigEncryption( return this; } /** + * + * *
      * Required. Config encryption for user data.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeConfigEncryption(com.google.cloud.gkemulticloud.v1.AwsConfigEncryption value) { + public Builder mergeConfigEncryption( + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption value) { if (configEncryptionBuilder_ == null) { - if (((bitField0_ & 0x00001000) != 0) && - configEncryption_ != null && - configEncryption_ != com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance()) { + if (((bitField0_ & 0x00001000) != 0) + && configEncryption_ != null + && configEncryption_ + != com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance()) { getConfigEncryptionBuilder().mergeFrom(value); } else { configEncryption_ = value; @@ -3605,11 +4231,15 @@ public Builder mergeConfigEncryption(com.google.cloud.gkemulticloud.v1.AwsConfig return this; } /** + * + * *
      * Required. Config encryption for user data.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearConfigEncryption() { bitField0_ = (bitField0_ & ~0x00001000); @@ -3622,48 +4252,66 @@ public Builder clearConfigEncryption() { return this; } /** + * + * *
      * Required. Config encryption for user data.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder getConfigEncryptionBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder + getConfigEncryptionBuilder() { bitField0_ |= 0x00001000; onChanged(); return getConfigEncryptionFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Config encryption for user data.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder getConfigEncryptionOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder + getConfigEncryptionOrBuilder() { if (configEncryptionBuilder_ != null) { return configEncryptionBuilder_.getMessageOrBuilder(); } else { - return configEncryption_ == null ? - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance() : configEncryption_; + return configEncryption_ == null + ? com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance() + : configEncryption_; } } /** + * + * *
      * Required. Config encryption for user data.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption, com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder, com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption, + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder, + com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder> getConfigEncryptionFieldBuilder() { if (configEncryptionBuilder_ == null) { - configEncryptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption, com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder, com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder>( - getConfigEncryption(), - getParentForChildren(), - isClean()); + configEncryptionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption, + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder, + com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder>( + getConfigEncryption(), getParentForChildren(), isClean()); configEncryption_ = null; } return configEncryptionBuilder_; @@ -3671,44 +4319,64 @@ public com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder getConfigE private com.google.cloud.gkemulticloud.v1.AwsInstancePlacement instancePlacement_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement, com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder, com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder> instancePlacementBuilder_; + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement, + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder, + com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder> + instancePlacementBuilder_; /** + * + * *
      * Optional. The placement to use on control plane instances.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the instancePlacement field is set. */ public boolean hasInstancePlacement() { return ((bitField0_ & 0x00002000) != 0); } /** + * + * *
      * Optional. The placement to use on control plane instances.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The instancePlacement. */ public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement getInstancePlacement() { if (instancePlacementBuilder_ == null) { - return instancePlacement_ == null ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance() : instancePlacement_; + return instancePlacement_ == null + ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance() + : instancePlacement_; } else { return instancePlacementBuilder_.getMessage(); } } /** + * + * *
      * Optional. The placement to use on control plane instances.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setInstancePlacement(com.google.cloud.gkemulticloud.v1.AwsInstancePlacement value) { + public Builder setInstancePlacement( + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement value) { if (instancePlacementBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3722,12 +4390,16 @@ public Builder setInstancePlacement(com.google.cloud.gkemulticloud.v1.AwsInstanc return this; } /** + * + * *
      * Optional. The placement to use on control plane instances.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setInstancePlacement( com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder builderForValue) { @@ -3741,18 +4413,24 @@ public Builder setInstancePlacement( return this; } /** + * + * *
      * Optional. The placement to use on control plane instances.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeInstancePlacement(com.google.cloud.gkemulticloud.v1.AwsInstancePlacement value) { + public Builder mergeInstancePlacement( + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement value) { if (instancePlacementBuilder_ == null) { - if (((bitField0_ & 0x00002000) != 0) && - instancePlacement_ != null && - instancePlacement_ != com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance()) { + if (((bitField0_ & 0x00002000) != 0) + && instancePlacement_ != null + && instancePlacement_ + != com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance()) { getInstancePlacementBuilder().mergeFrom(value); } else { instancePlacement_ = value; @@ -3765,12 +4443,16 @@ public Builder mergeInstancePlacement(com.google.cloud.gkemulticloud.v1.AwsInsta return this; } /** + * + * *
      * Optional. The placement to use on control plane instances.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearInstancePlacement() { bitField0_ = (bitField0_ & ~0x00002000); @@ -3783,58 +4465,76 @@ public Builder clearInstancePlacement() { return this; } /** + * + * *
      * Optional. The placement to use on control plane instances.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder getInstancePlacementBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder + getInstancePlacementBuilder() { bitField0_ |= 0x00002000; onChanged(); return getInstancePlacementFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The placement to use on control plane instances.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder getInstancePlacementOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder + getInstancePlacementOrBuilder() { if (instancePlacementBuilder_ != null) { return instancePlacementBuilder_.getMessageOrBuilder(); } else { - return instancePlacement_ == null ? - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance() : instancePlacement_; + return instancePlacement_ == null + ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance() + : instancePlacement_; } } /** + * + * *
      * Optional. The placement to use on control plane instances.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement, com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder, com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement, + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder, + com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder> getInstancePlacementFieldBuilder() { if (instancePlacementBuilder_ == null) { - instancePlacementBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement, com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder, com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder>( - getInstancePlacement(), - getParentForChildren(), - isClean()); + instancePlacementBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement, + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder, + com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder>( + getInstancePlacement(), getParentForChildren(), isClean()); instancePlacement_ = null; } return instancePlacementBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3844,12 +4544,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsControlPlane) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsControlPlane) private static final com.google.cloud.gkemulticloud.v1.AwsControlPlane DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsControlPlane(); } @@ -3858,27 +4558,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsControlPlane getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsControlPlane parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsControlPlane parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3893,6 +4593,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsControlPlane getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlaneOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlaneOrBuilder.java similarity index 73% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlaneOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlaneOrBuilder.java index 32799e7c2e49..1c9164e0972d 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlaneOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsControlPlaneOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsControlPlaneOrBuilder extends +public interface AwsControlPlaneOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsControlPlane) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The Kubernetes version to run on control plane replicas
    * (e.g. `1.19.10-gke.1000`).
@@ -18,10 +36,13 @@ public interface AwsControlPlaneOrBuilder extends
    * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * Required. The Kubernetes version to run on control plane replicas
    * (e.g. `1.19.10-gke.1000`).
@@ -32,12 +53,14 @@ public interface AwsControlPlaneOrBuilder extends
    * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * Optional. The AWS instance type.
    *
@@ -45,10 +68,13 @@ public interface AwsControlPlaneOrBuilder extends
    * 
* * string instance_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The instanceType. */ java.lang.String getInstanceType(); /** + * + * *
    * Optional. The AWS instance type.
    *
@@ -56,42 +82,58 @@ public interface AwsControlPlaneOrBuilder extends
    * 
* * string instance_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for instanceType. */ - com.google.protobuf.ByteString - getInstanceTypeBytes(); + com.google.protobuf.ByteString getInstanceTypeBytes(); /** + * + * *
    * Optional. SSH configuration for how to access the underlying control plane
    * machines.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the sshConfig field is set. */ boolean hasSshConfig(); /** + * + * *
    * Optional. SSH configuration for how to access the underlying control plane
    * machines.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The sshConfig. */ com.google.cloud.gkemulticloud.v1.AwsSshConfig getSshConfig(); /** + * + * *
    * Optional. SSH configuration for how to access the underlying control plane
    * machines.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder getSshConfigOrBuilder(); /** + * + * *
    * Required. The list of subnets where control plane replicas will run.
    * A replica will be provisioned on each subnet and up to three values
@@ -100,11 +142,13 @@ public interface AwsControlPlaneOrBuilder extends
    * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the subnetIds. */ - java.util.List - getSubnetIdsList(); + java.util.List getSubnetIdsList(); /** + * + * *
    * Required. The list of subnets where control plane replicas will run.
    * A replica will be provisioned on each subnet and up to three values
@@ -113,10 +157,13 @@ public interface AwsControlPlaneOrBuilder extends
    * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of subnetIds. */ int getSubnetIdsCount(); /** + * + * *
    * Required. The list of subnets where control plane replicas will run.
    * A replica will be provisioned on each subnet and up to three values
@@ -125,11 +172,14 @@ public interface AwsControlPlaneOrBuilder extends
    * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The subnetIds at the given index. */ java.lang.String getSubnetIds(int index); /** + * + * *
    * Required. The list of subnets where control plane replicas will run.
    * A replica will be provisioned on each subnet and up to three values
@@ -138,13 +188,15 @@ public interface AwsControlPlaneOrBuilder extends
    * 
* * repeated string subnet_ids = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the subnetIds at the given index. */ - com.google.protobuf.ByteString - getSubnetIdsBytes(int index); + com.google.protobuf.ByteString getSubnetIdsBytes(int index); /** + * + * *
    * Optional. The IDs of additional security groups to add to control plane
    * replicas. The Anthos Multi-Cloud API will automatically create and manage
@@ -152,11 +204,13 @@ public interface AwsControlPlaneOrBuilder extends
    * 
* * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the securityGroupIds. */ - java.util.List - getSecurityGroupIdsList(); + java.util.List getSecurityGroupIdsList(); /** + * + * *
    * Optional. The IDs of additional security groups to add to control plane
    * replicas. The Anthos Multi-Cloud API will automatically create and manage
@@ -164,10 +218,13 @@ public interface AwsControlPlaneOrBuilder extends
    * 
* * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of securityGroupIds. */ int getSecurityGroupIdsCount(); /** + * + * *
    * Optional. The IDs of additional security groups to add to control plane
    * replicas. The Anthos Multi-Cloud API will automatically create and manage
@@ -175,11 +232,14 @@ public interface AwsControlPlaneOrBuilder extends
    * 
* * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The securityGroupIds at the given index. */ java.lang.String getSecurityGroupIds(int index); /** + * + * *
    * Optional. The IDs of additional security groups to add to control plane
    * replicas. The Anthos Multi-Cloud API will automatically create and manage
@@ -187,35 +247,42 @@ public interface AwsControlPlaneOrBuilder extends
    * 
* * repeated string security_group_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the securityGroupIds at the given index. */ - com.google.protobuf.ByteString - getSecurityGroupIdsBytes(int index); + com.google.protobuf.ByteString getSecurityGroupIdsBytes(int index); /** + * + * *
    * Required. The name or ARN of the AWS IAM instance profile to assign to each
    * control plane replica.
    * 
* * string iam_instance_profile = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The iamInstanceProfile. */ java.lang.String getIamInstanceProfile(); /** + * + * *
    * Required. The name or ARN of the AWS IAM instance profile to assign to each
    * control plane replica.
    * 
* * string iam_instance_profile = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for iamInstanceProfile. */ - com.google.protobuf.ByteString - getIamInstanceProfileBytes(); + com.google.protobuf.ByteString getIamInstanceProfileBytes(); /** + * + * *
    * Optional. Configuration related to the root volume provisioned for each
    * control plane replica.
@@ -226,11 +293,16 @@ public interface AwsControlPlaneOrBuilder extends
    * When unspecified, it defaults to 32 GiB with the GP2 volume type.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the rootVolume field is set. */ boolean hasRootVolume(); /** + * + * *
    * Optional. Configuration related to the root volume provisioned for each
    * control plane replica.
@@ -241,11 +313,16 @@ public interface AwsControlPlaneOrBuilder extends
    * When unspecified, it defaults to 32 GiB with the GP2 volume type.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The rootVolume. */ com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getRootVolume(); /** + * + * *
    * Optional. Configuration related to the root volume provisioned for each
    * control plane replica.
@@ -256,11 +333,15 @@ public interface AwsControlPlaneOrBuilder extends
    * When unspecified, it defaults to 32 GiB with the GP2 volume type.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getRootVolumeOrBuilder(); /** + * + * *
    * Optional. Configuration related to the main volume provisioned for each
    * control plane replica.
@@ -272,11 +353,16 @@ public interface AwsControlPlaneOrBuilder extends
    * When unspecified, it defaults to 8 GiB with the GP2 volume type.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the mainVolume field is set. */ boolean hasMainVolume(); /** + * + * *
    * Optional. Configuration related to the main volume provisioned for each
    * control plane replica.
@@ -288,11 +374,16 @@ public interface AwsControlPlaneOrBuilder extends
    * When unspecified, it defaults to 8 GiB with the GP2 volume type.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The mainVolume. */ com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getMainVolume(); /** + * + * *
    * Optional. Configuration related to the main volume provisioned for each
    * control plane replica.
@@ -304,38 +395,56 @@ public interface AwsControlPlaneOrBuilder extends
    * When unspecified, it defaults to 8 GiB with the GP2 volume type.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate main_volume = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getMainVolumeOrBuilder(); /** + * + * *
    * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the databaseEncryption field is set. */ boolean hasDatabaseEncryption(); /** + * + * *
    * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The databaseEncryption. */ com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption getDatabaseEncryption(); /** + * + * *
    * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryptionOrBuilder getDatabaseEncryptionOrBuilder(); /** + * + * *
    * Optional. A set of AWS resource tags to propagate to all underlying managed
    * AWS resources.
@@ -349,6 +458,8 @@ public interface AwsControlPlaneOrBuilder extends
    */
   int getTagsCount();
   /**
+   *
+   *
    * 
    * Optional. A set of AWS resource tags to propagate to all underlying managed
    * AWS resources.
@@ -360,15 +471,13 @@ public interface AwsControlPlaneOrBuilder extends
    *
    * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
-  boolean containsTags(
-      java.lang.String key);
-  /**
-   * Use {@link #getTagsMap()} instead.
-   */
+  boolean containsTags(java.lang.String key);
+  /** Use {@link #getTagsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getTags();
+  java.util.Map getTags();
   /**
+   *
+   *
    * 
    * Optional. A set of AWS resource tags to propagate to all underlying managed
    * AWS resources.
@@ -380,9 +489,10 @@ boolean containsTags(
    *
    * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.util.Map
-  getTagsMap();
+  java.util.Map getTagsMap();
   /**
+   *
+   *
    * 
    * Optional. A set of AWS resource tags to propagate to all underlying managed
    * AWS resources.
@@ -395,11 +505,13 @@ boolean containsTags(
    * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
   /* nullable */
-java.lang.String getTagsOrDefault(
+  java.lang.String getTagsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Optional. A set of AWS resource tags to propagate to all underlying managed
    * AWS resources.
@@ -411,117 +523,173 @@ java.lang.String getTagsOrDefault(
    *
    * map<string, string> tags = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.lang.String getTagsOrThrow(
-      java.lang.String key);
+  java.lang.String getTagsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Required. Authentication configuration for management of AWS resources.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the awsServicesAuthentication field is set. */ boolean hasAwsServicesAuthentication(); /** + * + * *
    * Required. Authentication configuration for management of AWS resources.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The awsServicesAuthentication. */ com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication getAwsServicesAuthentication(); /** + * + * *
    * Required. Authentication configuration for management of AWS resources.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsServicesAuthentication aws_services_authentication = 12 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.gkemulticloud.v1.AwsServicesAuthenticationOrBuilder getAwsServicesAuthenticationOrBuilder(); + com.google.cloud.gkemulticloud.v1.AwsServicesAuthenticationOrBuilder + getAwsServicesAuthenticationOrBuilder(); /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the proxyConfig field is set. */ boolean hasProxyConfig(); /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The proxyConfig. */ com.google.cloud.gkemulticloud.v1.AwsProxyConfig getProxyConfig(); /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder getProxyConfigOrBuilder(); /** + * + * *
    * Required. Config encryption for user data.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the configEncryption field is set. */ boolean hasConfigEncryption(); /** + * + * *
    * Required. Config encryption for user data.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The configEncryption. */ com.google.cloud.gkemulticloud.v1.AwsConfigEncryption getConfigEncryption(); /** + * + * *
    * Required. Config encryption for user data.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 17 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder getConfigEncryptionOrBuilder(); /** + * + * *
    * Optional. The placement to use on control plane instances.
    * When unspecified, the VPC's default tenancy will be used.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the instancePlacement field is set. */ boolean hasInstancePlacement(); /** + * + * *
    * Optional. The placement to use on control plane instances.
    * When unspecified, the VPC's default tenancy will be used.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The instancePlacement. */ com.google.cloud.gkemulticloud.v1.AwsInstancePlacement getInstancePlacement(); /** + * + * *
    * Optional. The placement to use on control plane instances.
    * When unspecified, the VPC's default tenancy will be used.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 18 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder getInstancePlacementOrBuilder(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryption.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryption.java similarity index 66% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryption.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryption.java index 98d7037838f0..f90d70dc3e1f 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryption.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryption.java @@ -1,57 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Configuration related to application-layer secrets encryption.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsDatabaseEncryption} */ -public final class AwsDatabaseEncryption extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AwsDatabaseEncryption extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsDatabaseEncryption) AwsDatabaseEncryptionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AwsDatabaseEncryption.newBuilder() to construct. private AwsDatabaseEncryption(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AwsDatabaseEncryption() { kmsKeyArn_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AwsDatabaseEncryption(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.class, com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.class, + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.Builder.class); } public static final int KMS_KEY_ARN_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object kmsKeyArn_ = ""; /** + * + * *
    * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
    * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The kmsKeyArn. */ @java.lang.Override @@ -60,29 +83,29 @@ public java.lang.String getKmsKeyArn() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyArn_ = s; return s; } } /** + * + * *
    * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
    * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for kmsKeyArn. */ @java.lang.Override - public com.google.protobuf.ByteString - getKmsKeyArnBytes() { + public com.google.protobuf.ByteString getKmsKeyArnBytes() { java.lang.Object ref = kmsKeyArn_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kmsKeyArn_ = b; return b; } else { @@ -91,6 +114,7 @@ public java.lang.String getKmsKeyArn() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,8 +126,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyArn_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kmsKeyArn_); } @@ -127,15 +150,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption other = (com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption) obj; + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption other = + (com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption) obj; - if (!getKmsKeyArn() - .equals(other.getKmsKeyArn())) return false; + if (!getKmsKeyArn().equals(other.getKmsKeyArn())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -155,131 +178,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration related to application-layer secrets encryption.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsDatabaseEncryption} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsDatabaseEncryption) com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryptionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.class, com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.class, + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -289,9 +317,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_descriptor; } @java.lang.Override @@ -310,8 +338,11 @@ public com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption result = new com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption result = + new com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -327,38 +358,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsDatabaseEncrypti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption) other); } else { super.mergeFrom(other); return this; @@ -366,7 +398,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption other) { - if (other == com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption.getDefaultInstance()) + return this; if (!other.getKmsKeyArn().isEmpty()) { kmsKeyArn_ = other.kmsKeyArn_; bitField0_ |= 0x00000001; @@ -398,17 +431,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - kmsKeyArn_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + kmsKeyArn_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -418,22 +453,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object kmsKeyArn_ = ""; /** + * + * *
      * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
      * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The kmsKeyArn. */ public java.lang.String getKmsKeyArn() { java.lang.Object ref = kmsKeyArn_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyArn_ = s; return s; @@ -442,20 +480,21 @@ public java.lang.String getKmsKeyArn() { } } /** + * + * *
      * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
      * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for kmsKeyArn. */ - public com.google.protobuf.ByteString - getKmsKeyArnBytes() { + public com.google.protobuf.ByteString getKmsKeyArnBytes() { java.lang.Object ref = kmsKeyArn_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kmsKeyArn_ = b; return b; } else { @@ -463,28 +502,35 @@ public java.lang.String getKmsKeyArn() { } } /** + * + * *
      * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
      * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The kmsKeyArn to set. * @return This builder for chaining. */ - public Builder setKmsKeyArn( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKmsKeyArn(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } kmsKeyArn_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
      * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearKmsKeyArn() { @@ -494,26 +540,30 @@ public Builder clearKmsKeyArn() { return this; } /** + * + * *
      * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
      * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for kmsKeyArn to set. * @return This builder for chaining. */ - public Builder setKmsKeyArnBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKmsKeyArnBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); kmsKeyArn_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -523,12 +573,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsDatabaseEncryption) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsDatabaseEncryption) private static final com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption(); } @@ -537,27 +587,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsDatabaseEncryption parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsDatabaseEncryption parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -572,6 +622,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsDatabaseEncryption getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryptionOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryptionOrBuilder.java similarity index 52% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryptionOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryptionOrBuilder.java index e5f653670cb3..9266cfdb63c2 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryptionOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsDatabaseEncryptionOrBuilder.java @@ -1,29 +1,50 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsDatabaseEncryptionOrBuilder extends +public interface AwsDatabaseEncryptionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsDatabaseEncryption) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
    * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The kmsKeyArn. */ java.lang.String getKmsKeyArn(); /** + * + * *
    * Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
    * 
* * string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for kmsKeyArn. */ - com.google.protobuf.ByteString - getKmsKeyArnBytes(); + com.google.protobuf.ByteString getKmsKeyArnBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacement.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacement.java similarity index 63% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacement.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacement.java index 6ef5005e0073..f1c04f115786 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacement.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacement.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Details of placement information for an instance.
  * Limitations for using the `host` tenancy:
@@ -14,49 +31,54 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsInstancePlacement}
  */
-public final class AwsInstancePlacement extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AwsInstancePlacement extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsInstancePlacement)
     AwsInstancePlacementOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AwsInstancePlacement.newBuilder() to construct.
   private AwsInstancePlacement(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AwsInstancePlacement() {
     tenancy_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AwsInstancePlacement();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.class, com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder.class);
+            com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.class,
+            com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Tenancy defines how EC2 instances are distributed across physical hardware.
    * 
* * Protobuf enum {@code google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy} */ - public enum Tenancy - implements com.google.protobuf.ProtocolMessageEnum { + public enum Tenancy implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not set.
      * 
@@ -65,6 +87,8 @@ public enum Tenancy */ TENANCY_UNSPECIFIED(0), /** + * + * *
      * Use default VPC tenancy.
      * 
@@ -73,6 +97,8 @@ public enum Tenancy */ DEFAULT(1), /** + * + * *
      * Run a dedicated instance.
      * 
@@ -81,6 +107,8 @@ public enum Tenancy */ DEDICATED(2), /** + * + * *
      * Launch this instance to a dedicated host.
      * 
@@ -92,6 +120,8 @@ public enum Tenancy ; /** + * + * *
      * Not set.
      * 
@@ -100,6 +130,8 @@ public enum Tenancy */ public static final int TENANCY_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Use default VPC tenancy.
      * 
@@ -108,6 +140,8 @@ public enum Tenancy */ public static final int DEFAULT_VALUE = 1; /** + * + * *
      * Run a dedicated instance.
      * 
@@ -116,6 +150,8 @@ public enum Tenancy */ public static final int DEDICATED_VALUE = 2; /** + * + * *
      * Launch this instance to a dedicated host.
      * 
@@ -124,7 +160,6 @@ public enum Tenancy */ public static final int HOST_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -149,50 +184,53 @@ public static Tenancy valueOf(int value) { */ public static Tenancy forNumber(int value) { switch (value) { - case 0: return TENANCY_UNSPECIFIED; - case 1: return DEFAULT; - case 2: return DEDICATED; - case 3: return HOST; - default: return null; + case 0: + return TENANCY_UNSPECIFIED; + case 1: + return DEFAULT; + case 2: + return DEDICATED; + case 3: + return HOST; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Tenancy> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Tenancy findValueByNumber(int number) { - return Tenancy.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Tenancy findValueByNumber(int number) { + return Tenancy.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDescriptor() + .getEnumTypes() + .get(0); } private static final Tenancy[] VALUES = values(); - public static Tenancy valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Tenancy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -212,30 +250,46 @@ private Tenancy(int value) { public static final int TENANCY_FIELD_NUMBER = 1; private int tenancy_ = 0; /** + * + * *
    * Required. The tenancy for instance.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for tenancy. */ - @java.lang.Override public int getTenancyValue() { + @java.lang.Override + public int getTenancyValue() { return tenancy_; } /** + * + * *
    * Required. The tenancy for instance.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tenancy. */ - @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy getTenancy() { - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy result = com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy.forNumber(tenancy_); - return result == null ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy getTenancy() { + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy result = + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy.forNumber(tenancy_); + return result == null + ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,9 +301,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (tenancy_ != com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy.TENANCY_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (tenancy_ + != com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy.TENANCY_UNSPECIFIED + .getNumber()) { output.writeEnum(1, tenancy_); } getUnknownFields().writeTo(output); @@ -261,9 +316,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (tenancy_ != com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy.TENANCY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, tenancy_); + if (tenancy_ + != com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy.TENANCY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, tenancy_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -273,12 +329,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsInstancePlacement)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement other = (com.google.cloud.gkemulticloud.v1.AwsInstancePlacement) obj; + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement other = + (com.google.cloud.gkemulticloud.v1.AwsInstancePlacement) obj; if (tenancy_ != other.tenancy_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -300,98 +357,104 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AwsInstancePlacement parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsInstancePlacement parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsInstancePlacement parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsInstancePlacement parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsInstancePlacement parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsInstancePlacement parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsInstancePlacement parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AwsInstancePlacement parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsInstancePlacement parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsInstancePlacement parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsInstancePlacement parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsInstancePlacement parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsInstancePlacement parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsInstancePlacement parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsInstancePlacement prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Details of placement information for an instance.
    * Limitations for using the `host` tenancy:
@@ -402,33 +465,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsInstancePlacement}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsInstancePlacement)
       com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.class, com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder.class);
+              com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.class,
+              com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -438,9 +500,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_descriptor;
     }
 
     @java.lang.Override
@@ -459,8 +521,11 @@ public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement buildPartial() {
-      com.google.cloud.gkemulticloud.v1.AwsInstancePlacement result = new com.google.cloud.gkemulticloud.v1.AwsInstancePlacement(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.gkemulticloud.v1.AwsInstancePlacement result =
+          new com.google.cloud.gkemulticloud.v1.AwsInstancePlacement(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -476,38 +541,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsInstancePlacemen
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.AwsInstancePlacement) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsInstancePlacement)other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsInstancePlacement) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -515,7 +581,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsInstancePlacement other) {
-      if (other == com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance()) return this;
+      if (other == com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance())
+        return this;
       if (other.tenancy_ != 0) {
         setTenancyValue(other.getTenancyValue());
       }
@@ -545,17 +612,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              tenancy_ = input.readEnum();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                tenancy_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -565,26 +634,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private int tenancy_ = 0;
     /**
+     *
+     *
      * 
      * Required. The tenancy for instance.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for tenancy. */ - @java.lang.Override public int getTenancyValue() { + @java.lang.Override + public int getTenancyValue() { return tenancy_; } /** + * + * *
      * Required. The tenancy for instance.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for tenancy to set. * @return This builder for chaining. */ @@ -595,28 +676,42 @@ public Builder setTenancyValue(int value) { return this; } /** + * + * *
      * Required. The tenancy for instance.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tenancy. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy getTenancy() { - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy result = com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy.forNumber(tenancy_); - return result == null ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy.UNRECOGNIZED : result; + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy result = + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy.forNumber(tenancy_); + return result == null + ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy.UNRECOGNIZED + : result; } /** + * + * *
      * Required. The tenancy for instance.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The tenancy to set. * @return This builder for chaining. */ - public Builder setTenancy(com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy value) { + public Builder setTenancy( + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy value) { if (value == null) { throw new NullPointerException(); } @@ -626,11 +721,16 @@ public Builder setTenancy(com.google.cloud.gkemulticloud.v1.AwsInstancePlacement return this; } /** + * + * *
      * Required. The tenancy for instance.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearTenancy() { @@ -639,9 +739,9 @@ public Builder clearTenancy() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -651,12 +751,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsInstancePlacement) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsInstancePlacement) private static final com.google.cloud.gkemulticloud.v1.AwsInstancePlacement DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsInstancePlacement(); } @@ -665,27 +765,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsInstancePlacement getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsInstancePlacement parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsInstancePlacement parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -700,6 +800,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacementOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacementOrBuilder.java new file mode 100644 index 000000000000..625bb197f62f --- /dev/null +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacementOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface AwsInstancePlacementOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsInstancePlacement) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The tenancy for instance.
+   * 
+ * + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The enum numeric value on the wire for tenancy. + */ + int getTenancyValue(); + /** + * + * + *
+   * Required. The tenancy for instance.
+   * 
+ * + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The tenancy. + */ + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy getTenancy(); +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsJsonWebKeys.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsJsonWebKeys.java similarity index 71% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsJsonWebKeys.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsJsonWebKeys.java index 643b39af56d1..a9987bf5afff 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsJsonWebKeys.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsJsonWebKeys.java @@ -1,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * AwsJsonWebKeys is a valid JSON Web Key Set as specififed in RFC 7517.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsJsonWebKeys} */ -public final class AwsJsonWebKeys extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AwsJsonWebKeys extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsJsonWebKeys) AwsJsonWebKeysOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AwsJsonWebKeys.newBuilder() to construct. private AwsJsonWebKeys(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AwsJsonWebKeys() { keys_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AwsJsonWebKeys(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsJsonWebKeys_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsJsonWebKeys_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsJsonWebKeys_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsJsonWebKeys_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys.class, com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys.class, + com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys.Builder.class); } public static final int KEYS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List keys_; /** + * + * *
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -59,6 +81,8 @@ public java.util.List getKeysList() {
     return keys_;
   }
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -67,11 +91,13 @@ public java.util.List getKeysList() {
    * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getKeysOrBuilderList() {
     return keys_;
   }
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -84,6 +110,8 @@ public int getKeysCount() {
     return keys_.size();
   }
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -96,6 +124,8 @@ public com.google.cloud.gkemulticloud.v1.Jwk getKeys(int index) {
     return keys_.get(index);
   }
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -104,12 +134,12 @@ public com.google.cloud.gkemulticloud.v1.Jwk getKeys(int index) {
    * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1;
    */
   @java.lang.Override
-  public com.google.cloud.gkemulticloud.v1.JwkOrBuilder getKeysOrBuilder(
-      int index) {
+  public com.google.cloud.gkemulticloud.v1.JwkOrBuilder getKeysOrBuilder(int index) {
     return keys_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -121,8 +151,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < keys_.size(); i++) {
       output.writeMessage(1, keys_.get(i));
     }
@@ -136,8 +165,7 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < keys_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, keys_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, keys_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -147,15 +175,15 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys)) {
       return super.equals(obj);
     }
-    com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys other = (com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys) obj;
+    com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys other =
+        (com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys) obj;
 
-    if (!getKeysList()
-        .equals(other.getKeysList())) return false;
+    if (!getKeysList().equals(other.getKeysList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -176,132 +204,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * AwsJsonWebKeys is a valid JSON Web Key Set as specififed in RFC 7517.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsJsonWebKeys} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsJsonWebKeys) com.google.cloud.gkemulticloud.v1.AwsJsonWebKeysOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsJsonWebKeys_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsJsonWebKeys_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsJsonWebKeys_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsJsonWebKeys_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys.class, com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys.class, + com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -317,9 +349,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsJsonWebKeys_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsJsonWebKeys_descriptor; } @java.lang.Override @@ -338,14 +370,18 @@ public com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys result = new com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys(this); + com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys result = + new com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys result) { + private void buildPartialRepeatedFields( + com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys result) { if (keysBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { keys_ = java.util.Collections.unmodifiableList(keys_); @@ -365,38 +401,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys) other); } else { super.mergeFrom(other); return this; @@ -404,7 +441,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys other) { - if (other == com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys.getDefaultInstance()) + return this; if (keysBuilder_ == null) { if (!other.keys_.isEmpty()) { if (keys_.isEmpty()) { @@ -423,9 +461,10 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys other) keysBuilder_ = null; keys_ = other.keys_; bitField0_ = (bitField0_ & ~0x00000001); - keysBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getKeysFieldBuilder() : null; + keysBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getKeysFieldBuilder() + : null; } else { keysBuilder_.addAllMessages(other.keys_); } @@ -457,25 +496,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.gkemulticloud.v1.Jwk m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.Jwk.parser(), - extensionRegistry); - if (keysBuilder_ == null) { - ensureKeysIsMutable(); - keys_.add(m); - } else { - keysBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.gkemulticloud.v1.Jwk m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.Jwk.parser(), extensionRegistry); + if (keysBuilder_ == null) { + ensureKeysIsMutable(); + keys_.add(m); + } else { + keysBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -485,21 +525,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List keys_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureKeysIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { keys_ = new java.util.ArrayList(keys_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.Jwk, com.google.cloud.gkemulticloud.v1.Jwk.Builder, com.google.cloud.gkemulticloud.v1.JwkOrBuilder> keysBuilder_; + com.google.cloud.gkemulticloud.v1.Jwk, + com.google.cloud.gkemulticloud.v1.Jwk.Builder, + com.google.cloud.gkemulticloud.v1.JwkOrBuilder> + keysBuilder_; /** + * + * *
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -515,6 +562,8 @@ public java.util.List getKeysList() {
       }
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -530,6 +579,8 @@ public int getKeysCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -545,6 +596,8 @@ public com.google.cloud.gkemulticloud.v1.Jwk getKeys(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -552,8 +605,7 @@ public com.google.cloud.gkemulticloud.v1.Jwk getKeys(int index) {
      *
      * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1;
      */
-    public Builder setKeys(
-        int index, com.google.cloud.gkemulticloud.v1.Jwk value) {
+    public Builder setKeys(int index, com.google.cloud.gkemulticloud.v1.Jwk value) {
       if (keysBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -567,6 +619,8 @@ public Builder setKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -586,6 +640,8 @@ public Builder setKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -607,6 +663,8 @@ public Builder addKeys(com.google.cloud.gkemulticloud.v1.Jwk value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -614,8 +672,7 @@ public Builder addKeys(com.google.cloud.gkemulticloud.v1.Jwk value) {
      *
      * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1;
      */
-    public Builder addKeys(
-        int index, com.google.cloud.gkemulticloud.v1.Jwk value) {
+    public Builder addKeys(int index, com.google.cloud.gkemulticloud.v1.Jwk value) {
       if (keysBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -629,6 +686,8 @@ public Builder addKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -636,8 +695,7 @@ public Builder addKeys(
      *
      * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1;
      */
-    public Builder addKeys(
-        com.google.cloud.gkemulticloud.v1.Jwk.Builder builderForValue) {
+    public Builder addKeys(com.google.cloud.gkemulticloud.v1.Jwk.Builder builderForValue) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
         keys_.add(builderForValue.build());
@@ -648,6 +706,8 @@ public Builder addKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -667,6 +727,8 @@ public Builder addKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -678,8 +740,7 @@ public Builder addAllKeys(
         java.lang.Iterable values) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, keys_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, keys_);
         onChanged();
       } else {
         keysBuilder_.addAllMessages(values);
@@ -687,6 +748,8 @@ public Builder addAllKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -705,6 +768,8 @@ public Builder clearKeys() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -723,6 +788,8 @@ public Builder removeKeys(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -730,11 +797,12 @@ public Builder removeKeys(int index) {
      *
      * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1;
      */
-    public com.google.cloud.gkemulticloud.v1.Jwk.Builder getKeysBuilder(
-        int index) {
+    public com.google.cloud.gkemulticloud.v1.Jwk.Builder getKeysBuilder(int index) {
       return getKeysFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -742,14 +810,16 @@ public com.google.cloud.gkemulticloud.v1.Jwk.Builder getKeysBuilder(
      *
      * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1;
      */
-    public com.google.cloud.gkemulticloud.v1.JwkOrBuilder getKeysOrBuilder(
-        int index) {
+    public com.google.cloud.gkemulticloud.v1.JwkOrBuilder getKeysOrBuilder(int index) {
       if (keysBuilder_ == null) {
-        return keys_.get(index);  } else {
+        return keys_.get(index);
+      } else {
         return keysBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -757,8 +827,8 @@ public com.google.cloud.gkemulticloud.v1.JwkOrBuilder getKeysOrBuilder(
      *
      * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1;
      */
-    public java.util.List 
-         getKeysOrBuilderList() {
+    public java.util.List
+        getKeysOrBuilderList() {
       if (keysBuilder_ != null) {
         return keysBuilder_.getMessageOrBuilderList();
       } else {
@@ -766,6 +836,8 @@ public com.google.cloud.gkemulticloud.v1.JwkOrBuilder getKeysOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -774,10 +846,12 @@ public com.google.cloud.gkemulticloud.v1.JwkOrBuilder getKeysOrBuilder(
      * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1;
      */
     public com.google.cloud.gkemulticloud.v1.Jwk.Builder addKeysBuilder() {
-      return getKeysFieldBuilder().addBuilder(
-          com.google.cloud.gkemulticloud.v1.Jwk.getDefaultInstance());
+      return getKeysFieldBuilder()
+          .addBuilder(com.google.cloud.gkemulticloud.v1.Jwk.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -785,12 +859,13 @@ public com.google.cloud.gkemulticloud.v1.Jwk.Builder addKeysBuilder() {
      *
      * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1;
      */
-    public com.google.cloud.gkemulticloud.v1.Jwk.Builder addKeysBuilder(
-        int index) {
-      return getKeysFieldBuilder().addBuilder(
-          index, com.google.cloud.gkemulticloud.v1.Jwk.getDefaultInstance());
+    public com.google.cloud.gkemulticloud.v1.Jwk.Builder addKeysBuilder(int index) {
+      return getKeysFieldBuilder()
+          .addBuilder(index, com.google.cloud.gkemulticloud.v1.Jwk.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -798,27 +873,29 @@ public com.google.cloud.gkemulticloud.v1.Jwk.Builder addKeysBuilder(
      *
      * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1;
      */
-    public java.util.List 
-         getKeysBuilderList() {
+    public java.util.List getKeysBuilderList() {
       return getKeysFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.gkemulticloud.v1.Jwk, com.google.cloud.gkemulticloud.v1.Jwk.Builder, com.google.cloud.gkemulticloud.v1.JwkOrBuilder> 
+            com.google.cloud.gkemulticloud.v1.Jwk,
+            com.google.cloud.gkemulticloud.v1.Jwk.Builder,
+            com.google.cloud.gkemulticloud.v1.JwkOrBuilder>
         getKeysFieldBuilder() {
       if (keysBuilder_ == null) {
-        keysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.gkemulticloud.v1.Jwk, com.google.cloud.gkemulticloud.v1.Jwk.Builder, com.google.cloud.gkemulticloud.v1.JwkOrBuilder>(
-                keys_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        keysBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.gkemulticloud.v1.Jwk,
+                com.google.cloud.gkemulticloud.v1.Jwk.Builder,
+                com.google.cloud.gkemulticloud.v1.JwkOrBuilder>(
+                keys_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         keys_ = null;
       }
       return keysBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -828,12 +905,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsJsonWebKeys)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsJsonWebKeys)
   private static final com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys();
   }
@@ -842,27 +919,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public AwsJsonWebKeys parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public AwsJsonWebKeys parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -877,6 +954,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsJsonWebKeysOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsJsonWebKeysOrBuilder.java
similarity index 64%
rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsJsonWebKeysOrBuilder.java
rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsJsonWebKeysOrBuilder.java
index ca1dccc4e63e..35f98bdd6fd7 100644
--- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsJsonWebKeysOrBuilder.java
+++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsJsonWebKeysOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/gkemulticloud/v1/aws_resources.proto
 
 package com.google.cloud.gkemulticloud.v1;
 
-public interface AwsJsonWebKeysOrBuilder extends
+public interface AwsJsonWebKeysOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsJsonWebKeys)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -15,9 +33,10 @@ public interface AwsJsonWebKeysOrBuilder extends
    *
    * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1;
    */
-  java.util.List 
-      getKeysList();
+  java.util.List getKeysList();
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -27,6 +46,8 @@ public interface AwsJsonWebKeysOrBuilder extends
    */
   com.google.cloud.gkemulticloud.v1.Jwk getKeys(int index);
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -36,6 +57,8 @@ public interface AwsJsonWebKeysOrBuilder extends
    */
   int getKeysCount();
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -43,9 +66,10 @@ public interface AwsJsonWebKeysOrBuilder extends
    *
    * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1;
    */
-  java.util.List 
-      getKeysOrBuilderList();
+  java.util.List getKeysOrBuilderList();
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -53,6 +77,5 @@ public interface AwsJsonWebKeysOrBuilder extends
    *
    * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1;
    */
-  com.google.cloud.gkemulticloud.v1.JwkOrBuilder getKeysOrBuilder(
-      int index);
+  com.google.cloud.gkemulticloud.v1.JwkOrBuilder getKeysOrBuilder(int index);
 }
diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfo.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfo.java
similarity index 75%
rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfo.java
rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfo.java
index 227c60150eab..6e036104056d 100644
--- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfo.java
+++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfo.java
@@ -1,57 +1,80 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/gkemulticloud/v1/aws_resources.proto
 
 package com.google.cloud.gkemulticloud.v1;
 
 /**
+ *
+ *
  * 
  * Kubernetes version information of GKE cluster on AWS.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsK8sVersionInfo} */ -public final class AwsK8sVersionInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AwsK8sVersionInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsK8sVersionInfo) AwsK8sVersionInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AwsK8sVersionInfo.newBuilder() to construct. private AwsK8sVersionInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AwsK8sVersionInfo() { version_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AwsK8sVersionInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.class, com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.class, + com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder.class); } public static final int VERSION_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object version_ = ""; /** + * + * *
    * Kubernetes version name.
    * 
* * string version = 1; + * * @return The version. */ @java.lang.Override @@ -60,29 +83,29 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
    * Kubernetes version name.
    * 
* * string version = 1; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -93,6 +116,8 @@ public java.lang.String getVersion() { public static final int ENABLED_FIELD_NUMBER = 3; private boolean enabled_ = false; /** + * + * *
    * Optional. True if the version is available for cluster creation. If a
    * version is enabled for creation, it can be used to create new clusters.
@@ -101,6 +126,7 @@ public java.lang.String getVersion() {
    * 
* * bool enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enabled. */ @java.lang.Override @@ -111,6 +137,8 @@ public boolean getEnabled() { public static final int END_OF_LIFE_FIELD_NUMBER = 4; private boolean endOfLife_ = false; /** + * + * *
    * Optional. True if this cluster version belongs to a minor version that has
    * reached its end of life and is no longer in scope to receive security and
@@ -118,6 +146,7 @@ public boolean getEnabled() {
    * 
* * bool end_of_life = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The endOfLife. */ @java.lang.Override @@ -128,6 +157,8 @@ public boolean getEndOfLife() { public static final int END_OF_LIFE_DATE_FIELD_NUMBER = 5; private com.google.type.Date endOfLifeDate_; /** + * + * *
    * Optional. The estimated date (in Pacific Time) when this cluster version
    * will reach its end of life. Or if this version is no longer supported (the
@@ -136,6 +167,7 @@ public boolean getEndOfLife() {
    * 
* * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the endOfLifeDate field is set. */ @java.lang.Override @@ -143,6 +175,8 @@ public boolean hasEndOfLifeDate() { return endOfLifeDate_ != null; } /** + * + * *
    * Optional. The estimated date (in Pacific Time) when this cluster version
    * will reach its end of life. Or if this version is no longer supported (the
@@ -151,6 +185,7 @@ public boolean hasEndOfLifeDate() {
    * 
* * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The endOfLifeDate. */ @java.lang.Override @@ -158,6 +193,8 @@ public com.google.type.Date getEndOfLifeDate() { return endOfLifeDate_ == null ? com.google.type.Date.getDefaultInstance() : endOfLifeDate_; } /** + * + * *
    * Optional. The estimated date (in Pacific Time) when this cluster version
    * will reach its end of life. Or if this version is no longer supported (the
@@ -175,11 +212,14 @@ public com.google.type.DateOrBuilder getEndOfLifeDateOrBuilder() {
   public static final int RELEASE_DATE_FIELD_NUMBER = 6;
   private com.google.type.Date releaseDate_;
   /**
+   *
+   *
    * 
    * Optional. The date (in Pacific Time) when the cluster version was released.
    * 
* * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the releaseDate field is set. */ @java.lang.Override @@ -187,11 +227,14 @@ public boolean hasReleaseDate() { return releaseDate_ != null; } /** + * + * *
    * Optional. The date (in Pacific Time) when the cluster version was released.
    * 
* * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The releaseDate. */ @java.lang.Override @@ -199,6 +242,8 @@ public com.google.type.Date getReleaseDate() { return releaseDate_ == null ? com.google.type.Date.getDefaultInstance() : releaseDate_; } /** + * + * *
    * Optional. The date (in Pacific Time) when the cluster version was released.
    * 
@@ -211,6 +256,7 @@ public com.google.type.DateOrBuilder getReleaseDateOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -222,8 +268,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); } @@ -252,20 +297,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, version_); } if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, enabled_); } if (endOfLife_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, endOfLife_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, endOfLife_); } if (endOfLifeDate_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getEndOfLifeDate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getEndOfLifeDate()); } if (releaseDate_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getReleaseDate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getReleaseDate()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -275,28 +316,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo other = (com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo) obj; + com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo other = + (com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo) obj; - if (!getVersion() - .equals(other.getVersion())) return false; - if (getEnabled() - != other.getEnabled()) return false; - if (getEndOfLife() - != other.getEndOfLife()) return false; + if (!getVersion().equals(other.getVersion())) return false; + if (getEnabled() != other.getEnabled()) return false; + if (getEndOfLife() != other.getEndOfLife()) return false; if (hasEndOfLifeDate() != other.hasEndOfLifeDate()) return false; if (hasEndOfLifeDate()) { - if (!getEndOfLifeDate() - .equals(other.getEndOfLifeDate())) return false; + if (!getEndOfLifeDate().equals(other.getEndOfLifeDate())) return false; } if (hasReleaseDate() != other.hasReleaseDate()) return false; if (hasReleaseDate()) { - if (!getReleaseDate() - .equals(other.getReleaseDate())) return false; + if (!getReleaseDate().equals(other.getReleaseDate())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -312,11 +349,9 @@ public int hashCode() { hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + getVersion().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (37 * hash) + END_OF_LIFE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEndOfLife()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEndOfLife()); if (hasEndOfLifeDate()) { hash = (37 * hash) + END_OF_LIFE_DATE_FIELD_NUMBER; hash = (53 * hash) + getEndOfLifeDate().hashCode(); @@ -331,131 +366,135 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Kubernetes version information of GKE cluster on AWS.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsK8sVersionInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsK8sVersionInfo) com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.class, com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.class, + com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -477,9 +516,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_descriptor; } @java.lang.Override @@ -498,8 +537,11 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo result = new com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo result = + new com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -516,14 +558,12 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo r result.endOfLife_ = endOfLife_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.endOfLifeDate_ = endOfLifeDateBuilder_ == null - ? endOfLifeDate_ - : endOfLifeDateBuilder_.build(); + result.endOfLifeDate_ = + endOfLifeDateBuilder_ == null ? endOfLifeDate_ : endOfLifeDateBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.releaseDate_ = releaseDateBuilder_ == null - ? releaseDate_ - : releaseDateBuilder_.build(); + result.releaseDate_ = + releaseDateBuilder_ == null ? releaseDate_ : releaseDateBuilder_.build(); } } @@ -531,38 +571,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo) other); } else { super.mergeFrom(other); return this; @@ -570,7 +611,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo other) { - if (other == com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.getDefaultInstance()) + return this; if (!other.getVersion().isEmpty()) { version_ = other.version_; bitField0_ |= 0x00000001; @@ -614,41 +656,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - version_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 24: { - enabled_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 24 - case 32: { - endOfLife_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 32 - case 42: { - input.readMessage( - getEndOfLifeDateFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 42 - case 50: { - input.readMessage( - getReleaseDateFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 24: + { + enabled_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 24 + case 32: + { + endOfLife_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 32 + case 42: + { + input.readMessage(getEndOfLifeDateFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 50: + { + input.readMessage(getReleaseDateFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -658,22 +702,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object version_ = ""; /** + * + * *
      * Kubernetes version name.
      * 
* * string version = 1; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -682,20 +729,21 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Kubernetes version name.
      * 
* * string version = 1; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -703,28 +751,35 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Kubernetes version name.
      * 
* * string version = 1; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } version_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Kubernetes version name.
      * 
* * string version = 1; + * * @return This builder for chaining. */ public Builder clearVersion() { @@ -734,17 +789,21 @@ public Builder clearVersion() { return this; } /** + * + * *
      * Kubernetes version name.
      * 
* * string version = 1; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); version_ = value; bitField0_ |= 0x00000001; @@ -752,8 +811,10 @@ public Builder setVersionBytes( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Optional. True if the version is available for cluster creation. If a
      * version is enabled for creation, it can be used to create new clusters.
@@ -762,6 +823,7 @@ public Builder setVersionBytes(
      * 
* * bool enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enabled. */ @java.lang.Override @@ -769,6 +831,8 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Optional. True if the version is available for cluster creation. If a
      * version is enabled for creation, it can be used to create new clusters.
@@ -777,6 +841,7 @@ public boolean getEnabled() {
      * 
* * bool enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The enabled to set. * @return This builder for chaining. */ @@ -788,6 +853,8 @@ public Builder setEnabled(boolean value) { return this; } /** + * + * *
      * Optional. True if the version is available for cluster creation. If a
      * version is enabled for creation, it can be used to create new clusters.
@@ -796,6 +863,7 @@ public Builder setEnabled(boolean value) {
      * 
* * bool enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEnabled() { @@ -805,8 +873,10 @@ public Builder clearEnabled() { return this; } - private boolean endOfLife_ ; + private boolean endOfLife_; /** + * + * *
      * Optional. True if this cluster version belongs to a minor version that has
      * reached its end of life and is no longer in scope to receive security and
@@ -814,6 +884,7 @@ public Builder clearEnabled() {
      * 
* * bool end_of_life = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The endOfLife. */ @java.lang.Override @@ -821,6 +892,8 @@ public boolean getEndOfLife() { return endOfLife_; } /** + * + * *
      * Optional. True if this cluster version belongs to a minor version that has
      * reached its end of life and is no longer in scope to receive security and
@@ -828,6 +901,7 @@ public boolean getEndOfLife() {
      * 
* * bool end_of_life = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The endOfLife to set. * @return This builder for chaining. */ @@ -839,6 +913,8 @@ public Builder setEndOfLife(boolean value) { return this; } /** + * + * *
      * Optional. True if this cluster version belongs to a minor version that has
      * reached its end of life and is no longer in scope to receive security and
@@ -846,6 +922,7 @@ public Builder setEndOfLife(boolean value) {
      * 
* * bool end_of_life = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEndOfLife() { @@ -857,8 +934,11 @@ public Builder clearEndOfLife() { private com.google.type.Date endOfLifeDate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> endOfLifeDateBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + endOfLifeDateBuilder_; /** + * + * *
      * Optional. The estimated date (in Pacific Time) when this cluster version
      * will reach its end of life. Or if this version is no longer supported (the
@@ -866,13 +946,17 @@ public Builder clearEndOfLife() {
      * when the version reached its end of life.
      * 
* - * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the endOfLifeDate field is set. */ public boolean hasEndOfLifeDate() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Optional. The estimated date (in Pacific Time) when this cluster version
      * will reach its end of life. Or if this version is no longer supported (the
@@ -880,7 +964,9 @@ public boolean hasEndOfLifeDate() {
      * when the version reached its end of life.
      * 
* - * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The endOfLifeDate. */ public com.google.type.Date getEndOfLifeDate() { @@ -891,6 +977,8 @@ public com.google.type.Date getEndOfLifeDate() { } } /** + * + * *
      * Optional. The estimated date (in Pacific Time) when this cluster version
      * will reach its end of life. Or if this version is no longer supported (the
@@ -898,7 +986,8 @@ public com.google.type.Date getEndOfLifeDate() {
      * when the version reached its end of life.
      * 
* - * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEndOfLifeDate(com.google.type.Date value) { if (endOfLifeDateBuilder_ == null) { @@ -914,6 +1003,8 @@ public Builder setEndOfLifeDate(com.google.type.Date value) { return this; } /** + * + * *
      * Optional. The estimated date (in Pacific Time) when this cluster version
      * will reach its end of life. Or if this version is no longer supported (the
@@ -921,10 +1012,10 @@ public Builder setEndOfLifeDate(com.google.type.Date value) {
      * when the version reached its end of life.
      * 
* - * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setEndOfLifeDate( - com.google.type.Date.Builder builderForValue) { + public Builder setEndOfLifeDate(com.google.type.Date.Builder builderForValue) { if (endOfLifeDateBuilder_ == null) { endOfLifeDate_ = builderForValue.build(); } else { @@ -935,6 +1026,8 @@ public Builder setEndOfLifeDate( return this; } /** + * + * *
      * Optional. The estimated date (in Pacific Time) when this cluster version
      * will reach its end of life. Or if this version is no longer supported (the
@@ -942,13 +1035,14 @@ public Builder setEndOfLifeDate(
      * when the version reached its end of life.
      * 
* - * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeEndOfLifeDate(com.google.type.Date value) { if (endOfLifeDateBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - endOfLifeDate_ != null && - endOfLifeDate_ != com.google.type.Date.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && endOfLifeDate_ != null + && endOfLifeDate_ != com.google.type.Date.getDefaultInstance()) { getEndOfLifeDateBuilder().mergeFrom(value); } else { endOfLifeDate_ = value; @@ -961,6 +1055,8 @@ public Builder mergeEndOfLifeDate(com.google.type.Date value) { return this; } /** + * + * *
      * Optional. The estimated date (in Pacific Time) when this cluster version
      * will reach its end of life. Or if this version is no longer supported (the
@@ -968,7 +1064,8 @@ public Builder mergeEndOfLifeDate(com.google.type.Date value) {
      * when the version reached its end of life.
      * 
* - * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearEndOfLifeDate() { bitField0_ = (bitField0_ & ~0x00000008); @@ -981,6 +1078,8 @@ public Builder clearEndOfLifeDate() { return this; } /** + * + * *
      * Optional. The estimated date (in Pacific Time) when this cluster version
      * will reach its end of life. Or if this version is no longer supported (the
@@ -988,7 +1087,8 @@ public Builder clearEndOfLifeDate() {
      * when the version reached its end of life.
      * 
* - * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.type.Date.Builder getEndOfLifeDateBuilder() { bitField0_ |= 0x00000008; @@ -996,6 +1096,8 @@ public com.google.type.Date.Builder getEndOfLifeDateBuilder() { return getEndOfLifeDateFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The estimated date (in Pacific Time) when this cluster version
      * will reach its end of life. Or if this version is no longer supported (the
@@ -1003,17 +1105,19 @@ public com.google.type.Date.Builder getEndOfLifeDateBuilder() {
      * when the version reached its end of life.
      * 
* - * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.type.DateOrBuilder getEndOfLifeDateOrBuilder() { if (endOfLifeDateBuilder_ != null) { return endOfLifeDateBuilder_.getMessageOrBuilder(); } else { - return endOfLifeDate_ == null ? - com.google.type.Date.getDefaultInstance() : endOfLifeDate_; + return endOfLifeDate_ == null ? com.google.type.Date.getDefaultInstance() : endOfLifeDate_; } } /** + * + * *
      * Optional. The estimated date (in Pacific Time) when this cluster version
      * will reach its end of life. Or if this version is no longer supported (the
@@ -1021,17 +1125,17 @@ public com.google.type.DateOrBuilder getEndOfLifeDateOrBuilder() {
      * when the version reached its end of life.
      * 
* - * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> getEndOfLifeDateFieldBuilder() { if (endOfLifeDateBuilder_ == null) { - endOfLifeDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( - getEndOfLifeDate(), - getParentForChildren(), - isClean()); + endOfLifeDateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( + getEndOfLifeDate(), getParentForChildren(), isClean()); endOfLifeDate_ = null; } return endOfLifeDateBuilder_; @@ -1039,24 +1143,31 @@ public com.google.type.DateOrBuilder getEndOfLifeDateOrBuilder() { private com.google.type.Date releaseDate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> releaseDateBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + releaseDateBuilder_; /** + * + * *
      * Optional. The date (in Pacific Time) when the cluster version was released.
      * 
* * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the releaseDate field is set. */ public boolean hasReleaseDate() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Optional. The date (in Pacific Time) when the cluster version was released.
      * 
* * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The releaseDate. */ public com.google.type.Date getReleaseDate() { @@ -1067,6 +1178,8 @@ public com.google.type.Date getReleaseDate() { } } /** + * + * *
      * Optional. The date (in Pacific Time) when the cluster version was released.
      * 
@@ -1087,14 +1200,15 @@ public Builder setReleaseDate(com.google.type.Date value) { return this; } /** + * + * *
      * Optional. The date (in Pacific Time) when the cluster version was released.
      * 
* * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setReleaseDate( - com.google.type.Date.Builder builderForValue) { + public Builder setReleaseDate(com.google.type.Date.Builder builderForValue) { if (releaseDateBuilder_ == null) { releaseDate_ = builderForValue.build(); } else { @@ -1105,6 +1219,8 @@ public Builder setReleaseDate( return this; } /** + * + * *
      * Optional. The date (in Pacific Time) when the cluster version was released.
      * 
@@ -1113,9 +1229,9 @@ public Builder setReleaseDate( */ public Builder mergeReleaseDate(com.google.type.Date value) { if (releaseDateBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - releaseDate_ != null && - releaseDate_ != com.google.type.Date.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && releaseDate_ != null + && releaseDate_ != com.google.type.Date.getDefaultInstance()) { getReleaseDateBuilder().mergeFrom(value); } else { releaseDate_ = value; @@ -1128,6 +1244,8 @@ public Builder mergeReleaseDate(com.google.type.Date value) { return this; } /** + * + * *
      * Optional. The date (in Pacific Time) when the cluster version was released.
      * 
@@ -1145,6 +1263,8 @@ public Builder clearReleaseDate() { return this; } /** + * + * *
      * Optional. The date (in Pacific Time) when the cluster version was released.
      * 
@@ -1157,6 +1277,8 @@ public com.google.type.Date.Builder getReleaseDateBuilder() { return getReleaseDateFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The date (in Pacific Time) when the cluster version was released.
      * 
@@ -1167,11 +1289,12 @@ public com.google.type.DateOrBuilder getReleaseDateOrBuilder() { if (releaseDateBuilder_ != null) { return releaseDateBuilder_.getMessageOrBuilder(); } else { - return releaseDate_ == null ? - com.google.type.Date.getDefaultInstance() : releaseDate_; + return releaseDate_ == null ? com.google.type.Date.getDefaultInstance() : releaseDate_; } } /** + * + * *
      * Optional. The date (in Pacific Time) when the cluster version was released.
      * 
@@ -1179,21 +1302,20 @@ public com.google.type.DateOrBuilder getReleaseDateOrBuilder() { * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> getReleaseDateFieldBuilder() { if (releaseDateBuilder_ == null) { - releaseDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( - getReleaseDate(), - getParentForChildren(), - isClean()); + releaseDateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( + getReleaseDate(), getParentForChildren(), isClean()); releaseDate_ = null; } return releaseDateBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1203,12 +1325,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsK8sVersionInfo) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsK8sVersionInfo) private static final com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo(); } @@ -1217,27 +1339,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsK8sVersionInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsK8sVersionInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1252,6 +1374,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfoOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfoOrBuilder.java similarity index 81% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfoOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfoOrBuilder.java index 8b325e5e45e0..cfb3269e80c1 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfoOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsK8sVersionInfoOrBuilder.java @@ -1,33 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsK8sVersionInfoOrBuilder extends +public interface AwsK8sVersionInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsK8sVersionInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Kubernetes version name.
    * 
* * string version = 1; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * Kubernetes version name.
    * 
* * string version = 1; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * Optional. True if the version is available for cluster creation. If a
    * version is enabled for creation, it can be used to create new clusters.
@@ -36,11 +59,14 @@ public interface AwsK8sVersionInfoOrBuilder extends
    * 
* * bool enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enabled. */ boolean getEnabled(); /** + * + * *
    * Optional. True if this cluster version belongs to a minor version that has
    * reached its end of life and is no longer in scope to receive security and
@@ -48,11 +74,14 @@ public interface AwsK8sVersionInfoOrBuilder extends
    * 
* * bool end_of_life = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The endOfLife. */ boolean getEndOfLife(); /** + * + * *
    * Optional. The estimated date (in Pacific Time) when this cluster version
    * will reach its end of life. Or if this version is no longer supported (the
@@ -61,10 +90,13 @@ public interface AwsK8sVersionInfoOrBuilder extends
    * 
* * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the endOfLifeDate field is set. */ boolean hasEndOfLifeDate(); /** + * + * *
    * Optional. The estimated date (in Pacific Time) when this cluster version
    * will reach its end of life. Or if this version is no longer supported (the
@@ -73,10 +105,13 @@ public interface AwsK8sVersionInfoOrBuilder extends
    * 
* * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The endOfLifeDate. */ com.google.type.Date getEndOfLifeDate(); /** + * + * *
    * Optional. The estimated date (in Pacific Time) when this cluster version
    * will reach its end of life. Or if this version is no longer supported (the
@@ -89,24 +124,32 @@ public interface AwsK8sVersionInfoOrBuilder extends
   com.google.type.DateOrBuilder getEndOfLifeDateOrBuilder();
 
   /**
+   *
+   *
    * 
    * Optional. The date (in Pacific Time) when the cluster version was released.
    * 
* * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the releaseDate field is set. */ boolean hasReleaseDate(); /** + * + * *
    * Optional. The date (in Pacific Time) when the cluster version was released.
    * 
* * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The releaseDate. */ com.google.type.Date getReleaseDate(); /** + * + * *
    * Optional. The date (in Pacific Time) when the cluster version was released.
    * 
diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfig.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfig.java similarity index 63% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfig.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfig.java index b3043b850fd6..2a35c8a1fe75 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfig.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfig.java @@ -1,71 +1,91 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Parameters that describe the nodes in a cluster.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsNodeConfig} */ -public final class AwsNodeConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AwsNodeConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsNodeConfig) AwsNodeConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AwsNodeConfig.newBuilder() to construct. private AwsNodeConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AwsNodeConfig() { instanceType_ = ""; taints_ = java.util.Collections.emptyList(); iamInstanceProfile_ = ""; imageType_ = ""; - securityGroupIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + securityGroupIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AwsNodeConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: return internalGetLabels(); case 5: return internalGetTags(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsNodeConfig.class, com.google.cloud.gkemulticloud.v1.AwsNodeConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsNodeConfig.class, + com.google.cloud.gkemulticloud.v1.AwsNodeConfig.Builder.class); } public static final int INSTANCE_TYPE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object instanceType_ = ""; /** + * + * *
    * Optional. The EC2 instance type when creating on-Demand instances.
    *
@@ -74,6 +94,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The instanceType. */ @java.lang.Override @@ -82,14 +103,15 @@ public java.lang.String getInstanceType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceType_ = s; return s; } } /** + * + * *
    * Optional. The EC2 instance type when creating on-Demand instances.
    *
@@ -98,16 +120,15 @@ public java.lang.String getInstanceType() {
    * 
* * string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for instanceType. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstanceTypeBytes() { + public com.google.protobuf.ByteString getInstanceTypeBytes() { java.lang.Object ref = instanceType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instanceType_ = b; return b; } else { @@ -118,6 +139,8 @@ public java.lang.String getInstanceType() { public static final int ROOT_VOLUME_FIELD_NUMBER = 2; private com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate rootVolume_; /** + * + * *
    * Optional. Template for the root volume provisioned for node pool nodes.
    * Volumes will be provisioned in the availability zone assigned
@@ -126,7 +149,10 @@ public java.lang.String getInstanceType() {
    * When unspecified, it defaults to 32 GiB with the GP2 volume type.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the rootVolume field is set. */ @java.lang.Override @@ -134,6 +160,8 @@ public boolean hasRootVolume() { return rootVolume_ != null; } /** + * + * *
    * Optional. Template for the root volume provisioned for node pool nodes.
    * Volumes will be provisioned in the availability zone assigned
@@ -142,14 +170,21 @@ public boolean hasRootVolume() {
    * When unspecified, it defaults to 32 GiB with the GP2 volume type.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The rootVolume. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getRootVolume() { - return rootVolume_ == null ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() : rootVolume_; + return rootVolume_ == null + ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() + : rootVolume_; } /** + * + * *
    * Optional. Template for the root volume provisioned for node pool nodes.
    * Volumes will be provisioned in the availability zone assigned
@@ -158,101 +193,127 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getRootVolume() {
    * When unspecified, it defaults to 32 GiB with the GP2 volume type.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getRootVolumeOrBuilder() { - return rootVolume_ == null ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() : rootVolume_; + return rootVolume_ == null + ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() + : rootVolume_; } public static final int TAINTS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List taints_; /** + * + * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List getTaintsList() { return taints_; } /** + * + * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List getTaintsOrBuilderList() { return taints_; } /** + * + * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getTaintsCount() { return taints_.size(); } /** + * + * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.NodeTaint getTaints(int index) { return taints_.get(index); } /** + * + * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder( - int index) { + public com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index) { return taints_.get(index); } public static final int LABELS_FIELD_NUMBER = 4; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -262,20 +323,21 @@ public int getLabelsCount() {
    * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public boolean containsLabels(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsLabels(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
+   *
+   *
    * 
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -289,6 +351,8 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -298,17 +362,19 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getLabelsOrDefault(
+  public /* nullable */ java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -318,11 +384,11 @@ java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -330,32 +396,34 @@ public java.lang.String getLabelsOrThrow(
   }
 
   public static final int TAGS_FIELD_NUMBER = 5;
+
   private static final class TagsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, java.lang.String> defaultEntry =
-            com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_TagsEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "");
+    static final com.google.protobuf.MapEntry defaultEntry =
+        com.google.protobuf.MapEntry.newDefaultInstance(
+            com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+                .internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_TagsEntry_descriptor,
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "",
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "");
   }
+
   @SuppressWarnings("serial")
-  private com.google.protobuf.MapField<
-      java.lang.String, java.lang.String> tags_;
-  private com.google.protobuf.MapField
-  internalGetTags() {
+  private com.google.protobuf.MapField tags_;
+
+  private com.google.protobuf.MapField internalGetTags() {
     if (tags_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(
-          TagsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(TagsDefaultEntryHolder.defaultEntry);
     }
     return tags_;
   }
+
   public int getTagsCount() {
     return internalGetTags().getMap().size();
   }
   /**
+   *
+   *
    * 
    * Optional. Key/value metadata to assign to each underlying AWS resource.
    * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
@@ -366,20 +434,21 @@ public int getTagsCount() {
    * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public boolean containsTags(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsTags(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetTags().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getTagsMap()} instead.
-   */
+  /** Use {@link #getTagsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getTags() {
     return getTagsMap();
   }
   /**
+   *
+   *
    * 
    * Optional. Key/value metadata to assign to each underlying AWS resource.
    * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
@@ -394,6 +463,8 @@ public java.util.Map getTagsMap() {
     return internalGetTags().getMap();
   }
   /**
+   *
+   *
    * 
    * Optional. Key/value metadata to assign to each underlying AWS resource.
    * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
@@ -404,17 +475,19 @@ public java.util.Map getTagsMap() {
    * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getTagsOrDefault(
+  public /* nullable */ java.lang.String getTagsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetTags().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetTags().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Optional. Key/value metadata to assign to each underlying AWS resource.
    * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
@@ -425,11 +498,11 @@ java.lang.String getTagsOrDefault(
    * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public java.lang.String getTagsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetTags().getMap();
+  public java.lang.String getTagsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetTags().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -437,15 +510,19 @@ public java.lang.String getTagsOrThrow(
   }
 
   public static final int IAM_INSTANCE_PROFILE_FIELD_NUMBER = 6;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object iamInstanceProfile_ = "";
   /**
+   *
+   *
    * 
    * Required. The name or ARN of the AWS IAM role assigned to nodes in the
    * pool.
    * 
* * string iam_instance_profile = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The iamInstanceProfile. */ @java.lang.Override @@ -454,30 +531,30 @@ public java.lang.String getIamInstanceProfile() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); iamInstanceProfile_ = s; return s; } } /** + * + * *
    * Required. The name or ARN of the AWS IAM role assigned to nodes in the
    * pool.
    * 
* * string iam_instance_profile = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for iamInstanceProfile. */ @java.lang.Override - public com.google.protobuf.ByteString - getIamInstanceProfileBytes() { + public com.google.protobuf.ByteString getIamInstanceProfileBytes() { java.lang.Object ref = iamInstanceProfile_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); iamInstanceProfile_ = b; return b; } else { @@ -486,9 +563,12 @@ public java.lang.String getIamInstanceProfile() { } public static final int IMAGE_TYPE_FIELD_NUMBER = 11; + @SuppressWarnings("serial") private volatile java.lang.Object imageType_ = ""; /** + * + * *
    * Optional. The OS image type to use on node pool instances.
    * Can be unspecified, or have a value of `ubuntu`.
@@ -497,6 +577,7 @@ public java.lang.String getIamInstanceProfile() {
    * 
* * string image_type = 11 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The imageType. */ @java.lang.Override @@ -505,14 +586,15 @@ public java.lang.String getImageType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; } } /** + * + * *
    * Optional. The OS image type to use on node pool instances.
    * Can be unspecified, or have a value of `ubuntu`.
@@ -521,16 +603,15 @@ public java.lang.String getImageType() {
    * 
* * string image_type = 11 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for imageType. */ @java.lang.Override - public com.google.protobuf.ByteString - getImageTypeBytes() { + public com.google.protobuf.ByteString getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageType_ = b; return b; } else { @@ -541,11 +622,16 @@ public java.lang.String getImageType() { public static final int SSH_CONFIG_FIELD_NUMBER = 9; private com.google.cloud.gkemulticloud.v1.AwsSshConfig sshConfig_; /** + * + * *
    * Optional. The SSH configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the sshConfig field is set. */ @java.lang.Override @@ -553,34 +639,50 @@ public boolean hasSshConfig() { return sshConfig_ != null; } /** + * + * *
    * Optional. The SSH configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The sshConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsSshConfig getSshConfig() { - return sshConfig_ == null ? com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance() : sshConfig_; + return sshConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance() + : sshConfig_; } /** + * + * *
    * Optional. The SSH configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder getSshConfigOrBuilder() { - return sshConfig_ == null ? com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance() : sshConfig_; + return sshConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance() + : sshConfig_; } public static final int SECURITY_GROUP_IDS_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList securityGroupIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Optional. The IDs of additional security groups to add to nodes in this
    * pool. The manager will automatically create security groups with minimum
@@ -588,13 +690,15 @@ public com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder getSshConfigOrBui
    * 
* * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the securityGroupIds. */ - public com.google.protobuf.ProtocolStringList - getSecurityGroupIdsList() { + public com.google.protobuf.ProtocolStringList getSecurityGroupIdsList() { return securityGroupIds_; } /** + * + * *
    * Optional. The IDs of additional security groups to add to nodes in this
    * pool. The manager will automatically create security groups with minimum
@@ -602,12 +706,15 @@ public com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder getSshConfigOrBui
    * 
* * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of securityGroupIds. */ public int getSecurityGroupIdsCount() { return securityGroupIds_.size(); } /** + * + * *
    * Optional. The IDs of additional security groups to add to nodes in this
    * pool. The manager will automatically create security groups with minimum
@@ -615,6 +722,7 @@ public int getSecurityGroupIdsCount() {
    * 
* * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The securityGroupIds at the given index. */ @@ -622,6 +730,8 @@ public java.lang.String getSecurityGroupIds(int index) { return securityGroupIds_.get(index); } /** + * + * *
    * Optional. The IDs of additional security groups to add to nodes in this
    * pool. The manager will automatically create security groups with minimum
@@ -629,22 +739,27 @@ public java.lang.String getSecurityGroupIds(int index) {
    * 
* * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the securityGroupIds at the given index. */ - public com.google.protobuf.ByteString - getSecurityGroupIdsBytes(int index) { + public com.google.protobuf.ByteString getSecurityGroupIdsBytes(int index) { return securityGroupIds_.getByteString(index); } public static final int PROXY_CONFIG_FIELD_NUMBER = 12; private com.google.cloud.gkemulticloud.v1.AwsProxyConfig proxyConfig_; /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the proxyConfig field is set. */ @java.lang.Override @@ -652,37 +767,55 @@ public boolean hasProxyConfig() { return proxyConfig_ != null; } /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The proxyConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsProxyConfig getProxyConfig() { - return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance() : proxyConfig_; + return proxyConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance() + : proxyConfig_; } /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder getProxyConfigOrBuilder() { - return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance() : proxyConfig_; + return proxyConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance() + : proxyConfig_; } public static final int CONFIG_ENCRYPTION_FIELD_NUMBER = 13; private com.google.cloud.gkemulticloud.v1.AwsConfigEncryption configEncryption_; /** + * + * *
    * Required. Config encryption for user data.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the configEncryption field is set. */ @java.lang.Override @@ -690,38 +823,57 @@ public boolean hasConfigEncryption() { return configEncryption_ != null; } /** + * + * *
    * Required. Config encryption for user data.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The configEncryption. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsConfigEncryption getConfigEncryption() { - return configEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance() : configEncryption_; + return configEncryption_ == null + ? com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance() + : configEncryption_; } /** + * + * *
    * Required. Config encryption for user data.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder getConfigEncryptionOrBuilder() { - return configEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance() : configEncryption_; + public com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder + getConfigEncryptionOrBuilder() { + return configEncryption_ == null + ? com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance() + : configEncryption_; } public static final int INSTANCE_PLACEMENT_FIELD_NUMBER = 14; private com.google.cloud.gkemulticloud.v1.AwsInstancePlacement instancePlacement_; /** + * + * *
    * Optional. Placement related info for this node.
    * When unspecified, the VPC's default tenancy will be used.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the instancePlacement field is set. */ @java.lang.Override @@ -729,34 +881,51 @@ public boolean hasInstancePlacement() { return instancePlacement_ != null; } /** + * + * *
    * Optional. Placement related info for this node.
    * When unspecified, the VPC's default tenancy will be used.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The instancePlacement. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement getInstancePlacement() { - return instancePlacement_ == null ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance() : instancePlacement_; + return instancePlacement_ == null + ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance() + : instancePlacement_; } /** + * + * *
    * Optional. Placement related info for this node.
    * When unspecified, the VPC's default tenancy will be used.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder getInstancePlacementOrBuilder() { - return instancePlacement_ == null ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance() : instancePlacement_; + public com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder + getInstancePlacementOrBuilder() { + return instancePlacement_ == null + ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance() + : instancePlacement_; } public static final int AUTOSCALING_METRICS_COLLECTION_FIELD_NUMBER = 15; - private com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscalingMetricsCollection_; + private com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection + autoscalingMetricsCollection_; /** + * + * *
    * Optional. Configuration related to CloudWatch metrics collection on the
    * Auto Scaling group of the node pool.
@@ -764,7 +933,10 @@ public com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder getInstan
    * When unspecified, metrics collection is disabled.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the autoscalingMetricsCollection field is set. */ @java.lang.Override @@ -772,6 +944,8 @@ public boolean hasAutoscalingMetricsCollection() { return autoscalingMetricsCollection_ != null; } /** + * + * *
    * Optional. Configuration related to CloudWatch metrics collection on the
    * Auto Scaling group of the node pool.
@@ -779,14 +953,23 @@ public boolean hasAutoscalingMetricsCollection() {
    * When unspecified, metrics collection is disabled.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The autoscalingMetricsCollection. */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection getAutoscalingMetricsCollection() { - return autoscalingMetricsCollection_ == null ? com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.getDefaultInstance() : autoscalingMetricsCollection_; + public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection + getAutoscalingMetricsCollection() { + return autoscalingMetricsCollection_ == null + ? com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection + .getDefaultInstance() + : autoscalingMetricsCollection_; } /** + * + * *
    * Optional. Configuration related to CloudWatch metrics collection on the
    * Auto Scaling group of the node pool.
@@ -794,16 +977,24 @@ public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection ge
    * When unspecified, metrics collection is disabled.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollectionOrBuilder getAutoscalingMetricsCollectionOrBuilder() { - return autoscalingMetricsCollection_ == null ? com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.getDefaultInstance() : autoscalingMetricsCollection_; + public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollectionOrBuilder + getAutoscalingMetricsCollectionOrBuilder() { + return autoscalingMetricsCollection_ == null + ? com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection + .getDefaultInstance() + : autoscalingMetricsCollection_; } public static final int SPOT_CONFIG_FIELD_NUMBER = 16; private com.google.cloud.gkemulticloud.v1.SpotConfig spotConfig_; /** + * + * *
    * Optional. Configuration for provisioning EC2 Spot instances
    *
@@ -812,7 +1003,10 @@ public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollectionOrB
    * This field is mutually exclusive with `instance_type`.
    * 
* - * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the spotConfig field is set. */ @java.lang.Override @@ -820,6 +1014,8 @@ public boolean hasSpotConfig() { return spotConfig_ != null; } /** + * + * *
    * Optional. Configuration for provisioning EC2 Spot instances
    *
@@ -828,14 +1024,21 @@ public boolean hasSpotConfig() {
    * This field is mutually exclusive with `instance_type`.
    * 
* - * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The spotConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.SpotConfig getSpotConfig() { - return spotConfig_ == null ? com.google.cloud.gkemulticloud.v1.SpotConfig.getDefaultInstance() : spotConfig_; + return spotConfig_ == null + ? com.google.cloud.gkemulticloud.v1.SpotConfig.getDefaultInstance() + : spotConfig_; } /** + * + * *
    * Optional. Configuration for provisioning EC2 Spot instances
    *
@@ -844,14 +1047,19 @@ public com.google.cloud.gkemulticloud.v1.SpotConfig getSpotConfig() {
    * This field is mutually exclusive with `instance_type`.
    * 
* - * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.SpotConfigOrBuilder getSpotConfigOrBuilder() { - return spotConfig_ == null ? com.google.cloud.gkemulticloud.v1.SpotConfig.getDefaultInstance() : spotConfig_; + return spotConfig_ == null + ? com.google.cloud.gkemulticloud.v1.SpotConfig.getDefaultInstance() + : spotConfig_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -863,8 +1071,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceType_); } @@ -874,18 +1081,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < taints_.size(); i++) { output.writeMessage(3, taints_.get(i)); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 4); - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetTags(), - TagsDefaultEntryHolder.defaultEntry, - 5); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetTags(), TagsDefaultEntryHolder.defaultEntry, 5); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(iamInstanceProfile_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, iamInstanceProfile_); } @@ -926,39 +1125,36 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instanceType_); } if (rootVolume_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getRootVolume()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRootVolume()); } for (int i = 0; i < taints_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, taints_.get(i)); - } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, labels__); - } - for (java.util.Map.Entry entry - : internalGetTags().getMap().entrySet()) { - com.google.protobuf.MapEntry - tags__ = TagsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, tags__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, taints_.get(i)); + } + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__); + } + for (java.util.Map.Entry entry : + internalGetTags().getMap().entrySet()) { + com.google.protobuf.MapEntry tags__ = + TagsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, tags__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(iamInstanceProfile_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, iamInstanceProfile_); } if (sshConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getSshConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getSshConfig()); } { int dataSize = 0; @@ -972,24 +1168,21 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, imageType_); } if (proxyConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getProxyConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getProxyConfig()); } if (configEncryption_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, getConfigEncryption()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getConfigEncryption()); } if (instancePlacement_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, getInstancePlacement()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getInstancePlacement()); } if (autoscalingMetricsCollection_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, getAutoscalingMetricsCollection()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 15, getAutoscalingMetricsCollection()); } if (spotConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, getSpotConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getSpotConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -999,61 +1192,49 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsNodeConfig)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsNodeConfig other = (com.google.cloud.gkemulticloud.v1.AwsNodeConfig) obj; + com.google.cloud.gkemulticloud.v1.AwsNodeConfig other = + (com.google.cloud.gkemulticloud.v1.AwsNodeConfig) obj; - if (!getInstanceType() - .equals(other.getInstanceType())) return false; + if (!getInstanceType().equals(other.getInstanceType())) return false; if (hasRootVolume() != other.hasRootVolume()) return false; if (hasRootVolume()) { - if (!getRootVolume() - .equals(other.getRootVolume())) return false; - } - if (!getTaintsList() - .equals(other.getTaintsList())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (!internalGetTags().equals( - other.internalGetTags())) return false; - if (!getIamInstanceProfile() - .equals(other.getIamInstanceProfile())) return false; - if (!getImageType() - .equals(other.getImageType())) return false; + if (!getRootVolume().equals(other.getRootVolume())) return false; + } + if (!getTaintsList().equals(other.getTaintsList())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetTags().equals(other.internalGetTags())) return false; + if (!getIamInstanceProfile().equals(other.getIamInstanceProfile())) return false; + if (!getImageType().equals(other.getImageType())) return false; if (hasSshConfig() != other.hasSshConfig()) return false; if (hasSshConfig()) { - if (!getSshConfig() - .equals(other.getSshConfig())) return false; + if (!getSshConfig().equals(other.getSshConfig())) return false; } - if (!getSecurityGroupIdsList() - .equals(other.getSecurityGroupIdsList())) return false; + if (!getSecurityGroupIdsList().equals(other.getSecurityGroupIdsList())) return false; if (hasProxyConfig() != other.hasProxyConfig()) return false; if (hasProxyConfig()) { - if (!getProxyConfig() - .equals(other.getProxyConfig())) return false; + if (!getProxyConfig().equals(other.getProxyConfig())) return false; } if (hasConfigEncryption() != other.hasConfigEncryption()) return false; if (hasConfigEncryption()) { - if (!getConfigEncryption() - .equals(other.getConfigEncryption())) return false; + if (!getConfigEncryption().equals(other.getConfigEncryption())) return false; } if (hasInstancePlacement() != other.hasInstancePlacement()) return false; if (hasInstancePlacement()) { - if (!getInstancePlacement() - .equals(other.getInstancePlacement())) return false; + if (!getInstancePlacement().equals(other.getInstancePlacement())) return false; } if (hasAutoscalingMetricsCollection() != other.hasAutoscalingMetricsCollection()) return false; if (hasAutoscalingMetricsCollection()) { - if (!getAutoscalingMetricsCollection() - .equals(other.getAutoscalingMetricsCollection())) return false; + if (!getAutoscalingMetricsCollection().equals(other.getAutoscalingMetricsCollection())) + return false; } if (hasSpotConfig() != other.hasSpotConfig()) return false; if (hasSpotConfig()) { - if (!getSpotConfig() - .equals(other.getSpotConfig())) return false; + if (!getSpotConfig().equals(other.getSpotConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1121,158 +1302,160 @@ public int hashCode() { return hash; } - public static com.google.cloud.gkemulticloud.v1.AwsNodeConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.gkemulticloud.v1.AwsNodeConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsNodeConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsNodeConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsNodeConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsNodeConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsNodeConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsNodeConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsNodeConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsNodeConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsNodeConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsNodeConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsNodeConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsNodeConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsNodeConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Parameters that describe the nodes in a cluster.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsNodeConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsNodeConfig) com.google.cloud.gkemulticloud.v1.AwsNodeConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: return internalGetLabels(); case 5: return internalGetTags(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 4: return internalGetMutableLabels(); case 5: return internalGetMutableTags(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsNodeConfig.class, com.google.cloud.gkemulticloud.v1.AwsNodeConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsNodeConfig.class, + com.google.cloud.gkemulticloud.v1.AwsNodeConfig.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AwsNodeConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1299,8 +1482,7 @@ public Builder clear() { sshConfigBuilder_.dispose(); sshConfigBuilder_ = null; } - securityGroupIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + securityGroupIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); proxyConfig_ = null; if (proxyConfigBuilder_ != null) { proxyConfigBuilder_.dispose(); @@ -1330,9 +1512,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_descriptor; } @java.lang.Override @@ -1351,14 +1533,18 @@ public com.google.cloud.gkemulticloud.v1.AwsNodeConfig build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsNodeConfig buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsNodeConfig result = new com.google.cloud.gkemulticloud.v1.AwsNodeConfig(this); + com.google.cloud.gkemulticloud.v1.AwsNodeConfig result = + new com.google.cloud.gkemulticloud.v1.AwsNodeConfig(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.AwsNodeConfig result) { + private void buildPartialRepeatedFields( + com.google.cloud.gkemulticloud.v1.AwsNodeConfig result) { if (taintsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { taints_ = java.util.Collections.unmodifiableList(taints_); @@ -1376,9 +1562,7 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsNodeConfig resul result.instanceType_ = instanceType_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.rootVolume_ = rootVolumeBuilder_ == null - ? rootVolume_ - : rootVolumeBuilder_.build(); + result.rootVolume_ = rootVolumeBuilder_ == null ? rootVolume_ : rootVolumeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.labels_ = internalGetLabels(); @@ -1395,38 +1579,34 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsNodeConfig resul result.imageType_ = imageType_; } if (((from_bitField0_ & 0x00000080) != 0)) { - result.sshConfig_ = sshConfigBuilder_ == null - ? sshConfig_ - : sshConfigBuilder_.build(); + result.sshConfig_ = sshConfigBuilder_ == null ? sshConfig_ : sshConfigBuilder_.build(); } if (((from_bitField0_ & 0x00000100) != 0)) { securityGroupIds_.makeImmutable(); result.securityGroupIds_ = securityGroupIds_; } if (((from_bitField0_ & 0x00000200) != 0)) { - result.proxyConfig_ = proxyConfigBuilder_ == null - ? proxyConfig_ - : proxyConfigBuilder_.build(); + result.proxyConfig_ = + proxyConfigBuilder_ == null ? proxyConfig_ : proxyConfigBuilder_.build(); } if (((from_bitField0_ & 0x00000400) != 0)) { - result.configEncryption_ = configEncryptionBuilder_ == null - ? configEncryption_ - : configEncryptionBuilder_.build(); + result.configEncryption_ = + configEncryptionBuilder_ == null ? configEncryption_ : configEncryptionBuilder_.build(); } if (((from_bitField0_ & 0x00000800) != 0)) { - result.instancePlacement_ = instancePlacementBuilder_ == null - ? instancePlacement_ - : instancePlacementBuilder_.build(); + result.instancePlacement_ = + instancePlacementBuilder_ == null + ? instancePlacement_ + : instancePlacementBuilder_.build(); } if (((from_bitField0_ & 0x00001000) != 0)) { - result.autoscalingMetricsCollection_ = autoscalingMetricsCollectionBuilder_ == null - ? autoscalingMetricsCollection_ - : autoscalingMetricsCollectionBuilder_.build(); + result.autoscalingMetricsCollection_ = + autoscalingMetricsCollectionBuilder_ == null + ? autoscalingMetricsCollection_ + : autoscalingMetricsCollectionBuilder_.build(); } if (((from_bitField0_ & 0x00002000) != 0)) { - result.spotConfig_ = spotConfigBuilder_ == null - ? spotConfig_ - : spotConfigBuilder_.build(); + result.spotConfig_ = spotConfigBuilder_ == null ? spotConfig_ : spotConfigBuilder_.build(); } } @@ -1434,38 +1614,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsNodeConfig resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AwsNodeConfig) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsNodeConfig)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsNodeConfig) other); } else { super.mergeFrom(other); return this; @@ -1473,7 +1654,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsNodeConfig other) { - if (other == com.google.cloud.gkemulticloud.v1.AwsNodeConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AwsNodeConfig.getDefaultInstance()) + return this; if (!other.getInstanceType().isEmpty()) { instanceType_ = other.instanceType_; bitField0_ |= 0x00000001; @@ -1500,19 +1682,18 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsNodeConfig other) taintsBuilder_ = null; taints_ = other.taints_; bitField0_ = (bitField0_ & ~0x00000004); - taintsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTaintsFieldBuilder() : null; + taintsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTaintsFieldBuilder() + : null; } else { taintsBuilder_.addAllMessages(other.taints_); } } } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); bitField0_ |= 0x00000008; - internalGetMutableTags().mergeFrom( - other.internalGetTags()); + internalGetMutableTags().mergeFrom(other.internalGetTags()); bitField0_ |= 0x00000010; if (!other.getIamInstanceProfile().isEmpty()) { iamInstanceProfile_ = other.iamInstanceProfile_; @@ -1578,113 +1759,117 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - instanceType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getRootVolumeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - com.google.cloud.gkemulticloud.v1.NodeTaint m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.NodeTaint.parser(), - extensionRegistry); - if (taintsBuilder_ == null) { - ensureTaintsIsMutable(); - taints_.add(m); - } else { - taintsBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: { - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableLabels().getMutableMap().put( - labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - com.google.protobuf.MapEntry - tags__ = input.readMessage( - TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableTags().getMutableMap().put( - tags__.getKey(), tags__.getValue()); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - iamInstanceProfile_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 74: { - input.readMessage( - getSshConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 74 - case 82: { - java.lang.String s = input.readStringRequireUtf8(); - ensureSecurityGroupIdsIsMutable(); - securityGroupIds_.add(s); - break; - } // case 82 - case 90: { - imageType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 90 - case 98: { - input.readMessage( - getProxyConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000200; - break; - } // case 98 - case 106: { - input.readMessage( - getConfigEncryptionFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000400; - break; - } // case 106 - case 114: { - input.readMessage( - getInstancePlacementFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000800; - break; - } // case 114 - case 122: { - input.readMessage( - getAutoscalingMetricsCollectionFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00001000; - break; - } // case 122 - case 130: { - input.readMessage( - getSpotConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00002000; - break; - } // case 130 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + instanceType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getRootVolumeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + com.google.cloud.gkemulticloud.v1.NodeTaint m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.NodeTaint.parser(), extensionRegistry); + if (taintsBuilder_ == null) { + ensureTaintsIsMutable(); + taints_.add(m); + } else { + taintsBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + com.google.protobuf.MapEntry tags__ = + input.readMessage( + TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableTags().getMutableMap().put(tags__.getKey(), tags__.getValue()); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + iamInstanceProfile_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 74: + { + input.readMessage(getSshConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 74 + case 82: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureSecurityGroupIdsIsMutable(); + securityGroupIds_.add(s); + break; + } // case 82 + case 90: + { + imageType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 90 + case 98: + { + input.readMessage(getProxyConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 98 + case 106: + { + input.readMessage( + getConfigEncryptionFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 106 + case 114: + { + input.readMessage( + getInstancePlacementFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000800; + break; + } // case 114 + case 122: + { + input.readMessage( + getAutoscalingMetricsCollectionFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00001000; + break; + } // case 122 + case 130: + { + input.readMessage(getSpotConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00002000; + break; + } // case 130 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1694,10 +1879,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object instanceType_ = ""; /** + * + * *
      * Optional. The EC2 instance type when creating on-Demand instances.
      *
@@ -1706,13 +1894,13 @@ public Builder mergeFrom(
      * 
* * string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The instanceType. */ public java.lang.String getInstanceType() { java.lang.Object ref = instanceType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceType_ = s; return s; @@ -1721,6 +1909,8 @@ public java.lang.String getInstanceType() { } } /** + * + * *
      * Optional. The EC2 instance type when creating on-Demand instances.
      *
@@ -1729,15 +1919,14 @@ public java.lang.String getInstanceType() {
      * 
* * string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for instanceType. */ - public com.google.protobuf.ByteString - getInstanceTypeBytes() { + public com.google.protobuf.ByteString getInstanceTypeBytes() { java.lang.Object ref = instanceType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instanceType_ = b; return b; } else { @@ -1745,6 +1934,8 @@ public java.lang.String getInstanceType() { } } /** + * + * *
      * Optional. The EC2 instance type when creating on-Demand instances.
      *
@@ -1753,18 +1944,22 @@ public java.lang.String getInstanceType() {
      * 
* * string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The instanceType to set. * @return This builder for chaining. */ - public Builder setInstanceType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } instanceType_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Optional. The EC2 instance type when creating on-Demand instances.
      *
@@ -1773,6 +1968,7 @@ public Builder setInstanceType(
      * 
* * string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearInstanceType() { @@ -1782,6 +1978,8 @@ public Builder clearInstanceType() { return this; } /** + * + * *
      * Optional. The EC2 instance type when creating on-Demand instances.
      *
@@ -1790,12 +1988,14 @@ public Builder clearInstanceType() {
      * 
* * string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for instanceType to set. * @return This builder for chaining. */ - public Builder setInstanceTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); instanceType_ = value; bitField0_ |= 0x00000001; @@ -1805,8 +2005,13 @@ public Builder setInstanceTypeBytes( private com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate rootVolume_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder> rootVolumeBuilder_; + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder> + rootVolumeBuilder_; /** + * + * *
      * Optional. Template for the root volume provisioned for node pool nodes.
      * Volumes will be provisioned in the availability zone assigned
@@ -1815,13 +2020,18 @@ public Builder setInstanceTypeBytes(
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the rootVolume field is set. */ public boolean hasRootVolume() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Optional. Template for the root volume provisioned for node pool nodes.
      * Volumes will be provisioned in the availability zone assigned
@@ -1830,17 +2040,24 @@ public boolean hasRootVolume() {
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The rootVolume. */ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getRootVolume() { if (rootVolumeBuilder_ == null) { - return rootVolume_ == null ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() : rootVolume_; + return rootVolume_ == null + ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() + : rootVolume_; } else { return rootVolumeBuilder_.getMessage(); } } /** + * + * *
      * Optional. Template for the root volume provisioned for node pool nodes.
      * Volumes will be provisioned in the availability zone assigned
@@ -1849,7 +2066,9 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getRootVolume() {
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRootVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate value) { if (rootVolumeBuilder_ == null) { @@ -1865,6 +2084,8 @@ public Builder setRootVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate return this; } /** + * + * *
      * Optional. Template for the root volume provisioned for node pool nodes.
      * Volumes will be provisioned in the availability zone assigned
@@ -1873,7 +2094,9 @@ public Builder setRootVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRootVolume( com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder builderForValue) { @@ -1887,6 +2110,8 @@ public Builder setRootVolume( return this; } /** + * + * *
      * Optional. Template for the root volume provisioned for node pool nodes.
      * Volumes will be provisioned in the availability zone assigned
@@ -1895,13 +2120,16 @@ public Builder setRootVolume(
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeRootVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate value) { if (rootVolumeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - rootVolume_ != null && - rootVolume_ != com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && rootVolume_ != null + && rootVolume_ + != com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance()) { getRootVolumeBuilder().mergeFrom(value); } else { rootVolume_ = value; @@ -1914,6 +2142,8 @@ public Builder mergeRootVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTempla return this; } /** + * + * *
      * Optional. Template for the root volume provisioned for node pool nodes.
      * Volumes will be provisioned in the availability zone assigned
@@ -1922,7 +2152,9 @@ public Builder mergeRootVolume(com.google.cloud.gkemulticloud.v1.AwsVolumeTempla
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearRootVolume() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1935,6 +2167,8 @@ public Builder clearRootVolume() { return this; } /** + * + * *
      * Optional. Template for the root volume provisioned for node pool nodes.
      * Volumes will be provisioned in the availability zone assigned
@@ -1943,7 +2177,9 @@ public Builder clearRootVolume() {
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder getRootVolumeBuilder() { bitField0_ |= 0x00000002; @@ -1951,6 +2187,8 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder getRootVolume return getRootVolumeFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Template for the root volume provisioned for node pool nodes.
      * Volumes will be provisioned in the availability zone assigned
@@ -1959,17 +2197,22 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder getRootVolume
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getRootVolumeOrBuilder() { if (rootVolumeBuilder_ != null) { return rootVolumeBuilder_.getMessageOrBuilder(); } else { - return rootVolume_ == null ? - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() : rootVolume_; + return rootVolume_ == null + ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance() + : rootVolume_; } } /** + * + * *
      * Optional. Template for the root volume provisioned for node pool nodes.
      * Volumes will be provisioned in the availability zone assigned
@@ -1978,40 +2221,53 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getRootVolum
      * When unspecified, it defaults to 32 GiB with the GP2 volume type.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder> getRootVolumeFieldBuilder() { if (rootVolumeBuilder_ == null) { - rootVolumeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder>( - getRootVolume(), - getParentForChildren(), - isClean()); + rootVolumeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate, + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder, + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder>( + getRootVolume(), getParentForChildren(), isClean()); rootVolume_ = null; } return rootVolumeBuilder_; } private java.util.List taints_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTaintsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { taints_ = new java.util.ArrayList(taints_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.NodeTaint, com.google.cloud.gkemulticloud.v1.NodeTaint.Builder, com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder> taintsBuilder_; + com.google.cloud.gkemulticloud.v1.NodeTaint, + com.google.cloud.gkemulticloud.v1.NodeTaint.Builder, + com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder> + taintsBuilder_; /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getTaintsList() { if (taintsBuilder_ == null) { @@ -2021,11 +2277,15 @@ public java.util.List getTaintsList } } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getTaintsCount() { if (taintsBuilder_ == null) { @@ -2035,11 +2295,15 @@ public int getTaintsCount() { } } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.NodeTaint getTaints(int index) { if (taintsBuilder_ == null) { @@ -2049,14 +2313,17 @@ public com.google.cloud.gkemulticloud.v1.NodeTaint getTaints(int index) { } } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setTaints( - int index, com.google.cloud.gkemulticloud.v1.NodeTaint value) { + public Builder setTaints(int index, com.google.cloud.gkemulticloud.v1.NodeTaint value) { if (taintsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2070,11 +2337,15 @@ public Builder setTaints( return this; } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setTaints( int index, com.google.cloud.gkemulticloud.v1.NodeTaint.Builder builderForValue) { @@ -2088,11 +2359,15 @@ public Builder setTaints( return this; } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addTaints(com.google.cloud.gkemulticloud.v1.NodeTaint value) { if (taintsBuilder_ == null) { @@ -2108,14 +2383,17 @@ public Builder addTaints(com.google.cloud.gkemulticloud.v1.NodeTaint value) { return this; } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addTaints( - int index, com.google.cloud.gkemulticloud.v1.NodeTaint value) { + public Builder addTaints(int index, com.google.cloud.gkemulticloud.v1.NodeTaint value) { if (taintsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2129,14 +2407,17 @@ public Builder addTaints( return this; } /** - *
+     *
+     *
+     * 
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addTaints( - com.google.cloud.gkemulticloud.v1.NodeTaint.Builder builderForValue) { + public Builder addTaints(com.google.cloud.gkemulticloud.v1.NodeTaint.Builder builderForValue) { if (taintsBuilder_ == null) { ensureTaintsIsMutable(); taints_.add(builderForValue.build()); @@ -2147,11 +2428,15 @@ public Builder addTaints( return this; } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addTaints( int index, com.google.cloud.gkemulticloud.v1.NodeTaint.Builder builderForValue) { @@ -2165,18 +2450,21 @@ public Builder addTaints( return this; } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllTaints( java.lang.Iterable values) { if (taintsBuilder_ == null) { ensureTaintsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, taints_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taints_); onChanged(); } else { taintsBuilder_.addAllMessages(values); @@ -2184,11 +2472,15 @@ public Builder addAllTaints( return this; } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearTaints() { if (taintsBuilder_ == null) { @@ -2201,11 +2493,15 @@ public Builder clearTaints() { return this; } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeTaints(int index) { if (taintsBuilder_ == null) { @@ -2218,39 +2514,50 @@ public Builder removeTaints(int index) { return this; } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.NodeTaint.Builder getTaintsBuilder( - int index) { + public com.google.cloud.gkemulticloud.v1.NodeTaint.Builder getTaintsBuilder(int index) { return getTaintsFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder( - int index) { + public com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index) { if (taintsBuilder_ == null) { - return taints_.get(index); } else { + return taints_.get(index); + } else { return taintsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getTaintsOrBuilderList() { + public java.util.List + getTaintsOrBuilderList() { if (taintsBuilder_ != null) { return taintsBuilder_.getMessageOrBuilderList(); } else { @@ -2258,69 +2565,81 @@ public com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder( } } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.NodeTaint.Builder addTaintsBuilder() { - return getTaintsFieldBuilder().addBuilder( - com.google.cloud.gkemulticloud.v1.NodeTaint.getDefaultInstance()); + return getTaintsFieldBuilder() + .addBuilder(com.google.cloud.gkemulticloud.v1.NodeTaint.getDefaultInstance()); } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.NodeTaint.Builder addTaintsBuilder( - int index) { - return getTaintsFieldBuilder().addBuilder( - index, com.google.cloud.gkemulticloud.v1.NodeTaint.getDefaultInstance()); + public com.google.cloud.gkemulticloud.v1.NodeTaint.Builder addTaintsBuilder(int index) { + return getTaintsFieldBuilder() + .addBuilder(index, com.google.cloud.gkemulticloud.v1.NodeTaint.getDefaultInstance()); } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getTaintsBuilderList() { + public java.util.List + getTaintsBuilderList() { return getTaintsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.NodeTaint, com.google.cloud.gkemulticloud.v1.NodeTaint.Builder, com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder> + com.google.cloud.gkemulticloud.v1.NodeTaint, + com.google.cloud.gkemulticloud.v1.NodeTaint.Builder, + com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder> getTaintsFieldBuilder() { if (taintsBuilder_ == null) { - taintsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.NodeTaint, com.google.cloud.gkemulticloud.v1.NodeTaint.Builder, com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder>( - taints_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); + taintsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.NodeTaint, + com.google.cloud.gkemulticloud.v1.NodeTaint.Builder, + com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder>( + taints_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); taints_ = null; } return taintsBuilder_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2329,10 +2648,13 @@ public com.google.cloud.gkemulticloud.v1.NodeTaint.Builder addTaintsBuilder( onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Optional. The initial labels assigned to nodes of this node pool. An object
      * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -2342,20 +2664,21 @@ public int getLabelsCount() {
      * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public boolean containsLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getLabelsMap()} instead.
-     */
+    /** Use {@link #getLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
+     *
+     *
      * 
      * Optional. The initial labels assigned to nodes of this node pool. An object
      * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -2369,6 +2692,8 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Optional. The initial labels assigned to nodes of this node pool. An object
      * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -2378,17 +2703,19 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getLabelsOrDefault(
+    public /* nullable */ java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Optional. The initial labels assigned to nodes of this node pool. An object
      * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -2398,23 +2725,25 @@ java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000008);
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. The initial labels assigned to nodes of this node pool. An object
      * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -2423,23 +2752,22 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder removeLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableLabels().getMutableMap()
-          .remove(key);
+    public Builder removeLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableLabels() {
+    public java.util.Map getMutableLabels() {
       bitField0_ |= 0x00000008;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Optional. The initial labels assigned to nodes of this node pool. An object
      * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -2448,17 +2776,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableLabels().getMutableMap().put(key, value);
       bitField0_ |= 0x00000008;
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. The initial labels assigned to nodes of this node pool. An object
      * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -2467,29 +2798,25 @@ public Builder putLabels(
      *
      * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putAllLabels(
-        java.util.Map values) {
-      internalGetMutableLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllLabels(java.util.Map values) {
+      internalGetMutableLabels().getMutableMap().putAll(values);
       bitField0_ |= 0x00000008;
       return this;
     }
 
-    private com.google.protobuf.MapField<
-        java.lang.String, java.lang.String> tags_;
-    private com.google.protobuf.MapField
-        internalGetTags() {
+    private com.google.protobuf.MapField tags_;
+
+    private com.google.protobuf.MapField internalGetTags() {
       if (tags_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(
-            TagsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(TagsDefaultEntryHolder.defaultEntry);
       }
       return tags_;
     }
+
     private com.google.protobuf.MapField
         internalGetMutableTags() {
       if (tags_ == null) {
-        tags_ = com.google.protobuf.MapField.newMapField(
-            TagsDefaultEntryHolder.defaultEntry);
+        tags_ = com.google.protobuf.MapField.newMapField(TagsDefaultEntryHolder.defaultEntry);
       }
       if (!tags_.isMutable()) {
         tags_ = tags_.copy();
@@ -2498,10 +2825,13 @@ public Builder putAllLabels(
       onChanged();
       return tags_;
     }
+
     public int getTagsCount() {
       return internalGetTags().getMap().size();
     }
     /**
+     *
+     *
      * 
      * Optional. Key/value metadata to assign to each underlying AWS resource.
      * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
@@ -2512,20 +2842,21 @@ public int getTagsCount() {
      * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public boolean containsTags(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsTags(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetTags().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getTagsMap()} instead.
-     */
+    /** Use {@link #getTagsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getTags() {
       return getTagsMap();
     }
     /**
+     *
+     *
      * 
      * Optional. Key/value metadata to assign to each underlying AWS resource.
      * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
@@ -2540,6 +2871,8 @@ public java.util.Map getTagsMap() {
       return internalGetTags().getMap();
     }
     /**
+     *
+     *
      * 
      * Optional. Key/value metadata to assign to each underlying AWS resource.
      * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
@@ -2550,17 +2883,19 @@ public java.util.Map getTagsMap() {
      * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getTagsOrDefault(
+    public /* nullable */ java.lang.String getTagsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetTags().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetTags().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Optional. Key/value metadata to assign to each underlying AWS resource.
      * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
@@ -2571,23 +2906,25 @@ java.lang.String getTagsOrDefault(
      * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public java.lang.String getTagsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetTags().getMap();
+    public java.lang.String getTagsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetTags().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearTags() {
       bitField0_ = (bitField0_ & ~0x00000010);
-      internalGetMutableTags().getMutableMap()
-          .clear();
+      internalGetMutableTags().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. Key/value metadata to assign to each underlying AWS resource.
      * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
@@ -2597,23 +2934,22 @@ public Builder clearTags() {
      *
      * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder removeTags(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableTags().getMutableMap()
-          .remove(key);
+    public Builder removeTags(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableTags().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableTags() {
+    public java.util.Map getMutableTags() {
       bitField0_ |= 0x00000010;
       return internalGetMutableTags().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Optional. Key/value metadata to assign to each underlying AWS resource.
      * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
@@ -2623,17 +2959,20 @@ public Builder removeTags(
      *
      * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putTags(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableTags().getMutableMap()
-          .put(key, value);
+    public Builder putTags(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableTags().getMutableMap().put(key, value);
       bitField0_ |= 0x00000010;
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. Key/value metadata to assign to each underlying AWS resource.
      * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
@@ -2643,29 +2982,29 @@ public Builder putTags(
      *
      * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putAllTags(
-        java.util.Map values) {
-      internalGetMutableTags().getMutableMap()
-          .putAll(values);
+    public Builder putAllTags(java.util.Map values) {
+      internalGetMutableTags().getMutableMap().putAll(values);
       bitField0_ |= 0x00000010;
       return this;
     }
 
     private java.lang.Object iamInstanceProfile_ = "";
     /**
+     *
+     *
      * 
      * Required. The name or ARN of the AWS IAM role assigned to nodes in the
      * pool.
      * 
* * string iam_instance_profile = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The iamInstanceProfile. */ public java.lang.String getIamInstanceProfile() { java.lang.Object ref = iamInstanceProfile_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); iamInstanceProfile_ = s; return s; @@ -2674,21 +3013,22 @@ public java.lang.String getIamInstanceProfile() { } } /** + * + * *
      * Required. The name or ARN of the AWS IAM role assigned to nodes in the
      * pool.
      * 
* * string iam_instance_profile = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for iamInstanceProfile. */ - public com.google.protobuf.ByteString - getIamInstanceProfileBytes() { + public com.google.protobuf.ByteString getIamInstanceProfileBytes() { java.lang.Object ref = iamInstanceProfile_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); iamInstanceProfile_ = b; return b; } else { @@ -2696,30 +3036,37 @@ public java.lang.String getIamInstanceProfile() { } } /** + * + * *
      * Required. The name or ARN of the AWS IAM role assigned to nodes in the
      * pool.
      * 
* * string iam_instance_profile = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The iamInstanceProfile to set. * @return This builder for chaining. */ - public Builder setIamInstanceProfile( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIamInstanceProfile(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } iamInstanceProfile_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Required. The name or ARN of the AWS IAM role assigned to nodes in the
      * pool.
      * 
* * string iam_instance_profile = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearIamInstanceProfile() { @@ -2729,18 +3076,22 @@ public Builder clearIamInstanceProfile() { return this; } /** + * + * *
      * Required. The name or ARN of the AWS IAM role assigned to nodes in the
      * pool.
      * 
* * string iam_instance_profile = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for iamInstanceProfile to set. * @return This builder for chaining. */ - public Builder setIamInstanceProfileBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIamInstanceProfileBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); iamInstanceProfile_ = value; bitField0_ |= 0x00000020; @@ -2750,6 +3101,8 @@ public Builder setIamInstanceProfileBytes( private java.lang.Object imageType_ = ""; /** + * + * *
      * Optional. The OS image type to use on node pool instances.
      * Can be unspecified, or have a value of `ubuntu`.
@@ -2758,13 +3111,13 @@ public Builder setIamInstanceProfileBytes(
      * 
* * string image_type = 11 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The imageType. */ public java.lang.String getImageType() { java.lang.Object ref = imageType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; @@ -2773,6 +3126,8 @@ public java.lang.String getImageType() { } } /** + * + * *
      * Optional. The OS image type to use on node pool instances.
      * Can be unspecified, or have a value of `ubuntu`.
@@ -2781,15 +3136,14 @@ public java.lang.String getImageType() {
      * 
* * string image_type = 11 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for imageType. */ - public com.google.protobuf.ByteString - getImageTypeBytes() { + public com.google.protobuf.ByteString getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageType_ = b; return b; } else { @@ -2797,6 +3151,8 @@ public java.lang.String getImageType() { } } /** + * + * *
      * Optional. The OS image type to use on node pool instances.
      * Can be unspecified, or have a value of `ubuntu`.
@@ -2805,18 +3161,22 @@ public java.lang.String getImageType() {
      * 
* * string image_type = 11 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The imageType to set. * @return This builder for chaining. */ - public Builder setImageType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setImageType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } imageType_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Optional. The OS image type to use on node pool instances.
      * Can be unspecified, or have a value of `ubuntu`.
@@ -2825,6 +3185,7 @@ public Builder setImageType(
      * 
* * string image_type = 11 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearImageType() { @@ -2834,6 +3195,8 @@ public Builder clearImageType() { return this; } /** + * + * *
      * Optional. The OS image type to use on node pool instances.
      * Can be unspecified, or have a value of `ubuntu`.
@@ -2842,12 +3205,14 @@ public Builder clearImageType() {
      * 
* * string image_type = 11 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for imageType to set. * @return This builder for chaining. */ - public Builder setImageTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setImageTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); imageType_ = value; bitField0_ |= 0x00000040; @@ -2857,39 +3222,58 @@ public Builder setImageTypeBytes( private com.google.cloud.gkemulticloud.v1.AwsSshConfig sshConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsSshConfig, com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder, com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder> sshConfigBuilder_; + com.google.cloud.gkemulticloud.v1.AwsSshConfig, + com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder, + com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder> + sshConfigBuilder_; /** + * + * *
      * Optional. The SSH configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the sshConfig field is set. */ public boolean hasSshConfig() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * Optional. The SSH configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The sshConfig. */ public com.google.cloud.gkemulticloud.v1.AwsSshConfig getSshConfig() { if (sshConfigBuilder_ == null) { - return sshConfig_ == null ? com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance() : sshConfig_; + return sshConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance() + : sshConfig_; } else { return sshConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. The SSH configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setSshConfig(com.google.cloud.gkemulticloud.v1.AwsSshConfig value) { if (sshConfigBuilder_ == null) { @@ -2905,11 +3289,15 @@ public Builder setSshConfig(com.google.cloud.gkemulticloud.v1.AwsSshConfig value return this; } /** + * + * *
      * Optional. The SSH configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setSshConfig( com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder builderForValue) { @@ -2923,17 +3311,21 @@ public Builder setSshConfig( return this; } /** + * + * *
      * Optional. The SSH configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeSshConfig(com.google.cloud.gkemulticloud.v1.AwsSshConfig value) { if (sshConfigBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - sshConfig_ != null && - sshConfig_ != com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && sshConfig_ != null + && sshConfig_ != com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance()) { getSshConfigBuilder().mergeFrom(value); } else { sshConfig_ = value; @@ -2946,11 +3338,15 @@ public Builder mergeSshConfig(com.google.cloud.gkemulticloud.v1.AwsSshConfig val return this; } /** + * + * *
      * Optional. The SSH configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearSshConfig() { bitField0_ = (bitField0_ & ~0x00000080); @@ -2963,11 +3359,15 @@ public Builder clearSshConfig() { return this; } /** + * + * *
      * Optional. The SSH configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder getSshConfigBuilder() { bitField0_ |= 0x00000080; @@ -2975,36 +3375,48 @@ public com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder getSshConfigBuilde return getSshConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The SSH configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder getSshConfigOrBuilder() { if (sshConfigBuilder_ != null) { return sshConfigBuilder_.getMessageOrBuilder(); } else { - return sshConfig_ == null ? - com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance() : sshConfig_; + return sshConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AwsSshConfig.getDefaultInstance() + : sshConfig_; } } /** + * + * *
      * Optional. The SSH configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsSshConfig, com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder, com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsSshConfig, + com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder, + com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder> getSshConfigFieldBuilder() { if (sshConfigBuilder_ == null) { - sshConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsSshConfig, com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder, com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder>( - getSshConfig(), - getParentForChildren(), - isClean()); + sshConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsSshConfig, + com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder, + com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder>( + getSshConfig(), getParentForChildren(), isClean()); sshConfig_ = null; } return sshConfigBuilder_; @@ -3012,6 +3424,7 @@ public com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder getSshConfigOrBui private com.google.protobuf.LazyStringArrayList securityGroupIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureSecurityGroupIdsIsMutable() { if (!securityGroupIds_.isModifiable()) { securityGroupIds_ = new com.google.protobuf.LazyStringArrayList(securityGroupIds_); @@ -3019,41 +3432,52 @@ private void ensureSecurityGroupIdsIsMutable() { bitField0_ |= 0x00000100; } /** + * + * *
      * Optional. The IDs of additional security groups to add to nodes in this
      * pool. The manager will automatically create security groups with minimum
      * rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the securityGroupIds. */ - public com.google.protobuf.ProtocolStringList - getSecurityGroupIdsList() { + public com.google.protobuf.ProtocolStringList getSecurityGroupIdsList() { securityGroupIds_.makeImmutable(); return securityGroupIds_; } /** + * + * *
      * Optional. The IDs of additional security groups to add to nodes in this
      * pool. The manager will automatically create security groups with minimum
      * rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of securityGroupIds. */ public int getSecurityGroupIdsCount() { return securityGroupIds_.size(); } /** + * + * *
      * Optional. The IDs of additional security groups to add to nodes in this
      * pool. The manager will automatically create security groups with minimum
      * rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The securityGroupIds at the given index. */ @@ -3061,35 +3485,43 @@ public java.lang.String getSecurityGroupIds(int index) { return securityGroupIds_.get(index); } /** + * + * *
      * Optional. The IDs of additional security groups to add to nodes in this
      * pool. The manager will automatically create security groups with minimum
      * rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The bytes of the securityGroupIds at the given index. */ - public com.google.protobuf.ByteString - getSecurityGroupIdsBytes(int index) { + public com.google.protobuf.ByteString getSecurityGroupIdsBytes(int index) { return securityGroupIds_.getByteString(index); } /** + * + * *
      * Optional. The IDs of additional security groups to add to nodes in this
      * pool. The manager will automatically create security groups with minimum
      * rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The securityGroupIds to set. * @return This builder for chaining. */ - public Builder setSecurityGroupIds( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSecurityGroupIds(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSecurityGroupIdsIsMutable(); securityGroupIds_.set(index, value); bitField0_ |= 0x00000100; @@ -3097,19 +3529,24 @@ public Builder setSecurityGroupIds( return this; } /** + * + * *
      * Optional. The IDs of additional security groups to add to nodes in this
      * pool. The manager will automatically create security groups with minimum
      * rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The securityGroupIds to add. * @return This builder for chaining. */ - public Builder addSecurityGroupIds( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSecurityGroupIds(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSecurityGroupIdsIsMutable(); securityGroupIds_.add(value); bitField0_ |= 0x00000100; @@ -3117,56 +3554,67 @@ public Builder addSecurityGroupIds( return this; } /** + * + * *
      * Optional. The IDs of additional security groups to add to nodes in this
      * pool. The manager will automatically create security groups with minimum
      * rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The securityGroupIds to add. * @return This builder for chaining. */ - public Builder addAllSecurityGroupIds( - java.lang.Iterable values) { + public Builder addAllSecurityGroupIds(java.lang.Iterable values) { ensureSecurityGroupIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, securityGroupIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, securityGroupIds_); bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * Optional. The IDs of additional security groups to add to nodes in this
      * pool. The manager will automatically create security groups with minimum
      * rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearSecurityGroupIds() { - securityGroupIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000100);; + securityGroupIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000100); + ; onChanged(); return this; } /** + * + * *
      * Optional. The IDs of additional security groups to add to nodes in this
      * pool. The manager will automatically create security groups with minimum
      * rules needed for a functioning cluster.
      * 
* - * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The bytes of the securityGroupIds to add. * @return This builder for chaining. */ - public Builder addSecurityGroupIdsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSecurityGroupIdsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureSecurityGroupIdsIsMutable(); securityGroupIds_.add(value); @@ -3177,39 +3625,58 @@ public Builder addSecurityGroupIdsBytes( private com.google.cloud.gkemulticloud.v1.AwsProxyConfig proxyConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsProxyConfig, com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder> proxyConfigBuilder_; + com.google.cloud.gkemulticloud.v1.AwsProxyConfig, + com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder, + com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder> + proxyConfigBuilder_; /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the proxyConfig field is set. */ public boolean hasProxyConfig() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The proxyConfig. */ public com.google.cloud.gkemulticloud.v1.AwsProxyConfig getProxyConfig() { if (proxyConfigBuilder_ == null) { - return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance() : proxyConfig_; + return proxyConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance() + : proxyConfig_; } else { return proxyConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setProxyConfig(com.google.cloud.gkemulticloud.v1.AwsProxyConfig value) { if (proxyConfigBuilder_ == null) { @@ -3225,11 +3692,15 @@ public Builder setProxyConfig(com.google.cloud.gkemulticloud.v1.AwsProxyConfig v return this; } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setProxyConfig( com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder builderForValue) { @@ -3243,17 +3714,22 @@ public Builder setProxyConfig( return this; } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeProxyConfig(com.google.cloud.gkemulticloud.v1.AwsProxyConfig value) { if (proxyConfigBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) && - proxyConfig_ != null && - proxyConfig_ != com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) + && proxyConfig_ != null + && proxyConfig_ + != com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance()) { getProxyConfigBuilder().mergeFrom(value); } else { proxyConfig_ = value; @@ -3266,11 +3742,15 @@ public Builder mergeProxyConfig(com.google.cloud.gkemulticloud.v1.AwsProxyConfig return this; } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearProxyConfig() { bitField0_ = (bitField0_ & ~0x00000200); @@ -3283,11 +3763,15 @@ public Builder clearProxyConfig() { return this; } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder getProxyConfigBuilder() { bitField0_ |= 0x00000200; @@ -3295,36 +3779,48 @@ public com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder getProxyConfigBu return getProxyConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder getProxyConfigOrBuilder() { if (proxyConfigBuilder_ != null) { return proxyConfigBuilder_.getMessageOrBuilder(); } else { - return proxyConfig_ == null ? - com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance() : proxyConfig_; + return proxyConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance() + : proxyConfig_; } } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsProxyConfig, com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsProxyConfig, + com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder, + com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder> getProxyConfigFieldBuilder() { if (proxyConfigBuilder_ == null) { - proxyConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsProxyConfig, com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder>( - getProxyConfig(), - getParentForChildren(), - isClean()); + proxyConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsProxyConfig, + com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder, + com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder>( + getProxyConfig(), getParentForChildren(), isClean()); proxyConfig_ = null; } return proxyConfigBuilder_; @@ -3332,41 +3828,61 @@ public com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder getProxyConfigO private com.google.cloud.gkemulticloud.v1.AwsConfigEncryption configEncryption_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption, com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder, com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder> configEncryptionBuilder_; + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption, + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder, + com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder> + configEncryptionBuilder_; /** + * + * *
      * Required. Config encryption for user data.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the configEncryption field is set. */ public boolean hasConfigEncryption() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * *
      * Required. Config encryption for user data.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The configEncryption. */ public com.google.cloud.gkemulticloud.v1.AwsConfigEncryption getConfigEncryption() { if (configEncryptionBuilder_ == null) { - return configEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance() : configEncryption_; + return configEncryption_ == null + ? com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance() + : configEncryption_; } else { return configEncryptionBuilder_.getMessage(); } } /** + * + * *
      * Required. Config encryption for user data.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setConfigEncryption(com.google.cloud.gkemulticloud.v1.AwsConfigEncryption value) { + public Builder setConfigEncryption( + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption value) { if (configEncryptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3380,11 +3896,15 @@ public Builder setConfigEncryption(com.google.cloud.gkemulticloud.v1.AwsConfigEn return this; } /** + * + * *
      * Required. Config encryption for user data.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setConfigEncryption( com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder builderForValue) { @@ -3398,17 +3918,23 @@ public Builder setConfigEncryption( return this; } /** + * + * *
      * Required. Config encryption for user data.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeConfigEncryption(com.google.cloud.gkemulticloud.v1.AwsConfigEncryption value) { + public Builder mergeConfigEncryption( + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption value) { if (configEncryptionBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) && - configEncryption_ != null && - configEncryption_ != com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) + && configEncryption_ != null + && configEncryption_ + != com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance()) { getConfigEncryptionBuilder().mergeFrom(value); } else { configEncryption_ = value; @@ -3421,11 +3947,15 @@ public Builder mergeConfigEncryption(com.google.cloud.gkemulticloud.v1.AwsConfig return this; } /** + * + * *
      * Required. Config encryption for user data.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearConfigEncryption() { bitField0_ = (bitField0_ & ~0x00000400); @@ -3438,48 +3968,66 @@ public Builder clearConfigEncryption() { return this; } /** + * + * *
      * Required. Config encryption for user data.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder getConfigEncryptionBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder + getConfigEncryptionBuilder() { bitField0_ |= 0x00000400; onChanged(); return getConfigEncryptionFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Config encryption for user data.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder getConfigEncryptionOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder + getConfigEncryptionOrBuilder() { if (configEncryptionBuilder_ != null) { return configEncryptionBuilder_.getMessageOrBuilder(); } else { - return configEncryption_ == null ? - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance() : configEncryption_; + return configEncryption_ == null + ? com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.getDefaultInstance() + : configEncryption_; } } /** + * + * *
      * Required. Config encryption for user data.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption, com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder, com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption, + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder, + com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder> getConfigEncryptionFieldBuilder() { if (configEncryptionBuilder_ == null) { - configEncryptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsConfigEncryption, com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder, com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder>( - getConfigEncryption(), - getParentForChildren(), - isClean()); + configEncryptionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption, + com.google.cloud.gkemulticloud.v1.AwsConfigEncryption.Builder, + com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder>( + getConfigEncryption(), getParentForChildren(), isClean()); configEncryption_ = null; } return configEncryptionBuilder_; @@ -3487,44 +4035,64 @@ public com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder getConfigE private com.google.cloud.gkemulticloud.v1.AwsInstancePlacement instancePlacement_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement, com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder, com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder> instancePlacementBuilder_; + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement, + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder, + com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder> + instancePlacementBuilder_; /** + * + * *
      * Optional. Placement related info for this node.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the instancePlacement field is set. */ public boolean hasInstancePlacement() { return ((bitField0_ & 0x00000800) != 0); } /** + * + * *
      * Optional. Placement related info for this node.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The instancePlacement. */ public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement getInstancePlacement() { if (instancePlacementBuilder_ == null) { - return instancePlacement_ == null ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance() : instancePlacement_; + return instancePlacement_ == null + ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance() + : instancePlacement_; } else { return instancePlacementBuilder_.getMessage(); } } /** + * + * *
      * Optional. Placement related info for this node.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setInstancePlacement(com.google.cloud.gkemulticloud.v1.AwsInstancePlacement value) { + public Builder setInstancePlacement( + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement value) { if (instancePlacementBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3538,12 +4106,16 @@ public Builder setInstancePlacement(com.google.cloud.gkemulticloud.v1.AwsInstanc return this; } /** + * + * *
      * Optional. Placement related info for this node.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setInstancePlacement( com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder builderForValue) { @@ -3557,18 +4129,24 @@ public Builder setInstancePlacement( return this; } /** + * + * *
      * Optional. Placement related info for this node.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeInstancePlacement(com.google.cloud.gkemulticloud.v1.AwsInstancePlacement value) { + public Builder mergeInstancePlacement( + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement value) { if (instancePlacementBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) && - instancePlacement_ != null && - instancePlacement_ != com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance()) { + if (((bitField0_ & 0x00000800) != 0) + && instancePlacement_ != null + && instancePlacement_ + != com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance()) { getInstancePlacementBuilder().mergeFrom(value); } else { instancePlacement_ = value; @@ -3581,12 +4159,16 @@ public Builder mergeInstancePlacement(com.google.cloud.gkemulticloud.v1.AwsInsta return this; } /** + * + * *
      * Optional. Placement related info for this node.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearInstancePlacement() { bitField0_ = (bitField0_ & ~0x00000800); @@ -3599,60 +4181,84 @@ public Builder clearInstancePlacement() { return this; } /** + * + * *
      * Optional. Placement related info for this node.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder getInstancePlacementBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder + getInstancePlacementBuilder() { bitField0_ |= 0x00000800; onChanged(); return getInstancePlacementFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Placement related info for this node.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder getInstancePlacementOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder + getInstancePlacementOrBuilder() { if (instancePlacementBuilder_ != null) { return instancePlacementBuilder_.getMessageOrBuilder(); } else { - return instancePlacement_ == null ? - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance() : instancePlacement_; + return instancePlacement_ == null + ? com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.getDefaultInstance() + : instancePlacement_; } } /** + * + * *
      * Optional. Placement related info for this node.
      * When unspecified, the VPC's default tenancy will be used.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement, com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder, com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement, + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder, + com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder> getInstancePlacementFieldBuilder() { if (instancePlacementBuilder_ == null) { - instancePlacementBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement, com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder, com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder>( - getInstancePlacement(), - getParentForChildren(), - isClean()); + instancePlacementBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement, + com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Builder, + com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder>( + getInstancePlacement(), getParentForChildren(), isClean()); instancePlacement_ = null; } return instancePlacementBuilder_; } - private com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscalingMetricsCollection_; + private com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection + autoscalingMetricsCollection_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection, com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.Builder, com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollectionOrBuilder> autoscalingMetricsCollectionBuilder_; + com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection, + com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.Builder, + com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollectionOrBuilder> + autoscalingMetricsCollectionBuilder_; /** + * + * *
      * Optional. Configuration related to CloudWatch metrics collection on the
      * Auto Scaling group of the node pool.
@@ -3660,13 +4266,18 @@ public com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder getInstan
      * When unspecified, metrics collection is disabled.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the autoscalingMetricsCollection field is set. */ public boolean hasAutoscalingMetricsCollection() { return ((bitField0_ & 0x00001000) != 0); } /** + * + * *
      * Optional. Configuration related to CloudWatch metrics collection on the
      * Auto Scaling group of the node pool.
@@ -3674,17 +4285,26 @@ public boolean hasAutoscalingMetricsCollection() {
      * When unspecified, metrics collection is disabled.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The autoscalingMetricsCollection. */ - public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection getAutoscalingMetricsCollection() { + public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection + getAutoscalingMetricsCollection() { if (autoscalingMetricsCollectionBuilder_ == null) { - return autoscalingMetricsCollection_ == null ? com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.getDefaultInstance() : autoscalingMetricsCollection_; + return autoscalingMetricsCollection_ == null + ? com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection + .getDefaultInstance() + : autoscalingMetricsCollection_; } else { return autoscalingMetricsCollectionBuilder_.getMessage(); } } /** + * + * *
      * Optional. Configuration related to CloudWatch metrics collection on the
      * Auto Scaling group of the node pool.
@@ -3692,9 +4312,12 @@ public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection ge
      * When unspecified, metrics collection is disabled.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setAutoscalingMetricsCollection(com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection value) { + public Builder setAutoscalingMetricsCollection( + com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection value) { if (autoscalingMetricsCollectionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3708,6 +4331,8 @@ public Builder setAutoscalingMetricsCollection(com.google.cloud.gkemulticloud.v1 return this; } /** + * + * *
      * Optional. Configuration related to CloudWatch metrics collection on the
      * Auto Scaling group of the node pool.
@@ -3715,10 +4340,13 @@ public Builder setAutoscalingMetricsCollection(com.google.cloud.gkemulticloud.v1
      * When unspecified, metrics collection is disabled.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAutoscalingMetricsCollection( - com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.Builder builderForValue) { + com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.Builder + builderForValue) { if (autoscalingMetricsCollectionBuilder_ == null) { autoscalingMetricsCollection_ = builderForValue.build(); } else { @@ -3729,6 +4357,8 @@ public Builder setAutoscalingMetricsCollection( return this; } /** + * + * *
      * Optional. Configuration related to CloudWatch metrics collection on the
      * Auto Scaling group of the node pool.
@@ -3736,13 +4366,18 @@ public Builder setAutoscalingMetricsCollection(
      * When unspecified, metrics collection is disabled.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeAutoscalingMetricsCollection(com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection value) { + public Builder mergeAutoscalingMetricsCollection( + com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection value) { if (autoscalingMetricsCollectionBuilder_ == null) { - if (((bitField0_ & 0x00001000) != 0) && - autoscalingMetricsCollection_ != null && - autoscalingMetricsCollection_ != com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.getDefaultInstance()) { + if (((bitField0_ & 0x00001000) != 0) + && autoscalingMetricsCollection_ != null + && autoscalingMetricsCollection_ + != com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection + .getDefaultInstance()) { getAutoscalingMetricsCollectionBuilder().mergeFrom(value); } else { autoscalingMetricsCollection_ = value; @@ -3755,6 +4390,8 @@ public Builder mergeAutoscalingMetricsCollection(com.google.cloud.gkemulticloud. return this; } /** + * + * *
      * Optional. Configuration related to CloudWatch metrics collection on the
      * Auto Scaling group of the node pool.
@@ -3762,7 +4399,9 @@ public Builder mergeAutoscalingMetricsCollection(com.google.cloud.gkemulticloud.
      * When unspecified, metrics collection is disabled.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearAutoscalingMetricsCollection() { bitField0_ = (bitField0_ & ~0x00001000); @@ -3775,6 +4414,8 @@ public Builder clearAutoscalingMetricsCollection() { return this; } /** + * + * *
      * Optional. Configuration related to CloudWatch metrics collection on the
      * Auto Scaling group of the node pool.
@@ -3782,14 +4423,19 @@ public Builder clearAutoscalingMetricsCollection() {
      * When unspecified, metrics collection is disabled.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.Builder getAutoscalingMetricsCollectionBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.Builder + getAutoscalingMetricsCollectionBuilder() { bitField0_ |= 0x00001000; onChanged(); return getAutoscalingMetricsCollectionFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Configuration related to CloudWatch metrics collection on the
      * Auto Scaling group of the node pool.
@@ -3797,17 +4443,24 @@ public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.Bu
      * When unspecified, metrics collection is disabled.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollectionOrBuilder getAutoscalingMetricsCollectionOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollectionOrBuilder + getAutoscalingMetricsCollectionOrBuilder() { if (autoscalingMetricsCollectionBuilder_ != null) { return autoscalingMetricsCollectionBuilder_.getMessageOrBuilder(); } else { - return autoscalingMetricsCollection_ == null ? - com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.getDefaultInstance() : autoscalingMetricsCollection_; + return autoscalingMetricsCollection_ == null + ? com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection + .getDefaultInstance() + : autoscalingMetricsCollection_; } } /** + * + * *
      * Optional. Configuration related to CloudWatch metrics collection on the
      * Auto Scaling group of the node pool.
@@ -3815,17 +4468,22 @@ public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollectionOrB
      * When unspecified, metrics collection is disabled.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection, com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.Builder, com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollectionOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection, + com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.Builder, + com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollectionOrBuilder> getAutoscalingMetricsCollectionFieldBuilder() { if (autoscalingMetricsCollectionBuilder_ == null) { - autoscalingMetricsCollectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection, com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.Builder, com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollectionOrBuilder>( - getAutoscalingMetricsCollection(), - getParentForChildren(), - isClean()); + autoscalingMetricsCollectionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection, + com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection.Builder, + com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollectionOrBuilder>( + getAutoscalingMetricsCollection(), getParentForChildren(), isClean()); autoscalingMetricsCollection_ = null; } return autoscalingMetricsCollectionBuilder_; @@ -3833,8 +4491,13 @@ public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollectionOrB private com.google.cloud.gkemulticloud.v1.SpotConfig spotConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.SpotConfig, com.google.cloud.gkemulticloud.v1.SpotConfig.Builder, com.google.cloud.gkemulticloud.v1.SpotConfigOrBuilder> spotConfigBuilder_; + com.google.cloud.gkemulticloud.v1.SpotConfig, + com.google.cloud.gkemulticloud.v1.SpotConfig.Builder, + com.google.cloud.gkemulticloud.v1.SpotConfigOrBuilder> + spotConfigBuilder_; /** + * + * *
      * Optional. Configuration for provisioning EC2 Spot instances
      *
@@ -3843,13 +4506,18 @@ public com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollectionOrB
      * This field is mutually exclusive with `instance_type`.
      * 
* - * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the spotConfig field is set. */ public boolean hasSpotConfig() { return ((bitField0_ & 0x00002000) != 0); } /** + * + * *
      * Optional. Configuration for provisioning EC2 Spot instances
      *
@@ -3858,17 +4526,24 @@ public boolean hasSpotConfig() {
      * This field is mutually exclusive with `instance_type`.
      * 
* - * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The spotConfig. */ public com.google.cloud.gkemulticloud.v1.SpotConfig getSpotConfig() { if (spotConfigBuilder_ == null) { - return spotConfig_ == null ? com.google.cloud.gkemulticloud.v1.SpotConfig.getDefaultInstance() : spotConfig_; + return spotConfig_ == null + ? com.google.cloud.gkemulticloud.v1.SpotConfig.getDefaultInstance() + : spotConfig_; } else { return spotConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. Configuration for provisioning EC2 Spot instances
      *
@@ -3877,7 +4552,9 @@ public com.google.cloud.gkemulticloud.v1.SpotConfig getSpotConfig() {
      * This field is mutually exclusive with `instance_type`.
      * 
* - * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setSpotConfig(com.google.cloud.gkemulticloud.v1.SpotConfig value) { if (spotConfigBuilder_ == null) { @@ -3893,6 +4570,8 @@ public Builder setSpotConfig(com.google.cloud.gkemulticloud.v1.SpotConfig value) return this; } /** + * + * *
      * Optional. Configuration for provisioning EC2 Spot instances
      *
@@ -3901,7 +4580,9 @@ public Builder setSpotConfig(com.google.cloud.gkemulticloud.v1.SpotConfig value)
      * This field is mutually exclusive with `instance_type`.
      * 
* - * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setSpotConfig( com.google.cloud.gkemulticloud.v1.SpotConfig.Builder builderForValue) { @@ -3915,6 +4596,8 @@ public Builder setSpotConfig( return this; } /** + * + * *
      * Optional. Configuration for provisioning EC2 Spot instances
      *
@@ -3923,13 +4606,15 @@ public Builder setSpotConfig(
      * This field is mutually exclusive with `instance_type`.
      * 
* - * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeSpotConfig(com.google.cloud.gkemulticloud.v1.SpotConfig value) { if (spotConfigBuilder_ == null) { - if (((bitField0_ & 0x00002000) != 0) && - spotConfig_ != null && - spotConfig_ != com.google.cloud.gkemulticloud.v1.SpotConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00002000) != 0) + && spotConfig_ != null + && spotConfig_ != com.google.cloud.gkemulticloud.v1.SpotConfig.getDefaultInstance()) { getSpotConfigBuilder().mergeFrom(value); } else { spotConfig_ = value; @@ -3942,6 +4627,8 @@ public Builder mergeSpotConfig(com.google.cloud.gkemulticloud.v1.SpotConfig valu return this; } /** + * + * *
      * Optional. Configuration for provisioning EC2 Spot instances
      *
@@ -3950,7 +4637,9 @@ public Builder mergeSpotConfig(com.google.cloud.gkemulticloud.v1.SpotConfig valu
      * This field is mutually exclusive with `instance_type`.
      * 
* - * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearSpotConfig() { bitField0_ = (bitField0_ & ~0x00002000); @@ -3963,6 +4652,8 @@ public Builder clearSpotConfig() { return this; } /** + * + * *
      * Optional. Configuration for provisioning EC2 Spot instances
      *
@@ -3971,7 +4662,9 @@ public Builder clearSpotConfig() {
      * This field is mutually exclusive with `instance_type`.
      * 
* - * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.SpotConfig.Builder getSpotConfigBuilder() { bitField0_ |= 0x00002000; @@ -3979,6 +4672,8 @@ public com.google.cloud.gkemulticloud.v1.SpotConfig.Builder getSpotConfigBuilder return getSpotConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Configuration for provisioning EC2 Spot instances
      *
@@ -3987,17 +4682,22 @@ public com.google.cloud.gkemulticloud.v1.SpotConfig.Builder getSpotConfigBuilder
      * This field is mutually exclusive with `instance_type`.
      * 
* - * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.SpotConfigOrBuilder getSpotConfigOrBuilder() { if (spotConfigBuilder_ != null) { return spotConfigBuilder_.getMessageOrBuilder(); } else { - return spotConfig_ == null ? - com.google.cloud.gkemulticloud.v1.SpotConfig.getDefaultInstance() : spotConfig_; + return spotConfig_ == null + ? com.google.cloud.gkemulticloud.v1.SpotConfig.getDefaultInstance() + : spotConfig_; } } /** + * + * *
      * Optional. Configuration for provisioning EC2 Spot instances
      *
@@ -4006,24 +4706,29 @@ public com.google.cloud.gkemulticloud.v1.SpotConfigOrBuilder getSpotConfigOrBuil
      * This field is mutually exclusive with `instance_type`.
      * 
* - * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.SpotConfig, com.google.cloud.gkemulticloud.v1.SpotConfig.Builder, com.google.cloud.gkemulticloud.v1.SpotConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.SpotConfig, + com.google.cloud.gkemulticloud.v1.SpotConfig.Builder, + com.google.cloud.gkemulticloud.v1.SpotConfigOrBuilder> getSpotConfigFieldBuilder() { if (spotConfigBuilder_ == null) { - spotConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.SpotConfig, com.google.cloud.gkemulticloud.v1.SpotConfig.Builder, com.google.cloud.gkemulticloud.v1.SpotConfigOrBuilder>( - getSpotConfig(), - getParentForChildren(), - isClean()); + spotConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.SpotConfig, + com.google.cloud.gkemulticloud.v1.SpotConfig.Builder, + com.google.cloud.gkemulticloud.v1.SpotConfigOrBuilder>( + getSpotConfig(), getParentForChildren(), isClean()); spotConfig_ = null; } return spotConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4033,12 +4738,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsNodeConfig) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsNodeConfig) private static final com.google.cloud.gkemulticloud.v1.AwsNodeConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsNodeConfig(); } @@ -4047,27 +4752,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsNodeConfig getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsNodeConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsNodeConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4082,6 +4787,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsNodeConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfigOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfigOrBuilder.java similarity index 69% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfigOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfigOrBuilder.java index 8e21f9315f46..653d3f2217a9 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfigOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsNodeConfigOrBuilder extends +public interface AwsNodeConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsNodeConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. The EC2 instance type when creating on-Demand instances.
    *
@@ -16,10 +34,13 @@ public interface AwsNodeConfigOrBuilder extends
    * 
* * string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The instanceType. */ java.lang.String getInstanceType(); /** + * + * *
    * Optional. The EC2 instance type when creating on-Demand instances.
    *
@@ -28,12 +49,14 @@ public interface AwsNodeConfigOrBuilder extends
    * 
* * string instance_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for instanceType. */ - com.google.protobuf.ByteString - getInstanceTypeBytes(); + com.google.protobuf.ByteString getInstanceTypeBytes(); /** + * + * *
    * Optional. Template for the root volume provisioned for node pool nodes.
    * Volumes will be provisioned in the availability zone assigned
@@ -42,11 +65,16 @@ public interface AwsNodeConfigOrBuilder extends
    * When unspecified, it defaults to 32 GiB with the GP2 volume type.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the rootVolume field is set. */ boolean hasRootVolume(); /** + * + * *
    * Optional. Template for the root volume provisioned for node pool nodes.
    * Volumes will be provisioned in the availability zone assigned
@@ -55,11 +83,16 @@ public interface AwsNodeConfigOrBuilder extends
    * When unspecified, it defaults to 32 GiB with the GP2 volume type.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The rootVolume. */ com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getRootVolume(); /** + * + * *
    * Optional. Template for the root volume provisioned for node pool nodes.
    * Volumes will be provisioned in the availability zone assigned
@@ -68,55 +101,77 @@ public interface AwsNodeConfigOrBuilder extends
    * When unspecified, it defaults to 32 GiB with the GP2 volume type.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder getRootVolumeOrBuilder(); /** + * + * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List - getTaintsList(); + java.util.List getTaintsList(); /** + * + * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.NodeTaint getTaints(int index); /** + * + * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getTaintsCount(); /** + * + * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getTaintsOrBuilderList(); /** + * + * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder( - int index); + com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index); /** + * + * *
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -127,6 +182,8 @@ com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder(
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -135,15 +192,13 @@ com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder(
    *
    * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    */
-  boolean containsLabels(
-      java.lang.String key);
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  boolean containsLabels(java.lang.String key);
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getLabels();
+  java.util.Map getLabels();
   /**
+   *
+   *
    * 
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -152,9 +207,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -164,11 +220,13 @@ boolean containsLabels(
    * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    */
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -177,10 +235,11 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Optional. Key/value metadata to assign to each underlying AWS resource.
    * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
@@ -192,6 +251,8 @@ java.lang.String getLabelsOrThrow(
    */
   int getTagsCount();
   /**
+   *
+   *
    * 
    * Optional. Key/value metadata to assign to each underlying AWS resource.
    * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
@@ -201,15 +262,13 @@ java.lang.String getLabelsOrThrow(
    *
    * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
    */
-  boolean containsTags(
-      java.lang.String key);
-  /**
-   * Use {@link #getTagsMap()} instead.
-   */
+  boolean containsTags(java.lang.String key);
+  /** Use {@link #getTagsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getTags();
+  java.util.Map getTags();
   /**
+   *
+   *
    * 
    * Optional. Key/value metadata to assign to each underlying AWS resource.
    * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
@@ -219,9 +278,10 @@ boolean containsTags(
    *
    * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.util.Map
-  getTagsMap();
+  java.util.Map getTagsMap();
   /**
+   *
+   *
    * 
    * Optional. Key/value metadata to assign to each underlying AWS resource.
    * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
@@ -232,11 +292,13 @@ boolean containsTags(
    * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
    */
   /* nullable */
-java.lang.String getTagsOrDefault(
+  java.lang.String getTagsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Optional. Key/value metadata to assign to each underlying AWS resource.
    * Specify at most 50 pairs containing alphanumerics, spaces, and symbols
@@ -246,32 +308,38 @@ java.lang.String getTagsOrDefault(
    *
    * map<string, string> tags = 5 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.lang.String getTagsOrThrow(
-      java.lang.String key);
+  java.lang.String getTagsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Required. The name or ARN of the AWS IAM role assigned to nodes in the
    * pool.
    * 
* * string iam_instance_profile = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The iamInstanceProfile. */ java.lang.String getIamInstanceProfile(); /** + * + * *
    * Required. The name or ARN of the AWS IAM role assigned to nodes in the
    * pool.
    * 
* * string iam_instance_profile = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for iamInstanceProfile. */ - com.google.protobuf.ByteString - getIamInstanceProfileBytes(); + com.google.protobuf.ByteString getIamInstanceProfileBytes(); /** + * + * *
    * Optional. The OS image type to use on node pool instances.
    * Can be unspecified, or have a value of `ubuntu`.
@@ -280,10 +348,13 @@ java.lang.String getTagsOrThrow(
    * 
* * string image_type = 11 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The imageType. */ java.lang.String getImageType(); /** + * + * *
    * Optional. The OS image type to use on node pool instances.
    * Can be unspecified, or have a value of `ubuntu`.
@@ -292,39 +363,55 @@ java.lang.String getTagsOrThrow(
    * 
* * string image_type = 11 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for imageType. */ - com.google.protobuf.ByteString - getImageTypeBytes(); + com.google.protobuf.ByteString getImageTypeBytes(); /** + * + * *
    * Optional. The SSH configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the sshConfig field is set. */ boolean hasSshConfig(); /** + * + * *
    * Optional. The SSH configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The sshConfig. */ com.google.cloud.gkemulticloud.v1.AwsSshConfig getSshConfig(); /** + * + * *
    * Optional. The SSH configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsSshConfig ssh_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder getSshConfigOrBuilder(); /** + * + * *
    * Optional. The IDs of additional security groups to add to nodes in this
    * pool. The manager will automatically create security groups with minimum
@@ -332,11 +419,13 @@ java.lang.String getTagsOrThrow(
    * 
* * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the securityGroupIds. */ - java.util.List - getSecurityGroupIdsList(); + java.util.List getSecurityGroupIdsList(); /** + * + * *
    * Optional. The IDs of additional security groups to add to nodes in this
    * pool. The manager will automatically create security groups with minimum
@@ -344,10 +433,13 @@ java.lang.String getTagsOrThrow(
    * 
* * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of securityGroupIds. */ int getSecurityGroupIdsCount(); /** + * + * *
    * Optional. The IDs of additional security groups to add to nodes in this
    * pool. The manager will automatically create security groups with minimum
@@ -355,11 +447,14 @@ java.lang.String getTagsOrThrow(
    * 
* * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The securityGroupIds at the given index. */ java.lang.String getSecurityGroupIds(int index); /** + * + * *
    * Optional. The IDs of additional security groups to add to nodes in this
    * pool. The manager will automatically create security groups with minimum
@@ -367,97 +462,141 @@ java.lang.String getTagsOrThrow(
    * 
* * repeated string security_group_ids = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the securityGroupIds at the given index. */ - com.google.protobuf.ByteString - getSecurityGroupIdsBytes(int index); + com.google.protobuf.ByteString getSecurityGroupIdsBytes(int index); /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the proxyConfig field is set. */ boolean hasProxyConfig(); /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The proxyConfig. */ com.google.cloud.gkemulticloud.v1.AwsProxyConfig getProxyConfig(); /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder getProxyConfigOrBuilder(); /** + * + * *
    * Required. Config encryption for user data.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the configEncryption field is set. */ boolean hasConfigEncryption(); /** + * + * *
    * Required. Config encryption for user data.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The configEncryption. */ com.google.cloud.gkemulticloud.v1.AwsConfigEncryption getConfigEncryption(); /** + * + * *
    * Required. Config encryption for user data.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsConfigEncryption config_encryption = 13 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gkemulticloud.v1.AwsConfigEncryptionOrBuilder getConfigEncryptionOrBuilder(); /** + * + * *
    * Optional. Placement related info for this node.
    * When unspecified, the VPC's default tenancy will be used.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the instancePlacement field is set. */ boolean hasInstancePlacement(); /** + * + * *
    * Optional. Placement related info for this node.
    * When unspecified, the VPC's default tenancy will be used.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The instancePlacement. */ com.google.cloud.gkemulticloud.v1.AwsInstancePlacement getInstancePlacement(); /** + * + * *
    * Optional. Placement related info for this node.
    * When unspecified, the VPC's default tenancy will be used.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsInstancePlacement instance_placement = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.AwsInstancePlacementOrBuilder getInstancePlacementOrBuilder(); /** + * + * *
    * Optional. Configuration related to CloudWatch metrics collection on the
    * Auto Scaling group of the node pool.
@@ -465,11 +604,16 @@ java.lang.String getTagsOrThrow(
    * When unspecified, metrics collection is disabled.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the autoscalingMetricsCollection field is set. */ boolean hasAutoscalingMetricsCollection(); /** + * + * *
    * Optional. Configuration related to CloudWatch metrics collection on the
    * Auto Scaling group of the node pool.
@@ -477,11 +621,17 @@ java.lang.String getTagsOrThrow(
    * When unspecified, metrics collection is disabled.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The autoscalingMetricsCollection. */ - com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection getAutoscalingMetricsCollection(); + com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection + getAutoscalingMetricsCollection(); /** + * + * *
    * Optional. Configuration related to CloudWatch metrics collection on the
    * Auto Scaling group of the node pool.
@@ -489,11 +639,16 @@ java.lang.String getTagsOrThrow(
    * When unspecified, metrics collection is disabled.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollectionOrBuilder getAutoscalingMetricsCollectionOrBuilder(); + com.google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollectionOrBuilder + getAutoscalingMetricsCollectionOrBuilder(); /** + * + * *
    * Optional. Configuration for provisioning EC2 Spot instances
    *
@@ -502,11 +657,16 @@ java.lang.String getTagsOrThrow(
    * This field is mutually exclusive with `instance_type`.
    * 
* - * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the spotConfig field is set. */ boolean hasSpotConfig(); /** + * + * *
    * Optional. Configuration for provisioning EC2 Spot instances
    *
@@ -515,11 +675,16 @@ java.lang.String getTagsOrThrow(
    * This field is mutually exclusive with `instance_type`.
    * 
* - * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The spotConfig. */ com.google.cloud.gkemulticloud.v1.SpotConfig getSpotConfig(); /** + * + * *
    * Optional. Configuration for provisioning EC2 Spot instances
    *
@@ -528,7 +693,9 @@ java.lang.String getTagsOrThrow(
    * This field is mutually exclusive with `instance_type`.
    * 
* - * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.SpotConfig spot_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.SpotConfigOrBuilder getSpotConfigOrBuilder(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeManagement.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeManagement.java similarity index 67% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeManagement.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeManagement.java index c6daba90e1d7..64d36ec0f267 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeManagement.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeManagement.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * AwsNodeManagement defines the set of node management features turned on for
  * an AWS node pool.
@@ -11,41 +28,44 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsNodeManagement}
  */
-public final class AwsNodeManagement extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AwsNodeManagement extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsNodeManagement)
     AwsNodeManagementOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AwsNodeManagement.newBuilder() to construct.
   private AwsNodeManagement(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private AwsNodeManagement() {
-  }
+
+  private AwsNodeManagement() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AwsNodeManagement();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodeManagement_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AwsNodeManagement_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodeManagement_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AwsNodeManagement_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.AwsNodeManagement.class, com.google.cloud.gkemulticloud.v1.AwsNodeManagement.Builder.class);
+            com.google.cloud.gkemulticloud.v1.AwsNodeManagement.class,
+            com.google.cloud.gkemulticloud.v1.AwsNodeManagement.Builder.class);
   }
 
   public static final int AUTO_REPAIR_FIELD_NUMBER = 1;
   private boolean autoRepair_ = false;
   /**
+   *
+   *
    * 
    * Optional. Whether or not the nodes will be automatically repaired. When set
    * to true, the nodes in this node pool will be monitored and if they fail
@@ -54,6 +74,7 @@ protected java.lang.Object newInstance(
    * 
* * bool auto_repair = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The autoRepair. */ @java.lang.Override @@ -62,6 +83,7 @@ public boolean getAutoRepair() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -73,8 +95,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (autoRepair_ != false) { output.writeBool(1, autoRepair_); } @@ -88,8 +109,7 @@ public int getSerializedSize() { size = 0; if (autoRepair_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, autoRepair_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, autoRepair_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -99,15 +119,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsNodeManagement)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsNodeManagement other = (com.google.cloud.gkemulticloud.v1.AwsNodeManagement) obj; + com.google.cloud.gkemulticloud.v1.AwsNodeManagement other = + (com.google.cloud.gkemulticloud.v1.AwsNodeManagement) obj; - if (getAutoRepair() - != other.getAutoRepair()) return false; + if (getAutoRepair() != other.getAutoRepair()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -120,106 +140,110 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + AUTO_REPAIR_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAutoRepair()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAutoRepair()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.gkemulticloud.v1.AwsNodeManagement parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsNodeManagement parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsNodeManagement parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsNodeManagement parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsNodeManagement parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsNodeManagement parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsNodeManagement parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AwsNodeManagement parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsNodeManagement parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsNodeManagement parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsNodeManagement parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsNodeManagement parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsNodeManagement parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsNodeManagement parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsNodeManagement prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * AwsNodeManagement defines the set of node management features turned on for
    * an AWS node pool.
@@ -227,33 +251,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsNodeManagement}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsNodeManagement)
       com.google.cloud.gkemulticloud.v1.AwsNodeManagementOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodeManagement_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AwsNodeManagement_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodeManagement_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AwsNodeManagement_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.AwsNodeManagement.class, com.google.cloud.gkemulticloud.v1.AwsNodeManagement.Builder.class);
+              com.google.cloud.gkemulticloud.v1.AwsNodeManagement.class,
+              com.google.cloud.gkemulticloud.v1.AwsNodeManagement.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.AwsNodeManagement.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -263,9 +286,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodeManagement_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AwsNodeManagement_descriptor;
     }
 
     @java.lang.Override
@@ -284,8 +307,11 @@ public com.google.cloud.gkemulticloud.v1.AwsNodeManagement build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.AwsNodeManagement buildPartial() {
-      com.google.cloud.gkemulticloud.v1.AwsNodeManagement result = new com.google.cloud.gkemulticloud.v1.AwsNodeManagement(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.gkemulticloud.v1.AwsNodeManagement result =
+          new com.google.cloud.gkemulticloud.v1.AwsNodeManagement(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -301,38 +327,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsNodeManagement r
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.AwsNodeManagement) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsNodeManagement)other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsNodeManagement) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -340,7 +367,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsNodeManagement other) {
-      if (other == com.google.cloud.gkemulticloud.v1.AwsNodeManagement.getDefaultInstance()) return this;
+      if (other == com.google.cloud.gkemulticloud.v1.AwsNodeManagement.getDefaultInstance())
+        return this;
       if (other.getAutoRepair() != false) {
         setAutoRepair(other.getAutoRepair());
       }
@@ -370,17 +398,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              autoRepair_ = input.readBool();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                autoRepair_ = input.readBool();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -390,10 +420,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private boolean autoRepair_ ;
+    private boolean autoRepair_;
     /**
+     *
+     *
      * 
      * Optional. Whether or not the nodes will be automatically repaired. When set
      * to true, the nodes in this node pool will be monitored and if they fail
@@ -402,6 +435,7 @@ public Builder mergeFrom(
      * 
* * bool auto_repair = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The autoRepair. */ @java.lang.Override @@ -409,6 +443,8 @@ public boolean getAutoRepair() { return autoRepair_; } /** + * + * *
      * Optional. Whether or not the nodes will be automatically repaired. When set
      * to true, the nodes in this node pool will be monitored and if they fail
@@ -417,6 +453,7 @@ public boolean getAutoRepair() {
      * 
* * bool auto_repair = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The autoRepair to set. * @return This builder for chaining. */ @@ -428,6 +465,8 @@ public Builder setAutoRepair(boolean value) { return this; } /** + * + * *
      * Optional. Whether or not the nodes will be automatically repaired. When set
      * to true, the nodes in this node pool will be monitored and if they fail
@@ -436,6 +475,7 @@ public Builder setAutoRepair(boolean value) {
      * 
* * bool auto_repair = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAutoRepair() { @@ -444,9 +484,9 @@ public Builder clearAutoRepair() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -456,12 +496,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsNodeManagement) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsNodeManagement) private static final com.google.cloud.gkemulticloud.v1.AwsNodeManagement DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsNodeManagement(); } @@ -470,27 +510,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsNodeManagement getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsNodeManagement parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsNodeManagement parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -505,6 +545,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsNodeManagement getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeManagementOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeManagementOrBuilder.java similarity index 54% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeManagementOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeManagementOrBuilder.java index aa14ff5c30d4..1a7d1a4dc58c 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeManagementOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodeManagementOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsNodeManagementOrBuilder extends +public interface AwsNodeManagementOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsNodeManagement) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. Whether or not the nodes will be automatically repaired. When set
    * to true, the nodes in this node pool will be monitored and if they fail
@@ -16,6 +34,7 @@ public interface AwsNodeManagementOrBuilder extends
    * 
* * bool auto_repair = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The autoRepair. */ boolean getAutoRepair(); diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePool.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePool.java similarity index 65% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePool.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePool.java index 824e41a537c9..a844605b1699 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePool.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePool.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * An Anthos node pool running on AWS.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsNodePool} */ -public final class AwsNodePool extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AwsNodePool extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsNodePool) AwsNodePoolOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AwsNodePool.newBuilder() to construct. private AwsNodePool(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AwsNodePool() { name_ = ""; version_ = ""; @@ -31,46 +49,49 @@ private AwsNodePool() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AwsNodePool(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 22: return internalGetAnnotations(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsNodePool.class, com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsNodePool.class, + com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder.class); } /** + * + * *
    * The lifecycle state of the node pool.
    * 
* * Protobuf enum {@code google.cloud.gkemulticloud.v1.AwsNodePool.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not set.
      * 
@@ -79,6 +100,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The PROVISIONING state indicates the node pool is being created.
      * 
@@ -87,6 +110,8 @@ public enum State */ PROVISIONING(1), /** + * + * *
      * The RUNNING state indicates the node pool has been created
      * and is fully usable.
@@ -96,6 +121,8 @@ public enum State
      */
     RUNNING(2),
     /**
+     *
+     *
      * 
      * The RECONCILING state indicates that the node pool is being reconciled.
      * 
@@ -104,6 +131,8 @@ public enum State */ RECONCILING(3), /** + * + * *
      * The STOPPING state indicates the node pool is being deleted.
      * 
@@ -112,6 +141,8 @@ public enum State */ STOPPING(4), /** + * + * *
      * The ERROR state indicates the node pool is in a broken unrecoverable
      * state.
@@ -121,6 +152,8 @@ public enum State
      */
     ERROR(5),
     /**
+     *
+     *
      * 
      * The DEGRADED state indicates the node pool requires user action to
      * restore full functionality.
@@ -133,6 +166,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Not set.
      * 
@@ -141,6 +176,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The PROVISIONING state indicates the node pool is being created.
      * 
@@ -149,6 +186,8 @@ public enum State */ public static final int PROVISIONING_VALUE = 1; /** + * + * *
      * The RUNNING state indicates the node pool has been created
      * and is fully usable.
@@ -158,6 +197,8 @@ public enum State
      */
     public static final int RUNNING_VALUE = 2;
     /**
+     *
+     *
      * 
      * The RECONCILING state indicates that the node pool is being reconciled.
      * 
@@ -166,6 +207,8 @@ public enum State */ public static final int RECONCILING_VALUE = 3; /** + * + * *
      * The STOPPING state indicates the node pool is being deleted.
      * 
@@ -174,6 +217,8 @@ public enum State */ public static final int STOPPING_VALUE = 4; /** + * + * *
      * The ERROR state indicates the node pool is in a broken unrecoverable
      * state.
@@ -183,6 +228,8 @@ public enum State
      */
     public static final int ERROR_VALUE = 5;
     /**
+     *
+     *
      * 
      * The DEGRADED state indicates the node pool requires user action to
      * restore full functionality.
@@ -192,7 +239,6 @@ public enum State
      */
     public static final int DEGRADED_VALUE = 6;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -217,53 +263,57 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return PROVISIONING;
-        case 2: return RUNNING;
-        case 3: return RECONCILING;
-        case 4: return STOPPING;
-        case 5: return ERROR;
-        case 6: return DEGRADED;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return PROVISIONING;
+        case 2:
+          return RUNNING;
+        case 3:
+          return RECONCILING;
+        case 4:
+          return STOPPING;
+        case 5:
+          return ERROR;
+        case 6:
+          return DEGRADED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.gkemulticloud.v1.AwsNodePool.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -281,9 +331,12 @@ private State(int value) {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The name of this resource.
    *
@@ -295,6 +348,7 @@ private State(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -303,14 +357,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of this resource.
    *
@@ -322,16 +377,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -340,9 +394,12 @@ public java.lang.String getName() { } public static final int VERSION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object version_ = ""; /** + * + * *
    * Required. The Kubernetes version to run on this node pool (e.g.
    * `1.19.10-gke.1000`).
@@ -353,6 +410,7 @@ public java.lang.String getName() {
    * 
* * string version = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The version. */ @java.lang.Override @@ -361,14 +419,15 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
    * Required. The Kubernetes version to run on this node pool (e.g.
    * `1.19.10-gke.1000`).
@@ -379,16 +438,15 @@ public java.lang.String getVersion() {
    * 
* * string version = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -399,11 +457,16 @@ public java.lang.String getVersion() { public static final int CONFIG_FIELD_NUMBER = 28; private com.google.cloud.gkemulticloud.v1.AwsNodeConfig config_; /** + * + * *
    * Required. The configuration of the node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the config field is set. */ @java.lang.Override @@ -411,37 +474,55 @@ public boolean hasConfig() { return config_ != null; } /** + * + * *
    * Required. The configuration of the node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The config. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsNodeConfig getConfig() { - return config_ == null ? com.google.cloud.gkemulticloud.v1.AwsNodeConfig.getDefaultInstance() : config_; + return config_ == null + ? com.google.cloud.gkemulticloud.v1.AwsNodeConfig.getDefaultInstance() + : config_; } /** + * + * *
    * Required. The configuration of the node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsNodeConfigOrBuilder getConfigOrBuilder() { - return config_ == null ? com.google.cloud.gkemulticloud.v1.AwsNodeConfig.getDefaultInstance() : config_; + return config_ == null + ? com.google.cloud.gkemulticloud.v1.AwsNodeConfig.getDefaultInstance() + : config_; } public static final int AUTOSCALING_FIELD_NUMBER = 25; private com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling_; /** + * + * *
    * Required. Autoscaler configuration for this node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the autoscaling field is set. */ @java.lang.Override @@ -449,38 +530,56 @@ public boolean hasAutoscaling() { return autoscaling_ != null; } /** + * + * *
    * Required. Autoscaler configuration for this node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The autoscaling. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling getAutoscaling() { - return autoscaling_ == null ? com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.getDefaultInstance() : autoscaling_; + return autoscaling_ == null + ? com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.getDefaultInstance() + : autoscaling_; } /** + * + * *
    * Required. Autoscaler configuration for this node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscalingOrBuilder getAutoscalingOrBuilder() { - return autoscaling_ == null ? com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.getDefaultInstance() : autoscaling_; + public com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscalingOrBuilder + getAutoscalingOrBuilder() { + return autoscaling_ == null + ? com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.getDefaultInstance() + : autoscaling_; } public static final int SUBNET_ID_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object subnetId_ = ""; /** + * + * *
    * Required. The subnet where the node pool node run.
    * 
* * string subnet_id = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The subnetId. */ @java.lang.Override @@ -489,29 +588,29 @@ public java.lang.String getSubnetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetId_ = s; return s; } } /** + * + * *
    * Required. The subnet where the node pool node run.
    * 
* * string subnet_id = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for subnetId. */ @java.lang.Override - public com.google.protobuf.ByteString - getSubnetIdBytes() { + public com.google.protobuf.ByteString getSubnetIdBytes() { java.lang.Object ref = subnetId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subnetId_ = b; return b; } else { @@ -522,38 +621,57 @@ public java.lang.String getSubnetId() { public static final int STATE_FIELD_NUMBER = 16; private int state_ = 0; /** + * + * *
    * Output only. The lifecycle state of the node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. The lifecycle state of the node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsNodePool.State getState() { - com.google.cloud.gkemulticloud.v1.AwsNodePool.State result = com.google.cloud.gkemulticloud.v1.AwsNodePool.State.forNumber(state_); - return result == null ? com.google.cloud.gkemulticloud.v1.AwsNodePool.State.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsNodePool.State getState() { + com.google.cloud.gkemulticloud.v1.AwsNodePool.State result = + com.google.cloud.gkemulticloud.v1.AwsNodePool.State.forNumber(state_); + return result == null + ? com.google.cloud.gkemulticloud.v1.AwsNodePool.State.UNRECOGNIZED + : result; } public static final int UID_FIELD_NUMBER = 17; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. A globally unique identifier for the node pool.
    * 
* * string uid = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -562,29 +680,29 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** + * + * *
    * Output only. A globally unique identifier for the node pool.
    * 
* * string uid = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -595,12 +713,15 @@ public java.lang.String getUid() { public static final int RECONCILING_FIELD_NUMBER = 18; private boolean reconciling_ = false; /** + * + * *
    * Output only. If set, there are currently changes in flight to the node
    * pool.
    * 
* * bool reconciling = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -611,11 +732,15 @@ public boolean getReconciling() { public static final int CREATE_TIME_FIELD_NUMBER = 19; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time at which this node pool was created.
    * 
* - * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -623,11 +748,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time at which this node pool was created.
    * 
* - * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -635,11 +764,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time at which this node pool was created.
    * 
* - * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -649,11 +781,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 20; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The time at which this node pool was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -661,11 +797,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The time at which this node pool was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -673,11 +813,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The time at which this node pool was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -685,9 +828,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int ETAG_FIELD_NUMBER = 21; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -697,6 +843,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string etag = 21; + * * @return The etag. */ @java.lang.Override @@ -705,14 +852,15 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** + * + * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -722,16 +870,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 21; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -740,32 +887,35 @@ public java.lang.String getEtag() { } public static final int ANNOTATIONS_FIELD_NUMBER = 22; + private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_AnnotationsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
    * Optional. Annotations on the node pool.
    *
@@ -778,23 +928,25 @@ public int getAnnotationsCount() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsAnnotations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetAnnotations().getMap().containsKey(key); } - /** - * Use {@link #getAnnotationsMap()} instead. - */ + /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** + * + * *
    * Optional. Annotations on the node pool.
    *
@@ -807,13 +959,16 @@ public java.util.Map getAnnotations() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** + * + * *
    * Optional. Annotations on the node pool.
    *
@@ -826,20 +981,23 @@ public java.util.Map getAnnotationsMap() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -java.lang.String getAnnotationsOrDefault( + public /* nullable */ java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Optional. Annotations on the node pool.
    *
@@ -852,14 +1010,15 @@ java.lang.String getAnnotationsOrDefault(
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + public java.lang.String getAnnotationsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -869,12 +1028,17 @@ public java.lang.String getAnnotationsOrThrow( public static final int MAX_PODS_CONSTRAINT_FIELD_NUMBER = 27; private com.google.cloud.gkemulticloud.v1.MaxPodsConstraint maxPodsConstraint_; /** + * + * *
    * Required. The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the maxPodsConstraint field is set. */ @java.lang.Override @@ -882,100 +1046,139 @@ public boolean hasMaxPodsConstraint() { return maxPodsConstraint_ != null; } /** + * + * *
    * Required. The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The maxPodsConstraint. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.MaxPodsConstraint getMaxPodsConstraint() { - return maxPodsConstraint_ == null ? com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance() : maxPodsConstraint_; + return maxPodsConstraint_ == null + ? com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance() + : maxPodsConstraint_; } /** + * + * *
    * Required. The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder getMaxPodsConstraintOrBuilder() { - return maxPodsConstraint_ == null ? com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance() : maxPodsConstraint_; + public com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder + getMaxPodsConstraintOrBuilder() { + return maxPodsConstraint_ == null + ? com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance() + : maxPodsConstraint_; } public static final int ERRORS_FIELD_NUMBER = 29; + @SuppressWarnings("serial") private java.util.List errors_; /** + * + * *
    * Output only. A set of errors found in the node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getErrorsList() { return errors_; } /** + * + * *
    * Output only. A set of errors found in the node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getErrorsOrBuilderList() { return errors_; } /** + * + * *
    * Output only. A set of errors found in the node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** + * + * *
    * Output only. A set of errors found in the node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsNodePoolError getErrors(int index) { return errors_.get(index); } /** + * + * *
    * Output only. A set of errors found in the node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AwsNodePoolErrorOrBuilder getErrorsOrBuilder( - int index) { + public com.google.cloud.gkemulticloud.v1.AwsNodePoolErrorOrBuilder getErrorsOrBuilder(int index) { return errors_.get(index); } public static final int MANAGEMENT_FIELD_NUMBER = 30; private com.google.cloud.gkemulticloud.v1.AwsNodeManagement management_; /** + * + * *
    * Optional. The Management configuration for this node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the management field is set. */ @java.lang.Override @@ -983,37 +1186,55 @@ public boolean hasManagement() { return management_ != null; } /** + * + * *
    * Optional. The Management configuration for this node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The management. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsNodeManagement getManagement() { - return management_ == null ? com.google.cloud.gkemulticloud.v1.AwsNodeManagement.getDefaultInstance() : management_; + return management_ == null + ? com.google.cloud.gkemulticloud.v1.AwsNodeManagement.getDefaultInstance() + : management_; } /** + * + * *
    * Optional. The Management configuration for this node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsNodeManagementOrBuilder getManagementOrBuilder() { - return management_ == null ? com.google.cloud.gkemulticloud.v1.AwsNodeManagement.getDefaultInstance() : management_; + return management_ == null + ? com.google.cloud.gkemulticloud.v1.AwsNodeManagement.getDefaultInstance() + : management_; } public static final int UPDATE_SETTINGS_FIELD_NUMBER = 32; private com.google.cloud.gkemulticloud.v1.UpdateSettings updateSettings_; /** + * + * *
    * Optional. Update settings control the speed and disruption of the update.
    * 
* - * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateSettings field is set. */ @java.lang.Override @@ -1021,30 +1242,44 @@ public boolean hasUpdateSettings() { return updateSettings_ != null; } /** + * + * *
    * Optional. Update settings control the speed and disruption of the update.
    * 
* - * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateSettings. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.UpdateSettings getUpdateSettings() { - return updateSettings_ == null ? com.google.cloud.gkemulticloud.v1.UpdateSettings.getDefaultInstance() : updateSettings_; + return updateSettings_ == null + ? com.google.cloud.gkemulticloud.v1.UpdateSettings.getDefaultInstance() + : updateSettings_; } /** + * + * *
    * Optional. Update settings control the speed and disruption of the update.
    * 
* - * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.UpdateSettingsOrBuilder getUpdateSettingsOrBuilder() { - return updateSettings_ == null ? com.google.cloud.gkemulticloud.v1.UpdateSettings.getDefaultInstance() : updateSettings_; + return updateSettings_ == null + ? com.google.cloud.gkemulticloud.v1.UpdateSettings.getDefaultInstance() + : updateSettings_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1056,8 +1291,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1067,7 +1301,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnetId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, subnetId_); } - if (state_ != com.google.cloud.gkemulticloud.v1.AwsNodePool.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.gkemulticloud.v1.AwsNodePool.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(16, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { @@ -1085,12 +1320,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 21, etag_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetAnnotations(), - AnnotationsDefaultEntryHolder.defaultEntry, - 22); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 22); if (autoscaling_ != null) { output.writeMessage(25, getAutoscaling()); } @@ -1127,61 +1358,52 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnetId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, subnetId_); } - if (state_ != com.google.cloud.gkemulticloud.v1.AwsNodePool.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(16, state_); + if (state_ + != com.google.cloud.gkemulticloud.v1.AwsNodePool.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(16, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, uid_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(18, reconciling_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(18, reconciling_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(19, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(20, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, etag_); } - for (java.util.Map.Entry entry - : internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry - annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(22, annotations__); + for (java.util.Map.Entry entry : + internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry annotations__ = + AnnotationsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, annotations__); } if (autoscaling_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(25, getAutoscaling()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(25, getAutoscaling()); } if (maxPodsConstraint_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(27, getMaxPodsConstraint()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(27, getMaxPodsConstraint()); } if (config_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(28, getConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(28, getConfig()); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(29, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, errors_.get(i)); } if (management_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(30, getManagement()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(30, getManagement()); } if (updateSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(32, getUpdateSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(32, getUpdateSettings()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1191,64 +1413,50 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsNodePool)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsNodePool other = (com.google.cloud.gkemulticloud.v1.AwsNodePool) obj; + com.google.cloud.gkemulticloud.v1.AwsNodePool other = + (com.google.cloud.gkemulticloud.v1.AwsNodePool) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; + if (!getName().equals(other.getName())) return false; + if (!getVersion().equals(other.getVersion())) return false; if (hasConfig() != other.hasConfig()) return false; if (hasConfig()) { - if (!getConfig() - .equals(other.getConfig())) return false; + if (!getConfig().equals(other.getConfig())) return false; } if (hasAutoscaling() != other.hasAutoscaling()) return false; if (hasAutoscaling()) { - if (!getAutoscaling() - .equals(other.getAutoscaling())) return false; + if (!getAutoscaling().equals(other.getAutoscaling())) return false; } - if (!getSubnetId() - .equals(other.getSubnetId())) return false; + if (!getSubnetId().equals(other.getSubnetId())) return false; if (state_ != other.state_) return false; - if (!getUid() - .equals(other.getUid())) return false; - if (getReconciling() - != other.getReconciling()) return false; + if (!getUid().equals(other.getUid())) return false; + if (getReconciling() != other.getReconciling()) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } - if (!getEtag() - .equals(other.getEtag())) return false; - if (!internalGetAnnotations().equals( - other.internalGetAnnotations())) return false; + if (!getEtag().equals(other.getEtag())) return false; + if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; if (hasMaxPodsConstraint() != other.hasMaxPodsConstraint()) return false; if (hasMaxPodsConstraint()) { - if (!getMaxPodsConstraint() - .equals(other.getMaxPodsConstraint())) return false; + if (!getMaxPodsConstraint().equals(other.getMaxPodsConstraint())) return false; } - if (!getErrorsList() - .equals(other.getErrorsList())) return false; + if (!getErrorsList().equals(other.getErrorsList())) return false; if (hasManagement() != other.hasManagement()) return false; if (hasManagement()) { - if (!getManagement() - .equals(other.getManagement())) return false; + if (!getManagement().equals(other.getManagement())) return false; } if (hasUpdateSettings() != other.hasUpdateSettings()) return false; if (hasUpdateSettings()) { - if (!getUpdateSettings() - .equals(other.getUpdateSettings())) return false; + if (!getUpdateSettings().equals(other.getUpdateSettings())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1280,8 +1488,7 @@ public int hashCode() { hash = (37 * hash) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid().hashCode(); hash = (37 * hash) + RECONCILING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getReconciling()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReconciling()); if (hasCreateTime()) { hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime().hashCode(); @@ -1317,154 +1524,156 @@ public int hashCode() { return hash; } - public static com.google.cloud.gkemulticloud.v1.AwsNodePool parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.gkemulticloud.v1.AwsNodePool parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsNodePool parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsNodePool parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsNodePool parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsNodePool parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsNodePool parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsNodePool parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsNodePool parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePool parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsNodePool parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsNodePool parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsNodePool parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsNodePool parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsNodePool prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * An Anthos node pool running on AWS.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsNodePool} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsNodePool) com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 22: return internalGetAnnotations(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 22: return internalGetMutableAnnotations(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsNodePool.class, com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsNodePool.class, + com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AwsNodePool.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1523,9 +1732,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_descriptor; } @java.lang.Override @@ -1544,9 +1753,12 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePool build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsNodePool buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsNodePool result = new com.google.cloud.gkemulticloud.v1.AwsNodePool(this); + com.google.cloud.gkemulticloud.v1.AwsNodePool result = + new com.google.cloud.gkemulticloud.v1.AwsNodePool(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1572,14 +1784,11 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsNodePool result) result.version_ = version_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.config_ = configBuilder_ == null - ? config_ - : configBuilder_.build(); + result.config_ = configBuilder_ == null ? config_ : configBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.autoscaling_ = autoscalingBuilder_ == null - ? autoscaling_ - : autoscalingBuilder_.build(); + result.autoscaling_ = + autoscalingBuilder_ == null ? autoscaling_ : autoscalingBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.subnetId_ = subnetId_; @@ -1594,14 +1803,10 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsNodePool result) result.reconciling_ = reconciling_; } if (((from_bitField0_ & 0x00000100) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000400) != 0)) { result.etag_ = etag_; @@ -1611,19 +1816,17 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsNodePool result) result.annotations_.makeImmutable(); } if (((from_bitField0_ & 0x00001000) != 0)) { - result.maxPodsConstraint_ = maxPodsConstraintBuilder_ == null - ? maxPodsConstraint_ - : maxPodsConstraintBuilder_.build(); + result.maxPodsConstraint_ = + maxPodsConstraintBuilder_ == null + ? maxPodsConstraint_ + : maxPodsConstraintBuilder_.build(); } if (((from_bitField0_ & 0x00004000) != 0)) { - result.management_ = managementBuilder_ == null - ? management_ - : managementBuilder_.build(); + result.management_ = managementBuilder_ == null ? management_ : managementBuilder_.build(); } if (((from_bitField0_ & 0x00008000) != 0)) { - result.updateSettings_ = updateSettingsBuilder_ == null - ? updateSettings_ - : updateSettingsBuilder_.build(); + result.updateSettings_ = + updateSettingsBuilder_ == null ? updateSettings_ : updateSettingsBuilder_.build(); } } @@ -1631,38 +1834,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsNodePool result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AwsNodePool) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsNodePool)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsNodePool) other); } else { super.mergeFrom(other); return this; @@ -1714,8 +1918,7 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsNodePool other) { bitField0_ |= 0x00000400; onChanged(); } - internalGetMutableAnnotations().mergeFrom( - other.internalGetAnnotations()); + internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); bitField0_ |= 0x00000800; if (other.hasMaxPodsConstraint()) { mergeMaxPodsConstraint(other.getMaxPodsConstraint()); @@ -1738,9 +1941,10 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsNodePool other) { errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00002000); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getErrorsFieldBuilder() : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getErrorsFieldBuilder() + : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -1778,118 +1982,124 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 26: { - version_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 50: { - subnetId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 50 - case 128: { - state_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 128 - case 138: { - uid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 138 - case 144: { - reconciling_ = input.readBool(); - bitField0_ |= 0x00000080; - break; - } // case 144 - case 154: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 154 - case 162: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000200; - break; - } // case 162 - case 170: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; - break; - } // case 170 - case 178: { - com.google.protobuf.MapEntry - annotations__ = input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableAnnotations().getMutableMap().put( - annotations__.getKey(), annotations__.getValue()); - bitField0_ |= 0x00000800; - break; - } // case 178 - case 202: { - input.readMessage( - getAutoscalingFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 202 - case 218: { - input.readMessage( - getMaxPodsConstraintFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00001000; - break; - } // case 218 - case 226: { - input.readMessage( - getConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 226 - case 234: { - com.google.cloud.gkemulticloud.v1.AwsNodePoolError m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsNodePoolError.parser(), - extensionRegistry); - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.add(m); - } else { - errorsBuilder_.addMessage(m); - } - break; - } // case 234 - case 242: { - input.readMessage( - getManagementFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00004000; - break; - } // case 242 - case 258: { - input.readMessage( - getUpdateSettingsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00008000; - break; - } // case 258 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: + { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 50: + { + subnetId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 50 + case 128: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 128 + case 138: + { + uid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 138 + case 144: + { + reconciling_ = input.readBool(); + bitField0_ |= 0x00000080; + break; + } // case 144 + case 154: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 154 + case 162: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 162 + case 170: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 170 + case 178: + { + com.google.protobuf.MapEntry annotations__ = + input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableAnnotations() + .getMutableMap() + .put(annotations__.getKey(), annotations__.getValue()); + bitField0_ |= 0x00000800; + break; + } // case 178 + case 202: + { + input.readMessage(getAutoscalingFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 202 + case 218: + { + input.readMessage( + getMaxPodsConstraintFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00001000; + break; + } // case 218 + case 226: + { + input.readMessage(getConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 226 + case 234: + { + com.google.cloud.gkemulticloud.v1.AwsNodePoolError m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsNodePoolError.parser(), + extensionRegistry); + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.add(m); + } else { + errorsBuilder_.addMessage(m); + } + break; + } // case 234 + case 242: + { + input.readMessage(getManagementFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00004000; + break; + } // case 242 + case 258: + { + input.readMessage(getUpdateSettingsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00008000; + break; + } // case 258 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1899,10 +2109,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * The name of this resource.
      *
@@ -1914,13 +2127,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1929,6 +2142,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of this resource.
      *
@@ -1940,15 +2155,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1956,6 +2170,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of this resource.
      *
@@ -1967,18 +2183,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The name of this resource.
      *
@@ -1990,6 +2210,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1999,6 +2220,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The name of this resource.
      *
@@ -2010,12 +2233,14 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2025,6 +2250,8 @@ public Builder setNameBytes( private java.lang.Object version_ = ""; /** + * + * *
      * Required. The Kubernetes version to run on this node pool (e.g.
      * `1.19.10-gke.1000`).
@@ -2035,13 +2262,13 @@ public Builder setNameBytes(
      * 
* * string version = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -2050,7 +2277,9 @@ public java.lang.String getVersion() { } } /** - *
+     *
+     *
+     * 
      * Required. The Kubernetes version to run on this node pool (e.g.
      * `1.19.10-gke.1000`).
      *
@@ -2060,15 +2289,14 @@ public java.lang.String getVersion() {
      * 
* * string version = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -2076,6 +2304,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Required. The Kubernetes version to run on this node pool (e.g.
      * `1.19.10-gke.1000`).
@@ -2086,18 +2316,22 @@ public java.lang.String getVersion() {
      * 
* * string version = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } version_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The Kubernetes version to run on this node pool (e.g.
      * `1.19.10-gke.1000`).
@@ -2108,6 +2342,7 @@ public Builder setVersion(
      * 
* * string version = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearVersion() { @@ -2117,6 +2352,8 @@ public Builder clearVersion() { return this; } /** + * + * *
      * Required. The Kubernetes version to run on this node pool (e.g.
      * `1.19.10-gke.1000`).
@@ -2127,12 +2364,14 @@ public Builder clearVersion() {
      * 
* * string version = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); version_ = value; bitField0_ |= 0x00000002; @@ -2142,39 +2381,58 @@ public Builder setVersionBytes( private com.google.cloud.gkemulticloud.v1.AwsNodeConfig config_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodeConfig, com.google.cloud.gkemulticloud.v1.AwsNodeConfig.Builder, com.google.cloud.gkemulticloud.v1.AwsNodeConfigOrBuilder> configBuilder_; + com.google.cloud.gkemulticloud.v1.AwsNodeConfig, + com.google.cloud.gkemulticloud.v1.AwsNodeConfig.Builder, + com.google.cloud.gkemulticloud.v1.AwsNodeConfigOrBuilder> + configBuilder_; /** + * + * *
      * Required. The configuration of the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the config field is set. */ public boolean hasConfig() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The configuration of the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The config. */ public com.google.cloud.gkemulticloud.v1.AwsNodeConfig getConfig() { if (configBuilder_ == null) { - return config_ == null ? com.google.cloud.gkemulticloud.v1.AwsNodeConfig.getDefaultInstance() : config_; + return config_ == null + ? com.google.cloud.gkemulticloud.v1.AwsNodeConfig.getDefaultInstance() + : config_; } else { return configBuilder_.getMessage(); } } /** + * + * *
      * Required. The configuration of the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setConfig(com.google.cloud.gkemulticloud.v1.AwsNodeConfig value) { if (configBuilder_ == null) { @@ -2190,11 +2448,15 @@ public Builder setConfig(com.google.cloud.gkemulticloud.v1.AwsNodeConfig value) return this; } /** + * + * *
      * Required. The configuration of the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setConfig( com.google.cloud.gkemulticloud.v1.AwsNodeConfig.Builder builderForValue) { @@ -2208,17 +2470,21 @@ public Builder setConfig( return this; } /** + * + * *
      * Required. The configuration of the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeConfig(com.google.cloud.gkemulticloud.v1.AwsNodeConfig value) { if (configBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - config_ != null && - config_ != com.google.cloud.gkemulticloud.v1.AwsNodeConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && config_ != null + && config_ != com.google.cloud.gkemulticloud.v1.AwsNodeConfig.getDefaultInstance()) { getConfigBuilder().mergeFrom(value); } else { config_ = value; @@ -2231,11 +2497,15 @@ public Builder mergeConfig(com.google.cloud.gkemulticloud.v1.AwsNodeConfig value return this; } /** + * + * *
      * Required. The configuration of the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearConfig() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2248,11 +2518,15 @@ public Builder clearConfig() { return this; } /** + * + * *
      * Required. The configuration of the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AwsNodeConfig.Builder getConfigBuilder() { bitField0_ |= 0x00000004; @@ -2260,36 +2534,48 @@ public com.google.cloud.gkemulticloud.v1.AwsNodeConfig.Builder getConfigBuilder( return getConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The configuration of the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AwsNodeConfigOrBuilder getConfigOrBuilder() { if (configBuilder_ != null) { return configBuilder_.getMessageOrBuilder(); } else { - return config_ == null ? - com.google.cloud.gkemulticloud.v1.AwsNodeConfig.getDefaultInstance() : config_; + return config_ == null + ? com.google.cloud.gkemulticloud.v1.AwsNodeConfig.getDefaultInstance() + : config_; } } /** + * + * *
      * Required. The configuration of the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodeConfig, com.google.cloud.gkemulticloud.v1.AwsNodeConfig.Builder, com.google.cloud.gkemulticloud.v1.AwsNodeConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsNodeConfig, + com.google.cloud.gkemulticloud.v1.AwsNodeConfig.Builder, + com.google.cloud.gkemulticloud.v1.AwsNodeConfigOrBuilder> getConfigFieldBuilder() { if (configBuilder_ == null) { - configBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodeConfig, com.google.cloud.gkemulticloud.v1.AwsNodeConfig.Builder, com.google.cloud.gkemulticloud.v1.AwsNodeConfigOrBuilder>( - getConfig(), - getParentForChildren(), - isClean()); + configBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsNodeConfig, + com.google.cloud.gkemulticloud.v1.AwsNodeConfig.Builder, + com.google.cloud.gkemulticloud.v1.AwsNodeConfigOrBuilder>( + getConfig(), getParentForChildren(), isClean()); config_ = null; } return configBuilder_; @@ -2297,39 +2583,58 @@ public com.google.cloud.gkemulticloud.v1.AwsNodeConfigOrBuilder getConfigOrBuild private com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling, com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.Builder, com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscalingOrBuilder> autoscalingBuilder_; + com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling, + com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.Builder, + com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscalingOrBuilder> + autoscalingBuilder_; /** + * + * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the autoscaling field is set. */ public boolean hasAutoscaling() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The autoscaling. */ public com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling getAutoscaling() { if (autoscalingBuilder_ == null) { - return autoscaling_ == null ? com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.getDefaultInstance() : autoscaling_; + return autoscaling_ == null + ? com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.getDefaultInstance() + : autoscaling_; } else { return autoscalingBuilder_.getMessage(); } } /** + * + * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAutoscaling(com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling value) { if (autoscalingBuilder_ == null) { @@ -2345,11 +2650,15 @@ public Builder setAutoscaling(com.google.cloud.gkemulticloud.v1.AwsNodePoolAutos return this; } /** + * + * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAutoscaling( com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.Builder builderForValue) { @@ -2363,17 +2672,23 @@ public Builder setAutoscaling( return this; } /** + * + * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeAutoscaling(com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling value) { + public Builder mergeAutoscaling( + com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling value) { if (autoscalingBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - autoscaling_ != null && - autoscaling_ != com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && autoscaling_ != null + && autoscaling_ + != com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.getDefaultInstance()) { getAutoscalingBuilder().mergeFrom(value); } else { autoscaling_ = value; @@ -2386,11 +2701,15 @@ public Builder mergeAutoscaling(com.google.cloud.gkemulticloud.v1.AwsNodePoolAut return this; } /** + * + * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAutoscaling() { bitField0_ = (bitField0_ & ~0x00000008); @@ -2403,48 +2722,66 @@ public Builder clearAutoscaling() { return this; } /** + * + * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.Builder getAutoscalingBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.Builder + getAutoscalingBuilder() { bitField0_ |= 0x00000008; onChanged(); return getAutoscalingFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscalingOrBuilder getAutoscalingOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscalingOrBuilder + getAutoscalingOrBuilder() { if (autoscalingBuilder_ != null) { return autoscalingBuilder_.getMessageOrBuilder(); } else { - return autoscaling_ == null ? - com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.getDefaultInstance() : autoscaling_; + return autoscaling_ == null + ? com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.getDefaultInstance() + : autoscaling_; } } /** + * + * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling, com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.Builder, com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscalingOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling, + com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.Builder, + com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscalingOrBuilder> getAutoscalingFieldBuilder() { if (autoscalingBuilder_ == null) { - autoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling, com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.Builder, com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscalingOrBuilder>( - getAutoscaling(), - getParentForChildren(), - isClean()); + autoscalingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling, + com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.Builder, + com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscalingOrBuilder>( + getAutoscaling(), getParentForChildren(), isClean()); autoscaling_ = null; } return autoscalingBuilder_; @@ -2452,18 +2789,20 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscalingOrBuilder getAuto private java.lang.Object subnetId_ = ""; /** + * + * *
      * Required. The subnet where the node pool node run.
      * 
* * string subnet_id = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The subnetId. */ public java.lang.String getSubnetId() { java.lang.Object ref = subnetId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetId_ = s; return s; @@ -2472,20 +2811,21 @@ public java.lang.String getSubnetId() { } } /** + * + * *
      * Required. The subnet where the node pool node run.
      * 
* * string subnet_id = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for subnetId. */ - public com.google.protobuf.ByteString - getSubnetIdBytes() { + public com.google.protobuf.ByteString getSubnetIdBytes() { java.lang.Object ref = subnetId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subnetId_ = b; return b; } else { @@ -2493,28 +2833,35 @@ public java.lang.String getSubnetId() { } } /** + * + * *
      * Required. The subnet where the node pool node run.
      * 
* * string subnet_id = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The subnetId to set. * @return This builder for chaining. */ - public Builder setSubnetId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSubnetId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } subnetId_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Required. The subnet where the node pool node run.
      * 
* * string subnet_id = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSubnetId() { @@ -2524,17 +2871,21 @@ public Builder clearSubnetId() { return this; } /** + * + * *
      * Required. The subnet where the node pool node run.
      * 
* * string subnet_id = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for subnetId to set. * @return This builder for chaining. */ - public Builder setSubnetIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSubnetIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); subnetId_ = value; bitField0_ |= 0x00000010; @@ -2544,22 +2895,33 @@ public Builder setSubnetIdBytes( private int state_ = 0; /** + * + * *
      * Output only. The lifecycle state of the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. The lifecycle state of the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2570,24 +2932,37 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. The lifecycle state of the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsNodePool.State getState() { - com.google.cloud.gkemulticloud.v1.AwsNodePool.State result = com.google.cloud.gkemulticloud.v1.AwsNodePool.State.forNumber(state_); - return result == null ? com.google.cloud.gkemulticloud.v1.AwsNodePool.State.UNRECOGNIZED : result; + com.google.cloud.gkemulticloud.v1.AwsNodePool.State result = + com.google.cloud.gkemulticloud.v1.AwsNodePool.State.forNumber(state_); + return result == null + ? com.google.cloud.gkemulticloud.v1.AwsNodePool.State.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The lifecycle state of the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -2601,11 +2976,16 @@ public Builder setState(com.google.cloud.gkemulticloud.v1.AwsNodePool.State valu return this; } /** + * + * *
      * Output only. The lifecycle state of the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -2617,18 +2997,20 @@ public Builder clearState() { private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. A globally unique identifier for the node pool.
      * 
* * string uid = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -2637,20 +3019,21 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. A globally unique identifier for the node pool.
      * 
* * string uid = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -2658,28 +3041,35 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. A globally unique identifier for the node pool.
      * 
* * string uid = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Output only. A globally unique identifier for the node pool.
      * 
* * string uid = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -2689,17 +3079,21 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. A globally unique identifier for the node pool.
      * 
* * string uid = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000040; @@ -2707,14 +3101,17 @@ public Builder setUidBytes( return this; } - private boolean reconciling_ ; + private boolean reconciling_; /** + * + * *
      * Output only. If set, there are currently changes in flight to the node
      * pool.
      * 
* * bool reconciling = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -2722,12 +3119,15 @@ public boolean getReconciling() { return reconciling_; } /** + * + * *
      * Output only. If set, there are currently changes in flight to the node
      * pool.
      * 
* * bool reconciling = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The reconciling to set. * @return This builder for chaining. */ @@ -2739,12 +3139,15 @@ public Builder setReconciling(boolean value) { return this; } /** + * + * *
      * Output only. If set, there are currently changes in flight to the node
      * pool.
      * 
* * bool reconciling = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -2756,39 +3159,58 @@ public Builder clearReconciling() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time at which this node pool was created.
      * 
* - * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
      * Output only. The time at which this node pool was created.
      * 
* - * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time at which this node pool was created.
      * 
* - * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2804,14 +3226,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this node pool was created.
      * 
* - * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -2822,17 +3247,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time at which this node pool was created.
      * 
* - * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -2845,11 +3274,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this node pool was created.
      * 
* - * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000100); @@ -2862,11 +3295,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time at which this node pool was created.
      * 
* - * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000100; @@ -2874,36 +3311,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time at which this node pool was created.
      * 
* - * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time at which this node pool was created.
      * 
* - * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2911,39 +3360,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2959,14 +3427,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -2977,17 +3448,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -3000,11 +3475,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000200); @@ -3017,11 +3496,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000200; @@ -3029,36 +3512,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -3066,6 +3561,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object etag_ = ""; /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3075,13 +3572,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string etag = 21; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -3090,6 +3587,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3099,15 +3598,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 21; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -3115,6 +3613,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3124,18 +3624,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 21; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3145,6 +3649,7 @@ public Builder setEtag(
      * 
* * string etag = 21; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -3154,6 +3659,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3163,12 +3670,14 @@ public Builder clearEtag() {
      * 
* * string etag = 21; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000400; @@ -3176,8 +3685,8 @@ public Builder setEtagBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -3186,11 +3695,12 @@ public Builder setEtagBytes( } return annotations_; } + private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = + com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -3199,10 +3709,13 @@ public Builder setEtagBytes( onChanged(); return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
      * Optional. Annotations on the node pool.
      *
@@ -3215,23 +3728,25 @@ public int getAnnotationsCount() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsAnnotations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetAnnotations().getMap().containsKey(key); } - /** - * Use {@link #getAnnotationsMap()} instead. - */ + /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** + * + * *
      * Optional. Annotations on the node pool.
      *
@@ -3244,13 +3759,16 @@ public java.util.Map getAnnotations() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** + * + * *
      * Optional. Annotations on the node pool.
      *
@@ -3263,20 +3781,23 @@ public java.util.Map getAnnotationsMap() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -java.lang.String getAnnotationsOrDefault( + public /* nullable */ java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Optional. Annotations on the node pool.
      *
@@ -3289,26 +3810,29 @@ java.lang.String getAnnotationsOrDefault(
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + public java.lang.String getAnnotationsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearAnnotations() { bitField0_ = (bitField0_ & ~0x00000800); - internalGetMutableAnnotations().getMutableMap() - .clear(); + internalGetMutableAnnotations().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. Annotations on the node pool.
      *
@@ -3321,25 +3845,25 @@ public Builder clearAnnotations() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder removeAnnotations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableAnnotations().getMutableMap() - .remove(key); + public Builder removeAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableAnnotations().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableAnnotations() { + public java.util.Map getMutableAnnotations() { bitField0_ |= 0x00000800; return internalGetMutableAnnotations().getMutableMap(); } /** + * + * *
      * Optional. Annotations on the node pool.
      *
@@ -3352,19 +3876,23 @@ public Builder removeAnnotations(
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder putAnnotations( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableAnnotations().getMutableMap() - .put(key, value); + public Builder putAnnotations(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableAnnotations().getMutableMap().put(key, value); bitField0_ |= 0x00000800; return this; } /** + * + * *
      * Optional. Annotations on the node pool.
      *
@@ -3377,54 +3905,72 @@ public Builder putAnnotations(
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder putAllAnnotations( - java.util.Map values) { - internalGetMutableAnnotations().getMutableMap() - .putAll(values); + public Builder putAllAnnotations(java.util.Map values) { + internalGetMutableAnnotations().getMutableMap().putAll(values); bitField0_ |= 0x00000800; return this; } private com.google.cloud.gkemulticloud.v1.MaxPodsConstraint maxPodsConstraint_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint, com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder, com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder> maxPodsConstraintBuilder_; + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint, + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder, + com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder> + maxPodsConstraintBuilder_; /** + * + * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the maxPodsConstraint field is set. */ public boolean hasMaxPodsConstraint() { return ((bitField0_ & 0x00001000) != 0); } /** + * + * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The maxPodsConstraint. */ public com.google.cloud.gkemulticloud.v1.MaxPodsConstraint getMaxPodsConstraint() { if (maxPodsConstraintBuilder_ == null) { - return maxPodsConstraint_ == null ? com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance() : maxPodsConstraint_; + return maxPodsConstraint_ == null + ? com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance() + : maxPodsConstraint_; } else { return maxPodsConstraintBuilder_.getMessage(); } } /** + * + * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setMaxPodsConstraint(com.google.cloud.gkemulticloud.v1.MaxPodsConstraint value) { if (maxPodsConstraintBuilder_ == null) { @@ -3440,12 +3986,16 @@ public Builder setMaxPodsConstraint(com.google.cloud.gkemulticloud.v1.MaxPodsCon return this; } /** + * + * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setMaxPodsConstraint( com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder builderForValue) { @@ -3459,18 +4009,24 @@ public Builder setMaxPodsConstraint( return this; } /** + * + * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeMaxPodsConstraint(com.google.cloud.gkemulticloud.v1.MaxPodsConstraint value) { + public Builder mergeMaxPodsConstraint( + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint value) { if (maxPodsConstraintBuilder_ == null) { - if (((bitField0_ & 0x00001000) != 0) && - maxPodsConstraint_ != null && - maxPodsConstraint_ != com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance()) { + if (((bitField0_ & 0x00001000) != 0) + && maxPodsConstraint_ != null + && maxPodsConstraint_ + != com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance()) { getMaxPodsConstraintBuilder().mergeFrom(value); } else { maxPodsConstraint_ = value; @@ -3483,12 +4039,16 @@ public Builder mergeMaxPodsConstraint(com.google.cloud.gkemulticloud.v1.MaxPodsC return this; } /** + * + * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearMaxPodsConstraint() { bitField0_ = (bitField0_ & ~0x00001000); @@ -3501,74 +4061,101 @@ public Builder clearMaxPodsConstraint() { return this; } /** + * + * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder getMaxPodsConstraintBuilder() { + public com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder + getMaxPodsConstraintBuilder() { bitField0_ |= 0x00001000; onChanged(); return getMaxPodsConstraintFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder getMaxPodsConstraintOrBuilder() { + public com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder + getMaxPodsConstraintOrBuilder() { if (maxPodsConstraintBuilder_ != null) { return maxPodsConstraintBuilder_.getMessageOrBuilder(); } else { - return maxPodsConstraint_ == null ? - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance() : maxPodsConstraint_; + return maxPodsConstraint_ == null + ? com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance() + : maxPodsConstraint_; } } /** + * + * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint, com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder, com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder> + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint, + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder, + com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder> getMaxPodsConstraintFieldBuilder() { if (maxPodsConstraintBuilder_ == null) { - maxPodsConstraintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint, com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder, com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder>( - getMaxPodsConstraint(), - getParentForChildren(), - isClean()); + maxPodsConstraintBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint, + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder, + com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder>( + getMaxPodsConstraint(), getParentForChildren(), isClean()); maxPodsConstraint_ = null; } return maxPodsConstraintBuilder_; } private java.util.List errors_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00002000) != 0)) { - errors_ = new java.util.ArrayList(errors_); + errors_ = + new java.util.ArrayList(errors_); bitField0_ |= 0x00002000; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodePoolError, com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder, com.google.cloud.gkemulticloud.v1.AwsNodePoolErrorOrBuilder> errorsBuilder_; + com.google.cloud.gkemulticloud.v1.AwsNodePoolError, + com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder, + com.google.cloud.gkemulticloud.v1.AwsNodePoolErrorOrBuilder> + errorsBuilder_; /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getErrorsList() { if (errorsBuilder_ == null) { @@ -3578,11 +4165,15 @@ public java.util.List getErr } } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -3592,11 +4183,15 @@ public int getErrorsCount() { } } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.gkemulticloud.v1.AwsNodePoolError getErrors(int index) { if (errorsBuilder_ == null) { @@ -3606,14 +4201,17 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolError getErrors(int index) { } } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setErrors( - int index, com.google.cloud.gkemulticloud.v1.AwsNodePoolError value) { + public Builder setErrors(int index, com.google.cloud.gkemulticloud.v1.AwsNodePoolError value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3627,11 +4225,15 @@ public Builder setErrors( return this; } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setErrors( int index, com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder builderForValue) { @@ -3645,11 +4247,15 @@ public Builder setErrors( return this; } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addErrors(com.google.cloud.gkemulticloud.v1.AwsNodePoolError value) { if (errorsBuilder_ == null) { @@ -3665,14 +4271,17 @@ public Builder addErrors(com.google.cloud.gkemulticloud.v1.AwsNodePoolError valu return this; } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addErrors( - int index, com.google.cloud.gkemulticloud.v1.AwsNodePoolError value) { + public Builder addErrors(int index, com.google.cloud.gkemulticloud.v1.AwsNodePoolError value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3686,11 +4295,15 @@ public Builder addErrors( return this; } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addErrors( com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder builderForValue) { @@ -3704,11 +4317,15 @@ public Builder addErrors( return this; } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addErrors( int index, com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder builderForValue) { @@ -3722,18 +4339,21 @@ public Builder addErrors( return this; } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllErrors( java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -3741,11 +4361,15 @@ public Builder addAllErrors( return this; } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -3758,11 +4382,15 @@ public Builder clearErrors() { return this; } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -3775,39 +4403,51 @@ public Builder removeErrors(int index) { return this; } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder getErrorsBuilder( - int index) { + public com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder getErrorsBuilder(int index) { return getErrorsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.gkemulticloud.v1.AwsNodePoolErrorOrBuilder getErrorsOrBuilder( int index) { if (errorsBuilder_ == null) { - return errors_.get(index); } else { + return errors_.get(index); + } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -3815,49 +4455,64 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolErrorOrBuilder getErrorsOrBu } } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder addErrorsBuilder() { - return getErrorsFieldBuilder().addBuilder( - com.google.cloud.gkemulticloud.v1.AwsNodePoolError.getDefaultInstance()); + return getErrorsFieldBuilder() + .addBuilder(com.google.cloud.gkemulticloud.v1.AwsNodePoolError.getDefaultInstance()); } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder addErrorsBuilder( - int index) { - return getErrorsFieldBuilder().addBuilder( - index, com.google.cloud.gkemulticloud.v1.AwsNodePoolError.getDefaultInstance()); + public com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder addErrorsBuilder(int index) { + return getErrorsFieldBuilder() + .addBuilder( + index, com.google.cloud.gkemulticloud.v1.AwsNodePoolError.getDefaultInstance()); } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodePoolError, com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder, com.google.cloud.gkemulticloud.v1.AwsNodePoolErrorOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsNodePoolError, + com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder, + com.google.cloud.gkemulticloud.v1.AwsNodePoolErrorOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodePoolError, com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder, com.google.cloud.gkemulticloud.v1.AwsNodePoolErrorOrBuilder>( - errors_, - ((bitField0_ & 0x00002000) != 0), - getParentForChildren(), - isClean()); + errorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsNodePoolError, + com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder, + com.google.cloud.gkemulticloud.v1.AwsNodePoolErrorOrBuilder>( + errors_, ((bitField0_ & 0x00002000) != 0), getParentForChildren(), isClean()); errors_ = null; } return errorsBuilder_; @@ -3865,39 +4520,58 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder addErrorsBuild private com.google.cloud.gkemulticloud.v1.AwsNodeManagement management_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodeManagement, com.google.cloud.gkemulticloud.v1.AwsNodeManagement.Builder, com.google.cloud.gkemulticloud.v1.AwsNodeManagementOrBuilder> managementBuilder_; + com.google.cloud.gkemulticloud.v1.AwsNodeManagement, + com.google.cloud.gkemulticloud.v1.AwsNodeManagement.Builder, + com.google.cloud.gkemulticloud.v1.AwsNodeManagementOrBuilder> + managementBuilder_; /** + * + * *
      * Optional. The Management configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the management field is set. */ public boolean hasManagement() { return ((bitField0_ & 0x00004000) != 0); } /** + * + * *
      * Optional. The Management configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The management. */ public com.google.cloud.gkemulticloud.v1.AwsNodeManagement getManagement() { if (managementBuilder_ == null) { - return management_ == null ? com.google.cloud.gkemulticloud.v1.AwsNodeManagement.getDefaultInstance() : management_; + return management_ == null + ? com.google.cloud.gkemulticloud.v1.AwsNodeManagement.getDefaultInstance() + : management_; } else { return managementBuilder_.getMessage(); } } /** + * + * *
      * Optional. The Management configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setManagement(com.google.cloud.gkemulticloud.v1.AwsNodeManagement value) { if (managementBuilder_ == null) { @@ -3913,11 +4587,15 @@ public Builder setManagement(com.google.cloud.gkemulticloud.v1.AwsNodeManagement return this; } /** + * + * *
      * Optional. The Management configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setManagement( com.google.cloud.gkemulticloud.v1.AwsNodeManagement.Builder builderForValue) { @@ -3931,17 +4609,22 @@ public Builder setManagement( return this; } /** + * + * *
      * Optional. The Management configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeManagement(com.google.cloud.gkemulticloud.v1.AwsNodeManagement value) { if (managementBuilder_ == null) { - if (((bitField0_ & 0x00004000) != 0) && - management_ != null && - management_ != com.google.cloud.gkemulticloud.v1.AwsNodeManagement.getDefaultInstance()) { + if (((bitField0_ & 0x00004000) != 0) + && management_ != null + && management_ + != com.google.cloud.gkemulticloud.v1.AwsNodeManagement.getDefaultInstance()) { getManagementBuilder().mergeFrom(value); } else { management_ = value; @@ -3954,11 +4637,15 @@ public Builder mergeManagement(com.google.cloud.gkemulticloud.v1.AwsNodeManageme return this; } /** + * + * *
      * Optional. The Management configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearManagement() { bitField0_ = (bitField0_ & ~0x00004000); @@ -3971,11 +4658,15 @@ public Builder clearManagement() { return this; } /** + * + * *
      * Optional. The Management configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AwsNodeManagement.Builder getManagementBuilder() { bitField0_ |= 0x00004000; @@ -3983,36 +4674,48 @@ public com.google.cloud.gkemulticloud.v1.AwsNodeManagement.Builder getManagement return getManagementFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The Management configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AwsNodeManagementOrBuilder getManagementOrBuilder() { if (managementBuilder_ != null) { return managementBuilder_.getMessageOrBuilder(); } else { - return management_ == null ? - com.google.cloud.gkemulticloud.v1.AwsNodeManagement.getDefaultInstance() : management_; + return management_ == null + ? com.google.cloud.gkemulticloud.v1.AwsNodeManagement.getDefaultInstance() + : management_; } } /** + * + * *
      * Optional. The Management configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodeManagement, com.google.cloud.gkemulticloud.v1.AwsNodeManagement.Builder, com.google.cloud.gkemulticloud.v1.AwsNodeManagementOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsNodeManagement, + com.google.cloud.gkemulticloud.v1.AwsNodeManagement.Builder, + com.google.cloud.gkemulticloud.v1.AwsNodeManagementOrBuilder> getManagementFieldBuilder() { if (managementBuilder_ == null) { - managementBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodeManagement, com.google.cloud.gkemulticloud.v1.AwsNodeManagement.Builder, com.google.cloud.gkemulticloud.v1.AwsNodeManagementOrBuilder>( - getManagement(), - getParentForChildren(), - isClean()); + managementBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsNodeManagement, + com.google.cloud.gkemulticloud.v1.AwsNodeManagement.Builder, + com.google.cloud.gkemulticloud.v1.AwsNodeManagementOrBuilder>( + getManagement(), getParentForChildren(), isClean()); management_ = null; } return managementBuilder_; @@ -4020,39 +4723,58 @@ public com.google.cloud.gkemulticloud.v1.AwsNodeManagementOrBuilder getManagemen private com.google.cloud.gkemulticloud.v1.UpdateSettings updateSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.UpdateSettings, com.google.cloud.gkemulticloud.v1.UpdateSettings.Builder, com.google.cloud.gkemulticloud.v1.UpdateSettingsOrBuilder> updateSettingsBuilder_; + com.google.cloud.gkemulticloud.v1.UpdateSettings, + com.google.cloud.gkemulticloud.v1.UpdateSettings.Builder, + com.google.cloud.gkemulticloud.v1.UpdateSettingsOrBuilder> + updateSettingsBuilder_; /** + * + * *
      * Optional. Update settings control the speed and disruption of the update.
      * 
* - * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateSettings field is set. */ public boolean hasUpdateSettings() { return ((bitField0_ & 0x00008000) != 0); } /** + * + * *
      * Optional. Update settings control the speed and disruption of the update.
      * 
* - * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateSettings. */ public com.google.cloud.gkemulticloud.v1.UpdateSettings getUpdateSettings() { if (updateSettingsBuilder_ == null) { - return updateSettings_ == null ? com.google.cloud.gkemulticloud.v1.UpdateSettings.getDefaultInstance() : updateSettings_; + return updateSettings_ == null + ? com.google.cloud.gkemulticloud.v1.UpdateSettings.getDefaultInstance() + : updateSettings_; } else { return updateSettingsBuilder_.getMessage(); } } /** + * + * *
      * Optional. Update settings control the speed and disruption of the update.
      * 
* - * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setUpdateSettings(com.google.cloud.gkemulticloud.v1.UpdateSettings value) { if (updateSettingsBuilder_ == null) { @@ -4068,11 +4790,15 @@ public Builder setUpdateSettings(com.google.cloud.gkemulticloud.v1.UpdateSetting return this; } /** + * + * *
      * Optional. Update settings control the speed and disruption of the update.
      * 
* - * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setUpdateSettings( com.google.cloud.gkemulticloud.v1.UpdateSettings.Builder builderForValue) { @@ -4086,17 +4812,22 @@ public Builder setUpdateSettings( return this; } /** + * + * *
      * Optional. Update settings control the speed and disruption of the update.
      * 
* - * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeUpdateSettings(com.google.cloud.gkemulticloud.v1.UpdateSettings value) { if (updateSettingsBuilder_ == null) { - if (((bitField0_ & 0x00008000) != 0) && - updateSettings_ != null && - updateSettings_ != com.google.cloud.gkemulticloud.v1.UpdateSettings.getDefaultInstance()) { + if (((bitField0_ & 0x00008000) != 0) + && updateSettings_ != null + && updateSettings_ + != com.google.cloud.gkemulticloud.v1.UpdateSettings.getDefaultInstance()) { getUpdateSettingsBuilder().mergeFrom(value); } else { updateSettings_ = value; @@ -4109,11 +4840,15 @@ public Builder mergeUpdateSettings(com.google.cloud.gkemulticloud.v1.UpdateSetti return this; } /** + * + * *
      * Optional. Update settings control the speed and disruption of the update.
      * 
* - * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearUpdateSettings() { bitField0_ = (bitField0_ & ~0x00008000); @@ -4126,11 +4861,15 @@ public Builder clearUpdateSettings() { return this; } /** + * + * *
      * Optional. Update settings control the speed and disruption of the update.
      * 
* - * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.UpdateSettings.Builder getUpdateSettingsBuilder() { bitField0_ |= 0x00008000; @@ -4138,43 +4877,55 @@ public com.google.cloud.gkemulticloud.v1.UpdateSettings.Builder getUpdateSetting return getUpdateSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Update settings control the speed and disruption of the update.
      * 
* - * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.UpdateSettingsOrBuilder getUpdateSettingsOrBuilder() { if (updateSettingsBuilder_ != null) { return updateSettingsBuilder_.getMessageOrBuilder(); } else { - return updateSettings_ == null ? - com.google.cloud.gkemulticloud.v1.UpdateSettings.getDefaultInstance() : updateSettings_; + return updateSettings_ == null + ? com.google.cloud.gkemulticloud.v1.UpdateSettings.getDefaultInstance() + : updateSettings_; } } /** + * + * *
      * Optional. Update settings control the speed and disruption of the update.
      * 
* - * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.UpdateSettings, com.google.cloud.gkemulticloud.v1.UpdateSettings.Builder, com.google.cloud.gkemulticloud.v1.UpdateSettingsOrBuilder> + com.google.cloud.gkemulticloud.v1.UpdateSettings, + com.google.cloud.gkemulticloud.v1.UpdateSettings.Builder, + com.google.cloud.gkemulticloud.v1.UpdateSettingsOrBuilder> getUpdateSettingsFieldBuilder() { if (updateSettingsBuilder_ == null) { - updateSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.UpdateSettings, com.google.cloud.gkemulticloud.v1.UpdateSettings.Builder, com.google.cloud.gkemulticloud.v1.UpdateSettingsOrBuilder>( - getUpdateSettings(), - getParentForChildren(), - isClean()); + updateSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.UpdateSettings, + com.google.cloud.gkemulticloud.v1.UpdateSettings.Builder, + com.google.cloud.gkemulticloud.v1.UpdateSettingsOrBuilder>( + getUpdateSettings(), getParentForChildren(), isClean()); updateSettings_ = null; } return updateSettingsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4184,12 +4935,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsNodePool) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsNodePool) private static final com.google.cloud.gkemulticloud.v1.AwsNodePool DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsNodePool(); } @@ -4198,27 +4949,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsNodePool getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsNodePool parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsNodePool parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4233,6 +4984,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsNodePool getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscaling.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscaling.java similarity index 68% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscaling.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscaling.java index 6e4a40957ab5..39ee892d9392 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscaling.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscaling.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * AwsNodePoolAutoscaling contains information required by cluster autoscaler
  * to adjust the size of the node pool to the current cluster usage.
@@ -11,47 +28,51 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling}
  */
-public final class AwsNodePoolAutoscaling extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AwsNodePoolAutoscaling extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling)
     AwsNodePoolAutoscalingOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AwsNodePoolAutoscaling.newBuilder() to construct.
   private AwsNodePoolAutoscaling(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private AwsNodePoolAutoscaling() {
-  }
+
+  private AwsNodePoolAutoscaling() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AwsNodePoolAutoscaling();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.class, com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.Builder.class);
+            com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.class,
+            com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.Builder.class);
   }
 
   public static final int MIN_NODE_COUNT_FIELD_NUMBER = 1;
   private int minNodeCount_ = 0;
   /**
+   *
+   *
    * 
    * Required. Minimum number of nodes in the node pool. Must be greater than or
    * equal to 1 and less than or equal to max_node_count.
    * 
* * int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The minNodeCount. */ @java.lang.Override @@ -62,12 +83,15 @@ public int getMinNodeCount() { public static final int MAX_NODE_COUNT_FIELD_NUMBER = 2; private int maxNodeCount_ = 0; /** + * + * *
    * Required. Maximum number of nodes in the node pool. Must be greater than or
    * equal to min_node_count and less than or equal to 50.
    * 
* * int32 max_node_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The maxNodeCount. */ @java.lang.Override @@ -76,6 +100,7 @@ public int getMaxNodeCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -87,8 +112,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (minNodeCount_ != 0) { output.writeInt32(1, minNodeCount_); } @@ -105,12 +129,10 @@ public int getSerializedSize() { size = 0; if (minNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, minNodeCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, minNodeCount_); } if (maxNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, maxNodeCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxNodeCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,17 +142,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling other = (com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling) obj; + com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling other = + (com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling) obj; - if (getMinNodeCount() - != other.getMinNodeCount()) return false; - if (getMaxNodeCount() - != other.getMaxNodeCount()) return false; + if (getMinNodeCount() != other.getMinNodeCount()) return false; + if (getMaxNodeCount() != other.getMaxNodeCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -152,98 +173,104 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * AwsNodePoolAutoscaling contains information required by cluster autoscaler
    * to adjust the size of the node pool to the current cluster usage.
@@ -251,33 +278,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling)
       com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscalingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.class, com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.Builder.class);
+              com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.class,
+              com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -288,9 +314,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_descriptor;
     }
 
     @java.lang.Override
@@ -309,8 +335,11 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling buildPartial() {
-      com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling result = new com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling result =
+          new com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -329,38 +358,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscal
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling)other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -368,7 +398,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling other) {
-      if (other == com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.getDefaultInstance()) return this;
+      if (other == com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling.getDefaultInstance())
+        return this;
       if (other.getMinNodeCount() != 0) {
         setMinNodeCount(other.getMinNodeCount());
       }
@@ -401,22 +432,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              minNodeCount_ = input.readInt32();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 16: {
-              maxNodeCount_ = input.readInt32();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                minNodeCount_ = input.readInt32();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 16:
+              {
+                maxNodeCount_ = input.readInt32();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -426,16 +460,20 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private int minNodeCount_ ;
+    private int minNodeCount_;
     /**
+     *
+     *
      * 
      * Required. Minimum number of nodes in the node pool. Must be greater than or
      * equal to 1 and less than or equal to max_node_count.
      * 
* * int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The minNodeCount. */ @java.lang.Override @@ -443,12 +481,15 @@ public int getMinNodeCount() { return minNodeCount_; } /** + * + * *
      * Required. Minimum number of nodes in the node pool. Must be greater than or
      * equal to 1 and less than or equal to max_node_count.
      * 
* * int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The minNodeCount to set. * @return This builder for chaining. */ @@ -460,12 +501,15 @@ public Builder setMinNodeCount(int value) { return this; } /** + * + * *
      * Required. Minimum number of nodes in the node pool. Must be greater than or
      * equal to 1 and less than or equal to max_node_count.
      * 
* * int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearMinNodeCount() { @@ -475,14 +519,17 @@ public Builder clearMinNodeCount() { return this; } - private int maxNodeCount_ ; + private int maxNodeCount_; /** + * + * *
      * Required. Maximum number of nodes in the node pool. Must be greater than or
      * equal to min_node_count and less than or equal to 50.
      * 
* * int32 max_node_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The maxNodeCount. */ @java.lang.Override @@ -490,12 +537,15 @@ public int getMaxNodeCount() { return maxNodeCount_; } /** + * + * *
      * Required. Maximum number of nodes in the node pool. Must be greater than or
      * equal to min_node_count and less than or equal to 50.
      * 
* * int32 max_node_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The maxNodeCount to set. * @return This builder for chaining. */ @@ -507,12 +557,15 @@ public Builder setMaxNodeCount(int value) { return this; } /** + * + * *
      * Required. Maximum number of nodes in the node pool. Must be greater than or
      * equal to min_node_count and less than or equal to 50.
      * 
* * int32 max_node_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearMaxNodeCount() { @@ -521,9 +574,9 @@ public Builder clearMaxNodeCount() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,12 +586,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling) private static final com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling(); } @@ -547,27 +600,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsNodePoolAutoscaling parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsNodePoolAutoscaling parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -582,6 +635,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscalingOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscalingOrBuilder.java similarity index 58% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscalingOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscalingOrBuilder.java index 062473ff0028..2dbf24a42042 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscalingOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolAutoscalingOrBuilder.java @@ -1,30 +1,52 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsNodePoolAutoscalingOrBuilder extends +public interface AwsNodePoolAutoscalingOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Minimum number of nodes in the node pool. Must be greater than or
    * equal to 1 and less than or equal to max_node_count.
    * 
* * int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The minNodeCount. */ int getMinNodeCount(); /** + * + * *
    * Required. Maximum number of nodes in the node pool. Must be greater than or
    * equal to min_node_count and less than or equal to 50.
    * 
* * int32 max_node_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The maxNodeCount. */ int getMaxNodeCount(); diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolError.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolError.java similarity index 66% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolError.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolError.java index bdd5ebe7b6df..7d20c85f4dc2 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolError.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolError.java @@ -1,57 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * AwsNodePoolError describes errors found on AWS node pools.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsNodePoolError} */ -public final class AwsNodePoolError extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AwsNodePoolError extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsNodePoolError) AwsNodePoolErrorOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AwsNodePoolError.newBuilder() to construct. private AwsNodePoolError(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AwsNodePoolError() { message_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AwsNodePoolError(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsNodePoolError.class, com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsNodePoolError.class, + com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder.class); } public static final int MESSAGE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** + * + * *
    * Human-friendly description of the error.
    * 
* * string message = 1; + * * @return The message. */ @java.lang.Override @@ -60,29 +83,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** + * + * *
    * Human-friendly description of the error.
    * 
* * string message = 1; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -91,6 +114,7 @@ public java.lang.String getMessage() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,8 +126,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } @@ -127,15 +150,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsNodePoolError)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsNodePoolError other = (com.google.cloud.gkemulticloud.v1.AwsNodePoolError) obj; + com.google.cloud.gkemulticloud.v1.AwsNodePoolError other = + (com.google.cloud.gkemulticloud.v1.AwsNodePoolError) obj; - if (!getMessage() - .equals(other.getMessage())) return false; + if (!getMessage().equals(other.getMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -155,131 +178,135 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AwsNodePoolError parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsNodePoolError parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsNodePoolError parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsNodePoolError parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsNodePoolError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsNodePoolError parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePoolError parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AwsNodePoolError parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsNodePoolError parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsNodePoolError parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsNodePoolError parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsNodePoolError parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsNodePoolError parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsNodePoolError parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsNodePoolError prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * AwsNodePoolError describes errors found on AWS node pools.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsNodePoolError} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsNodePoolError) com.google.cloud.gkemulticloud.v1.AwsNodePoolErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsNodePoolError.class, com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsNodePoolError.class, + com.google.cloud.gkemulticloud.v1.AwsNodePoolError.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AwsNodePoolError.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -289,9 +316,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_descriptor; } @java.lang.Override @@ -310,8 +337,11 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolError build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsNodePoolError buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsNodePoolError result = new com.google.cloud.gkemulticloud.v1.AwsNodePoolError(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.AwsNodePoolError result = + new com.google.cloud.gkemulticloud.v1.AwsNodePoolError(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -327,38 +357,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsNodePoolError re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AwsNodePoolError) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsNodePoolError)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsNodePoolError) other); } else { super.mergeFrom(other); return this; @@ -366,7 +397,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsNodePoolError other) { - if (other == com.google.cloud.gkemulticloud.v1.AwsNodePoolError.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AwsNodePoolError.getDefaultInstance()) + return this; if (!other.getMessage().isEmpty()) { message_ = other.message_; bitField0_ |= 0x00000001; @@ -398,17 +430,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -418,22 +452,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object message_ = ""; /** + * + * *
      * Human-friendly description of the error.
      * 
* * string message = 1; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -442,20 +479,21 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Human-friendly description of the error.
      * 
* * string message = 1; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -463,28 +501,35 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Human-friendly description of the error.
      * 
* * string message = 1; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Human-friendly description of the error.
      * 
* * string message = 1; + * * @return This builder for chaining. */ public Builder clearMessage() { @@ -494,26 +539,30 @@ public Builder clearMessage() { return this; } /** + * + * *
      * Human-friendly description of the error.
      * 
* * string message = 1; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -523,12 +572,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsNodePoolError) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsNodePoolError) private static final com.google.cloud.gkemulticloud.v1.AwsNodePoolError DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsNodePoolError(); } @@ -537,27 +586,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsNodePoolError getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsNodePoolError parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsNodePoolError parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -572,6 +621,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsNodePoolError getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolErrorOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolErrorOrBuilder.java new file mode 100644 index 000000000000..d8621cb66ca2 --- /dev/null +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolErrorOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface AwsNodePoolErrorOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsNodePoolError) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Human-friendly description of the error.
+   * 
+ * + * string message = 1; + * + * @return The message. + */ + java.lang.String getMessage(); + /** + * + * + *
+   * Human-friendly description of the error.
+   * 
+ * + * string message = 1; + * + * @return The bytes for message. + */ + com.google.protobuf.ByteString getMessageBytes(); +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolName.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolName.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolName.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolName.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolOrBuilder.java similarity index 69% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolOrBuilder.java index 8ee362ca28ec..550196870b94 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsNodePoolOrBuilder extends +public interface AwsNodePoolOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsNodePool) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of this resource.
    *
@@ -19,10 +37,13 @@ public interface AwsNodePoolOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of this resource.
    *
@@ -34,12 +55,14 @@ public interface AwsNodePoolOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The Kubernetes version to run on this node pool (e.g.
    * `1.19.10-gke.1000`).
@@ -50,10 +73,13 @@ public interface AwsNodePoolOrBuilder extends
    * 
* * string version = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * Required. The Kubernetes version to run on this node pool (e.g.
    * `1.19.10-gke.1000`).
@@ -64,190 +90,265 @@ public interface AwsNodePoolOrBuilder extends
    * 
* * string version = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * Required. The configuration of the node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the config field is set. */ boolean hasConfig(); /** + * + * *
    * Required. The configuration of the node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The config. */ com.google.cloud.gkemulticloud.v1.AwsNodeConfig getConfig(); /** + * + * *
    * Required. The configuration of the node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodeConfig config = 28 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gkemulticloud.v1.AwsNodeConfigOrBuilder getConfigOrBuilder(); /** + * + * *
    * Required. Autoscaler configuration for this node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the autoscaling field is set. */ boolean hasAutoscaling(); /** + * + * *
    * Required. Autoscaler configuration for this node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The autoscaling. */ com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling getAutoscaling(); /** + * + * *
    * Required. Autoscaler configuration for this node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePoolAutoscaling autoscaling = 25 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gkemulticloud.v1.AwsNodePoolAutoscalingOrBuilder getAutoscalingOrBuilder(); /** + * + * *
    * Required. The subnet where the node pool node run.
    * 
* * string subnet_id = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The subnetId. */ java.lang.String getSubnetId(); /** + * + * *
    * Required. The subnet where the node pool node run.
    * 
* * string subnet_id = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for subnetId. */ - com.google.protobuf.ByteString - getSubnetIdBytes(); + com.google.protobuf.ByteString getSubnetIdBytes(); /** + * + * *
    * Output only. The lifecycle state of the node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The lifecycle state of the node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool.State state = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.gkemulticloud.v1.AwsNodePool.State getState(); /** + * + * *
    * Output only. A globally unique identifier for the node pool.
    * 
* * string uid = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. A globally unique identifier for the node pool.
    * 
* * string uid = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Output only. If set, there are currently changes in flight to the node
    * pool.
    * 
* * bool reconciling = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ boolean getReconciling(); /** + * + * *
    * Output only. The time at which this node pool was created.
    * 
* - * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time at which this node pool was created.
    * 
* - * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time at which this node pool was created.
    * 
* - * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time at which this node pool was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The time at which this node pool was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The time at which this node pool was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -257,10 +358,13 @@ public interface AwsNodePoolOrBuilder extends
    * 
* * string etag = 21; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -270,12 +374,14 @@ public interface AwsNodePoolOrBuilder extends
    * 
* * string etag = 21; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Optional. Annotations on the node pool.
    *
@@ -288,10 +394,13 @@ public interface AwsNodePoolOrBuilder extends
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getAnnotationsCount(); /** + * + * *
    * Optional. Annotations on the node pool.
    *
@@ -304,17 +413,16 @@ public interface AwsNodePoolOrBuilder extends
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; - */ - boolean containsAnnotations( - java.lang.String key); - /** - * Use {@link #getAnnotationsMap()} instead. + * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ + boolean containsAnnotations(java.lang.String key); + /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getAnnotations(); + java.util.Map getAnnotations(); /** + * + * *
    * Optional. Annotations on the node pool.
    *
@@ -327,11 +435,13 @@ boolean containsAnnotations(
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.Map - getAnnotationsMap(); + java.util.Map getAnnotationsMap(); /** + * + * *
    * Optional. Annotations on the node pool.
    *
@@ -344,14 +454,17 @@ boolean containsAnnotations(
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ /* nullable */ -java.lang.String getAnnotationsOrDefault( + java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Optional. Annotations on the node pool.
    *
@@ -364,136 +477,196 @@ java.lang.String getAnnotationsOrDefault(
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.lang.String getAnnotationsOrThrow( - java.lang.String key); + java.lang.String getAnnotationsOrThrow(java.lang.String key); /** + * + * *
    * Required. The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the maxPodsConstraint field is set. */ boolean hasMaxPodsConstraint(); /** + * + * *
    * Required. The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The maxPodsConstraint. */ com.google.cloud.gkemulticloud.v1.MaxPodsConstraint getMaxPodsConstraint(); /** + * + * *
    * Required. The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 27 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder getMaxPodsConstraintOrBuilder(); /** + * + * *
    * Output only. A set of errors found in the node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getErrorsList(); + java.util.List getErrorsList(); /** + * + * *
    * Output only. A set of errors found in the node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.gkemulticloud.v1.AwsNodePoolError getErrors(int index); /** + * + * *
    * Output only. A set of errors found in the node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getErrorsCount(); /** + * + * *
    * Output only. A set of errors found in the node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getErrorsOrBuilderList(); /** + * + * *
    * Output only. A set of errors found in the node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AwsNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.gkemulticloud.v1.AwsNodePoolErrorOrBuilder getErrorsOrBuilder( - int index); + com.google.cloud.gkemulticloud.v1.AwsNodePoolErrorOrBuilder getErrorsOrBuilder(int index); /** + * + * *
    * Optional. The Management configuration for this node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the management field is set. */ boolean hasManagement(); /** + * + * *
    * Optional. The Management configuration for this node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The management. */ com.google.cloud.gkemulticloud.v1.AwsNodeManagement getManagement(); /** + * + * *
    * Optional. The Management configuration for this node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.AwsNodeManagementOrBuilder getManagementOrBuilder(); /** + * + * *
    * Optional. Update settings control the speed and disruption of the update.
    * 
* - * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateSettings field is set. */ boolean hasUpdateSettings(); /** + * + * *
    * Optional. Update settings control the speed and disruption of the update.
    * 
* - * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateSettings. */ com.google.cloud.gkemulticloud.v1.UpdateSettings getUpdateSettings(); /** + * + * *
    * Optional. Update settings control the speed and disruption of the update.
    * 
* - * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.UpdateSettings update_settings = 32 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.UpdateSettingsOrBuilder getUpdateSettingsOrBuilder(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsOpenIdConfig.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsOpenIdConfig.java similarity index 72% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsOpenIdConfig.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsOpenIdConfig.java index 809a26613b58..aeb8246c347c 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsOpenIdConfig.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsOpenIdConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * AwsOpenIdConfig is an OIDC discovery document for the cluster.
  * See the OpenID Connect Discovery 1.0 specification for details.
@@ -11,59 +28,60 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsOpenIdConfig}
  */
-public final class AwsOpenIdConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AwsOpenIdConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsOpenIdConfig)
     AwsOpenIdConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AwsOpenIdConfig.newBuilder() to construct.
   private AwsOpenIdConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AwsOpenIdConfig() {
     issuer_ = "";
     jwksUri_ = "";
-    responseTypesSupported_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
-    subjectTypesSupported_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
-    idTokenSigningAlgValuesSupported_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
-    claimsSupported_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
-    grantTypes_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    responseTypesSupported_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    subjectTypesSupported_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    idTokenSigningAlgValuesSupported_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    claimsSupported_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    grantTypes_ = com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AwsOpenIdConfig();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsOpenIdConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AwsOpenIdConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsOpenIdConfig_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AwsOpenIdConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig.class, com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig.Builder.class);
+            com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig.class,
+            com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig.Builder.class);
   }
 
   public static final int ISSUER_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object issuer_ = "";
   /**
+   *
+   *
    * 
    * OIDC Issuer.
    * 
* * string issuer = 1; + * * @return The issuer. */ @java.lang.Override @@ -72,29 +90,29 @@ public java.lang.String getIssuer() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issuer_ = s; return s; } } /** + * + * *
    * OIDC Issuer.
    * 
* * string issuer = 1; + * * @return The bytes for issuer. */ @java.lang.Override - public com.google.protobuf.ByteString - getIssuerBytes() { + public com.google.protobuf.ByteString getIssuerBytes() { java.lang.Object ref = issuer_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); issuer_ = b; return b; } else { @@ -103,14 +121,18 @@ public java.lang.String getIssuer() { } public static final int JWKS_URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object jwksUri_ = ""; /** + * + * *
    * JSON Web Key uri.
    * 
* * string jwks_uri = 2; + * * @return The jwksUri. */ @java.lang.Override @@ -119,29 +141,29 @@ public java.lang.String getJwksUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jwksUri_ = s; return s; } } /** + * + * *
    * JSON Web Key uri.
    * 
* * string jwks_uri = 2; + * * @return The bytes for jwksUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getJwksUriBytes() { + public com.google.protobuf.ByteString getJwksUriBytes() { java.lang.Object ref = jwksUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jwksUri_ = b; return b; } else { @@ -150,38 +172,47 @@ public java.lang.String getJwksUri() { } public static final int RESPONSE_TYPES_SUPPORTED_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList responseTypesSupported_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; + * * @return A list containing the responseTypesSupported. */ - public com.google.protobuf.ProtocolStringList - getResponseTypesSupportedList() { + public com.google.protobuf.ProtocolStringList getResponseTypesSupportedList() { return responseTypesSupported_; } /** + * + * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; + * * @return The count of responseTypesSupported. */ public int getResponseTypesSupportedCount() { return responseTypesSupported_.size(); } /** + * + * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; + * * @param index The index of the element to return. * @return The responseTypesSupported at the given index. */ @@ -189,52 +220,63 @@ public java.lang.String getResponseTypesSupported(int index) { return responseTypesSupported_.get(index); } /** + * + * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; + * * @param index The index of the value to return. * @return The bytes of the responseTypesSupported at the given index. */ - public com.google.protobuf.ByteString - getResponseTypesSupportedBytes(int index) { + public com.google.protobuf.ByteString getResponseTypesSupportedBytes(int index) { return responseTypesSupported_.getByteString(index); } public static final int SUBJECT_TYPES_SUPPORTED_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList subjectTypesSupported_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; + * * @return A list containing the subjectTypesSupported. */ - public com.google.protobuf.ProtocolStringList - getSubjectTypesSupportedList() { + public com.google.protobuf.ProtocolStringList getSubjectTypesSupportedList() { return subjectTypesSupported_; } /** + * + * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; + * * @return The count of subjectTypesSupported. */ public int getSubjectTypesSupportedCount() { return subjectTypesSupported_.size(); } /** + * + * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; + * * @param index The index of the element to return. * @return The subjectTypesSupported at the given index. */ @@ -242,52 +284,63 @@ public java.lang.String getSubjectTypesSupported(int index) { return subjectTypesSupported_.get(index); } /** + * + * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; + * * @param index The index of the value to return. * @return The bytes of the subjectTypesSupported at the given index. */ - public com.google.protobuf.ByteString - getSubjectTypesSupportedBytes(int index) { + public com.google.protobuf.ByteString getSubjectTypesSupportedBytes(int index) { return subjectTypesSupported_.getByteString(index); } public static final int ID_TOKEN_SIGNING_ALG_VALUES_SUPPORTED_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList idTokenSigningAlgValuesSupported_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @return A list containing the idTokenSigningAlgValuesSupported. */ - public com.google.protobuf.ProtocolStringList - getIdTokenSigningAlgValuesSupportedList() { + public com.google.protobuf.ProtocolStringList getIdTokenSigningAlgValuesSupportedList() { return idTokenSigningAlgValuesSupported_; } /** + * + * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @return The count of idTokenSigningAlgValuesSupported. */ public int getIdTokenSigningAlgValuesSupportedCount() { return idTokenSigningAlgValuesSupported_.size(); } /** + * + * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param index The index of the element to return. * @return The idTokenSigningAlgValuesSupported at the given index. */ @@ -295,52 +348,63 @@ public java.lang.String getIdTokenSigningAlgValuesSupported(int index) { return idTokenSigningAlgValuesSupported_.get(index); } /** + * + * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param index The index of the value to return. * @return The bytes of the idTokenSigningAlgValuesSupported at the given index. */ - public com.google.protobuf.ByteString - getIdTokenSigningAlgValuesSupportedBytes(int index) { + public com.google.protobuf.ByteString getIdTokenSigningAlgValuesSupportedBytes(int index) { return idTokenSigningAlgValuesSupported_.getByteString(index); } public static final int CLAIMS_SUPPORTED_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList claimsSupported_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; + * * @return A list containing the claimsSupported. */ - public com.google.protobuf.ProtocolStringList - getClaimsSupportedList() { + public com.google.protobuf.ProtocolStringList getClaimsSupportedList() { return claimsSupported_; } /** + * + * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; + * * @return The count of claimsSupported. */ public int getClaimsSupportedCount() { return claimsSupported_.size(); } /** + * + * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; + * * @param index The index of the element to return. * @return The claimsSupported at the given index. */ @@ -348,52 +412,63 @@ public java.lang.String getClaimsSupported(int index) { return claimsSupported_.get(index); } /** + * + * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; + * * @param index The index of the value to return. * @return The bytes of the claimsSupported at the given index. */ - public com.google.protobuf.ByteString - getClaimsSupportedBytes(int index) { + public com.google.protobuf.ByteString getClaimsSupportedBytes(int index) { return claimsSupported_.getByteString(index); } public static final int GRANT_TYPES_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList grantTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; + * * @return A list containing the grantTypes. */ - public com.google.protobuf.ProtocolStringList - getGrantTypesList() { + public com.google.protobuf.ProtocolStringList getGrantTypesList() { return grantTypes_; } /** + * + * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; + * * @return The count of grantTypes. */ public int getGrantTypesCount() { return grantTypes_.size(); } /** + * + * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; + * * @param index The index of the element to return. * @return The grantTypes at the given index. */ @@ -401,20 +476,23 @@ public java.lang.String getGrantTypes(int index) { return grantTypes_.get(index); } /** + * + * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; + * * @param index The index of the value to return. * @return The bytes of the grantTypes at the given index. */ - public com.google.protobuf.ByteString - getGrantTypesBytes(int index) { + public com.google.protobuf.ByteString getGrantTypesBytes(int index) { return grantTypes_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -426,8 +504,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issuer_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issuer_); } @@ -435,13 +512,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 2, jwksUri_); } for (int i = 0; i < responseTypesSupported_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, responseTypesSupported_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 3, responseTypesSupported_.getRaw(i)); } for (int i = 0; i < subjectTypesSupported_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, subjectTypesSupported_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 4, subjectTypesSupported_.getRaw(i)); } for (int i = 0; i < idTokenSigningAlgValuesSupported_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, idTokenSigningAlgValuesSupported_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 5, idTokenSigningAlgValuesSupported_.getRaw(i)); } for (int i = 0; i < claimsSupported_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, claimsSupported_.getRaw(i)); @@ -512,27 +592,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig other = (com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig) obj; + com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig other = + (com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig) obj; - if (!getIssuer() - .equals(other.getIssuer())) return false; - if (!getJwksUri() - .equals(other.getJwksUri())) return false; - if (!getResponseTypesSupportedList() - .equals(other.getResponseTypesSupportedList())) return false; - if (!getSubjectTypesSupportedList() - .equals(other.getSubjectTypesSupportedList())) return false; + if (!getIssuer().equals(other.getIssuer())) return false; + if (!getJwksUri().equals(other.getJwksUri())) return false; + if (!getResponseTypesSupportedList().equals(other.getResponseTypesSupportedList())) + return false; + if (!getSubjectTypesSupportedList().equals(other.getSubjectTypesSupportedList())) return false; if (!getIdTokenSigningAlgValuesSupportedList() .equals(other.getIdTokenSigningAlgValuesSupportedList())) return false; - if (!getClaimsSupportedList() - .equals(other.getClaimsSupportedList())) return false; - if (!getGrantTypesList() - .equals(other.getGrantTypesList())) return false; + if (!getClaimsSupportedList().equals(other.getClaimsSupportedList())) return false; + if (!getGrantTypesList().equals(other.getGrantTypesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -574,98 +650,103 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * AwsOpenIdConfig is an OIDC discovery document for the cluster.
    * See the OpenID Connect Discovery 1.0 specification for details.
@@ -673,56 +754,50 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsOpenIdConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsOpenIdConfig)
       com.google.cloud.gkemulticloud.v1.AwsOpenIdConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsOpenIdConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AwsOpenIdConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsOpenIdConfig_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AwsOpenIdConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig.class, com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig.Builder.class);
+              com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig.class,
+              com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
       issuer_ = "";
       jwksUri_ = "";
-      responseTypesSupported_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
-      subjectTypesSupported_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
-      idTokenSigningAlgValuesSupported_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
-      claimsSupported_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
-      grantTypes_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      responseTypesSupported_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      subjectTypesSupported_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      idTokenSigningAlgValuesSupported_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      claimsSupported_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      grantTypes_ = com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsOpenIdConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AwsOpenIdConfig_descriptor;
     }
 
     @java.lang.Override
@@ -741,8 +816,11 @@ public com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig buildPartial() {
-      com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig result = new com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig result =
+          new com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -781,38 +859,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig res
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig)other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -820,7 +899,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig other) {
-      if (other == com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig.getDefaultInstance()) return this;
+      if (other == com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig.getDefaultInstance())
+        return this;
       if (!other.getIssuer().isEmpty()) {
         issuer_ = other.issuer_;
         bitField0_ |= 0x00000001;
@@ -907,52 +987,60 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              issuer_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              jwksUri_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureResponseTypesSupportedIsMutable();
-              responseTypesSupported_.add(s);
-              break;
-            } // case 26
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureSubjectTypesSupportedIsMutable();
-              subjectTypesSupported_.add(s);
-              break;
-            } // case 34
-            case 42: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureIdTokenSigningAlgValuesSupportedIsMutable();
-              idTokenSigningAlgValuesSupported_.add(s);
-              break;
-            } // case 42
-            case 50: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureClaimsSupportedIsMutable();
-              claimsSupported_.add(s);
-              break;
-            } // case 50
-            case 58: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureGrantTypesIsMutable();
-              grantTypes_.add(s);
-              break;
-            } // case 58
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                issuer_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                jwksUri_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureResponseTypesSupportedIsMutable();
+                responseTypesSupported_.add(s);
+                break;
+              } // case 26
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureSubjectTypesSupportedIsMutable();
+                subjectTypesSupported_.add(s);
+                break;
+              } // case 34
+            case 42:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureIdTokenSigningAlgValuesSupportedIsMutable();
+                idTokenSigningAlgValuesSupported_.add(s);
+                break;
+              } // case 42
+            case 50:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureClaimsSupportedIsMutable();
+                claimsSupported_.add(s);
+                break;
+              } // case 50
+            case 58:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureGrantTypesIsMutable();
+                grantTypes_.add(s);
+                break;
+              } // case 58
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -962,22 +1050,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object issuer_ = "";
     /**
+     *
+     *
      * 
      * OIDC Issuer.
      * 
* * string issuer = 1; + * * @return The issuer. */ public java.lang.String getIssuer() { java.lang.Object ref = issuer_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issuer_ = s; return s; @@ -986,20 +1077,21 @@ public java.lang.String getIssuer() { } } /** + * + * *
      * OIDC Issuer.
      * 
* * string issuer = 1; + * * @return The bytes for issuer. */ - public com.google.protobuf.ByteString - getIssuerBytes() { + public com.google.protobuf.ByteString getIssuerBytes() { java.lang.Object ref = issuer_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); issuer_ = b; return b; } else { @@ -1007,28 +1099,35 @@ public java.lang.String getIssuer() { } } /** + * + * *
      * OIDC Issuer.
      * 
* * string issuer = 1; + * * @param value The issuer to set. * @return This builder for chaining. */ - public Builder setIssuer( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIssuer(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } issuer_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * OIDC Issuer.
      * 
* * string issuer = 1; + * * @return This builder for chaining. */ public Builder clearIssuer() { @@ -1038,17 +1137,21 @@ public Builder clearIssuer() { return this; } /** + * + * *
      * OIDC Issuer.
      * 
* * string issuer = 1; + * * @param value The bytes for issuer to set. * @return This builder for chaining. */ - public Builder setIssuerBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIssuerBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); issuer_ = value; bitField0_ |= 0x00000001; @@ -1058,18 +1161,20 @@ public Builder setIssuerBytes( private java.lang.Object jwksUri_ = ""; /** + * + * *
      * JSON Web Key uri.
      * 
* * string jwks_uri = 2; + * * @return The jwksUri. */ public java.lang.String getJwksUri() { java.lang.Object ref = jwksUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jwksUri_ = s; return s; @@ -1078,20 +1183,21 @@ public java.lang.String getJwksUri() { } } /** + * + * *
      * JSON Web Key uri.
      * 
* * string jwks_uri = 2; + * * @return The bytes for jwksUri. */ - public com.google.protobuf.ByteString - getJwksUriBytes() { + public com.google.protobuf.ByteString getJwksUriBytes() { java.lang.Object ref = jwksUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jwksUri_ = b; return b; } else { @@ -1099,28 +1205,35 @@ public java.lang.String getJwksUri() { } } /** + * + * *
      * JSON Web Key uri.
      * 
* * string jwks_uri = 2; + * * @param value The jwksUri to set. * @return This builder for chaining. */ - public Builder setJwksUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJwksUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } jwksUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * JSON Web Key uri.
      * 
* * string jwks_uri = 2; + * * @return This builder for chaining. */ public Builder clearJwksUri() { @@ -1130,17 +1243,21 @@ public Builder clearJwksUri() { return this; } /** + * + * *
      * JSON Web Key uri.
      * 
* * string jwks_uri = 2; + * * @param value The bytes for jwksUri to set. * @return This builder for chaining. */ - public Builder setJwksUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJwksUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); jwksUri_ = value; bitField0_ |= 0x00000002; @@ -1150,42 +1267,52 @@ public Builder setJwksUriBytes( private com.google.protobuf.LazyStringArrayList responseTypesSupported_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureResponseTypesSupportedIsMutable() { if (!responseTypesSupported_.isModifiable()) { - responseTypesSupported_ = new com.google.protobuf.LazyStringArrayList(responseTypesSupported_); + responseTypesSupported_ = + new com.google.protobuf.LazyStringArrayList(responseTypesSupported_); } bitField0_ |= 0x00000004; } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @return A list containing the responseTypesSupported. */ - public com.google.protobuf.ProtocolStringList - getResponseTypesSupportedList() { + public com.google.protobuf.ProtocolStringList getResponseTypesSupportedList() { responseTypesSupported_.makeImmutable(); return responseTypesSupported_; } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @return The count of responseTypesSupported. */ public int getResponseTypesSupportedCount() { return responseTypesSupported_.size(); } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @param index The index of the element to return. * @return The responseTypesSupported at the given index. */ @@ -1193,31 +1320,37 @@ public java.lang.String getResponseTypesSupported(int index) { return responseTypesSupported_.get(index); } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @param index The index of the value to return. * @return The bytes of the responseTypesSupported at the given index. */ - public com.google.protobuf.ByteString - getResponseTypesSupportedBytes(int index) { + public com.google.protobuf.ByteString getResponseTypesSupportedBytes(int index) { return responseTypesSupported_.getByteString(index); } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @param index The index to set the value at. * @param value The responseTypesSupported to set. * @return This builder for chaining. */ - public Builder setResponseTypesSupported( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResponseTypesSupported(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureResponseTypesSupportedIsMutable(); responseTypesSupported_.set(index, value); bitField0_ |= 0x00000004; @@ -1225,17 +1358,21 @@ public Builder setResponseTypesSupported( return this; } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @param value The responseTypesSupported to add. * @return This builder for chaining. */ - public Builder addResponseTypesSupported( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addResponseTypesSupported(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureResponseTypesSupportedIsMutable(); responseTypesSupported_.add(value); bitField0_ |= 0x00000004; @@ -1243,50 +1380,58 @@ public Builder addResponseTypesSupported( return this; } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @param values The responseTypesSupported to add. * @return This builder for chaining. */ - public Builder addAllResponseTypesSupported( - java.lang.Iterable values) { + public Builder addAllResponseTypesSupported(java.lang.Iterable values) { ensureResponseTypesSupportedIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, responseTypesSupported_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, responseTypesSupported_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @return This builder for chaining. */ public Builder clearResponseTypesSupported() { - responseTypesSupported_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + responseTypesSupported_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @param value The bytes of the responseTypesSupported to add. * @return This builder for chaining. */ - public Builder addResponseTypesSupportedBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addResponseTypesSupportedBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureResponseTypesSupportedIsMutable(); responseTypesSupported_.add(value); @@ -1297,42 +1442,52 @@ public Builder addResponseTypesSupportedBytes( private com.google.protobuf.LazyStringArrayList subjectTypesSupported_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureSubjectTypesSupportedIsMutable() { if (!subjectTypesSupported_.isModifiable()) { - subjectTypesSupported_ = new com.google.protobuf.LazyStringArrayList(subjectTypesSupported_); + subjectTypesSupported_ = + new com.google.protobuf.LazyStringArrayList(subjectTypesSupported_); } bitField0_ |= 0x00000008; } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @return A list containing the subjectTypesSupported. */ - public com.google.protobuf.ProtocolStringList - getSubjectTypesSupportedList() { + public com.google.protobuf.ProtocolStringList getSubjectTypesSupportedList() { subjectTypesSupported_.makeImmutable(); return subjectTypesSupported_; } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @return The count of subjectTypesSupported. */ public int getSubjectTypesSupportedCount() { return subjectTypesSupported_.size(); } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @param index The index of the element to return. * @return The subjectTypesSupported at the given index. */ @@ -1340,31 +1495,37 @@ public java.lang.String getSubjectTypesSupported(int index) { return subjectTypesSupported_.get(index); } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @param index The index of the value to return. * @return The bytes of the subjectTypesSupported at the given index. */ - public com.google.protobuf.ByteString - getSubjectTypesSupportedBytes(int index) { + public com.google.protobuf.ByteString getSubjectTypesSupportedBytes(int index) { return subjectTypesSupported_.getByteString(index); } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @param index The index to set the value at. * @param value The subjectTypesSupported to set. * @return This builder for chaining. */ - public Builder setSubjectTypesSupported( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSubjectTypesSupported(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSubjectTypesSupportedIsMutable(); subjectTypesSupported_.set(index, value); bitField0_ |= 0x00000008; @@ -1372,17 +1533,21 @@ public Builder setSubjectTypesSupported( return this; } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @param value The subjectTypesSupported to add. * @return This builder for chaining. */ - public Builder addSubjectTypesSupported( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSubjectTypesSupported(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSubjectTypesSupportedIsMutable(); subjectTypesSupported_.add(value); bitField0_ |= 0x00000008; @@ -1390,50 +1555,58 @@ public Builder addSubjectTypesSupported( return this; } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @param values The subjectTypesSupported to add. * @return This builder for chaining. */ - public Builder addAllSubjectTypesSupported( - java.lang.Iterable values) { + public Builder addAllSubjectTypesSupported(java.lang.Iterable values) { ensureSubjectTypesSupportedIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, subjectTypesSupported_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, subjectTypesSupported_); bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @return This builder for chaining. */ public Builder clearSubjectTypesSupported() { - subjectTypesSupported_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008);; + subjectTypesSupported_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + ; onChanged(); return this; } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @param value The bytes of the subjectTypesSupported to add. * @return This builder for chaining. */ - public Builder addSubjectTypesSupportedBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSubjectTypesSupportedBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureSubjectTypesSupportedIsMutable(); subjectTypesSupported_.add(value); @@ -1444,42 +1617,52 @@ public Builder addSubjectTypesSupportedBytes( private com.google.protobuf.LazyStringArrayList idTokenSigningAlgValuesSupported_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureIdTokenSigningAlgValuesSupportedIsMutable() { if (!idTokenSigningAlgValuesSupported_.isModifiable()) { - idTokenSigningAlgValuesSupported_ = new com.google.protobuf.LazyStringArrayList(idTokenSigningAlgValuesSupported_); + idTokenSigningAlgValuesSupported_ = + new com.google.protobuf.LazyStringArrayList(idTokenSigningAlgValuesSupported_); } bitField0_ |= 0x00000010; } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @return A list containing the idTokenSigningAlgValuesSupported. */ - public com.google.protobuf.ProtocolStringList - getIdTokenSigningAlgValuesSupportedList() { + public com.google.protobuf.ProtocolStringList getIdTokenSigningAlgValuesSupportedList() { idTokenSigningAlgValuesSupported_.makeImmutable(); return idTokenSigningAlgValuesSupported_; } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @return The count of idTokenSigningAlgValuesSupported. */ public int getIdTokenSigningAlgValuesSupportedCount() { return idTokenSigningAlgValuesSupported_.size(); } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param index The index of the element to return. * @return The idTokenSigningAlgValuesSupported at the given index. */ @@ -1487,31 +1670,37 @@ public java.lang.String getIdTokenSigningAlgValuesSupported(int index) { return idTokenSigningAlgValuesSupported_.get(index); } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param index The index of the value to return. * @return The bytes of the idTokenSigningAlgValuesSupported at the given index. */ - public com.google.protobuf.ByteString - getIdTokenSigningAlgValuesSupportedBytes(int index) { + public com.google.protobuf.ByteString getIdTokenSigningAlgValuesSupportedBytes(int index) { return idTokenSigningAlgValuesSupported_.getByteString(index); } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param index The index to set the value at. * @param value The idTokenSigningAlgValuesSupported to set. * @return This builder for chaining. */ - public Builder setIdTokenSigningAlgValuesSupported( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIdTokenSigningAlgValuesSupported(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureIdTokenSigningAlgValuesSupportedIsMutable(); idTokenSigningAlgValuesSupported_.set(index, value); bitField0_ |= 0x00000010; @@ -1519,17 +1708,21 @@ public Builder setIdTokenSigningAlgValuesSupported( return this; } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param value The idTokenSigningAlgValuesSupported to add. * @return This builder for chaining. */ - public Builder addIdTokenSigningAlgValuesSupported( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addIdTokenSigningAlgValuesSupported(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureIdTokenSigningAlgValuesSupportedIsMutable(); idTokenSigningAlgValuesSupported_.add(value); bitField0_ |= 0x00000010; @@ -1537,11 +1730,14 @@ public Builder addIdTokenSigningAlgValuesSupported( return this; } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param values The idTokenSigningAlgValuesSupported to add. * @return This builder for chaining. */ @@ -1555,32 +1751,39 @@ public Builder addAllIdTokenSigningAlgValuesSupported( return this; } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @return This builder for chaining. */ public Builder clearIdTokenSigningAlgValuesSupported() { - idTokenSigningAlgValuesSupported_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010);; + idTokenSigningAlgValuesSupported_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + ; onChanged(); return this; } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param value The bytes of the idTokenSigningAlgValuesSupported to add. * @return This builder for chaining. */ - public Builder addIdTokenSigningAlgValuesSupportedBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addIdTokenSigningAlgValuesSupportedBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureIdTokenSigningAlgValuesSupportedIsMutable(); idTokenSigningAlgValuesSupported_.add(value); @@ -1591,6 +1794,7 @@ public Builder addIdTokenSigningAlgValuesSupportedBytes( private com.google.protobuf.LazyStringArrayList claimsSupported_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureClaimsSupportedIsMutable() { if (!claimsSupported_.isModifiable()) { claimsSupported_ = new com.google.protobuf.LazyStringArrayList(claimsSupported_); @@ -1598,35 +1802,43 @@ private void ensureClaimsSupportedIsMutable() { bitField0_ |= 0x00000020; } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @return A list containing the claimsSupported. */ - public com.google.protobuf.ProtocolStringList - getClaimsSupportedList() { + public com.google.protobuf.ProtocolStringList getClaimsSupportedList() { claimsSupported_.makeImmutable(); return claimsSupported_; } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @return The count of claimsSupported. */ public int getClaimsSupportedCount() { return claimsSupported_.size(); } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @param index The index of the element to return. * @return The claimsSupported at the given index. */ @@ -1634,31 +1846,37 @@ public java.lang.String getClaimsSupported(int index) { return claimsSupported_.get(index); } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @param index The index of the value to return. * @return The bytes of the claimsSupported at the given index. */ - public com.google.protobuf.ByteString - getClaimsSupportedBytes(int index) { + public com.google.protobuf.ByteString getClaimsSupportedBytes(int index) { return claimsSupported_.getByteString(index); } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @param index The index to set the value at. * @param value The claimsSupported to set. * @return This builder for chaining. */ - public Builder setClaimsSupported( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClaimsSupported(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureClaimsSupportedIsMutable(); claimsSupported_.set(index, value); bitField0_ |= 0x00000020; @@ -1666,17 +1884,21 @@ public Builder setClaimsSupported( return this; } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @param value The claimsSupported to add. * @return This builder for chaining. */ - public Builder addClaimsSupported( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addClaimsSupported(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureClaimsSupportedIsMutable(); claimsSupported_.add(value); bitField0_ |= 0x00000020; @@ -1684,50 +1906,58 @@ public Builder addClaimsSupported( return this; } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @param values The claimsSupported to add. * @return This builder for chaining. */ - public Builder addAllClaimsSupported( - java.lang.Iterable values) { + public Builder addAllClaimsSupported(java.lang.Iterable values) { ensureClaimsSupportedIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, claimsSupported_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, claimsSupported_); bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @return This builder for chaining. */ public Builder clearClaimsSupported() { - claimsSupported_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020);; + claimsSupported_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + ; onChanged(); return this; } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @param value The bytes of the claimsSupported to add. * @return This builder for chaining. */ - public Builder addClaimsSupportedBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addClaimsSupportedBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureClaimsSupportedIsMutable(); claimsSupported_.add(value); @@ -1738,6 +1968,7 @@ public Builder addClaimsSupportedBytes( private com.google.protobuf.LazyStringArrayList grantTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureGrantTypesIsMutable() { if (!grantTypes_.isModifiable()) { grantTypes_ = new com.google.protobuf.LazyStringArrayList(grantTypes_); @@ -1745,35 +1976,43 @@ private void ensureGrantTypesIsMutable() { bitField0_ |= 0x00000040; } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @return A list containing the grantTypes. */ - public com.google.protobuf.ProtocolStringList - getGrantTypesList() { + public com.google.protobuf.ProtocolStringList getGrantTypesList() { grantTypes_.makeImmutable(); return grantTypes_; } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @return The count of grantTypes. */ public int getGrantTypesCount() { return grantTypes_.size(); } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @param index The index of the element to return. * @return The grantTypes at the given index. */ @@ -1781,31 +2020,37 @@ public java.lang.String getGrantTypes(int index) { return grantTypes_.get(index); } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @param index The index of the value to return. * @return The bytes of the grantTypes at the given index. */ - public com.google.protobuf.ByteString - getGrantTypesBytes(int index) { + public com.google.protobuf.ByteString getGrantTypesBytes(int index) { return grantTypes_.getByteString(index); } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @param index The index to set the value at. * @param value The grantTypes to set. * @return This builder for chaining. */ - public Builder setGrantTypes( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGrantTypes(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureGrantTypesIsMutable(); grantTypes_.set(index, value); bitField0_ |= 0x00000040; @@ -1813,17 +2058,21 @@ public Builder setGrantTypes( return this; } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @param value The grantTypes to add. * @return This builder for chaining. */ - public Builder addGrantTypes( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addGrantTypes(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureGrantTypesIsMutable(); grantTypes_.add(value); bitField0_ |= 0x00000040; @@ -1831,50 +2080,58 @@ public Builder addGrantTypes( return this; } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @param values The grantTypes to add. * @return This builder for chaining. */ - public Builder addAllGrantTypes( - java.lang.Iterable values) { + public Builder addAllGrantTypes(java.lang.Iterable values) { ensureGrantTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, grantTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, grantTypes_); bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @return This builder for chaining. */ public Builder clearGrantTypes() { - grantTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000040);; + grantTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000040); + ; onChanged(); return this; } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @param value The bytes of the grantTypes to add. * @return This builder for chaining. */ - public Builder addGrantTypesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addGrantTypesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureGrantTypesIsMutable(); grantTypes_.add(value); @@ -1882,9 +2139,9 @@ public Builder addGrantTypesBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1894,12 +2151,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsOpenIdConfig) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsOpenIdConfig) private static final com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig(); } @@ -1908,27 +2165,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsOpenIdConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsOpenIdConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1943,6 +2200,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsOpenIdConfigOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsOpenIdConfigOrBuilder.java similarity index 75% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsOpenIdConfigOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsOpenIdConfigOrBuilder.java index 4276e3c3ee9d..34a2174ab242 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsOpenIdConfigOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsOpenIdConfigOrBuilder.java @@ -1,254 +1,330 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsOpenIdConfigOrBuilder extends +public interface AwsOpenIdConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsOpenIdConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * OIDC Issuer.
    * 
* * string issuer = 1; + * * @return The issuer. */ java.lang.String getIssuer(); /** + * + * *
    * OIDC Issuer.
    * 
* * string issuer = 1; + * * @return The bytes for issuer. */ - com.google.protobuf.ByteString - getIssuerBytes(); + com.google.protobuf.ByteString getIssuerBytes(); /** + * + * *
    * JSON Web Key uri.
    * 
* * string jwks_uri = 2; + * * @return The jwksUri. */ java.lang.String getJwksUri(); /** + * + * *
    * JSON Web Key uri.
    * 
* * string jwks_uri = 2; + * * @return The bytes for jwksUri. */ - com.google.protobuf.ByteString - getJwksUriBytes(); + com.google.protobuf.ByteString getJwksUriBytes(); /** + * + * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; + * * @return A list containing the responseTypesSupported. */ - java.util.List - getResponseTypesSupportedList(); + java.util.List getResponseTypesSupportedList(); /** + * + * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; + * * @return The count of responseTypesSupported. */ int getResponseTypesSupportedCount(); /** + * + * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; + * * @param index The index of the element to return. * @return The responseTypesSupported at the given index. */ java.lang.String getResponseTypesSupported(int index); /** + * + * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; + * * @param index The index of the value to return. * @return The bytes of the responseTypesSupported at the given index. */ - com.google.protobuf.ByteString - getResponseTypesSupportedBytes(int index); + com.google.protobuf.ByteString getResponseTypesSupportedBytes(int index); /** + * + * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; + * * @return A list containing the subjectTypesSupported. */ - java.util.List - getSubjectTypesSupportedList(); + java.util.List getSubjectTypesSupportedList(); /** + * + * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; + * * @return The count of subjectTypesSupported. */ int getSubjectTypesSupportedCount(); /** + * + * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; + * * @param index The index of the element to return. * @return The subjectTypesSupported at the given index. */ java.lang.String getSubjectTypesSupported(int index); /** + * + * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; + * * @param index The index of the value to return. * @return The bytes of the subjectTypesSupported at the given index. */ - com.google.protobuf.ByteString - getSubjectTypesSupportedBytes(int index); + com.google.protobuf.ByteString getSubjectTypesSupportedBytes(int index); /** + * + * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @return A list containing the idTokenSigningAlgValuesSupported. */ - java.util.List - getIdTokenSigningAlgValuesSupportedList(); + java.util.List getIdTokenSigningAlgValuesSupportedList(); /** + * + * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @return The count of idTokenSigningAlgValuesSupported. */ int getIdTokenSigningAlgValuesSupportedCount(); /** + * + * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param index The index of the element to return. * @return The idTokenSigningAlgValuesSupported at the given index. */ java.lang.String getIdTokenSigningAlgValuesSupported(int index); /** + * + * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param index The index of the value to return. * @return The bytes of the idTokenSigningAlgValuesSupported at the given index. */ - com.google.protobuf.ByteString - getIdTokenSigningAlgValuesSupportedBytes(int index); + com.google.protobuf.ByteString getIdTokenSigningAlgValuesSupportedBytes(int index); /** + * + * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; + * * @return A list containing the claimsSupported. */ - java.util.List - getClaimsSupportedList(); + java.util.List getClaimsSupportedList(); /** + * + * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; + * * @return The count of claimsSupported. */ int getClaimsSupportedCount(); /** + * + * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; + * * @param index The index of the element to return. * @return The claimsSupported at the given index. */ java.lang.String getClaimsSupported(int index); /** + * + * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; + * * @param index The index of the value to return. * @return The bytes of the claimsSupported at the given index. */ - com.google.protobuf.ByteString - getClaimsSupportedBytes(int index); + com.google.protobuf.ByteString getClaimsSupportedBytes(int index); /** + * + * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; + * * @return A list containing the grantTypes. */ - java.util.List - getGrantTypesList(); + java.util.List getGrantTypesList(); /** + * + * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; + * * @return The count of grantTypes. */ int getGrantTypesCount(); /** + * + * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; + * * @param index The index of the element to return. * @return The grantTypes at the given index. */ java.lang.String getGrantTypes(int index); /** + * + * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; + * * @param index The index of the value to return. * @return The bytes of the grantTypes at the given index. */ - com.google.protobuf.ByteString - getGrantTypesBytes(int index); + com.google.protobuf.ByteString getGrantTypesBytes(int index); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfig.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfig.java similarity index 71% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfig.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfig.java index 0e3c6c476e2b..df8376037412 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfig.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfig.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Details of a proxy config stored in AWS Secret Manager.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsProxyConfig} */ -public final class AwsProxyConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AwsProxyConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsProxyConfig) AwsProxyConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AwsProxyConfig.newBuilder() to construct. private AwsProxyConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AwsProxyConfig() { secretArn_ = ""; secretVersion_ = ""; @@ -26,28 +44,32 @@ private AwsProxyConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AwsProxyConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsProxyConfig.class, com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsProxyConfig.class, + com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder.class); } public static final int SECRET_ARN_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object secretArn_ = ""; /** + * + * *
    * The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy
    * configuration.
@@ -58,6 +80,7 @@ protected java.lang.Object newInstance(
    * 
* * string secret_arn = 1; + * * @return The secretArn. */ @java.lang.Override @@ -66,14 +89,15 @@ public java.lang.String getSecretArn() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); secretArn_ = s; return s; } } /** + * + * *
    * The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy
    * configuration.
@@ -84,16 +108,15 @@ public java.lang.String getSecretArn() {
    * 
* * string secret_arn = 1; + * * @return The bytes for secretArn. */ @java.lang.Override - public com.google.protobuf.ByteString - getSecretArnBytes() { + public com.google.protobuf.ByteString getSecretArnBytes() { java.lang.Object ref = secretArn_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); secretArn_ = b; return b; } else { @@ -102,15 +125,19 @@ public java.lang.String getSecretArn() { } public static final int SECRET_VERSION_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object secretVersion_ = ""; /** + * + * *
    * The version string of the AWS Secret Manager secret that contains the
    * HTTP(S) proxy configuration.
    * 
* * string secret_version = 2; + * * @return The secretVersion. */ @java.lang.Override @@ -119,30 +146,30 @@ public java.lang.String getSecretVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); secretVersion_ = s; return s; } } /** + * + * *
    * The version string of the AWS Secret Manager secret that contains the
    * HTTP(S) proxy configuration.
    * 
* * string secret_version = 2; + * * @return The bytes for secretVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getSecretVersionBytes() { + public com.google.protobuf.ByteString getSecretVersionBytes() { java.lang.Object ref = secretVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); secretVersion_ = b; return b; } else { @@ -151,6 +178,7 @@ public java.lang.String getSecretVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -162,8 +190,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(secretArn_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, secretArn_); } @@ -193,17 +220,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsProxyConfig)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsProxyConfig other = (com.google.cloud.gkemulticloud.v1.AwsProxyConfig) obj; + com.google.cloud.gkemulticloud.v1.AwsProxyConfig other = + (com.google.cloud.gkemulticloud.v1.AwsProxyConfig) obj; - if (!getSecretArn() - .equals(other.getSecretArn())) return false; - if (!getSecretVersion() - .equals(other.getSecretVersion())) return false; + if (!getSecretArn().equals(other.getSecretArn())) return false; + if (!getSecretVersion().equals(other.getSecretVersion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -224,132 +250,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.gkemulticloud.v1.AwsProxyConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.gkemulticloud.v1.AwsProxyConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsProxyConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsProxyConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsProxyConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsProxyConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsProxyConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsProxyConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AwsProxyConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsProxyConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsProxyConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsProxyConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsProxyConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsProxyConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsProxyConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsProxyConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Details of a proxy config stored in AWS Secret Manager.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsProxyConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsProxyConfig) com.google.cloud.gkemulticloud.v1.AwsProxyConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsProxyConfig.class, com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsProxyConfig.class, + com.google.cloud.gkemulticloud.v1.AwsProxyConfig.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AwsProxyConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -360,9 +390,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_descriptor; } @java.lang.Override @@ -381,8 +411,11 @@ public com.google.cloud.gkemulticloud.v1.AwsProxyConfig build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsProxyConfig buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsProxyConfig result = new com.google.cloud.gkemulticloud.v1.AwsProxyConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.AwsProxyConfig result = + new com.google.cloud.gkemulticloud.v1.AwsProxyConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -401,38 +434,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsProxyConfig resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AwsProxyConfig) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsProxyConfig)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsProxyConfig) other); } else { super.mergeFrom(other); return this; @@ -440,7 +474,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsProxyConfig other) { - if (other == com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AwsProxyConfig.getDefaultInstance()) + return this; if (!other.getSecretArn().isEmpty()) { secretArn_ = other.secretArn_; bitField0_ |= 0x00000001; @@ -477,22 +512,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - secretArn_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - secretVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + secretArn_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + secretVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -502,10 +540,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object secretArn_ = ""; /** + * + * *
      * The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy
      * configuration.
@@ -516,13 +557,13 @@ public Builder mergeFrom(
      * 
* * string secret_arn = 1; + * * @return The secretArn. */ public java.lang.String getSecretArn() { java.lang.Object ref = secretArn_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); secretArn_ = s; return s; @@ -531,6 +572,8 @@ public java.lang.String getSecretArn() { } } /** + * + * *
      * The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy
      * configuration.
@@ -541,15 +584,14 @@ public java.lang.String getSecretArn() {
      * 
* * string secret_arn = 1; + * * @return The bytes for secretArn. */ - public com.google.protobuf.ByteString - getSecretArnBytes() { + public com.google.protobuf.ByteString getSecretArnBytes() { java.lang.Object ref = secretArn_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); secretArn_ = b; return b; } else { @@ -557,6 +599,8 @@ public java.lang.String getSecretArn() { } } /** + * + * *
      * The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy
      * configuration.
@@ -567,18 +611,22 @@ public java.lang.String getSecretArn() {
      * 
* * string secret_arn = 1; + * * @param value The secretArn to set. * @return This builder for chaining. */ - public Builder setSecretArn( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSecretArn(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } secretArn_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy
      * configuration.
@@ -589,6 +637,7 @@ public Builder setSecretArn(
      * 
* * string secret_arn = 1; + * * @return This builder for chaining. */ public Builder clearSecretArn() { @@ -598,6 +647,8 @@ public Builder clearSecretArn() { return this; } /** + * + * *
      * The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy
      * configuration.
@@ -608,12 +659,14 @@ public Builder clearSecretArn() {
      * 
* * string secret_arn = 1; + * * @param value The bytes for secretArn to set. * @return This builder for chaining. */ - public Builder setSecretArnBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSecretArnBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); secretArn_ = value; bitField0_ |= 0x00000001; @@ -623,19 +676,21 @@ public Builder setSecretArnBytes( private java.lang.Object secretVersion_ = ""; /** + * + * *
      * The version string of the AWS Secret Manager secret that contains the
      * HTTP(S) proxy configuration.
      * 
* * string secret_version = 2; + * * @return The secretVersion. */ public java.lang.String getSecretVersion() { java.lang.Object ref = secretVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); secretVersion_ = s; return s; @@ -644,21 +699,22 @@ public java.lang.String getSecretVersion() { } } /** + * + * *
      * The version string of the AWS Secret Manager secret that contains the
      * HTTP(S) proxy configuration.
      * 
* * string secret_version = 2; + * * @return The bytes for secretVersion. */ - public com.google.protobuf.ByteString - getSecretVersionBytes() { + public com.google.protobuf.ByteString getSecretVersionBytes() { java.lang.Object ref = secretVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); secretVersion_ = b; return b; } else { @@ -666,30 +722,37 @@ public java.lang.String getSecretVersion() { } } /** + * + * *
      * The version string of the AWS Secret Manager secret that contains the
      * HTTP(S) proxy configuration.
      * 
* * string secret_version = 2; + * * @param value The secretVersion to set. * @return This builder for chaining. */ - public Builder setSecretVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSecretVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } secretVersion_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The version string of the AWS Secret Manager secret that contains the
      * HTTP(S) proxy configuration.
      * 
* * string secret_version = 2; + * * @return This builder for chaining. */ public Builder clearSecretVersion() { @@ -699,27 +762,31 @@ public Builder clearSecretVersion() { return this; } /** + * + * *
      * The version string of the AWS Secret Manager secret that contains the
      * HTTP(S) proxy configuration.
      * 
* * string secret_version = 2; + * * @param value The bytes for secretVersion to set. * @return This builder for chaining. */ - public Builder setSecretVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSecretVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); secretVersion_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -729,12 +796,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsProxyConfig) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsProxyConfig) private static final com.google.cloud.gkemulticloud.v1.AwsProxyConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsProxyConfig(); } @@ -743,27 +810,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsProxyConfig getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsProxyConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsProxyConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -778,6 +845,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsProxyConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfigOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfigOrBuilder.java similarity index 67% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfigOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfigOrBuilder.java index 588e00e801c0..ca4ab716e59c 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfigOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsProxyConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsProxyConfigOrBuilder extends +public interface AwsProxyConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsProxyConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy
    * configuration.
@@ -18,10 +36,13 @@ public interface AwsProxyConfigOrBuilder extends
    * 
* * string secret_arn = 1; + * * @return The secretArn. */ java.lang.String getSecretArn(); /** + * + * *
    * The ARN of the AWS Secret Manager secret that contains the HTTP(S) proxy
    * configuration.
@@ -32,30 +53,35 @@ public interface AwsProxyConfigOrBuilder extends
    * 
* * string secret_arn = 1; + * * @return The bytes for secretArn. */ - com.google.protobuf.ByteString - getSecretArnBytes(); + com.google.protobuf.ByteString getSecretArnBytes(); /** + * + * *
    * The version string of the AWS Secret Manager secret that contains the
    * HTTP(S) proxy configuration.
    * 
* * string secret_version = 2; + * * @return The secretVersion. */ java.lang.String getSecretVersion(); /** + * + * *
    * The version string of the AWS Secret Manager secret that contains the
    * HTTP(S) proxy configuration.
    * 
* * string secret_version = 2; + * * @return The bytes for secretVersion. */ - com.google.protobuf.ByteString - getSecretVersionBytes(); + com.google.protobuf.ByteString getSecretVersionBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java new file mode 100644 index 000000000000..b126d37d9e94 --- /dev/null +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java @@ -0,0 +1,715 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public final class AwsResourcesProto { + private AwsResourcesProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsCluster_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsCluster_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsCluster_AnnotationsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsCluster_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_TagsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_TagsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsClusterGroup_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsClusterGroup_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_AnnotationsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_UpdateSettings_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_UpdateSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_SurgeSettings_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_SurgeSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsNodeManagement_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsNodeManagement_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_TagsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_TagsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsOpenIdConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsOpenIdConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsJsonWebKeys_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsJsonWebKeys_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_SpotConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_SpotConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n1google/cloud/gkemulticloud/v1/aws_reso" + + "urces.proto\022\035google.cloud.gkemulticloud." + + "v1\032\037google/api/field_behavior.proto\032\031goo" + + "gle/api/resource.proto\0324google/cloud/gke" + + "multicloud/v1/common_resources.proto\032\037go" + + "ogle/protobuf/timestamp.proto\032\026google/ty" + + "pe/date.proto\"\260\013\n\nAwsCluster\022\014\n\004name\030\001 \001" + + "(\t\022\031\n\013description\030\002 \001(\tB\004\342A\001\001\022M\n\nnetwork" + + "ing\030\003 \001(\01323.google.cloud.gkemulticloud.v" + + "1.AwsClusterNetworkingB\004\342A\001\002\022\030\n\naws_regi" + + "on\030\004 \001(\tB\004\342A\001\002\022K\n\rcontrol_plane\030\005 \001(\0132.." + + "google.cloud.gkemulticloud.v1.AwsControl" + + "PlaneB\004\342A\001\002\022L\n\rauthorization\030\017 \001(\0132/.goo" + + "gle.cloud.gkemulticloud.v1.AwsAuthorizat" + + "ionB\004\342A\001\002\022D\n\005state\030\007 \001(\0162/.google.cloud." + + "gkemulticloud.v1.AwsCluster.StateB\004\342A\001\003\022" + + "\026\n\010endpoint\030\010 \001(\tB\004\342A\001\003\022\021\n\003uid\030\t \001(\tB\004\342A" + + "\001\003\022\031\n\013reconciling\030\n \001(\010B\004\342A\001\003\0225\n\013create_" + + "time\030\013 \001(\0132\032.google.protobuf.TimestampB\004" + + "\342A\001\003\0225\n\013update_time\030\014 \001(\0132\032.google.proto" + + "buf.TimestampB\004\342A\001\003\022\014\n\004etag\030\r \001(\t\022U\n\013ann" + + "otations\030\016 \003(\0132:.google.cloud.gkemulticl" + + "oud.v1.AwsCluster.AnnotationsEntryB\004\342A\001\001" + + "\022]\n\030workload_identity_config\030\020 \001(\01325.goo" + + "gle.cloud.gkemulticloud.v1.WorkloadIdent" + + "ityConfigB\004\342A\001\003\022$\n\026cluster_ca_certificat" + + "e\030\021 \001(\tB\004\342A\001\003\0229\n\005fleet\030\022 \001(\0132$.google.cl" + + "oud.gkemulticloud.v1.FleetB\004\342A\001\002\022J\n\016logg" + + "ing_config\030\023 \001(\0132,.google.cloud.gkemulti" + + "cloud.v1.LoggingConfigB\004\342A\001\001\022D\n\006errors\030\024" + + " \003(\0132..google.cloud.gkemulticloud.v1.Aws" + + "ClusterErrorB\004\342A\001\003\022P\n\021monitoring_config\030" + + "\025 \001(\0132/.google.cloud.gkemulticloud.v1.Mo" + + "nitoringConfigB\004\342A\001\001\022V\n\024binary_authoriza" + + "tion\030\026 \001(\01322.google.cloud.gkemulticloud." + + "v1.BinaryAuthorizationB\004\342A\001\001\0322\n\020Annotati" + + "onsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + + "\"u\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\020\n\014PROV" + + "ISIONING\020\001\022\013\n\007RUNNING\020\002\022\017\n\013RECONCILING\020\003" + + "\022\014\n\010STOPPING\020\004\022\t\n\005ERROR\020\005\022\014\n\010DEGRADED\020\006:" + + "o\352Al\n\'gkemulticloud.googleapis.com/AwsCl" + + "uster\022Aprojects/{project}/locations/{loc" + + "ation}/awsClusters/{aws_cluster}\"\266\007\n\017Aws" + + "ControlPlane\022\025\n\007version\030\001 \001(\tB\004\342A\001\002\022\033\n\ri" + + "nstance_type\030\002 \001(\tB\004\342A\001\001\022E\n\nssh_config\030\016" + + " \001(\0132+.google.cloud.gkemulticloud.v1.Aws" + + "SshConfigB\004\342A\001\001\022\030\n\nsubnet_ids\030\004 \003(\tB\004\342A\001" + + "\002\022 \n\022security_group_ids\030\005 \003(\tB\004\342A\001\001\022\"\n\024i" + + "am_instance_profile\030\007 \001(\tB\004\342A\001\002\022K\n\013root_" + + "volume\030\010 \001(\01320.google.cloud.gkemulticlou" + + "d.v1.AwsVolumeTemplateB\004\342A\001\001\022K\n\013main_vol" + + "ume\030\t \001(\01320.google.cloud.gkemulticloud.v" + + "1.AwsVolumeTemplateB\004\342A\001\001\022W\n\023database_en" + + "cryption\030\n \001(\01324.google.cloud.gkemulticl" + + "oud.v1.AwsDatabaseEncryptionB\004\342A\001\002\022L\n\004ta" + + "gs\030\013 \003(\01328.google.cloud.gkemulticloud.v1" + + ".AwsControlPlane.TagsEntryB\004\342A\001\001\022c\n\033aws_" + + "services_authentication\030\014 \001(\01328.google.c" + + "loud.gkemulticloud.v1.AwsServicesAuthent" + + "icationB\004\342A\001\002\022I\n\014proxy_config\030\020 \001(\0132-.go" + + "ogle.cloud.gkemulticloud.v1.AwsProxyConf" + + "igB\004\342A\001\001\022S\n\021config_encryption\030\021 \001(\01322.go" + + "ogle.cloud.gkemulticloud.v1.AwsConfigEnc" + + "ryptionB\004\342A\001\002\022U\n\022instance_placement\030\022 \001(" + + "\01323.google.cloud.gkemulticloud.v1.AwsIns" + + "tancePlacementB\004\342A\001\001\032+\n\tTagsEntry\022\013\n\003key" + + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\031AwsServices" + + "Authentication\022\026\n\010role_arn\030\001 \001(\tB\004\342A\001\002\022\037" + + "\n\021role_session_name\030\002 \001(\tB\004\342A\001\001\"\250\001\n\020AwsA" + + "uthorization\022H\n\013admin_users\030\001 \003(\0132-.goog" + + "le.cloud.gkemulticloud.v1.AwsClusterUser" + + "B\004\342A\001\001\022J\n\014admin_groups\030\002 \003(\0132..google.cl" + + "oud.gkemulticloud.v1.AwsClusterGroupB\004\342A" + + "\001\001\"(\n\016AwsClusterUser\022\026\n\010username\030\001 \001(\tB\004" + + "\342A\001\002\"&\n\017AwsClusterGroup\022\023\n\005group\030\001 \001(\tB\004" + + "\342A\001\002\"2\n\025AwsDatabaseEncryption\022\031\n\013kms_key" + + "_arn\030\001 \001(\tB\004\342A\001\002\"\211\002\n\021AwsVolumeTemplate\022\026" + + "\n\010size_gib\030\001 \001(\005B\004\342A\001\001\022V\n\013volume_type\030\002 " + + "\001(\0162;.google.cloud.gkemulticloud.v1.AwsV" + + "olumeTemplate.VolumeTypeB\004\342A\001\001\022\022\n\004iops\030\003" + + " \001(\005B\004\342A\001\001\022\030\n\nthroughput\030\005 \001(\005B\004\342A\001\001\022\031\n\013" + + "kms_key_arn\030\004 \001(\tB\004\342A\001\001\";\n\nVolumeType\022\033\n" + + "\027VOLUME_TYPE_UNSPECIFIED\020\000\022\007\n\003GP2\020\001\022\007\n\003G" + + "P3\020\002\"\255\001\n\024AwsClusterNetworking\022\024\n\006vpc_id\030" + + "\001 \001(\tB\004\342A\001\002\022%\n\027pod_address_cidr_blocks\030\002" + + " \003(\tB\004\342A\001\002\022)\n\033service_address_cidr_block" + + "s\030\003 \003(\tB\004\342A\001\002\022-\n\037per_node_pool_sg_rules_" + + "disabled\030\005 \001(\010B\004\342A\001\001\"\234\t\n\013AwsNodePool\022\014\n\004" + + "name\030\001 \001(\t\022\025\n\007version\030\003 \001(\tB\004\342A\001\002\022B\n\006con" + + "fig\030\034 \001(\0132,.google.cloud.gkemulticloud.v" + + "1.AwsNodeConfigB\004\342A\001\002\022P\n\013autoscaling\030\031 \001" + + "(\01325.google.cloud.gkemulticloud.v1.AwsNo" + + "dePoolAutoscalingB\004\342A\001\002\022\027\n\tsubnet_id\030\006 \001" + + "(\tB\004\342A\001\002\022E\n\005state\030\020 \001(\01620.google.cloud.g" + + "kemulticloud.v1.AwsNodePool.StateB\004\342A\001\003\022" + + "\021\n\003uid\030\021 \001(\tB\004\342A\001\003\022\031\n\013reconciling\030\022 \001(\010B" + + "\004\342A\001\003\0225\n\013create_time\030\023 \001(\0132\032.google.prot" + + "obuf.TimestampB\004\342A\001\003\0225\n\013update_time\030\024 \001(" + + "\0132\032.google.protobuf.TimestampB\004\342A\001\003\022\014\n\004e" + + "tag\030\025 \001(\t\022V\n\013annotations\030\026 \003(\0132;.google." + + "cloud.gkemulticloud.v1.AwsNodePool.Annot" + + "ationsEntryB\004\342A\001\001\022S\n\023max_pods_constraint" + + "\030\033 \001(\01320.google.cloud.gkemulticloud.v1.M" + + "axPodsConstraintB\004\342A\001\002\022E\n\006errors\030\035 \003(\0132/" + + ".google.cloud.gkemulticloud.v1.AwsNodePo" + + "olErrorB\004\342A\001\003\022J\n\nmanagement\030\036 \001(\01320.goog" + + "le.cloud.gkemulticloud.v1.AwsNodeManagem" + + "entB\004\342A\001\001\022L\n\017update_settings\030 \001(\0132-.goo" + + "gle.cloud.gkemulticloud.v1.UpdateSetting" + + "sB\004\342A\001\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t" + + "\022\r\n\005value\030\002 \001(\t:\0028\001\"u\n\005State\022\025\n\021STATE_UN" + + "SPECIFIED\020\000\022\020\n\014PROVISIONING\020\001\022\013\n\007RUNNING" + + "\020\002\022\017\n\013RECONCILING\020\003\022\014\n\010STOPPING\020\004\022\t\n\005ERR" + + "OR\020\005\022\014\n\010DEGRADED\020\006:\216\001\352A\212\001\n(gkemulticloud" + + ".googleapis.com/AwsNodePool\022^projects/{p" + + "roject}/locations/{location}/awsClusters" + + "/{aws_cluster}/awsNodePools/{aws_node_po" + + "ol}\"\\\n\016UpdateSettings\022J\n\016surge_settings\030" + + "\001 \001(\0132,.google.cloud.gkemulticloud.v1.Su" + + "rgeSettingsB\004\342A\001\001\"G\n\rSurgeSettings\022\027\n\tma" + + "x_surge\030\001 \001(\005B\004\342A\001\001\022\035\n\017max_unavailable\030\002" + + " \001(\005B\004\342A\001\001\".\n\021AwsNodeManagement\022\031\n\013auto_" + + "repair\030\001 \001(\010B\004\342A\001\001\"\210\010\n\rAwsNodeConfig\022\033\n\r" + + "instance_type\030\001 \001(\tB\004\342A\001\001\022K\n\013root_volume" + + "\030\002 \001(\01320.google.cloud.gkemulticloud.v1.A" + + "wsVolumeTemplateB\004\342A\001\001\022>\n\006taints\030\003 \003(\0132(" + + ".google.cloud.gkemulticloud.v1.NodeTaint" + + "B\004\342A\001\001\022N\n\006labels\030\004 \003(\01328.google.cloud.gk" + + "emulticloud.v1.AwsNodeConfig.LabelsEntry" + + "B\004\342A\001\001\022J\n\004tags\030\005 \003(\01326.google.cloud.gkem" + + "ulticloud.v1.AwsNodeConfig.TagsEntryB\004\342A" + + "\001\001\022\"\n\024iam_instance_profile\030\006 \001(\tB\004\342A\001\002\022\030" + + "\n\nimage_type\030\013 \001(\tB\004\342A\001\001\022E\n\nssh_config\030\t" + + " \001(\0132+.google.cloud.gkemulticloud.v1.Aws" + + "SshConfigB\004\342A\001\001\022 \n\022security_group_ids\030\n " + + "\003(\tB\004\342A\001\001\022I\n\014proxy_config\030\014 \001(\0132-.google" + + ".cloud.gkemulticloud.v1.AwsProxyConfigB\004" + + "\342A\001\001\022S\n\021config_encryption\030\r \001(\01322.google" + + ".cloud.gkemulticloud.v1.AwsConfigEncrypt" + + "ionB\004\342A\001\002\022U\n\022instance_placement\030\016 \001(\01323." + + "google.cloud.gkemulticloud.v1.AwsInstanc" + + "ePlacementB\004\342A\001\001\022q\n\036autoscaling_metrics_" + + "collection\030\017 \001(\0132C.google.cloud.gkemulti" + + "cloud.v1.AwsAutoscalingGroupMetricsColle" + + "ctionB\004\342A\001\001\022D\n\013spot_config\030\020 \001(\0132).googl" + + "e.cloud.gkemulticloud.v1.SpotConfigB\004\342A\001" + + "\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + + " \001(\t:\0028\001\032+\n\tTagsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + + "lue\030\002 \001(\t:\0028\001\"T\n\026AwsNodePoolAutoscaling\022" + + "\034\n\016min_node_count\030\001 \001(\005B\004\342A\001\002\022\034\n\016max_nod" + + "e_count\030\002 \001(\005B\004\342A\001\002\"\324\001\n\017AwsOpenIdConfig\022" + + "\016\n\006issuer\030\001 \001(\t\022\020\n\010jwks_uri\030\002 \001(\t\022 \n\030res" + + "ponse_types_supported\030\003 \003(\t\022\037\n\027subject_t" + + "ypes_supported\030\004 \003(\t\022-\n%id_token_signing" + + "_alg_values_supported\030\005 \003(\t\022\030\n\020claims_su" + + "pported\030\006 \003(\t\022\023\n\013grant_types\030\007 \003(\t\"B\n\016Aw" + + "sJsonWebKeys\0220\n\004keys\030\001 \003(\0132\".google.clou" + + "d.gkemulticloud.v1.Jwk\"\364\001\n\017AwsServerConf" + + "ig\022\014\n\004name\030\001 \001(\t\022H\n\016valid_versions\030\002 \003(\013" + + "20.google.cloud.gkemulticloud.v1.AwsK8sV" + + "ersionInfo\022\035\n\025supported_aws_regions\030\003 \003(" + + "\t:j\352Ag\n,gkemulticloud.googleapis.com/Aws" + + "ServerConfig\0227projects/{project}/locatio" + + "ns/{location}/awsServerConfig\"\270\001\n\021AwsK8s" + + "VersionInfo\022\017\n\007version\030\001 \001(\t\022\025\n\007enabled\030" + + "\003 \001(\010B\004\342A\001\001\022\031\n\013end_of_life\030\004 \001(\010B\004\342A\001\001\0221" + + "\n\020end_of_life_date\030\005 \001(\0132\021.google.type.D" + + "ateB\004\342A\001\001\022-\n\014release_date\030\006 \001(\0132\021.google" + + ".type.DateB\004\342A\001\001\"*\n\014AwsSshConfig\022\032\n\014ec2_" + + "key_pair\030\001 \001(\tB\004\342A\001\002\"<\n\016AwsProxyConfig\022\022" + + "\n\nsecret_arn\030\001 \001(\t\022\026\n\016secret_version\030\002 \001" + + "(\t\"0\n\023AwsConfigEncryption\022\031\n\013kms_key_arn" + + "\030\001 \001(\tB\004\342A\001\002\"\264\001\n\024AwsInstancePlacement\022R\n" + + "\007tenancy\030\001 \001(\0162;.google.cloud.gkemulticl" + + "oud.v1.AwsInstancePlacement.TenancyB\004\342A\001" + + "\002\"H\n\007Tenancy\022\027\n\023TENANCY_UNSPECIFIED\020\000\022\013\n" + + "\007DEFAULT\020\001\022\r\n\tDEDICATED\020\002\022\010\n\004HOST\020\003\"X\n$A" + + "wsAutoscalingGroupMetricsCollection\022\031\n\013g" + + "ranularity\030\001 \001(\tB\004\342A\001\002\022\025\n\007metrics\030\002 \003(\tB" + + "\004\342A\001\001\"*\n\nSpotConfig\022\034\n\016instance_types\030\001 " + + "\003(\tB\004\342A\001\002\"\"\n\017AwsClusterError\022\017\n\007message\030" + + "\001 \001(\t\"#\n\020AwsNodePoolError\022\017\n\007message\030\001 \001" + + "(\tB\344\001\n!com.google.cloud.gkemulticloud.v1" + + "B\021AwsResourcesProtoP\001ZGcloud.google.com/" + + "go/gkemulticloud/apiv1/gkemulticloudpb;g" + + "kemulticloudpb\252\002\035Google.Cloud.GkeMultiCl" + + "oud.V1\312\002\035Google\\Cloud\\GkeMultiCloud\\V1\352\002" + + " Google::Cloud::GkeMultiCloud::V1b\006proto" + + "3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.gkemulticloud.v1.CommonResourcesProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.type.DateProto.getDescriptor(), + }); + internal_static_google_cloud_gkemulticloud_v1_AwsCluster_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_gkemulticloud_v1_AwsCluster_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsCluster_descriptor, + new java.lang.String[] { + "Name", + "Description", + "Networking", + "AwsRegion", + "ControlPlane", + "Authorization", + "State", + "Endpoint", + "Uid", + "Reconciling", + "CreateTime", + "UpdateTime", + "Etag", + "Annotations", + "WorkloadIdentityConfig", + "ClusterCaCertificate", + "Fleet", + "LoggingConfig", + "Errors", + "MonitoringConfig", + "BinaryAuthorization", + }); + internal_static_google_cloud_gkemulticloud_v1_AwsCluster_AnnotationsEntry_descriptor = + internal_static_google_cloud_gkemulticloud_v1_AwsCluster_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_gkemulticloud_v1_AwsCluster_AnnotationsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsCluster_AnnotationsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_descriptor, + new java.lang.String[] { + "Version", + "InstanceType", + "SshConfig", + "SubnetIds", + "SecurityGroupIds", + "IamInstanceProfile", + "RootVolume", + "MainVolume", + "DatabaseEncryption", + "Tags", + "AwsServicesAuthentication", + "ProxyConfig", + "ConfigEncryption", + "InstancePlacement", + }); + internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_TagsEntry_descriptor = + internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_TagsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_TagsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_descriptor, + new java.lang.String[] { + "RoleArn", "RoleSessionName", + }); + internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_descriptor, + new java.lang.String[] { + "AdminUsers", "AdminGroups", + }); + internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_descriptor, + new java.lang.String[] { + "Username", + }); + internal_static_google_cloud_gkemulticloud_v1_AwsClusterGroup_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_gkemulticloud_v1_AwsClusterGroup_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsClusterGroup_descriptor, + new java.lang.String[] { + "Group", + }); + internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_descriptor, + new java.lang.String[] { + "KmsKeyArn", + }); + internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_descriptor, + new java.lang.String[] { + "SizeGib", "VolumeType", "Iops", "Throughput", "KmsKeyArn", + }); + internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_descriptor, + new java.lang.String[] { + "VpcId", + "PodAddressCidrBlocks", + "ServiceAddressCidrBlocks", + "PerNodePoolSgRulesDisabled", + }); + internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_descriptor, + new java.lang.String[] { + "Name", + "Version", + "Config", + "Autoscaling", + "SubnetId", + "State", + "Uid", + "Reconciling", + "CreateTime", + "UpdateTime", + "Etag", + "Annotations", + "MaxPodsConstraint", + "Errors", + "Management", + "UpdateSettings", + }); + internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_AnnotationsEntry_descriptor = + internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_AnnotationsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_AnnotationsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_gkemulticloud_v1_UpdateSettings_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_gkemulticloud_v1_UpdateSettings_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_UpdateSettings_descriptor, + new java.lang.String[] { + "SurgeSettings", + }); + internal_static_google_cloud_gkemulticloud_v1_SurgeSettings_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_gkemulticloud_v1_SurgeSettings_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_SurgeSettings_descriptor, + new java.lang.String[] { + "MaxSurge", "MaxUnavailable", + }); + internal_static_google_cloud_gkemulticloud_v1_AwsNodeManagement_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_gkemulticloud_v1_AwsNodeManagement_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsNodeManagement_descriptor, + new java.lang.String[] { + "AutoRepair", + }); + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_descriptor, + new java.lang.String[] { + "InstanceType", + "RootVolume", + "Taints", + "Labels", + "Tags", + "IamInstanceProfile", + "ImageType", + "SshConfig", + "SecurityGroupIds", + "ProxyConfig", + "ConfigEncryption", + "InstancePlacement", + "AutoscalingMetricsCollection", + "SpotConfig", + }); + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_LabelsEntry_descriptor = + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_TagsEntry_descriptor = + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_TagsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_TagsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_descriptor, + new java.lang.String[] { + "MinNodeCount", "MaxNodeCount", + }); + internal_static_google_cloud_gkemulticloud_v1_AwsOpenIdConfig_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_gkemulticloud_v1_AwsOpenIdConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsOpenIdConfig_descriptor, + new java.lang.String[] { + "Issuer", + "JwksUri", + "ResponseTypesSupported", + "SubjectTypesSupported", + "IdTokenSigningAlgValuesSupported", + "ClaimsSupported", + "GrantTypes", + }); + internal_static_google_cloud_gkemulticloud_v1_AwsJsonWebKeys_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_gkemulticloud_v1_AwsJsonWebKeys_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsJsonWebKeys_descriptor, + new java.lang.String[] { + "Keys", + }); + internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_descriptor, + new java.lang.String[] { + "Name", "ValidVersions", "SupportedAwsRegions", + }); + internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_descriptor, + new java.lang.String[] { + "Version", "Enabled", "EndOfLife", "EndOfLifeDate", "ReleaseDate", + }); + internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_descriptor, + new java.lang.String[] { + "Ec2KeyPair", + }); + internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_descriptor, + new java.lang.String[] { + "SecretArn", "SecretVersion", + }); + internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_descriptor, + new java.lang.String[] { + "KmsKeyArn", + }); + internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_descriptor, + new java.lang.String[] { + "Tenancy", + }); + internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_descriptor, + new java.lang.String[] { + "Granularity", "Metrics", + }); + internal_static_google_cloud_gkemulticloud_v1_SpotConfig_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_gkemulticloud_v1_SpotConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_SpotConfig_descriptor, + new java.lang.String[] { + "InstanceTypes", + }); + internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_descriptor, + new java.lang.String[] { + "Message", + }); + internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_descriptor, + new java.lang.String[] { + "Message", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.gkemulticloud.v1.CommonResourcesProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.type.DateProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfig.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfig.java similarity index 76% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfig.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfig.java index 885067d2d1d8..2b235993f584 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfig.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfig.java @@ -1,60 +1,82 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * AwsServerConfig is the configuration of GKE cluster on AWS.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsServerConfig} */ -public final class AwsServerConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AwsServerConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsServerConfig) AwsServerConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AwsServerConfig.newBuilder() to construct. private AwsServerConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AwsServerConfig() { name_ = ""; validVersions_ = java.util.Collections.emptyList(); - supportedAwsRegions_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + supportedAwsRegions_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AwsServerConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsServerConfig.class, com.google.cloud.gkemulticloud.v1.AwsServerConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsServerConfig.class, + com.google.cloud.gkemulticloud.v1.AwsServerConfig.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * The resource name of the config.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -63,29 +85,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The resource name of the config.
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -94,9 +116,12 @@ public java.lang.String getName() { } public static final int VALID_VERSIONS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List validVersions_; /** + * + * *
    * List of all released Kubernetes versions, including ones which are end of
    * life and can no longer be used.  Filter by the `enabled`
@@ -107,10 +132,13 @@ public java.lang.String getName() {
    * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2;
    */
   @java.lang.Override
-  public java.util.List getValidVersionsList() {
+  public java.util.List
+      getValidVersionsList() {
     return validVersions_;
   }
   /**
+   *
+   *
    * 
    * List of all released Kubernetes versions, including ones which are end of
    * life and can no longer be used.  Filter by the `enabled`
@@ -121,11 +149,13 @@ public java.util.List getVa
    * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getValidVersionsOrBuilderList() {
     return validVersions_;
   }
   /**
+   *
+   *
    * 
    * List of all released Kubernetes versions, including ones which are end of
    * life and can no longer be used.  Filter by the `enabled`
@@ -140,6 +170,8 @@ public int getValidVersionsCount() {
     return validVersions_.size();
   }
   /**
+   *
+   *
    * 
    * List of all released Kubernetes versions, including ones which are end of
    * life and can no longer be used.  Filter by the `enabled`
@@ -154,6 +186,8 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo getValidVersions(int
     return validVersions_.get(index);
   }
   /**
+   *
+   *
    * 
    * List of all released Kubernetes versions, including ones which are end of
    * life and can no longer be used.  Filter by the `enabled`
@@ -170,38 +204,47 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder getValidVers
   }
 
   public static final int SUPPORTED_AWS_REGIONS_FIELD_NUMBER = 3;
+
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringArrayList supportedAwsRegions_ =
       com.google.protobuf.LazyStringArrayList.emptyList();
   /**
+   *
+   *
    * 
    * The list of supported AWS regions.
    * 
* * repeated string supported_aws_regions = 3; + * * @return A list containing the supportedAwsRegions. */ - public com.google.protobuf.ProtocolStringList - getSupportedAwsRegionsList() { + public com.google.protobuf.ProtocolStringList getSupportedAwsRegionsList() { return supportedAwsRegions_; } /** + * + * *
    * The list of supported AWS regions.
    * 
* * repeated string supported_aws_regions = 3; + * * @return The count of supportedAwsRegions. */ public int getSupportedAwsRegionsCount() { return supportedAwsRegions_.size(); } /** + * + * *
    * The list of supported AWS regions.
    * 
* * repeated string supported_aws_regions = 3; + * * @param index The index of the element to return. * @return The supportedAwsRegions at the given index. */ @@ -209,20 +252,23 @@ public java.lang.String getSupportedAwsRegions(int index) { return supportedAwsRegions_.get(index); } /** + * + * *
    * The list of supported AWS regions.
    * 
* * repeated string supported_aws_regions = 3; + * * @param index The index of the value to return. * @return The bytes of the supportedAwsRegions at the given index. */ - public com.google.protobuf.ByteString - getSupportedAwsRegionsBytes(int index) { + public com.google.protobuf.ByteString getSupportedAwsRegionsBytes(int index) { return supportedAwsRegions_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -234,8 +280,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -258,8 +303,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < validVersions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, validVersions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, validVersions_.get(i)); } { int dataSize = 0; @@ -277,19 +321,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsServerConfig)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsServerConfig other = (com.google.cloud.gkemulticloud.v1.AwsServerConfig) obj; + com.google.cloud.gkemulticloud.v1.AwsServerConfig other = + (com.google.cloud.gkemulticloud.v1.AwsServerConfig) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getValidVersionsList() - .equals(other.getValidVersionsList())) return false; - if (!getSupportedAwsRegionsList() - .equals(other.getSupportedAwsRegionsList())) return false; + if (!getName().equals(other.getName())) return false; + if (!getValidVersionsList().equals(other.getValidVersionsList())) return false; + if (!getSupportedAwsRegionsList().equals(other.getSupportedAwsRegionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -317,131 +359,135 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AwsServerConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsServerConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsServerConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsServerConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsServerConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsServerConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsServerConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AwsServerConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsServerConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsServerConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsServerConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsServerConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsServerConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsServerConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsServerConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * AwsServerConfig is the configuration of GKE cluster on AWS.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsServerConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsServerConfig) com.google.cloud.gkemulticloud.v1.AwsServerConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsServerConfig.class, com.google.cloud.gkemulticloud.v1.AwsServerConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsServerConfig.class, + com.google.cloud.gkemulticloud.v1.AwsServerConfig.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AwsServerConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -454,15 +500,14 @@ public Builder clear() { validVersionsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); - supportedAwsRegions_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + supportedAwsRegions_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_descriptor; } @java.lang.Override @@ -481,14 +526,18 @@ public com.google.cloud.gkemulticloud.v1.AwsServerConfig build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsServerConfig buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsServerConfig result = new com.google.cloud.gkemulticloud.v1.AwsServerConfig(this); + com.google.cloud.gkemulticloud.v1.AwsServerConfig result = + new com.google.cloud.gkemulticloud.v1.AwsServerConfig(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.AwsServerConfig result) { + private void buildPartialRepeatedFields( + com.google.cloud.gkemulticloud.v1.AwsServerConfig result) { if (validVersionsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { validVersions_ = java.util.Collections.unmodifiableList(validVersions_); @@ -515,38 +564,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsServerConfig res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AwsServerConfig) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsServerConfig)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsServerConfig) other); } else { super.mergeFrom(other); return this; @@ -554,7 +604,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsServerConfig other) { - if (other == com.google.cloud.gkemulticloud.v1.AwsServerConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AwsServerConfig.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -578,9 +629,10 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsServerConfig other validVersionsBuilder_ = null; validVersions_ = other.validVersions_; bitField0_ = (bitField0_ & ~0x00000002); - validVersionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getValidVersionsFieldBuilder() : null; + validVersionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getValidVersionsFieldBuilder() + : null; } else { validVersionsBuilder_.addAllMessages(other.validVersions_); } @@ -622,36 +674,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.parser(), - extensionRegistry); - if (validVersionsBuilder_ == null) { - ensureValidVersionsIsMutable(); - validVersions_.add(m); - } else { - validVersionsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureSupportedAwsRegionsIsMutable(); - supportedAwsRegions_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.parser(), + extensionRegistry); + if (validVersionsBuilder_ == null) { + ensureValidVersionsIsMutable(); + validVersions_.add(m); + } else { + validVersionsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureSupportedAwsRegionsIsMutable(); + supportedAwsRegions_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -661,22 +717,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * The resource name of the config.
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -685,20 +744,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the config.
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -706,28 +766,35 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the config.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The resource name of the config.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -737,17 +804,21 @@ public Builder clearName() { return this; } /** + * + * *
      * The resource name of the config.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -756,18 +827,26 @@ public Builder setNameBytes( } private java.util.List validVersions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureValidVersionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - validVersions_ = new java.util.ArrayList(validVersions_); + validVersions_ = + new java.util.ArrayList( + validVersions_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo, com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder, com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder> validVersionsBuilder_; + com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo, + com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder, + com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder> + validVersionsBuilder_; /** + * + * *
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -777,7 +856,8 @@ private void ensureValidVersionsIsMutable() {
      *
      * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2;
      */
-    public java.util.List getValidVersionsList() {
+    public java.util.List
+        getValidVersionsList() {
       if (validVersionsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(validVersions_);
       } else {
@@ -785,6 +865,8 @@ public java.util.List getVa
       }
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -802,6 +884,8 @@ public int getValidVersionsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -819,6 +903,8 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo getValidVersions(int
       }
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -843,6 +929,8 @@ public Builder setValidVersions(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -864,6 +952,8 @@ public Builder setValidVersions(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -887,6 +977,8 @@ public Builder addValidVersions(com.google.cloud.gkemulticloud.v1.AwsK8sVersionI
       return this;
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -911,6 +1003,8 @@ public Builder addValidVersions(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -932,6 +1026,8 @@ public Builder addValidVersions(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -953,6 +1049,8 @@ public Builder addValidVersions(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -966,8 +1064,7 @@ public Builder addAllValidVersions(
         java.lang.Iterable values) {
       if (validVersionsBuilder_ == null) {
         ensureValidVersionsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, validVersions_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, validVersions_);
         onChanged();
       } else {
         validVersionsBuilder_.addAllMessages(values);
@@ -975,6 +1072,8 @@ public Builder addAllValidVersions(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -995,6 +1094,8 @@ public Builder clearValidVersions() {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -1015,6 +1116,8 @@ public Builder removeValidVersions(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -1029,6 +1132,8 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder getValidVersi
       return getValidVersionsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -1041,11 +1146,14 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder getValidVersi
     public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder getValidVersionsOrBuilder(
         int index) {
       if (validVersionsBuilder_ == null) {
-        return validVersions_.get(index);  } else {
+        return validVersions_.get(index);
+      } else {
         return validVersionsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -1055,8 +1163,8 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder getValidVers
      *
      * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2;
      */
-    public java.util.List 
-         getValidVersionsOrBuilderList() {
+    public java.util.List
+        getValidVersionsOrBuilderList() {
       if (validVersionsBuilder_ != null) {
         return validVersionsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1064,6 +1172,8 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder getValidVers
       }
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -1074,10 +1184,12 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder getValidVers
      * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2;
      */
     public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder addValidVersionsBuilder() {
-      return getValidVersionsFieldBuilder().addBuilder(
-          com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.getDefaultInstance());
+      return getValidVersionsFieldBuilder()
+          .addBuilder(com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -1089,10 +1201,13 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder addValidVersi
      */
     public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder addValidVersionsBuilder(
         int index) {
-      return getValidVersionsFieldBuilder().addBuilder(
-          index, com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.getDefaultInstance());
+      return getValidVersionsFieldBuilder()
+          .addBuilder(
+              index, com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -1102,16 +1217,22 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder addValidVersi
      *
      * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2;
      */
-    public java.util.List 
-         getValidVersionsBuilderList() {
+    public java.util.List
+        getValidVersionsBuilderList() {
       return getValidVersionsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo, com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder, com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder> 
+            com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo,
+            com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder,
+            com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder>
         getValidVersionsFieldBuilder() {
       if (validVersionsBuilder_ == null) {
-        validVersionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo, com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder, com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder>(
+        validVersionsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo,
+                com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder,
+                com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder>(
                 validVersions_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -1123,6 +1244,7 @@ public com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo.Builder addValidVersi
 
     private com.google.protobuf.LazyStringArrayList supportedAwsRegions_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
+
     private void ensureSupportedAwsRegionsIsMutable() {
       if (!supportedAwsRegions_.isModifiable()) {
         supportedAwsRegions_ = new com.google.protobuf.LazyStringArrayList(supportedAwsRegions_);
@@ -1130,35 +1252,43 @@ private void ensureSupportedAwsRegionsIsMutable() {
       bitField0_ |= 0x00000004;
     }
     /**
+     *
+     *
      * 
      * The list of supported AWS regions.
      * 
* * repeated string supported_aws_regions = 3; + * * @return A list containing the supportedAwsRegions. */ - public com.google.protobuf.ProtocolStringList - getSupportedAwsRegionsList() { + public com.google.protobuf.ProtocolStringList getSupportedAwsRegionsList() { supportedAwsRegions_.makeImmutable(); return supportedAwsRegions_; } /** + * + * *
      * The list of supported AWS regions.
      * 
* * repeated string supported_aws_regions = 3; + * * @return The count of supportedAwsRegions. */ public int getSupportedAwsRegionsCount() { return supportedAwsRegions_.size(); } /** + * + * *
      * The list of supported AWS regions.
      * 
* * repeated string supported_aws_regions = 3; + * * @param index The index of the element to return. * @return The supportedAwsRegions at the given index. */ @@ -1166,31 +1296,37 @@ public java.lang.String getSupportedAwsRegions(int index) { return supportedAwsRegions_.get(index); } /** + * + * *
      * The list of supported AWS regions.
      * 
* * repeated string supported_aws_regions = 3; + * * @param index The index of the value to return. * @return The bytes of the supportedAwsRegions at the given index. */ - public com.google.protobuf.ByteString - getSupportedAwsRegionsBytes(int index) { + public com.google.protobuf.ByteString getSupportedAwsRegionsBytes(int index) { return supportedAwsRegions_.getByteString(index); } /** + * + * *
      * The list of supported AWS regions.
      * 
* * repeated string supported_aws_regions = 3; + * * @param index The index to set the value at. * @param value The supportedAwsRegions to set. * @return This builder for chaining. */ - public Builder setSupportedAwsRegions( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSupportedAwsRegions(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSupportedAwsRegionsIsMutable(); supportedAwsRegions_.set(index, value); bitField0_ |= 0x00000004; @@ -1198,17 +1334,21 @@ public Builder setSupportedAwsRegions( return this; } /** + * + * *
      * The list of supported AWS regions.
      * 
* * repeated string supported_aws_regions = 3; + * * @param value The supportedAwsRegions to add. * @return This builder for chaining. */ - public Builder addSupportedAwsRegions( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSupportedAwsRegions(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSupportedAwsRegionsIsMutable(); supportedAwsRegions_.add(value); bitField0_ |= 0x00000004; @@ -1216,50 +1356,58 @@ public Builder addSupportedAwsRegions( return this; } /** + * + * *
      * The list of supported AWS regions.
      * 
* * repeated string supported_aws_regions = 3; + * * @param values The supportedAwsRegions to add. * @return This builder for chaining. */ - public Builder addAllSupportedAwsRegions( - java.lang.Iterable values) { + public Builder addAllSupportedAwsRegions(java.lang.Iterable values) { ensureSupportedAwsRegionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, supportedAwsRegions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, supportedAwsRegions_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The list of supported AWS regions.
      * 
* * repeated string supported_aws_regions = 3; + * * @return This builder for chaining. */ public Builder clearSupportedAwsRegions() { - supportedAwsRegions_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + supportedAwsRegions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * The list of supported AWS regions.
      * 
* * repeated string supported_aws_regions = 3; + * * @param value The bytes of the supportedAwsRegions to add. * @return This builder for chaining. */ - public Builder addSupportedAwsRegionsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSupportedAwsRegionsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureSupportedAwsRegionsIsMutable(); supportedAwsRegions_.add(value); @@ -1267,9 +1415,9 @@ public Builder addSupportedAwsRegionsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1279,12 +1427,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsServerConfig) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsServerConfig) private static final com.google.cloud.gkemulticloud.v1.AwsServerConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsServerConfig(); } @@ -1293,27 +1441,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsServerConfig getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsServerConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsServerConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1328,6 +1476,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsServerConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigName.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigName.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigName.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigName.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigOrBuilder.java similarity index 78% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigOrBuilder.java index 54f49dd50ae4..05c2afd6fce0 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServerConfigOrBuilder.java @@ -1,33 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsServerConfigOrBuilder extends +public interface AwsServerConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsServerConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The resource name of the config.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The resource name of the config.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * List of all released Kubernetes versions, including ones which are end of
    * life and can no longer be used.  Filter by the `enabled`
@@ -37,9 +60,10 @@ public interface AwsServerConfigOrBuilder extends
    *
    * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2;
    */
-  java.util.List 
-      getValidVersionsList();
+  java.util.List getValidVersionsList();
   /**
+   *
+   *
    * 
    * List of all released Kubernetes versions, including ones which are end of
    * life and can no longer be used.  Filter by the `enabled`
@@ -51,6 +75,8 @@ public interface AwsServerConfigOrBuilder extends
    */
   com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo getValidVersions(int index);
   /**
+   *
+   *
    * 
    * List of all released Kubernetes versions, including ones which are end of
    * life and can no longer be used.  Filter by the `enabled`
@@ -62,6 +88,8 @@ public interface AwsServerConfigOrBuilder extends
    */
   int getValidVersionsCount();
   /**
+   *
+   *
    * 
    * List of all released Kubernetes versions, including ones which are end of
    * life and can no longer be used.  Filter by the `enabled`
@@ -71,9 +99,11 @@ public interface AwsServerConfigOrBuilder extends
    *
    * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2;
    */
-  java.util.List 
+  java.util.List
       getValidVersionsOrBuilderList();
   /**
+   *
+   *
    * 
    * List of all released Kubernetes versions, including ones which are end of
    * life and can no longer be used.  Filter by the `enabled`
@@ -83,47 +113,56 @@ public interface AwsServerConfigOrBuilder extends
    *
    * repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2;
    */
-  com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder getValidVersionsOrBuilder(
-      int index);
+  com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder getValidVersionsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The list of supported AWS regions.
    * 
* * repeated string supported_aws_regions = 3; + * * @return A list containing the supportedAwsRegions. */ - java.util.List - getSupportedAwsRegionsList(); + java.util.List getSupportedAwsRegionsList(); /** + * + * *
    * The list of supported AWS regions.
    * 
* * repeated string supported_aws_regions = 3; + * * @return The count of supportedAwsRegions. */ int getSupportedAwsRegionsCount(); /** + * + * *
    * The list of supported AWS regions.
    * 
* * repeated string supported_aws_regions = 3; + * * @param index The index of the element to return. * @return The supportedAwsRegions at the given index. */ java.lang.String getSupportedAwsRegions(int index); /** + * + * *
    * The list of supported AWS regions.
    * 
* * repeated string supported_aws_regions = 3; + * * @param index The index of the value to return. * @return The bytes of the supportedAwsRegions at the given index. */ - com.google.protobuf.ByteString - getSupportedAwsRegionsBytes(int index); + com.google.protobuf.ByteString getSupportedAwsRegionsBytes(int index); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java new file mode 100644 index 000000000000..caebec152f3e --- /dev/null +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java @@ -0,0 +1,513 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_service.proto + +package com.google.cloud.gkemulticloud.v1; + +public final class AwsServiceProto { + private AwsServiceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_RollbackAwsNodePoolUpdateRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_RollbackAwsNodePoolUpdateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GetAwsOpenIdConfigRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GetAwsOpenIdConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GetAwsJsonWebKeysRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GetAwsJsonWebKeysRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n/google/cloud/gkemulticloud/v1/aws_serv" + + "ice.proto\022\035google.cloud.gkemulticloud.v1" + + "\032\034google/api/annotations.proto\032\027google/a" + + "pi/client.proto\032\037google/api/field_behavi" + + "or.proto\032\031google/api/resource.proto\0321goo" + + "gle/cloud/gkemulticloud/v1/aws_resources" + + ".proto\0324google/cloud/gkemulticloud/v1/co" + + "mmon_resources.proto\032#google/longrunning" + + "/operations.proto\032\033google/protobuf/empty" + + ".proto\032 google/protobuf/field_mask.proto" + + "\032\037google/protobuf/timestamp.proto\"\326\001\n\027Cr" + + "eateAwsClusterRequest\022@\n\006parent\030\001 \001(\tB0\342" + + "A\001\002\372A)\022\'gkemulticloud.googleapis.com/Aws" + + "Cluster\022D\n\013aws_cluster\030\002 \001(\0132).google.cl" + + "oud.gkemulticloud.v1.AwsClusterB\004\342A\001\002\022\034\n" + + "\016aws_cluster_id\030\003 \001(\tB\004\342A\001\002\022\025\n\rvalidate_" + + "only\030\004 \001(\010\"\255\001\n\027UpdateAwsClusterRequest\022D" + + "\n\013aws_cluster\030\001 \001(\0132).google.cloud.gkemu" + + "lticloud.v1.AwsClusterB\004\342A\001\002\022\025\n\rvalidate" + + "_only\030\002 \001(\010\0225\n\013update_mask\030\004 \001(\0132\032.googl" + + "e.protobuf.FieldMaskB\004\342A\001\002\"V\n\024GetAwsClus" + + "terRequest\022>\n\004name\030\001 \001(\tB0\342A\001\002\372A)\n\'gkemu" + + "lticloud.googleapis.com/AwsCluster\"\201\001\n\026L" + + "istAwsClustersRequest\022@\n\006parent\030\001 \001(\tB0\342" + + "A\001\002\372A)\022\'gkemulticloud.googleapis.com/Aws" + + "Cluster\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token" + + "\030\003 \001(\t\"s\n\027ListAwsClustersResponse\022?\n\014aws" + + "_clusters\030\001 \003(\0132).google.cloud.gkemultic" + + "loud.v1.AwsCluster\022\027\n\017next_page_token\030\002 " + + "\001(\t\"\262\001\n\027DeleteAwsClusterRequest\022>\n\004name\030" + + "\001 \001(\tB0\342A\001\002\372A)\n\'gkemulticloud.googleapis" + + ".com/AwsCluster\022\025\n\rvalidate_only\030\002 \001(\010\022\025" + + "\n\rallow_missing\030\003 \001(\010\022\033\n\rignore_errors\030\005" + + " \001(\010B\004\342A\001\001\022\014\n\004etag\030\004 \001(\t\"\335\001\n\030CreateAwsNo" + + "dePoolRequest\022A\n\006parent\030\001 \001(\tB1\342A\001\002\372A*\022(" + + "gkemulticloud.googleapis.com/AwsNodePool" + + "\022G\n\raws_node_pool\030\002 \001(\0132*.google.cloud.g" + + "kemulticloud.v1.AwsNodePoolB\004\342A\001\002\022\036\n\020aws" + + "_node_pool_id\030\003 \001(\tB\004\342A\001\002\022\025\n\rvalidate_on" + + "ly\030\004 \001(\010\"\261\001\n\030UpdateAwsNodePoolRequest\022G\n" + + "\raws_node_pool\030\001 \001(\0132*.google.cloud.gkem" + + "ulticloud.v1.AwsNodePoolB\004\342A\001\002\022\025\n\rvalida" + + "te_only\030\002 \001(\010\0225\n\013update_mask\030\003 \001(\0132\032.goo" + + "gle.protobuf.FieldMaskB\004\342A\001\002\"~\n Rollback" + + "AwsNodePoolUpdateRequest\022?\n\004name\030\001 \001(\tB1" + + "\342A\001\002\372A*\n(gkemulticloud.googleapis.com/Aw" + + "sNodePool\022\031\n\013respect_pdb\030\002 \001(\010B\004\342A\001\001\"X\n\025" + + "GetAwsNodePoolRequest\022?\n\004name\030\001 \001(\tB1\342A\001" + + "\002\372A*\n(gkemulticloud.googleapis.com/AwsNo" + + "dePool\"\203\001\n\027ListAwsNodePoolsRequest\022A\n\006pa" + + "rent\030\001 \001(\tB1\342A\001\002\372A*\022(gkemulticloud.googl" + + "eapis.com/AwsNodePool\022\021\n\tpage_size\030\002 \001(\005" + + "\022\022\n\npage_token\030\003 \001(\t\"w\n\030ListAwsNodePools" + + "Response\022B\n\016aws_node_pools\030\001 \003(\0132*.googl" + + "e.cloud.gkemulticloud.v1.AwsNodePool\022\027\n\017" + + "next_page_token\030\002 \001(\t\"\264\001\n\030DeleteAwsNodeP" + + "oolRequest\022?\n\004name\030\001 \001(\tB1\342A\001\002\372A*\n(gkemu" + + "lticloud.googleapis.com/AwsNodePool\022\025\n\rv" + + "alidate_only\030\002 \001(\010\022\025\n\rallow_missing\030\003 \001(" + + "\010\022\033\n\rignore_errors\030\005 \001(\010B\004\342A\001\001\022\014\n\004etag\030\004" + + " \001(\t\"b\n\031GetAwsOpenIdConfigRequest\022E\n\013aws" + + "_cluster\030\001 \001(\tB0\342A\001\002\372A)\n\'gkemulticloud.g" + + "oogleapis.com/AwsCluster\"a\n\030GetAwsJsonWe" + + "bKeysRequest\022E\n\013aws_cluster\030\001 \001(\tB0\342A\001\002\372" + + "A)\n\'gkemulticloud.googleapis.com/AwsClus" + + "ter\"`\n\031GetAwsServerConfigRequest\022C\n\004name" + + "\030\001 \001(\tB5\342A\001\002\372A.\n,gkemulticloud.googleapi" + + "s.com/AwsServerConfig\"f\n\035GenerateAwsAcce" + + "ssTokenRequest\022E\n\013aws_cluster\030\001 \001(\tB0\342A\001" + + "\002\372A)\n\'gkemulticloud.googleapis.com/AwsCl" + + "uster\"w\n\036GenerateAwsAccessTokenResponse\022" + + "\032\n\014access_token\030\001 \001(\tB\004\342A\001\003\0229\n\017expiratio" + + "n_time\030\002 \001(\0132\032.google.protobuf.Timestamp" + + "B\004\342A\001\003\"\340\002\n#GenerateAwsClusterAgentTokenR" + + "equest\022E\n\013aws_cluster\030\001 \001(\tB0\342A\001\002\372A)\n\'gk" + + "emulticloud.googleapis.com/AwsCluster\022\033\n" + + "\rsubject_token\030\002 \001(\tB\004\342A\001\002\022 \n\022subject_to" + + "ken_type\030\003 \001(\tB\004\342A\001\002\022\025\n\007version\030\004 \001(\tB\004\342" + + "A\001\002\022\032\n\014node_pool_id\030\005 \001(\tB\004\342A\001\001\022\030\n\ngrant" + + "_type\030\006 \001(\tB\004\342A\001\001\022\026\n\010audience\030\007 \001(\tB\004\342A\001" + + "\001\022\023\n\005scope\030\010 \001(\tB\004\342A\001\001\022\"\n\024requested_toke" + + "n_type\030\t \001(\tB\004\342A\001\001\022\025\n\007options\030\n \001(\tB\004\342A\001" + + "\001\"d\n$GenerateAwsClusterAgentTokenRespons" + + "e\022\024\n\014access_token\030\001 \001(\t\022\022\n\nexpires_in\030\002 " + + "\001(\005\022\022\n\ntoken_type\030\003 \001(\t2\251\035\n\013AwsClusters\022" + + "\366\001\n\020CreateAwsCluster\0226.google.cloud.gkem" + + "ulticloud.v1.CreateAwsClusterRequest\032\035.g" + + "oogle.longrunning.Operation\"\212\001\312A\037\n\nAwsCl" + + "uster\022\021OperationMetadata\332A!parent,aws_cl" + + "uster,aws_cluster_id\202\323\344\223\002>\"//v1/{parent=" + + "projects/*/locations/*}/awsClusters:\013aws" + + "_cluster\022\370\001\n\020UpdateAwsCluster\0226.google.c" + + "loud.gkemulticloud.v1.UpdateAwsClusterRe" + + "quest\032\035.google.longrunning.Operation\"\214\001\312" + + "A\037\n\nAwsCluster\022\021OperationMetadata\332A\027aws_" + + "cluster,update_mask\202\323\344\223\002J2;/v1/{aws_clus" + + "ter.name=projects/*/locations/*/awsClust" + + "ers/*}:\013aws_cluster\022\257\001\n\rGetAwsCluster\0223." + + "google.cloud.gkemulticloud.v1.GetAwsClus" + + "terRequest\032).google.cloud.gkemulticloud." + + "v1.AwsCluster\">\332A\004name\202\323\344\223\0021\022//v1/{name=" + + "projects/*/locations/*/awsClusters/*}\022\302\001" + + "\n\017ListAwsClusters\0225.google.cloud.gkemult" + + "icloud.v1.ListAwsClustersRequest\0326.googl" + + "e.cloud.gkemulticloud.v1.ListAwsClusters" + + "Response\"@\332A\006parent\202\323\344\223\0021\022//v1/{parent=p" + + "rojects/*/locations/*}/awsClusters\022\326\001\n\020D" + + "eleteAwsCluster\0226.google.cloud.gkemultic" + + "loud.v1.DeleteAwsClusterRequest\032\035.google" + + ".longrunning.Operation\"k\312A*\n\025google.prot" + + "obuf.Empty\022\021OperationMetadata\332A\004name\202\323\344\223" + + "\0021*//v1/{name=projects/*/locations/*/aws" + + "Clusters/*}\022\207\002\n\034GenerateAwsClusterAgentT" + + "oken\022B.google.cloud.gkemulticloud.v1.Gen" + + "erateAwsClusterAgentTokenRequest\032C.googl" + + "e.cloud.gkemulticloud.v1.GenerateAwsClus" + + "terAgentTokenResponse\"^\202\323\344\223\002X\"S/v1/{aws_" + + "cluster=projects/*/locations/*/awsCluste" + + "rs/*}:generateAwsClusterAgentToken:\001*\022\354\001" + + "\n\026GenerateAwsAccessToken\022<.google.cloud." + + "gkemulticloud.v1.GenerateAwsAccessTokenR" + + "equest\032=.google.cloud.gkemulticloud.v1.G" + + "enerateAwsAccessTokenResponse\"U\202\323\344\223\002O\022M/" + + "v1/{aws_cluster=projects/*/locations/*/a" + + "wsClusters/*}:generateAwsAccessToken\022\216\002\n" + + "\021CreateAwsNodePool\0227.google.cloud.gkemul" + + "ticloud.v1.CreateAwsNodePoolRequest\032\035.go" + + "ogle.longrunning.Operation\"\240\001\312A \n\013AwsNod" + + "ePool\022\021OperationMetadata\332A%parent,aws_no" + + "de_pool,aws_node_pool_id\202\323\344\223\002O\">/v1/{par" + + "ent=projects/*/locations/*/awsClusters/*" + + "}/awsNodePools:\raws_node_pool\022\220\002\n\021Update" + + "AwsNodePool\0227.google.cloud.gkemulticloud" + + ".v1.UpdateAwsNodePoolRequest\032\035.google.lo" + + "ngrunning.Operation\"\242\001\312A \n\013AwsNodePool\022\021" + + "OperationMetadata\332A\031aws_node_pool,update" + + "_mask\202\323\344\223\002]2L/v1/{aws_node_pool.name=pro" + + "jects/*/locations/*/awsClusters/*/awsNod" + + "ePools/*}:\raws_node_pool\022\371\001\n\031RollbackAws" + + "NodePoolUpdate\022?.google.cloud.gkemulticl" + + "oud.v1.RollbackAwsNodePoolUpdateRequest\032" + + "\035.google.longrunning.Operation\"|\312A \n\013Aws" + + "NodePool\022\021OperationMetadata\332A\004name\202\323\344\223\002L" + + "\"G/v1/{name=projects/*/locations/*/awsCl" + + "usters/*/awsNodePools/*}:rollback:\001*\022\301\001\n" + + "\016GetAwsNodePool\0224.google.cloud.gkemultic" + + "loud.v1.GetAwsNodePoolRequest\032*.google.c" + + "loud.gkemulticloud.v1.AwsNodePool\"M\332A\004na" + + "me\202\323\344\223\002@\022>/v1/{name=projects/*/locations" + + "/*/awsClusters/*/awsNodePools/*}\022\324\001\n\020Lis" + + "tAwsNodePools\0226.google.cloud.gkemulticlo" + + "ud.v1.ListAwsNodePoolsRequest\0327.google.c" + + "loud.gkemulticloud.v1.ListAwsNodePoolsRe" + + "sponse\"O\332A\006parent\202\323\344\223\002@\022>/v1/{parent=pro" + + "jects/*/locations/*/awsClusters/*}/awsNo" + + "dePools\022\347\001\n\021DeleteAwsNodePool\0227.google.c" + + "loud.gkemulticloud.v1.DeleteAwsNodePoolR" + + "equest\032\035.google.longrunning.Operation\"z\312" + + "A*\n\025google.protobuf.Empty\022\021OperationMeta" + + "data\332A\004name\202\323\344\223\002@*>/v1/{name=projects/*/" + + "locations/*/awsClusters/*/awsNodePools/*" + + "}\022\337\001\n\022GetAwsOpenIdConfig\0228.google.cloud." + + "gkemulticloud.v1.GetAwsOpenIdConfigReque" + + "st\032..google.cloud.gkemulticloud.v1.AwsOp" + + "enIdConfig\"_\202\323\344\223\002Y\022W/v1/{aws_cluster=pro" + + "jects/*/locations/*/awsClusters/*}/.well" + + "-known/openid-configuration\022\300\001\n\021GetAwsJs" + + "onWebKeys\0227.google.cloud.gkemulticloud.v" + + "1.GetAwsJsonWebKeysRequest\032-.google.clou" + + "d.gkemulticloud.v1.AwsJsonWebKeys\"C\202\323\344\223\002" + + "=\022;/v1/{aws_cluster=projects/*/locations" + + "/*/awsClusters/*}/jwks\022\300\001\n\022GetAwsServerC" + + "onfig\0228.google.cloud.gkemulticloud.v1.Ge" + + "tAwsServerConfigRequest\032..google.cloud.g" + + "kemulticloud.v1.AwsServerConfig\"@\332A\004name" + + "\202\323\344\223\0023\0221/v1/{name=projects/*/locations/*" + + "/awsServerConfig}\032P\312A\034gkemulticloud.goog" + + "leapis.com\322A.https://www.googleapis.com/" + + "auth/cloud-platformB\342\001\n!com.google.cloud" + + ".gkemulticloud.v1B\017AwsServiceProtoP\001ZGcl" + + "oud.google.com/go/gkemulticloud/apiv1/gk" + + "emulticloudpb;gkemulticloudpb\252\002\035Google.C" + + "loud.GkeMultiCloud.V1\312\002\035Google\\Cloud\\Gke" + + "MultiCloud\\V1\352\002 Google::Cloud::GkeMultiC" + + "loud::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.gkemulticloud.v1.AwsResourcesProto.getDescriptor(), + com.google.cloud.gkemulticloud.v1.CommonResourcesProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_descriptor, + new java.lang.String[] { + "Parent", "AwsCluster", "AwsClusterId", "ValidateOnly", + }); + internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_descriptor, + new java.lang.String[] { + "AwsCluster", "ValidateOnly", "UpdateMask", + }); + internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_descriptor, + new java.lang.String[] { + "AwsClusters", "NextPageToken", + }); + internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_descriptor, + new java.lang.String[] { + "Name", "ValidateOnly", "AllowMissing", "IgnoreErrors", "Etag", + }); + internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_descriptor, + new java.lang.String[] { + "Parent", "AwsNodePool", "AwsNodePoolId", "ValidateOnly", + }); + internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_descriptor, + new java.lang.String[] { + "AwsNodePool", "ValidateOnly", "UpdateMask", + }); + internal_static_google_cloud_gkemulticloud_v1_RollbackAwsNodePoolUpdateRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_gkemulticloud_v1_RollbackAwsNodePoolUpdateRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_RollbackAwsNodePoolUpdateRequest_descriptor, + new java.lang.String[] { + "Name", "RespectPdb", + }); + internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_descriptor, + new java.lang.String[] { + "AwsNodePools", "NextPageToken", + }); + internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_descriptor, + new java.lang.String[] { + "Name", "ValidateOnly", "AllowMissing", "IgnoreErrors", "Etag", + }); + internal_static_google_cloud_gkemulticloud_v1_GetAwsOpenIdConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_gkemulticloud_v1_GetAwsOpenIdConfigRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GetAwsOpenIdConfigRequest_descriptor, + new java.lang.String[] { + "AwsCluster", + }); + internal_static_google_cloud_gkemulticloud_v1_GetAwsJsonWebKeysRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_gkemulticloud_v1_GetAwsJsonWebKeysRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GetAwsJsonWebKeysRequest_descriptor, + new java.lang.String[] { + "AwsCluster", + }); + internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_descriptor, + new java.lang.String[] { + "AwsCluster", + }); + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_descriptor, + new java.lang.String[] { + "AccessToken", "ExpirationTime", + }); + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenRequest_descriptor, + new java.lang.String[] { + "AwsCluster", + "SubjectToken", + "SubjectTokenType", + "Version", + "NodePoolId", + "GrantType", + "Audience", + "Scope", + "RequestedTokenType", + "Options", + }); + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenResponse_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenResponse_descriptor, + new java.lang.String[] { + "AccessToken", "ExpiresIn", "TokenType", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.gkemulticloud.v1.AwsResourcesProto.getDescriptor(); + com.google.cloud.gkemulticloud.v1.CommonResourcesProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthentication.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthentication.java similarity index 70% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthentication.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthentication.java index af9b5d2922ec..5466ae3bb4ca 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthentication.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthentication.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Authentication configuration for the management of AWS resources.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsServicesAuthentication} */ -public final class AwsServicesAuthentication extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AwsServicesAuthentication extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsServicesAuthentication) AwsServicesAuthenticationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AwsServicesAuthentication.newBuilder() to construct. private AwsServicesAuthentication(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AwsServicesAuthentication() { roleArn_ = ""; roleSessionName_ = ""; @@ -26,34 +44,39 @@ private AwsServicesAuthentication() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AwsServicesAuthentication(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.class, com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.class, + com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.Builder.class); } public static final int ROLE_ARN_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object roleArn_ = ""; /** + * + * *
    * Required. The Amazon Resource Name (ARN) of the role that the Anthos
    * Multi-Cloud API will assume when managing AWS resources on your account.
    * 
* * string role_arn = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The roleArn. */ @java.lang.Override @@ -62,30 +85,30 @@ public java.lang.String getRoleArn() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); roleArn_ = s; return s; } } /** + * + * *
    * Required. The Amazon Resource Name (ARN) of the role that the Anthos
    * Multi-Cloud API will assume when managing AWS resources on your account.
    * 
* * string role_arn = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for roleArn. */ @java.lang.Override - public com.google.protobuf.ByteString - getRoleArnBytes() { + public com.google.protobuf.ByteString getRoleArnBytes() { java.lang.Object ref = roleArn_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); roleArn_ = b; return b; } else { @@ -94,9 +117,12 @@ public java.lang.String getRoleArn() { } public static final int ROLE_SESSION_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object roleSessionName_ = ""; /** + * + * *
    * Optional. An identifier for the assumed role session.
    *
@@ -104,6 +130,7 @@ public java.lang.String getRoleArn() {
    * 
* * string role_session_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The roleSessionName. */ @java.lang.Override @@ -112,14 +139,15 @@ public java.lang.String getRoleSessionName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); roleSessionName_ = s; return s; } } /** + * + * *
    * Optional. An identifier for the assumed role session.
    *
@@ -127,16 +155,15 @@ public java.lang.String getRoleSessionName() {
    * 
* * string role_session_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for roleSessionName. */ @java.lang.Override - public com.google.protobuf.ByteString - getRoleSessionNameBytes() { + public com.google.protobuf.ByteString getRoleSessionNameBytes() { java.lang.Object ref = roleSessionName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); roleSessionName_ = b; return b; } else { @@ -145,6 +172,7 @@ public java.lang.String getRoleSessionName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -156,8 +184,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(roleArn_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, roleArn_); } @@ -187,17 +214,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication other = (com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication) obj; + com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication other = + (com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication) obj; - if (!getRoleArn() - .equals(other.getRoleArn())) return false; - if (!getRoleSessionName() - .equals(other.getRoleSessionName())) return false; + if (!getRoleArn().equals(other.getRoleArn())) return false; + if (!getRoleSessionName().equals(other.getRoleSessionName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -219,131 +245,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Authentication configuration for the management of AWS resources.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsServicesAuthentication} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsServicesAuthentication) com.google.cloud.gkemulticloud.v1.AwsServicesAuthenticationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.class, com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.class, + com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -354,9 +385,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_descriptor; } @java.lang.Override @@ -375,8 +406,11 @@ public com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication result = new com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication result = + new com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -395,38 +429,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsServicesAuthenti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication) other); } else { super.mergeFrom(other); return this; @@ -434,7 +469,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication other) { - if (other == com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication.getDefaultInstance()) + return this; if (!other.getRoleArn().isEmpty()) { roleArn_ = other.roleArn_; bitField0_ |= 0x00000001; @@ -471,22 +507,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - roleArn_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - roleSessionName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + roleArn_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + roleSessionName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -496,23 +535,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object roleArn_ = ""; /** + * + * *
      * Required. The Amazon Resource Name (ARN) of the role that the Anthos
      * Multi-Cloud API will assume when managing AWS resources on your account.
      * 
* * string role_arn = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The roleArn. */ public java.lang.String getRoleArn() { java.lang.Object ref = roleArn_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); roleArn_ = s; return s; @@ -521,21 +563,22 @@ public java.lang.String getRoleArn() { } } /** + * + * *
      * Required. The Amazon Resource Name (ARN) of the role that the Anthos
      * Multi-Cloud API will assume when managing AWS resources on your account.
      * 
* * string role_arn = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for roleArn. */ - public com.google.protobuf.ByteString - getRoleArnBytes() { + public com.google.protobuf.ByteString getRoleArnBytes() { java.lang.Object ref = roleArn_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); roleArn_ = b; return b; } else { @@ -543,30 +586,37 @@ public java.lang.String getRoleArn() { } } /** + * + * *
      * Required. The Amazon Resource Name (ARN) of the role that the Anthos
      * Multi-Cloud API will assume when managing AWS resources on your account.
      * 
* * string role_arn = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The roleArn to set. * @return This builder for chaining. */ - public Builder setRoleArn( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRoleArn(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } roleArn_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The Amazon Resource Name (ARN) of the role that the Anthos
      * Multi-Cloud API will assume when managing AWS resources on your account.
      * 
* * string role_arn = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearRoleArn() { @@ -576,18 +626,22 @@ public Builder clearRoleArn() { return this; } /** + * + * *
      * Required. The Amazon Resource Name (ARN) of the role that the Anthos
      * Multi-Cloud API will assume when managing AWS resources on your account.
      * 
* * string role_arn = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for roleArn to set. * @return This builder for chaining. */ - public Builder setRoleArnBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRoleArnBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); roleArn_ = value; bitField0_ |= 0x00000001; @@ -597,6 +651,8 @@ public Builder setRoleArnBytes( private java.lang.Object roleSessionName_ = ""; /** + * + * *
      * Optional. An identifier for the assumed role session.
      *
@@ -604,13 +660,13 @@ public Builder setRoleArnBytes(
      * 
* * string role_session_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The roleSessionName. */ public java.lang.String getRoleSessionName() { java.lang.Object ref = roleSessionName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); roleSessionName_ = s; return s; @@ -619,6 +675,8 @@ public java.lang.String getRoleSessionName() { } } /** + * + * *
      * Optional. An identifier for the assumed role session.
      *
@@ -626,15 +684,14 @@ public java.lang.String getRoleSessionName() {
      * 
* * string role_session_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for roleSessionName. */ - public com.google.protobuf.ByteString - getRoleSessionNameBytes() { + public com.google.protobuf.ByteString getRoleSessionNameBytes() { java.lang.Object ref = roleSessionName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); roleSessionName_ = b; return b; } else { @@ -642,6 +699,8 @@ public java.lang.String getRoleSessionName() { } } /** + * + * *
      * Optional. An identifier for the assumed role session.
      *
@@ -649,18 +708,22 @@ public java.lang.String getRoleSessionName() {
      * 
* * string role_session_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The roleSessionName to set. * @return This builder for chaining. */ - public Builder setRoleSessionName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRoleSessionName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } roleSessionName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An identifier for the assumed role session.
      *
@@ -668,6 +731,7 @@ public Builder setRoleSessionName(
      * 
* * string role_session_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRoleSessionName() { @@ -677,6 +741,8 @@ public Builder clearRoleSessionName() { return this; } /** + * + * *
      * Optional. An identifier for the assumed role session.
      *
@@ -684,21 +750,23 @@ public Builder clearRoleSessionName() {
      * 
* * string role_session_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for roleSessionName to set. * @return This builder for chaining. */ - public Builder setRoleSessionNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRoleSessionNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); roleSessionName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -708,12 +776,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsServicesAuthentication) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsServicesAuthentication) private static final com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication(); } @@ -722,27 +790,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsServicesAuthentication parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsServicesAuthentication parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -757,6 +825,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.AwsServicesAuthentication getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthenticationOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthenticationOrBuilder.java similarity index 65% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthenticationOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthenticationOrBuilder.java index 661a64e6ebbf..b54f349bef2e 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthenticationOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServicesAuthenticationOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsServicesAuthenticationOrBuilder extends +public interface AwsServicesAuthenticationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsServicesAuthentication) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The Amazon Resource Name (ARN) of the role that the Anthos
    * Multi-Cloud API will assume when managing AWS resources on your account.
    * 
* * string role_arn = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The roleArn. */ java.lang.String getRoleArn(); /** + * + * *
    * Required. The Amazon Resource Name (ARN) of the role that the Anthos
    * Multi-Cloud API will assume when managing AWS resources on your account.
    * 
* * string role_arn = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for roleArn. */ - com.google.protobuf.ByteString - getRoleArnBytes(); + com.google.protobuf.ByteString getRoleArnBytes(); /** + * + * *
    * Optional. An identifier for the assumed role session.
    *
@@ -37,10 +60,13 @@ public interface AwsServicesAuthenticationOrBuilder extends
    * 
* * string role_session_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The roleSessionName. */ java.lang.String getRoleSessionName(); /** + * + * *
    * Optional. An identifier for the assumed role session.
    *
@@ -48,8 +74,8 @@ public interface AwsServicesAuthenticationOrBuilder extends
    * 
* * string role_session_name = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for roleSessionName. */ - com.google.protobuf.ByteString - getRoleSessionNameBytes(); + com.google.protobuf.ByteString getRoleSessionNameBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfig.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfig.java similarity index 67% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfig.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfig.java index 68e01fcf6c48..bf776fff1889 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfig.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfig.java @@ -1,57 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * SSH configuration for AWS resources.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsSshConfig} */ -public final class AwsSshConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AwsSshConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsSshConfig) AwsSshConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AwsSshConfig.newBuilder() to construct. private AwsSshConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AwsSshConfig() { ec2KeyPair_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AwsSshConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsSshConfig.class, com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsSshConfig.class, + com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder.class); } public static final int EC2_KEY_PAIR_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object ec2KeyPair_ = ""; /** + * + * *
    * Required. The name of the EC2 key pair used to login into cluster machines.
    * 
* * string ec2_key_pair = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The ec2KeyPair. */ @java.lang.Override @@ -60,29 +83,29 @@ public java.lang.String getEc2KeyPair() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ec2KeyPair_ = s; return s; } } /** + * + * *
    * Required. The name of the EC2 key pair used to login into cluster machines.
    * 
* * string ec2_key_pair = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for ec2KeyPair. */ @java.lang.Override - public com.google.protobuf.ByteString - getEc2KeyPairBytes() { + public com.google.protobuf.ByteString getEc2KeyPairBytes() { java.lang.Object ref = ec2KeyPair_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ec2KeyPair_ = b; return b; } else { @@ -91,6 +114,7 @@ public java.lang.String getEc2KeyPair() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,8 +126,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ec2KeyPair_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ec2KeyPair_); } @@ -127,15 +150,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsSshConfig)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsSshConfig other = (com.google.cloud.gkemulticloud.v1.AwsSshConfig) obj; + com.google.cloud.gkemulticloud.v1.AwsSshConfig other = + (com.google.cloud.gkemulticloud.v1.AwsSshConfig) obj; - if (!getEc2KeyPair() - .equals(other.getEc2KeyPair())) return false; + if (!getEc2KeyPair().equals(other.getEc2KeyPair())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -154,132 +177,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.gkemulticloud.v1.AwsSshConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.gkemulticloud.v1.AwsSshConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsSshConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsSshConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsSshConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsSshConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsSshConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsSshConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsSshConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsSshConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsSshConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsSshConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsSshConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsSshConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsSshConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SSH configuration for AWS resources.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsSshConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsSshConfig) com.google.cloud.gkemulticloud.v1.AwsSshConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsSshConfig.class, com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsSshConfig.class, + com.google.cloud.gkemulticloud.v1.AwsSshConfig.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AwsSshConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -289,9 +316,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_descriptor; } @java.lang.Override @@ -310,8 +337,11 @@ public com.google.cloud.gkemulticloud.v1.AwsSshConfig build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsSshConfig buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsSshConfig result = new com.google.cloud.gkemulticloud.v1.AwsSshConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.AwsSshConfig result = + new com.google.cloud.gkemulticloud.v1.AwsSshConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -327,38 +357,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsSshConfig result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AwsSshConfig) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsSshConfig)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsSshConfig) other); } else { super.mergeFrom(other); return this; @@ -398,17 +429,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - ec2KeyPair_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + ec2KeyPair_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -418,22 +451,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object ec2KeyPair_ = ""; /** + * + * *
      * Required. The name of the EC2 key pair used to login into cluster machines.
      * 
* * string ec2_key_pair = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The ec2KeyPair. */ public java.lang.String getEc2KeyPair() { java.lang.Object ref = ec2KeyPair_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ec2KeyPair_ = s; return s; @@ -442,20 +478,21 @@ public java.lang.String getEc2KeyPair() { } } /** + * + * *
      * Required. The name of the EC2 key pair used to login into cluster machines.
      * 
* * string ec2_key_pair = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for ec2KeyPair. */ - public com.google.protobuf.ByteString - getEc2KeyPairBytes() { + public com.google.protobuf.ByteString getEc2KeyPairBytes() { java.lang.Object ref = ec2KeyPair_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ec2KeyPair_ = b; return b; } else { @@ -463,28 +500,35 @@ public java.lang.String getEc2KeyPair() { } } /** + * + * *
      * Required. The name of the EC2 key pair used to login into cluster machines.
      * 
* * string ec2_key_pair = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The ec2KeyPair to set. * @return This builder for chaining. */ - public Builder setEc2KeyPair( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEc2KeyPair(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ec2KeyPair_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the EC2 key pair used to login into cluster machines.
      * 
* * string ec2_key_pair = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearEc2KeyPair() { @@ -494,26 +538,30 @@ public Builder clearEc2KeyPair() { return this; } /** + * + * *
      * Required. The name of the EC2 key pair used to login into cluster machines.
      * 
* * string ec2_key_pair = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for ec2KeyPair to set. * @return This builder for chaining. */ - public Builder setEc2KeyPairBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEc2KeyPairBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ec2KeyPair_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -523,12 +571,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsSshConfig) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsSshConfig) private static final com.google.cloud.gkemulticloud.v1.AwsSshConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsSshConfig(); } @@ -537,27 +585,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsSshConfig getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsSshConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsSshConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -572,6 +620,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsSshConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfigOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfigOrBuilder.java similarity index 52% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfigOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfigOrBuilder.java index 6a9cb26a17e7..b243a28f39fa 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfigOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsSshConfigOrBuilder.java @@ -1,29 +1,50 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsSshConfigOrBuilder extends +public interface AwsSshConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsSshConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the EC2 key pair used to login into cluster machines.
    * 
* * string ec2_key_pair = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The ec2KeyPair. */ java.lang.String getEc2KeyPair(); /** + * + * *
    * Required. The name of the EC2 key pair used to login into cluster machines.
    * 
* * string ec2_key_pair = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for ec2KeyPair. */ - com.google.protobuf.ByteString - getEc2KeyPairBytes(); + com.google.protobuf.ByteString getEc2KeyPairBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplate.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplate.java similarity index 70% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplate.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplate.java index 4c3d79109406..651af5a22db1 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplate.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplate.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Configuration template for AWS EBS volumes.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsVolumeTemplate} */ -public final class AwsVolumeTemplate extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AwsVolumeTemplate extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AwsVolumeTemplate) AwsVolumeTemplateOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AwsVolumeTemplate.newBuilder() to construct. private AwsVolumeTemplate(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AwsVolumeTemplate() { volumeType_ = 0; kmsKeyArn_ = ""; @@ -26,25 +44,28 @@ private AwsVolumeTemplate() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AwsVolumeTemplate(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.class, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.class, + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder.class); } /** + * + * *
    * Types of supported EBS volumes. We currently only support GP2 or GP3
    * volumes.
@@ -54,9 +75,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType}
    */
-  public enum VolumeType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum VolumeType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Not set.
      * 
@@ -65,6 +87,8 @@ public enum VolumeType */ VOLUME_TYPE_UNSPECIFIED(0), /** + * + * *
      * GP2 (General Purpose SSD volume type).
      * 
@@ -73,6 +97,8 @@ public enum VolumeType */ GP2(1), /** + * + * *
      * GP3 (General Purpose SSD volume type).
      * 
@@ -84,6 +110,8 @@ public enum VolumeType ; /** + * + * *
      * Not set.
      * 
@@ -92,6 +120,8 @@ public enum VolumeType */ public static final int VOLUME_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * GP2 (General Purpose SSD volume type).
      * 
@@ -100,6 +130,8 @@ public enum VolumeType */ public static final int GP2_VALUE = 1; /** + * + * *
      * GP3 (General Purpose SSD volume type).
      * 
@@ -108,7 +140,6 @@ public enum VolumeType */ public static final int GP3_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -133,49 +164,51 @@ public static VolumeType valueOf(int value) { */ public static VolumeType forNumber(int value) { switch (value) { - case 0: return VOLUME_TYPE_UNSPECIFIED; - case 1: return GP2; - case 2: return GP3; - default: return null; + case 0: + return VOLUME_TYPE_UNSPECIFIED; + case 1: + return GP2; + case 2: + return GP3; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - VolumeType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VolumeType findValueByNumber(int number) { - return VolumeType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public VolumeType findValueByNumber(int number) { + return VolumeType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDescriptor() + .getEnumTypes() + .get(0); } private static final VolumeType[] VALUES = values(); - public static VolumeType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static VolumeType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -195,6 +228,8 @@ private VolumeType(int value) { public static final int SIZE_GIB_FIELD_NUMBER = 1; private int sizeGib_ = 0; /** + * + * *
    * Optional. The size of the volume, in GiBs.
    *
@@ -203,6 +238,7 @@ private VolumeType(int value) {
    * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The sizeGib. */ @java.lang.Override @@ -213,42 +249,60 @@ public int getSizeGib() { public static final int VOLUME_TYPE_FIELD_NUMBER = 2; private int volumeType_ = 0; /** + * + * *
    * Optional. Type of the EBS volume.
    *
    * When unspecified, it defaults to GP2 volume.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for volumeType. */ - @java.lang.Override public int getVolumeTypeValue() { + @java.lang.Override + public int getVolumeTypeValue() { return volumeType_; } /** + * + * *
    * Optional. Type of the EBS volume.
    *
    * When unspecified, it defaults to GP2 volume.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The volumeType. */ - @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType getVolumeType() { - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType result = com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType.forNumber(volumeType_); - return result == null ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType getVolumeType() { + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType result = + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType.forNumber(volumeType_); + return result == null + ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType.UNRECOGNIZED + : result; } public static final int IOPS_FIELD_NUMBER = 3; private int iops_ = 0; /** + * + * *
    * Optional. The number of I/O operations per second (IOPS) to provision for
    * GP3 volume.
    * 
* * int32 iops = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The iops. */ @java.lang.Override @@ -259,6 +313,8 @@ public int getIops() { public static final int THROUGHPUT_FIELD_NUMBER = 5; private int throughput_ = 0; /** + * + * *
    * Optional. The throughput that the volume supports, in MiB/s. Only valid if
    * volume_type is GP3.
@@ -267,6 +323,7 @@ public int getIops() {
    * 
* * int32 throughput = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The throughput. */ @java.lang.Override @@ -275,9 +332,12 @@ public int getThroughput() { } public static final int KMS_KEY_ARN_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object kmsKeyArn_ = ""; /** + * + * *
    * Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK)
    * used to encrypt AWS EBS volumes.
@@ -287,6 +347,7 @@ public int getThroughput() {
    * 
* * string kms_key_arn = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The kmsKeyArn. */ @java.lang.Override @@ -295,14 +356,15 @@ public java.lang.String getKmsKeyArn() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyArn_ = s; return s; } } /** + * + * *
    * Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK)
    * used to encrypt AWS EBS volumes.
@@ -312,16 +374,15 @@ public java.lang.String getKmsKeyArn() {
    * 
* * string kms_key_arn = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for kmsKeyArn. */ @java.lang.Override - public com.google.protobuf.ByteString - getKmsKeyArnBytes() { + public com.google.protobuf.ByteString getKmsKeyArnBytes() { java.lang.Object ref = kmsKeyArn_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kmsKeyArn_ = b; return b; } else { @@ -330,6 +391,7 @@ public java.lang.String getKmsKeyArn() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -341,12 +403,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (sizeGib_ != 0) { output.writeInt32(1, sizeGib_); } - if (volumeType_ != com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType.VOLUME_TYPE_UNSPECIFIED.getNumber()) { + if (volumeType_ + != com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType.VOLUME_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, volumeType_); } if (iops_ != 0) { @@ -368,23 +431,21 @@ public int getSerializedSize() { size = 0; if (sizeGib_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, sizeGib_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, sizeGib_); } - if (volumeType_ != com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType.VOLUME_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, volumeType_); + if (volumeType_ + != com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType.VOLUME_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, volumeType_); } if (iops_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, iops_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, iops_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyArn_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, kmsKeyArn_); } if (throughput_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, throughput_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, throughput_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -394,22 +455,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate other = (com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate) obj; + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate other = + (com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate) obj; - if (getSizeGib() - != other.getSizeGib()) return false; + if (getSizeGib() != other.getSizeGib()) return false; if (volumeType_ != other.volumeType_) return false; - if (getIops() - != other.getIops()) return false; - if (getThroughput() - != other.getThroughput()) return false; - if (!getKmsKeyArn() - .equals(other.getKmsKeyArn())) return false; + if (getIops() != other.getIops()) return false; + if (getThroughput() != other.getThroughput()) return false; + if (!getKmsKeyArn().equals(other.getKmsKeyArn())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -437,131 +495,135 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration template for AWS EBS volumes.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AwsVolumeTemplate} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AwsVolumeTemplate) com.google.cloud.gkemulticloud.v1.AwsVolumeTemplateOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.class, com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder.class); + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.class, + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -575,9 +637,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_descriptor; } @java.lang.Override @@ -596,8 +658,11 @@ public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate buildPartial() { - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate result = new com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate result = + new com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -625,38 +690,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate) other); } else { super.mergeFrom(other); return this; @@ -664,7 +730,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate other) { - if (other == com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.getDefaultInstance()) + return this; if (other.getSizeGib() != 0) { setSizeGib(other.getSizeGib()); } @@ -708,37 +775,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - sizeGib_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - volumeType_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - iops_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - kmsKeyArn_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 40: { - throughput_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + sizeGib_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + volumeType_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + iops_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + kmsKeyArn_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 40: + { + throughput_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -748,10 +821,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int sizeGib_ ; + private int sizeGib_; /** + * + * *
      * Optional. The size of the volume, in GiBs.
      *
@@ -760,6 +836,7 @@ public Builder mergeFrom(
      * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The sizeGib. */ @java.lang.Override @@ -767,6 +844,8 @@ public int getSizeGib() { return sizeGib_; } /** + * + * *
      * Optional. The size of the volume, in GiBs.
      *
@@ -775,6 +854,7 @@ public int getSizeGib() {
      * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The sizeGib to set. * @return This builder for chaining. */ @@ -786,6 +866,8 @@ public Builder setSizeGib(int value) { return this; } /** + * + * *
      * Optional. The size of the volume, in GiBs.
      *
@@ -794,6 +876,7 @@ public Builder setSizeGib(int value) {
      * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearSizeGib() { @@ -805,26 +888,37 @@ public Builder clearSizeGib() { private int volumeType_ = 0; /** + * + * *
      * Optional. Type of the EBS volume.
      *
      * When unspecified, it defaults to GP2 volume.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for volumeType. */ - @java.lang.Override public int getVolumeTypeValue() { + @java.lang.Override + public int getVolumeTypeValue() { return volumeType_; } /** + * + * *
      * Optional. Type of the EBS volume.
      *
      * When unspecified, it defaults to GP2 volume.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for volumeType to set. * @return This builder for chaining. */ @@ -835,32 +929,46 @@ public Builder setVolumeTypeValue(int value) { return this; } /** + * + * *
      * Optional. Type of the EBS volume.
      *
      * When unspecified, it defaults to GP2 volume.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The volumeType. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType getVolumeType() { - com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType result = com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType.forNumber(volumeType_); - return result == null ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType.UNRECOGNIZED : result; + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType result = + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType.forNumber(volumeType_); + return result == null + ? com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType.UNRECOGNIZED + : result; } /** + * + * *
      * Optional. Type of the EBS volume.
      *
      * When unspecified, it defaults to GP2 volume.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The volumeType to set. * @return This builder for chaining. */ - public Builder setVolumeType(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType value) { + public Builder setVolumeType( + com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType value) { if (value == null) { throw new NullPointerException(); } @@ -870,13 +978,18 @@ public Builder setVolumeType(com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate return this; } /** + * + * *
      * Optional. Type of the EBS volume.
      *
      * When unspecified, it defaults to GP2 volume.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearVolumeType() { @@ -886,14 +999,17 @@ public Builder clearVolumeType() { return this; } - private int iops_ ; + private int iops_; /** + * + * *
      * Optional. The number of I/O operations per second (IOPS) to provision for
      * GP3 volume.
      * 
* * int32 iops = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The iops. */ @java.lang.Override @@ -901,12 +1017,15 @@ public int getIops() { return iops_; } /** + * + * *
      * Optional. The number of I/O operations per second (IOPS) to provision for
      * GP3 volume.
      * 
* * int32 iops = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The iops to set. * @return This builder for chaining. */ @@ -918,12 +1037,15 @@ public Builder setIops(int value) { return this; } /** + * + * *
      * Optional. The number of I/O operations per second (IOPS) to provision for
      * GP3 volume.
      * 
* * int32 iops = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearIops() { @@ -933,8 +1055,10 @@ public Builder clearIops() { return this; } - private int throughput_ ; + private int throughput_; /** + * + * *
      * Optional. The throughput that the volume supports, in MiB/s. Only valid if
      * volume_type is GP3.
@@ -943,6 +1067,7 @@ public Builder clearIops() {
      * 
* * int32 throughput = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The throughput. */ @java.lang.Override @@ -950,6 +1075,8 @@ public int getThroughput() { return throughput_; } /** + * + * *
      * Optional. The throughput that the volume supports, in MiB/s. Only valid if
      * volume_type is GP3.
@@ -958,6 +1085,7 @@ public int getThroughput() {
      * 
* * int32 throughput = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The throughput to set. * @return This builder for chaining. */ @@ -969,6 +1097,8 @@ public Builder setThroughput(int value) { return this; } /** + * + * *
      * Optional. The throughput that the volume supports, in MiB/s. Only valid if
      * volume_type is GP3.
@@ -977,6 +1107,7 @@ public Builder setThroughput(int value) {
      * 
* * int32 throughput = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearThroughput() { @@ -988,6 +1119,8 @@ public Builder clearThroughput() { private java.lang.Object kmsKeyArn_ = ""; /** + * + * *
      * Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK)
      * used to encrypt AWS EBS volumes.
@@ -997,13 +1130,13 @@ public Builder clearThroughput() {
      * 
* * string kms_key_arn = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The kmsKeyArn. */ public java.lang.String getKmsKeyArn() { java.lang.Object ref = kmsKeyArn_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyArn_ = s; return s; @@ -1012,6 +1145,8 @@ public java.lang.String getKmsKeyArn() { } } /** + * + * *
      * Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK)
      * used to encrypt AWS EBS volumes.
@@ -1021,15 +1156,14 @@ public java.lang.String getKmsKeyArn() {
      * 
* * string kms_key_arn = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for kmsKeyArn. */ - public com.google.protobuf.ByteString - getKmsKeyArnBytes() { + public com.google.protobuf.ByteString getKmsKeyArnBytes() { java.lang.Object ref = kmsKeyArn_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kmsKeyArn_ = b; return b; } else { @@ -1037,6 +1171,8 @@ public java.lang.String getKmsKeyArn() { } } /** + * + * *
      * Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK)
      * used to encrypt AWS EBS volumes.
@@ -1046,18 +1182,22 @@ public java.lang.String getKmsKeyArn() {
      * 
* * string kms_key_arn = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The kmsKeyArn to set. * @return This builder for chaining. */ - public Builder setKmsKeyArn( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKmsKeyArn(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } kmsKeyArn_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK)
      * used to encrypt AWS EBS volumes.
@@ -1067,6 +1207,7 @@ public Builder setKmsKeyArn(
      * 
* * string kms_key_arn = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearKmsKeyArn() { @@ -1076,6 +1217,8 @@ public Builder clearKmsKeyArn() { return this; } /** + * + * *
      * Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK)
      * used to encrypt AWS EBS volumes.
@@ -1085,21 +1228,23 @@ public Builder clearKmsKeyArn() {
      * 
* * string kms_key_arn = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for kmsKeyArn to set. * @return This builder for chaining. */ - public Builder setKmsKeyArnBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKmsKeyArnBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); kmsKeyArn_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1109,12 +1254,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AwsVolumeTemplate) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AwsVolumeTemplate) private static final com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate(); } @@ -1123,27 +1268,27 @@ public static com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AwsVolumeTemplate parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AwsVolumeTemplate parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1158,6 +1303,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplateOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplateOrBuilder.java similarity index 69% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplateOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplateOrBuilder.java index f492be7d82b9..2cae8a10329f 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplateOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsVolumeTemplateOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AwsVolumeTemplateOrBuilder extends +public interface AwsVolumeTemplateOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsVolumeTemplate) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. The size of the volume, in GiBs.
    *
@@ -16,45 +34,61 @@ public interface AwsVolumeTemplateOrBuilder extends
    * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The sizeGib. */ int getSizeGib(); /** + * + * *
    * Optional. Type of the EBS volume.
    *
    * When unspecified, it defaults to GP2 volume.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for volumeType. */ int getVolumeTypeValue(); /** + * + * *
    * Optional. Type of the EBS volume.
    *
    * When unspecified, it defaults to GP2 volume.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The volumeType. */ com.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType getVolumeType(); /** + * + * *
    * Optional. The number of I/O operations per second (IOPS) to provision for
    * GP3 volume.
    * 
* * int32 iops = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The iops. */ int getIops(); /** + * + * *
    * Optional. The throughput that the volume supports, in MiB/s. Only valid if
    * volume_type is GP3.
@@ -63,11 +97,14 @@ public interface AwsVolumeTemplateOrBuilder extends
    * 
* * int32 throughput = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The throughput. */ int getThroughput(); /** + * + * *
    * Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK)
    * used to encrypt AWS EBS volumes.
@@ -77,10 +114,13 @@ public interface AwsVolumeTemplateOrBuilder extends
    * 
* * string kms_key_arn = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The kmsKeyArn. */ java.lang.String getKmsKeyArn(); /** + * + * *
    * Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK)
    * used to encrypt AWS EBS volumes.
@@ -90,8 +130,8 @@ public interface AwsVolumeTemplateOrBuilder extends
    * 
* * string kms_key_arn = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for kmsKeyArn. */ - com.google.protobuf.ByteString - getKmsKeyArnBytes(); + com.google.protobuf.ByteString getKmsKeyArnBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorization.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorization.java similarity index 71% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorization.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorization.java index cb4acdad5c96..ebe9884fdd4c 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorization.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorization.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Configuration related to the cluster RBAC settings.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureAuthorization} */ -public final class AzureAuthorization extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AzureAuthorization extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureAuthorization) AzureAuthorizationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AzureAuthorization.newBuilder() to construct. private AzureAuthorization(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AzureAuthorization() { adminUsers_ = java.util.Collections.emptyList(); adminGroups_ = java.util.Collections.emptyList(); @@ -26,28 +44,32 @@ private AzureAuthorization() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AzureAuthorization(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureAuthorization.class, com.google.cloud.gkemulticloud.v1.AzureAuthorization.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureAuthorization.class, + com.google.cloud.gkemulticloud.v1.AzureAuthorization.Builder.class); } public static final int ADMIN_USERS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List adminUsers_; /** + * + * *
    * Optional. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -57,13 +79,17 @@ protected java.lang.Object newInstance(
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List getAdminUsersList() { return adminUsers_; } /** + * + * *
    * Optional. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -73,14 +99,18 @@ public java.util.List getAdm
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List getAdminUsersOrBuilderList() { return adminUsers_; } /** + * + * *
    * Optional. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -90,13 +120,17 @@ public java.util.List getAdm
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getAdminUsersCount() { return adminUsers_.size(); } /** + * + * *
    * Optional. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -106,13 +140,17 @@ public int getAdminUsersCount() {
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureClusterUser getAdminUsers(int index) { return adminUsers_.get(index); } /** + * + * *
    * Optional. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -122,7 +160,9 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterUser getAdminUsers(int inde
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder getAdminUsersOrBuilder( @@ -131,9 +171,12 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder getAdminUsers } public static final int ADMIN_GROUPS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List adminGroups_; /** + * + * *
    * Optional. Groups of users that can perform operations as a cluster admin. A
    * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -143,13 +186,17 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder getAdminUsers
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List getAdminGroupsList() { return adminGroups_; } /** + * + * *
    * Optional. Groups of users that can perform operations as a cluster admin. A
    * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -159,14 +206,18 @@ public java.util.List getAd
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List getAdminGroupsOrBuilderList() { return adminGroups_; } /** + * + * *
    * Optional. Groups of users that can perform operations as a cluster admin. A
    * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -176,13 +227,17 @@ public java.util.List getAd
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getAdminGroupsCount() { return adminGroups_.size(); } /** + * + * *
    * Optional. Groups of users that can perform operations as a cluster admin. A
    * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -192,13 +247,17 @@ public int getAdminGroupsCount() {
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureClusterGroup getAdminGroups(int index) { return adminGroups_.get(index); } /** + * + * *
    * Optional. Groups of users that can perform operations as a cluster admin. A
    * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -208,7 +267,9 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterGroup getAdminGroups(int in
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureClusterGroupOrBuilder getAdminGroupsOrBuilder( @@ -217,6 +278,7 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterGroupOrBuilder getAdminGrou } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,8 +290,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < adminUsers_.size(); i++) { output.writeMessage(1, adminUsers_.get(i)); } @@ -246,12 +307,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < adminUsers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, adminUsers_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, adminUsers_.get(i)); } for (int i = 0; i < adminGroups_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, adminGroups_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, adminGroups_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -261,17 +320,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureAuthorization)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureAuthorization other = (com.google.cloud.gkemulticloud.v1.AzureAuthorization) obj; + com.google.cloud.gkemulticloud.v1.AzureAuthorization other = + (com.google.cloud.gkemulticloud.v1.AzureAuthorization) obj; - if (!getAdminUsersList() - .equals(other.getAdminUsersList())) return false; - if (!getAdminGroupsList() - .equals(other.getAdminGroupsList())) return false; + if (!getAdminUsersList().equals(other.getAdminUsersList())) return false; + if (!getAdminGroupsList().equals(other.getAdminGroupsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -297,131 +355,135 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureAuthorization parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureAuthorization prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration related to the cluster RBAC settings.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureAuthorization} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureAuthorization) com.google.cloud.gkemulticloud.v1.AzureAuthorizationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureAuthorization.class, com.google.cloud.gkemulticloud.v1.AzureAuthorization.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureAuthorization.class, + com.google.cloud.gkemulticloud.v1.AzureAuthorization.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AzureAuthorization.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -444,9 +506,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_descriptor; } @java.lang.Override @@ -465,14 +527,18 @@ public com.google.cloud.gkemulticloud.v1.AzureAuthorization build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureAuthorization buildPartial() { - com.google.cloud.gkemulticloud.v1.AzureAuthorization result = new com.google.cloud.gkemulticloud.v1.AzureAuthorization(this); + com.google.cloud.gkemulticloud.v1.AzureAuthorization result = + new com.google.cloud.gkemulticloud.v1.AzureAuthorization(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.AzureAuthorization result) { + private void buildPartialRepeatedFields( + com.google.cloud.gkemulticloud.v1.AzureAuthorization result) { if (adminUsersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { adminUsers_ = java.util.Collections.unmodifiableList(adminUsers_); @@ -501,38 +567,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureAuthorization public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AzureAuthorization) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureAuthorization)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureAuthorization) other); } else { super.mergeFrom(other); return this; @@ -540,7 +607,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureAuthorization other) { - if (other == com.google.cloud.gkemulticloud.v1.AzureAuthorization.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AzureAuthorization.getDefaultInstance()) + return this; if (adminUsersBuilder_ == null) { if (!other.adminUsers_.isEmpty()) { if (adminUsers_.isEmpty()) { @@ -559,9 +627,10 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureAuthorization ot adminUsersBuilder_ = null; adminUsers_ = other.adminUsers_; bitField0_ = (bitField0_ & ~0x00000001); - adminUsersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAdminUsersFieldBuilder() : null; + adminUsersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAdminUsersFieldBuilder() + : null; } else { adminUsersBuilder_.addAllMessages(other.adminUsers_); } @@ -585,9 +654,10 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureAuthorization ot adminGroupsBuilder_ = null; adminGroups_ = other.adminGroups_; bitField0_ = (bitField0_ & ~0x00000002); - adminGroupsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAdminGroupsFieldBuilder() : null; + adminGroupsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAdminGroupsFieldBuilder() + : null; } else { adminGroupsBuilder_.addAllMessages(other.adminGroups_); } @@ -619,38 +689,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.gkemulticloud.v1.AzureClusterUser m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureClusterUser.parser(), - extensionRegistry); - if (adminUsersBuilder_ == null) { - ensureAdminUsersIsMutable(); - adminUsers_.add(m); - } else { - adminUsersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - com.google.cloud.gkemulticloud.v1.AzureClusterGroup m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureClusterGroup.parser(), - extensionRegistry); - if (adminGroupsBuilder_ == null) { - ensureAdminGroupsIsMutable(); - adminGroups_.add(m); - } else { - adminGroupsBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.gkemulticloud.v1.AzureClusterUser m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureClusterUser.parser(), + extensionRegistry); + if (adminUsersBuilder_ == null) { + ensureAdminUsersIsMutable(); + adminUsers_.add(m); + } else { + adminUsersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + com.google.cloud.gkemulticloud.v1.AzureClusterGroup m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureClusterGroup.parser(), + extensionRegistry); + if (adminGroupsBuilder_ == null) { + ensureAdminGroupsIsMutable(); + adminGroups_.add(m); + } else { + adminGroupsBuilder_.addMessage(m); + } + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -660,21 +733,30 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List adminUsers_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAdminUsersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - adminUsers_ = new java.util.ArrayList(adminUsers_); + adminUsers_ = + new java.util.ArrayList( + adminUsers_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClusterUser, com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder> adminUsersBuilder_; + com.google.cloud.gkemulticloud.v1.AzureClusterUser, + com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder, + com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder> + adminUsersBuilder_; /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -684,7 +766,9 @@ private void ensureAdminUsersIsMutable() {
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getAdminUsersList() { if (adminUsersBuilder_ == null) { @@ -694,6 +778,8 @@ public java.util.List getAdm } } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -703,7 +789,9 @@ public java.util.List getAdm
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getAdminUsersCount() { if (adminUsersBuilder_ == null) { @@ -713,6 +801,8 @@ public int getAdminUsersCount() { } } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -722,7 +812,9 @@ public int getAdminUsersCount() {
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AzureClusterUser getAdminUsers(int index) { if (adminUsersBuilder_ == null) { @@ -732,6 +824,8 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterUser getAdminUsers(int inde } } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -741,7 +835,9 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterUser getAdminUsers(int inde
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAdminUsers( int index, com.google.cloud.gkemulticloud.v1.AzureClusterUser value) { @@ -758,6 +854,8 @@ public Builder setAdminUsers( return this; } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -767,7 +865,9 @@ public Builder setAdminUsers(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAdminUsers( int index, com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder builderForValue) { @@ -781,6 +881,8 @@ public Builder setAdminUsers( return this; } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -790,7 +892,9 @@ public Builder setAdminUsers(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAdminUsers(com.google.cloud.gkemulticloud.v1.AzureClusterUser value) { if (adminUsersBuilder_ == null) { @@ -806,6 +910,8 @@ public Builder addAdminUsers(com.google.cloud.gkemulticloud.v1.AzureClusterUser return this; } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -815,7 +921,9 @@ public Builder addAdminUsers(com.google.cloud.gkemulticloud.v1.AzureClusterUser
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAdminUsers( int index, com.google.cloud.gkemulticloud.v1.AzureClusterUser value) { @@ -832,6 +940,8 @@ public Builder addAdminUsers( return this; } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -841,7 +951,9 @@ public Builder addAdminUsers(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAdminUsers( com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder builderForValue) { @@ -855,6 +967,8 @@ public Builder addAdminUsers( return this; } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -864,7 +978,9 @@ public Builder addAdminUsers(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAdminUsers( int index, com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder builderForValue) { @@ -878,6 +994,8 @@ public Builder addAdminUsers( return this; } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -887,14 +1005,15 @@ public Builder addAdminUsers(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllAdminUsers( java.lang.Iterable values) { if (adminUsersBuilder_ == null) { ensureAdminUsersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, adminUsers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, adminUsers_); onChanged(); } else { adminUsersBuilder_.addAllMessages(values); @@ -902,6 +1021,8 @@ public Builder addAllAdminUsers( return this; } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -911,7 +1032,9 @@ public Builder addAllAdminUsers(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearAdminUsers() { if (adminUsersBuilder_ == null) { @@ -924,6 +1047,8 @@ public Builder clearAdminUsers() { return this; } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -933,7 +1058,9 @@ public Builder clearAdminUsers() {
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeAdminUsers(int index) { if (adminUsersBuilder_ == null) { @@ -946,6 +1073,8 @@ public Builder removeAdminUsers(int index) { return this; } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -955,13 +1084,17 @@ public Builder removeAdminUsers(int index) {
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder getAdminUsersBuilder( int index) { return getAdminUsersFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -971,16 +1104,21 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder getAdminUsersB
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder getAdminUsersOrBuilder( int index) { if (adminUsersBuilder_ == null) { - return adminUsers_.get(index); } else { + return adminUsers_.get(index); + } else { return adminUsersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -990,10 +1128,12 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder getAdminUsers
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getAdminUsersOrBuilderList() { + public java.util.List + getAdminUsersOrBuilderList() { if (adminUsersBuilder_ != null) { return adminUsersBuilder_.getMessageOrBuilderList(); } else { @@ -1001,6 +1141,8 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder getAdminUsers } } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -1010,13 +1152,17 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder getAdminUsers
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder addAdminUsersBuilder() { - return getAdminUsersFieldBuilder().addBuilder( - com.google.cloud.gkemulticloud.v1.AzureClusterUser.getDefaultInstance()); + return getAdminUsersFieldBuilder() + .addBuilder(com.google.cloud.gkemulticloud.v1.AzureClusterUser.getDefaultInstance()); } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -1026,14 +1172,19 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder addAdminUsersB
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder addAdminUsersBuilder( int index) { - return getAdminUsersFieldBuilder().addBuilder( - index, com.google.cloud.gkemulticloud.v1.AzureClusterUser.getDefaultInstance()); + return getAdminUsersFieldBuilder() + .addBuilder( + index, com.google.cloud.gkemulticloud.v1.AzureClusterUser.getDefaultInstance()); } /** + * + * *
      * Optional. Users that can perform operations as a cluster admin. A managed
      * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -1043,40 +1194,53 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder addAdminUsersB
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getAdminUsersBuilderList() { + public java.util.List + getAdminUsersBuilderList() { return getAdminUsersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClusterUser, com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureClusterUser, + com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder, + com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder> getAdminUsersFieldBuilder() { if (adminUsersBuilder_ == null) { - adminUsersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClusterUser, com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder>( - adminUsers_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + adminUsersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureClusterUser, + com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder, + com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder>( + adminUsers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); adminUsers_ = null; } return adminUsersBuilder_; } private java.util.List adminGroups_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAdminGroupsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - adminGroups_ = new java.util.ArrayList(adminGroups_); + adminGroups_ = + new java.util.ArrayList( + adminGroups_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClusterGroup, com.google.cloud.gkemulticloud.v1.AzureClusterGroup.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterGroupOrBuilder> adminGroupsBuilder_; + com.google.cloud.gkemulticloud.v1.AzureClusterGroup, + com.google.cloud.gkemulticloud.v1.AzureClusterGroup.Builder, + com.google.cloud.gkemulticloud.v1.AzureClusterGroupOrBuilder> + adminGroupsBuilder_; /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1086,9 +1250,12 @@ private void ensureAdminGroupsIsMutable() {
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List getAdminGroupsList() { + public java.util.List + getAdminGroupsList() { if (adminGroupsBuilder_ == null) { return java.util.Collections.unmodifiableList(adminGroups_); } else { @@ -1096,6 +1263,8 @@ public java.util.List getAd } } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1105,7 +1274,9 @@ public java.util.List getAd
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getAdminGroupsCount() { if (adminGroupsBuilder_ == null) { @@ -1115,6 +1286,8 @@ public int getAdminGroupsCount() { } } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1124,7 +1297,9 @@ public int getAdminGroupsCount() {
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AzureClusterGroup getAdminGroups(int index) { if (adminGroupsBuilder_ == null) { @@ -1134,6 +1309,8 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterGroup getAdminGroups(int in } } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1143,7 +1320,9 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterGroup getAdminGroups(int in
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAdminGroups( int index, com.google.cloud.gkemulticloud.v1.AzureClusterGroup value) { @@ -1160,6 +1339,8 @@ public Builder setAdminGroups( return this; } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1169,7 +1350,9 @@ public Builder setAdminGroups(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAdminGroups( int index, com.google.cloud.gkemulticloud.v1.AzureClusterGroup.Builder builderForValue) { @@ -1183,6 +1366,8 @@ public Builder setAdminGroups( return this; } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1192,7 +1377,9 @@ public Builder setAdminGroups(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAdminGroups(com.google.cloud.gkemulticloud.v1.AzureClusterGroup value) { if (adminGroupsBuilder_ == null) { @@ -1208,6 +1395,8 @@ public Builder addAdminGroups(com.google.cloud.gkemulticloud.v1.AzureClusterGrou return this; } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1217,7 +1406,9 @@ public Builder addAdminGroups(com.google.cloud.gkemulticloud.v1.AzureClusterGrou
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAdminGroups( int index, com.google.cloud.gkemulticloud.v1.AzureClusterGroup value) { @@ -1234,6 +1425,8 @@ public Builder addAdminGroups( return this; } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1243,7 +1436,9 @@ public Builder addAdminGroups(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAdminGroups( com.google.cloud.gkemulticloud.v1.AzureClusterGroup.Builder builderForValue) { @@ -1257,6 +1452,8 @@ public Builder addAdminGroups( return this; } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1266,7 +1463,9 @@ public Builder addAdminGroups(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAdminGroups( int index, com.google.cloud.gkemulticloud.v1.AzureClusterGroup.Builder builderForValue) { @@ -1280,6 +1479,8 @@ public Builder addAdminGroups( return this; } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1289,14 +1490,15 @@ public Builder addAdminGroups(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllAdminGroups( java.lang.Iterable values) { if (adminGroupsBuilder_ == null) { ensureAdminGroupsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, adminGroups_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, adminGroups_); onChanged(); } else { adminGroupsBuilder_.addAllMessages(values); @@ -1304,6 +1506,8 @@ public Builder addAllAdminGroups( return this; } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1313,7 +1517,9 @@ public Builder addAllAdminGroups(
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearAdminGroups() { if (adminGroupsBuilder_ == null) { @@ -1326,6 +1532,8 @@ public Builder clearAdminGroups() { return this; } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1335,7 +1543,9 @@ public Builder clearAdminGroups() {
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeAdminGroups(int index) { if (adminGroupsBuilder_ == null) { @@ -1348,6 +1558,8 @@ public Builder removeAdminGroups(int index) { return this; } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1357,13 +1569,17 @@ public Builder removeAdminGroups(int index) {
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AzureClusterGroup.Builder getAdminGroupsBuilder( int index) { return getAdminGroupsFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1373,16 +1589,21 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterGroup.Builder getAdminGroup
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AzureClusterGroupOrBuilder getAdminGroupsOrBuilder( int index) { if (adminGroupsBuilder_ == null) { - return adminGroups_.get(index); } else { + return adminGroups_.get(index); + } else { return adminGroupsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1392,10 +1613,12 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterGroupOrBuilder getAdminGrou
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getAdminGroupsOrBuilderList() { + public java.util.List + getAdminGroupsOrBuilderList() { if (adminGroupsBuilder_ != null) { return adminGroupsBuilder_.getMessageOrBuilderList(); } else { @@ -1403,6 +1626,8 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterGroupOrBuilder getAdminGrou } } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1412,13 +1637,17 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterGroupOrBuilder getAdminGrou
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AzureClusterGroup.Builder addAdminGroupsBuilder() { - return getAdminGroupsFieldBuilder().addBuilder( - com.google.cloud.gkemulticloud.v1.AzureClusterGroup.getDefaultInstance()); + return getAdminGroupsFieldBuilder() + .addBuilder(com.google.cloud.gkemulticloud.v1.AzureClusterGroup.getDefaultInstance()); } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1428,14 +1657,19 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterGroup.Builder addAdminGroup
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AzureClusterGroup.Builder addAdminGroupsBuilder( int index) { - return getAdminGroupsFieldBuilder().addBuilder( - index, com.google.cloud.gkemulticloud.v1.AzureClusterGroup.getDefaultInstance()); + return getAdminGroupsFieldBuilder() + .addBuilder( + index, com.google.cloud.gkemulticloud.v1.AzureClusterGroup.getDefaultInstance()); } /** + * + * *
      * Optional. Groups of users that can perform operations as a cluster admin. A
      * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -1445,29 +1679,34 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterGroup.Builder addAdminGroup
      * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getAdminGroupsBuilderList() { + public java.util.List + getAdminGroupsBuilderList() { return getAdminGroupsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClusterGroup, com.google.cloud.gkemulticloud.v1.AzureClusterGroup.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterGroupOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureClusterGroup, + com.google.cloud.gkemulticloud.v1.AzureClusterGroup.Builder, + com.google.cloud.gkemulticloud.v1.AzureClusterGroupOrBuilder> getAdminGroupsFieldBuilder() { if (adminGroupsBuilder_ == null) { - adminGroupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClusterGroup, com.google.cloud.gkemulticloud.v1.AzureClusterGroup.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterGroupOrBuilder>( - adminGroups_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + adminGroupsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureClusterGroup, + com.google.cloud.gkemulticloud.v1.AzureClusterGroup.Builder, + com.google.cloud.gkemulticloud.v1.AzureClusterGroupOrBuilder>( + adminGroups_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); adminGroups_ = null; } return adminGroupsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1477,12 +1716,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureAuthorization) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureAuthorization) private static final com.google.cloud.gkemulticloud.v1.AzureAuthorization DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureAuthorization(); } @@ -1491,27 +1730,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureAuthorization getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureAuthorization parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureAuthorization parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1526,6 +1765,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureAuthorization getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorizationOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorizationOrBuilder.java similarity index 66% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorizationOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorizationOrBuilder.java index b64c565d3ed7..12c5f91107e5 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorizationOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureAuthorizationOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureAuthorizationOrBuilder extends +public interface AzureAuthorizationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureAuthorization) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -17,11 +35,14 @@ public interface AzureAuthorizationOrBuilder extends
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List - getAdminUsersList(); + java.util.List getAdminUsersList(); /** + * + * *
    * Optional. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -31,10 +52,14 @@ public interface AzureAuthorizationOrBuilder extends
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.AzureClusterUser getAdminUsers(int index); /** + * + * *
    * Optional. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -44,10 +69,14 @@ public interface AzureAuthorizationOrBuilder extends
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getAdminUsersCount(); /** + * + * *
    * Optional. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -57,11 +86,15 @@ public interface AzureAuthorizationOrBuilder extends
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getAdminUsersOrBuilderList(); /** + * + * *
    * Optional. Users that can perform operations as a cluster admin. A managed
    * ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole
@@ -71,12 +104,15 @@ public interface AzureAuthorizationOrBuilder extends
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder getAdminUsersOrBuilder( - int index); + com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder getAdminUsersOrBuilder(int index); /** + * + * *
    * Optional. Groups of users that can perform operations as a cluster admin. A
    * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -86,11 +122,14 @@ com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder getAdminUsersOrBuild
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List - getAdminGroupsList(); + java.util.List getAdminGroupsList(); /** + * + * *
    * Optional. Groups of users that can perform operations as a cluster admin. A
    * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -100,10 +139,14 @@ com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder getAdminUsersOrBuild
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.AzureClusterGroup getAdminGroups(int index); /** + * + * *
    * Optional. Groups of users that can perform operations as a cluster admin. A
    * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -113,10 +156,14 @@ com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder getAdminUsersOrBuild
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getAdminGroupsCount(); /** + * + * *
    * Optional. Groups of users that can perform operations as a cluster admin. A
    * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -126,11 +173,15 @@ com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder getAdminUsersOrBuild
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getAdminGroupsOrBuilderList(); /** + * + * *
    * Optional. Groups of users that can perform operations as a cluster admin. A
    * managed ClusterRoleBinding will be created to grant the `cluster-admin`
@@ -140,8 +191,9 @@ com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder getAdminUsersOrBuild
    * https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.gkemulticloud.v1.AzureClusterGroupOrBuilder getAdminGroupsOrBuilder( - int index); + com.google.cloud.gkemulticloud.v1.AzureClusterGroupOrBuilder getAdminGroupsOrBuilder(int index); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClient.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClient.java similarity index 70% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClient.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClient.java index 75837189c5ac..6a9a885ef19b 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClient.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClient.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * `AzureClient` resources hold client authentication information needed by the
  * Anthos Multi-Cloud API to manage Azure resources on your Azure subscription.
@@ -21,15 +38,16 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureClient}
  */
-public final class AzureClient extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AzureClient extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureClient)
     AzureClientOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AzureClient.newBuilder() to construct.
   private AzureClient(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AzureClient() {
     name_ = "";
     tenantId_ = "";
@@ -40,40 +58,43 @@ private AzureClient() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AzureClient();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClient_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AzureClient_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 8:
         return internalGetAnnotations();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClient_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AzureClient_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.AzureClient.class, com.google.cloud.gkemulticloud.v1.AzureClient.Builder.class);
+            com.google.cloud.gkemulticloud.v1.AzureClient.class,
+            com.google.cloud.gkemulticloud.v1.AzureClient.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The name of this resource.
    *
@@ -85,6 +106,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -93,14 +115,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of this resource.
    *
@@ -112,16 +135,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -130,14 +152,18 @@ public java.lang.String getName() { } public static final int TENANT_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object tenantId_ = ""; /** + * + * *
    * Required. The Azure Active Directory Tenant ID.
    * 
* * string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tenantId. */ @java.lang.Override @@ -146,29 +172,29 @@ public java.lang.String getTenantId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tenantId_ = s; return s; } } /** + * + * *
    * Required. The Azure Active Directory Tenant ID.
    * 
* * string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for tenantId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTenantIdBytes() { + public com.google.protobuf.ByteString getTenantIdBytes() { java.lang.Object ref = tenantId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tenantId_ = b; return b; } else { @@ -177,14 +203,18 @@ public java.lang.String getTenantId() { } public static final int APPLICATION_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object applicationId_ = ""; /** + * + * *
    * Required. The Azure Active Directory Application ID.
    * 
* * string application_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The applicationId. */ @java.lang.Override @@ -193,29 +223,29 @@ public java.lang.String getApplicationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); applicationId_ = s; return s; } } /** + * + * *
    * Required. The Azure Active Directory Application ID.
    * 
* * string application_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for applicationId. */ @java.lang.Override - public com.google.protobuf.ByteString - getApplicationIdBytes() { + public com.google.protobuf.ByteString getApplicationIdBytes() { java.lang.Object ref = applicationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); applicationId_ = b; return b; } else { @@ -226,11 +256,14 @@ public java.lang.String getApplicationId() { public static final int RECONCILING_FIELD_NUMBER = 9; private boolean reconciling_ = false; /** + * + * *
    * Output only. If set, there are currently pending changes to the client.
    * 
* * bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -239,32 +272,35 @@ public boolean getReconciling() { } public static final int ANNOTATIONS_FIELD_NUMBER = 8; + private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClient_AnnotationsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureClient_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
    * Optional. Annotations on the resource.
    *
@@ -277,23 +313,25 @@ public int getAnnotationsCount() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsAnnotations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetAnnotations().getMap().containsKey(key); } - /** - * Use {@link #getAnnotationsMap()} instead. - */ + /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** + * + * *
    * Optional. Annotations on the resource.
    *
@@ -306,13 +344,16 @@ public java.util.Map getAnnotations() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** + * + * *
    * Optional. Annotations on the resource.
    *
@@ -325,20 +366,23 @@ public java.util.Map getAnnotationsMap() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -java.lang.String getAnnotationsOrDefault( + public /* nullable */ java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Optional. Annotations on the resource.
    *
@@ -351,14 +395,15 @@ java.lang.String getAnnotationsOrDefault(
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + public java.lang.String getAnnotationsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -366,14 +411,18 @@ public java.lang.String getAnnotationsOrThrow( } public static final int PEM_CERTIFICATE_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object pemCertificate_ = ""; /** + * + * *
    * Output only. The PEM encoded x509 certificate.
    * 
* * string pem_certificate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The pemCertificate. */ @java.lang.Override @@ -382,29 +431,29 @@ public java.lang.String getPemCertificate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pemCertificate_ = s; return s; } } /** + * + * *
    * Output only. The PEM encoded x509 certificate.
    * 
* * string pem_certificate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for pemCertificate. */ @java.lang.Override - public com.google.protobuf.ByteString - getPemCertificateBytes() { + public com.google.protobuf.ByteString getPemCertificateBytes() { java.lang.Object ref = pemCertificate_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pemCertificate_ = b; return b; } else { @@ -413,14 +462,18 @@ public java.lang.String getPemCertificate() { } public static final int UID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. A globally unique identifier for the client.
    * 
* * string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -429,29 +482,29 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** + * + * *
    * Output only. A globally unique identifier for the client.
    * 
* * string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -462,11 +515,15 @@ public java.lang.String getUid() { public static final int CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time at which this resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -474,11 +531,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time at which this resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -486,11 +547,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time at which this resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -500,11 +564,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The time at which this client was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -512,11 +580,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The time at which this client was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -524,11 +596,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The time at which this client was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -536,6 +611,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -547,8 +623,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -567,12 +642,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pemCertificate_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, pemCertificate_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetAnnotations(), - AnnotationsDefaultEntryHolder.defaultEntry, - 8); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 8); if (reconciling_ != false) { output.writeBool(9, reconciling_); } @@ -601,29 +672,26 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, uid_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pemCertificate_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, pemCertificate_); } - for (java.util.Map.Entry entry - : internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry - annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, annotations__); + for (java.util.Map.Entry entry : + internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry annotations__ = + AnnotationsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, annotations__); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(9, reconciling_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, reconciling_); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getUpdateTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -633,36 +701,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureClient)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureClient other = (com.google.cloud.gkemulticloud.v1.AzureClient) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getTenantId() - .equals(other.getTenantId())) return false; - if (!getApplicationId() - .equals(other.getApplicationId())) return false; - if (getReconciling() - != other.getReconciling()) return false; - if (!internalGetAnnotations().equals( - other.internalGetAnnotations())) return false; - if (!getPemCertificate() - .equals(other.getPemCertificate())) return false; - if (!getUid() - .equals(other.getUid())) return false; + com.google.cloud.gkemulticloud.v1.AzureClient other = + (com.google.cloud.gkemulticloud.v1.AzureClient) obj; + + if (!getName().equals(other.getName())) return false; + if (!getTenantId().equals(other.getTenantId())) return false; + if (!getApplicationId().equals(other.getApplicationId())) return false; + if (getReconciling() != other.getReconciling()) return false; + if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; + if (!getPemCertificate().equals(other.getPemCertificate())) return false; + if (!getUid().equals(other.getUid())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -682,8 +742,7 @@ public int hashCode() { hash = (37 * hash) + APPLICATION_ID_FIELD_NUMBER; hash = (53 * hash) + getApplicationId().hashCode(); hash = (37 * hash) + RECONCILING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getReconciling()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReconciling()); if (!internalGetAnnotations().getMap().isEmpty()) { hash = (37 * hash) + ANNOTATIONS_FIELD_NUMBER; hash = (53 * hash) + internalGetAnnotations().hashCode(); @@ -705,99 +764,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.gkemulticloud.v1.AzureClient parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.gkemulticloud.v1.AzureClient parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureClient parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureClient parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureClient parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureClient parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureClient parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureClient parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureClient parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureClient parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureClient parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureClient parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureClient parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureClient parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureClient prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `AzureClient` resources hold client authentication information needed by the
    * Anthos Multi-Cloud API to manage Azure resources on your Azure subscription.
@@ -815,55 +879,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureClient}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureClient)
       com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClient_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AzureClient_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 8:
           return internalGetAnnotations();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 8:
           return internalGetMutableAnnotations();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClient_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AzureClient_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.AzureClient.class, com.google.cloud.gkemulticloud.v1.AzureClient.Builder.class);
+              com.google.cloud.gkemulticloud.v1.AzureClient.class,
+              com.google.cloud.gkemulticloud.v1.AzureClient.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.AzureClient.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -889,9 +950,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClient_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AzureClient_descriptor;
     }
 
     @java.lang.Override
@@ -910,8 +971,11 @@ public com.google.cloud.gkemulticloud.v1.AzureClient build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.AzureClient buildPartial() {
-      com.google.cloud.gkemulticloud.v1.AzureClient result = new com.google.cloud.gkemulticloud.v1.AzureClient(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.gkemulticloud.v1.AzureClient result =
+          new com.google.cloud.gkemulticloud.v1.AzureClient(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -941,14 +1005,10 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureClient result)
         result.uid_ = uid_;
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000100) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
       }
     }
 
@@ -956,38 +1016,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureClient result)
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.AzureClient) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureClient)other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureClient) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1014,8 +1075,7 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureClient other) {
       if (other.getReconciling() != false) {
         setReconciling(other.getReconciling());
       }
-      internalGetMutableAnnotations().mergeFrom(
-          other.internalGetAnnotations());
+      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
       bitField0_ |= 0x00000010;
       if (!other.getPemCertificate().isEmpty()) {
         pemCertificate_ = other.pemCertificate_;
@@ -1059,65 +1119,73 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              tenantId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              applicationId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 42: {
-              uid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 50
-            case 58: {
-              pemCertificate_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 58
-            case 66: {
-              com.google.protobuf.MapEntry
-              annotations__ = input.readMessage(
-                  AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableAnnotations().getMutableMap().put(
-                  annotations__.getKey(), annotations__.getValue());
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 66
-            case 72: {
-              reconciling_ = input.readBool();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 72
-            case 82: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 82
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                tenantId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                applicationId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 42:
+              {
+                uid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 50
+            case 58:
+              {
+                pemCertificate_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 58
+            case 66:
+              {
+                com.google.protobuf.MapEntry annotations__ =
+                    input.readMessage(
+                        AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableAnnotations()
+                    .getMutableMap()
+                    .put(annotations__.getKey(), annotations__.getValue());
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 66
+            case 72:
+              {
+                reconciling_ = input.readBool();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 72
+            case 82:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 82
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1127,10 +1195,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of this resource.
      *
@@ -1142,13 +1213,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1157,6 +1228,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of this resource.
      *
@@ -1168,15 +1241,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1184,6 +1256,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of this resource.
      *
@@ -1195,18 +1269,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The name of this resource.
      *
@@ -1218,6 +1296,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1227,6 +1306,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The name of this resource.
      *
@@ -1238,12 +1319,14 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1253,18 +1336,20 @@ public Builder setNameBytes( private java.lang.Object tenantId_ = ""; /** + * + * *
      * Required. The Azure Active Directory Tenant ID.
      * 
* * string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tenantId. */ public java.lang.String getTenantId() { java.lang.Object ref = tenantId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tenantId_ = s; return s; @@ -1273,20 +1358,21 @@ public java.lang.String getTenantId() { } } /** + * + * *
      * Required. The Azure Active Directory Tenant ID.
      * 
* * string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for tenantId. */ - public com.google.protobuf.ByteString - getTenantIdBytes() { + public com.google.protobuf.ByteString getTenantIdBytes() { java.lang.Object ref = tenantId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tenantId_ = b; return b; } else { @@ -1294,28 +1380,35 @@ public java.lang.String getTenantId() { } } /** + * + * *
      * Required. The Azure Active Directory Tenant ID.
      * 
* * string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The tenantId to set. * @return This builder for chaining. */ - public Builder setTenantId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTenantId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tenantId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The Azure Active Directory Tenant ID.
      * 
* * string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTenantId() { @@ -1325,17 +1418,21 @@ public Builder clearTenantId() { return this; } /** + * + * *
      * Required. The Azure Active Directory Tenant ID.
      * 
* * string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for tenantId to set. * @return This builder for chaining. */ - public Builder setTenantIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTenantIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tenantId_ = value; bitField0_ |= 0x00000002; @@ -1345,18 +1442,20 @@ public Builder setTenantIdBytes( private java.lang.Object applicationId_ = ""; /** + * + * *
      * Required. The Azure Active Directory Application ID.
      * 
* * string application_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The applicationId. */ public java.lang.String getApplicationId() { java.lang.Object ref = applicationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); applicationId_ = s; return s; @@ -1365,20 +1464,21 @@ public java.lang.String getApplicationId() { } } /** + * + * *
      * Required. The Azure Active Directory Application ID.
      * 
* * string application_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for applicationId. */ - public com.google.protobuf.ByteString - getApplicationIdBytes() { + public com.google.protobuf.ByteString getApplicationIdBytes() { java.lang.Object ref = applicationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); applicationId_ = b; return b; } else { @@ -1386,28 +1486,35 @@ public java.lang.String getApplicationId() { } } /** + * + * *
      * Required. The Azure Active Directory Application ID.
      * 
* * string application_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The applicationId to set. * @return This builder for chaining. */ - public Builder setApplicationId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setApplicationId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } applicationId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. The Azure Active Directory Application ID.
      * 
* * string application_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearApplicationId() { @@ -1417,17 +1524,21 @@ public Builder clearApplicationId() { return this; } /** + * + * *
      * Required. The Azure Active Directory Application ID.
      * 
* * string application_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for applicationId to set. * @return This builder for chaining. */ - public Builder setApplicationIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setApplicationIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); applicationId_ = value; bitField0_ |= 0x00000004; @@ -1435,13 +1546,16 @@ public Builder setApplicationIdBytes( return this; } - private boolean reconciling_ ; + private boolean reconciling_; /** + * + * *
      * Output only. If set, there are currently pending changes to the client.
      * 
* * bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -1449,11 +1563,14 @@ public boolean getReconciling() { return reconciling_; } /** + * + * *
      * Output only. If set, there are currently pending changes to the client.
      * 
* * bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The reconciling to set. * @return This builder for chaining. */ @@ -1465,11 +1582,14 @@ public Builder setReconciling(boolean value) { return this; } /** + * + * *
      * Output only. If set, there are currently pending changes to the client.
      * 
* * bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -1479,8 +1599,8 @@ public Builder clearReconciling() { return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -1489,11 +1609,12 @@ public Builder clearReconciling() { } return annotations_; } + private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = + com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -1502,10 +1623,13 @@ public Builder clearReconciling() { onChanged(); return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
      * Optional. Annotations on the resource.
      *
@@ -1518,23 +1642,25 @@ public int getAnnotationsCount() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsAnnotations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetAnnotations().getMap().containsKey(key); } - /** - * Use {@link #getAnnotationsMap()} instead. - */ + /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** + * + * *
      * Optional. Annotations on the resource.
      *
@@ -1547,13 +1673,16 @@ public java.util.Map getAnnotations() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** + * + * *
      * Optional. Annotations on the resource.
      *
@@ -1566,20 +1695,23 @@ public java.util.Map getAnnotationsMap() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -java.lang.String getAnnotationsOrDefault( + public /* nullable */ java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Optional. Annotations on the resource.
      *
@@ -1592,26 +1724,29 @@ java.lang.String getAnnotationsOrDefault(
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + public java.lang.String getAnnotationsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearAnnotations() { bitField0_ = (bitField0_ & ~0x00000010); - internalGetMutableAnnotations().getMutableMap() - .clear(); + internalGetMutableAnnotations().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. Annotations on the resource.
      *
@@ -1624,25 +1759,25 @@ public Builder clearAnnotations() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder removeAnnotations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableAnnotations().getMutableMap() - .remove(key); + public Builder removeAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableAnnotations().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableAnnotations() { + public java.util.Map getMutableAnnotations() { bitField0_ |= 0x00000010; return internalGetMutableAnnotations().getMutableMap(); } /** + * + * *
      * Optional. Annotations on the resource.
      *
@@ -1655,19 +1790,23 @@ public Builder removeAnnotations(
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder putAnnotations( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableAnnotations().getMutableMap() - .put(key, value); + public Builder putAnnotations(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableAnnotations().getMutableMap().put(key, value); bitField0_ |= 0x00000010; return this; } /** + * + * *
      * Optional. Annotations on the resource.
      *
@@ -1680,30 +1819,31 @@ public Builder putAnnotations(
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder putAllAnnotations( - java.util.Map values) { - internalGetMutableAnnotations().getMutableMap() - .putAll(values); + public Builder putAllAnnotations(java.util.Map values) { + internalGetMutableAnnotations().getMutableMap().putAll(values); bitField0_ |= 0x00000010; return this; } private java.lang.Object pemCertificate_ = ""; /** + * + * *
      * Output only. The PEM encoded x509 certificate.
      * 
* * string pem_certificate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The pemCertificate. */ public java.lang.String getPemCertificate() { java.lang.Object ref = pemCertificate_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pemCertificate_ = s; return s; @@ -1712,20 +1852,21 @@ public java.lang.String getPemCertificate() { } } /** + * + * *
      * Output only. The PEM encoded x509 certificate.
      * 
* * string pem_certificate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for pemCertificate. */ - public com.google.protobuf.ByteString - getPemCertificateBytes() { + public com.google.protobuf.ByteString getPemCertificateBytes() { java.lang.Object ref = pemCertificate_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pemCertificate_ = b; return b; } else { @@ -1733,28 +1874,35 @@ public java.lang.String getPemCertificate() { } } /** + * + * *
      * Output only. The PEM encoded x509 certificate.
      * 
* * string pem_certificate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The pemCertificate to set. * @return This builder for chaining. */ - public Builder setPemCertificate( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPemCertificate(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pemCertificate_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Output only. The PEM encoded x509 certificate.
      * 
* * string pem_certificate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPemCertificate() { @@ -1764,17 +1912,21 @@ public Builder clearPemCertificate() { return this; } /** + * + * *
      * Output only. The PEM encoded x509 certificate.
      * 
* * string pem_certificate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for pemCertificate to set. * @return This builder for chaining. */ - public Builder setPemCertificateBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPemCertificateBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pemCertificate_ = value; bitField0_ |= 0x00000020; @@ -1784,18 +1936,20 @@ public Builder setPemCertificateBytes( private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. A globally unique identifier for the client.
      * 
* * string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -1804,20 +1958,21 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. A globally unique identifier for the client.
      * 
* * string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -1825,28 +1980,35 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. A globally unique identifier for the client.
      * 
* * string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Output only. A globally unique identifier for the client.
      * 
* * string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -1856,17 +2018,21 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. A globally unique identifier for the client.
      * 
* * string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000040; @@ -1876,39 +2042,58 @@ public Builder setUidBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time at which this resource was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * Output only. The time at which this resource was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time at which this resource was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1924,14 +2109,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this resource was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1942,17 +2130,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time at which this resource was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1965,11 +2157,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this resource was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000080); @@ -1982,11 +2178,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time at which this resource was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000080; @@ -1994,36 +2194,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time at which this resource was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time at which this resource was created.
      * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2031,39 +2243,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. The time at which this client was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
      * Output only. The time at which this client was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time at which this client was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2079,14 +2310,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this client was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -2097,17 +2331,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The time at which this client was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -2120,11 +2358,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this client was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000100); @@ -2137,11 +2379,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The time at which this client was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000100; @@ -2149,43 +2395,55 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time at which this client was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. The time at which this client was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2195,12 +2453,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureClient) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureClient) private static final com.google.cloud.gkemulticloud.v1.AzureClient DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureClient(); } @@ -2209,27 +2467,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureClient getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureClient parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureClient parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2244,6 +2502,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureClient getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientName.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientName.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientName.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientName.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientOrBuilder.java similarity index 78% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientOrBuilder.java index 10dd1d8dacce..31635204293e 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureClientOrBuilder extends +public interface AzureClientOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureClient) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of this resource.
    *
@@ -19,10 +37,13 @@ public interface AzureClientOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of this resource.
    *
@@ -34,62 +55,77 @@ public interface AzureClientOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The Azure Active Directory Tenant ID.
    * 
* * string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tenantId. */ java.lang.String getTenantId(); /** + * + * *
    * Required. The Azure Active Directory Tenant ID.
    * 
* * string tenant_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for tenantId. */ - com.google.protobuf.ByteString - getTenantIdBytes(); + com.google.protobuf.ByteString getTenantIdBytes(); /** + * + * *
    * Required. The Azure Active Directory Application ID.
    * 
* * string application_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The applicationId. */ java.lang.String getApplicationId(); /** + * + * *
    * Required. The Azure Active Directory Application ID.
    * 
* * string application_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for applicationId. */ - com.google.protobuf.ByteString - getApplicationIdBytes(); + com.google.protobuf.ByteString getApplicationIdBytes(); /** + * + * *
    * Output only. If set, there are currently pending changes to the client.
    * 
* * bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ boolean getReconciling(); /** + * + * *
    * Optional. Annotations on the resource.
    *
@@ -102,10 +138,13 @@ public interface AzureClientOrBuilder extends
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getAnnotationsCount(); /** + * + * *
    * Optional. Annotations on the resource.
    *
@@ -118,17 +157,16 @@ public interface AzureClientOrBuilder extends
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; - */ - boolean containsAnnotations( - java.lang.String key); - /** - * Use {@link #getAnnotationsMap()} instead. + * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ + boolean containsAnnotations(java.lang.String key); + /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getAnnotations(); + java.util.Map getAnnotations(); /** + * + * *
    * Optional. Annotations on the resource.
    *
@@ -141,11 +179,13 @@ boolean containsAnnotations(
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.Map - getAnnotationsMap(); + java.util.Map getAnnotationsMap(); /** + * + * *
    * Optional. Annotations on the resource.
    *
@@ -158,14 +198,17 @@ boolean containsAnnotations(
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ /* nullable */ -java.lang.String getAnnotationsOrDefault( + java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Optional. Annotations on the resource.
    *
@@ -178,102 +221,134 @@ java.lang.String getAnnotationsOrDefault(
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.lang.String getAnnotationsOrThrow( - java.lang.String key); + java.lang.String getAnnotationsOrThrow(java.lang.String key); /** + * + * *
    * Output only. The PEM encoded x509 certificate.
    * 
* * string pem_certificate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The pemCertificate. */ java.lang.String getPemCertificate(); /** + * + * *
    * Output only. The PEM encoded x509 certificate.
    * 
* * string pem_certificate = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for pemCertificate. */ - com.google.protobuf.ByteString - getPemCertificateBytes(); + com.google.protobuf.ByteString getPemCertificateBytes(); /** + * + * *
    * Output only. A globally unique identifier for the client.
    * 
* * string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. A globally unique identifier for the client.
    * 
* * string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Output only. The time at which this resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time at which this resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time at which this resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time at which this client was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The time at which this client was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The time at which this client was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureCluster.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureCluster.java similarity index 65% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureCluster.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureCluster.java index 2f4578c8e281..616e01f717a6 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureCluster.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureCluster.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * An Anthos cluster running on Azure.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureCluster} */ -public final class AzureCluster extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AzureCluster extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureCluster) AzureClusterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AzureCluster.newBuilder() to construct. private AzureCluster(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AzureCluster() { name_ = ""; description_ = ""; @@ -35,46 +53,49 @@ private AzureCluster() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AzureCluster(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureCluster_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureCluster_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 14: return internalGetAnnotations(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureCluster_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureCluster_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureCluster.class, com.google.cloud.gkemulticloud.v1.AzureCluster.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureCluster.class, + com.google.cloud.gkemulticloud.v1.AzureCluster.Builder.class); } /** + * + * *
    * The lifecycle state of the cluster.
    * 
* * Protobuf enum {@code google.cloud.gkemulticloud.v1.AzureCluster.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not set.
      * 
@@ -83,6 +104,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The PROVISIONING state indicates the cluster is being created.
      * 
@@ -91,6 +114,8 @@ public enum State */ PROVISIONING(1), /** + * + * *
      * The RUNNING state indicates the cluster has been created and is fully
      * usable.
@@ -100,6 +125,8 @@ public enum State
      */
     RUNNING(2),
     /**
+     *
+     *
      * 
      * The RECONCILING state indicates that some work is actively being done on
      * the cluster, such as upgrading the control plane replicas.
@@ -109,6 +136,8 @@ public enum State
      */
     RECONCILING(3),
     /**
+     *
+     *
      * 
      * The STOPPING state indicates the cluster is being deleted.
      * 
@@ -117,6 +146,8 @@ public enum State */ STOPPING(4), /** + * + * *
      * The ERROR state indicates the cluster is in a broken unrecoverable
      * state.
@@ -126,6 +157,8 @@ public enum State
      */
     ERROR(5),
     /**
+     *
+     *
      * 
      * The DEGRADED state indicates the cluster requires user action to
      * restore full functionality.
@@ -138,6 +171,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Not set.
      * 
@@ -146,6 +181,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The PROVISIONING state indicates the cluster is being created.
      * 
@@ -154,6 +191,8 @@ public enum State */ public static final int PROVISIONING_VALUE = 1; /** + * + * *
      * The RUNNING state indicates the cluster has been created and is fully
      * usable.
@@ -163,6 +202,8 @@ public enum State
      */
     public static final int RUNNING_VALUE = 2;
     /**
+     *
+     *
      * 
      * The RECONCILING state indicates that some work is actively being done on
      * the cluster, such as upgrading the control plane replicas.
@@ -172,6 +213,8 @@ public enum State
      */
     public static final int RECONCILING_VALUE = 3;
     /**
+     *
+     *
      * 
      * The STOPPING state indicates the cluster is being deleted.
      * 
@@ -180,6 +223,8 @@ public enum State */ public static final int STOPPING_VALUE = 4; /** + * + * *
      * The ERROR state indicates the cluster is in a broken unrecoverable
      * state.
@@ -189,6 +234,8 @@ public enum State
      */
     public static final int ERROR_VALUE = 5;
     /**
+     *
+     *
      * 
      * The DEGRADED state indicates the cluster requires user action to
      * restore full functionality.
@@ -198,7 +245,6 @@ public enum State
      */
     public static final int DEGRADED_VALUE = 6;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -223,53 +269,57 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return PROVISIONING;
-        case 2: return RUNNING;
-        case 3: return RECONCILING;
-        case 4: return STOPPING;
-        case 5: return ERROR;
-        case 6: return DEGRADED;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return PROVISIONING;
+        case 2:
+          return RUNNING;
+        case 3:
+          return RECONCILING;
+        case 4:
+          return STOPPING;
+        case 5:
+          return ERROR;
+        case 6:
+          return DEGRADED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.gkemulticloud.v1.AzureCluster.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -287,9 +337,12 @@ private State(int value) {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The name of this resource.
    *
@@ -301,6 +354,7 @@ private State(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -309,14 +363,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of this resource.
    *
@@ -328,16 +383,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -346,15 +400,19 @@ public java.lang.String getName() { } public static final int DESCRIPTION_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. A human readable description of this cluster.
    * Cannot be longer than 255 UTF-8 encoded bytes.
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -363,30 +421,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Optional. A human readable description of this cluster.
    * Cannot be longer than 255 UTF-8 encoded bytes.
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -395,9 +453,12 @@ public java.lang.String getDescription() { } public static final int AZURE_REGION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object azureRegion_ = ""; /** + * + * *
    * Required. The Azure region where the cluster runs.
    *
@@ -408,6 +469,7 @@ public java.lang.String getDescription() {
    * 
* * string azure_region = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The azureRegion. */ @java.lang.Override @@ -416,14 +478,15 @@ public java.lang.String getAzureRegion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureRegion_ = s; return s; } } /** + * + * *
    * Required. The Azure region where the cluster runs.
    *
@@ -434,16 +497,15 @@ public java.lang.String getAzureRegion() {
    * 
* * string azure_region = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for azureRegion. */ @java.lang.Override - public com.google.protobuf.ByteString - getAzureRegionBytes() { + public com.google.protobuf.ByteString getAzureRegionBytes() { java.lang.Object ref = azureRegion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); azureRegion_ = b; return b; } else { @@ -452,9 +514,12 @@ public java.lang.String getAzureRegion() { } public static final int RESOURCE_GROUP_ID_FIELD_NUMBER = 17; + @SuppressWarnings("serial") private volatile java.lang.Object resourceGroupId_ = ""; /** + * + * *
    * Required. The ARM ID of the resource group where the cluster resources are
    * deployed. For example:
@@ -462,6 +527,7 @@ public java.lang.String getAzureRegion() {
    * 
* * string resource_group_id = 17 [(.google.api.field_behavior) = REQUIRED]; + * * @return The resourceGroupId. */ @java.lang.Override @@ -470,14 +536,15 @@ public java.lang.String getResourceGroupId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceGroupId_ = s; return s; } } /** + * + * *
    * Required. The ARM ID of the resource group where the cluster resources are
    * deployed. For example:
@@ -485,16 +552,15 @@ public java.lang.String getResourceGroupId() {
    * 
* * string resource_group_id = 17 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for resourceGroupId. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceGroupIdBytes() { + public com.google.protobuf.ByteString getResourceGroupIdBytes() { java.lang.Object ref = resourceGroupId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceGroupId_ = b; return b; } else { @@ -503,9 +569,12 @@ public java.lang.String getResourceGroupId() { } public static final int AZURE_CLIENT_FIELD_NUMBER = 16; + @SuppressWarnings("serial") private volatile java.lang.Object azureClient_ = ""; /** + * + * *
    * Optional. Name of the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains
@@ -525,6 +594,7 @@ public java.lang.String getResourceGroupId() {
    * 
* * string azure_client = 16 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The azureClient. */ @java.lang.Override @@ -533,14 +603,15 @@ public java.lang.String getAzureClient() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureClient_ = s; return s; } } /** + * + * *
    * Optional. Name of the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains
@@ -560,16 +631,15 @@ public java.lang.String getAzureClient() {
    * 
* * string azure_client = 16 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for azureClient. */ @java.lang.Override - public com.google.protobuf.ByteString - getAzureClientBytes() { + public com.google.protobuf.ByteString getAzureClientBytes() { java.lang.Object ref = azureClient_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); azureClient_ = b; return b; } else { @@ -580,11 +650,16 @@ public java.lang.String getAzureClient() { public static final int NETWORKING_FIELD_NUMBER = 4; private com.google.cloud.gkemulticloud.v1.AzureClusterNetworking networking_; /** + * + * *
    * Required. Cluster-wide networking configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the networking field is set. */ @java.lang.Override @@ -592,37 +667,56 @@ public boolean hasNetworking() { return networking_ != null; } /** + * + * *
    * Required. Cluster-wide networking configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The networking. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureClusterNetworking getNetworking() { - return networking_ == null ? com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.getDefaultInstance() : networking_; + return networking_ == null + ? com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.getDefaultInstance() + : networking_; } /** + * + * *
    * Required. Cluster-wide networking configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AzureClusterNetworkingOrBuilder getNetworkingOrBuilder() { - return networking_ == null ? com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.getDefaultInstance() : networking_; + public com.google.cloud.gkemulticloud.v1.AzureClusterNetworkingOrBuilder + getNetworkingOrBuilder() { + return networking_ == null + ? com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.getDefaultInstance() + : networking_; } public static final int CONTROL_PLANE_FIELD_NUMBER = 5; private com.google.cloud.gkemulticloud.v1.AzureControlPlane controlPlane_; /** + * + * *
    * Required. Configuration related to the cluster control plane.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the controlPlane field is set. */ @java.lang.Override @@ -630,37 +724,55 @@ public boolean hasControlPlane() { return controlPlane_ != null; } /** + * + * *
    * Required. Configuration related to the cluster control plane.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The controlPlane. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureControlPlane getControlPlane() { - return controlPlane_ == null ? com.google.cloud.gkemulticloud.v1.AzureControlPlane.getDefaultInstance() : controlPlane_; + return controlPlane_ == null + ? com.google.cloud.gkemulticloud.v1.AzureControlPlane.getDefaultInstance() + : controlPlane_; } /** + * + * *
    * Required. Configuration related to the cluster control plane.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureControlPlaneOrBuilder getControlPlaneOrBuilder() { - return controlPlane_ == null ? com.google.cloud.gkemulticloud.v1.AzureControlPlane.getDefaultInstance() : controlPlane_; + return controlPlane_ == null + ? com.google.cloud.gkemulticloud.v1.AzureControlPlane.getDefaultInstance() + : controlPlane_; } public static final int AUTHORIZATION_FIELD_NUMBER = 6; private com.google.cloud.gkemulticloud.v1.AzureAuthorization authorization_; /** + * + * *
    * Required. Configuration related to the cluster RBAC settings.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the authorization field is set. */ @java.lang.Override @@ -668,39 +780,58 @@ public boolean hasAuthorization() { return authorization_ != null; } /** + * + * *
    * Required. Configuration related to the cluster RBAC settings.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The authorization. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureAuthorization getAuthorization() { - return authorization_ == null ? com.google.cloud.gkemulticloud.v1.AzureAuthorization.getDefaultInstance() : authorization_; + return authorization_ == null + ? com.google.cloud.gkemulticloud.v1.AzureAuthorization.getDefaultInstance() + : authorization_; } /** + * + * *
    * Required. Configuration related to the cluster RBAC settings.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureAuthorizationOrBuilder getAuthorizationOrBuilder() { - return authorization_ == null ? com.google.cloud.gkemulticloud.v1.AzureAuthorization.getDefaultInstance() : authorization_; + return authorization_ == null + ? com.google.cloud.gkemulticloud.v1.AzureAuthorization.getDefaultInstance() + : authorization_; } public static final int AZURE_SERVICES_AUTHENTICATION_FIELD_NUMBER = 22; - private com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication azureServicesAuthentication_; + private com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication + azureServicesAuthentication_; /** + * + * *
    * Optional. Authentication configuration for management of Azure resources.
    *
    * Either azure_client or azure_services_authentication should be provided.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the azureServicesAuthentication field is set. */ @java.lang.Override @@ -708,68 +839,102 @@ public boolean hasAzureServicesAuthentication() { return azureServicesAuthentication_ != null; } /** + * + * *
    * Optional. Authentication configuration for management of Azure resources.
    *
    * Either azure_client or azure_services_authentication should be provided.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The azureServicesAuthentication. */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication getAzureServicesAuthentication() { - return azureServicesAuthentication_ == null ? com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.getDefaultInstance() : azureServicesAuthentication_; + public com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication + getAzureServicesAuthentication() { + return azureServicesAuthentication_ == null + ? com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.getDefaultInstance() + : azureServicesAuthentication_; } /** + * + * *
    * Optional. Authentication configuration for management of Azure resources.
    *
    * Either azure_client or azure_services_authentication should be provided.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder getAzureServicesAuthenticationOrBuilder() { - return azureServicesAuthentication_ == null ? com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.getDefaultInstance() : azureServicesAuthentication_; + public com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder + getAzureServicesAuthenticationOrBuilder() { + return azureServicesAuthentication_ == null + ? com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.getDefaultInstance() + : azureServicesAuthentication_; } public static final int STATE_FIELD_NUMBER = 7; private int state_ = 0; /** + * + * *
    * Output only. The current state of the cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. The current state of the cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureCluster.State getState() { - com.google.cloud.gkemulticloud.v1.AzureCluster.State result = com.google.cloud.gkemulticloud.v1.AzureCluster.State.forNumber(state_); - return result == null ? com.google.cloud.gkemulticloud.v1.AzureCluster.State.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureCluster.State getState() { + com.google.cloud.gkemulticloud.v1.AzureCluster.State result = + com.google.cloud.gkemulticloud.v1.AzureCluster.State.forNumber(state_); + return result == null + ? com.google.cloud.gkemulticloud.v1.AzureCluster.State.UNRECOGNIZED + : result; } public static final int ENDPOINT_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object endpoint_ = ""; /** + * + * *
    * Output only. The endpoint of the cluster's API server.
    * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The endpoint. */ @java.lang.Override @@ -778,29 +943,29 @@ public java.lang.String getEndpoint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endpoint_ = s; return s; } } /** + * + * *
    * Output only. The endpoint of the cluster's API server.
    * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for endpoint. */ @java.lang.Override - public com.google.protobuf.ByteString - getEndpointBytes() { + public com.google.protobuf.ByteString getEndpointBytes() { java.lang.Object ref = endpoint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); endpoint_ = b; return b; } else { @@ -809,14 +974,18 @@ public java.lang.String getEndpoint() { } public static final int UID_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. A globally unique identifier for the cluster.
    * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -825,29 +994,29 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** + * + * *
    * Output only. A globally unique identifier for the cluster.
    * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -858,11 +1027,14 @@ public java.lang.String getUid() { public static final int RECONCILING_FIELD_NUMBER = 10; private boolean reconciling_ = false; /** + * + * *
    * Output only. If set, there are currently changes in flight to the cluster.
    * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -873,11 +1045,15 @@ public boolean getReconciling() { public static final int CREATE_TIME_FIELD_NUMBER = 11; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time at which this cluster was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -885,11 +1061,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time at which this cluster was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -897,11 +1077,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time at which this cluster was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -911,11 +1094,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 12; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -923,11 +1110,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -935,11 +1126,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -947,9 +1141,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int ETAG_FIELD_NUMBER = 13; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -959,6 +1156,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string etag = 13; + * * @return The etag. */ @java.lang.Override @@ -967,14 +1165,15 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** + * + * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -984,16 +1183,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 13; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -1002,32 +1200,35 @@ public java.lang.String getEtag() { } public static final int ANNOTATIONS_FIELD_NUMBER = 14; + private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureCluster_AnnotationsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureCluster_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
    * Optional. Annotations on the cluster.
    *
@@ -1040,23 +1241,25 @@ public int getAnnotationsCount() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsAnnotations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetAnnotations().getMap().containsKey(key); } - /** - * Use {@link #getAnnotationsMap()} instead. - */ + /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** + * + * *
    * Optional. Annotations on the cluster.
    *
@@ -1069,13 +1272,16 @@ public java.util.Map getAnnotations() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** + * + * *
    * Optional. Annotations on the cluster.
    *
@@ -1088,20 +1294,23 @@ public java.util.Map getAnnotationsMap() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -java.lang.String getAnnotationsOrDefault( + public /* nullable */ java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Optional. Annotations on the cluster.
    *
@@ -1114,14 +1323,15 @@ java.lang.String getAnnotationsOrDefault(
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + public java.lang.String getAnnotationsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1131,11 +1341,16 @@ public java.lang.String getAnnotationsOrThrow( public static final int WORKLOAD_IDENTITY_CONFIG_FIELD_NUMBER = 18; private com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workloadIdentityConfig_; /** + * + * *
    * Output only. Workload Identity settings.
    * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the workloadIdentityConfig field is set. */ @java.lang.Override @@ -1143,38 +1358,56 @@ public boolean hasWorkloadIdentityConfig() { return workloadIdentityConfig_ != null; } /** + * + * *
    * Output only. Workload Identity settings.
    * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The workloadIdentityConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig getWorkloadIdentityConfig() { - return workloadIdentityConfig_ == null ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_; + return workloadIdentityConfig_ == null + ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() + : workloadIdentityConfig_; } /** + * + * *
    * Output only. Workload Identity settings.
    * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder() { - return workloadIdentityConfig_ == null ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_; + public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder + getWorkloadIdentityConfigOrBuilder() { + return workloadIdentityConfig_ == null + ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() + : workloadIdentityConfig_; } public static final int CLUSTER_CA_CERTIFICATE_FIELD_NUMBER = 19; + @SuppressWarnings("serial") private volatile java.lang.Object clusterCaCertificate_ = ""; /** + * + * *
    * Output only. PEM encoded x509 certificate of the cluster root of trust.
    * 
* * string cluster_ca_certificate = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The clusterCaCertificate. */ @java.lang.Override @@ -1183,29 +1416,29 @@ public java.lang.String getClusterCaCertificate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterCaCertificate_ = s; return s; } } /** + * + * *
    * Output only. PEM encoded x509 certificate of the cluster root of trust.
    * 
* * string cluster_ca_certificate = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for clusterCaCertificate. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterCaCertificateBytes() { + public com.google.protobuf.ByteString getClusterCaCertificateBytes() { java.lang.Object ref = clusterCaCertificate_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterCaCertificate_ = b; return b; } else { @@ -1216,11 +1449,16 @@ public java.lang.String getClusterCaCertificate() { public static final int FLEET_FIELD_NUMBER = 20; private com.google.cloud.gkemulticloud.v1.Fleet fleet_; /** + * + * *
    * Required. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the fleet field is set. */ @java.lang.Override @@ -1228,11 +1466,16 @@ public boolean hasFleet() { return fleet_ != null; } /** + * + * *
    * Required. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The fleet. */ @java.lang.Override @@ -1240,11 +1483,15 @@ public com.google.cloud.gkemulticloud.v1.Fleet getFleet() { return fleet_ == null ? com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() : fleet_; } /** + * + * *
    * Required. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder() { @@ -1254,11 +1501,16 @@ public com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder() { public static final int MANAGED_RESOURCES_FIELD_NUMBER = 21; private com.google.cloud.gkemulticloud.v1.AzureClusterResources managedResources_; /** + * + * *
    * Output only. Managed Azure resources for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the managedResources field is set. */ @java.lang.Override @@ -1266,37 +1518,56 @@ public boolean hasManagedResources() { return managedResources_ != null; } /** + * + * *
    * Output only. Managed Azure resources for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The managedResources. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureClusterResources getManagedResources() { - return managedResources_ == null ? com.google.cloud.gkemulticloud.v1.AzureClusterResources.getDefaultInstance() : managedResources_; + return managedResources_ == null + ? com.google.cloud.gkemulticloud.v1.AzureClusterResources.getDefaultInstance() + : managedResources_; } /** + * + * *
    * Output only. Managed Azure resources for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AzureClusterResourcesOrBuilder getManagedResourcesOrBuilder() { - return managedResources_ == null ? com.google.cloud.gkemulticloud.v1.AzureClusterResources.getDefaultInstance() : managedResources_; + public com.google.cloud.gkemulticloud.v1.AzureClusterResourcesOrBuilder + getManagedResourcesOrBuilder() { + return managedResources_ == null + ? com.google.cloud.gkemulticloud.v1.AzureClusterResources.getDefaultInstance() + : managedResources_; } public static final int LOGGING_CONFIG_FIELD_NUMBER = 23; private com.google.cloud.gkemulticloud.v1.LoggingConfig loggingConfig_; /** + * + * *
    * Optional. Logging configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the loggingConfig field is set. */ @java.lang.Override @@ -1304,83 +1575,117 @@ public boolean hasLoggingConfig() { return loggingConfig_ != null; } /** + * + * *
    * Optional. Logging configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The loggingConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.LoggingConfig getLoggingConfig() { - return loggingConfig_ == null ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() + : loggingConfig_; } /** + * + * *
    * Optional. Logging configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder() { - return loggingConfig_ == null ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() + : loggingConfig_; } public static final int ERRORS_FIELD_NUMBER = 24; + @SuppressWarnings("serial") private java.util.List errors_; /** + * + * *
    * Output only. A set of errors found in the cluster.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getErrorsList() { return errors_; } /** + * + * *
    * Output only. A set of errors found in the cluster.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getErrorsOrBuilderList() { return errors_; } /** + * + * *
    * Output only. A set of errors found in the cluster.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** + * + * *
    * Output only. A set of errors found in the cluster.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureClusterError getErrors(int index) { return errors_.get(index); } /** + * + * *
    * Output only. A set of errors found in the cluster.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureClusterErrorOrBuilder getErrorsOrBuilder( @@ -1391,11 +1696,16 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterErrorOrBuilder getErrorsOrB public static final int MONITORING_CONFIG_FIELD_NUMBER = 25; private com.google.cloud.gkemulticloud.v1.MonitoringConfig monitoringConfig_; /** + * + * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the monitoringConfig field is set. */ @java.lang.Override @@ -1403,30 +1713,45 @@ public boolean hasMonitoringConfig() { return monitoringConfig_ != null; } /** + * + * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The monitoringConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.MonitoringConfig getMonitoringConfig() { - return monitoringConfig_ == null ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; + return monitoringConfig_ == null + ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() + : monitoringConfig_; } /** + * + * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBuilder() { - return monitoringConfig_ == null ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; + public com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder + getMonitoringConfigOrBuilder() { + return monitoringConfig_ == null + ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() + : monitoringConfig_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1438,8 +1763,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1458,7 +1782,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (authorization_ != null) { output.writeMessage(6, getAuthorization()); } - if (state_ != com.google.cloud.gkemulticloud.v1.AzureCluster.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.gkemulticloud.v1.AzureCluster.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(7, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpoint_)) { @@ -1479,12 +1804,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, etag_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetAnnotations(), - AnnotationsDefaultEntryHolder.defaultEntry, - 14); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 14); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(azureClient_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 16, azureClient_); } @@ -1534,20 +1855,17 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, azureRegion_); } if (networking_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getNetworking()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getNetworking()); } if (controlPlane_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getControlPlane()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getControlPlane()); } if (authorization_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getAuthorization()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getAuthorization()); } - if (state_ != com.google.cloud.gkemulticloud.v1.AzureCluster.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, state_); + if (state_ + != com.google.cloud.gkemulticloud.v1.AzureCluster.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpoint_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, endpoint_); @@ -1556,29 +1874,26 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, uid_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(10, reconciling_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, reconciling_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, etag_); } - for (java.util.Map.Entry entry - : internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry - annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, annotations__); + for (java.util.Map.Entry entry : + internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry annotations__ = + AnnotationsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, annotations__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(azureClient_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, azureClient_); @@ -1587,35 +1902,31 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, resourceGroupId_); } if (workloadIdentityConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(18, getWorkloadIdentityConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(18, getWorkloadIdentityConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterCaCertificate_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, clusterCaCertificate_); } if (fleet_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(20, getFleet()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getFleet()); } if (managedResources_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(21, getManagedResources()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getManagedResources()); } if (azureServicesAuthentication_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(22, getAzureServicesAuthentication()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 22, getAzureServicesAuthentication()); } if (loggingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(23, getLoggingConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getLoggingConfig()); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(24, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(24, errors_.get(i)); } if (monitoringConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(25, getMonitoringConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(25, getMonitoringConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1625,92 +1936,71 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureCluster)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureCluster other = (com.google.cloud.gkemulticloud.v1.AzureCluster) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getAzureRegion() - .equals(other.getAzureRegion())) return false; - if (!getResourceGroupId() - .equals(other.getResourceGroupId())) return false; - if (!getAzureClient() - .equals(other.getAzureClient())) return false; + com.google.cloud.gkemulticloud.v1.AzureCluster other = + (com.google.cloud.gkemulticloud.v1.AzureCluster) obj; + + if (!getName().equals(other.getName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getAzureRegion().equals(other.getAzureRegion())) return false; + if (!getResourceGroupId().equals(other.getResourceGroupId())) return false; + if (!getAzureClient().equals(other.getAzureClient())) return false; if (hasNetworking() != other.hasNetworking()) return false; if (hasNetworking()) { - if (!getNetworking() - .equals(other.getNetworking())) return false; + if (!getNetworking().equals(other.getNetworking())) return false; } if (hasControlPlane() != other.hasControlPlane()) return false; if (hasControlPlane()) { - if (!getControlPlane() - .equals(other.getControlPlane())) return false; + if (!getControlPlane().equals(other.getControlPlane())) return false; } if (hasAuthorization() != other.hasAuthorization()) return false; if (hasAuthorization()) { - if (!getAuthorization() - .equals(other.getAuthorization())) return false; + if (!getAuthorization().equals(other.getAuthorization())) return false; } if (hasAzureServicesAuthentication() != other.hasAzureServicesAuthentication()) return false; if (hasAzureServicesAuthentication()) { - if (!getAzureServicesAuthentication() - .equals(other.getAzureServicesAuthentication())) return false; + if (!getAzureServicesAuthentication().equals(other.getAzureServicesAuthentication())) + return false; } if (state_ != other.state_) return false; - if (!getEndpoint() - .equals(other.getEndpoint())) return false; - if (!getUid() - .equals(other.getUid())) return false; - if (getReconciling() - != other.getReconciling()) return false; + if (!getEndpoint().equals(other.getEndpoint())) return false; + if (!getUid().equals(other.getUid())) return false; + if (getReconciling() != other.getReconciling()) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } - if (!getEtag() - .equals(other.getEtag())) return false; - if (!internalGetAnnotations().equals( - other.internalGetAnnotations())) return false; + if (!getEtag().equals(other.getEtag())) return false; + if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; if (hasWorkloadIdentityConfig() != other.hasWorkloadIdentityConfig()) return false; if (hasWorkloadIdentityConfig()) { - if (!getWorkloadIdentityConfig() - .equals(other.getWorkloadIdentityConfig())) return false; + if (!getWorkloadIdentityConfig().equals(other.getWorkloadIdentityConfig())) return false; } - if (!getClusterCaCertificate() - .equals(other.getClusterCaCertificate())) return false; + if (!getClusterCaCertificate().equals(other.getClusterCaCertificate())) return false; if (hasFleet() != other.hasFleet()) return false; if (hasFleet()) { - if (!getFleet() - .equals(other.getFleet())) return false; + if (!getFleet().equals(other.getFleet())) return false; } if (hasManagedResources() != other.hasManagedResources()) return false; if (hasManagedResources()) { - if (!getManagedResources() - .equals(other.getManagedResources())) return false; + if (!getManagedResources().equals(other.getManagedResources())) return false; } if (hasLoggingConfig() != other.hasLoggingConfig()) return false; if (hasLoggingConfig()) { - if (!getLoggingConfig() - .equals(other.getLoggingConfig())) return false; + if (!getLoggingConfig().equals(other.getLoggingConfig())) return false; } - if (!getErrorsList() - .equals(other.getErrorsList())) return false; + if (!getErrorsList().equals(other.getErrorsList())) return false; if (hasMonitoringConfig() != other.hasMonitoringConfig()) return false; if (hasMonitoringConfig()) { - if (!getMonitoringConfig() - .equals(other.getMonitoringConfig())) return false; + if (!getMonitoringConfig().equals(other.getMonitoringConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1756,8 +2046,7 @@ public int hashCode() { hash = (37 * hash) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid().hashCode(); hash = (37 * hash) + RECONCILING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getReconciling()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReconciling()); if (hasCreateTime()) { hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime().hashCode(); @@ -1803,154 +2092,156 @@ public int hashCode() { return hash; } - public static com.google.cloud.gkemulticloud.v1.AzureCluster parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.gkemulticloud.v1.AzureCluster parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureCluster parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureCluster parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureCluster parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureCluster parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureCluster parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureCluster parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureCluster parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureCluster parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureCluster parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureCluster parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureCluster parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureCluster parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureCluster prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * An Anthos cluster running on Azure.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureCluster} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureCluster) com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureCluster_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureCluster_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 14: return internalGetAnnotations(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 14: return internalGetMutableAnnotations(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureCluster_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureCluster_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureCluster.class, com.google.cloud.gkemulticloud.v1.AzureCluster.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureCluster.class, + com.google.cloud.gkemulticloud.v1.AzureCluster.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AzureCluster.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2033,9 +2324,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureCluster_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureCluster_descriptor; } @java.lang.Override @@ -2054,9 +2345,12 @@ public com.google.cloud.gkemulticloud.v1.AzureCluster build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureCluster buildPartial() { - com.google.cloud.gkemulticloud.v1.AzureCluster result = new com.google.cloud.gkemulticloud.v1.AzureCluster(this); + com.google.cloud.gkemulticloud.v1.AzureCluster result = + new com.google.cloud.gkemulticloud.v1.AzureCluster(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -2091,24 +2385,21 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureCluster result result.azureClient_ = azureClient_; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.networking_ = networkingBuilder_ == null - ? networking_ - : networkingBuilder_.build(); + result.networking_ = networkingBuilder_ == null ? networking_ : networkingBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { - result.controlPlane_ = controlPlaneBuilder_ == null - ? controlPlane_ - : controlPlaneBuilder_.build(); + result.controlPlane_ = + controlPlaneBuilder_ == null ? controlPlane_ : controlPlaneBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { - result.authorization_ = authorizationBuilder_ == null - ? authorization_ - : authorizationBuilder_.build(); + result.authorization_ = + authorizationBuilder_ == null ? authorization_ : authorizationBuilder_.build(); } if (((from_bitField0_ & 0x00000100) != 0)) { - result.azureServicesAuthentication_ = azureServicesAuthenticationBuilder_ == null - ? azureServicesAuthentication_ - : azureServicesAuthenticationBuilder_.build(); + result.azureServicesAuthentication_ = + azureServicesAuthenticationBuilder_ == null + ? azureServicesAuthentication_ + : azureServicesAuthenticationBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { result.state_ = state_; @@ -2123,14 +2414,10 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureCluster result result.reconciling_ = reconciling_; } if (((from_bitField0_ & 0x00002000) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00004000) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00008000) != 0)) { result.etag_ = etag_; @@ -2140,32 +2427,28 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureCluster result result.annotations_.makeImmutable(); } if (((from_bitField0_ & 0x00020000) != 0)) { - result.workloadIdentityConfig_ = workloadIdentityConfigBuilder_ == null - ? workloadIdentityConfig_ - : workloadIdentityConfigBuilder_.build(); + result.workloadIdentityConfig_ = + workloadIdentityConfigBuilder_ == null + ? workloadIdentityConfig_ + : workloadIdentityConfigBuilder_.build(); } if (((from_bitField0_ & 0x00040000) != 0)) { result.clusterCaCertificate_ = clusterCaCertificate_; } if (((from_bitField0_ & 0x00080000) != 0)) { - result.fleet_ = fleetBuilder_ == null - ? fleet_ - : fleetBuilder_.build(); + result.fleet_ = fleetBuilder_ == null ? fleet_ : fleetBuilder_.build(); } if (((from_bitField0_ & 0x00100000) != 0)) { - result.managedResources_ = managedResourcesBuilder_ == null - ? managedResources_ - : managedResourcesBuilder_.build(); + result.managedResources_ = + managedResourcesBuilder_ == null ? managedResources_ : managedResourcesBuilder_.build(); } if (((from_bitField0_ & 0x00200000) != 0)) { - result.loggingConfig_ = loggingConfigBuilder_ == null - ? loggingConfig_ - : loggingConfigBuilder_.build(); + result.loggingConfig_ = + loggingConfigBuilder_ == null ? loggingConfig_ : loggingConfigBuilder_.build(); } if (((from_bitField0_ & 0x00800000) != 0)) { - result.monitoringConfig_ = monitoringConfigBuilder_ == null - ? monitoringConfig_ - : monitoringConfigBuilder_.build(); + result.monitoringConfig_ = + monitoringConfigBuilder_ == null ? monitoringConfig_ : monitoringConfigBuilder_.build(); } } @@ -2173,38 +2456,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureCluster result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AzureCluster) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureCluster)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureCluster) other); } else { super.mergeFrom(other); return this; @@ -2277,8 +2561,7 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureCluster other) { bitField0_ |= 0x00008000; onChanged(); } - internalGetMutableAnnotations().mergeFrom( - other.internalGetAnnotations()); + internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); bitField0_ |= 0x00010000; if (other.hasWorkloadIdentityConfig()) { mergeWorkloadIdentityConfig(other.getWorkloadIdentityConfig()); @@ -2315,9 +2598,10 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureCluster other) { errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00400000); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getErrorsFieldBuilder() : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getErrorsFieldBuilder() + : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -2352,166 +2636,175 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - azureRegion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getNetworkingFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 34 - case 42: { - input.readMessage( - getControlPlaneFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 42 - case 50: { - input.readMessage( - getAuthorizationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 50 - case 56: { - state_ = input.readEnum(); - bitField0_ |= 0x00000200; - break; - } // case 56 - case 66: { - endpoint_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; - break; - } // case 66 - case 74: { - uid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; - break; - } // case 74 - case 80: { - reconciling_ = input.readBool(); - bitField0_ |= 0x00001000; - break; - } // case 80 - case 90: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00002000; - break; - } // case 90 - case 98: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00004000; - break; - } // case 98 - case 106: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00008000; - break; - } // case 106 - case 114: { - com.google.protobuf.MapEntry - annotations__ = input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableAnnotations().getMutableMap().put( - annotations__.getKey(), annotations__.getValue()); - bitField0_ |= 0x00010000; - break; - } // case 114 - case 130: { - azureClient_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 130 - case 138: { - resourceGroupId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 138 - case 146: { - input.readMessage( - getWorkloadIdentityConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00020000; - break; - } // case 146 - case 154: { - clusterCaCertificate_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00040000; - break; - } // case 154 - case 162: { - input.readMessage( - getFleetFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00080000; - break; - } // case 162 - case 170: { - input.readMessage( - getManagedResourcesFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00100000; - break; - } // case 170 - case 178: { - input.readMessage( - getAzureServicesAuthenticationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 178 - case 186: { - input.readMessage( - getLoggingConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00200000; - break; - } // case 186 - case 194: { - com.google.cloud.gkemulticloud.v1.AzureClusterError m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureClusterError.parser(), - extensionRegistry); - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.add(m); - } else { - errorsBuilder_.addMessage(m); - } - break; - } // case 194 - case 202: { - input.readMessage( - getMonitoringConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00800000; - break; - } // case 202 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + azureRegion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getNetworkingFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 34 + case 42: + { + input.readMessage(getControlPlaneFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 42 + case 50: + { + input.readMessage(getAuthorizationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 50 + case 56: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000200; + break; + } // case 56 + case 66: + { + endpoint_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 66 + case 74: + { + uid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 74 + case 80: + { + reconciling_ = input.readBool(); + bitField0_ |= 0x00001000; + break; + } // case 80 + case 90: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00002000; + break; + } // case 90 + case 98: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00004000; + break; + } // case 98 + case 106: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00008000; + break; + } // case 106 + case 114: + { + com.google.protobuf.MapEntry annotations__ = + input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableAnnotations() + .getMutableMap() + .put(annotations__.getKey(), annotations__.getValue()); + bitField0_ |= 0x00010000; + break; + } // case 114 + case 130: + { + azureClient_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 130 + case 138: + { + resourceGroupId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 138 + case 146: + { + input.readMessage( + getWorkloadIdentityConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00020000; + break; + } // case 146 + case 154: + { + clusterCaCertificate_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00040000; + break; + } // case 154 + case 162: + { + input.readMessage(getFleetFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00080000; + break; + } // case 162 + case 170: + { + input.readMessage( + getManagedResourcesFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00100000; + break; + } // case 170 + case 178: + { + input.readMessage( + getAzureServicesAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 178 + case 186: + { + input.readMessage(getLoggingConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00200000; + break; + } // case 186 + case 194: + { + com.google.cloud.gkemulticloud.v1.AzureClusterError m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureClusterError.parser(), + extensionRegistry); + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.add(m); + } else { + errorsBuilder_.addMessage(m); + } + break; + } // case 194 + case 202: + { + input.readMessage( + getMonitoringConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00800000; + break; + } // case 202 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2521,10 +2814,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * The name of this resource.
      *
@@ -2536,13 +2832,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2551,6 +2847,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of this resource.
      *
@@ -2562,15 +2860,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -2578,6 +2875,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of this resource.
      *
@@ -2589,18 +2888,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The name of this resource.
      *
@@ -2612,6 +2915,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -2621,6 +2925,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The name of this resource.
      *
@@ -2632,12 +2938,14 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2647,19 +2955,21 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. A human readable description of this cluster.
      * Cannot be longer than 255 UTF-8 encoded bytes.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2668,21 +2978,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. A human readable description of this cluster.
      * Cannot be longer than 255 UTF-8 encoded bytes.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -2690,30 +3001,37 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. A human readable description of this cluster.
      * Cannot be longer than 255 UTF-8 encoded bytes.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. A human readable description of this cluster.
      * Cannot be longer than 255 UTF-8 encoded bytes.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2723,18 +3041,22 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. A human readable description of this cluster.
      * Cannot be longer than 255 UTF-8 encoded bytes.
      * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000002; @@ -2744,6 +3066,8 @@ public Builder setDescriptionBytes( private java.lang.Object azureRegion_ = ""; /** + * + * *
      * Required. The Azure region where the cluster runs.
      *
@@ -2754,13 +3078,13 @@ public Builder setDescriptionBytes(
      * 
* * string azure_region = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The azureRegion. */ public java.lang.String getAzureRegion() { java.lang.Object ref = azureRegion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureRegion_ = s; return s; @@ -2769,6 +3093,8 @@ public java.lang.String getAzureRegion() { } } /** + * + * *
      * Required. The Azure region where the cluster runs.
      *
@@ -2779,15 +3105,14 @@ public java.lang.String getAzureRegion() {
      * 
* * string azure_region = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for azureRegion. */ - public com.google.protobuf.ByteString - getAzureRegionBytes() { + public com.google.protobuf.ByteString getAzureRegionBytes() { java.lang.Object ref = azureRegion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); azureRegion_ = b; return b; } else { @@ -2795,6 +3120,8 @@ public java.lang.String getAzureRegion() { } } /** + * + * *
      * Required. The Azure region where the cluster runs.
      *
@@ -2805,18 +3132,22 @@ public java.lang.String getAzureRegion() {
      * 
* * string azure_region = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The azureRegion to set. * @return This builder for chaining. */ - public Builder setAzureRegion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAzureRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } azureRegion_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. The Azure region where the cluster runs.
      *
@@ -2827,6 +3158,7 @@ public Builder setAzureRegion(
      * 
* * string azure_region = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAzureRegion() { @@ -2836,6 +3168,8 @@ public Builder clearAzureRegion() { return this; } /** + * + * *
      * Required. The Azure region where the cluster runs.
      *
@@ -2846,12 +3180,14 @@ public Builder clearAzureRegion() {
      * 
* * string azure_region = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for azureRegion to set. * @return This builder for chaining. */ - public Builder setAzureRegionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAzureRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); azureRegion_ = value; bitField0_ |= 0x00000004; @@ -2861,6 +3197,8 @@ public Builder setAzureRegionBytes( private java.lang.Object resourceGroupId_ = ""; /** + * + * *
      * Required. The ARM ID of the resource group where the cluster resources are
      * deployed. For example:
@@ -2868,13 +3206,13 @@ public Builder setAzureRegionBytes(
      * 
* * string resource_group_id = 17 [(.google.api.field_behavior) = REQUIRED]; + * * @return The resourceGroupId. */ public java.lang.String getResourceGroupId() { java.lang.Object ref = resourceGroupId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceGroupId_ = s; return s; @@ -2883,6 +3221,8 @@ public java.lang.String getResourceGroupId() { } } /** + * + * *
      * Required. The ARM ID of the resource group where the cluster resources are
      * deployed. For example:
@@ -2890,15 +3230,14 @@ public java.lang.String getResourceGroupId() {
      * 
* * string resource_group_id = 17 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for resourceGroupId. */ - public com.google.protobuf.ByteString - getResourceGroupIdBytes() { + public com.google.protobuf.ByteString getResourceGroupIdBytes() { java.lang.Object ref = resourceGroupId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceGroupId_ = b; return b; } else { @@ -2906,6 +3245,8 @@ public java.lang.String getResourceGroupId() { } } /** + * + * *
      * Required. The ARM ID of the resource group where the cluster resources are
      * deployed. For example:
@@ -2913,18 +3254,22 @@ public java.lang.String getResourceGroupId() {
      * 
* * string resource_group_id = 17 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The resourceGroupId to set. * @return This builder for chaining. */ - public Builder setResourceGroupId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceGroupId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } resourceGroupId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Required. The ARM ID of the resource group where the cluster resources are
      * deployed. For example:
@@ -2932,6 +3277,7 @@ public Builder setResourceGroupId(
      * 
* * string resource_group_id = 17 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearResourceGroupId() { @@ -2941,6 +3287,8 @@ public Builder clearResourceGroupId() { return this; } /** + * + * *
      * Required. The ARM ID of the resource group where the cluster resources are
      * deployed. For example:
@@ -2948,12 +3296,14 @@ public Builder clearResourceGroupId() {
      * 
* * string resource_group_id = 17 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for resourceGroupId to set. * @return This builder for chaining. */ - public Builder setResourceGroupIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceGroupIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); resourceGroupId_ = value; bitField0_ |= 0x00000008; @@ -2963,6 +3313,8 @@ public Builder setResourceGroupIdBytes( private java.lang.Object azureClient_ = ""; /** + * + * *
      * Optional. Name of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains
@@ -2982,13 +3334,13 @@ public Builder setResourceGroupIdBytes(
      * 
* * string azure_client = 16 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The azureClient. */ public java.lang.String getAzureClient() { java.lang.Object ref = azureClient_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureClient_ = s; return s; @@ -2997,6 +3349,8 @@ public java.lang.String getAzureClient() { } } /** + * + * *
      * Optional. Name of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains
@@ -3016,15 +3370,14 @@ public java.lang.String getAzureClient() {
      * 
* * string azure_client = 16 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for azureClient. */ - public com.google.protobuf.ByteString - getAzureClientBytes() { + public com.google.protobuf.ByteString getAzureClientBytes() { java.lang.Object ref = azureClient_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); azureClient_ = b; return b; } else { @@ -3032,6 +3385,8 @@ public java.lang.String getAzureClient() { } } /** + * + * *
      * Optional. Name of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains
@@ -3051,18 +3406,22 @@ public java.lang.String getAzureClient() {
      * 
* * string azure_client = 16 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The azureClient to set. * @return This builder for chaining. */ - public Builder setAzureClient( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAzureClient(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } azureClient_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Name of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains
@@ -3082,6 +3441,7 @@ public Builder setAzureClient(
      * 
* * string azure_client = 16 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAzureClient() { @@ -3091,6 +3451,8 @@ public Builder clearAzureClient() { return this; } /** + * + * *
      * Optional. Name of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains
@@ -3110,12 +3472,14 @@ public Builder clearAzureClient() {
      * 
* * string azure_client = 16 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for azureClient to set. * @return This builder for chaining. */ - public Builder setAzureClientBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAzureClientBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); azureClient_ = value; bitField0_ |= 0x00000010; @@ -3125,39 +3489,58 @@ public Builder setAzureClientBytes( private com.google.cloud.gkemulticloud.v1.AzureClusterNetworking networking_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClusterNetworking, com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterNetworkingOrBuilder> networkingBuilder_; + com.google.cloud.gkemulticloud.v1.AzureClusterNetworking, + com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.Builder, + com.google.cloud.gkemulticloud.v1.AzureClusterNetworkingOrBuilder> + networkingBuilder_; /** + * + * *
      * Required. Cluster-wide networking configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the networking field is set. */ public boolean hasNetworking() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Required. Cluster-wide networking configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The networking. */ public com.google.cloud.gkemulticloud.v1.AzureClusterNetworking getNetworking() { if (networkingBuilder_ == null) { - return networking_ == null ? com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.getDefaultInstance() : networking_; + return networking_ == null + ? com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.getDefaultInstance() + : networking_; } else { return networkingBuilder_.getMessage(); } } /** + * + * *
      * Required. Cluster-wide networking configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setNetworking(com.google.cloud.gkemulticloud.v1.AzureClusterNetworking value) { if (networkingBuilder_ == null) { @@ -3173,11 +3556,15 @@ public Builder setNetworking(com.google.cloud.gkemulticloud.v1.AzureClusterNetwo return this; } /** + * + * *
      * Required. Cluster-wide networking configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setNetworking( com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.Builder builderForValue) { @@ -3191,17 +3578,22 @@ public Builder setNetworking( return this; } /** + * + * *
      * Required. Cluster-wide networking configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeNetworking(com.google.cloud.gkemulticloud.v1.AzureClusterNetworking value) { if (networkingBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - networking_ != null && - networking_ != com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && networking_ != null + && networking_ + != com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.getDefaultInstance()) { getNetworkingBuilder().mergeFrom(value); } else { networking_ = value; @@ -3214,11 +3606,15 @@ public Builder mergeNetworking(com.google.cloud.gkemulticloud.v1.AzureClusterNet return this; } /** + * + * *
      * Required. Cluster-wide networking configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearNetworking() { bitField0_ = (bitField0_ & ~0x00000020); @@ -3231,11 +3627,15 @@ public Builder clearNetworking() { return this; } /** + * + * *
      * Required. Cluster-wide networking configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.Builder getNetworkingBuilder() { bitField0_ |= 0x00000020; @@ -3243,36 +3643,49 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.Builder getNetwo return getNetworkingFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Cluster-wide networking configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.gkemulticloud.v1.AzureClusterNetworkingOrBuilder getNetworkingOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AzureClusterNetworkingOrBuilder + getNetworkingOrBuilder() { if (networkingBuilder_ != null) { return networkingBuilder_.getMessageOrBuilder(); } else { - return networking_ == null ? - com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.getDefaultInstance() : networking_; + return networking_ == null + ? com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.getDefaultInstance() + : networking_; } } /** + * + * *
      * Required. Cluster-wide networking configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClusterNetworking, com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterNetworkingOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureClusterNetworking, + com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.Builder, + com.google.cloud.gkemulticloud.v1.AzureClusterNetworkingOrBuilder> getNetworkingFieldBuilder() { if (networkingBuilder_ == null) { - networkingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClusterNetworking, com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterNetworkingOrBuilder>( - getNetworking(), - getParentForChildren(), - isClean()); + networkingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureClusterNetworking, + com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.Builder, + com.google.cloud.gkemulticloud.v1.AzureClusterNetworkingOrBuilder>( + getNetworking(), getParentForChildren(), isClean()); networking_ = null; } return networkingBuilder_; @@ -3280,39 +3693,58 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterNetworkingOrBuilder getNetw private com.google.cloud.gkemulticloud.v1.AzureControlPlane controlPlane_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureControlPlane, com.google.cloud.gkemulticloud.v1.AzureControlPlane.Builder, com.google.cloud.gkemulticloud.v1.AzureControlPlaneOrBuilder> controlPlaneBuilder_; + com.google.cloud.gkemulticloud.v1.AzureControlPlane, + com.google.cloud.gkemulticloud.v1.AzureControlPlane.Builder, + com.google.cloud.gkemulticloud.v1.AzureControlPlaneOrBuilder> + controlPlaneBuilder_; /** + * + * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the controlPlane field is set. */ public boolean hasControlPlane() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The controlPlane. */ public com.google.cloud.gkemulticloud.v1.AzureControlPlane getControlPlane() { if (controlPlaneBuilder_ == null) { - return controlPlane_ == null ? com.google.cloud.gkemulticloud.v1.AzureControlPlane.getDefaultInstance() : controlPlane_; + return controlPlane_ == null + ? com.google.cloud.gkemulticloud.v1.AzureControlPlane.getDefaultInstance() + : controlPlane_; } else { return controlPlaneBuilder_.getMessage(); } } /** + * + * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setControlPlane(com.google.cloud.gkemulticloud.v1.AzureControlPlane value) { if (controlPlaneBuilder_ == null) { @@ -3328,11 +3760,15 @@ public Builder setControlPlane(com.google.cloud.gkemulticloud.v1.AzureControlPla return this; } /** + * + * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setControlPlane( com.google.cloud.gkemulticloud.v1.AzureControlPlane.Builder builderForValue) { @@ -3346,17 +3782,22 @@ public Builder setControlPlane( return this; } /** + * + * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeControlPlane(com.google.cloud.gkemulticloud.v1.AzureControlPlane value) { if (controlPlaneBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - controlPlane_ != null && - controlPlane_ != com.google.cloud.gkemulticloud.v1.AzureControlPlane.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && controlPlane_ != null + && controlPlane_ + != com.google.cloud.gkemulticloud.v1.AzureControlPlane.getDefaultInstance()) { getControlPlaneBuilder().mergeFrom(value); } else { controlPlane_ = value; @@ -3369,11 +3810,15 @@ public Builder mergeControlPlane(com.google.cloud.gkemulticloud.v1.AzureControlP return this; } /** + * + * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearControlPlane() { bitField0_ = (bitField0_ & ~0x00000040); @@ -3386,11 +3831,15 @@ public Builder clearControlPlane() { return this; } /** + * + * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AzureControlPlane.Builder getControlPlaneBuilder() { bitField0_ |= 0x00000040; @@ -3398,36 +3847,48 @@ public com.google.cloud.gkemulticloud.v1.AzureControlPlane.Builder getControlPla return getControlPlaneFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AzureControlPlaneOrBuilder getControlPlaneOrBuilder() { if (controlPlaneBuilder_ != null) { return controlPlaneBuilder_.getMessageOrBuilder(); } else { - return controlPlane_ == null ? - com.google.cloud.gkemulticloud.v1.AzureControlPlane.getDefaultInstance() : controlPlane_; + return controlPlane_ == null + ? com.google.cloud.gkemulticloud.v1.AzureControlPlane.getDefaultInstance() + : controlPlane_; } } /** + * + * *
      * Required. Configuration related to the cluster control plane.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureControlPlane, com.google.cloud.gkemulticloud.v1.AzureControlPlane.Builder, com.google.cloud.gkemulticloud.v1.AzureControlPlaneOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureControlPlane, + com.google.cloud.gkemulticloud.v1.AzureControlPlane.Builder, + com.google.cloud.gkemulticloud.v1.AzureControlPlaneOrBuilder> getControlPlaneFieldBuilder() { if (controlPlaneBuilder_ == null) { - controlPlaneBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureControlPlane, com.google.cloud.gkemulticloud.v1.AzureControlPlane.Builder, com.google.cloud.gkemulticloud.v1.AzureControlPlaneOrBuilder>( - getControlPlane(), - getParentForChildren(), - isClean()); + controlPlaneBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureControlPlane, + com.google.cloud.gkemulticloud.v1.AzureControlPlane.Builder, + com.google.cloud.gkemulticloud.v1.AzureControlPlaneOrBuilder>( + getControlPlane(), getParentForChildren(), isClean()); controlPlane_ = null; } return controlPlaneBuilder_; @@ -3435,39 +3896,58 @@ public com.google.cloud.gkemulticloud.v1.AzureControlPlaneOrBuilder getControlPl private com.google.cloud.gkemulticloud.v1.AzureAuthorization authorization_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureAuthorization, com.google.cloud.gkemulticloud.v1.AzureAuthorization.Builder, com.google.cloud.gkemulticloud.v1.AzureAuthorizationOrBuilder> authorizationBuilder_; + com.google.cloud.gkemulticloud.v1.AzureAuthorization, + com.google.cloud.gkemulticloud.v1.AzureAuthorization.Builder, + com.google.cloud.gkemulticloud.v1.AzureAuthorizationOrBuilder> + authorizationBuilder_; /** + * + * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the authorization field is set. */ public boolean hasAuthorization() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The authorization. */ public com.google.cloud.gkemulticloud.v1.AzureAuthorization getAuthorization() { if (authorizationBuilder_ == null) { - return authorization_ == null ? com.google.cloud.gkemulticloud.v1.AzureAuthorization.getDefaultInstance() : authorization_; + return authorization_ == null + ? com.google.cloud.gkemulticloud.v1.AzureAuthorization.getDefaultInstance() + : authorization_; } else { return authorizationBuilder_.getMessage(); } } /** + * + * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAuthorization(com.google.cloud.gkemulticloud.v1.AzureAuthorization value) { if (authorizationBuilder_ == null) { @@ -3483,11 +3963,15 @@ public Builder setAuthorization(com.google.cloud.gkemulticloud.v1.AzureAuthoriza return this; } /** + * + * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAuthorization( com.google.cloud.gkemulticloud.v1.AzureAuthorization.Builder builderForValue) { @@ -3501,17 +3985,22 @@ public Builder setAuthorization( return this; } /** + * + * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAuthorization(com.google.cloud.gkemulticloud.v1.AzureAuthorization value) { if (authorizationBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - authorization_ != null && - authorization_ != com.google.cloud.gkemulticloud.v1.AzureAuthorization.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && authorization_ != null + && authorization_ + != com.google.cloud.gkemulticloud.v1.AzureAuthorization.getDefaultInstance()) { getAuthorizationBuilder().mergeFrom(value); } else { authorization_ = value; @@ -3524,11 +4013,15 @@ public Builder mergeAuthorization(com.google.cloud.gkemulticloud.v1.AzureAuthori return this; } /** + * + * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAuthorization() { bitField0_ = (bitField0_ & ~0x00000080); @@ -3541,11 +4034,15 @@ public Builder clearAuthorization() { return this; } /** + * + * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AzureAuthorization.Builder getAuthorizationBuilder() { bitField0_ |= 0x00000080; @@ -3553,84 +4050,119 @@ public com.google.cloud.gkemulticloud.v1.AzureAuthorization.Builder getAuthoriza return getAuthorizationFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.gkemulticloud.v1.AzureAuthorizationOrBuilder getAuthorizationOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AzureAuthorizationOrBuilder + getAuthorizationOrBuilder() { if (authorizationBuilder_ != null) { return authorizationBuilder_.getMessageOrBuilder(); } else { - return authorization_ == null ? - com.google.cloud.gkemulticloud.v1.AzureAuthorization.getDefaultInstance() : authorization_; + return authorization_ == null + ? com.google.cloud.gkemulticloud.v1.AzureAuthorization.getDefaultInstance() + : authorization_; } } /** + * + * *
      * Required. Configuration related to the cluster RBAC settings.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureAuthorization, com.google.cloud.gkemulticloud.v1.AzureAuthorization.Builder, com.google.cloud.gkemulticloud.v1.AzureAuthorizationOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureAuthorization, + com.google.cloud.gkemulticloud.v1.AzureAuthorization.Builder, + com.google.cloud.gkemulticloud.v1.AzureAuthorizationOrBuilder> getAuthorizationFieldBuilder() { if (authorizationBuilder_ == null) { - authorizationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureAuthorization, com.google.cloud.gkemulticloud.v1.AzureAuthorization.Builder, com.google.cloud.gkemulticloud.v1.AzureAuthorizationOrBuilder>( - getAuthorization(), - getParentForChildren(), - isClean()); + authorizationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureAuthorization, + com.google.cloud.gkemulticloud.v1.AzureAuthorization.Builder, + com.google.cloud.gkemulticloud.v1.AzureAuthorizationOrBuilder>( + getAuthorization(), getParentForChildren(), isClean()); authorization_ = null; } return authorizationBuilder_; } - private com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication azureServicesAuthentication_; + private com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication + azureServicesAuthentication_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication, com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder, com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder> azureServicesAuthenticationBuilder_; + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication, + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder, + com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder> + azureServicesAuthenticationBuilder_; /** + * + * *
      * Optional. Authentication configuration for management of Azure resources.
      *
      * Either azure_client or azure_services_authentication should be provided.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the azureServicesAuthentication field is set. */ public boolean hasAzureServicesAuthentication() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
      * Optional. Authentication configuration for management of Azure resources.
      *
      * Either azure_client or azure_services_authentication should be provided.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The azureServicesAuthentication. */ - public com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication getAzureServicesAuthentication() { + public com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication + getAzureServicesAuthentication() { if (azureServicesAuthenticationBuilder_ == null) { - return azureServicesAuthentication_ == null ? com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.getDefaultInstance() : azureServicesAuthentication_; + return azureServicesAuthentication_ == null + ? com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.getDefaultInstance() + : azureServicesAuthentication_; } else { return azureServicesAuthenticationBuilder_.getMessage(); } } /** + * + * *
      * Optional. Authentication configuration for management of Azure resources.
      *
      * Either azure_client or azure_services_authentication should be provided.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setAzureServicesAuthentication(com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication value) { + public Builder setAzureServicesAuthentication( + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication value) { if (azureServicesAuthenticationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3644,13 +4176,17 @@ public Builder setAzureServicesAuthentication(com.google.cloud.gkemulticloud.v1. return this; } /** + * + * *
      * Optional. Authentication configuration for management of Azure resources.
      *
      * Either azure_client or azure_services_authentication should be provided.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAzureServicesAuthentication( com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder builderForValue) { @@ -3664,19 +4200,26 @@ public Builder setAzureServicesAuthentication( return this; } /** + * + * *
      * Optional. Authentication configuration for management of Azure resources.
      *
      * Either azure_client or azure_services_authentication should be provided.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeAzureServicesAuthentication(com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication value) { + public Builder mergeAzureServicesAuthentication( + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication value) { if (azureServicesAuthenticationBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && - azureServicesAuthentication_ != null && - azureServicesAuthentication_ != com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) + && azureServicesAuthentication_ != null + && azureServicesAuthentication_ + != com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication + .getDefaultInstance()) { getAzureServicesAuthenticationBuilder().mergeFrom(value); } else { azureServicesAuthentication_ = value; @@ -3689,13 +4232,17 @@ public Builder mergeAzureServicesAuthentication(com.google.cloud.gkemulticloud.v return this; } /** + * + * *
      * Optional. Authentication configuration for management of Azure resources.
      *
      * Either azure_client or azure_services_authentication should be provided.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearAzureServicesAuthentication() { bitField0_ = (bitField0_ & ~0x00000100); @@ -3708,54 +4255,72 @@ public Builder clearAzureServicesAuthentication() { return this; } /** + * + * *
      * Optional. Authentication configuration for management of Azure resources.
      *
      * Either azure_client or azure_services_authentication should be provided.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder getAzureServicesAuthenticationBuilder() { + public com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder + getAzureServicesAuthenticationBuilder() { bitField0_ |= 0x00000100; onChanged(); return getAzureServicesAuthenticationFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Authentication configuration for management of Azure resources.
      *
      * Either azure_client or azure_services_authentication should be provided.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder getAzureServicesAuthenticationOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder + getAzureServicesAuthenticationOrBuilder() { if (azureServicesAuthenticationBuilder_ != null) { return azureServicesAuthenticationBuilder_.getMessageOrBuilder(); } else { - return azureServicesAuthentication_ == null ? - com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.getDefaultInstance() : azureServicesAuthentication_; + return azureServicesAuthentication_ == null + ? com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.getDefaultInstance() + : azureServicesAuthentication_; } } /** + * + * *
      * Optional. Authentication configuration for management of Azure resources.
      *
      * Either azure_client or azure_services_authentication should be provided.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication, com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder, com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication, + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder, + com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder> getAzureServicesAuthenticationFieldBuilder() { if (azureServicesAuthenticationBuilder_ == null) { - azureServicesAuthenticationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication, com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder, com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder>( - getAzureServicesAuthentication(), - getParentForChildren(), - isClean()); + azureServicesAuthenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication, + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder, + com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder>( + getAzureServicesAuthentication(), getParentForChildren(), isClean()); azureServicesAuthentication_ = null; } return azureServicesAuthenticationBuilder_; @@ -3763,22 +4328,33 @@ public com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder ge private int state_ = 0; /** + * + * *
      * Output only. The current state of the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. The current state of the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -3789,24 +4365,37 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. The current state of the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureCluster.State getState() { - com.google.cloud.gkemulticloud.v1.AzureCluster.State result = com.google.cloud.gkemulticloud.v1.AzureCluster.State.forNumber(state_); - return result == null ? com.google.cloud.gkemulticloud.v1.AzureCluster.State.UNRECOGNIZED : result; + com.google.cloud.gkemulticloud.v1.AzureCluster.State result = + com.google.cloud.gkemulticloud.v1.AzureCluster.State.forNumber(state_); + return result == null + ? com.google.cloud.gkemulticloud.v1.AzureCluster.State.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The current state of the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -3820,11 +4409,16 @@ public Builder setState(com.google.cloud.gkemulticloud.v1.AzureCluster.State val return this; } /** + * + * *
      * Output only. The current state of the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -3836,18 +4430,20 @@ public Builder clearState() { private java.lang.Object endpoint_ = ""; /** + * + * *
      * Output only. The endpoint of the cluster's API server.
      * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The endpoint. */ public java.lang.String getEndpoint() { java.lang.Object ref = endpoint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endpoint_ = s; return s; @@ -3856,20 +4452,21 @@ public java.lang.String getEndpoint() { } } /** + * + * *
      * Output only. The endpoint of the cluster's API server.
      * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for endpoint. */ - public com.google.protobuf.ByteString - getEndpointBytes() { + public com.google.protobuf.ByteString getEndpointBytes() { java.lang.Object ref = endpoint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); endpoint_ = b; return b; } else { @@ -3877,28 +4474,35 @@ public java.lang.String getEndpoint() { } } /** + * + * *
      * Output only. The endpoint of the cluster's API server.
      * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The endpoint to set. * @return This builder for chaining. */ - public Builder setEndpoint( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEndpoint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } endpoint_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** + * + * *
      * Output only. The endpoint of the cluster's API server.
      * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearEndpoint() { @@ -3908,17 +4512,21 @@ public Builder clearEndpoint() { return this; } /** + * + * *
      * Output only. The endpoint of the cluster's API server.
      * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for endpoint to set. * @return This builder for chaining. */ - public Builder setEndpointBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEndpointBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); endpoint_ = value; bitField0_ |= 0x00000400; @@ -3928,18 +4536,20 @@ public Builder setEndpointBytes( private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. A globally unique identifier for the cluster.
      * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -3948,20 +4558,21 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. A globally unique identifier for the cluster.
      * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -3969,28 +4580,35 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. A globally unique identifier for the cluster.
      * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** + * + * *
      * Output only. A globally unique identifier for the cluster.
      * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -4000,17 +4618,21 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. A globally unique identifier for the cluster.
      * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000800; @@ -4018,13 +4640,16 @@ public Builder setUidBytes( return this; } - private boolean reconciling_ ; + private boolean reconciling_; /** + * + * *
      * Output only. If set, there are currently changes in flight to the cluster.
      * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -4032,11 +4657,14 @@ public boolean getReconciling() { return reconciling_; } /** + * + * *
      * Output only. If set, there are currently changes in flight to the cluster.
      * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The reconciling to set. * @return This builder for chaining. */ @@ -4048,11 +4676,14 @@ public Builder setReconciling(boolean value) { return this; } /** + * + * *
      * Output only. If set, there are currently changes in flight to the cluster.
      * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -4064,39 +4695,58 @@ public Builder clearReconciling() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time at which this cluster was created.
      * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00002000) != 0); } /** + * + * *
      * Output only. The time at which this cluster was created.
      * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time at which this cluster was created.
      * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -4112,14 +4762,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this cluster was created.
      * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -4130,17 +4783,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time at which this cluster was created.
      * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00002000) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00002000) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -4153,11 +4810,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this cluster was created.
      * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00002000); @@ -4170,11 +4831,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time at which this cluster was created.
      * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00002000; @@ -4182,36 +4847,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time at which this cluster was created.
      * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time at which this cluster was created.
      * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -4219,39 +4896,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00004000) != 0); } /** + * + * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -4267,14 +4963,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -4285,17 +4984,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00004000) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00004000) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -4308,11 +5011,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00004000); @@ -4325,11 +5032,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00004000; @@ -4337,36 +5048,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. The time at which this cluster was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -4374,6 +5097,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object etag_ = ""; /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -4383,13 +5108,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string etag = 13; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -4398,6 +5123,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -4407,15 +5134,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 13; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -4423,6 +5149,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -4432,18 +5160,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 13; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00008000; onChanged(); return this; } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -4453,6 +5185,7 @@ public Builder setEtag(
      * 
* * string etag = 13; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -4462,6 +5195,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -4471,12 +5206,14 @@ public Builder clearEtag() {
      * 
* * string etag = 13; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00008000; @@ -4484,8 +5221,8 @@ public Builder setEtagBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -4494,11 +5231,12 @@ public Builder setEtagBytes( } return annotations_; } + private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = + com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -4507,10 +5245,13 @@ public Builder setEtagBytes( onChanged(); return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
      * Optional. Annotations on the cluster.
      *
@@ -4523,23 +5264,25 @@ public int getAnnotationsCount() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsAnnotations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetAnnotations().getMap().containsKey(key); } - /** - * Use {@link #getAnnotationsMap()} instead. - */ + /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** + * + * *
      * Optional. Annotations on the cluster.
      *
@@ -4552,13 +5295,16 @@ public java.util.Map getAnnotations() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** + * + * *
      * Optional. Annotations on the cluster.
      *
@@ -4571,20 +5317,23 @@ public java.util.Map getAnnotationsMap() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -java.lang.String getAnnotationsOrDefault( + public /* nullable */ java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Optional. Annotations on the cluster.
      *
@@ -4597,26 +5346,29 @@ java.lang.String getAnnotationsOrDefault(
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + public java.lang.String getAnnotationsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearAnnotations() { bitField0_ = (bitField0_ & ~0x00010000); - internalGetMutableAnnotations().getMutableMap() - .clear(); + internalGetMutableAnnotations().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. Annotations on the cluster.
      *
@@ -4629,25 +5381,25 @@ public Builder clearAnnotations() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder removeAnnotations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableAnnotations().getMutableMap() - .remove(key); + public Builder removeAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableAnnotations().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableAnnotations() { + public java.util.Map getMutableAnnotations() { bitField0_ |= 0x00010000; return internalGetMutableAnnotations().getMutableMap(); } /** + * + * *
      * Optional. Annotations on the cluster.
      *
@@ -4660,19 +5412,23 @@ public Builder removeAnnotations(
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder putAnnotations( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableAnnotations().getMutableMap() - .put(key, value); + public Builder putAnnotations(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableAnnotations().getMutableMap().put(key, value); bitField0_ |= 0x00010000; return this; } /** + * + * *
      * Optional. Annotations on the cluster.
      *
@@ -4685,53 +5441,72 @@ public Builder putAnnotations(
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder putAllAnnotations( - java.util.Map values) { - internalGetMutableAnnotations().getMutableMap() - .putAll(values); + public Builder putAllAnnotations(java.util.Map values) { + internalGetMutableAnnotations().getMutableMap().putAll(values); bitField0_ |= 0x00010000; return this; } private com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workloadIdentityConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder> workloadIdentityConfigBuilder_; + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder> + workloadIdentityConfigBuilder_; /** + * + * *
      * Output only. Workload Identity settings.
      * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the workloadIdentityConfig field is set. */ public boolean hasWorkloadIdentityConfig() { return ((bitField0_ & 0x00020000) != 0); } /** + * + * *
      * Output only. Workload Identity settings.
      * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The workloadIdentityConfig. */ public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig getWorkloadIdentityConfig() { if (workloadIdentityConfigBuilder_ == null) { - return workloadIdentityConfig_ == null ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_; + return workloadIdentityConfig_ == null + ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() + : workloadIdentityConfig_; } else { return workloadIdentityConfigBuilder_.getMessage(); } } /** + * + * *
      * Output only. Workload Identity settings.
      * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setWorkloadIdentityConfig(com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig value) { + public Builder setWorkloadIdentityConfig( + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig value) { if (workloadIdentityConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4745,11 +5520,15 @@ public Builder setWorkloadIdentityConfig(com.google.cloud.gkemulticloud.v1.Workl return this; } /** + * + * *
      * Output only. Workload Identity settings.
      * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setWorkloadIdentityConfig( com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder builderForValue) { @@ -4763,17 +5542,23 @@ public Builder setWorkloadIdentityConfig( return this; } /** + * + * *
      * Output only. Workload Identity settings.
      * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeWorkloadIdentityConfig(com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig value) { + public Builder mergeWorkloadIdentityConfig( + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig value) { if (workloadIdentityConfigBuilder_ == null) { - if (((bitField0_ & 0x00020000) != 0) && - workloadIdentityConfig_ != null && - workloadIdentityConfig_ != com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00020000) != 0) + && workloadIdentityConfig_ != null + && workloadIdentityConfig_ + != com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance()) { getWorkloadIdentityConfigBuilder().mergeFrom(value); } else { workloadIdentityConfig_ = value; @@ -4786,11 +5571,15 @@ public Builder mergeWorkloadIdentityConfig(com.google.cloud.gkemulticloud.v1.Wor return this; } /** + * + * *
      * Output only. Workload Identity settings.
      * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearWorkloadIdentityConfig() { bitField0_ = (bitField0_ & ~0x00020000); @@ -4803,48 +5592,66 @@ public Builder clearWorkloadIdentityConfig() { return this; } /** + * + * *
      * Output only. Workload Identity settings.
      * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder getWorkloadIdentityConfigBuilder() { + public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder + getWorkloadIdentityConfigBuilder() { bitField0_ |= 0x00020000; onChanged(); return getWorkloadIdentityConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Workload Identity settings.
      * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder() { + public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder + getWorkloadIdentityConfigOrBuilder() { if (workloadIdentityConfigBuilder_ != null) { return workloadIdentityConfigBuilder_.getMessageOrBuilder(); } else { - return workloadIdentityConfig_ == null ? - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_; + return workloadIdentityConfig_ == null + ? com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance() + : workloadIdentityConfig_; } } /** + * + * *
      * Output only. Workload Identity settings.
      * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder> getWorkloadIdentityConfigFieldBuilder() { if (workloadIdentityConfigBuilder_ == null) { - workloadIdentityConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder>( - getWorkloadIdentityConfig(), - getParentForChildren(), - isClean()); + workloadIdentityConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig, + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder, + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder>( + getWorkloadIdentityConfig(), getParentForChildren(), isClean()); workloadIdentityConfig_ = null; } return workloadIdentityConfigBuilder_; @@ -4852,18 +5659,20 @@ public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder getWork private java.lang.Object clusterCaCertificate_ = ""; /** + * + * *
      * Output only. PEM encoded x509 certificate of the cluster root of trust.
      * 
* * string cluster_ca_certificate = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The clusterCaCertificate. */ public java.lang.String getClusterCaCertificate() { java.lang.Object ref = clusterCaCertificate_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterCaCertificate_ = s; return s; @@ -4872,20 +5681,21 @@ public java.lang.String getClusterCaCertificate() { } } /** + * + * *
      * Output only. PEM encoded x509 certificate of the cluster root of trust.
      * 
* * string cluster_ca_certificate = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for clusterCaCertificate. */ - public com.google.protobuf.ByteString - getClusterCaCertificateBytes() { + public com.google.protobuf.ByteString getClusterCaCertificateBytes() { java.lang.Object ref = clusterCaCertificate_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterCaCertificate_ = b; return b; } else { @@ -4893,28 +5703,35 @@ public java.lang.String getClusterCaCertificate() { } } /** + * + * *
      * Output only. PEM encoded x509 certificate of the cluster root of trust.
      * 
* * string cluster_ca_certificate = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The clusterCaCertificate to set. * @return This builder for chaining. */ - public Builder setClusterCaCertificate( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterCaCertificate(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } clusterCaCertificate_ = value; bitField0_ |= 0x00040000; onChanged(); return this; } /** + * + * *
      * Output only. PEM encoded x509 certificate of the cluster root of trust.
      * 
* * string cluster_ca_certificate = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearClusterCaCertificate() { @@ -4924,17 +5741,21 @@ public Builder clearClusterCaCertificate() { return this; } /** + * + * *
      * Output only. PEM encoded x509 certificate of the cluster root of trust.
      * 
* * string cluster_ca_certificate = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for clusterCaCertificate to set. * @return This builder for chaining. */ - public Builder setClusterCaCertificateBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterCaCertificateBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); clusterCaCertificate_ = value; bitField0_ |= 0x00040000; @@ -4944,39 +5765,58 @@ public Builder setClusterCaCertificateBytes( private com.google.cloud.gkemulticloud.v1.Fleet fleet_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.Fleet, com.google.cloud.gkemulticloud.v1.Fleet.Builder, com.google.cloud.gkemulticloud.v1.FleetOrBuilder> fleetBuilder_; + com.google.cloud.gkemulticloud.v1.Fleet, + com.google.cloud.gkemulticloud.v1.Fleet.Builder, + com.google.cloud.gkemulticloud.v1.FleetOrBuilder> + fleetBuilder_; /** + * + * *
      * Required. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the fleet field is set. */ public boolean hasFleet() { return ((bitField0_ & 0x00080000) != 0); } /** + * + * *
      * Required. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The fleet. */ public com.google.cloud.gkemulticloud.v1.Fleet getFleet() { if (fleetBuilder_ == null) { - return fleet_ == null ? com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() : fleet_; + return fleet_ == null + ? com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() + : fleet_; } else { return fleetBuilder_.getMessage(); } } /** + * + * *
      * Required. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { if (fleetBuilder_ == null) { @@ -4992,14 +5832,17 @@ public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { return this; } /** + * + * *
      * Required. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setFleet( - com.google.cloud.gkemulticloud.v1.Fleet.Builder builderForValue) { + public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet.Builder builderForValue) { if (fleetBuilder_ == null) { fleet_ = builderForValue.build(); } else { @@ -5010,17 +5853,21 @@ public Builder setFleet( return this; } /** + * + * *
      * Required. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { if (fleetBuilder_ == null) { - if (((bitField0_ & 0x00080000) != 0) && - fleet_ != null && - fleet_ != com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance()) { + if (((bitField0_ & 0x00080000) != 0) + && fleet_ != null + && fleet_ != com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance()) { getFleetBuilder().mergeFrom(value); } else { fleet_ = value; @@ -5033,11 +5880,15 @@ public Builder mergeFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { return this; } /** + * + * *
      * Required. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearFleet() { bitField0_ = (bitField0_ & ~0x00080000); @@ -5050,11 +5901,15 @@ public Builder clearFleet() { return this; } /** + * + * *
      * Required. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.Fleet.Builder getFleetBuilder() { bitField0_ |= 0x00080000; @@ -5062,36 +5917,48 @@ public com.google.cloud.gkemulticloud.v1.Fleet.Builder getFleetBuilder() { return getFleetFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder() { if (fleetBuilder_ != null) { return fleetBuilder_.getMessageOrBuilder(); } else { - return fleet_ == null ? - com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() : fleet_; + return fleet_ == null + ? com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance() + : fleet_; } } /** + * + * *
      * Required. Fleet configuration.
      * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.Fleet, com.google.cloud.gkemulticloud.v1.Fleet.Builder, com.google.cloud.gkemulticloud.v1.FleetOrBuilder> + com.google.cloud.gkemulticloud.v1.Fleet, + com.google.cloud.gkemulticloud.v1.Fleet.Builder, + com.google.cloud.gkemulticloud.v1.FleetOrBuilder> getFleetFieldBuilder() { if (fleetBuilder_ == null) { - fleetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.Fleet, com.google.cloud.gkemulticloud.v1.Fleet.Builder, com.google.cloud.gkemulticloud.v1.FleetOrBuilder>( - getFleet(), - getParentForChildren(), - isClean()); + fleetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.Fleet, + com.google.cloud.gkemulticloud.v1.Fleet.Builder, + com.google.cloud.gkemulticloud.v1.FleetOrBuilder>( + getFleet(), getParentForChildren(), isClean()); fleet_ = null; } return fleetBuilder_; @@ -5099,41 +5966,61 @@ public com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder() { private com.google.cloud.gkemulticloud.v1.AzureClusterResources managedResources_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClusterResources, com.google.cloud.gkemulticloud.v1.AzureClusterResources.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterResourcesOrBuilder> managedResourcesBuilder_; + com.google.cloud.gkemulticloud.v1.AzureClusterResources, + com.google.cloud.gkemulticloud.v1.AzureClusterResources.Builder, + com.google.cloud.gkemulticloud.v1.AzureClusterResourcesOrBuilder> + managedResourcesBuilder_; /** + * + * *
      * Output only. Managed Azure resources for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the managedResources field is set. */ public boolean hasManagedResources() { return ((bitField0_ & 0x00100000) != 0); } /** + * + * *
      * Output only. Managed Azure resources for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The managedResources. */ public com.google.cloud.gkemulticloud.v1.AzureClusterResources getManagedResources() { if (managedResourcesBuilder_ == null) { - return managedResources_ == null ? com.google.cloud.gkemulticloud.v1.AzureClusterResources.getDefaultInstance() : managedResources_; + return managedResources_ == null + ? com.google.cloud.gkemulticloud.v1.AzureClusterResources.getDefaultInstance() + : managedResources_; } else { return managedResourcesBuilder_.getMessage(); } } /** + * + * *
      * Output only. Managed Azure resources for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setManagedResources(com.google.cloud.gkemulticloud.v1.AzureClusterResources value) { + public Builder setManagedResources( + com.google.cloud.gkemulticloud.v1.AzureClusterResources value) { if (managedResourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5147,11 +6034,15 @@ public Builder setManagedResources(com.google.cloud.gkemulticloud.v1.AzureCluste return this; } /** + * + * *
      * Output only. Managed Azure resources for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setManagedResources( com.google.cloud.gkemulticloud.v1.AzureClusterResources.Builder builderForValue) { @@ -5165,17 +6056,23 @@ public Builder setManagedResources( return this; } /** + * + * *
      * Output only. Managed Azure resources for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeManagedResources(com.google.cloud.gkemulticloud.v1.AzureClusterResources value) { + public Builder mergeManagedResources( + com.google.cloud.gkemulticloud.v1.AzureClusterResources value) { if (managedResourcesBuilder_ == null) { - if (((bitField0_ & 0x00100000) != 0) && - managedResources_ != null && - managedResources_ != com.google.cloud.gkemulticloud.v1.AzureClusterResources.getDefaultInstance()) { + if (((bitField0_ & 0x00100000) != 0) + && managedResources_ != null + && managedResources_ + != com.google.cloud.gkemulticloud.v1.AzureClusterResources.getDefaultInstance()) { getManagedResourcesBuilder().mergeFrom(value); } else { managedResources_ = value; @@ -5188,11 +6085,15 @@ public Builder mergeManagedResources(com.google.cloud.gkemulticloud.v1.AzureClus return this; } /** + * + * *
      * Output only. Managed Azure resources for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearManagedResources() { bitField0_ = (bitField0_ & ~0x00100000); @@ -5205,48 +6106,66 @@ public Builder clearManagedResources() { return this; } /** + * + * *
      * Output only. Managed Azure resources for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.gkemulticloud.v1.AzureClusterResources.Builder getManagedResourcesBuilder() { + public com.google.cloud.gkemulticloud.v1.AzureClusterResources.Builder + getManagedResourcesBuilder() { bitField0_ |= 0x00100000; onChanged(); return getManagedResourcesFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Managed Azure resources for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.gkemulticloud.v1.AzureClusterResourcesOrBuilder getManagedResourcesOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AzureClusterResourcesOrBuilder + getManagedResourcesOrBuilder() { if (managedResourcesBuilder_ != null) { return managedResourcesBuilder_.getMessageOrBuilder(); } else { - return managedResources_ == null ? - com.google.cloud.gkemulticloud.v1.AzureClusterResources.getDefaultInstance() : managedResources_; + return managedResources_ == null + ? com.google.cloud.gkemulticloud.v1.AzureClusterResources.getDefaultInstance() + : managedResources_; } } /** + * + * *
      * Output only. Managed Azure resources for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClusterResources, com.google.cloud.gkemulticloud.v1.AzureClusterResources.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterResourcesOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureClusterResources, + com.google.cloud.gkemulticloud.v1.AzureClusterResources.Builder, + com.google.cloud.gkemulticloud.v1.AzureClusterResourcesOrBuilder> getManagedResourcesFieldBuilder() { if (managedResourcesBuilder_ == null) { - managedResourcesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClusterResources, com.google.cloud.gkemulticloud.v1.AzureClusterResources.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterResourcesOrBuilder>( - getManagedResources(), - getParentForChildren(), - isClean()); + managedResourcesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureClusterResources, + com.google.cloud.gkemulticloud.v1.AzureClusterResources.Builder, + com.google.cloud.gkemulticloud.v1.AzureClusterResourcesOrBuilder>( + getManagedResources(), getParentForChildren(), isClean()); managedResources_ = null; } return managedResourcesBuilder_; @@ -5254,39 +6173,58 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterResourcesOrBuilder getManag private com.google.cloud.gkemulticloud.v1.LoggingConfig loggingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.LoggingConfig, com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder> loggingConfigBuilder_; + com.google.cloud.gkemulticloud.v1.LoggingConfig, + com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, + com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder> + loggingConfigBuilder_; /** + * + * *
      * Optional. Logging configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return ((bitField0_ & 0x00200000) != 0); } /** + * + * *
      * Optional. Logging configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The loggingConfig. */ public com.google.cloud.gkemulticloud.v1.LoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { - return loggingConfig_ == null ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() + : loggingConfig_; } else { return loggingConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. Logging configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setLoggingConfig(com.google.cloud.gkemulticloud.v1.LoggingConfig value) { if (loggingConfigBuilder_ == null) { @@ -5302,11 +6240,15 @@ public Builder setLoggingConfig(com.google.cloud.gkemulticloud.v1.LoggingConfig return this; } /** + * + * *
      * Optional. Logging configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setLoggingConfig( com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder builderForValue) { @@ -5320,17 +6262,22 @@ public Builder setLoggingConfig( return this; } /** + * + * *
      * Optional. Logging configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeLoggingConfig(com.google.cloud.gkemulticloud.v1.LoggingConfig value) { if (loggingConfigBuilder_ == null) { - if (((bitField0_ & 0x00200000) != 0) && - loggingConfig_ != null && - loggingConfig_ != com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00200000) != 0) + && loggingConfig_ != null + && loggingConfig_ + != com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance()) { getLoggingConfigBuilder().mergeFrom(value); } else { loggingConfig_ = value; @@ -5343,11 +6290,15 @@ public Builder mergeLoggingConfig(com.google.cloud.gkemulticloud.v1.LoggingConfi return this; } /** + * + * *
      * Optional. Logging configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearLoggingConfig() { bitField0_ = (bitField0_ & ~0x00200000); @@ -5360,11 +6311,15 @@ public Builder clearLoggingConfig() { return this; } /** + * + * *
      * Optional. Logging configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder getLoggingConfigBuilder() { bitField0_ |= 0x00200000; @@ -5372,59 +6327,80 @@ public com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder getLoggingConfigB return getLoggingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Logging configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder() { if (loggingConfigBuilder_ != null) { return loggingConfigBuilder_.getMessageOrBuilder(); } else { - return loggingConfig_ == null ? - com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance() + : loggingConfig_; } } /** + * + * *
      * Optional. Logging configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.LoggingConfig, com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.LoggingConfig, + com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, + com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder> getLoggingConfigFieldBuilder() { if (loggingConfigBuilder_ == null) { - loggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.LoggingConfig, com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder>( - getLoggingConfig(), - getParentForChildren(), - isClean()); + loggingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.LoggingConfig, + com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder, + com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder>( + getLoggingConfig(), getParentForChildren(), isClean()); loggingConfig_ = null; } return loggingConfigBuilder_; } private java.util.List errors_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00400000) != 0)) { - errors_ = new java.util.ArrayList(errors_); + errors_ = + new java.util.ArrayList(errors_); bitField0_ |= 0x00400000; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClusterError, com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterErrorOrBuilder> errorsBuilder_; + com.google.cloud.gkemulticloud.v1.AzureClusterError, + com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder, + com.google.cloud.gkemulticloud.v1.AzureClusterErrorOrBuilder> + errorsBuilder_; /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getErrorsList() { if (errorsBuilder_ == null) { @@ -5434,11 +6410,15 @@ public java.util.List getEr } } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -5448,11 +6428,15 @@ public int getErrorsCount() { } } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.gkemulticloud.v1.AzureClusterError getErrors(int index) { if (errorsBuilder_ == null) { @@ -5462,14 +6446,17 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterError getErrors(int index) } } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setErrors( - int index, com.google.cloud.gkemulticloud.v1.AzureClusterError value) { + public Builder setErrors(int index, com.google.cloud.gkemulticloud.v1.AzureClusterError value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5483,11 +6470,15 @@ public Builder setErrors( return this; } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setErrors( int index, com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder builderForValue) { @@ -5501,11 +6492,15 @@ public Builder setErrors( return this; } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addErrors(com.google.cloud.gkemulticloud.v1.AzureClusterError value) { if (errorsBuilder_ == null) { @@ -5521,14 +6516,17 @@ public Builder addErrors(com.google.cloud.gkemulticloud.v1.AzureClusterError val return this; } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addErrors( - int index, com.google.cloud.gkemulticloud.v1.AzureClusterError value) { + public Builder addErrors(int index, com.google.cloud.gkemulticloud.v1.AzureClusterError value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5542,11 +6540,15 @@ public Builder addErrors( return this; } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addErrors( com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder builderForValue) { @@ -5560,11 +6562,15 @@ public Builder addErrors( return this; } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addErrors( int index, com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder builderForValue) { @@ -5578,18 +6584,21 @@ public Builder addErrors( return this; } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllErrors( java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -5597,11 +6606,15 @@ public Builder addAllErrors( return this; } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -5614,11 +6627,15 @@ public Builder clearErrors() { return this; } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -5631,39 +6648,51 @@ public Builder removeErrors(int index) { return this; } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder getErrorsBuilder( - int index) { + public com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder getErrorsBuilder(int index) { return getErrorsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.gkemulticloud.v1.AzureClusterErrorOrBuilder getErrorsOrBuilder( int index) { if (errorsBuilder_ == null) { - return errors_.get(index); } else { + return errors_.get(index); + } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -5671,49 +6700,64 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterErrorOrBuilder getErrorsOrB } } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder addErrorsBuilder() { - return getErrorsFieldBuilder().addBuilder( - com.google.cloud.gkemulticloud.v1.AzureClusterError.getDefaultInstance()); + return getErrorsFieldBuilder() + .addBuilder(com.google.cloud.gkemulticloud.v1.AzureClusterError.getDefaultInstance()); } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder addErrorsBuilder( - int index) { - return getErrorsFieldBuilder().addBuilder( - index, com.google.cloud.gkemulticloud.v1.AzureClusterError.getDefaultInstance()); + public com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder addErrorsBuilder(int index) { + return getErrorsFieldBuilder() + .addBuilder( + index, com.google.cloud.gkemulticloud.v1.AzureClusterError.getDefaultInstance()); } /** + * + * *
      * Output only. A set of errors found in the cluster.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClusterError, com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterErrorOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureClusterError, + com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder, + com.google.cloud.gkemulticloud.v1.AzureClusterErrorOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClusterError, com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterErrorOrBuilder>( - errors_, - ((bitField0_ & 0x00400000) != 0), - getParentForChildren(), - isClean()); + errorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureClusterError, + com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder, + com.google.cloud.gkemulticloud.v1.AzureClusterErrorOrBuilder>( + errors_, ((bitField0_ & 0x00400000) != 0), getParentForChildren(), isClean()); errors_ = null; } return errorsBuilder_; @@ -5721,39 +6765,58 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder addErrorsBuil private com.google.cloud.gkemulticloud.v1.MonitoringConfig monitoringConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.MonitoringConfig, com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder> monitoringConfigBuilder_; + com.google.cloud.gkemulticloud.v1.MonitoringConfig, + com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, + com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder> + monitoringConfigBuilder_; /** + * + * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the monitoringConfig field is set. */ public boolean hasMonitoringConfig() { return ((bitField0_ & 0x00800000) != 0); } /** + * + * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The monitoringConfig. */ public com.google.cloud.gkemulticloud.v1.MonitoringConfig getMonitoringConfig() { if (monitoringConfigBuilder_ == null) { - return monitoringConfig_ == null ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; + return monitoringConfig_ == null + ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() + : monitoringConfig_; } else { return monitoringConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setMonitoringConfig(com.google.cloud.gkemulticloud.v1.MonitoringConfig value) { if (monitoringConfigBuilder_ == null) { @@ -5769,11 +6832,15 @@ public Builder setMonitoringConfig(com.google.cloud.gkemulticloud.v1.MonitoringC return this; } /** + * + * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setMonitoringConfig( com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder builderForValue) { @@ -5787,17 +6854,22 @@ public Builder setMonitoringConfig( return this; } /** + * + * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeMonitoringConfig(com.google.cloud.gkemulticloud.v1.MonitoringConfig value) { if (monitoringConfigBuilder_ == null) { - if (((bitField0_ & 0x00800000) != 0) && - monitoringConfig_ != null && - monitoringConfig_ != com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00800000) != 0) + && monitoringConfig_ != null + && monitoringConfig_ + != com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance()) { getMonitoringConfigBuilder().mergeFrom(value); } else { monitoringConfig_ = value; @@ -5810,11 +6882,15 @@ public Builder mergeMonitoringConfig(com.google.cloud.gkemulticloud.v1.Monitorin return this; } /** + * + * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearMonitoringConfig() { bitField0_ = (bitField0_ & ~0x00800000); @@ -5827,11 +6903,15 @@ public Builder clearMonitoringConfig() { return this; } /** + * + * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder getMonitoringConfigBuilder() { bitField0_ |= 0x00800000; @@ -5839,43 +6919,56 @@ public com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder getMonitoringC return getMonitoringConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBuilder() { + public com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder + getMonitoringConfigOrBuilder() { if (monitoringConfigBuilder_ != null) { return monitoringConfigBuilder_.getMessageOrBuilder(); } else { - return monitoringConfig_ == null ? - com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; + return monitoringConfig_ == null + ? com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance() + : monitoringConfig_; } } /** + * + * *
      * Optional. Monitoring configuration for this cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.MonitoringConfig, com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.MonitoringConfig, + com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, + com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder> getMonitoringConfigFieldBuilder() { if (monitoringConfigBuilder_ == null) { - monitoringConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.MonitoringConfig, com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder>( - getMonitoringConfig(), - getParentForChildren(), - isClean()); + monitoringConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.MonitoringConfig, + com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder, + com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder>( + getMonitoringConfig(), getParentForChildren(), isClean()); monitoringConfig_ = null; } return monitoringConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5885,12 +6978,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureCluster) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureCluster) private static final com.google.cloud.gkemulticloud.v1.AzureCluster DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureCluster(); } @@ -5899,27 +6992,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureCluster getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureCluster parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureCluster parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5934,6 +7027,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureCluster getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterError.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterError.java similarity index 66% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterError.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterError.java index 12a9177dd982..27fef2361b8a 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterError.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterError.java @@ -1,57 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * AzureClusterError describes errors found on Azure clusters.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureClusterError} */ -public final class AzureClusterError extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AzureClusterError extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureClusterError) AzureClusterErrorOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AzureClusterError.newBuilder() to construct. private AzureClusterError(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AzureClusterError() { message_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AzureClusterError(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureClusterError.class, com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureClusterError.class, + com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder.class); } public static final int MESSAGE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** + * + * *
    * Human-friendly description of the error.
    * 
* * string message = 1; + * * @return The message. */ @java.lang.Override @@ -60,29 +83,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** + * + * *
    * Human-friendly description of the error.
    * 
* * string message = 1; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -91,6 +114,7 @@ public java.lang.String getMessage() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,8 +126,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } @@ -127,15 +150,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureClusterError)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureClusterError other = (com.google.cloud.gkemulticloud.v1.AzureClusterError) obj; + com.google.cloud.gkemulticloud.v1.AzureClusterError other = + (com.google.cloud.gkemulticloud.v1.AzureClusterError) obj; - if (!getMessage() - .equals(other.getMessage())) return false; + if (!getMessage().equals(other.getMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -155,131 +178,135 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AzureClusterError parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterError parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterError parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterError parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterError parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterError parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AzureClusterError parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterError parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterError parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureClusterError parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureClusterError parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterError parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterError parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureClusterError prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * AzureClusterError describes errors found on Azure clusters.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureClusterError} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureClusterError) com.google.cloud.gkemulticloud.v1.AzureClusterErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureClusterError.class, com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureClusterError.class, + com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AzureClusterError.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -289,9 +316,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_descriptor; } @java.lang.Override @@ -310,8 +337,11 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterError build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureClusterError buildPartial() { - com.google.cloud.gkemulticloud.v1.AzureClusterError result = new com.google.cloud.gkemulticloud.v1.AzureClusterError(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.AzureClusterError result = + new com.google.cloud.gkemulticloud.v1.AzureClusterError(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -327,38 +357,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureClusterError r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AzureClusterError) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureClusterError)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureClusterError) other); } else { super.mergeFrom(other); return this; @@ -366,7 +397,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureClusterError other) { - if (other == com.google.cloud.gkemulticloud.v1.AzureClusterError.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AzureClusterError.getDefaultInstance()) + return this; if (!other.getMessage().isEmpty()) { message_ = other.message_; bitField0_ |= 0x00000001; @@ -398,17 +430,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -418,22 +452,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object message_ = ""; /** + * + * *
      * Human-friendly description of the error.
      * 
* * string message = 1; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -442,20 +479,21 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Human-friendly description of the error.
      * 
* * string message = 1; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -463,28 +501,35 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Human-friendly description of the error.
      * 
* * string message = 1; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Human-friendly description of the error.
      * 
* * string message = 1; + * * @return This builder for chaining. */ public Builder clearMessage() { @@ -494,26 +539,30 @@ public Builder clearMessage() { return this; } /** + * + * *
      * Human-friendly description of the error.
      * 
* * string message = 1; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -523,12 +572,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureClusterError) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureClusterError) private static final com.google.cloud.gkemulticloud.v1.AzureClusterError DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureClusterError(); } @@ -537,27 +586,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureClusterError getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureClusterError parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureClusterError parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -572,6 +621,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureClusterError getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterErrorOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterErrorOrBuilder.java new file mode 100644 index 000000000000..bbe4534a1173 --- /dev/null +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterErrorOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface AzureClusterErrorOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureClusterError) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Human-friendly description of the error.
+   * 
+ * + * string message = 1; + * + * @return The message. + */ + java.lang.String getMessage(); + /** + * + * + *
+   * Human-friendly description of the error.
+   * 
+ * + * string message = 1; + * + * @return The bytes for message. + */ + com.google.protobuf.ByteString getMessageBytes(); +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterGroup.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterGroup.java similarity index 67% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterGroup.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterGroup.java index aac364e91749..d219437c780a 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterGroup.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterGroup.java @@ -1,57 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Identities of a group-type subject for Azure clusters.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureClusterGroup} */ -public final class AzureClusterGroup extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AzureClusterGroup extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureClusterGroup) AzureClusterGroupOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AzureClusterGroup.newBuilder() to construct. private AzureClusterGroup(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AzureClusterGroup() { group_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AzureClusterGroup(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterGroup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureClusterGroup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterGroup_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureClusterGroup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureClusterGroup.class, com.google.cloud.gkemulticloud.v1.AzureClusterGroup.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureClusterGroup.class, + com.google.cloud.gkemulticloud.v1.AzureClusterGroup.Builder.class); } public static final int GROUP_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object group_ = ""; /** + * + * *
    * Required. The name of the group, e.g. `my-group@domain.com`.
    * 
* * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The group. */ @java.lang.Override @@ -60,29 +83,29 @@ public java.lang.String getGroup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); group_ = s; return s; } } /** + * + * *
    * Required. The name of the group, e.g. `my-group@domain.com`.
    * 
* * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for group. */ @java.lang.Override - public com.google.protobuf.ByteString - getGroupBytes() { + public com.google.protobuf.ByteString getGroupBytes() { java.lang.Object ref = group_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); group_ = b; return b; } else { @@ -91,6 +114,7 @@ public java.lang.String getGroup() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,8 +126,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(group_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, group_); } @@ -127,15 +150,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureClusterGroup)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureClusterGroup other = (com.google.cloud.gkemulticloud.v1.AzureClusterGroup) obj; + com.google.cloud.gkemulticloud.v1.AzureClusterGroup other = + (com.google.cloud.gkemulticloud.v1.AzureClusterGroup) obj; - if (!getGroup() - .equals(other.getGroup())) return false; + if (!getGroup().equals(other.getGroup())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -155,131 +178,135 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AzureClusterGroup parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterGroup parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterGroup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterGroup parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterGroup parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterGroup parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AzureClusterGroup parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterGroup parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterGroup parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureClusterGroup parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureClusterGroup parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterGroup parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterGroup parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureClusterGroup prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Identities of a group-type subject for Azure clusters.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureClusterGroup} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureClusterGroup) com.google.cloud.gkemulticloud.v1.AzureClusterGroupOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterGroup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureClusterGroup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterGroup_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureClusterGroup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureClusterGroup.class, com.google.cloud.gkemulticloud.v1.AzureClusterGroup.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureClusterGroup.class, + com.google.cloud.gkemulticloud.v1.AzureClusterGroup.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AzureClusterGroup.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -289,9 +316,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterGroup_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureClusterGroup_descriptor; } @java.lang.Override @@ -310,8 +337,11 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterGroup build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureClusterGroup buildPartial() { - com.google.cloud.gkemulticloud.v1.AzureClusterGroup result = new com.google.cloud.gkemulticloud.v1.AzureClusterGroup(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.AzureClusterGroup result = + new com.google.cloud.gkemulticloud.v1.AzureClusterGroup(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -327,38 +357,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureClusterGroup r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AzureClusterGroup) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureClusterGroup)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureClusterGroup) other); } else { super.mergeFrom(other); return this; @@ -366,7 +397,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureClusterGroup other) { - if (other == com.google.cloud.gkemulticloud.v1.AzureClusterGroup.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AzureClusterGroup.getDefaultInstance()) + return this; if (!other.getGroup().isEmpty()) { group_ = other.group_; bitField0_ |= 0x00000001; @@ -398,17 +430,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - group_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + group_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -418,22 +452,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object group_ = ""; /** + * + * *
      * Required. The name of the group, e.g. `my-group@domain.com`.
      * 
* * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The group. */ public java.lang.String getGroup() { java.lang.Object ref = group_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); group_ = s; return s; @@ -442,20 +479,21 @@ public java.lang.String getGroup() { } } /** + * + * *
      * Required. The name of the group, e.g. `my-group@domain.com`.
      * 
* * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for group. */ - public com.google.protobuf.ByteString - getGroupBytes() { + public com.google.protobuf.ByteString getGroupBytes() { java.lang.Object ref = group_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); group_ = b; return b; } else { @@ -463,28 +501,35 @@ public java.lang.String getGroup() { } } /** + * + * *
      * Required. The name of the group, e.g. `my-group@domain.com`.
      * 
* * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The group to set. * @return This builder for chaining. */ - public Builder setGroup( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGroup(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } group_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the group, e.g. `my-group@domain.com`.
      * 
* * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearGroup() { @@ -494,26 +539,30 @@ public Builder clearGroup() { return this; } /** + * + * *
      * Required. The name of the group, e.g. `my-group@domain.com`.
      * 
* * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for group to set. * @return This builder for chaining. */ - public Builder setGroupBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGroupBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); group_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -523,12 +572,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureClusterGroup) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureClusterGroup) private static final com.google.cloud.gkemulticloud.v1.AzureClusterGroup DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureClusterGroup(); } @@ -537,27 +586,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureClusterGroup getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureClusterGroup parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureClusterGroup parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -572,6 +621,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureClusterGroup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterGroupOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterGroupOrBuilder.java similarity index 51% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterGroupOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterGroupOrBuilder.java index 3c71bb5692d7..0759b23e53fc 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterGroupOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterGroupOrBuilder.java @@ -1,29 +1,50 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureClusterGroupOrBuilder extends +public interface AzureClusterGroupOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureClusterGroup) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the group, e.g. `my-group@domain.com`.
    * 
* * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The group. */ java.lang.String getGroup(); /** + * + * *
    * Required. The name of the group, e.g. `my-group@domain.com`.
    * 
* * string group = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for group. */ - com.google.protobuf.ByteString - getGroupBytes(); + com.google.protobuf.ByteString getGroupBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterName.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterName.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterName.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterName.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworking.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworking.java similarity index 73% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworking.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworking.java index b0c80c46e384..c4b67b7e7715 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworking.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworking.java @@ -1,57 +1,77 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * ClusterNetworking contains cluster-wide networking configuration.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureClusterNetworking} */ -public final class AzureClusterNetworking extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AzureClusterNetworking extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureClusterNetworking) AzureClusterNetworkingOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AzureClusterNetworking.newBuilder() to construct. private AzureClusterNetworking(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AzureClusterNetworking() { virtualNetworkId_ = ""; - podAddressCidrBlocks_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - serviceAddressCidrBlocks_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + podAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList(); + serviceAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList(); serviceLoadBalancerSubnetId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AzureClusterNetworking(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.class, com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.class, + com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.Builder.class); } public static final int VIRTUAL_NETWORK_ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object virtualNetworkId_ = ""; /** + * + * *
    * Required. The Azure Resource Manager (ARM) ID of the VNet associated with
    * your cluster.
@@ -66,6 +86,7 @@ protected java.lang.Object newInstance(
    * 
* * string virtual_network_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The virtualNetworkId. */ @java.lang.Override @@ -74,14 +95,15 @@ public java.lang.String getVirtualNetworkId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); virtualNetworkId_ = s; return s; } } /** + * + * *
    * Required. The Azure Resource Manager (ARM) ID of the VNet associated with
    * your cluster.
@@ -96,16 +118,15 @@ public java.lang.String getVirtualNetworkId() {
    * 
* * string virtual_network_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for virtualNetworkId. */ @java.lang.Override - public com.google.protobuf.ByteString - getVirtualNetworkIdBytes() { + public com.google.protobuf.ByteString getVirtualNetworkIdBytes() { java.lang.Object ref = virtualNetworkId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); virtualNetworkId_ = b; return b; } else { @@ -114,10 +135,13 @@ public java.lang.String getVirtualNetworkId() { } public static final int POD_ADDRESS_CIDR_BLOCKS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList podAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Required. The IP address range of the pods in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -128,14 +152,17 @@ public java.lang.String getVirtualNetworkId() {
    * This field cannot be changed after creation.
    * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the podAddressCidrBlocks. */ - public com.google.protobuf.ProtocolStringList - getPodAddressCidrBlocksList() { + public com.google.protobuf.ProtocolStringList getPodAddressCidrBlocksList() { return podAddressCidrBlocks_; } /** + * + * *
    * Required. The IP address range of the pods in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -146,13 +173,17 @@ public java.lang.String getVirtualNetworkId() {
    * This field cannot be changed after creation.
    * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of podAddressCidrBlocks. */ public int getPodAddressCidrBlocksCount() { return podAddressCidrBlocks_.size(); } /** + * + * *
    * Required. The IP address range of the pods in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -163,7 +194,9 @@ public int getPodAddressCidrBlocksCount() {
    * This field cannot be changed after creation.
    * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The podAddressCidrBlocks at the given index. */ @@ -171,6 +204,8 @@ public java.lang.String getPodAddressCidrBlocks(int index) { return podAddressCidrBlocks_.get(index); } /** + * + * *
    * Required. The IP address range of the pods in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -181,20 +216,24 @@ public java.lang.String getPodAddressCidrBlocks(int index) {
    * This field cannot be changed after creation.
    * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The bytes of the podAddressCidrBlocks at the given index. */ - public com.google.protobuf.ByteString - getPodAddressCidrBlocksBytes(int index) { + public com.google.protobuf.ByteString getPodAddressCidrBlocksBytes(int index) { return podAddressCidrBlocks_.getByteString(index); } public static final int SERVICE_ADDRESS_CIDR_BLOCKS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList serviceAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Required. The IP address range for services in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -205,14 +244,18 @@ public java.lang.String getPodAddressCidrBlocks(int index) {
    * This field cannot be changed after creating a cluster.
    * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the serviceAddressCidrBlocks. */ - public com.google.protobuf.ProtocolStringList - getServiceAddressCidrBlocksList() { + public com.google.protobuf.ProtocolStringList getServiceAddressCidrBlocksList() { return serviceAddressCidrBlocks_; } /** + * + * *
    * Required. The IP address range for services in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -223,13 +266,18 @@ public java.lang.String getPodAddressCidrBlocks(int index) {
    * This field cannot be changed after creating a cluster.
    * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of serviceAddressCidrBlocks. */ public int getServiceAddressCidrBlocksCount() { return serviceAddressCidrBlocks_.size(); } /** + * + * *
    * Required. The IP address range for services in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -240,7 +288,10 @@ public int getServiceAddressCidrBlocksCount() {
    * This field cannot be changed after creating a cluster.
    * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The serviceAddressCidrBlocks at the given index. */ @@ -248,6 +299,8 @@ public java.lang.String getServiceAddressCidrBlocks(int index) { return serviceAddressCidrBlocks_.get(index); } /** + * + * *
    * Required. The IP address range for services in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -258,19 +311,24 @@ public java.lang.String getServiceAddressCidrBlocks(int index) {
    * This field cannot be changed after creating a cluster.
    * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The bytes of the serviceAddressCidrBlocks at the given index. */ - public com.google.protobuf.ByteString - getServiceAddressCidrBlocksBytes(int index) { + public com.google.protobuf.ByteString getServiceAddressCidrBlocksBytes(int index) { return serviceAddressCidrBlocks_.getByteString(index); } public static final int SERVICE_LOAD_BALANCER_SUBNET_ID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object serviceLoadBalancerSubnetId_ = ""; /** + * + * *
    * Optional. The ARM ID of the subnet where Kubernetes private service type
    * load balancers are deployed. When unspecified, it defaults to
@@ -280,7 +338,9 @@ public java.lang.String getServiceAddressCidrBlocks(int index) {
    * "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid456"
    * 
* - * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The serviceLoadBalancerSubnetId. */ @java.lang.Override @@ -289,14 +349,15 @@ public java.lang.String getServiceLoadBalancerSubnetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceLoadBalancerSubnetId_ = s; return s; } } /** + * + * *
    * Optional. The ARM ID of the subnet where Kubernetes private service type
    * load balancers are deployed. When unspecified, it defaults to
@@ -306,17 +367,17 @@ public java.lang.String getServiceLoadBalancerSubnetId() {
    * "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid456"
    * 
* - * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The bytes for serviceLoadBalancerSubnetId. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceLoadBalancerSubnetIdBytes() { + public com.google.protobuf.ByteString getServiceLoadBalancerSubnetIdBytes() { java.lang.Object ref = serviceLoadBalancerSubnetId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceLoadBalancerSubnetId_ = b; return b; } else { @@ -325,6 +386,7 @@ public java.lang.String getServiceLoadBalancerSubnetId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -336,16 +398,17 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(virtualNetworkId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, virtualNetworkId_); } for (int i = 0; i < podAddressCidrBlocks_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, podAddressCidrBlocks_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 2, podAddressCidrBlocks_.getRaw(i)); } for (int i = 0; i < serviceAddressCidrBlocks_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, serviceAddressCidrBlocks_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 3, serviceAddressCidrBlocks_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceLoadBalancerSubnetId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, serviceLoadBalancerSubnetId_); @@ -379,7 +442,8 @@ public int getSerializedSize() { size += 1 * getServiceAddressCidrBlocksList().size(); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceLoadBalancerSubnetId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, serviceLoadBalancerSubnetId_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(5, serviceLoadBalancerSubnetId_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -389,21 +453,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureClusterNetworking)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureClusterNetworking other = (com.google.cloud.gkemulticloud.v1.AzureClusterNetworking) obj; + com.google.cloud.gkemulticloud.v1.AzureClusterNetworking other = + (com.google.cloud.gkemulticloud.v1.AzureClusterNetworking) obj; - if (!getVirtualNetworkId() - .equals(other.getVirtualNetworkId())) return false; - if (!getPodAddressCidrBlocksList() - .equals(other.getPodAddressCidrBlocksList())) return false; - if (!getServiceAddressCidrBlocksList() - .equals(other.getServiceAddressCidrBlocksList())) return false; - if (!getServiceLoadBalancerSubnetId() - .equals(other.getServiceLoadBalancerSubnetId())) return false; + if (!getVirtualNetworkId().equals(other.getVirtualNetworkId())) return false; + if (!getPodAddressCidrBlocksList().equals(other.getPodAddressCidrBlocksList())) return false; + if (!getServiceAddressCidrBlocksList().equals(other.getServiceAddressCidrBlocksList())) + return false; + if (!getServiceLoadBalancerSubnetId().equals(other.getServiceLoadBalancerSubnetId())) + return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -433,148 +496,151 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AzureClusterNetworking parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterNetworking parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterNetworking parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterNetworking parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterNetworking parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterNetworking parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterNetworking parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AzureClusterNetworking parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterNetworking parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterNetworking parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureClusterNetworking parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureClusterNetworking parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterNetworking parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterNetworking parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureClusterNetworking prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.AzureClusterNetworking prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ClusterNetworking contains cluster-wide networking configuration.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureClusterNetworking} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureClusterNetworking) com.google.cloud.gkemulticloud.v1.AzureClusterNetworkingOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.class, com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.class, + com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; virtualNetworkId_ = ""; - podAddressCidrBlocks_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - serviceAddressCidrBlocks_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + podAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList(); + serviceAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList(); serviceLoadBalancerSubnetId_ = ""; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_descriptor; } @java.lang.Override @@ -593,8 +659,11 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterNetworking build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureClusterNetworking buildPartial() { - com.google.cloud.gkemulticloud.v1.AzureClusterNetworking result = new com.google.cloud.gkemulticloud.v1.AzureClusterNetworking(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.AzureClusterNetworking result = + new com.google.cloud.gkemulticloud.v1.AzureClusterNetworking(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -621,38 +690,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureClusterNetwork public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AzureClusterNetworking) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureClusterNetworking)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureClusterNetworking) other); } else { super.mergeFrom(other); return this; @@ -660,7 +730,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureClusterNetworking other) { - if (other == com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AzureClusterNetworking.getDefaultInstance()) + return this; if (!other.getVirtualNetworkId().isEmpty()) { virtualNetworkId_ = other.virtualNetworkId_; bitField0_ |= 0x00000001; @@ -717,34 +788,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - virtualNetworkId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensurePodAddressCidrBlocksIsMutable(); - podAddressCidrBlocks_.add(s); - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureServiceAddressCidrBlocksIsMutable(); - serviceAddressCidrBlocks_.add(s); - break; - } // case 26 - case 42: { - serviceLoadBalancerSubnetId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + virtualNetworkId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensurePodAddressCidrBlocksIsMutable(); + podAddressCidrBlocks_.add(s); + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureServiceAddressCidrBlocksIsMutable(); + serviceAddressCidrBlocks_.add(s); + break; + } // case 26 + case 42: + { + serviceLoadBalancerSubnetId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -754,10 +830,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object virtualNetworkId_ = ""; /** + * + * *
      * Required. The Azure Resource Manager (ARM) ID of the VNet associated with
      * your cluster.
@@ -772,13 +851,13 @@ public Builder mergeFrom(
      * 
* * string virtual_network_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The virtualNetworkId. */ public java.lang.String getVirtualNetworkId() { java.lang.Object ref = virtualNetworkId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); virtualNetworkId_ = s; return s; @@ -787,6 +866,8 @@ public java.lang.String getVirtualNetworkId() { } } /** + * + * *
      * Required. The Azure Resource Manager (ARM) ID of the VNet associated with
      * your cluster.
@@ -801,15 +882,14 @@ public java.lang.String getVirtualNetworkId() {
      * 
* * string virtual_network_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for virtualNetworkId. */ - public com.google.protobuf.ByteString - getVirtualNetworkIdBytes() { + public com.google.protobuf.ByteString getVirtualNetworkIdBytes() { java.lang.Object ref = virtualNetworkId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); virtualNetworkId_ = b; return b; } else { @@ -817,6 +897,8 @@ public java.lang.String getVirtualNetworkId() { } } /** + * + * *
      * Required. The Azure Resource Manager (ARM) ID of the VNet associated with
      * your cluster.
@@ -831,18 +913,22 @@ public java.lang.String getVirtualNetworkId() {
      * 
* * string virtual_network_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The virtualNetworkId to set. * @return This builder for chaining. */ - public Builder setVirtualNetworkId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVirtualNetworkId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } virtualNetworkId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The Azure Resource Manager (ARM) ID of the VNet associated with
      * your cluster.
@@ -857,6 +943,7 @@ public Builder setVirtualNetworkId(
      * 
* * string virtual_network_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearVirtualNetworkId() { @@ -866,6 +953,8 @@ public Builder clearVirtualNetworkId() { return this; } /** + * + * *
      * Required. The Azure Resource Manager (ARM) ID of the VNet associated with
      * your cluster.
@@ -880,12 +969,14 @@ public Builder clearVirtualNetworkId() {
      * 
* * string virtual_network_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for virtualNetworkId to set. * @return This builder for chaining. */ - public Builder setVirtualNetworkIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVirtualNetworkIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); virtualNetworkId_ = value; bitField0_ |= 0x00000001; @@ -895,6 +986,7 @@ public Builder setVirtualNetworkIdBytes( private com.google.protobuf.LazyStringArrayList podAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensurePodAddressCidrBlocksIsMutable() { if (!podAddressCidrBlocks_.isModifiable()) { podAddressCidrBlocks_ = new com.google.protobuf.LazyStringArrayList(podAddressCidrBlocks_); @@ -902,6 +994,8 @@ private void ensurePodAddressCidrBlocksIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * Required. The IP address range of the pods in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -912,15 +1006,18 @@ private void ensurePodAddressCidrBlocksIsMutable() {
      * This field cannot be changed after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the podAddressCidrBlocks. */ - public com.google.protobuf.ProtocolStringList - getPodAddressCidrBlocksList() { + public com.google.protobuf.ProtocolStringList getPodAddressCidrBlocksList() { podAddressCidrBlocks_.makeImmutable(); return podAddressCidrBlocks_; } /** + * + * *
      * Required. The IP address range of the pods in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -931,13 +1028,17 @@ private void ensurePodAddressCidrBlocksIsMutable() {
      * This field cannot be changed after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of podAddressCidrBlocks. */ public int getPodAddressCidrBlocksCount() { return podAddressCidrBlocks_.size(); } /** + * + * *
      * Required. The IP address range of the pods in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -948,7 +1049,9 @@ public int getPodAddressCidrBlocksCount() {
      * This field cannot be changed after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The podAddressCidrBlocks at the given index. */ @@ -956,6 +1059,8 @@ public java.lang.String getPodAddressCidrBlocks(int index) { return podAddressCidrBlocks_.get(index); } /** + * + * *
      * Required. The IP address range of the pods in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -966,15 +1071,18 @@ public java.lang.String getPodAddressCidrBlocks(int index) {
      * This field cannot be changed after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The bytes of the podAddressCidrBlocks at the given index. */ - public com.google.protobuf.ByteString - getPodAddressCidrBlocksBytes(int index) { + public com.google.protobuf.ByteString getPodAddressCidrBlocksBytes(int index) { return podAddressCidrBlocks_.getByteString(index); } /** + * + * *
      * Required. The IP address range of the pods in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -985,14 +1093,17 @@ public java.lang.String getPodAddressCidrBlocks(int index) {
      * This field cannot be changed after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index to set the value at. * @param value The podAddressCidrBlocks to set. * @return This builder for chaining. */ - public Builder setPodAddressCidrBlocks( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPodAddressCidrBlocks(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensurePodAddressCidrBlocksIsMutable(); podAddressCidrBlocks_.set(index, value); bitField0_ |= 0x00000002; @@ -1000,6 +1111,8 @@ public Builder setPodAddressCidrBlocks( return this; } /** + * + * *
      * Required. The IP address range of the pods in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1010,13 +1123,16 @@ public Builder setPodAddressCidrBlocks(
      * This field cannot be changed after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The podAddressCidrBlocks to add. * @return This builder for chaining. */ - public Builder addPodAddressCidrBlocks( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addPodAddressCidrBlocks(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensurePodAddressCidrBlocksIsMutable(); podAddressCidrBlocks_.add(value); bitField0_ |= 0x00000002; @@ -1024,6 +1140,8 @@ public Builder addPodAddressCidrBlocks( return this; } /** + * + * *
      * Required. The IP address range of the pods in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1034,20 +1152,22 @@ public Builder addPodAddressCidrBlocks(
      * This field cannot be changed after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param values The podAddressCidrBlocks to add. * @return This builder for chaining. */ - public Builder addAllPodAddressCidrBlocks( - java.lang.Iterable values) { + public Builder addAllPodAddressCidrBlocks(java.lang.Iterable values) { ensurePodAddressCidrBlocksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, podAddressCidrBlocks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, podAddressCidrBlocks_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The IP address range of the pods in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1058,17 +1178,21 @@ public Builder addAllPodAddressCidrBlocks(
      * This field cannot be changed after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearPodAddressCidrBlocks() { - podAddressCidrBlocks_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + podAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * Required. The IP address range of the pods in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1079,13 +1203,16 @@ public Builder clearPodAddressCidrBlocks() {
      * This field cannot be changed after creation.
      * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The bytes of the podAddressCidrBlocks to add. * @return This builder for chaining. */ - public Builder addPodAddressCidrBlocksBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addPodAddressCidrBlocksBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensurePodAddressCidrBlocksIsMutable(); podAddressCidrBlocks_.add(value); @@ -1096,13 +1223,17 @@ public Builder addPodAddressCidrBlocksBytes( private com.google.protobuf.LazyStringArrayList serviceAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureServiceAddressCidrBlocksIsMutable() { if (!serviceAddressCidrBlocks_.isModifiable()) { - serviceAddressCidrBlocks_ = new com.google.protobuf.LazyStringArrayList(serviceAddressCidrBlocks_); + serviceAddressCidrBlocks_ = + new com.google.protobuf.LazyStringArrayList(serviceAddressCidrBlocks_); } bitField0_ |= 0x00000004; } /** + * + * *
      * Required. The IP address range for services in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1113,15 +1244,19 @@ private void ensureServiceAddressCidrBlocksIsMutable() {
      * This field cannot be changed after creating a cluster.
      * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the serviceAddressCidrBlocks. */ - public com.google.protobuf.ProtocolStringList - getServiceAddressCidrBlocksList() { + public com.google.protobuf.ProtocolStringList getServiceAddressCidrBlocksList() { serviceAddressCidrBlocks_.makeImmutable(); return serviceAddressCidrBlocks_; } /** + * + * *
      * Required. The IP address range for services in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1132,13 +1267,18 @@ private void ensureServiceAddressCidrBlocksIsMutable() {
      * This field cannot be changed after creating a cluster.
      * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of serviceAddressCidrBlocks. */ public int getServiceAddressCidrBlocksCount() { return serviceAddressCidrBlocks_.size(); } /** + * + * *
      * Required. The IP address range for services in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1149,7 +1289,10 @@ public int getServiceAddressCidrBlocksCount() {
      * This field cannot be changed after creating a cluster.
      * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The serviceAddressCidrBlocks at the given index. */ @@ -1157,6 +1300,8 @@ public java.lang.String getServiceAddressCidrBlocks(int index) { return serviceAddressCidrBlocks_.get(index); } /** + * + * *
      * Required. The IP address range for services in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1167,15 +1312,19 @@ public java.lang.String getServiceAddressCidrBlocks(int index) {
      * This field cannot be changed after creating a cluster.
      * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The bytes of the serviceAddressCidrBlocks at the given index. */ - public com.google.protobuf.ByteString - getServiceAddressCidrBlocksBytes(int index) { + public com.google.protobuf.ByteString getServiceAddressCidrBlocksBytes(int index) { return serviceAddressCidrBlocks_.getByteString(index); } /** + * + * *
      * Required. The IP address range for services in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1186,14 +1335,18 @@ public java.lang.String getServiceAddressCidrBlocks(int index) {
      * This field cannot be changed after creating a cluster.
      * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index to set the value at. * @param value The serviceAddressCidrBlocks to set. * @return This builder for chaining. */ - public Builder setServiceAddressCidrBlocks( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceAddressCidrBlocks(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureServiceAddressCidrBlocksIsMutable(); serviceAddressCidrBlocks_.set(index, value); bitField0_ |= 0x00000004; @@ -1201,6 +1354,8 @@ public Builder setServiceAddressCidrBlocks( return this; } /** + * + * *
      * Required. The IP address range for services in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1211,13 +1366,17 @@ public Builder setServiceAddressCidrBlocks(
      * This field cannot be changed after creating a cluster.
      * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The serviceAddressCidrBlocks to add. * @return This builder for chaining. */ - public Builder addServiceAddressCidrBlocks( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addServiceAddressCidrBlocks(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureServiceAddressCidrBlocksIsMutable(); serviceAddressCidrBlocks_.add(value); bitField0_ |= 0x00000004; @@ -1225,6 +1384,8 @@ public Builder addServiceAddressCidrBlocks( return this; } /** + * + * *
      * Required. The IP address range for services in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1235,20 +1396,23 @@ public Builder addServiceAddressCidrBlocks(
      * This field cannot be changed after creating a cluster.
      * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param values The serviceAddressCidrBlocks to add. * @return This builder for chaining. */ - public Builder addAllServiceAddressCidrBlocks( - java.lang.Iterable values) { + public Builder addAllServiceAddressCidrBlocks(java.lang.Iterable values) { ensureServiceAddressCidrBlocksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, serviceAddressCidrBlocks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, serviceAddressCidrBlocks_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. The IP address range for services in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1259,17 +1423,22 @@ public Builder addAllServiceAddressCidrBlocks(
      * This field cannot be changed after creating a cluster.
      * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearServiceAddressCidrBlocks() { - serviceAddressCidrBlocks_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + serviceAddressCidrBlocks_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Required. The IP address range for services in this cluster, in CIDR
      * notation (e.g. `10.96.0.0/14`).
@@ -1280,13 +1449,17 @@ public Builder clearServiceAddressCidrBlocks() {
      * This field cannot be changed after creating a cluster.
      * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The bytes of the serviceAddressCidrBlocks to add. * @return This builder for chaining. */ - public Builder addServiceAddressCidrBlocksBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addServiceAddressCidrBlocksBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureServiceAddressCidrBlocksIsMutable(); serviceAddressCidrBlocks_.add(value); @@ -1297,6 +1470,8 @@ public Builder addServiceAddressCidrBlocksBytes( private java.lang.Object serviceLoadBalancerSubnetId_ = ""; /** + * + * *
      * Optional. The ARM ID of the subnet where Kubernetes private service type
      * load balancers are deployed. When unspecified, it defaults to
@@ -1306,14 +1481,15 @@ public Builder addServiceAddressCidrBlocksBytes(
      * "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid456"
      * 
* - * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The serviceLoadBalancerSubnetId. */ public java.lang.String getServiceLoadBalancerSubnetId() { java.lang.Object ref = serviceLoadBalancerSubnetId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceLoadBalancerSubnetId_ = s; return s; @@ -1322,6 +1498,8 @@ public java.lang.String getServiceLoadBalancerSubnetId() { } } /** + * + * *
      * Optional. The ARM ID of the subnet where Kubernetes private service type
      * load balancers are deployed. When unspecified, it defaults to
@@ -1331,16 +1509,16 @@ public java.lang.String getServiceLoadBalancerSubnetId() {
      * "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid456"
      * 
* - * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The bytes for serviceLoadBalancerSubnetId. */ - public com.google.protobuf.ByteString - getServiceLoadBalancerSubnetIdBytes() { + public com.google.protobuf.ByteString getServiceLoadBalancerSubnetIdBytes() { java.lang.Object ref = serviceLoadBalancerSubnetId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceLoadBalancerSubnetId_ = b; return b; } else { @@ -1348,6 +1526,8 @@ public java.lang.String getServiceLoadBalancerSubnetId() { } } /** + * + * *
      * Optional. The ARM ID of the subnet where Kubernetes private service type
      * load balancers are deployed. When unspecified, it defaults to
@@ -1357,19 +1537,24 @@ public java.lang.String getServiceLoadBalancerSubnetId() {
      * "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid456"
      * 
* - * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The serviceLoadBalancerSubnetId to set. * @return This builder for chaining. */ - public Builder setServiceLoadBalancerSubnetId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceLoadBalancerSubnetId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } serviceLoadBalancerSubnetId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. The ARM ID of the subnet where Kubernetes private service type
      * load balancers are deployed. When unspecified, it defaults to
@@ -1379,7 +1564,9 @@ public Builder setServiceLoadBalancerSubnetId(
      * "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid456"
      * 
* - * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearServiceLoadBalancerSubnetId() { @@ -1389,6 +1576,8 @@ public Builder clearServiceLoadBalancerSubnetId() { return this; } /** + * + * *
      * Optional. The ARM ID of the subnet where Kubernetes private service type
      * load balancers are deployed. When unspecified, it defaults to
@@ -1398,22 +1587,25 @@ public Builder clearServiceLoadBalancerSubnetId() {
      * "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid456"
      * 
* - * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The bytes for serviceLoadBalancerSubnetId to set. * @return This builder for chaining. */ - public Builder setServiceLoadBalancerSubnetIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setServiceLoadBalancerSubnetIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); serviceLoadBalancerSubnetId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1423,12 +1615,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureClusterNetworking) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureClusterNetworking) private static final com.google.cloud.gkemulticloud.v1.AzureClusterNetworking DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureClusterNetworking(); } @@ -1437,27 +1629,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureClusterNetworking getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureClusterNetworking parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureClusterNetworking parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1472,6 +1664,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureClusterNetworking getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworkingOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworkingOrBuilder.java similarity index 76% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworkingOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworkingOrBuilder.java index 3ef954ff0ea2..0503b11f660f 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworkingOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterNetworkingOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureClusterNetworkingOrBuilder extends +public interface AzureClusterNetworkingOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureClusterNetworking) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The Azure Resource Manager (ARM) ID of the VNet associated with
    * your cluster.
@@ -22,10 +40,13 @@ public interface AzureClusterNetworkingOrBuilder extends
    * 
* * string virtual_network_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The virtualNetworkId. */ java.lang.String getVirtualNetworkId(); /** + * + * *
    * Required. The Azure Resource Manager (ARM) ID of the VNet associated with
    * your cluster.
@@ -40,12 +61,14 @@ public interface AzureClusterNetworkingOrBuilder extends
    * 
* * string virtual_network_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for virtualNetworkId. */ - com.google.protobuf.ByteString - getVirtualNetworkIdBytes(); + com.google.protobuf.ByteString getVirtualNetworkIdBytes(); /** + * + * *
    * Required. The IP address range of the pods in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -56,12 +79,15 @@ public interface AzureClusterNetworkingOrBuilder extends
    * This field cannot be changed after creation.
    * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the podAddressCidrBlocks. */ - java.util.List - getPodAddressCidrBlocksList(); + java.util.List getPodAddressCidrBlocksList(); /** + * + * *
    * Required. The IP address range of the pods in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -72,11 +98,15 @@ public interface AzureClusterNetworkingOrBuilder extends
    * This field cannot be changed after creation.
    * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of podAddressCidrBlocks. */ int getPodAddressCidrBlocksCount(); /** + * + * *
    * Required. The IP address range of the pods in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -87,12 +117,16 @@ public interface AzureClusterNetworkingOrBuilder extends
    * This field cannot be changed after creation.
    * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The podAddressCidrBlocks at the given index. */ java.lang.String getPodAddressCidrBlocks(int index); /** + * + * *
    * Required. The IP address range of the pods in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -103,14 +137,17 @@ public interface AzureClusterNetworkingOrBuilder extends
    * This field cannot be changed after creation.
    * 
* - * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated string pod_address_cidr_blocks = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The bytes of the podAddressCidrBlocks at the given index. */ - com.google.protobuf.ByteString - getPodAddressCidrBlocksBytes(int index); + com.google.protobuf.ByteString getPodAddressCidrBlocksBytes(int index); /** + * + * *
    * Required. The IP address range for services in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -121,12 +158,16 @@ public interface AzureClusterNetworkingOrBuilder extends
    * This field cannot be changed after creating a cluster.
    * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the serviceAddressCidrBlocks. */ - java.util.List - getServiceAddressCidrBlocksList(); + java.util.List getServiceAddressCidrBlocksList(); /** + * + * *
    * Required. The IP address range for services in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -137,11 +178,16 @@ public interface AzureClusterNetworkingOrBuilder extends
    * This field cannot be changed after creating a cluster.
    * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of serviceAddressCidrBlocks. */ int getServiceAddressCidrBlocksCount(); /** + * + * *
    * Required. The IP address range for services in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -152,12 +198,17 @@ public interface AzureClusterNetworkingOrBuilder extends
    * This field cannot be changed after creating a cluster.
    * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The serviceAddressCidrBlocks at the given index. */ java.lang.String getServiceAddressCidrBlocks(int index); /** + * + * *
    * Required. The IP address range for services in this cluster, in CIDR
    * notation (e.g. `10.96.0.0/14`).
@@ -168,14 +219,18 @@ public interface AzureClusterNetworkingOrBuilder extends
    * This field cannot be changed after creating a cluster.
    * 
* - * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated string service_address_cidr_blocks = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The bytes of the serviceAddressCidrBlocks at the given index. */ - com.google.protobuf.ByteString - getServiceAddressCidrBlocksBytes(int index); + com.google.protobuf.ByteString getServiceAddressCidrBlocksBytes(int index); /** + * + * *
    * Optional. The ARM ID of the subnet where Kubernetes private service type
    * load balancers are deployed. When unspecified, it defaults to
@@ -185,11 +240,15 @@ public interface AzureClusterNetworkingOrBuilder extends
    * "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid456"
    * 
* - * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The serviceLoadBalancerSubnetId. */ java.lang.String getServiceLoadBalancerSubnetId(); /** + * + * *
    * Optional. The ARM ID of the subnet where Kubernetes private service type
    * load balancers are deployed. When unspecified, it defaults to
@@ -199,9 +258,10 @@ public interface AzureClusterNetworkingOrBuilder extends
    * "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid456"
    * 
* - * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * string service_load_balancer_subnet_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The bytes for serviceLoadBalancerSubnetId. */ - com.google.protobuf.ByteString - getServiceLoadBalancerSubnetIdBytes(); + com.google.protobuf.ByteString getServiceLoadBalancerSubnetIdBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterOrBuilder.java similarity index 70% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterOrBuilder.java index 4504f119033b..42a749354ef3 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureClusterOrBuilder extends +public interface AzureClusterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureCluster) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of this resource.
    *
@@ -19,10 +37,13 @@ public interface AzureClusterOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of this resource.
    *
@@ -34,34 +55,41 @@ public interface AzureClusterOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. A human readable description of this cluster.
    * Cannot be longer than 255 UTF-8 encoded bytes.
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. A human readable description of this cluster.
    * Cannot be longer than 255 UTF-8 encoded bytes.
    * 
* * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Required. The Azure region where the cluster runs.
    *
@@ -72,10 +100,13 @@ public interface AzureClusterOrBuilder extends
    * 
* * string azure_region = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The azureRegion. */ java.lang.String getAzureRegion(); /** + * + * *
    * Required. The Azure region where the cluster runs.
    *
@@ -86,12 +117,14 @@ public interface AzureClusterOrBuilder extends
    * 
* * string azure_region = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for azureRegion. */ - com.google.protobuf.ByteString - getAzureRegionBytes(); + com.google.protobuf.ByteString getAzureRegionBytes(); /** + * + * *
    * Required. The ARM ID of the resource group where the cluster resources are
    * deployed. For example:
@@ -99,10 +132,13 @@ public interface AzureClusterOrBuilder extends
    * 
* * string resource_group_id = 17 [(.google.api.field_behavior) = REQUIRED]; + * * @return The resourceGroupId. */ java.lang.String getResourceGroupId(); /** + * + * *
    * Required. The ARM ID of the resource group where the cluster resources are
    * deployed. For example:
@@ -110,12 +146,14 @@ public interface AzureClusterOrBuilder extends
    * 
* * string resource_group_id = 17 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for resourceGroupId. */ - com.google.protobuf.ByteString - getResourceGroupIdBytes(); + com.google.protobuf.ByteString getResourceGroupIdBytes(); /** + * + * *
    * Optional. Name of the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains
@@ -135,10 +173,13 @@ public interface AzureClusterOrBuilder extends
    * 
* * string azure_client = 16 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The azureClient. */ java.lang.String getAzureClient(); /** + * + * *
    * Optional. Name of the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains
@@ -158,249 +199,353 @@ public interface AzureClusterOrBuilder extends
    * 
* * string azure_client = 16 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for azureClient. */ - com.google.protobuf.ByteString - getAzureClientBytes(); + com.google.protobuf.ByteString getAzureClientBytes(); /** + * + * *
    * Required. Cluster-wide networking configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the networking field is set. */ boolean hasNetworking(); /** + * + * *
    * Required. Cluster-wide networking configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The networking. */ com.google.cloud.gkemulticloud.v1.AzureClusterNetworking getNetworking(); /** + * + * *
    * Required. Cluster-wide networking configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gkemulticloud.v1.AzureClusterNetworkingOrBuilder getNetworkingOrBuilder(); /** + * + * *
    * Required. Configuration related to the cluster control plane.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the controlPlane field is set. */ boolean hasControlPlane(); /** + * + * *
    * Required. Configuration related to the cluster control plane.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The controlPlane. */ com.google.cloud.gkemulticloud.v1.AzureControlPlane getControlPlane(); /** + * + * *
    * Required. Configuration related to the cluster control plane.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gkemulticloud.v1.AzureControlPlaneOrBuilder getControlPlaneOrBuilder(); /** + * + * *
    * Required. Configuration related to the cluster RBAC settings.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the authorization field is set. */ boolean hasAuthorization(); /** + * + * *
    * Required. Configuration related to the cluster RBAC settings.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The authorization. */ com.google.cloud.gkemulticloud.v1.AzureAuthorization getAuthorization(); /** + * + * *
    * Required. Configuration related to the cluster RBAC settings.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gkemulticloud.v1.AzureAuthorizationOrBuilder getAuthorizationOrBuilder(); /** + * + * *
    * Optional. Authentication configuration for management of Azure resources.
    *
    * Either azure_client or azure_services_authentication should be provided.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the azureServicesAuthentication field is set. */ boolean hasAzureServicesAuthentication(); /** + * + * *
    * Optional. Authentication configuration for management of Azure resources.
    *
    * Either azure_client or azure_services_authentication should be provided.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The azureServicesAuthentication. */ com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication getAzureServicesAuthentication(); /** + * + * *
    * Optional. Authentication configuration for management of Azure resources.
    *
    * Either azure_client or azure_services_authentication should be provided.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder getAzureServicesAuthenticationOrBuilder(); + com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder + getAzureServicesAuthenticationOrBuilder(); /** + * + * *
    * Output only. The current state of the cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The current state of the cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.gkemulticloud.v1.AzureCluster.State getState(); /** + * + * *
    * Output only. The endpoint of the cluster's API server.
    * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The endpoint. */ java.lang.String getEndpoint(); /** + * + * *
    * Output only. The endpoint of the cluster's API server.
    * 
* * string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for endpoint. */ - com.google.protobuf.ByteString - getEndpointBytes(); + com.google.protobuf.ByteString getEndpointBytes(); /** + * + * *
    * Output only. A globally unique identifier for the cluster.
    * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. A globally unique identifier for the cluster.
    * 
* * string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Output only. If set, there are currently changes in flight to the cluster.
    * 
* * bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ boolean getReconciling(); /** + * + * *
    * Output only. The time at which this cluster was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time at which this cluster was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time at which this cluster was created.
    * 
* - * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The time at which this cluster was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -410,10 +555,13 @@ public interface AzureClusterOrBuilder extends
    * 
* * string etag = 13; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -423,12 +571,14 @@ public interface AzureClusterOrBuilder extends
    * 
* * string etag = 13; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Optional. Annotations on the cluster.
    *
@@ -441,10 +591,13 @@ public interface AzureClusterOrBuilder extends
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getAnnotationsCount(); /** + * + * *
    * Optional. Annotations on the cluster.
    *
@@ -457,17 +610,16 @@ public interface AzureClusterOrBuilder extends
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; - */ - boolean containsAnnotations( - java.lang.String key); - /** - * Use {@link #getAnnotationsMap()} instead. + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ + boolean containsAnnotations(java.lang.String key); + /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getAnnotations(); + java.util.Map getAnnotations(); /** + * + * *
    * Optional. Annotations on the cluster.
    *
@@ -480,11 +632,13 @@ boolean containsAnnotations(
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.Map - getAnnotationsMap(); + java.util.Map getAnnotationsMap(); /** + * + * *
    * Optional. Annotations on the cluster.
    *
@@ -497,14 +651,17 @@ boolean containsAnnotations(
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ /* nullable */ -java.lang.String getAnnotationsOrDefault( + java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Optional. Annotations on the cluster.
    *
@@ -517,207 +674,301 @@ java.lang.String getAnnotationsOrDefault(
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.lang.String getAnnotationsOrThrow( - java.lang.String key); + java.lang.String getAnnotationsOrThrow(java.lang.String key); /** + * + * *
    * Output only. Workload Identity settings.
    * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the workloadIdentityConfig field is set. */ boolean hasWorkloadIdentityConfig(); /** + * + * *
    * Output only. Workload Identity settings.
    * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The workloadIdentityConfig. */ com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig getWorkloadIdentityConfig(); /** + * + * *
    * Output only. Workload Identity settings.
    * 
* - * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder(); + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder + getWorkloadIdentityConfigOrBuilder(); /** + * + * *
    * Output only. PEM encoded x509 certificate of the cluster root of trust.
    * 
* * string cluster_ca_certificate = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The clusterCaCertificate. */ java.lang.String getClusterCaCertificate(); /** + * + * *
    * Output only. PEM encoded x509 certificate of the cluster root of trust.
    * 
* * string cluster_ca_certificate = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for clusterCaCertificate. */ - com.google.protobuf.ByteString - getClusterCaCertificateBytes(); + com.google.protobuf.ByteString getClusterCaCertificateBytes(); /** + * + * *
    * Required. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the fleet field is set. */ boolean hasFleet(); /** + * + * *
    * Required. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The fleet. */ com.google.cloud.gkemulticloud.v1.Fleet getFleet(); /** + * + * *
    * Required. Fleet configuration.
    * 
* - * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder(); /** + * + * *
    * Output only. Managed Azure resources for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the managedResources field is set. */ boolean hasManagedResources(); /** + * + * *
    * Output only. Managed Azure resources for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The managedResources. */ com.google.cloud.gkemulticloud.v1.AzureClusterResources getManagedResources(); /** + * + * *
    * Output only. Managed Azure resources for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.gkemulticloud.v1.AzureClusterResourcesOrBuilder getManagedResourcesOrBuilder(); /** + * + * *
    * Optional. Logging configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** + * + * *
    * Optional. Logging configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The loggingConfig. */ com.google.cloud.gkemulticloud.v1.LoggingConfig getLoggingConfig(); /** + * + * *
    * Optional. Logging configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder(); /** + * + * *
    * Output only. A set of errors found in the cluster.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getErrorsList(); + java.util.List getErrorsList(); /** + * + * *
    * Output only. A set of errors found in the cluster.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.gkemulticloud.v1.AzureClusterError getErrors(int index); /** + * + * *
    * Output only. A set of errors found in the cluster.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getErrorsCount(); /** + * + * *
    * Output only. A set of errors found in the cluster.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getErrorsOrBuilderList(); /** + * + * *
    * Output only. A set of errors found in the cluster.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureClusterError errors = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.gkemulticloud.v1.AzureClusterErrorOrBuilder getErrorsOrBuilder( - int index); + com.google.cloud.gkemulticloud.v1.AzureClusterErrorOrBuilder getErrorsOrBuilder(int index); /** + * + * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the monitoringConfig field is set. */ boolean hasMonitoringConfig(); /** + * + * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The monitoringConfig. */ com.google.cloud.gkemulticloud.v1.MonitoringConfig getMonitoringConfig(); /** + * + * *
    * Optional. Monitoring configuration for this cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBuilder(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResources.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResources.java similarity index 65% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResources.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResources.java index e78c837bd88d..ecbdcb5e8cc4 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResources.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResources.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Managed Azure resources for the cluster.
  *
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureClusterResources}
  */
-public final class AzureClusterResources extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AzureClusterResources extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureClusterResources)
     AzureClusterResourcesOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AzureClusterResources.newBuilder() to construct.
   private AzureClusterResources(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AzureClusterResources() {
     networkSecurityGroupId_ = "";
     controlPlaneApplicationSecurityGroupId_ = "";
@@ -28,33 +46,38 @@ private AzureClusterResources() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AzureClusterResources();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.AzureClusterResources.class, com.google.cloud.gkemulticloud.v1.AzureClusterResources.Builder.class);
+            com.google.cloud.gkemulticloud.v1.AzureClusterResources.class,
+            com.google.cloud.gkemulticloud.v1.AzureClusterResources.Builder.class);
   }
 
   public static final int NETWORK_SECURITY_GROUP_ID_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object networkSecurityGroupId_ = "";
   /**
+   *
+   *
    * 
    * Output only. The ARM ID of the cluster network security group.
    * 
* * string network_security_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The networkSecurityGroupId. */ @java.lang.Override @@ -63,29 +86,29 @@ public java.lang.String getNetworkSecurityGroupId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkSecurityGroupId_ = s; return s; } } /** + * + * *
    * Output only. The ARM ID of the cluster network security group.
    * 
* * string network_security_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for networkSecurityGroupId. */ @java.lang.Override - public com.google.protobuf.ByteString - getNetworkSecurityGroupIdBytes() { + public com.google.protobuf.ByteString getNetworkSecurityGroupIdBytes() { java.lang.Object ref = networkSecurityGroupId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); networkSecurityGroupId_ = b; return b; } else { @@ -94,14 +117,20 @@ public java.lang.String getNetworkSecurityGroupId() { } public static final int CONTROL_PLANE_APPLICATION_SECURITY_GROUP_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object controlPlaneApplicationSecurityGroupId_ = ""; /** + * + * *
    * Output only. The ARM ID of the control plane application security group.
    * 
* - * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The controlPlaneApplicationSecurityGroupId. */ @java.lang.Override @@ -110,29 +139,31 @@ public java.lang.String getControlPlaneApplicationSecurityGroupId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); controlPlaneApplicationSecurityGroupId_ = s; return s; } } /** + * + * *
    * Output only. The ARM ID of the control plane application security group.
    * 
* - * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for controlPlaneApplicationSecurityGroupId. */ @java.lang.Override - public com.google.protobuf.ByteString - getControlPlaneApplicationSecurityGroupIdBytes() { + public com.google.protobuf.ByteString getControlPlaneApplicationSecurityGroupIdBytes() { java.lang.Object ref = controlPlaneApplicationSecurityGroupId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); controlPlaneApplicationSecurityGroupId_ = b; return b; } else { @@ -141,6 +172,7 @@ public java.lang.String getControlPlaneApplicationSecurityGroupId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -152,13 +184,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(networkSecurityGroupId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, networkSecurityGroupId_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(controlPlaneApplicationSecurityGroupId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, controlPlaneApplicationSecurityGroupId_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty( + controlPlaneApplicationSecurityGroupId_)) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 2, controlPlaneApplicationSecurityGroupId_); } getUnknownFields().writeTo(output); } @@ -172,8 +205,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(networkSecurityGroupId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, networkSecurityGroupId_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(controlPlaneApplicationSecurityGroupId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, controlPlaneApplicationSecurityGroupId_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty( + controlPlaneApplicationSecurityGroupId_)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 2, controlPlaneApplicationSecurityGroupId_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -183,15 +219,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureClusterResources)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureClusterResources other = (com.google.cloud.gkemulticloud.v1.AzureClusterResources) obj; + com.google.cloud.gkemulticloud.v1.AzureClusterResources other = + (com.google.cloud.gkemulticloud.v1.AzureClusterResources) obj; - if (!getNetworkSecurityGroupId() - .equals(other.getNetworkSecurityGroupId())) return false; + if (!getNetworkSecurityGroupId().equals(other.getNetworkSecurityGroupId())) return false; if (!getControlPlaneApplicationSecurityGroupId() .equals(other.getControlPlaneApplicationSecurityGroupId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -215,98 +251,104 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AzureClusterResources parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterResources parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterResources parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterResources parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterResources parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterResources parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterResources parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AzureClusterResources parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterResources parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterResources parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureClusterResources parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureClusterResources parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterResources parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterResources parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureClusterResources prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.AzureClusterResources prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Managed Azure resources for the cluster.
    *
@@ -315,33 +357,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureClusterResources}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureClusterResources)
       com.google.cloud.gkemulticloud.v1.AzureClusterResourcesOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.AzureClusterResources.class, com.google.cloud.gkemulticloud.v1.AzureClusterResources.Builder.class);
+              com.google.cloud.gkemulticloud.v1.AzureClusterResources.class,
+              com.google.cloud.gkemulticloud.v1.AzureClusterResources.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.AzureClusterResources.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -352,9 +393,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_descriptor;
     }
 
     @java.lang.Override
@@ -373,8 +414,11 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterResources build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.AzureClusterResources buildPartial() {
-      com.google.cloud.gkemulticloud.v1.AzureClusterResources result = new com.google.cloud.gkemulticloud.v1.AzureClusterResources(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.gkemulticloud.v1.AzureClusterResources result =
+          new com.google.cloud.gkemulticloud.v1.AzureClusterResources(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -393,38 +437,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureClusterResourc
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.AzureClusterResources) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureClusterResources)other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureClusterResources) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -432,7 +477,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureClusterResources other) {
-      if (other == com.google.cloud.gkemulticloud.v1.AzureClusterResources.getDefaultInstance()) return this;
+      if (other == com.google.cloud.gkemulticloud.v1.AzureClusterResources.getDefaultInstance())
+        return this;
       if (!other.getNetworkSecurityGroupId().isEmpty()) {
         networkSecurityGroupId_ = other.networkSecurityGroupId_;
         bitField0_ |= 0x00000001;
@@ -469,22 +515,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              networkSecurityGroupId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              controlPlaneApplicationSecurityGroupId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                networkSecurityGroupId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                controlPlaneApplicationSecurityGroupId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -494,22 +543,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object networkSecurityGroupId_ = "";
     /**
+     *
+     *
      * 
      * Output only. The ARM ID of the cluster network security group.
      * 
* - * string network_security_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string network_security_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The networkSecurityGroupId. */ public java.lang.String getNetworkSecurityGroupId() { java.lang.Object ref = networkSecurityGroupId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); networkSecurityGroupId_ = s; return s; @@ -518,20 +571,22 @@ public java.lang.String getNetworkSecurityGroupId() { } } /** + * + * *
      * Output only. The ARM ID of the cluster network security group.
      * 
* - * string network_security_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string network_security_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for networkSecurityGroupId. */ - public com.google.protobuf.ByteString - getNetworkSecurityGroupIdBytes() { + public com.google.protobuf.ByteString getNetworkSecurityGroupIdBytes() { java.lang.Object ref = networkSecurityGroupId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); networkSecurityGroupId_ = b; return b; } else { @@ -539,28 +594,37 @@ public java.lang.String getNetworkSecurityGroupId() { } } /** + * + * *
      * Output only. The ARM ID of the cluster network security group.
      * 
* - * string network_security_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string network_security_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The networkSecurityGroupId to set. * @return This builder for chaining. */ - public Builder setNetworkSecurityGroupId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkSecurityGroupId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } networkSecurityGroupId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The ARM ID of the cluster network security group.
      * 
* - * string network_security_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string network_security_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearNetworkSecurityGroupId() { @@ -570,17 +634,22 @@ public Builder clearNetworkSecurityGroupId() { return this; } /** + * + * *
      * Output only. The ARM ID of the cluster network security group.
      * 
* - * string network_security_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string network_security_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes for networkSecurityGroupId to set. * @return This builder for chaining. */ - public Builder setNetworkSecurityGroupIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkSecurityGroupIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); networkSecurityGroupId_ = value; bitField0_ |= 0x00000001; @@ -590,18 +659,22 @@ public Builder setNetworkSecurityGroupIdBytes( private java.lang.Object controlPlaneApplicationSecurityGroupId_ = ""; /** + * + * *
      * Output only. The ARM ID of the control plane application security group.
      * 
* - * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The controlPlaneApplicationSecurityGroupId. */ public java.lang.String getControlPlaneApplicationSecurityGroupId() { java.lang.Object ref = controlPlaneApplicationSecurityGroupId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); controlPlaneApplicationSecurityGroupId_ = s; return s; @@ -610,20 +683,23 @@ public java.lang.String getControlPlaneApplicationSecurityGroupId() { } } /** + * + * *
      * Output only. The ARM ID of the control plane application security group.
      * 
* - * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for controlPlaneApplicationSecurityGroupId. */ - public com.google.protobuf.ByteString - getControlPlaneApplicationSecurityGroupIdBytes() { + public com.google.protobuf.ByteString getControlPlaneApplicationSecurityGroupIdBytes() { java.lang.Object ref = controlPlaneApplicationSecurityGroupId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); controlPlaneApplicationSecurityGroupId_ = b; return b; } else { @@ -631,57 +707,76 @@ public java.lang.String getControlPlaneApplicationSecurityGroupId() { } } /** + * + * *
      * Output only. The ARM ID of the control plane application security group.
      * 
* - * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The controlPlaneApplicationSecurityGroupId to set. * @return This builder for chaining. */ - public Builder setControlPlaneApplicationSecurityGroupId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setControlPlaneApplicationSecurityGroupId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } controlPlaneApplicationSecurityGroupId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. The ARM ID of the control plane application security group.
      * 
* - * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearControlPlaneApplicationSecurityGroupId() { - controlPlaneApplicationSecurityGroupId_ = getDefaultInstance().getControlPlaneApplicationSecurityGroupId(); + controlPlaneApplicationSecurityGroupId_ = + getDefaultInstance().getControlPlaneApplicationSecurityGroupId(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** + * + * *
      * Output only. The ARM ID of the control plane application security group.
      * 
* - * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes for controlPlaneApplicationSecurityGroupId to set. * @return This builder for chaining. */ public Builder setControlPlaneApplicationSecurityGroupIdBytes( com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); controlPlaneApplicationSecurityGroupId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -691,12 +786,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureClusterResources) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureClusterResources) private static final com.google.cloud.gkemulticloud.v1.AzureClusterResources DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureClusterResources(); } @@ -705,27 +800,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureClusterResources getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureClusterResources parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureClusterResources parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -740,6 +835,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureClusterResources getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResourcesOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResourcesOrBuilder.java similarity index 53% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResourcesOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResourcesOrBuilder.java index ff122c53e04f..a57ba00b62f0 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResourcesOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterResourcesOrBuilder.java @@ -1,49 +1,79 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureClusterResourcesOrBuilder extends +public interface AzureClusterResourcesOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureClusterResources) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The ARM ID of the cluster network security group.
    * 
* * string network_security_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The networkSecurityGroupId. */ java.lang.String getNetworkSecurityGroupId(); /** + * + * *
    * Output only. The ARM ID of the cluster network security group.
    * 
* * string network_security_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for networkSecurityGroupId. */ - com.google.protobuf.ByteString - getNetworkSecurityGroupIdBytes(); + com.google.protobuf.ByteString getNetworkSecurityGroupIdBytes(); /** + * + * *
    * Output only. The ARM ID of the control plane application security group.
    * 
* - * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The controlPlaneApplicationSecurityGroupId. */ java.lang.String getControlPlaneApplicationSecurityGroupId(); /** + * + * *
    * Output only. The ARM ID of the control plane application security group.
    * 
* - * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for controlPlaneApplicationSecurityGroupId. */ - com.google.protobuf.ByteString - getControlPlaneApplicationSecurityGroupIdBytes(); + com.google.protobuf.ByteString getControlPlaneApplicationSecurityGroupIdBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUser.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUser.java similarity index 67% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUser.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUser.java index e9269175d560..21f555049a2f 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUser.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUser.java @@ -1,57 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Identities of a user-type subject for Azure clusters.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureClusterUser} */ -public final class AzureClusterUser extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AzureClusterUser extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureClusterUser) AzureClusterUserOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AzureClusterUser.newBuilder() to construct. private AzureClusterUser(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AzureClusterUser() { username_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AzureClusterUser(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureClusterUser.class, com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureClusterUser.class, + com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder.class); } public static final int USERNAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object username_ = ""; /** + * + * *
    * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
    * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The username. */ @java.lang.Override @@ -60,29 +83,29 @@ public java.lang.String getUsername() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; } } /** + * + * *
    * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
    * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for username. */ @java.lang.Override - public com.google.protobuf.ByteString - getUsernameBytes() { + public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); username_ = b; return b; } else { @@ -91,6 +114,7 @@ public java.lang.String getUsername() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,8 +126,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(username_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, username_); } @@ -127,15 +150,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureClusterUser)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureClusterUser other = (com.google.cloud.gkemulticloud.v1.AzureClusterUser) obj; + com.google.cloud.gkemulticloud.v1.AzureClusterUser other = + (com.google.cloud.gkemulticloud.v1.AzureClusterUser) obj; - if (!getUsername() - .equals(other.getUsername())) return false; + if (!getUsername().equals(other.getUsername())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -155,131 +178,135 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AzureClusterUser parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterUser parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterUser parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterUser parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterUser parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterUser parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterUser parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AzureClusterUser parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterUser parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureClusterUser parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureClusterUser parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureClusterUser parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterUser parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureClusterUser parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureClusterUser prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Identities of a user-type subject for Azure clusters.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureClusterUser} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureClusterUser) com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureClusterUser.class, com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureClusterUser.class, + com.google.cloud.gkemulticloud.v1.AzureClusterUser.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AzureClusterUser.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -289,9 +316,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_descriptor; } @java.lang.Override @@ -310,8 +337,11 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterUser build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureClusterUser buildPartial() { - com.google.cloud.gkemulticloud.v1.AzureClusterUser result = new com.google.cloud.gkemulticloud.v1.AzureClusterUser(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.AzureClusterUser result = + new com.google.cloud.gkemulticloud.v1.AzureClusterUser(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -327,38 +357,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureClusterUser re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AzureClusterUser) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureClusterUser)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureClusterUser) other); } else { super.mergeFrom(other); return this; @@ -366,7 +397,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureClusterUser other) { - if (other == com.google.cloud.gkemulticloud.v1.AzureClusterUser.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AzureClusterUser.getDefaultInstance()) + return this; if (!other.getUsername().isEmpty()) { username_ = other.username_; bitField0_ |= 0x00000001; @@ -398,17 +430,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - username_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + username_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -418,22 +452,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object username_ = ""; /** + * + * *
      * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
      * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The username. */ public java.lang.String getUsername() { java.lang.Object ref = username_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; @@ -442,20 +479,21 @@ public java.lang.String getUsername() { } } /** + * + * *
      * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
      * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for username. */ - public com.google.protobuf.ByteString - getUsernameBytes() { + public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); username_ = b; return b; } else { @@ -463,28 +501,35 @@ public java.lang.String getUsername() { } } /** + * + * *
      * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
      * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The username to set. * @return This builder for chaining. */ - public Builder setUsername( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUsername(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } username_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
      * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearUsername() { @@ -494,26 +539,30 @@ public Builder clearUsername() { return this; } /** + * + * *
      * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
      * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for username to set. * @return This builder for chaining. */ - public Builder setUsernameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUsernameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); username_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -523,12 +572,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureClusterUser) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureClusterUser) private static final com.google.cloud.gkemulticloud.v1.AzureClusterUser DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureClusterUser(); } @@ -537,27 +586,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureClusterUser getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureClusterUser parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureClusterUser parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -572,6 +621,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureClusterUser getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUserOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUserOrBuilder.java similarity index 51% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUserOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUserOrBuilder.java index c31987404201..c885e1a90ef5 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUserOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterUserOrBuilder.java @@ -1,29 +1,50 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureClusterUserOrBuilder extends +public interface AzureClusterUserOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureClusterUser) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
    * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The username. */ java.lang.String getUsername(); /** + * + * *
    * Required. The name of the user, e.g. `my-gcp-id@gmail.com`.
    * 
* * string username = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for username. */ - com.google.protobuf.ByteString - getUsernameBytes(); + com.google.protobuf.ByteString getUsernameBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryption.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryption.java similarity index 72% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryption.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryption.java index 19372e61e3e4..ceef3a85b890 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryption.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryption.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Configuration related to config data encryption.
  *
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureConfigEncryption}
  */
-public final class AzureConfigEncryption extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AzureConfigEncryption extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureConfigEncryption)
     AzureConfigEncryptionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AzureConfigEncryption.newBuilder() to construct.
   private AzureConfigEncryption(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AzureConfigEncryption() {
     keyId_ = "";
     publicKey_ = "";
@@ -29,28 +47,32 @@ private AzureConfigEncryption() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AzureConfigEncryption();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.class, com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder.class);
+            com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.class,
+            com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder.class);
   }
 
   public static final int KEY_ID_FIELD_NUMBER = 2;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object keyId_ = "";
   /**
+   *
+   *
    * 
    * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config
    * data.
@@ -60,6 +82,7 @@ protected java.lang.Object newInstance(
    * 
* * string key_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The keyId. */ @java.lang.Override @@ -68,14 +91,15 @@ public java.lang.String getKeyId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyId_ = s; return s; } } /** + * + * *
    * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config
    * data.
@@ -85,16 +109,15 @@ public java.lang.String getKeyId() {
    * 
* * string key_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for keyId. */ @java.lang.Override - public com.google.protobuf.ByteString - getKeyIdBytes() { + public com.google.protobuf.ByteString getKeyIdBytes() { java.lang.Object ref = keyId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); keyId_ = b; return b; } else { @@ -103,9 +126,12 @@ public java.lang.String getKeyId() { } public static final int PUBLIC_KEY_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object publicKey_ = ""; /** + * + * *
    * Optional. RSA key of the Azure Key Vault public key to use for encrypting
    * the data.
@@ -116,6 +142,7 @@ public java.lang.String getKeyId() {
    * 
* * string public_key = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The publicKey. */ @java.lang.Override @@ -124,14 +151,15 @@ public java.lang.String getPublicKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicKey_ = s; return s; } } /** + * + * *
    * Optional. RSA key of the Azure Key Vault public key to use for encrypting
    * the data.
@@ -142,16 +170,15 @@ public java.lang.String getPublicKey() {
    * 
* * string public_key = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for publicKey. */ @java.lang.Override - public com.google.protobuf.ByteString - getPublicKeyBytes() { + public com.google.protobuf.ByteString getPublicKeyBytes() { java.lang.Object ref = publicKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); publicKey_ = b; return b; } else { @@ -160,6 +187,7 @@ public java.lang.String getPublicKey() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +199,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, keyId_); } @@ -202,17 +229,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureConfigEncryption)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption other = (com.google.cloud.gkemulticloud.v1.AzureConfigEncryption) obj; + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption other = + (com.google.cloud.gkemulticloud.v1.AzureConfigEncryption) obj; - if (!getKeyId() - .equals(other.getKeyId())) return false; - if (!getPublicKey() - .equals(other.getPublicKey())) return false; + if (!getKeyId().equals(other.getKeyId())) return false; + if (!getPublicKey().equals(other.getPublicKey())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -234,98 +260,104 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AzureConfigEncryption parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureConfigEncryption parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureConfigEncryption parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureConfigEncryption parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureConfigEncryption parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureConfigEncryption parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureConfigEncryption parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AzureConfigEncryption parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureConfigEncryption parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureConfigEncryption parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureConfigEncryption parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureConfigEncryption parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureConfigEncryption parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureConfigEncryption parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureConfigEncryption prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration related to config data encryption.
    *
@@ -335,33 +367,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureConfigEncryption}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureConfigEncryption)
       com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.class, com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder.class);
+              com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.class,
+              com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -372,9 +403,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_descriptor;
     }
 
     @java.lang.Override
@@ -393,8 +424,11 @@ public com.google.cloud.gkemulticloud.v1.AzureConfigEncryption build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.AzureConfigEncryption buildPartial() {
-      com.google.cloud.gkemulticloud.v1.AzureConfigEncryption result = new com.google.cloud.gkemulticloud.v1.AzureConfigEncryption(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.gkemulticloud.v1.AzureConfigEncryption result =
+          new com.google.cloud.gkemulticloud.v1.AzureConfigEncryption(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -413,38 +447,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureConfigEncrypti
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.AzureConfigEncryption) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureConfigEncryption)other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureConfigEncryption) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -452,7 +487,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureConfigEncryption other) {
-      if (other == com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance()) return this;
+      if (other == com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance())
+        return this;
       if (!other.getKeyId().isEmpty()) {
         keyId_ = other.keyId_;
         bitField0_ |= 0x00000001;
@@ -489,22 +525,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18: {
-              keyId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 18
-            case 26: {
-              publicKey_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 18:
+              {
+                keyId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 18
+            case 26:
+              {
+                publicKey_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -514,10 +553,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object keyId_ = "";
     /**
+     *
+     *
      * 
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config
      * data.
@@ -527,13 +569,13 @@ public Builder mergeFrom(
      * 
* * string key_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The keyId. */ public java.lang.String getKeyId() { java.lang.Object ref = keyId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyId_ = s; return s; @@ -542,6 +584,8 @@ public java.lang.String getKeyId() { } } /** + * + * *
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config
      * data.
@@ -551,15 +595,14 @@ public java.lang.String getKeyId() {
      * 
* * string key_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for keyId. */ - public com.google.protobuf.ByteString - getKeyIdBytes() { + public com.google.protobuf.ByteString getKeyIdBytes() { java.lang.Object ref = keyId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); keyId_ = b; return b; } else { @@ -567,6 +610,8 @@ public java.lang.String getKeyId() { } } /** + * + * *
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config
      * data.
@@ -576,18 +621,22 @@ public java.lang.String getKeyId() {
      * 
* * string key_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The keyId to set. * @return This builder for chaining. */ - public Builder setKeyId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKeyId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } keyId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config
      * data.
@@ -597,6 +646,7 @@ public Builder setKeyId(
      * 
* * string key_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearKeyId() { @@ -606,6 +656,8 @@ public Builder clearKeyId() { return this; } /** + * + * *
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config
      * data.
@@ -615,12 +667,14 @@ public Builder clearKeyId() {
      * 
* * string key_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for keyId to set. * @return This builder for chaining. */ - public Builder setKeyIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKeyIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); keyId_ = value; bitField0_ |= 0x00000001; @@ -630,6 +684,8 @@ public Builder setKeyIdBytes( private java.lang.Object publicKey_ = ""; /** + * + * *
      * Optional. RSA key of the Azure Key Vault public key to use for encrypting
      * the data.
@@ -640,13 +696,13 @@ public Builder setKeyIdBytes(
      * 
* * string public_key = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The publicKey. */ public java.lang.String getPublicKey() { java.lang.Object ref = publicKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicKey_ = s; return s; @@ -655,6 +711,8 @@ public java.lang.String getPublicKey() { } } /** + * + * *
      * Optional. RSA key of the Azure Key Vault public key to use for encrypting
      * the data.
@@ -665,15 +723,14 @@ public java.lang.String getPublicKey() {
      * 
* * string public_key = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for publicKey. */ - public com.google.protobuf.ByteString - getPublicKeyBytes() { + public com.google.protobuf.ByteString getPublicKeyBytes() { java.lang.Object ref = publicKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); publicKey_ = b; return b; } else { @@ -681,6 +738,8 @@ public java.lang.String getPublicKey() { } } /** + * + * *
      * Optional. RSA key of the Azure Key Vault public key to use for encrypting
      * the data.
@@ -691,18 +750,22 @@ public java.lang.String getPublicKey() {
      * 
* * string public_key = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The publicKey to set. * @return This builder for chaining. */ - public Builder setPublicKey( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPublicKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } publicKey_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. RSA key of the Azure Key Vault public key to use for encrypting
      * the data.
@@ -713,6 +776,7 @@ public Builder setPublicKey(
      * 
* * string public_key = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPublicKey() { @@ -722,6 +786,8 @@ public Builder clearPublicKey() { return this; } /** + * + * *
      * Optional. RSA key of the Azure Key Vault public key to use for encrypting
      * the data.
@@ -732,21 +798,23 @@ public Builder clearPublicKey() {
      * 
* * string public_key = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for publicKey to set. * @return This builder for chaining. */ - public Builder setPublicKeyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPublicKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); publicKey_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -756,12 +824,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureConfigEncryption) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureConfigEncryption) private static final com.google.cloud.gkemulticloud.v1.AzureConfigEncryption DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureConfigEncryption(); } @@ -770,27 +838,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureConfigEncryption getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureConfigEncryption parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureConfigEncryption parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -805,6 +873,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureConfigEncryption getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryptionOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryptionOrBuilder.java similarity index 72% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryptionOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryptionOrBuilder.java index ce281dcfbd46..559f4db273fa 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryptionOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureConfigEncryptionOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureConfigEncryptionOrBuilder extends +public interface AzureConfigEncryptionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureConfigEncryption) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config
    * data.
@@ -17,10 +35,13 @@ public interface AzureConfigEncryptionOrBuilder extends
    * 
* * string key_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The keyId. */ java.lang.String getKeyId(); /** + * + * *
    * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config
    * data.
@@ -30,12 +51,14 @@ public interface AzureConfigEncryptionOrBuilder extends
    * 
* * string key_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for keyId. */ - com.google.protobuf.ByteString - getKeyIdBytes(); + com.google.protobuf.ByteString getKeyIdBytes(); /** + * + * *
    * Optional. RSA key of the Azure Key Vault public key to use for encrypting
    * the data.
@@ -46,10 +69,13 @@ public interface AzureConfigEncryptionOrBuilder extends
    * 
* * string public_key = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The publicKey. */ java.lang.String getPublicKey(); /** + * + * *
    * Optional. RSA key of the Azure Key Vault public key to use for encrypting
    * the data.
@@ -60,8 +86,8 @@ public interface AzureConfigEncryptionOrBuilder extends
    * 
* * string public_key = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for publicKey. */ - com.google.protobuf.ByteString - getPublicKeyBytes(); + com.google.protobuf.ByteString getPublicKeyBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlane.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlane.java similarity index 66% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlane.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlane.java index e9578fd6de6f..11aff2e3385a 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlane.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlane.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * AzureControlPlane represents the control plane configurations.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureControlPlane} */ -public final class AzureControlPlane extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AzureControlPlane extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureControlPlane) AzureControlPlaneOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AzureControlPlane.newBuilder() to construct. private AzureControlPlane(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AzureControlPlane() { version_ = ""; subnetId_ = ""; @@ -29,40 +47,43 @@ private AzureControlPlane() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AzureControlPlane(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 7: return internalGetTags(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureControlPlane.class, com.google.cloud.gkemulticloud.v1.AzureControlPlane.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureControlPlane.class, + com.google.cloud.gkemulticloud.v1.AzureControlPlane.Builder.class); } public static final int VERSION_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object version_ = ""; /** + * + * *
    * Required. The Kubernetes version to run on control plane replicas
    * (e.g. `1.19.10-gke.1000`).
@@ -73,6 +94,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The version. */ @java.lang.Override @@ -81,14 +103,15 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
    * Required. The Kubernetes version to run on control plane replicas
    * (e.g. `1.19.10-gke.1000`).
@@ -99,16 +122,15 @@ public java.lang.String getVersion() {
    * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -117,9 +139,12 @@ public java.lang.String getVersion() { } public static final int SUBNET_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object subnetId_ = ""; /** + * + * *
    * Optional. The ARM ID of the default subnet for the control plane. The
    * control plane VMs are deployed in this subnet, unless
@@ -134,6 +159,7 @@ public java.lang.String getVersion() {
    * 
* * string subnet_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The subnetId. */ @java.lang.Override @@ -142,14 +168,15 @@ public java.lang.String getSubnetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetId_ = s; return s; } } /** + * + * *
    * Optional. The ARM ID of the default subnet for the control plane. The
    * control plane VMs are deployed in this subnet, unless
@@ -164,16 +191,15 @@ public java.lang.String getSubnetId() {
    * 
* * string subnet_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for subnetId. */ @java.lang.Override - public com.google.protobuf.ByteString - getSubnetIdBytes() { + public com.google.protobuf.ByteString getSubnetIdBytes() { java.lang.Object ref = subnetId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subnetId_ = b; return b; } else { @@ -182,9 +208,12 @@ public java.lang.String getSubnetId() { } public static final int VM_SIZE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object vmSize_ = ""; /** + * + * *
    * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
    *
@@ -195,6 +224,7 @@ public java.lang.String getSubnetId() {
    * 
* * string vm_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The vmSize. */ @java.lang.Override @@ -203,14 +233,15 @@ public java.lang.String getVmSize() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vmSize_ = s; return s; } } /** + * + * *
    * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
    *
@@ -221,16 +252,15 @@ public java.lang.String getVmSize() {
    * 
* * string vm_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for vmSize. */ @java.lang.Override - public com.google.protobuf.ByteString - getVmSizeBytes() { + public com.google.protobuf.ByteString getVmSizeBytes() { java.lang.Object ref = vmSize_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); vmSize_ = b; return b; } else { @@ -241,12 +271,17 @@ public java.lang.String getVmSize() { public static final int SSH_CONFIG_FIELD_NUMBER = 11; private com.google.cloud.gkemulticloud.v1.AzureSshConfig sshConfig_; /** + * + * *
    * Required. SSH configuration for how to access the underlying control plane
    * machines.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the sshConfig field is set. */ @java.lang.Override @@ -254,34 +289,49 @@ public boolean hasSshConfig() { return sshConfig_ != null; } /** + * + * *
    * Required. SSH configuration for how to access the underlying control plane
    * machines.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The sshConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureSshConfig getSshConfig() { - return sshConfig_ == null ? com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance() : sshConfig_; + return sshConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance() + : sshConfig_; } /** + * + * *
    * Required. SSH configuration for how to access the underlying control plane
    * machines.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder getSshConfigOrBuilder() { - return sshConfig_ == null ? com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance() : sshConfig_; + return sshConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance() + : sshConfig_; } public static final int ROOT_VOLUME_FIELD_NUMBER = 4; private com.google.cloud.gkemulticloud.v1.AzureDiskTemplate rootVolume_; /** + * + * *
    * Optional. Configuration related to the root volume provisioned for each
    * control plane replica.
@@ -289,7 +339,10 @@ public com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder getSshConfigOrB
    * When unspecified, it defaults to 32-GiB Azure Disk.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the rootVolume field is set. */ @java.lang.Override @@ -297,6 +350,8 @@ public boolean hasRootVolume() { return rootVolume_ != null; } /** + * + * *
    * Optional. Configuration related to the root volume provisioned for each
    * control plane replica.
@@ -304,14 +359,21 @@ public boolean hasRootVolume() {
    * When unspecified, it defaults to 32-GiB Azure Disk.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The rootVolume. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getRootVolume() { - return rootVolume_ == null ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() : rootVolume_; + return rootVolume_ == null + ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() + : rootVolume_; } /** + * + * *
    * Optional. Configuration related to the root volume provisioned for each
    * control plane replica.
@@ -319,16 +381,22 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getRootVolume() {
    * When unspecified, it defaults to 32-GiB Azure Disk.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getRootVolumeOrBuilder() { - return rootVolume_ == null ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() : rootVolume_; + return rootVolume_ == null + ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() + : rootVolume_; } public static final int MAIN_VOLUME_FIELD_NUMBER = 5; private com.google.cloud.gkemulticloud.v1.AzureDiskTemplate mainVolume_; /** + * + * *
    * Optional. Configuration related to the main volume provisioned for each
    * control plane replica.
@@ -337,7 +405,10 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getRootVolum
    * When unspecified, it defaults to a 8-GiB Azure Disk.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the mainVolume field is set. */ @java.lang.Override @@ -345,6 +416,8 @@ public boolean hasMainVolume() { return mainVolume_ != null; } /** + * + * *
    * Optional. Configuration related to the main volume provisioned for each
    * control plane replica.
@@ -353,14 +426,21 @@ public boolean hasMainVolume() {
    * When unspecified, it defaults to a 8-GiB Azure Disk.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The mainVolume. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getMainVolume() { - return mainVolume_ == null ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() : mainVolume_; + return mainVolume_ == null + ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() + : mainVolume_; } /** + * + * *
    * Optional. Configuration related to the main volume provisioned for each
    * control plane replica.
@@ -369,21 +449,30 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getMainVolume() {
    * When unspecified, it defaults to a 8-GiB Azure Disk.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getMainVolumeOrBuilder() { - return mainVolume_ == null ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() : mainVolume_; + return mainVolume_ == null + ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() + : mainVolume_; } public static final int DATABASE_ENCRYPTION_FIELD_NUMBER = 10; private com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption databaseEncryption_; /** + * + * *
    * Optional. Configuration related to application-layer secrets encryption.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the databaseEncryption field is set. */ @java.lang.Override @@ -391,37 +480,56 @@ public boolean hasDatabaseEncryption() { return databaseEncryption_ != null; } /** + * + * *
    * Optional. Configuration related to application-layer secrets encryption.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The databaseEncryption. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption getDatabaseEncryption() { - return databaseEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.getDefaultInstance() : databaseEncryption_; + return databaseEncryption_ == null + ? com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.getDefaultInstance() + : databaseEncryption_; } /** + * + * *
    * Optional. Configuration related to application-layer secrets encryption.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryptionOrBuilder getDatabaseEncryptionOrBuilder() { - return databaseEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.getDefaultInstance() : databaseEncryption_; + public com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryptionOrBuilder + getDatabaseEncryptionOrBuilder() { + return databaseEncryption_ == null + ? com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.getDefaultInstance() + : databaseEncryption_; } public static final int PROXY_CONFIG_FIELD_NUMBER = 12; private com.google.cloud.gkemulticloud.v1.AzureProxyConfig proxyConfig_; /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the proxyConfig field is set. */ @java.lang.Override @@ -429,37 +537,55 @@ public boolean hasProxyConfig() { return proxyConfig_ != null; } /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The proxyConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureProxyConfig getProxyConfig() { - return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance() : proxyConfig_; + return proxyConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance() + : proxyConfig_; } /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder getProxyConfigOrBuilder() { - return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance() : proxyConfig_; + return proxyConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance() + : proxyConfig_; } public static final int CONFIG_ENCRYPTION_FIELD_NUMBER = 14; private com.google.cloud.gkemulticloud.v1.AzureConfigEncryption configEncryption_; /** + * + * *
    * Optional. Configuration related to vm config encryption.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the configEncryption field is set. */ @java.lang.Override @@ -467,56 +593,72 @@ public boolean hasConfigEncryption() { return configEncryption_ != null; } /** + * + * *
    * Optional. Configuration related to vm config encryption.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The configEncryption. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureConfigEncryption getConfigEncryption() { - return configEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance() : configEncryption_; + return configEncryption_ == null + ? com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance() + : configEncryption_; } /** + * + * *
    * Optional. Configuration related to vm config encryption.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder getConfigEncryptionOrBuilder() { - return configEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance() : configEncryption_; + public com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder + getConfigEncryptionOrBuilder() { + return configEncryption_ == null + ? com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance() + : configEncryption_; } public static final int TAGS_FIELD_NUMBER = 7; + private static final class TagsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_TagsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_TagsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> tags_; - private com.google.protobuf.MapField - internalGetTags() { + private com.google.protobuf.MapField tags_; + + private com.google.protobuf.MapField internalGetTags() { if (tags_ == null) { - return com.google.protobuf.MapField.emptyMapField( - TagsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(TagsDefaultEntryHolder.defaultEntry); } return tags_; } + public int getTagsCount() { return internalGetTags().getMap().size(); } /** + * + * *
    * Optional. A set of tags to apply to all underlying control plane Azure
    * resources.
@@ -525,20 +667,21 @@ public int getTagsCount() {
    * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public boolean containsTags(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsTags(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetTags().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getTagsMap()} instead.
-   */
+  /** Use {@link #getTagsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getTags() {
     return getTagsMap();
   }
   /**
+   *
+   *
    * 
    * Optional. A set of tags to apply to all underlying control plane Azure
    * resources.
@@ -551,6 +694,8 @@ public java.util.Map getTagsMap() {
     return internalGetTags().getMap();
   }
   /**
+   *
+   *
    * 
    * Optional. A set of tags to apply to all underlying control plane Azure
    * resources.
@@ -559,17 +704,19 @@ public java.util.Map getTagsMap() {
    * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getTagsOrDefault(
+  public /* nullable */ java.lang.String getTagsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetTags().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetTags().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Optional. A set of tags to apply to all underlying control plane Azure
    * resources.
@@ -578,11 +725,11 @@ java.lang.String getTagsOrDefault(
    * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public java.lang.String getTagsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetTags().getMap();
+  public java.lang.String getTagsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetTags().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -590,9 +737,12 @@ public java.lang.String getTagsOrThrow(
   }
 
   public static final int REPLICA_PLACEMENTS_FIELD_NUMBER = 13;
+
   @SuppressWarnings("serial")
   private java.util.List replicaPlacements_;
   /**
+   *
+   *
    * 
    * Optional. Configuration for where to place the control plane replicas.
    *
@@ -601,13 +751,18 @@ public java.lang.String getTagsOrThrow(
    * to the three control plane replicas as evenly as possible.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List getReplicaPlacementsList() { + public java.util.List + getReplicaPlacementsList() { return replicaPlacements_; } /** + * + * *
    * Optional. Configuration for where to place the control plane replicas.
    *
@@ -616,14 +771,18 @@ public java.util.List getRep
    * to the three control plane replicas as evenly as possible.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List getReplicaPlacementsOrBuilderList() { return replicaPlacements_; } /** + * + * *
    * Optional. Configuration for where to place the control plane replicas.
    *
@@ -632,13 +791,17 @@ public java.util.List getRep
    * to the three control plane replicas as evenly as possible.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getReplicaPlacementsCount() { return replicaPlacements_.size(); } /** + * + * *
    * Optional. Configuration for where to place the control plane replicas.
    *
@@ -647,13 +810,17 @@ public int getReplicaPlacementsCount() {
    * to the three control plane replicas as evenly as possible.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.ReplicaPlacement getReplicaPlacements(int index) { return replicaPlacements_.get(index); } /** + * + * *
    * Optional. Configuration for where to place the control plane replicas.
    *
@@ -662,7 +829,9 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacement getReplicaPlacements(i
    * to the three control plane replicas as evenly as possible.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder getReplicaPlacementsOrBuilder( @@ -671,9 +840,12 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder getReplicaPla } public static final int ENDPOINT_SUBNET_ID_FIELD_NUMBER = 15; + @SuppressWarnings("serial") private volatile java.lang.Object endpointSubnetId_ = ""; /** + * + * *
    * Optional. The ARM ID of the subnet where the control plane load balancer is
    * deployed. When unspecified, it defaults to AzureControlPlane.subnet_id.
@@ -683,6 +855,7 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder getReplicaPla
    * 
* * string endpoint_subnet_id = 15 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The endpointSubnetId. */ @java.lang.Override @@ -691,14 +864,15 @@ public java.lang.String getEndpointSubnetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endpointSubnetId_ = s; return s; } } /** + * + * *
    * Optional. The ARM ID of the subnet where the control plane load balancer is
    * deployed. When unspecified, it defaults to AzureControlPlane.subnet_id.
@@ -708,16 +882,15 @@ public java.lang.String getEndpointSubnetId() {
    * 
* * string endpoint_subnet_id = 15 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for endpointSubnetId. */ @java.lang.Override - public com.google.protobuf.ByteString - getEndpointSubnetIdBytes() { + public com.google.protobuf.ByteString getEndpointSubnetIdBytes() { java.lang.Object ref = endpointSubnetId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); endpointSubnetId_ = b; return b; } else { @@ -726,6 +899,7 @@ public java.lang.String getEndpointSubnetId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -737,8 +911,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); } @@ -754,12 +927,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (mainVolume_ != null) { output.writeMessage(5, getMainVolume()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetTags(), - TagsDefaultEntryHolder.defaultEntry, - 7); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetTags(), TagsDefaultEntryHolder.defaultEntry, 7); if (databaseEncryption_ != null) { output.writeMessage(10, getDatabaseEncryption()); } @@ -797,42 +966,36 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, vmSize_); } if (rootVolume_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getRootVolume()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRootVolume()); } if (mainVolume_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getMainVolume()); - } - for (java.util.Map.Entry entry - : internalGetTags().getMap().entrySet()) { - com.google.protobuf.MapEntry - tags__ = TagsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, tags__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getMainVolume()); + } + for (java.util.Map.Entry entry : + internalGetTags().getMap().entrySet()) { + com.google.protobuf.MapEntry tags__ = + TagsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, tags__); } if (databaseEncryption_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getDatabaseEncryption()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getDatabaseEncryption()); } if (sshConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getSshConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getSshConfig()); } if (proxyConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getProxyConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getProxyConfig()); } for (int i = 0; i < replicaPlacements_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, replicaPlacements_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(13, replicaPlacements_.get(i)); } if (configEncryption_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, getConfigEncryption()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getConfigEncryption()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpointSubnetId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, endpointSubnetId_); @@ -845,55 +1008,44 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureControlPlane)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureControlPlane other = (com.google.cloud.gkemulticloud.v1.AzureControlPlane) obj; + com.google.cloud.gkemulticloud.v1.AzureControlPlane other = + (com.google.cloud.gkemulticloud.v1.AzureControlPlane) obj; - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getSubnetId() - .equals(other.getSubnetId())) return false; - if (!getVmSize() - .equals(other.getVmSize())) return false; + if (!getVersion().equals(other.getVersion())) return false; + if (!getSubnetId().equals(other.getSubnetId())) return false; + if (!getVmSize().equals(other.getVmSize())) return false; if (hasSshConfig() != other.hasSshConfig()) return false; if (hasSshConfig()) { - if (!getSshConfig() - .equals(other.getSshConfig())) return false; + if (!getSshConfig().equals(other.getSshConfig())) return false; } if (hasRootVolume() != other.hasRootVolume()) return false; if (hasRootVolume()) { - if (!getRootVolume() - .equals(other.getRootVolume())) return false; + if (!getRootVolume().equals(other.getRootVolume())) return false; } if (hasMainVolume() != other.hasMainVolume()) return false; if (hasMainVolume()) { - if (!getMainVolume() - .equals(other.getMainVolume())) return false; + if (!getMainVolume().equals(other.getMainVolume())) return false; } if (hasDatabaseEncryption() != other.hasDatabaseEncryption()) return false; if (hasDatabaseEncryption()) { - if (!getDatabaseEncryption() - .equals(other.getDatabaseEncryption())) return false; + if (!getDatabaseEncryption().equals(other.getDatabaseEncryption())) return false; } if (hasProxyConfig() != other.hasProxyConfig()) return false; if (hasProxyConfig()) { - if (!getProxyConfig() - .equals(other.getProxyConfig())) return false; + if (!getProxyConfig().equals(other.getProxyConfig())) return false; } if (hasConfigEncryption() != other.hasConfigEncryption()) return false; if (hasConfigEncryption()) { - if (!getConfigEncryption() - .equals(other.getConfigEncryption())) return false; - } - if (!internalGetTags().equals( - other.internalGetTags())) return false; - if (!getReplicaPlacementsList() - .equals(other.getReplicaPlacementsList())) return false; - if (!getEndpointSubnetId() - .equals(other.getEndpointSubnetId())) return false; + if (!getConfigEncryption().equals(other.getConfigEncryption())) return false; + } + if (!internalGetTags().equals(other.internalGetTags())) return false; + if (!getReplicaPlacementsList().equals(other.getReplicaPlacementsList())) return false; + if (!getEndpointSubnetId().equals(other.getEndpointSubnetId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -951,153 +1103,155 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AzureControlPlane parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureControlPlane parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureControlPlane parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureControlPlane parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureControlPlane parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureControlPlane parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureControlPlane parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AzureControlPlane parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureControlPlane parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureControlPlane parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureControlPlane parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureControlPlane parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureControlPlane parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureControlPlane parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureControlPlane prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * AzureControlPlane represents the control plane configurations.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureControlPlane} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureControlPlane) com.google.cloud.gkemulticloud.v1.AzureControlPlaneOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 7: return internalGetTags(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 7: return internalGetMutableTags(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureControlPlane.class, com.google.cloud.gkemulticloud.v1.AzureControlPlane.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureControlPlane.class, + com.google.cloud.gkemulticloud.v1.AzureControlPlane.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AzureControlPlane.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1148,9 +1302,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_descriptor; } @java.lang.Override @@ -1169,14 +1323,18 @@ public com.google.cloud.gkemulticloud.v1.AzureControlPlane build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureControlPlane buildPartial() { - com.google.cloud.gkemulticloud.v1.AzureControlPlane result = new com.google.cloud.gkemulticloud.v1.AzureControlPlane(this); + com.google.cloud.gkemulticloud.v1.AzureControlPlane result = + new com.google.cloud.gkemulticloud.v1.AzureControlPlane(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.AzureControlPlane result) { + private void buildPartialRepeatedFields( + com.google.cloud.gkemulticloud.v1.AzureControlPlane result) { if (replicaPlacementsBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0)) { replicaPlacements_ = java.util.Collections.unmodifiableList(replicaPlacements_); @@ -1200,34 +1358,27 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureControlPlane r result.vmSize_ = vmSize_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.sshConfig_ = sshConfigBuilder_ == null - ? sshConfig_ - : sshConfigBuilder_.build(); + result.sshConfig_ = sshConfigBuilder_ == null ? sshConfig_ : sshConfigBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.rootVolume_ = rootVolumeBuilder_ == null - ? rootVolume_ - : rootVolumeBuilder_.build(); + result.rootVolume_ = rootVolumeBuilder_ == null ? rootVolume_ : rootVolumeBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.mainVolume_ = mainVolumeBuilder_ == null - ? mainVolume_ - : mainVolumeBuilder_.build(); + result.mainVolume_ = mainVolumeBuilder_ == null ? mainVolume_ : mainVolumeBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { - result.databaseEncryption_ = databaseEncryptionBuilder_ == null - ? databaseEncryption_ - : databaseEncryptionBuilder_.build(); + result.databaseEncryption_ = + databaseEncryptionBuilder_ == null + ? databaseEncryption_ + : databaseEncryptionBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { - result.proxyConfig_ = proxyConfigBuilder_ == null - ? proxyConfig_ - : proxyConfigBuilder_.build(); + result.proxyConfig_ = + proxyConfigBuilder_ == null ? proxyConfig_ : proxyConfigBuilder_.build(); } if (((from_bitField0_ & 0x00000100) != 0)) { - result.configEncryption_ = configEncryptionBuilder_ == null - ? configEncryption_ - : configEncryptionBuilder_.build(); + result.configEncryption_ = + configEncryptionBuilder_ == null ? configEncryption_ : configEncryptionBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { result.tags_ = internalGetTags(); @@ -1242,38 +1393,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureControlPlane r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AzureControlPlane) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureControlPlane)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureControlPlane) other); } else { super.mergeFrom(other); return this; @@ -1281,7 +1433,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureControlPlane other) { - if (other == com.google.cloud.gkemulticloud.v1.AzureControlPlane.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AzureControlPlane.getDefaultInstance()) + return this; if (!other.getVersion().isEmpty()) { version_ = other.version_; bitField0_ |= 0x00000001; @@ -1315,8 +1468,7 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureControlPlane oth if (other.hasConfigEncryption()) { mergeConfigEncryption(other.getConfigEncryption()); } - internalGetMutableTags().mergeFrom( - other.internalGetTags()); + internalGetMutableTags().mergeFrom(other.internalGetTags()); bitField0_ |= 0x00000200; if (replicaPlacementsBuilder_ == null) { if (!other.replicaPlacements_.isEmpty()) { @@ -1336,9 +1488,10 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureControlPlane oth replicaPlacementsBuilder_ = null; replicaPlacements_ = other.replicaPlacements_; bitField0_ = (bitField0_ & ~0x00000400); - replicaPlacementsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getReplicaPlacementsFieldBuilder() : null; + replicaPlacementsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getReplicaPlacementsFieldBuilder() + : null; } else { replicaPlacementsBuilder_.addAllMessages(other.replicaPlacements_); } @@ -1375,96 +1528,98 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - version_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - subnetId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - vmSize_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getRootVolumeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 42: { - input.readMessage( - getMainVolumeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 42 - case 58: { - com.google.protobuf.MapEntry - tags__ = input.readMessage( - TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableTags().getMutableMap().put( - tags__.getKey(), tags__.getValue()); - bitField0_ |= 0x00000200; - break; - } // case 58 - case 82: { - input.readMessage( - getDatabaseEncryptionFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 82 - case 90: { - input.readMessage( - getSshConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 90 - case 98: { - input.readMessage( - getProxyConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 98 - case 106: { - com.google.cloud.gkemulticloud.v1.ReplicaPlacement m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.ReplicaPlacement.parser(), - extensionRegistry); - if (replicaPlacementsBuilder_ == null) { - ensureReplicaPlacementsIsMutable(); - replicaPlacements_.add(m); - } else { - replicaPlacementsBuilder_.addMessage(m); - } - break; - } // case 106 - case 114: { - input.readMessage( - getConfigEncryptionFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 114 - case 122: { - endpointSubnetId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; - break; - } // case 122 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + subnetId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + vmSize_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getRootVolumeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 42: + { + input.readMessage(getMainVolumeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 42 + case 58: + { + com.google.protobuf.MapEntry tags__ = + input.readMessage( + TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableTags().getMutableMap().put(tags__.getKey(), tags__.getValue()); + bitField0_ |= 0x00000200; + break; + } // case 58 + case 82: + { + input.readMessage( + getDatabaseEncryptionFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 82 + case 90: + { + input.readMessage(getSshConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 90 + case 98: + { + input.readMessage(getProxyConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 98 + case 106: + { + com.google.cloud.gkemulticloud.v1.ReplicaPlacement m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.ReplicaPlacement.parser(), + extensionRegistry); + if (replicaPlacementsBuilder_ == null) { + ensureReplicaPlacementsIsMutable(); + replicaPlacements_.add(m); + } else { + replicaPlacementsBuilder_.addMessage(m); + } + break; + } // case 106 + case 114: + { + input.readMessage( + getConfigEncryptionFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 114 + case 122: + { + endpointSubnetId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 122 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1474,10 +1629,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object version_ = ""; /** + * + * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1488,13 +1646,13 @@ public Builder mergeFrom(
      * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -1503,6 +1661,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1513,15 +1673,14 @@ public java.lang.String getVersion() {
      * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -1529,6 +1688,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1539,18 +1700,22 @@ public java.lang.String getVersion() {
      * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } version_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1561,6 +1726,7 @@ public Builder setVersion(
      * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearVersion() { @@ -1570,6 +1736,8 @@ public Builder clearVersion() { return this; } /** + * + * *
      * Required. The Kubernetes version to run on control plane replicas
      * (e.g. `1.19.10-gke.1000`).
@@ -1580,12 +1748,14 @@ public Builder clearVersion() {
      * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); version_ = value; bitField0_ |= 0x00000001; @@ -1595,6 +1765,8 @@ public Builder setVersionBytes( private java.lang.Object subnetId_ = ""; /** + * + * *
      * Optional. The ARM ID of the default subnet for the control plane. The
      * control plane VMs are deployed in this subnet, unless
@@ -1609,13 +1781,13 @@ public Builder setVersionBytes(
      * 
* * string subnet_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The subnetId. */ public java.lang.String getSubnetId() { java.lang.Object ref = subnetId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetId_ = s; return s; @@ -1624,6 +1796,8 @@ public java.lang.String getSubnetId() { } } /** + * + * *
      * Optional. The ARM ID of the default subnet for the control plane. The
      * control plane VMs are deployed in this subnet, unless
@@ -1638,15 +1812,14 @@ public java.lang.String getSubnetId() {
      * 
* * string subnet_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for subnetId. */ - public com.google.protobuf.ByteString - getSubnetIdBytes() { + public com.google.protobuf.ByteString getSubnetIdBytes() { java.lang.Object ref = subnetId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subnetId_ = b; return b; } else { @@ -1654,6 +1827,8 @@ public java.lang.String getSubnetId() { } } /** + * + * *
      * Optional. The ARM ID of the default subnet for the control plane. The
      * control plane VMs are deployed in this subnet, unless
@@ -1668,18 +1843,22 @@ public java.lang.String getSubnetId() {
      * 
* * string subnet_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The subnetId to set. * @return This builder for chaining. */ - public Builder setSubnetId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSubnetId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } subnetId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. The ARM ID of the default subnet for the control plane. The
      * control plane VMs are deployed in this subnet, unless
@@ -1694,6 +1873,7 @@ public Builder setSubnetId(
      * 
* * string subnet_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearSubnetId() { @@ -1703,6 +1883,8 @@ public Builder clearSubnetId() { return this; } /** + * + * *
      * Optional. The ARM ID of the default subnet for the control plane. The
      * control plane VMs are deployed in this subnet, unless
@@ -1717,12 +1899,14 @@ public Builder clearSubnetId() {
      * 
* * string subnet_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for subnetId to set. * @return This builder for chaining. */ - public Builder setSubnetIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSubnetIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); subnetId_ = value; bitField0_ |= 0x00000002; @@ -1732,6 +1916,8 @@ public Builder setSubnetIdBytes( private java.lang.Object vmSize_ = ""; /** + * + * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      *
@@ -1742,13 +1928,13 @@ public Builder setSubnetIdBytes(
      * 
* * string vm_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The vmSize. */ public java.lang.String getVmSize() { java.lang.Object ref = vmSize_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vmSize_ = s; return s; @@ -1757,6 +1943,8 @@ public java.lang.String getVmSize() { } } /** + * + * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      *
@@ -1767,15 +1955,14 @@ public java.lang.String getVmSize() {
      * 
* * string vm_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for vmSize. */ - public com.google.protobuf.ByteString - getVmSizeBytes() { + public com.google.protobuf.ByteString getVmSizeBytes() { java.lang.Object ref = vmSize_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); vmSize_ = b; return b; } else { @@ -1783,6 +1970,8 @@ public java.lang.String getVmSize() { } } /** + * + * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      *
@@ -1793,18 +1982,22 @@ public java.lang.String getVmSize() {
      * 
* * string vm_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The vmSize to set. * @return This builder for chaining. */ - public Builder setVmSize( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVmSize(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } vmSize_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      *
@@ -1815,6 +2008,7 @@ public Builder setVmSize(
      * 
* * string vm_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearVmSize() { @@ -1824,6 +2018,8 @@ public Builder clearVmSize() { return this; } /** + * + * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      *
@@ -1834,12 +2030,14 @@ public Builder clearVmSize() {
      * 
* * string vm_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for vmSize to set. * @return This builder for chaining. */ - public Builder setVmSizeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVmSizeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); vmSize_ = value; bitField0_ |= 0x00000004; @@ -1849,42 +2047,61 @@ public Builder setVmSizeBytes( private com.google.cloud.gkemulticloud.v1.AzureSshConfig sshConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureSshConfig, com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder, com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder> sshConfigBuilder_; + com.google.cloud.gkemulticloud.v1.AzureSshConfig, + com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder, + com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder> + sshConfigBuilder_; /** + * + * *
      * Required. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the sshConfig field is set. */ public boolean hasSshConfig() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Required. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The sshConfig. */ public com.google.cloud.gkemulticloud.v1.AzureSshConfig getSshConfig() { if (sshConfigBuilder_ == null) { - return sshConfig_ == null ? com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance() : sshConfig_; + return sshConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance() + : sshConfig_; } else { return sshConfigBuilder_.getMessage(); } } /** + * + * *
      * Required. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSshConfig(com.google.cloud.gkemulticloud.v1.AzureSshConfig value) { if (sshConfigBuilder_ == null) { @@ -1900,12 +2117,16 @@ public Builder setSshConfig(com.google.cloud.gkemulticloud.v1.AzureSshConfig val return this; } /** + * + * *
      * Required. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSshConfig( com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder builderForValue) { @@ -1919,18 +2140,23 @@ public Builder setSshConfig( return this; } /** + * + * *
      * Required. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeSshConfig(com.google.cloud.gkemulticloud.v1.AzureSshConfig value) { if (sshConfigBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - sshConfig_ != null && - sshConfig_ != com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && sshConfig_ != null + && sshConfig_ + != com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance()) { getSshConfigBuilder().mergeFrom(value); } else { sshConfig_ = value; @@ -1943,12 +2169,16 @@ public Builder mergeSshConfig(com.google.cloud.gkemulticloud.v1.AzureSshConfig v return this; } /** + * + * *
      * Required. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearSshConfig() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1961,12 +2191,16 @@ public Builder clearSshConfig() { return this; } /** + * + * *
      * Required. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder getSshConfigBuilder() { bitField0_ |= 0x00000008; @@ -1974,38 +2208,50 @@ public com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder getSshConfigBuil return getSshConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder getSshConfigOrBuilder() { if (sshConfigBuilder_ != null) { return sshConfigBuilder_.getMessageOrBuilder(); } else { - return sshConfig_ == null ? - com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance() : sshConfig_; + return sshConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance() + : sshConfig_; } } /** + * + * *
      * Required. SSH configuration for how to access the underlying control plane
      * machines.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureSshConfig, com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder, com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureSshConfig, + com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder, + com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder> getSshConfigFieldBuilder() { if (sshConfigBuilder_ == null) { - sshConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureSshConfig, com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder, com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder>( - getSshConfig(), - getParentForChildren(), - isClean()); + sshConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureSshConfig, + com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder, + com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder>( + getSshConfig(), getParentForChildren(), isClean()); sshConfig_ = null; } return sshConfigBuilder_; @@ -2013,8 +2259,13 @@ public com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder getSshConfigOrB private com.google.cloud.gkemulticloud.v1.AzureDiskTemplate rootVolume_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder> rootVolumeBuilder_; + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, + com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder> + rootVolumeBuilder_; /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2022,13 +2273,18 @@ public com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder getSshConfigOrB
      * When unspecified, it defaults to 32-GiB Azure Disk.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the rootVolume field is set. */ public boolean hasRootVolume() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2036,17 +2292,24 @@ public boolean hasRootVolume() {
      * When unspecified, it defaults to 32-GiB Azure Disk.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The rootVolume. */ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getRootVolume() { if (rootVolumeBuilder_ == null) { - return rootVolume_ == null ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() : rootVolume_; + return rootVolume_ == null + ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() + : rootVolume_; } else { return rootVolumeBuilder_.getMessage(); } } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2054,7 +2317,9 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getRootVolume() {
      * When unspecified, it defaults to 32-GiB Azure Disk.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRootVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate value) { if (rootVolumeBuilder_ == null) { @@ -2070,6 +2335,8 @@ public Builder setRootVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate return this; } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2077,7 +2344,9 @@ public Builder setRootVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate
      * When unspecified, it defaults to 32-GiB Azure Disk.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRootVolume( com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder builderForValue) { @@ -2091,6 +2360,8 @@ public Builder setRootVolume( return this; } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2098,13 +2369,16 @@ public Builder setRootVolume(
      * When unspecified, it defaults to 32-GiB Azure Disk.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeRootVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate value) { if (rootVolumeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - rootVolume_ != null && - rootVolume_ != com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && rootVolume_ != null + && rootVolume_ + != com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance()) { getRootVolumeBuilder().mergeFrom(value); } else { rootVolume_ = value; @@ -2117,6 +2391,8 @@ public Builder mergeRootVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTempla return this; } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2124,7 +2400,9 @@ public Builder mergeRootVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTempla
      * When unspecified, it defaults to 32-GiB Azure Disk.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearRootVolume() { bitField0_ = (bitField0_ & ~0x00000010); @@ -2137,6 +2415,8 @@ public Builder clearRootVolume() { return this; } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2144,7 +2424,9 @@ public Builder clearRootVolume() {
      * When unspecified, it defaults to 32-GiB Azure Disk.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder getRootVolumeBuilder() { bitField0_ |= 0x00000010; @@ -2152,6 +2434,8 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder getRootVolume return getRootVolumeFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2159,17 +2443,22 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder getRootVolume
      * When unspecified, it defaults to 32-GiB Azure Disk.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getRootVolumeOrBuilder() { if (rootVolumeBuilder_ != null) { return rootVolumeBuilder_.getMessageOrBuilder(); } else { - return rootVolume_ == null ? - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() : rootVolume_; + return rootVolume_ == null + ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() + : rootVolume_; } } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * control plane replica.
@@ -2177,17 +2466,22 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getRootVolum
      * When unspecified, it defaults to 32-GiB Azure Disk.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, + com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder> getRootVolumeFieldBuilder() { if (rootVolumeBuilder_ == null) { - rootVolumeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder>( - getRootVolume(), - getParentForChildren(), - isClean()); + rootVolumeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, + com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder>( + getRootVolume(), getParentForChildren(), isClean()); rootVolume_ = null; } return rootVolumeBuilder_; @@ -2195,8 +2489,13 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getRootVolum private com.google.cloud.gkemulticloud.v1.AzureDiskTemplate mainVolume_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder> mainVolumeBuilder_; + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, + com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder> + mainVolumeBuilder_; /** + * + * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2205,13 +2504,18 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getRootVolum
      * When unspecified, it defaults to a 8-GiB Azure Disk.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the mainVolume field is set. */ public boolean hasMainVolume() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2220,17 +2524,24 @@ public boolean hasMainVolume() {
      * When unspecified, it defaults to a 8-GiB Azure Disk.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The mainVolume. */ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getMainVolume() { if (mainVolumeBuilder_ == null) { - return mainVolume_ == null ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() : mainVolume_; + return mainVolume_ == null + ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() + : mainVolume_; } else { return mainVolumeBuilder_.getMessage(); } } /** + * + * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2239,7 +2550,9 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getMainVolume() {
      * When unspecified, it defaults to a 8-GiB Azure Disk.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setMainVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate value) { if (mainVolumeBuilder_ == null) { @@ -2255,6 +2568,8 @@ public Builder setMainVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate return this; } /** + * + * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2263,7 +2578,9 @@ public Builder setMainVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate
      * When unspecified, it defaults to a 8-GiB Azure Disk.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setMainVolume( com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder builderForValue) { @@ -2277,6 +2594,8 @@ public Builder setMainVolume( return this; } /** + * + * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2285,13 +2604,16 @@ public Builder setMainVolume(
      * When unspecified, it defaults to a 8-GiB Azure Disk.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeMainVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate value) { if (mainVolumeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - mainVolume_ != null && - mainVolume_ != com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && mainVolume_ != null + && mainVolume_ + != com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance()) { getMainVolumeBuilder().mergeFrom(value); } else { mainVolume_ = value; @@ -2304,6 +2626,8 @@ public Builder mergeMainVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTempla return this; } /** + * + * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2312,7 +2636,9 @@ public Builder mergeMainVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTempla
      * When unspecified, it defaults to a 8-GiB Azure Disk.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearMainVolume() { bitField0_ = (bitField0_ & ~0x00000020); @@ -2325,6 +2651,8 @@ public Builder clearMainVolume() { return this; } /** + * + * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2333,7 +2661,9 @@ public Builder clearMainVolume() {
      * When unspecified, it defaults to a 8-GiB Azure Disk.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder getMainVolumeBuilder() { bitField0_ |= 0x00000020; @@ -2341,6 +2671,8 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder getMainVolume return getMainVolumeFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2349,17 +2681,22 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder getMainVolume
      * When unspecified, it defaults to a 8-GiB Azure Disk.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getMainVolumeOrBuilder() { if (mainVolumeBuilder_ != null) { return mainVolumeBuilder_.getMessageOrBuilder(); } else { - return mainVolume_ == null ? - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() : mainVolume_; + return mainVolume_ == null + ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() + : mainVolume_; } } /** + * + * *
      * Optional. Configuration related to the main volume provisioned for each
      * control plane replica.
@@ -2368,17 +2705,22 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getMainVolum
      * When unspecified, it defaults to a 8-GiB Azure Disk.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, + com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder> getMainVolumeFieldBuilder() { if (mainVolumeBuilder_ == null) { - mainVolumeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder>( - getMainVolume(), - getParentForChildren(), - isClean()); + mainVolumeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, + com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder>( + getMainVolume(), getParentForChildren(), isClean()); mainVolume_ = null; } return mainVolumeBuilder_; @@ -2386,41 +2728,61 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getMainVolum private com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption databaseEncryption_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption, com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.Builder, com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryptionOrBuilder> databaseEncryptionBuilder_; + com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption, + com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.Builder, + com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryptionOrBuilder> + databaseEncryptionBuilder_; /** + * + * *
      * Optional. Configuration related to application-layer secrets encryption.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the databaseEncryption field is set. */ public boolean hasDatabaseEncryption() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Optional. Configuration related to application-layer secrets encryption.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The databaseEncryption. */ public com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption getDatabaseEncryption() { if (databaseEncryptionBuilder_ == null) { - return databaseEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.getDefaultInstance() : databaseEncryption_; + return databaseEncryption_ == null + ? com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.getDefaultInstance() + : databaseEncryption_; } else { return databaseEncryptionBuilder_.getMessage(); } } /** + * + * *
      * Optional. Configuration related to application-layer secrets encryption.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setDatabaseEncryption(com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption value) { + public Builder setDatabaseEncryption( + com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption value) { if (databaseEncryptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2434,11 +2796,15 @@ public Builder setDatabaseEncryption(com.google.cloud.gkemulticloud.v1.AzureData return this; } /** + * + * *
      * Optional. Configuration related to application-layer secrets encryption.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setDatabaseEncryption( com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.Builder builderForValue) { @@ -2452,17 +2818,23 @@ public Builder setDatabaseEncryption( return this; } /** + * + * *
      * Optional. Configuration related to application-layer secrets encryption.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeDatabaseEncryption(com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption value) { + public Builder mergeDatabaseEncryption( + com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption value) { if (databaseEncryptionBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - databaseEncryption_ != null && - databaseEncryption_ != com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && databaseEncryption_ != null + && databaseEncryption_ + != com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.getDefaultInstance()) { getDatabaseEncryptionBuilder().mergeFrom(value); } else { databaseEncryption_ = value; @@ -2475,11 +2847,15 @@ public Builder mergeDatabaseEncryption(com.google.cloud.gkemulticloud.v1.AzureDa return this; } /** + * + * *
      * Optional. Configuration related to application-layer secrets encryption.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearDatabaseEncryption() { bitField0_ = (bitField0_ & ~0x00000040); @@ -2492,48 +2868,66 @@ public Builder clearDatabaseEncryption() { return this; } /** + * + * *
      * Optional. Configuration related to application-layer secrets encryption.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.Builder getDatabaseEncryptionBuilder() { + public com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.Builder + getDatabaseEncryptionBuilder() { bitField0_ |= 0x00000040; onChanged(); return getDatabaseEncryptionFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Configuration related to application-layer secrets encryption.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryptionOrBuilder getDatabaseEncryptionOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryptionOrBuilder + getDatabaseEncryptionOrBuilder() { if (databaseEncryptionBuilder_ != null) { return databaseEncryptionBuilder_.getMessageOrBuilder(); } else { - return databaseEncryption_ == null ? - com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.getDefaultInstance() : databaseEncryption_; + return databaseEncryption_ == null + ? com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.getDefaultInstance() + : databaseEncryption_; } } /** + * + * *
      * Optional. Configuration related to application-layer secrets encryption.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption, com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.Builder, com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryptionOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption, + com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.Builder, + com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryptionOrBuilder> getDatabaseEncryptionFieldBuilder() { if (databaseEncryptionBuilder_ == null) { - databaseEncryptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption, com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.Builder, com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryptionOrBuilder>( - getDatabaseEncryption(), - getParentForChildren(), - isClean()); + databaseEncryptionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption, + com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.Builder, + com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryptionOrBuilder>( + getDatabaseEncryption(), getParentForChildren(), isClean()); databaseEncryption_ = null; } return databaseEncryptionBuilder_; @@ -2541,39 +2935,58 @@ public com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryptionOrBuilder getDat private com.google.cloud.gkemulticloud.v1.AzureProxyConfig proxyConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureProxyConfig, com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder> proxyConfigBuilder_; + com.google.cloud.gkemulticloud.v1.AzureProxyConfig, + com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder, + com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder> + proxyConfigBuilder_; /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the proxyConfig field is set. */ public boolean hasProxyConfig() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The proxyConfig. */ public com.google.cloud.gkemulticloud.v1.AzureProxyConfig getProxyConfig() { if (proxyConfigBuilder_ == null) { - return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance() : proxyConfig_; + return proxyConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance() + : proxyConfig_; } else { return proxyConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setProxyConfig(com.google.cloud.gkemulticloud.v1.AzureProxyConfig value) { if (proxyConfigBuilder_ == null) { @@ -2589,11 +3002,15 @@ public Builder setProxyConfig(com.google.cloud.gkemulticloud.v1.AzureProxyConfig return this; } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setProxyConfig( com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder builderForValue) { @@ -2607,17 +3024,22 @@ public Builder setProxyConfig( return this; } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeProxyConfig(com.google.cloud.gkemulticloud.v1.AzureProxyConfig value) { if (proxyConfigBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - proxyConfig_ != null && - proxyConfig_ != com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && proxyConfig_ != null + && proxyConfig_ + != com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance()) { getProxyConfigBuilder().mergeFrom(value); } else { proxyConfig_ = value; @@ -2630,11 +3052,15 @@ public Builder mergeProxyConfig(com.google.cloud.gkemulticloud.v1.AzureProxyConf return this; } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearProxyConfig() { bitField0_ = (bitField0_ & ~0x00000080); @@ -2647,11 +3073,15 @@ public Builder clearProxyConfig() { return this; } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder getProxyConfigBuilder() { bitField0_ |= 0x00000080; @@ -2659,36 +3089,48 @@ public com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder getProxyConfig return getProxyConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder getProxyConfigOrBuilder() { if (proxyConfigBuilder_ != null) { return proxyConfigBuilder_.getMessageOrBuilder(); } else { - return proxyConfig_ == null ? - com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance() : proxyConfig_; + return proxyConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance() + : proxyConfig_; } } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureProxyConfig, com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureProxyConfig, + com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder, + com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder> getProxyConfigFieldBuilder() { if (proxyConfigBuilder_ == null) { - proxyConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureProxyConfig, com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder>( - getProxyConfig(), - getParentForChildren(), - isClean()); + proxyConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureProxyConfig, + com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder, + com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder>( + getProxyConfig(), getParentForChildren(), isClean()); proxyConfig_ = null; } return proxyConfigBuilder_; @@ -2696,41 +3138,61 @@ public com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder getProxyConfi private com.google.cloud.gkemulticloud.v1.AzureConfigEncryption configEncryption_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption, com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder, com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder> configEncryptionBuilder_; + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption, + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder, + com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder> + configEncryptionBuilder_; /** + * + * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the configEncryption field is set. */ public boolean hasConfigEncryption() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The configEncryption. */ public com.google.cloud.gkemulticloud.v1.AzureConfigEncryption getConfigEncryption() { if (configEncryptionBuilder_ == null) { - return configEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance() : configEncryption_; + return configEncryption_ == null + ? com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance() + : configEncryption_; } else { return configEncryptionBuilder_.getMessage(); } } /** + * + * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setConfigEncryption(com.google.cloud.gkemulticloud.v1.AzureConfigEncryption value) { + public Builder setConfigEncryption( + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption value) { if (configEncryptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2744,11 +3206,15 @@ public Builder setConfigEncryption(com.google.cloud.gkemulticloud.v1.AzureConfig return this; } /** + * + * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setConfigEncryption( com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder builderForValue) { @@ -2762,17 +3228,23 @@ public Builder setConfigEncryption( return this; } /** + * + * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeConfigEncryption(com.google.cloud.gkemulticloud.v1.AzureConfigEncryption value) { + public Builder mergeConfigEncryption( + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption value) { if (configEncryptionBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && - configEncryption_ != null && - configEncryption_ != com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) + && configEncryption_ != null + && configEncryption_ + != com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance()) { getConfigEncryptionBuilder().mergeFrom(value); } else { configEncryption_ = value; @@ -2785,11 +3257,15 @@ public Builder mergeConfigEncryption(com.google.cloud.gkemulticloud.v1.AzureConf return this; } /** + * + * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearConfigEncryption() { bitField0_ = (bitField0_ & ~0x00000100); @@ -2802,68 +3278,84 @@ public Builder clearConfigEncryption() { return this; } /** + * + * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder getConfigEncryptionBuilder() { + public com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder + getConfigEncryptionBuilder() { bitField0_ |= 0x00000100; onChanged(); return getConfigEncryptionFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder getConfigEncryptionOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder + getConfigEncryptionOrBuilder() { if (configEncryptionBuilder_ != null) { return configEncryptionBuilder_.getMessageOrBuilder(); } else { - return configEncryption_ == null ? - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance() : configEncryption_; + return configEncryption_ == null + ? com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance() + : configEncryption_; } } /** + * + * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption, com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder, com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption, + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder, + com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder> getConfigEncryptionFieldBuilder() { if (configEncryptionBuilder_ == null) { - configEncryptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption, com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder, com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder>( - getConfigEncryption(), - getParentForChildren(), - isClean()); + configEncryptionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption, + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder, + com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder>( + getConfigEncryption(), getParentForChildren(), isClean()); configEncryption_ = null; } return configEncryptionBuilder_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> tags_; - private com.google.protobuf.MapField - internalGetTags() { + private com.google.protobuf.MapField tags_; + + private com.google.protobuf.MapField internalGetTags() { if (tags_ == null) { - return com.google.protobuf.MapField.emptyMapField( - TagsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(TagsDefaultEntryHolder.defaultEntry); } return tags_; } + private com.google.protobuf.MapField internalGetMutableTags() { if (tags_ == null) { - tags_ = com.google.protobuf.MapField.newMapField( - TagsDefaultEntryHolder.defaultEntry); + tags_ = com.google.protobuf.MapField.newMapField(TagsDefaultEntryHolder.defaultEntry); } if (!tags_.isMutable()) { tags_ = tags_.copy(); @@ -2872,10 +3364,13 @@ public com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder getConfi onChanged(); return tags_; } + public int getTagsCount() { return internalGetTags().getMap().size(); } /** + * + * *
      * Optional. A set of tags to apply to all underlying control plane Azure
      * resources.
@@ -2884,20 +3379,21 @@ public int getTagsCount() {
      * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public boolean containsTags(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsTags(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetTags().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getTagsMap()} instead.
-     */
+    /** Use {@link #getTagsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getTags() {
       return getTagsMap();
     }
     /**
+     *
+     *
      * 
      * Optional. A set of tags to apply to all underlying control plane Azure
      * resources.
@@ -2910,6 +3406,8 @@ public java.util.Map getTagsMap() {
       return internalGetTags().getMap();
     }
     /**
+     *
+     *
      * 
      * Optional. A set of tags to apply to all underlying control plane Azure
      * resources.
@@ -2918,17 +3416,19 @@ public java.util.Map getTagsMap() {
      * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getTagsOrDefault(
+    public /* nullable */ java.lang.String getTagsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetTags().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetTags().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Optional. A set of tags to apply to all underlying control plane Azure
      * resources.
@@ -2937,23 +3437,25 @@ java.lang.String getTagsOrDefault(
      * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public java.lang.String getTagsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetTags().getMap();
+    public java.lang.String getTagsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetTags().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearTags() {
       bitField0_ = (bitField0_ & ~0x00000200);
-      internalGetMutableTags().getMutableMap()
-          .clear();
+      internalGetMutableTags().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. A set of tags to apply to all underlying control plane Azure
      * resources.
@@ -2961,23 +3463,22 @@ public Builder clearTags() {
      *
      * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder removeTags(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableTags().getMutableMap()
-          .remove(key);
+    public Builder removeTags(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableTags().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableTags() {
+    public java.util.Map getMutableTags() {
       bitField0_ |= 0x00000200;
       return internalGetMutableTags().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Optional. A set of tags to apply to all underlying control plane Azure
      * resources.
@@ -2985,17 +3486,20 @@ public Builder removeTags(
      *
      * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putTags(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableTags().getMutableMap()
-          .put(key, value);
+    public Builder putTags(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableTags().getMutableMap().put(key, value);
       bitField0_ |= 0x00000200;
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. A set of tags to apply to all underlying control plane Azure
      * resources.
@@ -3003,27 +3507,33 @@ public Builder putTags(
      *
      * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putAllTags(
-        java.util.Map values) {
-      internalGetMutableTags().getMutableMap()
-          .putAll(values);
+    public Builder putAllTags(java.util.Map values) {
+      internalGetMutableTags().getMutableMap().putAll(values);
       bitField0_ |= 0x00000200;
       return this;
     }
 
     private java.util.List replicaPlacements_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureReplicaPlacementsIsMutable() {
       if (!((bitField0_ & 0x00000400) != 0)) {
-        replicaPlacements_ = new java.util.ArrayList(replicaPlacements_);
+        replicaPlacements_ =
+            new java.util.ArrayList(
+                replicaPlacements_);
         bitField0_ |= 0x00000400;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.gkemulticloud.v1.ReplicaPlacement, com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder, com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder> replicaPlacementsBuilder_;
+            com.google.cloud.gkemulticloud.v1.ReplicaPlacement,
+            com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder,
+            com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder>
+        replicaPlacementsBuilder_;
 
     /**
+     *
+     *
      * 
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3032,9 +3542,12 @@ private void ensureReplicaPlacementsIsMutable() {
      * to the three control plane replicas as evenly as possible.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List getReplicaPlacementsList() { + public java.util.List + getReplicaPlacementsList() { if (replicaPlacementsBuilder_ == null) { return java.util.Collections.unmodifiableList(replicaPlacements_); } else { @@ -3042,6 +3555,8 @@ public java.util.List getRep } } /** + * + * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3050,7 +3565,9 @@ public java.util.List getRep
      * to the three control plane replicas as evenly as possible.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getReplicaPlacementsCount() { if (replicaPlacementsBuilder_ == null) { @@ -3060,6 +3577,8 @@ public int getReplicaPlacementsCount() { } } /** + * + * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3068,7 +3587,9 @@ public int getReplicaPlacementsCount() {
      * to the three control plane replicas as evenly as possible.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.ReplicaPlacement getReplicaPlacements(int index) { if (replicaPlacementsBuilder_ == null) { @@ -3078,6 +3599,8 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacement getReplicaPlacements(i } } /** + * + * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3086,7 +3609,9 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacement getReplicaPlacements(i
      * to the three control plane replicas as evenly as possible.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setReplicaPlacements( int index, com.google.cloud.gkemulticloud.v1.ReplicaPlacement value) { @@ -3103,6 +3628,8 @@ public Builder setReplicaPlacements( return this; } /** + * + * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3111,7 +3638,9 @@ public Builder setReplicaPlacements(
      * to the three control plane replicas as evenly as possible.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setReplicaPlacements( int index, com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder builderForValue) { @@ -3125,6 +3654,8 @@ public Builder setReplicaPlacements( return this; } /** + * + * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3133,7 +3664,9 @@ public Builder setReplicaPlacements(
      * to the three control plane replicas as evenly as possible.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addReplicaPlacements(com.google.cloud.gkemulticloud.v1.ReplicaPlacement value) { if (replicaPlacementsBuilder_ == null) { @@ -3149,6 +3682,8 @@ public Builder addReplicaPlacements(com.google.cloud.gkemulticloud.v1.ReplicaPla return this; } /** + * + * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3157,7 +3692,9 @@ public Builder addReplicaPlacements(com.google.cloud.gkemulticloud.v1.ReplicaPla
      * to the three control plane replicas as evenly as possible.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addReplicaPlacements( int index, com.google.cloud.gkemulticloud.v1.ReplicaPlacement value) { @@ -3174,6 +3711,8 @@ public Builder addReplicaPlacements( return this; } /** + * + * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3182,7 +3721,9 @@ public Builder addReplicaPlacements(
      * to the three control plane replicas as evenly as possible.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addReplicaPlacements( com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder builderForValue) { @@ -3196,6 +3737,8 @@ public Builder addReplicaPlacements( return this; } /** + * + * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3204,7 +3747,9 @@ public Builder addReplicaPlacements(
      * to the three control plane replicas as evenly as possible.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addReplicaPlacements( int index, com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder builderForValue) { @@ -3218,6 +3763,8 @@ public Builder addReplicaPlacements( return this; } /** + * + * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3226,14 +3773,15 @@ public Builder addReplicaPlacements(
      * to the three control plane replicas as evenly as possible.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllReplicaPlacements( java.lang.Iterable values) { if (replicaPlacementsBuilder_ == null) { ensureReplicaPlacementsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, replicaPlacements_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, replicaPlacements_); onChanged(); } else { replicaPlacementsBuilder_.addAllMessages(values); @@ -3241,6 +3789,8 @@ public Builder addAllReplicaPlacements( return this; } /** + * + * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3249,7 +3799,9 @@ public Builder addAllReplicaPlacements(
      * to the three control plane replicas as evenly as possible.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearReplicaPlacements() { if (replicaPlacementsBuilder_ == null) { @@ -3262,6 +3814,8 @@ public Builder clearReplicaPlacements() { return this; } /** + * + * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3270,7 +3824,9 @@ public Builder clearReplicaPlacements() {
      * to the three control plane replicas as evenly as possible.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeReplicaPlacements(int index) { if (replicaPlacementsBuilder_ == null) { @@ -3283,6 +3839,8 @@ public Builder removeReplicaPlacements(int index) { return this; } /** + * + * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3291,13 +3849,17 @@ public Builder removeReplicaPlacements(int index) {
      * to the three control plane replicas as evenly as possible.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder getReplicaPlacementsBuilder( int index) { return getReplicaPlacementsFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3306,16 +3868,21 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder getReplicaPlac
      * to the three control plane replicas as evenly as possible.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder getReplicaPlacementsOrBuilder( - int index) { + public com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder + getReplicaPlacementsOrBuilder(int index) { if (replicaPlacementsBuilder_ == null) { - return replicaPlacements_.get(index); } else { + return replicaPlacements_.get(index); + } else { return replicaPlacementsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3324,10 +3891,12 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder getReplicaPla
      * to the three control plane replicas as evenly as possible.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getReplicaPlacementsOrBuilderList() { + public java.util.List + getReplicaPlacementsOrBuilderList() { if (replicaPlacementsBuilder_ != null) { return replicaPlacementsBuilder_.getMessageOrBuilderList(); } else { @@ -3335,6 +3904,8 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder getReplicaPla } } /** + * + * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3343,13 +3914,18 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder getReplicaPla
      * to the three control plane replicas as evenly as possible.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder addReplicaPlacementsBuilder() { - return getReplicaPlacementsFieldBuilder().addBuilder( - com.google.cloud.gkemulticloud.v1.ReplicaPlacement.getDefaultInstance()); + public com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder + addReplicaPlacementsBuilder() { + return getReplicaPlacementsFieldBuilder() + .addBuilder(com.google.cloud.gkemulticloud.v1.ReplicaPlacement.getDefaultInstance()); } /** + * + * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3358,14 +3934,19 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder addReplicaPlac
      * to the three control plane replicas as evenly as possible.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder addReplicaPlacementsBuilder( int index) { - return getReplicaPlacementsFieldBuilder().addBuilder( - index, com.google.cloud.gkemulticloud.v1.ReplicaPlacement.getDefaultInstance()); + return getReplicaPlacementsFieldBuilder() + .addBuilder( + index, com.google.cloud.gkemulticloud.v1.ReplicaPlacement.getDefaultInstance()); } /** + * + * *
      * Optional. Configuration for where to place the control plane replicas.
      *
@@ -3374,18 +3955,26 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder addReplicaPlac
      * to the three control plane replicas as evenly as possible.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getReplicaPlacementsBuilderList() { + public java.util.List + getReplicaPlacementsBuilderList() { return getReplicaPlacementsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.ReplicaPlacement, com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder, com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder> + com.google.cloud.gkemulticloud.v1.ReplicaPlacement, + com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder, + com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder> getReplicaPlacementsFieldBuilder() { if (replicaPlacementsBuilder_ == null) { - replicaPlacementsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.ReplicaPlacement, com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder, com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder>( + replicaPlacementsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.ReplicaPlacement, + com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder, + com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder>( replicaPlacements_, ((bitField0_ & 0x00000400) != 0), getParentForChildren(), @@ -3397,6 +3986,8 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder addReplicaPlac private java.lang.Object endpointSubnetId_ = ""; /** + * + * *
      * Optional. The ARM ID of the subnet where the control plane load balancer is
      * deployed. When unspecified, it defaults to AzureControlPlane.subnet_id.
@@ -3406,13 +3997,13 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder addReplicaPlac
      * 
* * string endpoint_subnet_id = 15 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The endpointSubnetId. */ public java.lang.String getEndpointSubnetId() { java.lang.Object ref = endpointSubnetId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endpointSubnetId_ = s; return s; @@ -3421,6 +4012,8 @@ public java.lang.String getEndpointSubnetId() { } } /** + * + * *
      * Optional. The ARM ID of the subnet where the control plane load balancer is
      * deployed. When unspecified, it defaults to AzureControlPlane.subnet_id.
@@ -3430,15 +4023,14 @@ public java.lang.String getEndpointSubnetId() {
      * 
* * string endpoint_subnet_id = 15 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for endpointSubnetId. */ - public com.google.protobuf.ByteString - getEndpointSubnetIdBytes() { + public com.google.protobuf.ByteString getEndpointSubnetIdBytes() { java.lang.Object ref = endpointSubnetId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); endpointSubnetId_ = b; return b; } else { @@ -3446,6 +4038,8 @@ public java.lang.String getEndpointSubnetId() { } } /** + * + * *
      * Optional. The ARM ID of the subnet where the control plane load balancer is
      * deployed. When unspecified, it defaults to AzureControlPlane.subnet_id.
@@ -3455,18 +4049,22 @@ public java.lang.String getEndpointSubnetId() {
      * 
* * string endpoint_subnet_id = 15 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The endpointSubnetId to set. * @return This builder for chaining. */ - public Builder setEndpointSubnetId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEndpointSubnetId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } endpointSubnetId_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** + * + * *
      * Optional. The ARM ID of the subnet where the control plane load balancer is
      * deployed. When unspecified, it defaults to AzureControlPlane.subnet_id.
@@ -3476,6 +4074,7 @@ public Builder setEndpointSubnetId(
      * 
* * string endpoint_subnet_id = 15 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEndpointSubnetId() { @@ -3485,6 +4084,8 @@ public Builder clearEndpointSubnetId() { return this; } /** + * + * *
      * Optional. The ARM ID of the subnet where the control plane load balancer is
      * deployed. When unspecified, it defaults to AzureControlPlane.subnet_id.
@@ -3494,21 +4095,23 @@ public Builder clearEndpointSubnetId() {
      * 
* * string endpoint_subnet_id = 15 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for endpointSubnetId to set. * @return This builder for chaining. */ - public Builder setEndpointSubnetIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEndpointSubnetIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); endpointSubnetId_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3518,12 +4121,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureControlPlane) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureControlPlane) private static final com.google.cloud.gkemulticloud.v1.AzureControlPlane DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureControlPlane(); } @@ -3532,27 +4135,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureControlPlane getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureControlPlane parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureControlPlane parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3567,6 +4170,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureControlPlane getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlaneOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlaneOrBuilder.java similarity index 71% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlaneOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlaneOrBuilder.java index 87cce09be60e..d6945b40adc2 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlaneOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureControlPlaneOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureControlPlaneOrBuilder extends +public interface AzureControlPlaneOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureControlPlane) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The Kubernetes version to run on control plane replicas
    * (e.g. `1.19.10-gke.1000`).
@@ -18,10 +36,13 @@ public interface AzureControlPlaneOrBuilder extends
    * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * Required. The Kubernetes version to run on control plane replicas
    * (e.g. `1.19.10-gke.1000`).
@@ -32,12 +53,14 @@ public interface AzureControlPlaneOrBuilder extends
    * 
* * string version = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * Optional. The ARM ID of the default subnet for the control plane. The
    * control plane VMs are deployed in this subnet, unless
@@ -52,10 +75,13 @@ public interface AzureControlPlaneOrBuilder extends
    * 
* * string subnet_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The subnetId. */ java.lang.String getSubnetId(); /** + * + * *
    * Optional. The ARM ID of the default subnet for the control plane. The
    * control plane VMs are deployed in this subnet, unless
@@ -70,12 +96,14 @@ public interface AzureControlPlaneOrBuilder extends
    * 
* * string subnet_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for subnetId. */ - com.google.protobuf.ByteString - getSubnetIdBytes(); + com.google.protobuf.ByteString getSubnetIdBytes(); /** + * + * *
    * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
    *
@@ -86,10 +114,13 @@ public interface AzureControlPlaneOrBuilder extends
    * 
* * string vm_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The vmSize. */ java.lang.String getVmSize(); /** + * + * *
    * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
    *
@@ -100,42 +131,58 @@ public interface AzureControlPlaneOrBuilder extends
    * 
* * string vm_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for vmSize. */ - com.google.protobuf.ByteString - getVmSizeBytes(); + com.google.protobuf.ByteString getVmSizeBytes(); /** + * + * *
    * Required. SSH configuration for how to access the underlying control plane
    * machines.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the sshConfig field is set. */ boolean hasSshConfig(); /** + * + * *
    * Required. SSH configuration for how to access the underlying control plane
    * machines.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The sshConfig. */ com.google.cloud.gkemulticloud.v1.AzureSshConfig getSshConfig(); /** + * + * *
    * Required. SSH configuration for how to access the underlying control plane
    * machines.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder getSshConfigOrBuilder(); /** + * + * *
    * Optional. Configuration related to the root volume provisioned for each
    * control plane replica.
@@ -143,11 +190,16 @@ public interface AzureControlPlaneOrBuilder extends
    * When unspecified, it defaults to 32-GiB Azure Disk.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the rootVolume field is set. */ boolean hasRootVolume(); /** + * + * *
    * Optional. Configuration related to the root volume provisioned for each
    * control plane replica.
@@ -155,11 +207,16 @@ public interface AzureControlPlaneOrBuilder extends
    * When unspecified, it defaults to 32-GiB Azure Disk.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The rootVolume. */ com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getRootVolume(); /** + * + * *
    * Optional. Configuration related to the root volume provisioned for each
    * control plane replica.
@@ -167,11 +224,15 @@ public interface AzureControlPlaneOrBuilder extends
    * When unspecified, it defaults to 32-GiB Azure Disk.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getRootVolumeOrBuilder(); /** + * + * *
    * Optional. Configuration related to the main volume provisioned for each
    * control plane replica.
@@ -180,11 +241,16 @@ public interface AzureControlPlaneOrBuilder extends
    * When unspecified, it defaults to a 8-GiB Azure Disk.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the mainVolume field is set. */ boolean hasMainVolume(); /** + * + * *
    * Optional. Configuration related to the main volume provisioned for each
    * control plane replica.
@@ -193,11 +259,16 @@ public interface AzureControlPlaneOrBuilder extends
    * When unspecified, it defaults to a 8-GiB Azure Disk.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The mainVolume. */ com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getMainVolume(); /** + * + * *
    * Optional. Configuration related to the main volume provisioned for each
    * control plane replica.
@@ -206,92 +277,139 @@ public interface AzureControlPlaneOrBuilder extends
    * When unspecified, it defaults to a 8-GiB Azure Disk.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getMainVolumeOrBuilder(); /** + * + * *
    * Optional. Configuration related to application-layer secrets encryption.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the databaseEncryption field is set. */ boolean hasDatabaseEncryption(); /** + * + * *
    * Optional. Configuration related to application-layer secrets encryption.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The databaseEncryption. */ com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption getDatabaseEncryption(); /** + * + * *
    * Optional. Configuration related to application-layer secrets encryption.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryptionOrBuilder getDatabaseEncryptionOrBuilder(); + com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryptionOrBuilder + getDatabaseEncryptionOrBuilder(); /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the proxyConfig field is set. */ boolean hasProxyConfig(); /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The proxyConfig. */ com.google.cloud.gkemulticloud.v1.AzureProxyConfig getProxyConfig(); /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder getProxyConfigOrBuilder(); /** + * + * *
    * Optional. Configuration related to vm config encryption.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the configEncryption field is set. */ boolean hasConfigEncryption(); /** + * + * *
    * Optional. Configuration related to vm config encryption.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The configEncryption. */ com.google.cloud.gkemulticloud.v1.AzureConfigEncryption getConfigEncryption(); /** + * + * *
    * Optional. Configuration related to vm config encryption.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder getConfigEncryptionOrBuilder(); /** + * + * *
    * Optional. A set of tags to apply to all underlying control plane Azure
    * resources.
@@ -301,6 +419,8 @@ public interface AzureControlPlaneOrBuilder extends
    */
   int getTagsCount();
   /**
+   *
+   *
    * 
    * Optional. A set of tags to apply to all underlying control plane Azure
    * resources.
@@ -308,15 +428,13 @@ public interface AzureControlPlaneOrBuilder extends
    *
    * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL];
    */
-  boolean containsTags(
-      java.lang.String key);
-  /**
-   * Use {@link #getTagsMap()} instead.
-   */
+  boolean containsTags(java.lang.String key);
+  /** Use {@link #getTagsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getTags();
+  java.util.Map getTags();
   /**
+   *
+   *
    * 
    * Optional. A set of tags to apply to all underlying control plane Azure
    * resources.
@@ -324,9 +442,10 @@ boolean containsTags(
    *
    * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.util.Map
-  getTagsMap();
+  java.util.Map getTagsMap();
   /**
+   *
+   *
    * 
    * Optional. A set of tags to apply to all underlying control plane Azure
    * resources.
@@ -335,11 +454,13 @@ boolean containsTags(
    * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL];
    */
   /* nullable */
-java.lang.String getTagsOrDefault(
+  java.lang.String getTagsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Optional. A set of tags to apply to all underlying control plane Azure
    * resources.
@@ -347,10 +468,11 @@ java.lang.String getTagsOrDefault(
    *
    * map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.lang.String getTagsOrThrow(
-      java.lang.String key);
+  java.lang.String getTagsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Optional. Configuration for where to place the control plane replicas.
    *
@@ -359,11 +481,14 @@ java.lang.String getTagsOrThrow(
    * to the three control plane replicas as evenly as possible.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List - getReplicaPlacementsList(); + java.util.List getReplicaPlacementsList(); /** + * + * *
    * Optional. Configuration for where to place the control plane replicas.
    *
@@ -372,10 +497,14 @@ java.lang.String getTagsOrThrow(
    * to the three control plane replicas as evenly as possible.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.ReplicaPlacement getReplicaPlacements(int index); /** + * + * *
    * Optional. Configuration for where to place the control plane replicas.
    *
@@ -384,10 +513,14 @@ java.lang.String getTagsOrThrow(
    * to the three control plane replicas as evenly as possible.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getReplicaPlacementsCount(); /** + * + * *
    * Optional. Configuration for where to place the control plane replicas.
    *
@@ -396,11 +529,15 @@ java.lang.String getTagsOrThrow(
    * to the three control plane replicas as evenly as possible.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getReplicaPlacementsOrBuilderList(); /** + * + * *
    * Optional. Configuration for where to place the control plane replicas.
    *
@@ -409,12 +546,16 @@ java.lang.String getTagsOrThrow(
    * to the three control plane replicas as evenly as possible.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder getReplicaPlacementsOrBuilder( int index); /** + * + * *
    * Optional. The ARM ID of the subnet where the control plane load balancer is
    * deployed. When unspecified, it defaults to AzureControlPlane.subnet_id.
@@ -424,10 +565,13 @@ com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder getReplicaPlacements
    * 
* * string endpoint_subnet_id = 15 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The endpointSubnetId. */ java.lang.String getEndpointSubnetId(); /** + * + * *
    * Optional. The ARM ID of the subnet where the control plane load balancer is
    * deployed. When unspecified, it defaults to AzureControlPlane.subnet_id.
@@ -437,8 +581,8 @@ com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder getReplicaPlacements
    * 
* * string endpoint_subnet_id = 15 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for endpointSubnetId. */ - com.google.protobuf.ByteString - getEndpointSubnetIdBytes(); + com.google.protobuf.ByteString getEndpointSubnetIdBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryption.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryption.java similarity index 70% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryption.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryption.java index 11ac89071a1a..b3afc4a7935d 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryption.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryption.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Configuration related to application-layer secrets encryption.
  *
@@ -13,43 +30,48 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureDatabaseEncryption}
  */
-public final class AzureDatabaseEncryption extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AzureDatabaseEncryption extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureDatabaseEncryption)
     AzureDatabaseEncryptionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AzureDatabaseEncryption.newBuilder() to construct.
   private AzureDatabaseEncryption(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AzureDatabaseEncryption() {
     keyId_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AzureDatabaseEncryption();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.class, com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.Builder.class);
+            com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.class,
+            com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.Builder.class);
   }
 
   public static final int KEY_ID_FIELD_NUMBER = 3;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object keyId_ = "";
   /**
+   *
+   *
    * 
    * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.
    *
@@ -60,6 +82,7 @@ protected java.lang.Object newInstance(
    * 
* * string key_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The keyId. */ @java.lang.Override @@ -68,14 +91,15 @@ public java.lang.String getKeyId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyId_ = s; return s; } } /** + * + * *
    * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.
    *
@@ -86,16 +110,15 @@ public java.lang.String getKeyId() {
    * 
* * string key_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for keyId. */ @java.lang.Override - public com.google.protobuf.ByteString - getKeyIdBytes() { + public com.google.protobuf.ByteString getKeyIdBytes() { java.lang.Object ref = keyId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); keyId_ = b; return b; } else { @@ -104,6 +127,7 @@ public java.lang.String getKeyId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -115,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, keyId_); } @@ -140,15 +163,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption other = (com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption) obj; + com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption other = + (com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption) obj; - if (!getKeyId() - .equals(other.getKeyId())) return false; + if (!getKeyId().equals(other.getKeyId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -168,98 +191,104 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration related to application-layer secrets encryption.
    *
@@ -269,33 +298,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureDatabaseEncryption}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureDatabaseEncryption)
       com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryptionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.class, com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.Builder.class);
+              com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.class,
+              com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -305,9 +333,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_descriptor;
     }
 
     @java.lang.Override
@@ -326,8 +354,11 @@ public com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption buildPartial() {
-      com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption result = new com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption result =
+          new com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -343,38 +374,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryp
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption)other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -382,7 +414,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption other) {
-      if (other == com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.getDefaultInstance()) return this;
+      if (other == com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption.getDefaultInstance())
+        return this;
       if (!other.getKeyId().isEmpty()) {
         keyId_ = other.keyId_;
         bitField0_ |= 0x00000001;
@@ -414,17 +447,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 26: {
-              keyId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 26:
+              {
+                keyId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -434,10 +469,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object keyId_ = "";
     /**
+     *
+     *
      * 
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.
      *
@@ -448,13 +486,13 @@ public Builder mergeFrom(
      * 
* * string key_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The keyId. */ public java.lang.String getKeyId() { java.lang.Object ref = keyId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyId_ = s; return s; @@ -463,6 +501,8 @@ public java.lang.String getKeyId() { } } /** + * + * *
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.
      *
@@ -473,15 +513,14 @@ public java.lang.String getKeyId() {
      * 
* * string key_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for keyId. */ - public com.google.protobuf.ByteString - getKeyIdBytes() { + public com.google.protobuf.ByteString getKeyIdBytes() { java.lang.Object ref = keyId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); keyId_ = b; return b; } else { @@ -489,6 +528,8 @@ public java.lang.String getKeyId() { } } /** + * + * *
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.
      *
@@ -499,18 +540,22 @@ public java.lang.String getKeyId() {
      * 
* * string key_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The keyId to set. * @return This builder for chaining. */ - public Builder setKeyId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKeyId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } keyId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.
      *
@@ -521,6 +566,7 @@ public Builder setKeyId(
      * 
* * string key_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearKeyId() { @@ -530,6 +576,8 @@ public Builder clearKeyId() { return this; } /** + * + * *
      * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.
      *
@@ -540,21 +588,23 @@ public Builder clearKeyId() {
      * 
* * string key_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for keyId to set. * @return This builder for chaining. */ - public Builder setKeyIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKeyIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); keyId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -564,12 +614,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureDatabaseEncryption) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureDatabaseEncryption) private static final com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption(); } @@ -578,27 +628,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureDatabaseEncryption parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureDatabaseEncryption parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -613,6 +663,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureDatabaseEncryption getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryptionOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryptionOrBuilder.java similarity index 65% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryptionOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryptionOrBuilder.java index 56d1215984ff..5d40c7eb3bcb 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryptionOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDatabaseEncryptionOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureDatabaseEncryptionOrBuilder extends +public interface AzureDatabaseEncryptionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureDatabaseEncryption) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.
    *
@@ -18,10 +36,13 @@ public interface AzureDatabaseEncryptionOrBuilder extends
    * 
* * string key_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The keyId. */ java.lang.String getKeyId(); /** + * + * *
    * Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt data.
    *
@@ -32,8 +53,8 @@ public interface AzureDatabaseEncryptionOrBuilder extends
    * 
* * string key_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for keyId. */ - com.google.protobuf.ByteString - getKeyIdBytes(); + com.google.protobuf.ByteString getKeyIdBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplate.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplate.java similarity index 66% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplate.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplate.java index 162b55045659..0bcd1124bb90 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplate.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplate.java @@ -1,50 +1,70 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Configuration for Azure Disks.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureDiskTemplate} */ -public final class AzureDiskTemplate extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AzureDiskTemplate extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureDiskTemplate) AzureDiskTemplateOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AzureDiskTemplate.newBuilder() to construct. private AzureDiskTemplate(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AzureDiskTemplate() { - } + + private AzureDiskTemplate() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AzureDiskTemplate(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.class, com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.class, + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder.class); } public static final int SIZE_GIB_FIELD_NUMBER = 1; private int sizeGib_ = 0; /** + * + * *
    * Optional. The size of the disk, in GiBs.
    *
@@ -53,6 +73,7 @@ protected java.lang.Object newInstance(
    * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The sizeGib. */ @java.lang.Override @@ -61,6 +82,7 @@ public int getSizeGib() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -72,8 +94,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (sizeGib_ != 0) { output.writeInt32(1, sizeGib_); } @@ -87,8 +108,7 @@ public int getSerializedSize() { size = 0; if (sizeGib_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, sizeGib_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, sizeGib_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -98,15 +118,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureDiskTemplate)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate other = (com.google.cloud.gkemulticloud.v1.AzureDiskTemplate) obj; + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate other = + (com.google.cloud.gkemulticloud.v1.AzureDiskTemplate) obj; - if (getSizeGib() - != other.getSizeGib()) return false; + if (getSizeGib() != other.getSizeGib()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -126,131 +146,135 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AzureDiskTemplate parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureDiskTemplate parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureDiskTemplate parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureDiskTemplate parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureDiskTemplate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureDiskTemplate parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureDiskTemplate parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AzureDiskTemplate parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureDiskTemplate parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureDiskTemplate parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureDiskTemplate parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureDiskTemplate parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureDiskTemplate parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureDiskTemplate parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for Azure Disks.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureDiskTemplate} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureDiskTemplate) com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.class, com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.class, + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -260,9 +284,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_descriptor; } @java.lang.Override @@ -281,8 +305,11 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate buildPartial() { - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate result = new com.google.cloud.gkemulticloud.v1.AzureDiskTemplate(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate result = + new com.google.cloud.gkemulticloud.v1.AzureDiskTemplate(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -298,38 +325,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AzureDiskTemplate) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureDiskTemplate)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureDiskTemplate) other); } else { super.mergeFrom(other); return this; @@ -337,7 +365,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate other) { - if (other == com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance()) + return this; if (other.getSizeGib() != 0) { setSizeGib(other.getSizeGib()); } @@ -367,17 +396,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - sizeGib_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + sizeGib_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -387,10 +418,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int sizeGib_ ; + private int sizeGib_; /** + * + * *
      * Optional. The size of the disk, in GiBs.
      *
@@ -399,6 +433,7 @@ public Builder mergeFrom(
      * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The sizeGib. */ @java.lang.Override @@ -406,6 +441,8 @@ public int getSizeGib() { return sizeGib_; } /** + * + * *
      * Optional. The size of the disk, in GiBs.
      *
@@ -414,6 +451,7 @@ public int getSizeGib() {
      * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The sizeGib to set. * @return This builder for chaining. */ @@ -425,6 +463,8 @@ public Builder setSizeGib(int value) { return this; } /** + * + * *
      * Optional. The size of the disk, in GiBs.
      *
@@ -433,6 +473,7 @@ public Builder setSizeGib(int value) {
      * 
* * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearSizeGib() { @@ -441,9 +482,9 @@ public Builder clearSizeGib() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -453,12 +494,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureDiskTemplate) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureDiskTemplate) private static final com.google.cloud.gkemulticloud.v1.AzureDiskTemplate DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureDiskTemplate(); } @@ -467,27 +508,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureDiskTemplate parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureDiskTemplate parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -502,6 +543,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplateOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplateOrBuilder.java new file mode 100644 index 000000000000..e663081a4ebb --- /dev/null +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplateOrBuilder.java @@ -0,0 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface AzureDiskTemplateOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureDiskTemplate) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Optional. The size of the disk, in GiBs.
+   *
+   * When unspecified, a default value is provided. See the specific reference
+   * in the parent resource.
+   * 
+ * + * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The sizeGib. + */ + int getSizeGib(); +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureJsonWebKeys.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureJsonWebKeys.java similarity index 72% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureJsonWebKeys.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureJsonWebKeys.java index 7d635874e25e..0656e26e7b96 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureJsonWebKeys.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureJsonWebKeys.java @@ -1,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * AzureJsonWebKeys is a valid JSON Web Key Set as specififed in RFC 7517.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureJsonWebKeys} */ -public final class AzureJsonWebKeys extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AzureJsonWebKeys extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureJsonWebKeys) AzureJsonWebKeysOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AzureJsonWebKeys.newBuilder() to construct. private AzureJsonWebKeys(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AzureJsonWebKeys() { keys_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AzureJsonWebKeys(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureJsonWebKeys_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureJsonWebKeys_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureJsonWebKeys_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureJsonWebKeys_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys.class, com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys.class, + com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys.Builder.class); } public static final int KEYS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List keys_; /** + * + * *
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -59,6 +81,8 @@ public java.util.List getKeysList() {
     return keys_;
   }
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -67,11 +91,13 @@ public java.util.List getKeysList() {
    * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getKeysOrBuilderList() {
     return keys_;
   }
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -84,6 +110,8 @@ public int getKeysCount() {
     return keys_.size();
   }
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -96,6 +124,8 @@ public com.google.cloud.gkemulticloud.v1.Jwk getKeys(int index) {
     return keys_.get(index);
   }
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -104,12 +134,12 @@ public com.google.cloud.gkemulticloud.v1.Jwk getKeys(int index) {
    * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1;
    */
   @java.lang.Override
-  public com.google.cloud.gkemulticloud.v1.JwkOrBuilder getKeysOrBuilder(
-      int index) {
+  public com.google.cloud.gkemulticloud.v1.JwkOrBuilder getKeysOrBuilder(int index) {
     return keys_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -121,8 +151,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < keys_.size(); i++) {
       output.writeMessage(1, keys_.get(i));
     }
@@ -136,8 +165,7 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < keys_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, keys_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, keys_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -147,15 +175,15 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys)) {
       return super.equals(obj);
     }
-    com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys other = (com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys) obj;
+    com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys other =
+        (com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys) obj;
 
-    if (!getKeysList()
-        .equals(other.getKeysList())) return false;
+    if (!getKeysList().equals(other.getKeysList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -177,131 +205,135 @@ public int hashCode() {
   }
 
   public static com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * AzureJsonWebKeys is a valid JSON Web Key Set as specififed in RFC 7517.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureJsonWebKeys} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureJsonWebKeys) com.google.cloud.gkemulticloud.v1.AzureJsonWebKeysOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureJsonWebKeys_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureJsonWebKeys_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureJsonWebKeys_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureJsonWebKeys_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys.class, com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys.class, + com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -317,9 +349,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureJsonWebKeys_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureJsonWebKeys_descriptor; } @java.lang.Override @@ -338,14 +370,18 @@ public com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys buildPartial() { - com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys result = new com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys(this); + com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys result = + new com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys result) { + private void buildPartialRepeatedFields( + com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys result) { if (keysBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { keys_ = java.util.Collections.unmodifiableList(keys_); @@ -365,38 +401,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys) other); } else { super.mergeFrom(other); return this; @@ -404,7 +441,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys other) { - if (other == com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys.getDefaultInstance()) + return this; if (keysBuilder_ == null) { if (!other.keys_.isEmpty()) { if (keys_.isEmpty()) { @@ -423,9 +461,10 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys othe keysBuilder_ = null; keys_ = other.keys_; bitField0_ = (bitField0_ & ~0x00000001); - keysBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getKeysFieldBuilder() : null; + keysBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getKeysFieldBuilder() + : null; } else { keysBuilder_.addAllMessages(other.keys_); } @@ -457,25 +496,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.gkemulticloud.v1.Jwk m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.Jwk.parser(), - extensionRegistry); - if (keysBuilder_ == null) { - ensureKeysIsMutable(); - keys_.add(m); - } else { - keysBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.gkemulticloud.v1.Jwk m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.Jwk.parser(), extensionRegistry); + if (keysBuilder_ == null) { + ensureKeysIsMutable(); + keys_.add(m); + } else { + keysBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -485,21 +525,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List keys_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureKeysIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { keys_ = new java.util.ArrayList(keys_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.Jwk, com.google.cloud.gkemulticloud.v1.Jwk.Builder, com.google.cloud.gkemulticloud.v1.JwkOrBuilder> keysBuilder_; + com.google.cloud.gkemulticloud.v1.Jwk, + com.google.cloud.gkemulticloud.v1.Jwk.Builder, + com.google.cloud.gkemulticloud.v1.JwkOrBuilder> + keysBuilder_; /** + * + * *
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -515,6 +562,8 @@ public java.util.List getKeysList() {
       }
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -530,6 +579,8 @@ public int getKeysCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -545,6 +596,8 @@ public com.google.cloud.gkemulticloud.v1.Jwk getKeys(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -552,8 +605,7 @@ public com.google.cloud.gkemulticloud.v1.Jwk getKeys(int index) {
      *
      * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1;
      */
-    public Builder setKeys(
-        int index, com.google.cloud.gkemulticloud.v1.Jwk value) {
+    public Builder setKeys(int index, com.google.cloud.gkemulticloud.v1.Jwk value) {
       if (keysBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -567,6 +619,8 @@ public Builder setKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -586,6 +640,8 @@ public Builder setKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -607,6 +663,8 @@ public Builder addKeys(com.google.cloud.gkemulticloud.v1.Jwk value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -614,8 +672,7 @@ public Builder addKeys(com.google.cloud.gkemulticloud.v1.Jwk value) {
      *
      * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1;
      */
-    public Builder addKeys(
-        int index, com.google.cloud.gkemulticloud.v1.Jwk value) {
+    public Builder addKeys(int index, com.google.cloud.gkemulticloud.v1.Jwk value) {
       if (keysBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -629,6 +686,8 @@ public Builder addKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -636,8 +695,7 @@ public Builder addKeys(
      *
      * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1;
      */
-    public Builder addKeys(
-        com.google.cloud.gkemulticloud.v1.Jwk.Builder builderForValue) {
+    public Builder addKeys(com.google.cloud.gkemulticloud.v1.Jwk.Builder builderForValue) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
         keys_.add(builderForValue.build());
@@ -648,6 +706,8 @@ public Builder addKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -667,6 +727,8 @@ public Builder addKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -678,8 +740,7 @@ public Builder addAllKeys(
         java.lang.Iterable values) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, keys_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, keys_);
         onChanged();
       } else {
         keysBuilder_.addAllMessages(values);
@@ -687,6 +748,8 @@ public Builder addAllKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -705,6 +768,8 @@ public Builder clearKeys() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -723,6 +788,8 @@ public Builder removeKeys(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -730,11 +797,12 @@ public Builder removeKeys(int index) {
      *
      * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1;
      */
-    public com.google.cloud.gkemulticloud.v1.Jwk.Builder getKeysBuilder(
-        int index) {
+    public com.google.cloud.gkemulticloud.v1.Jwk.Builder getKeysBuilder(int index) {
       return getKeysFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -742,14 +810,16 @@ public com.google.cloud.gkemulticloud.v1.Jwk.Builder getKeysBuilder(
      *
      * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1;
      */
-    public com.google.cloud.gkemulticloud.v1.JwkOrBuilder getKeysOrBuilder(
-        int index) {
+    public com.google.cloud.gkemulticloud.v1.JwkOrBuilder getKeysOrBuilder(int index) {
       if (keysBuilder_ == null) {
-        return keys_.get(index);  } else {
+        return keys_.get(index);
+      } else {
         return keysBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -757,8 +827,8 @@ public com.google.cloud.gkemulticloud.v1.JwkOrBuilder getKeysOrBuilder(
      *
      * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1;
      */
-    public java.util.List 
-         getKeysOrBuilderList() {
+    public java.util.List
+        getKeysOrBuilderList() {
       if (keysBuilder_ != null) {
         return keysBuilder_.getMessageOrBuilderList();
       } else {
@@ -766,6 +836,8 @@ public com.google.cloud.gkemulticloud.v1.JwkOrBuilder getKeysOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -774,10 +846,12 @@ public com.google.cloud.gkemulticloud.v1.JwkOrBuilder getKeysOrBuilder(
      * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1;
      */
     public com.google.cloud.gkemulticloud.v1.Jwk.Builder addKeysBuilder() {
-      return getKeysFieldBuilder().addBuilder(
-          com.google.cloud.gkemulticloud.v1.Jwk.getDefaultInstance());
+      return getKeysFieldBuilder()
+          .addBuilder(com.google.cloud.gkemulticloud.v1.Jwk.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -785,12 +859,13 @@ public com.google.cloud.gkemulticloud.v1.Jwk.Builder addKeysBuilder() {
      *
      * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1;
      */
-    public com.google.cloud.gkemulticloud.v1.Jwk.Builder addKeysBuilder(
-        int index) {
-      return getKeysFieldBuilder().addBuilder(
-          index, com.google.cloud.gkemulticloud.v1.Jwk.getDefaultInstance());
+    public com.google.cloud.gkemulticloud.v1.Jwk.Builder addKeysBuilder(int index) {
+      return getKeysFieldBuilder()
+          .addBuilder(index, com.google.cloud.gkemulticloud.v1.Jwk.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -798,27 +873,29 @@ public com.google.cloud.gkemulticloud.v1.Jwk.Builder addKeysBuilder(
      *
      * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1;
      */
-    public java.util.List 
-         getKeysBuilderList() {
+    public java.util.List getKeysBuilderList() {
       return getKeysFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.gkemulticloud.v1.Jwk, com.google.cloud.gkemulticloud.v1.Jwk.Builder, com.google.cloud.gkemulticloud.v1.JwkOrBuilder> 
+            com.google.cloud.gkemulticloud.v1.Jwk,
+            com.google.cloud.gkemulticloud.v1.Jwk.Builder,
+            com.google.cloud.gkemulticloud.v1.JwkOrBuilder>
         getKeysFieldBuilder() {
       if (keysBuilder_ == null) {
-        keysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.gkemulticloud.v1.Jwk, com.google.cloud.gkemulticloud.v1.Jwk.Builder, com.google.cloud.gkemulticloud.v1.JwkOrBuilder>(
-                keys_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        keysBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.gkemulticloud.v1.Jwk,
+                com.google.cloud.gkemulticloud.v1.Jwk.Builder,
+                com.google.cloud.gkemulticloud.v1.JwkOrBuilder>(
+                keys_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         keys_ = null;
       }
       return keysBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -828,12 +905,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureJsonWebKeys)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureJsonWebKeys)
   private static final com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys();
   }
@@ -842,27 +919,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public AzureJsonWebKeys parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public AzureJsonWebKeys parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -877,6 +954,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureJsonWebKeysOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureJsonWebKeysOrBuilder.java
similarity index 64%
rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureJsonWebKeysOrBuilder.java
rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureJsonWebKeysOrBuilder.java
index a9754f59bc1a..84c45dc2291f 100644
--- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureJsonWebKeysOrBuilder.java
+++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureJsonWebKeysOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/gkemulticloud/v1/azure_resources.proto
 
 package com.google.cloud.gkemulticloud.v1;
 
-public interface AzureJsonWebKeysOrBuilder extends
+public interface AzureJsonWebKeysOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureJsonWebKeys)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -15,9 +33,10 @@ public interface AzureJsonWebKeysOrBuilder extends
    *
    * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1;
    */
-  java.util.List 
-      getKeysList();
+  java.util.List getKeysList();
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -27,6 +46,8 @@ public interface AzureJsonWebKeysOrBuilder extends
    */
   com.google.cloud.gkemulticloud.v1.Jwk getKeys(int index);
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -36,6 +57,8 @@ public interface AzureJsonWebKeysOrBuilder extends
    */
   int getKeysCount();
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -43,9 +66,10 @@ public interface AzureJsonWebKeysOrBuilder extends
    *
    * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1;
    */
-  java.util.List 
-      getKeysOrBuilderList();
+  java.util.List getKeysOrBuilderList();
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -53,6 +77,5 @@ public interface AzureJsonWebKeysOrBuilder extends
    *
    * repeated .google.cloud.gkemulticloud.v1.Jwk keys = 1;
    */
-  com.google.cloud.gkemulticloud.v1.JwkOrBuilder getKeysOrBuilder(
-      int index);
+  com.google.cloud.gkemulticloud.v1.JwkOrBuilder getKeysOrBuilder(int index);
 }
diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfo.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfo.java
similarity index 75%
rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfo.java
rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfo.java
index 57a0c3d685c8..aaf36ad0d30d 100644
--- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfo.java
+++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfo.java
@@ -1,57 +1,80 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/gkemulticloud/v1/azure_resources.proto
 
 package com.google.cloud.gkemulticloud.v1;
 
 /**
+ *
+ *
  * 
  * Kubernetes version information of GKE cluster on Azure.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureK8sVersionInfo} */ -public final class AzureK8sVersionInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AzureK8sVersionInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureK8sVersionInfo) AzureK8sVersionInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AzureK8sVersionInfo.newBuilder() to construct. private AzureK8sVersionInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AzureK8sVersionInfo() { version_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AzureK8sVersionInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.class, com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.class, + com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder.class); } public static final int VERSION_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object version_ = ""; /** + * + * *
    * Kubernetes version name (for example, `1.19.10-gke.1000`)
    * 
* * string version = 1; + * * @return The version. */ @java.lang.Override @@ -60,29 +83,29 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
    * Kubernetes version name (for example, `1.19.10-gke.1000`)
    * 
* * string version = 1; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -93,6 +116,8 @@ public java.lang.String getVersion() { public static final int ENABLED_FIELD_NUMBER = 3; private boolean enabled_ = false; /** + * + * *
    * Optional. True if the version is available for cluster creation. If a
    * version is enabled for creation, it can be used to create new clusters.
@@ -101,6 +126,7 @@ public java.lang.String getVersion() {
    * 
* * bool enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enabled. */ @java.lang.Override @@ -111,6 +137,8 @@ public boolean getEnabled() { public static final int END_OF_LIFE_FIELD_NUMBER = 4; private boolean endOfLife_ = false; /** + * + * *
    * Optional. True if this cluster version belongs to a minor version that has
    * reached its end of life and is no longer in scope to receive security and
@@ -118,6 +146,7 @@ public boolean getEnabled() {
    * 
* * bool end_of_life = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The endOfLife. */ @java.lang.Override @@ -128,6 +157,8 @@ public boolean getEndOfLife() { public static final int END_OF_LIFE_DATE_FIELD_NUMBER = 5; private com.google.type.Date endOfLifeDate_; /** + * + * *
    * Optional. The estimated date (in Pacific Time) when this cluster version
    * will reach its end of life. Or if this version is no longer supported (the
@@ -136,6 +167,7 @@ public boolean getEndOfLife() {
    * 
* * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the endOfLifeDate field is set. */ @java.lang.Override @@ -143,6 +175,8 @@ public boolean hasEndOfLifeDate() { return endOfLifeDate_ != null; } /** + * + * *
    * Optional. The estimated date (in Pacific Time) when this cluster version
    * will reach its end of life. Or if this version is no longer supported (the
@@ -151,6 +185,7 @@ public boolean hasEndOfLifeDate() {
    * 
* * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The endOfLifeDate. */ @java.lang.Override @@ -158,6 +193,8 @@ public com.google.type.Date getEndOfLifeDate() { return endOfLifeDate_ == null ? com.google.type.Date.getDefaultInstance() : endOfLifeDate_; } /** + * + * *
    * Optional. The estimated date (in Pacific Time) when this cluster version
    * will reach its end of life. Or if this version is no longer supported (the
@@ -175,11 +212,14 @@ public com.google.type.DateOrBuilder getEndOfLifeDateOrBuilder() {
   public static final int RELEASE_DATE_FIELD_NUMBER = 6;
   private com.google.type.Date releaseDate_;
   /**
+   *
+   *
    * 
    * Optional. The date (in Pacific Time) when the cluster version was released.
    * 
* * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the releaseDate field is set. */ @java.lang.Override @@ -187,11 +227,14 @@ public boolean hasReleaseDate() { return releaseDate_ != null; } /** + * + * *
    * Optional. The date (in Pacific Time) when the cluster version was released.
    * 
* * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The releaseDate. */ @java.lang.Override @@ -199,6 +242,8 @@ public com.google.type.Date getReleaseDate() { return releaseDate_ == null ? com.google.type.Date.getDefaultInstance() : releaseDate_; } /** + * + * *
    * Optional. The date (in Pacific Time) when the cluster version was released.
    * 
@@ -211,6 +256,7 @@ public com.google.type.DateOrBuilder getReleaseDateOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -222,8 +268,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); } @@ -252,20 +297,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, version_); } if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, enabled_); } if (endOfLife_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, endOfLife_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, endOfLife_); } if (endOfLifeDate_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getEndOfLifeDate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getEndOfLifeDate()); } if (releaseDate_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getReleaseDate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getReleaseDate()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -275,28 +316,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo other = (com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo) obj; + com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo other = + (com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo) obj; - if (!getVersion() - .equals(other.getVersion())) return false; - if (getEnabled() - != other.getEnabled()) return false; - if (getEndOfLife() - != other.getEndOfLife()) return false; + if (!getVersion().equals(other.getVersion())) return false; + if (getEnabled() != other.getEnabled()) return false; + if (getEndOfLife() != other.getEndOfLife()) return false; if (hasEndOfLifeDate() != other.hasEndOfLifeDate()) return false; if (hasEndOfLifeDate()) { - if (!getEndOfLifeDate() - .equals(other.getEndOfLifeDate())) return false; + if (!getEndOfLifeDate().equals(other.getEndOfLifeDate())) return false; } if (hasReleaseDate() != other.hasReleaseDate()) return false; if (hasReleaseDate()) { - if (!getReleaseDate() - .equals(other.getReleaseDate())) return false; + if (!getReleaseDate().equals(other.getReleaseDate())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -312,11 +349,9 @@ public int hashCode() { hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + getVersion().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (37 * hash) + END_OF_LIFE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEndOfLife()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEndOfLife()); if (hasEndOfLifeDate()) { hash = (37 * hash) + END_OF_LIFE_DATE_FIELD_NUMBER; hash = (53 * hash) + getEndOfLifeDate().hashCode(); @@ -331,131 +366,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Kubernetes version information of GKE cluster on Azure.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureK8sVersionInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureK8sVersionInfo) com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.class, com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.class, + com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -477,9 +517,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_descriptor; } @java.lang.Override @@ -498,8 +538,11 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo buildPartial() { - com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo result = new com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo result = + new com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -516,14 +559,12 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo result.endOfLife_ = endOfLife_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.endOfLifeDate_ = endOfLifeDateBuilder_ == null - ? endOfLifeDate_ - : endOfLifeDateBuilder_.build(); + result.endOfLifeDate_ = + endOfLifeDateBuilder_ == null ? endOfLifeDate_ : endOfLifeDateBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.releaseDate_ = releaseDateBuilder_ == null - ? releaseDate_ - : releaseDateBuilder_.build(); + result.releaseDate_ = + releaseDateBuilder_ == null ? releaseDate_ : releaseDateBuilder_.build(); } } @@ -531,38 +572,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo) other); } else { super.mergeFrom(other); return this; @@ -570,7 +612,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo other) { - if (other == com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.getDefaultInstance()) + return this; if (!other.getVersion().isEmpty()) { version_ = other.version_; bitField0_ |= 0x00000001; @@ -614,41 +657,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - version_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 24: { - enabled_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 24 - case 32: { - endOfLife_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 32 - case 42: { - input.readMessage( - getEndOfLifeDateFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 42 - case 50: { - input.readMessage( - getReleaseDateFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 24: + { + enabled_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 24 + case 32: + { + endOfLife_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 32 + case 42: + { + input.readMessage(getEndOfLifeDateFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 50: + { + input.readMessage(getReleaseDateFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -658,22 +703,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object version_ = ""; /** + * + * *
      * Kubernetes version name (for example, `1.19.10-gke.1000`)
      * 
* * string version = 1; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -682,20 +730,21 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Kubernetes version name (for example, `1.19.10-gke.1000`)
      * 
* * string version = 1; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -703,28 +752,35 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Kubernetes version name (for example, `1.19.10-gke.1000`)
      * 
* * string version = 1; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } version_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Kubernetes version name (for example, `1.19.10-gke.1000`)
      * 
* * string version = 1; + * * @return This builder for chaining. */ public Builder clearVersion() { @@ -734,17 +790,21 @@ public Builder clearVersion() { return this; } /** + * + * *
      * Kubernetes version name (for example, `1.19.10-gke.1000`)
      * 
* * string version = 1; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); version_ = value; bitField0_ |= 0x00000001; @@ -752,8 +812,10 @@ public Builder setVersionBytes( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Optional. True if the version is available for cluster creation. If a
      * version is enabled for creation, it can be used to create new clusters.
@@ -762,6 +824,7 @@ public Builder setVersionBytes(
      * 
* * bool enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enabled. */ @java.lang.Override @@ -769,6 +832,8 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Optional. True if the version is available for cluster creation. If a
      * version is enabled for creation, it can be used to create new clusters.
@@ -777,6 +842,7 @@ public boolean getEnabled() {
      * 
* * bool enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The enabled to set. * @return This builder for chaining. */ @@ -788,6 +854,8 @@ public Builder setEnabled(boolean value) { return this; } /** + * + * *
      * Optional. True if the version is available for cluster creation. If a
      * version is enabled for creation, it can be used to create new clusters.
@@ -796,6 +864,7 @@ public Builder setEnabled(boolean value) {
      * 
* * bool enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEnabled() { @@ -805,8 +874,10 @@ public Builder clearEnabled() { return this; } - private boolean endOfLife_ ; + private boolean endOfLife_; /** + * + * *
      * Optional. True if this cluster version belongs to a minor version that has
      * reached its end of life and is no longer in scope to receive security and
@@ -814,6 +885,7 @@ public Builder clearEnabled() {
      * 
* * bool end_of_life = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The endOfLife. */ @java.lang.Override @@ -821,6 +893,8 @@ public boolean getEndOfLife() { return endOfLife_; } /** + * + * *
      * Optional. True if this cluster version belongs to a minor version that has
      * reached its end of life and is no longer in scope to receive security and
@@ -828,6 +902,7 @@ public boolean getEndOfLife() {
      * 
* * bool end_of_life = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The endOfLife to set. * @return This builder for chaining. */ @@ -839,6 +914,8 @@ public Builder setEndOfLife(boolean value) { return this; } /** + * + * *
      * Optional. True if this cluster version belongs to a minor version that has
      * reached its end of life and is no longer in scope to receive security and
@@ -846,6 +923,7 @@ public Builder setEndOfLife(boolean value) {
      * 
* * bool end_of_life = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEndOfLife() { @@ -857,8 +935,11 @@ public Builder clearEndOfLife() { private com.google.type.Date endOfLifeDate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> endOfLifeDateBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + endOfLifeDateBuilder_; /** + * + * *
      * Optional. The estimated date (in Pacific Time) when this cluster version
      * will reach its end of life. Or if this version is no longer supported (the
@@ -866,13 +947,17 @@ public Builder clearEndOfLife() {
      * when the version reached its end of life.
      * 
* - * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the endOfLifeDate field is set. */ public boolean hasEndOfLifeDate() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Optional. The estimated date (in Pacific Time) when this cluster version
      * will reach its end of life. Or if this version is no longer supported (the
@@ -880,7 +965,9 @@ public boolean hasEndOfLifeDate() {
      * when the version reached its end of life.
      * 
* - * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The endOfLifeDate. */ public com.google.type.Date getEndOfLifeDate() { @@ -891,6 +978,8 @@ public com.google.type.Date getEndOfLifeDate() { } } /** + * + * *
      * Optional. The estimated date (in Pacific Time) when this cluster version
      * will reach its end of life. Or if this version is no longer supported (the
@@ -898,7 +987,8 @@ public com.google.type.Date getEndOfLifeDate() {
      * when the version reached its end of life.
      * 
* - * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEndOfLifeDate(com.google.type.Date value) { if (endOfLifeDateBuilder_ == null) { @@ -914,6 +1004,8 @@ public Builder setEndOfLifeDate(com.google.type.Date value) { return this; } /** + * + * *
      * Optional. The estimated date (in Pacific Time) when this cluster version
      * will reach its end of life. Or if this version is no longer supported (the
@@ -921,10 +1013,10 @@ public Builder setEndOfLifeDate(com.google.type.Date value) {
      * when the version reached its end of life.
      * 
* - * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setEndOfLifeDate( - com.google.type.Date.Builder builderForValue) { + public Builder setEndOfLifeDate(com.google.type.Date.Builder builderForValue) { if (endOfLifeDateBuilder_ == null) { endOfLifeDate_ = builderForValue.build(); } else { @@ -935,6 +1027,8 @@ public Builder setEndOfLifeDate( return this; } /** + * + * *
      * Optional. The estimated date (in Pacific Time) when this cluster version
      * will reach its end of life. Or if this version is no longer supported (the
@@ -942,13 +1036,14 @@ public Builder setEndOfLifeDate(
      * when the version reached its end of life.
      * 
* - * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeEndOfLifeDate(com.google.type.Date value) { if (endOfLifeDateBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - endOfLifeDate_ != null && - endOfLifeDate_ != com.google.type.Date.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && endOfLifeDate_ != null + && endOfLifeDate_ != com.google.type.Date.getDefaultInstance()) { getEndOfLifeDateBuilder().mergeFrom(value); } else { endOfLifeDate_ = value; @@ -961,6 +1056,8 @@ public Builder mergeEndOfLifeDate(com.google.type.Date value) { return this; } /** + * + * *
      * Optional. The estimated date (in Pacific Time) when this cluster version
      * will reach its end of life. Or if this version is no longer supported (the
@@ -968,7 +1065,8 @@ public Builder mergeEndOfLifeDate(com.google.type.Date value) {
      * when the version reached its end of life.
      * 
* - * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearEndOfLifeDate() { bitField0_ = (bitField0_ & ~0x00000008); @@ -981,6 +1079,8 @@ public Builder clearEndOfLifeDate() { return this; } /** + * + * *
      * Optional. The estimated date (in Pacific Time) when this cluster version
      * will reach its end of life. Or if this version is no longer supported (the
@@ -988,7 +1088,8 @@ public Builder clearEndOfLifeDate() {
      * when the version reached its end of life.
      * 
* - * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.type.Date.Builder getEndOfLifeDateBuilder() { bitField0_ |= 0x00000008; @@ -996,6 +1097,8 @@ public com.google.type.Date.Builder getEndOfLifeDateBuilder() { return getEndOfLifeDateFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The estimated date (in Pacific Time) when this cluster version
      * will reach its end of life. Or if this version is no longer supported (the
@@ -1003,17 +1106,19 @@ public com.google.type.Date.Builder getEndOfLifeDateBuilder() {
      * when the version reached its end of life.
      * 
* - * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.type.DateOrBuilder getEndOfLifeDateOrBuilder() { if (endOfLifeDateBuilder_ != null) { return endOfLifeDateBuilder_.getMessageOrBuilder(); } else { - return endOfLifeDate_ == null ? - com.google.type.Date.getDefaultInstance() : endOfLifeDate_; + return endOfLifeDate_ == null ? com.google.type.Date.getDefaultInstance() : endOfLifeDate_; } } /** + * + * *
      * Optional. The estimated date (in Pacific Time) when this cluster version
      * will reach its end of life. Or if this version is no longer supported (the
@@ -1021,17 +1126,17 @@ public com.google.type.DateOrBuilder getEndOfLifeDateOrBuilder() {
      * when the version reached its end of life.
      * 
* - * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> getEndOfLifeDateFieldBuilder() { if (endOfLifeDateBuilder_ == null) { - endOfLifeDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( - getEndOfLifeDate(), - getParentForChildren(), - isClean()); + endOfLifeDateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( + getEndOfLifeDate(), getParentForChildren(), isClean()); endOfLifeDate_ = null; } return endOfLifeDateBuilder_; @@ -1039,24 +1144,31 @@ public com.google.type.DateOrBuilder getEndOfLifeDateOrBuilder() { private com.google.type.Date releaseDate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> releaseDateBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + releaseDateBuilder_; /** + * + * *
      * Optional. The date (in Pacific Time) when the cluster version was released.
      * 
* * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the releaseDate field is set. */ public boolean hasReleaseDate() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Optional. The date (in Pacific Time) when the cluster version was released.
      * 
* * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The releaseDate. */ public com.google.type.Date getReleaseDate() { @@ -1067,6 +1179,8 @@ public com.google.type.Date getReleaseDate() { } } /** + * + * *
      * Optional. The date (in Pacific Time) when the cluster version was released.
      * 
@@ -1087,14 +1201,15 @@ public Builder setReleaseDate(com.google.type.Date value) { return this; } /** + * + * *
      * Optional. The date (in Pacific Time) when the cluster version was released.
      * 
* * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setReleaseDate( - com.google.type.Date.Builder builderForValue) { + public Builder setReleaseDate(com.google.type.Date.Builder builderForValue) { if (releaseDateBuilder_ == null) { releaseDate_ = builderForValue.build(); } else { @@ -1105,6 +1220,8 @@ public Builder setReleaseDate( return this; } /** + * + * *
      * Optional. The date (in Pacific Time) when the cluster version was released.
      * 
@@ -1113,9 +1230,9 @@ public Builder setReleaseDate( */ public Builder mergeReleaseDate(com.google.type.Date value) { if (releaseDateBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - releaseDate_ != null && - releaseDate_ != com.google.type.Date.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && releaseDate_ != null + && releaseDate_ != com.google.type.Date.getDefaultInstance()) { getReleaseDateBuilder().mergeFrom(value); } else { releaseDate_ = value; @@ -1128,6 +1245,8 @@ public Builder mergeReleaseDate(com.google.type.Date value) { return this; } /** + * + * *
      * Optional. The date (in Pacific Time) when the cluster version was released.
      * 
@@ -1145,6 +1264,8 @@ public Builder clearReleaseDate() { return this; } /** + * + * *
      * Optional. The date (in Pacific Time) when the cluster version was released.
      * 
@@ -1157,6 +1278,8 @@ public com.google.type.Date.Builder getReleaseDateBuilder() { return getReleaseDateFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The date (in Pacific Time) when the cluster version was released.
      * 
@@ -1167,11 +1290,12 @@ public com.google.type.DateOrBuilder getReleaseDateOrBuilder() { if (releaseDateBuilder_ != null) { return releaseDateBuilder_.getMessageOrBuilder(); } else { - return releaseDate_ == null ? - com.google.type.Date.getDefaultInstance() : releaseDate_; + return releaseDate_ == null ? com.google.type.Date.getDefaultInstance() : releaseDate_; } } /** + * + * *
      * Optional. The date (in Pacific Time) when the cluster version was released.
      * 
@@ -1179,21 +1303,20 @@ public com.google.type.DateOrBuilder getReleaseDateOrBuilder() { * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> getReleaseDateFieldBuilder() { if (releaseDateBuilder_ == null) { - releaseDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( - getReleaseDate(), - getParentForChildren(), - isClean()); + releaseDateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( + getReleaseDate(), getParentForChildren(), isClean()); releaseDate_ = null; } return releaseDateBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1203,12 +1326,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureK8sVersionInfo) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureK8sVersionInfo) private static final com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo(); } @@ -1217,27 +1340,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureK8sVersionInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureK8sVersionInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1252,6 +1375,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfoOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfoOrBuilder.java similarity index 81% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfoOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfoOrBuilder.java index 7b2ffd3e7e91..14ce5b5846a1 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfoOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureK8sVersionInfoOrBuilder.java @@ -1,33 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureK8sVersionInfoOrBuilder extends +public interface AzureK8sVersionInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureK8sVersionInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Kubernetes version name (for example, `1.19.10-gke.1000`)
    * 
* * string version = 1; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * Kubernetes version name (for example, `1.19.10-gke.1000`)
    * 
* * string version = 1; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * Optional. True if the version is available for cluster creation. If a
    * version is enabled for creation, it can be used to create new clusters.
@@ -36,11 +59,14 @@ public interface AzureK8sVersionInfoOrBuilder extends
    * 
* * bool enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The enabled. */ boolean getEnabled(); /** + * + * *
    * Optional. True if this cluster version belongs to a minor version that has
    * reached its end of life and is no longer in scope to receive security and
@@ -48,11 +74,14 @@ public interface AzureK8sVersionInfoOrBuilder extends
    * 
* * bool end_of_life = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The endOfLife. */ boolean getEndOfLife(); /** + * + * *
    * Optional. The estimated date (in Pacific Time) when this cluster version
    * will reach its end of life. Or if this version is no longer supported (the
@@ -61,10 +90,13 @@ public interface AzureK8sVersionInfoOrBuilder extends
    * 
* * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the endOfLifeDate field is set. */ boolean hasEndOfLifeDate(); /** + * + * *
    * Optional. The estimated date (in Pacific Time) when this cluster version
    * will reach its end of life. Or if this version is no longer supported (the
@@ -73,10 +105,13 @@ public interface AzureK8sVersionInfoOrBuilder extends
    * 
* * .google.type.Date end_of_life_date = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The endOfLifeDate. */ com.google.type.Date getEndOfLifeDate(); /** + * + * *
    * Optional. The estimated date (in Pacific Time) when this cluster version
    * will reach its end of life. Or if this version is no longer supported (the
@@ -89,24 +124,32 @@ public interface AzureK8sVersionInfoOrBuilder extends
   com.google.type.DateOrBuilder getEndOfLifeDateOrBuilder();
 
   /**
+   *
+   *
    * 
    * Optional. The date (in Pacific Time) when the cluster version was released.
    * 
* * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return Whether the releaseDate field is set. */ boolean hasReleaseDate(); /** + * + * *
    * Optional. The date (in Pacific Time) when the cluster version was released.
    * 
* * .google.type.Date release_date = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The releaseDate. */ com.google.type.Date getReleaseDate(); /** + * + * *
    * Optional. The date (in Pacific Time) when the cluster version was released.
    * 
diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfig.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfig.java similarity index 63% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfig.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfig.java index cb78889979f3..26440efca056 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfig.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Parameters that describe the configuration of all node machines
  * on a given node pool.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureNodeConfig}
  */
-public final class AzureNodeConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AzureNodeConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureNodeConfig)
     AzureNodeConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AzureNodeConfig.newBuilder() to construct.
   private AzureNodeConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AzureNodeConfig() {
     vmSize_ = "";
     imageType_ = "";
@@ -28,42 +46,45 @@ private AzureNodeConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AzureNodeConfig();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 3:
         return internalGetTags();
       case 11:
         return internalGetLabels();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.AzureNodeConfig.class, com.google.cloud.gkemulticloud.v1.AzureNodeConfig.Builder.class);
+            com.google.cloud.gkemulticloud.v1.AzureNodeConfig.class,
+            com.google.cloud.gkemulticloud.v1.AzureNodeConfig.Builder.class);
   }
 
   public static final int VM_SIZE_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object vmSize_ = "";
   /**
+   *
+   *
    * 
    * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
    *
@@ -74,6 +95,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The vmSize. */ @java.lang.Override @@ -82,14 +104,15 @@ public java.lang.String getVmSize() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vmSize_ = s; return s; } } /** + * + * *
    * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
    *
@@ -100,16 +123,15 @@ public java.lang.String getVmSize() {
    * 
* * string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for vmSize. */ @java.lang.Override - public com.google.protobuf.ByteString - getVmSizeBytes() { + public com.google.protobuf.ByteString getVmSizeBytes() { java.lang.Object ref = vmSize_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); vmSize_ = b; return b; } else { @@ -120,6 +142,8 @@ public java.lang.String getVmSize() { public static final int ROOT_VOLUME_FIELD_NUMBER = 2; private com.google.cloud.gkemulticloud.v1.AzureDiskTemplate rootVolume_; /** + * + * *
    * Optional. Configuration related to the root volume provisioned for each
    * node pool machine.
@@ -127,7 +151,10 @@ public java.lang.String getVmSize() {
    * When unspecified, it defaults to a 32-GiB Azure Disk.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the rootVolume field is set. */ @java.lang.Override @@ -135,6 +162,8 @@ public boolean hasRootVolume() { return rootVolume_ != null; } /** + * + * *
    * Optional. Configuration related to the root volume provisioned for each
    * node pool machine.
@@ -142,14 +171,21 @@ public boolean hasRootVolume() {
    * When unspecified, it defaults to a 32-GiB Azure Disk.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The rootVolume. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getRootVolume() { - return rootVolume_ == null ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() : rootVolume_; + return rootVolume_ == null + ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() + : rootVolume_; } /** + * + * *
    * Optional. Configuration related to the root volume provisioned for each
    * node pool machine.
@@ -157,40 +193,46 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getRootVolume() {
    * When unspecified, it defaults to a 32-GiB Azure Disk.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getRootVolumeOrBuilder() { - return rootVolume_ == null ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() : rootVolume_; + return rootVolume_ == null + ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() + : rootVolume_; } public static final int TAGS_FIELD_NUMBER = 3; + private static final class TagsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_TagsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_TagsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> tags_; - private com.google.protobuf.MapField - internalGetTags() { + private com.google.protobuf.MapField tags_; + + private com.google.protobuf.MapField internalGetTags() { if (tags_ == null) { - return com.google.protobuf.MapField.emptyMapField( - TagsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(TagsDefaultEntryHolder.defaultEntry); } return tags_; } + public int getTagsCount() { return internalGetTags().getMap().size(); } /** + * + * *
    * Optional. A set of tags to apply to all underlying Azure resources for this
    * node pool. This currently only includes Virtual Machine Scale Sets.
@@ -203,20 +245,21 @@ public int getTagsCount() {
    * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public boolean containsTags(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsTags(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetTags().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getTagsMap()} instead.
-   */
+  /** Use {@link #getTagsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getTags() {
     return getTagsMap();
   }
   /**
+   *
+   *
    * 
    * Optional. A set of tags to apply to all underlying Azure resources for this
    * node pool. This currently only includes Virtual Machine Scale Sets.
@@ -233,6 +276,8 @@ public java.util.Map getTagsMap() {
     return internalGetTags().getMap();
   }
   /**
+   *
+   *
    * 
    * Optional. A set of tags to apply to all underlying Azure resources for this
    * node pool. This currently only includes Virtual Machine Scale Sets.
@@ -245,17 +290,19 @@ public java.util.Map getTagsMap() {
    * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getTagsOrDefault(
+  public /* nullable */ java.lang.String getTagsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetTags().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetTags().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Optional. A set of tags to apply to all underlying Azure resources for this
    * node pool. This currently only includes Virtual Machine Scale Sets.
@@ -268,11 +315,11 @@ java.lang.String getTagsOrDefault(
    * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public java.lang.String getTagsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetTags().getMap();
+  public java.lang.String getTagsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetTags().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -280,9 +327,12 @@ public java.lang.String getTagsOrThrow(
   }
 
   public static final int IMAGE_TYPE_FIELD_NUMBER = 8;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object imageType_ = "";
   /**
+   *
+   *
    * 
    * Optional. The OS image type to use on node pool instances.
    * Can be unspecified, or have a value of `ubuntu`.
@@ -291,6 +341,7 @@ public java.lang.String getTagsOrThrow(
    * 
* * string image_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The imageType. */ @java.lang.Override @@ -299,14 +350,15 @@ public java.lang.String getImageType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; } } /** + * + * *
    * Optional. The OS image type to use on node pool instances.
    * Can be unspecified, or have a value of `ubuntu`.
@@ -315,16 +367,15 @@ public java.lang.String getImageType() {
    * 
* * string image_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for imageType. */ @java.lang.Override - public com.google.protobuf.ByteString - getImageTypeBytes() { + public com.google.protobuf.ByteString getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageType_ = b; return b; } else { @@ -335,11 +386,16 @@ public java.lang.String getImageType() { public static final int SSH_CONFIG_FIELD_NUMBER = 7; private com.google.cloud.gkemulticloud.v1.AzureSshConfig sshConfig_; /** + * + * *
    * Required. SSH configuration for how to access the node pool machines.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the sshConfig field is set. */ @java.lang.Override @@ -347,37 +403,55 @@ public boolean hasSshConfig() { return sshConfig_ != null; } /** + * + * *
    * Required. SSH configuration for how to access the node pool machines.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The sshConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureSshConfig getSshConfig() { - return sshConfig_ == null ? com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance() : sshConfig_; + return sshConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance() + : sshConfig_; } /** + * + * *
    * Required. SSH configuration for how to access the node pool machines.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder getSshConfigOrBuilder() { - return sshConfig_ == null ? com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance() : sshConfig_; + return sshConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance() + : sshConfig_; } public static final int PROXY_CONFIG_FIELD_NUMBER = 9; private com.google.cloud.gkemulticloud.v1.AzureProxyConfig proxyConfig_; /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the proxyConfig field is set. */ @java.lang.Override @@ -385,37 +459,55 @@ public boolean hasProxyConfig() { return proxyConfig_ != null; } /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The proxyConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureProxyConfig getProxyConfig() { - return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance() : proxyConfig_; + return proxyConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance() + : proxyConfig_; } /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder getProxyConfigOrBuilder() { - return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance() : proxyConfig_; + return proxyConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance() + : proxyConfig_; } public static final int CONFIG_ENCRYPTION_FIELD_NUMBER = 12; private com.google.cloud.gkemulticloud.v1.AzureConfigEncryption configEncryption_; /** + * + * *
    * Optional. Configuration related to vm config encryption.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the configEncryption field is set. */ @java.lang.Override @@ -423,117 +515,153 @@ public boolean hasConfigEncryption() { return configEncryption_ != null; } /** + * + * *
    * Optional. Configuration related to vm config encryption.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The configEncryption. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureConfigEncryption getConfigEncryption() { - return configEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance() : configEncryption_; + return configEncryption_ == null + ? com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance() + : configEncryption_; } /** + * + * *
    * Optional. Configuration related to vm config encryption.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder getConfigEncryptionOrBuilder() { - return configEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance() : configEncryption_; + public com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder + getConfigEncryptionOrBuilder() { + return configEncryption_ == null + ? com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance() + : configEncryption_; } public static final int TAINTS_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private java.util.List taints_; /** + * + * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.List getTaintsList() { return taints_; } /** + * + * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List getTaintsOrBuilderList() { return taints_; } /** + * + * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getTaintsCount() { return taints_.size(); } /** + * + * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.NodeTaint getTaints(int index) { return taints_.get(index); } /** + * + * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder( - int index) { + public com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index) { return taints_.get(index); } public static final int LABELS_FIELD_NUMBER = 11; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -543,20 +671,21 @@ public int getLabelsCount() {
    * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public boolean containsLabels(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsLabels(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
+   *
+   *
    * 
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -570,6 +699,8 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -579,17 +710,19 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getLabelsOrDefault(
+  public /* nullable */ java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -599,11 +732,11 @@ java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -611,6 +744,7 @@ public java.lang.String getLabelsOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -622,20 +756,15 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vmSize_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, vmSize_);
     }
     if (rootVolume_ != null) {
       output.writeMessage(2, getRootVolume());
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetTags(),
-        TagsDefaultEntryHolder.defaultEntry,
-        3);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetTags(), TagsDefaultEntryHolder.defaultEntry, 3);
     if (sshConfig_ != null) {
       output.writeMessage(7, getSshConfig());
     }
@@ -648,12 +777,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
     for (int i = 0; i < taints_.size(); i++) {
       output.writeMessage(10, taints_.get(i));
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetLabels(),
-        LabelsDefaultEntryHolder.defaultEntry,
-        11);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 11);
     if (configEncryption_ != null) {
       output.writeMessage(12, getConfigEncryption());
     }
@@ -670,47 +795,42 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, vmSize_);
     }
     if (rootVolume_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getRootVolume());
-    }
-    for (java.util.Map.Entry entry
-         : internalGetTags().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      tags__ = TagsDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, tags__);
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRootVolume());
+    }
+    for (java.util.Map.Entry entry :
+        internalGetTags().getMap().entrySet()) {
+      com.google.protobuf.MapEntry tags__ =
+          TagsDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, tags__);
     }
     if (sshConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, getSshConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getSshConfig());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageType_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, imageType_);
     }
     if (proxyConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(9, getProxyConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getProxyConfig());
     }
     for (int i = 0; i < taints_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(10, taints_.get(i));
-    }
-    for (java.util.Map.Entry entry
-         : internalGetLabels().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(11, labels__);
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, taints_.get(i));
+    }
+    for (java.util.Map.Entry entry :
+        internalGetLabels().getMap().entrySet()) {
+      com.google.protobuf.MapEntry labels__ =
+          LabelsDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, labels__);
     }
     if (configEncryption_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(12, getConfigEncryption());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getConfigEncryption());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -720,43 +840,35 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureNodeConfig)) {
       return super.equals(obj);
     }
-    com.google.cloud.gkemulticloud.v1.AzureNodeConfig other = (com.google.cloud.gkemulticloud.v1.AzureNodeConfig) obj;
+    com.google.cloud.gkemulticloud.v1.AzureNodeConfig other =
+        (com.google.cloud.gkemulticloud.v1.AzureNodeConfig) obj;
 
-    if (!getVmSize()
-        .equals(other.getVmSize())) return false;
+    if (!getVmSize().equals(other.getVmSize())) return false;
     if (hasRootVolume() != other.hasRootVolume()) return false;
     if (hasRootVolume()) {
-      if (!getRootVolume()
-          .equals(other.getRootVolume())) return false;
+      if (!getRootVolume().equals(other.getRootVolume())) return false;
     }
-    if (!internalGetTags().equals(
-        other.internalGetTags())) return false;
-    if (!getImageType()
-        .equals(other.getImageType())) return false;
+    if (!internalGetTags().equals(other.internalGetTags())) return false;
+    if (!getImageType().equals(other.getImageType())) return false;
     if (hasSshConfig() != other.hasSshConfig()) return false;
     if (hasSshConfig()) {
-      if (!getSshConfig()
-          .equals(other.getSshConfig())) return false;
+      if (!getSshConfig().equals(other.getSshConfig())) return false;
     }
     if (hasProxyConfig() != other.hasProxyConfig()) return false;
     if (hasProxyConfig()) {
-      if (!getProxyConfig()
-          .equals(other.getProxyConfig())) return false;
+      if (!getProxyConfig().equals(other.getProxyConfig())) return false;
     }
     if (hasConfigEncryption() != other.hasConfigEncryption()) return false;
     if (hasConfigEncryption()) {
-      if (!getConfigEncryption()
-          .equals(other.getConfigEncryption())) return false;
+      if (!getConfigEncryption().equals(other.getConfigEncryption())) return false;
     }
-    if (!getTaintsList()
-        .equals(other.getTaintsList())) return false;
-    if (!internalGetLabels().equals(
-        other.internalGetLabels())) return false;
+    if (!getTaintsList().equals(other.getTaintsList())) return false;
+    if (!internalGetLabels().equals(other.internalGetLabels())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -806,98 +918,103 @@ public int hashCode() {
   }
 
   public static com.google.cloud.gkemulticloud.v1.AzureNodeConfig parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.gkemulticloud.v1.AzureNodeConfig parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.gkemulticloud.v1.AzureNodeConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.gkemulticloud.v1.AzureNodeConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.gkemulticloud.v1.AzureNodeConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.gkemulticloud.v1.AzureNodeConfig parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.gkemulticloud.v1.AzureNodeConfig parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.gkemulticloud.v1.AzureNodeConfig parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.gkemulticloud.v1.AzureNodeConfig parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.gkemulticloud.v1.AzureNodeConfig parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.gkemulticloud.v1.AzureNodeConfig parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.gkemulticloud.v1.AzureNodeConfig parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.gkemulticloud.v1.AzureNodeConfig parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.gkemulticloud.v1.AzureNodeConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureNodeConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Parameters that describe the configuration of all node machines
    * on a given node pool.
@@ -905,59 +1022,56 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureNodeConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureNodeConfig)
       com.google.cloud.gkemulticloud.v1.AzureNodeConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 3:
           return internalGetTags();
         case 11:
           return internalGetLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 3:
           return internalGetMutableTags();
         case 11:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.AzureNodeConfig.class, com.google.cloud.gkemulticloud.v1.AzureNodeConfig.Builder.class);
+              com.google.cloud.gkemulticloud.v1.AzureNodeConfig.class,
+              com.google.cloud.gkemulticloud.v1.AzureNodeConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.AzureNodeConfig.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -997,9 +1111,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor;
     }
 
     @java.lang.Override
@@ -1018,14 +1132,18 @@ public com.google.cloud.gkemulticloud.v1.AzureNodeConfig build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.AzureNodeConfig buildPartial() {
-      com.google.cloud.gkemulticloud.v1.AzureNodeConfig result = new com.google.cloud.gkemulticloud.v1.AzureNodeConfig(this);
+      com.google.cloud.gkemulticloud.v1.AzureNodeConfig result =
+          new com.google.cloud.gkemulticloud.v1.AzureNodeConfig(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.AzureNodeConfig result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.gkemulticloud.v1.AzureNodeConfig result) {
       if (taintsBuilder_ == null) {
         if (((bitField0_ & 0x00000080) != 0)) {
           taints_ = java.util.Collections.unmodifiableList(taints_);
@@ -1043,9 +1161,7 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureNodeConfig res
         result.vmSize_ = vmSize_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.rootVolume_ = rootVolumeBuilder_ == null
-            ? rootVolume_
-            : rootVolumeBuilder_.build();
+        result.rootVolume_ = rootVolumeBuilder_ == null ? rootVolume_ : rootVolumeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.tags_ = internalGetTags();
@@ -1055,19 +1171,15 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureNodeConfig res
         result.imageType_ = imageType_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.sshConfig_ = sshConfigBuilder_ == null
-            ? sshConfig_
-            : sshConfigBuilder_.build();
+        result.sshConfig_ = sshConfigBuilder_ == null ? sshConfig_ : sshConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.proxyConfig_ = proxyConfigBuilder_ == null
-            ? proxyConfig_
-            : proxyConfigBuilder_.build();
+        result.proxyConfig_ =
+            proxyConfigBuilder_ == null ? proxyConfig_ : proxyConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.configEncryption_ = configEncryptionBuilder_ == null
-            ? configEncryption_
-            : configEncryptionBuilder_.build();
+        result.configEncryption_ =
+            configEncryptionBuilder_ == null ? configEncryption_ : configEncryptionBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000100) != 0)) {
         result.labels_ = internalGetLabels();
@@ -1079,38 +1191,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureNodeConfig res
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.AzureNodeConfig) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureNodeConfig)other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureNodeConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1118,7 +1231,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureNodeConfig other) {
-      if (other == com.google.cloud.gkemulticloud.v1.AzureNodeConfig.getDefaultInstance()) return this;
+      if (other == com.google.cloud.gkemulticloud.v1.AzureNodeConfig.getDefaultInstance())
+        return this;
       if (!other.getVmSize().isEmpty()) {
         vmSize_ = other.vmSize_;
         bitField0_ |= 0x00000001;
@@ -1127,8 +1241,7 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureNodeConfig other
       if (other.hasRootVolume()) {
         mergeRootVolume(other.getRootVolume());
       }
-      internalGetMutableTags().mergeFrom(
-          other.internalGetTags());
+      internalGetMutableTags().mergeFrom(other.internalGetTags());
       bitField0_ |= 0x00000004;
       if (!other.getImageType().isEmpty()) {
         imageType_ = other.imageType_;
@@ -1162,16 +1275,16 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureNodeConfig other
             taintsBuilder_ = null;
             taints_ = other.taints_;
             bitField0_ = (bitField0_ & ~0x00000080);
-            taintsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getTaintsFieldBuilder() : null;
+            taintsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getTaintsFieldBuilder()
+                    : null;
           } else {
             taintsBuilder_.addAllMessages(other.taints_);
           }
         }
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000100;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1199,81 +1312,84 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              vmSize_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getRootVolumeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              com.google.protobuf.MapEntry
-              tags__ = input.readMessage(
-                  TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableTags().getMutableMap().put(
-                  tags__.getKey(), tags__.getValue());
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 58: {
-              input.readMessage(
-                  getSshConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 58
-            case 66: {
-              imageType_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 66
-            case 74: {
-              input.readMessage(
-                  getProxyConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 74
-            case 82: {
-              com.google.cloud.gkemulticloud.v1.NodeTaint m =
-                  input.readMessage(
-                      com.google.cloud.gkemulticloud.v1.NodeTaint.parser(),
-                      extensionRegistry);
-              if (taintsBuilder_ == null) {
-                ensureTaintsIsMutable();
-                taints_.add(m);
-              } else {
-                taintsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 82
-            case 90: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 90
-            case 98: {
-              input.readMessage(
-                  getConfigEncryptionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 98
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                vmSize_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getRootVolumeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                com.google.protobuf.MapEntry tags__ =
+                    input.readMessage(
+                        TagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+                internalGetMutableTags().getMutableMap().put(tags__.getKey(), tags__.getValue());
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 58:
+              {
+                input.readMessage(getSshConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 58
+            case 66:
+              {
+                imageType_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 66
+            case 74:
+              {
+                input.readMessage(getProxyConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 74
+            case 82:
+              {
+                com.google.cloud.gkemulticloud.v1.NodeTaint m =
+                    input.readMessage(
+                        com.google.cloud.gkemulticloud.v1.NodeTaint.parser(), extensionRegistry);
+                if (taintsBuilder_ == null) {
+                  ensureTaintsIsMutable();
+                  taints_.add(m);
+                } else {
+                  taintsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 82
+            case 90:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 90
+            case 98:
+              {
+                input.readMessage(
+                    getConfigEncryptionFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 98
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1283,10 +1399,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object vmSize_ = "";
     /**
+     *
+     *
      * 
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      *
@@ -1297,13 +1416,13 @@ public Builder mergeFrom(
      * 
* * string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The vmSize. */ public java.lang.String getVmSize() { java.lang.Object ref = vmSize_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vmSize_ = s; return s; @@ -1312,6 +1431,8 @@ public java.lang.String getVmSize() { } } /** + * + * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      *
@@ -1322,15 +1443,14 @@ public java.lang.String getVmSize() {
      * 
* * string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for vmSize. */ - public com.google.protobuf.ByteString - getVmSizeBytes() { + public com.google.protobuf.ByteString getVmSizeBytes() { java.lang.Object ref = vmSize_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); vmSize_ = b; return b; } else { @@ -1338,6 +1458,8 @@ public java.lang.String getVmSize() { } } /** + * + * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      *
@@ -1348,18 +1470,22 @@ public java.lang.String getVmSize() {
      * 
* * string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The vmSize to set. * @return This builder for chaining. */ - public Builder setVmSize( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVmSize(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } vmSize_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      *
@@ -1370,6 +1496,7 @@ public Builder setVmSize(
      * 
* * string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearVmSize() { @@ -1379,6 +1506,8 @@ public Builder clearVmSize() { return this; } /** + * + * *
      * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
      *
@@ -1389,12 +1518,14 @@ public Builder clearVmSize() {
      * 
* * string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for vmSize to set. * @return This builder for chaining. */ - public Builder setVmSizeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVmSizeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); vmSize_ = value; bitField0_ |= 0x00000001; @@ -1404,8 +1535,13 @@ public Builder setVmSizeBytes( private com.google.cloud.gkemulticloud.v1.AzureDiskTemplate rootVolume_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder> rootVolumeBuilder_; + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, + com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder> + rootVolumeBuilder_; /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * node pool machine.
@@ -1413,13 +1549,18 @@ public Builder setVmSizeBytes(
      * When unspecified, it defaults to a 32-GiB Azure Disk.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the rootVolume field is set. */ public boolean hasRootVolume() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * node pool machine.
@@ -1427,17 +1568,24 @@ public boolean hasRootVolume() {
      * When unspecified, it defaults to a 32-GiB Azure Disk.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The rootVolume. */ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getRootVolume() { if (rootVolumeBuilder_ == null) { - return rootVolume_ == null ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() : rootVolume_; + return rootVolume_ == null + ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() + : rootVolume_; } else { return rootVolumeBuilder_.getMessage(); } } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * node pool machine.
@@ -1445,7 +1593,9 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getRootVolume() {
      * When unspecified, it defaults to a 32-GiB Azure Disk.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRootVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate value) { if (rootVolumeBuilder_ == null) { @@ -1461,6 +1611,8 @@ public Builder setRootVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate return this; } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * node pool machine.
@@ -1468,7 +1620,9 @@ public Builder setRootVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate
      * When unspecified, it defaults to a 32-GiB Azure Disk.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setRootVolume( com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder builderForValue) { @@ -1482,6 +1636,8 @@ public Builder setRootVolume( return this; } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * node pool machine.
@@ -1489,13 +1645,16 @@ public Builder setRootVolume(
      * When unspecified, it defaults to a 32-GiB Azure Disk.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeRootVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTemplate value) { if (rootVolumeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - rootVolume_ != null && - rootVolume_ != com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && rootVolume_ != null + && rootVolume_ + != com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance()) { getRootVolumeBuilder().mergeFrom(value); } else { rootVolume_ = value; @@ -1508,6 +1667,8 @@ public Builder mergeRootVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTempla return this; } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * node pool machine.
@@ -1515,7 +1676,9 @@ public Builder mergeRootVolume(com.google.cloud.gkemulticloud.v1.AzureDiskTempla
      * When unspecified, it defaults to a 32-GiB Azure Disk.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearRootVolume() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1528,6 +1691,8 @@ public Builder clearRootVolume() { return this; } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * node pool machine.
@@ -1535,7 +1700,9 @@ public Builder clearRootVolume() {
      * When unspecified, it defaults to a 32-GiB Azure Disk.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder getRootVolumeBuilder() { bitField0_ |= 0x00000002; @@ -1543,6 +1710,8 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder getRootVolume return getRootVolumeFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * node pool machine.
@@ -1550,17 +1719,22 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder getRootVolume
      * When unspecified, it defaults to a 32-GiB Azure Disk.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getRootVolumeOrBuilder() { if (rootVolumeBuilder_ != null) { return rootVolumeBuilder_.getMessageOrBuilder(); } else { - return rootVolume_ == null ? - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() : rootVolume_; + return rootVolume_ == null + ? com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.getDefaultInstance() + : rootVolume_; } } /** + * + * *
      * Optional. Configuration related to the root volume provisioned for each
      * node pool machine.
@@ -1568,37 +1742,40 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getRootVolum
      * When unspecified, it defaults to a 32-GiB Azure Disk.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, + com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder> getRootVolumeFieldBuilder() { if (rootVolumeBuilder_ == null) { - rootVolumeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder>( - getRootVolume(), - getParentForChildren(), - isClean()); + rootVolumeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate, + com.google.cloud.gkemulticloud.v1.AzureDiskTemplate.Builder, + com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder>( + getRootVolume(), getParentForChildren(), isClean()); rootVolume_ = null; } return rootVolumeBuilder_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> tags_; - private com.google.protobuf.MapField - internalGetTags() { + private com.google.protobuf.MapField tags_; + + private com.google.protobuf.MapField internalGetTags() { if (tags_ == null) { - return com.google.protobuf.MapField.emptyMapField( - TagsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(TagsDefaultEntryHolder.defaultEntry); } return tags_; } + private com.google.protobuf.MapField internalGetMutableTags() { if (tags_ == null) { - tags_ = com.google.protobuf.MapField.newMapField( - TagsDefaultEntryHolder.defaultEntry); + tags_ = com.google.protobuf.MapField.newMapField(TagsDefaultEntryHolder.defaultEntry); } if (!tags_.isMutable()) { tags_ = tags_.copy(); @@ -1607,10 +1784,13 @@ public com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getRootVolum onChanged(); return tags_; } + public int getTagsCount() { return internalGetTags().getMap().size(); } /** + * + * *
      * Optional. A set of tags to apply to all underlying Azure resources for this
      * node pool. This currently only includes Virtual Machine Scale Sets.
@@ -1623,20 +1803,21 @@ public int getTagsCount() {
      * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public boolean containsTags(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsTags(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetTags().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getTagsMap()} instead.
-     */
+    /** Use {@link #getTagsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getTags() {
       return getTagsMap();
     }
     /**
+     *
+     *
      * 
      * Optional. A set of tags to apply to all underlying Azure resources for this
      * node pool. This currently only includes Virtual Machine Scale Sets.
@@ -1653,6 +1834,8 @@ public java.util.Map getTagsMap() {
       return internalGetTags().getMap();
     }
     /**
+     *
+     *
      * 
      * Optional. A set of tags to apply to all underlying Azure resources for this
      * node pool. This currently only includes Virtual Machine Scale Sets.
@@ -1665,17 +1848,19 @@ public java.util.Map getTagsMap() {
      * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getTagsOrDefault(
+    public /* nullable */ java.lang.String getTagsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetTags().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetTags().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Optional. A set of tags to apply to all underlying Azure resources for this
      * node pool. This currently only includes Virtual Machine Scale Sets.
@@ -1688,23 +1873,25 @@ java.lang.String getTagsOrDefault(
      * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public java.lang.String getTagsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetTags().getMap();
+    public java.lang.String getTagsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetTags().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearTags() {
       bitField0_ = (bitField0_ & ~0x00000004);
-      internalGetMutableTags().getMutableMap()
-          .clear();
+      internalGetMutableTags().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. A set of tags to apply to all underlying Azure resources for this
      * node pool. This currently only includes Virtual Machine Scale Sets.
@@ -1716,23 +1903,22 @@ public Builder clearTags() {
      *
      * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder removeTags(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableTags().getMutableMap()
-          .remove(key);
+    public Builder removeTags(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableTags().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableTags() {
+    public java.util.Map getMutableTags() {
       bitField0_ |= 0x00000004;
       return internalGetMutableTags().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Optional. A set of tags to apply to all underlying Azure resources for this
      * node pool. This currently only includes Virtual Machine Scale Sets.
@@ -1744,17 +1930,20 @@ public Builder removeTags(
      *
      * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putTags(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableTags().getMutableMap()
-          .put(key, value);
+    public Builder putTags(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableTags().getMutableMap().put(key, value);
       bitField0_ |= 0x00000004;
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. A set of tags to apply to all underlying Azure resources for this
      * node pool. This currently only includes Virtual Machine Scale Sets.
@@ -1766,16 +1955,16 @@ public Builder putTags(
      *
      * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putAllTags(
-        java.util.Map values) {
-      internalGetMutableTags().getMutableMap()
-          .putAll(values);
+    public Builder putAllTags(java.util.Map values) {
+      internalGetMutableTags().getMutableMap().putAll(values);
       bitField0_ |= 0x00000004;
       return this;
     }
 
     private java.lang.Object imageType_ = "";
     /**
+     *
+     *
      * 
      * Optional. The OS image type to use on node pool instances.
      * Can be unspecified, or have a value of `ubuntu`.
@@ -1784,13 +1973,13 @@ public Builder putAllTags(
      * 
* * string image_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The imageType. */ public java.lang.String getImageType() { java.lang.Object ref = imageType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; @@ -1799,6 +1988,8 @@ public java.lang.String getImageType() { } } /** + * + * *
      * Optional. The OS image type to use on node pool instances.
      * Can be unspecified, or have a value of `ubuntu`.
@@ -1807,15 +1998,14 @@ public java.lang.String getImageType() {
      * 
* * string image_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for imageType. */ - public com.google.protobuf.ByteString - getImageTypeBytes() { + public com.google.protobuf.ByteString getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageType_ = b; return b; } else { @@ -1823,6 +2013,8 @@ public java.lang.String getImageType() { } } /** + * + * *
      * Optional. The OS image type to use on node pool instances.
      * Can be unspecified, or have a value of `ubuntu`.
@@ -1831,18 +2023,22 @@ public java.lang.String getImageType() {
      * 
* * string image_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The imageType to set. * @return This builder for chaining. */ - public Builder setImageType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setImageType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } imageType_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. The OS image type to use on node pool instances.
      * Can be unspecified, or have a value of `ubuntu`.
@@ -1851,6 +2047,7 @@ public Builder setImageType(
      * 
* * string image_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearImageType() { @@ -1860,6 +2057,8 @@ public Builder clearImageType() { return this; } /** + * + * *
      * Optional. The OS image type to use on node pool instances.
      * Can be unspecified, or have a value of `ubuntu`.
@@ -1868,12 +2067,14 @@ public Builder clearImageType() {
      * 
* * string image_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for imageType to set. * @return This builder for chaining. */ - public Builder setImageTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setImageTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); imageType_ = value; bitField0_ |= 0x00000008; @@ -1883,39 +2084,58 @@ public Builder setImageTypeBytes( private com.google.cloud.gkemulticloud.v1.AzureSshConfig sshConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureSshConfig, com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder, com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder> sshConfigBuilder_; + com.google.cloud.gkemulticloud.v1.AzureSshConfig, + com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder, + com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder> + sshConfigBuilder_; /** + * + * *
      * Required. SSH configuration for how to access the node pool machines.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the sshConfig field is set. */ public boolean hasSshConfig() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Required. SSH configuration for how to access the node pool machines.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The sshConfig. */ public com.google.cloud.gkemulticloud.v1.AzureSshConfig getSshConfig() { if (sshConfigBuilder_ == null) { - return sshConfig_ == null ? com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance() : sshConfig_; + return sshConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance() + : sshConfig_; } else { return sshConfigBuilder_.getMessage(); } } /** + * + * *
      * Required. SSH configuration for how to access the node pool machines.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSshConfig(com.google.cloud.gkemulticloud.v1.AzureSshConfig value) { if (sshConfigBuilder_ == null) { @@ -1931,11 +2151,15 @@ public Builder setSshConfig(com.google.cloud.gkemulticloud.v1.AzureSshConfig val return this; } /** + * + * *
      * Required. SSH configuration for how to access the node pool machines.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSshConfig( com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder builderForValue) { @@ -1949,17 +2173,22 @@ public Builder setSshConfig( return this; } /** + * + * *
      * Required. SSH configuration for how to access the node pool machines.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeSshConfig(com.google.cloud.gkemulticloud.v1.AzureSshConfig value) { if (sshConfigBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - sshConfig_ != null && - sshConfig_ != com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && sshConfig_ != null + && sshConfig_ + != com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance()) { getSshConfigBuilder().mergeFrom(value); } else { sshConfig_ = value; @@ -1972,11 +2201,15 @@ public Builder mergeSshConfig(com.google.cloud.gkemulticloud.v1.AzureSshConfig v return this; } /** + * + * *
      * Required. SSH configuration for how to access the node pool machines.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearSshConfig() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1989,11 +2222,15 @@ public Builder clearSshConfig() { return this; } /** + * + * *
      * Required. SSH configuration for how to access the node pool machines.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder getSshConfigBuilder() { bitField0_ |= 0x00000010; @@ -2001,36 +2238,48 @@ public com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder getSshConfigBuil return getSshConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. SSH configuration for how to access the node pool machines.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder getSshConfigOrBuilder() { if (sshConfigBuilder_ != null) { return sshConfigBuilder_.getMessageOrBuilder(); } else { - return sshConfig_ == null ? - com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance() : sshConfig_; + return sshConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance() + : sshConfig_; } } /** + * + * *
      * Required. SSH configuration for how to access the node pool machines.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureSshConfig, com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder, com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureSshConfig, + com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder, + com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder> getSshConfigFieldBuilder() { if (sshConfigBuilder_ == null) { - sshConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureSshConfig, com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder, com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder>( - getSshConfig(), - getParentForChildren(), - isClean()); + sshConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureSshConfig, + com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder, + com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder>( + getSshConfig(), getParentForChildren(), isClean()); sshConfig_ = null; } return sshConfigBuilder_; @@ -2038,39 +2287,58 @@ public com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder getSshConfigOrB private com.google.cloud.gkemulticloud.v1.AzureProxyConfig proxyConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureProxyConfig, com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder> proxyConfigBuilder_; + com.google.cloud.gkemulticloud.v1.AzureProxyConfig, + com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder, + com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder> + proxyConfigBuilder_; /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the proxyConfig field is set. */ public boolean hasProxyConfig() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The proxyConfig. */ public com.google.cloud.gkemulticloud.v1.AzureProxyConfig getProxyConfig() { if (proxyConfigBuilder_ == null) { - return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance() : proxyConfig_; + return proxyConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance() + : proxyConfig_; } else { return proxyConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setProxyConfig(com.google.cloud.gkemulticloud.v1.AzureProxyConfig value) { if (proxyConfigBuilder_ == null) { @@ -2086,11 +2354,15 @@ public Builder setProxyConfig(com.google.cloud.gkemulticloud.v1.AzureProxyConfig return this; } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setProxyConfig( com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder builderForValue) { @@ -2104,17 +2376,22 @@ public Builder setProxyConfig( return this; } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeProxyConfig(com.google.cloud.gkemulticloud.v1.AzureProxyConfig value) { if (proxyConfigBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - proxyConfig_ != null && - proxyConfig_ != com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && proxyConfig_ != null + && proxyConfig_ + != com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance()) { getProxyConfigBuilder().mergeFrom(value); } else { proxyConfig_ = value; @@ -2127,11 +2404,15 @@ public Builder mergeProxyConfig(com.google.cloud.gkemulticloud.v1.AzureProxyConf return this; } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearProxyConfig() { bitField0_ = (bitField0_ & ~0x00000020); @@ -2144,11 +2425,15 @@ public Builder clearProxyConfig() { return this; } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder getProxyConfigBuilder() { bitField0_ |= 0x00000020; @@ -2156,36 +2441,48 @@ public com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder getProxyConfig return getProxyConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder getProxyConfigOrBuilder() { if (proxyConfigBuilder_ != null) { return proxyConfigBuilder_.getMessageOrBuilder(); } else { - return proxyConfig_ == null ? - com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance() : proxyConfig_; + return proxyConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance() + : proxyConfig_; } } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureProxyConfig, com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureProxyConfig, + com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder, + com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder> getProxyConfigFieldBuilder() { if (proxyConfigBuilder_ == null) { - proxyConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureProxyConfig, com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder>( - getProxyConfig(), - getParentForChildren(), - isClean()); + proxyConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureProxyConfig, + com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder, + com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder>( + getProxyConfig(), getParentForChildren(), isClean()); proxyConfig_ = null; } return proxyConfigBuilder_; @@ -2193,41 +2490,61 @@ public com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder getProxyConfi private com.google.cloud.gkemulticloud.v1.AzureConfigEncryption configEncryption_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption, com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder, com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder> configEncryptionBuilder_; + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption, + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder, + com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder> + configEncryptionBuilder_; /** + * + * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the configEncryption field is set. */ public boolean hasConfigEncryption() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The configEncryption. */ public com.google.cloud.gkemulticloud.v1.AzureConfigEncryption getConfigEncryption() { if (configEncryptionBuilder_ == null) { - return configEncryption_ == null ? com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance() : configEncryption_; + return configEncryption_ == null + ? com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance() + : configEncryption_; } else { return configEncryptionBuilder_.getMessage(); } } /** + * + * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setConfigEncryption(com.google.cloud.gkemulticloud.v1.AzureConfigEncryption value) { + public Builder setConfigEncryption( + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption value) { if (configEncryptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2241,11 +2558,15 @@ public Builder setConfigEncryption(com.google.cloud.gkemulticloud.v1.AzureConfig return this; } /** + * + * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setConfigEncryption( com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder builderForValue) { @@ -2259,17 +2580,23 @@ public Builder setConfigEncryption( return this; } /** + * + * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeConfigEncryption(com.google.cloud.gkemulticloud.v1.AzureConfigEncryption value) { + public Builder mergeConfigEncryption( + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption value) { if (configEncryptionBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - configEncryption_ != null && - configEncryption_ != com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && configEncryption_ != null + && configEncryption_ + != com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance()) { getConfigEncryptionBuilder().mergeFrom(value); } else { configEncryption_ = value; @@ -2282,11 +2609,15 @@ public Builder mergeConfigEncryption(com.google.cloud.gkemulticloud.v1.AzureConf return this; } /** + * + * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearConfigEncryption() { bitField0_ = (bitField0_ & ~0x00000040); @@ -2299,71 +2630,97 @@ public Builder clearConfigEncryption() { return this; } /** + * + * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder getConfigEncryptionBuilder() { + public com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder + getConfigEncryptionBuilder() { bitField0_ |= 0x00000040; onChanged(); return getConfigEncryptionFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder getConfigEncryptionOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder + getConfigEncryptionOrBuilder() { if (configEncryptionBuilder_ != null) { return configEncryptionBuilder_.getMessageOrBuilder(); } else { - return configEncryption_ == null ? - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance() : configEncryption_; + return configEncryption_ == null + ? com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.getDefaultInstance() + : configEncryption_; } } /** + * + * *
      * Optional. Configuration related to vm config encryption.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption, com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder, com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption, + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder, + com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder> getConfigEncryptionFieldBuilder() { if (configEncryptionBuilder_ == null) { - configEncryptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureConfigEncryption, com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder, com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder>( - getConfigEncryption(), - getParentForChildren(), - isClean()); + configEncryptionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption, + com.google.cloud.gkemulticloud.v1.AzureConfigEncryption.Builder, + com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder>( + getConfigEncryption(), getParentForChildren(), isClean()); configEncryption_ = null; } return configEncryptionBuilder_; } private java.util.List taints_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTaintsIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { taints_ = new java.util.ArrayList(taints_); bitField0_ |= 0x00000080; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.NodeTaint, com.google.cloud.gkemulticloud.v1.NodeTaint.Builder, com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder> taintsBuilder_; + com.google.cloud.gkemulticloud.v1.NodeTaint, + com.google.cloud.gkemulticloud.v1.NodeTaint.Builder, + com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder> + taintsBuilder_; /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public java.util.List getTaintsList() { if (taintsBuilder_ == null) { @@ -2373,11 +2730,15 @@ public java.util.List getTaintsList } } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getTaintsCount() { if (taintsBuilder_ == null) { @@ -2387,11 +2748,15 @@ public int getTaintsCount() { } } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.NodeTaint getTaints(int index) { if (taintsBuilder_ == null) { @@ -2401,14 +2766,17 @@ public com.google.cloud.gkemulticloud.v1.NodeTaint getTaints(int index) { } } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setTaints( - int index, com.google.cloud.gkemulticloud.v1.NodeTaint value) { + public Builder setTaints(int index, com.google.cloud.gkemulticloud.v1.NodeTaint value) { if (taintsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2422,11 +2790,15 @@ public Builder setTaints( return this; } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setTaints( int index, com.google.cloud.gkemulticloud.v1.NodeTaint.Builder builderForValue) { @@ -2440,11 +2812,15 @@ public Builder setTaints( return this; } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addTaints(com.google.cloud.gkemulticloud.v1.NodeTaint value) { if (taintsBuilder_ == null) { @@ -2460,14 +2836,17 @@ public Builder addTaints(com.google.cloud.gkemulticloud.v1.NodeTaint value) { return this; } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addTaints( - int index, com.google.cloud.gkemulticloud.v1.NodeTaint value) { + public Builder addTaints(int index, com.google.cloud.gkemulticloud.v1.NodeTaint value) { if (taintsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2481,14 +2860,17 @@ public Builder addTaints( return this; } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addTaints( - com.google.cloud.gkemulticloud.v1.NodeTaint.Builder builderForValue) { + public Builder addTaints(com.google.cloud.gkemulticloud.v1.NodeTaint.Builder builderForValue) { if (taintsBuilder_ == null) { ensureTaintsIsMutable(); taints_.add(builderForValue.build()); @@ -2499,11 +2881,15 @@ public Builder addTaints( return this; } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addTaints( int index, com.google.cloud.gkemulticloud.v1.NodeTaint.Builder builderForValue) { @@ -2517,18 +2903,21 @@ public Builder addTaints( return this; } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllTaints( java.lang.Iterable values) { if (taintsBuilder_ == null) { ensureTaintsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, taints_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taints_); onChanged(); } else { taintsBuilder_.addAllMessages(values); @@ -2536,11 +2925,15 @@ public Builder addAllTaints( return this; } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearTaints() { if (taintsBuilder_ == null) { @@ -2553,11 +2946,15 @@ public Builder clearTaints() { return this; } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeTaints(int index) { if (taintsBuilder_ == null) { @@ -2570,39 +2967,50 @@ public Builder removeTaints(int index) { return this; } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.NodeTaint.Builder getTaintsBuilder( - int index) { + public com.google.cloud.gkemulticloud.v1.NodeTaint.Builder getTaintsBuilder(int index) { return getTaintsFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder( - int index) { + public com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index) { if (taintsBuilder_ == null) { - return taints_.get(index); } else { + return taints_.get(index); + } else { return taintsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getTaintsOrBuilderList() { + public java.util.List + getTaintsOrBuilderList() { if (taintsBuilder_ != null) { return taintsBuilder_.getMessageOrBuilderList(); } else { @@ -2610,69 +3018,81 @@ public com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder( } } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.NodeTaint.Builder addTaintsBuilder() { - return getTaintsFieldBuilder().addBuilder( - com.google.cloud.gkemulticloud.v1.NodeTaint.getDefaultInstance()); + return getTaintsFieldBuilder() + .addBuilder(com.google.cloud.gkemulticloud.v1.NodeTaint.getDefaultInstance()); } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.NodeTaint.Builder addTaintsBuilder( - int index) { - return getTaintsFieldBuilder().addBuilder( - index, com.google.cloud.gkemulticloud.v1.NodeTaint.getDefaultInstance()); + public com.google.cloud.gkemulticloud.v1.NodeTaint.Builder addTaintsBuilder(int index) { + return getTaintsFieldBuilder() + .addBuilder(index, com.google.cloud.gkemulticloud.v1.NodeTaint.getDefaultInstance()); } /** + * + * *
      * Optional. The initial taints assigned to nodes of this node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getTaintsBuilderList() { + public java.util.List + getTaintsBuilderList() { return getTaintsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.NodeTaint, com.google.cloud.gkemulticloud.v1.NodeTaint.Builder, com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder> + com.google.cloud.gkemulticloud.v1.NodeTaint, + com.google.cloud.gkemulticloud.v1.NodeTaint.Builder, + com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder> getTaintsFieldBuilder() { if (taintsBuilder_ == null) { - taintsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.NodeTaint, com.google.cloud.gkemulticloud.v1.NodeTaint.Builder, com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder>( - taints_, - ((bitField0_ & 0x00000080) != 0), - getParentForChildren(), - isClean()); + taintsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.NodeTaint, + com.google.cloud.gkemulticloud.v1.NodeTaint.Builder, + com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder>( + taints_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), isClean()); taints_ = null; } return taintsBuilder_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2681,10 +3101,13 @@ public com.google.cloud.gkemulticloud.v1.NodeTaint.Builder addTaintsBuilder( onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Optional. The initial labels assigned to nodes of this node pool. An object
      * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -2694,20 +3117,21 @@ public int getLabelsCount() {
      * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public boolean containsLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getLabelsMap()} instead.
-     */
+    /** Use {@link #getLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
+     *
+     *
      * 
      * Optional. The initial labels assigned to nodes of this node pool. An object
      * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -2721,6 +3145,8 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Optional. The initial labels assigned to nodes of this node pool. An object
      * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -2730,17 +3156,19 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getLabelsOrDefault(
+    public /* nullable */ java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Optional. The initial labels assigned to nodes of this node pool. An object
      * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -2750,23 +3178,25 @@ java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000100);
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. The initial labels assigned to nodes of this node pool. An object
      * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -2775,23 +3205,22 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder removeLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableLabels().getMutableMap()
-          .remove(key);
+    public Builder removeLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableLabels() {
+    public java.util.Map getMutableLabels() {
       bitField0_ |= 0x00000100;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Optional. The initial labels assigned to nodes of this node pool. An object
      * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -2800,17 +3229,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableLabels().getMutableMap().put(key, value);
       bitField0_ |= 0x00000100;
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. The initial labels assigned to nodes of this node pool. An object
      * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -2819,16 +3251,14 @@ public Builder putLabels(
      *
      * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
      */
-    public Builder putAllLabels(
-        java.util.Map values) {
-      internalGetMutableLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllLabels(java.util.Map values) {
+      internalGetMutableLabels().getMutableMap().putAll(values);
       bitField0_ |= 0x00000100;
       return this;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2838,12 +3268,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureNodeConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureNodeConfig)
   private static final com.google.cloud.gkemulticloud.v1.AzureNodeConfig DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureNodeConfig();
   }
@@ -2852,27 +3282,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureNodeConfig getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public AzureNodeConfig parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public AzureNodeConfig parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2887,6 +3317,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.gkemulticloud.v1.AzureNodeConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfigOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfigOrBuilder.java
similarity index 69%
rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfigOrBuilder.java
rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfigOrBuilder.java
index 2c8058b677bd..6b0df8282694 100644
--- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfigOrBuilder.java
+++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeConfigOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/gkemulticloud/v1/azure_resources.proto
 
 package com.google.cloud.gkemulticloud.v1;
 
-public interface AzureNodeConfigOrBuilder extends
+public interface AzureNodeConfigOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureNodeConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
    *
@@ -18,10 +36,13 @@ public interface AzureNodeConfigOrBuilder extends
    * 
* * string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The vmSize. */ java.lang.String getVmSize(); /** + * + * *
    * Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
    *
@@ -32,12 +53,14 @@ public interface AzureNodeConfigOrBuilder extends
    * 
* * string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for vmSize. */ - com.google.protobuf.ByteString - getVmSizeBytes(); + com.google.protobuf.ByteString getVmSizeBytes(); /** + * + * *
    * Optional. Configuration related to the root volume provisioned for each
    * node pool machine.
@@ -45,11 +68,16 @@ public interface AzureNodeConfigOrBuilder extends
    * When unspecified, it defaults to a 32-GiB Azure Disk.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the rootVolume field is set. */ boolean hasRootVolume(); /** + * + * *
    * Optional. Configuration related to the root volume provisioned for each
    * node pool machine.
@@ -57,11 +85,16 @@ public interface AzureNodeConfigOrBuilder extends
    * When unspecified, it defaults to a 32-GiB Azure Disk.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The rootVolume. */ com.google.cloud.gkemulticloud.v1.AzureDiskTemplate getRootVolume(); /** + * + * *
    * Optional. Configuration related to the root volume provisioned for each
    * node pool machine.
@@ -69,11 +102,15 @@ public interface AzureNodeConfigOrBuilder extends
    * When unspecified, it defaults to a 32-GiB Azure Disk.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.AzureDiskTemplateOrBuilder getRootVolumeOrBuilder(); /** + * + * *
    * Optional. A set of tags to apply to all underlying Azure resources for this
    * node pool. This currently only includes Virtual Machine Scale Sets.
@@ -87,6 +124,8 @@ public interface AzureNodeConfigOrBuilder extends
    */
   int getTagsCount();
   /**
+   *
+   *
    * 
    * Optional. A set of tags to apply to all underlying Azure resources for this
    * node pool. This currently only includes Virtual Machine Scale Sets.
@@ -98,15 +137,13 @@ public interface AzureNodeConfigOrBuilder extends
    *
    * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
    */
-  boolean containsTags(
-      java.lang.String key);
-  /**
-   * Use {@link #getTagsMap()} instead.
-   */
+  boolean containsTags(java.lang.String key);
+  /** Use {@link #getTagsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getTags();
+  java.util.Map getTags();
   /**
+   *
+   *
    * 
    * Optional. A set of tags to apply to all underlying Azure resources for this
    * node pool. This currently only includes Virtual Machine Scale Sets.
@@ -118,9 +155,10 @@ boolean containsTags(
    *
    * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.util.Map
-  getTagsMap();
+  java.util.Map getTagsMap();
   /**
+   *
+   *
    * 
    * Optional. A set of tags to apply to all underlying Azure resources for this
    * node pool. This currently only includes Virtual Machine Scale Sets.
@@ -133,11 +171,13 @@ boolean containsTags(
    * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
    */
   /* nullable */
-java.lang.String getTagsOrDefault(
+  java.lang.String getTagsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Optional. A set of tags to apply to all underlying Azure resources for this
    * node pool. This currently only includes Virtual Machine Scale Sets.
@@ -149,10 +189,11 @@ java.lang.String getTagsOrDefault(
    *
    * map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.lang.String getTagsOrThrow(
-      java.lang.String key);
+  java.lang.String getTagsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Optional. The OS image type to use on node pool instances.
    * Can be unspecified, or have a value of `ubuntu`.
@@ -161,10 +202,13 @@ java.lang.String getTagsOrThrow(
    * 
* * string image_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The imageType. */ java.lang.String getImageType(); /** + * + * *
    * Optional. The OS image type to use on node pool instances.
    * Can be unspecified, or have a value of `ubuntu`.
@@ -173,137 +217,199 @@ java.lang.String getTagsOrThrow(
    * 
* * string image_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for imageType. */ - com.google.protobuf.ByteString - getImageTypeBytes(); + com.google.protobuf.ByteString getImageTypeBytes(); /** + * + * *
    * Required. SSH configuration for how to access the node pool machines.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the sshConfig field is set. */ boolean hasSshConfig(); /** + * + * *
    * Required. SSH configuration for how to access the node pool machines.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The sshConfig. */ com.google.cloud.gkemulticloud.v1.AzureSshConfig getSshConfig(); /** + * + * *
    * Required. SSH configuration for how to access the node pool machines.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder getSshConfigOrBuilder(); /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the proxyConfig field is set. */ boolean hasProxyConfig(); /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The proxyConfig. */ com.google.cloud.gkemulticloud.v1.AzureProxyConfig getProxyConfig(); /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder getProxyConfigOrBuilder(); /** + * + * *
    * Optional. Configuration related to vm config encryption.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the configEncryption field is set. */ boolean hasConfigEncryption(); /** + * + * *
    * Optional. Configuration related to vm config encryption.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The configEncryption. */ com.google.cloud.gkemulticloud.v1.AzureConfigEncryption getConfigEncryption(); /** + * + * *
    * Optional. Configuration related to vm config encryption.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.AzureConfigEncryptionOrBuilder getConfigEncryptionOrBuilder(); /** + * + * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List - getTaintsList(); + java.util.List getTaintsList(); /** + * + * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.NodeTaint getTaints(int index); /** + * + * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getTaintsCount(); /** + * + * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getTaintsOrBuilderList(); /** + * + * *
    * Optional. The initial taints assigned to nodes of this node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder( - int index); + com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index); /** + * + * *
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -314,6 +420,8 @@ com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder(
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -322,15 +430,13 @@ com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder getTaintsOrBuilder(
    *
    * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
-  boolean containsLabels(
-      java.lang.String key);
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  boolean containsLabels(java.lang.String key);
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getLabels();
+  java.util.Map getLabels();
   /**
+   *
+   *
    * 
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -339,9 +445,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -351,11 +458,13 @@ boolean containsLabels(
    * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Optional. The initial labels assigned to nodes of this node pool. An object
    * containing a list of "key": value pairs. Example: { "name": "wrench",
@@ -364,6 +473,5 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
    */
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 }
diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeManagement.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeManagement.java
similarity index 67%
rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeManagement.java
rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeManagement.java
index bcdc8b280ee1..343430e3fa1a 100644
--- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeManagement.java
+++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeManagement.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/gkemulticloud/v1/azure_resources.proto
 
 package com.google.cloud.gkemulticloud.v1;
 
 /**
+ *
+ *
  * 
  * AzureNodeManagement defines the set of node management features turned on for
  * an Azure node pool.
@@ -11,41 +28,44 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureNodeManagement}
  */
-public final class AzureNodeManagement extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AzureNodeManagement extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureNodeManagement)
     AzureNodeManagementOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AzureNodeManagement.newBuilder() to construct.
   private AzureNodeManagement(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private AzureNodeManagement() {
-  }
+
+  private AzureNodeManagement() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AzureNodeManagement();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodeManagement_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AzureNodeManagement_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodeManagement_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AzureNodeManagement_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.AzureNodeManagement.class, com.google.cloud.gkemulticloud.v1.AzureNodeManagement.Builder.class);
+            com.google.cloud.gkemulticloud.v1.AzureNodeManagement.class,
+            com.google.cloud.gkemulticloud.v1.AzureNodeManagement.Builder.class);
   }
 
   public static final int AUTO_REPAIR_FIELD_NUMBER = 1;
   private boolean autoRepair_ = false;
   /**
+   *
+   *
    * 
    * Optional. Whether or not the nodes will be automatically repaired. When set
    * to true, the nodes in this node pool will be monitored and if they fail
@@ -54,6 +74,7 @@ protected java.lang.Object newInstance(
    * 
* * bool auto_repair = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The autoRepair. */ @java.lang.Override @@ -62,6 +83,7 @@ public boolean getAutoRepair() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -73,8 +95,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (autoRepair_ != false) { output.writeBool(1, autoRepair_); } @@ -88,8 +109,7 @@ public int getSerializedSize() { size = 0; if (autoRepair_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, autoRepair_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, autoRepair_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -99,15 +119,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureNodeManagement)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureNodeManagement other = (com.google.cloud.gkemulticloud.v1.AzureNodeManagement) obj; + com.google.cloud.gkemulticloud.v1.AzureNodeManagement other = + (com.google.cloud.gkemulticloud.v1.AzureNodeManagement) obj; - if (getAutoRepair() - != other.getAutoRepair()) return false; + if (getAutoRepair() != other.getAutoRepair()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -120,106 +140,111 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + AUTO_REPAIR_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAutoRepair()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAutoRepair()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.gkemulticloud.v1.AzureNodeManagement parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureNodeManagement parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureNodeManagement parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureNodeManagement parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureNodeManagement parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureNodeManagement parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureNodeManagement parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AzureNodeManagement parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureNodeManagement parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureNodeManagement parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureNodeManagement parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureNodeManagement parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureNodeManagement parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureNodeManagement parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureNodeManagement prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.AzureNodeManagement prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * AzureNodeManagement defines the set of node management features turned on for
    * an Azure node pool.
@@ -227,33 +252,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureNodeManagement}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureNodeManagement)
       com.google.cloud.gkemulticloud.v1.AzureNodeManagementOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodeManagement_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AzureNodeManagement_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodeManagement_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AzureNodeManagement_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.AzureNodeManagement.class, com.google.cloud.gkemulticloud.v1.AzureNodeManagement.Builder.class);
+              com.google.cloud.gkemulticloud.v1.AzureNodeManagement.class,
+              com.google.cloud.gkemulticloud.v1.AzureNodeManagement.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.AzureNodeManagement.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -263,9 +287,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodeManagement_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AzureNodeManagement_descriptor;
     }
 
     @java.lang.Override
@@ -284,8 +308,11 @@ public com.google.cloud.gkemulticloud.v1.AzureNodeManagement build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.AzureNodeManagement buildPartial() {
-      com.google.cloud.gkemulticloud.v1.AzureNodeManagement result = new com.google.cloud.gkemulticloud.v1.AzureNodeManagement(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.gkemulticloud.v1.AzureNodeManagement result =
+          new com.google.cloud.gkemulticloud.v1.AzureNodeManagement(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -301,38 +328,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureNodeManagement
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.AzureNodeManagement) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureNodeManagement)other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureNodeManagement) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -340,7 +368,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureNodeManagement other) {
-      if (other == com.google.cloud.gkemulticloud.v1.AzureNodeManagement.getDefaultInstance()) return this;
+      if (other == com.google.cloud.gkemulticloud.v1.AzureNodeManagement.getDefaultInstance())
+        return this;
       if (other.getAutoRepair() != false) {
         setAutoRepair(other.getAutoRepair());
       }
@@ -370,17 +399,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              autoRepair_ = input.readBool();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                autoRepair_ = input.readBool();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -390,10 +421,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private boolean autoRepair_ ;
+    private boolean autoRepair_;
     /**
+     *
+     *
      * 
      * Optional. Whether or not the nodes will be automatically repaired. When set
      * to true, the nodes in this node pool will be monitored and if they fail
@@ -402,6 +436,7 @@ public Builder mergeFrom(
      * 
* * bool auto_repair = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The autoRepair. */ @java.lang.Override @@ -409,6 +444,8 @@ public boolean getAutoRepair() { return autoRepair_; } /** + * + * *
      * Optional. Whether or not the nodes will be automatically repaired. When set
      * to true, the nodes in this node pool will be monitored and if they fail
@@ -417,6 +454,7 @@ public boolean getAutoRepair() {
      * 
* * bool auto_repair = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The autoRepair to set. * @return This builder for chaining. */ @@ -428,6 +466,8 @@ public Builder setAutoRepair(boolean value) { return this; } /** + * + * *
      * Optional. Whether or not the nodes will be automatically repaired. When set
      * to true, the nodes in this node pool will be monitored and if they fail
@@ -436,6 +476,7 @@ public Builder setAutoRepair(boolean value) {
      * 
* * bool auto_repair = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAutoRepair() { @@ -444,9 +485,9 @@ public Builder clearAutoRepair() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -456,12 +497,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureNodeManagement) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureNodeManagement) private static final com.google.cloud.gkemulticloud.v1.AzureNodeManagement DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureNodeManagement(); } @@ -470,27 +511,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureNodeManagement getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureNodeManagement parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureNodeManagement parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -505,6 +546,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureNodeManagement getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeManagementOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeManagementOrBuilder.java similarity index 54% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeManagementOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeManagementOrBuilder.java index 6a8dac73cd80..14d8e42520d3 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeManagementOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodeManagementOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureNodeManagementOrBuilder extends +public interface AzureNodeManagementOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureNodeManagement) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. Whether or not the nodes will be automatically repaired. When set
    * to true, the nodes in this node pool will be monitored and if they fail
@@ -16,6 +34,7 @@ public interface AzureNodeManagementOrBuilder extends
    * 
* * bool auto_repair = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The autoRepair. */ boolean getAutoRepair(); diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePool.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePool.java similarity index 66% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePool.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePool.java index 08e54b18fe38..44cfa7ca1f3c 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePool.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePool.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * An Anthos node pool running on Azure.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureNodePool} */ -public final class AzureNodePool extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AzureNodePool extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureNodePool) AzureNodePoolOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AzureNodePool.newBuilder() to construct. private AzureNodePool(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AzureNodePool() { name_ = ""; version_ = ""; @@ -32,46 +50,49 @@ private AzureNodePool() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AzureNodePool(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 13: return internalGetAnnotations(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureNodePool.class, com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureNodePool.class, + com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder.class); } /** + * + * *
    * The lifecycle state of the node pool.
    * 
* * Protobuf enum {@code google.cloud.gkemulticloud.v1.AzureNodePool.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not set.
      * 
@@ -80,6 +101,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The PROVISIONING state indicates the node pool is being created.
      * 
@@ -88,6 +111,8 @@ public enum State */ PROVISIONING(1), /** + * + * *
      * The RUNNING state indicates the node pool has been created and is fully
      * usable.
@@ -97,6 +122,8 @@ public enum State
      */
     RUNNING(2),
     /**
+     *
+     *
      * 
      * The RECONCILING state indicates that the node pool is being reconciled.
      * 
@@ -105,6 +132,8 @@ public enum State */ RECONCILING(3), /** + * + * *
      * The STOPPING state indicates the node pool is being deleted.
      * 
@@ -113,6 +142,8 @@ public enum State */ STOPPING(4), /** + * + * *
      * The ERROR state indicates the node pool is in a broken unrecoverable
      * state.
@@ -122,6 +153,8 @@ public enum State
      */
     ERROR(5),
     /**
+     *
+     *
      * 
      * The DEGRADED state indicates the node pool requires user action to
      * restore full functionality.
@@ -134,6 +167,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Not set.
      * 
@@ -142,6 +177,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The PROVISIONING state indicates the node pool is being created.
      * 
@@ -150,6 +187,8 @@ public enum State */ public static final int PROVISIONING_VALUE = 1; /** + * + * *
      * The RUNNING state indicates the node pool has been created and is fully
      * usable.
@@ -159,6 +198,8 @@ public enum State
      */
     public static final int RUNNING_VALUE = 2;
     /**
+     *
+     *
      * 
      * The RECONCILING state indicates that the node pool is being reconciled.
      * 
@@ -167,6 +208,8 @@ public enum State */ public static final int RECONCILING_VALUE = 3; /** + * + * *
      * The STOPPING state indicates the node pool is being deleted.
      * 
@@ -175,6 +218,8 @@ public enum State */ public static final int STOPPING_VALUE = 4; /** + * + * *
      * The ERROR state indicates the node pool is in a broken unrecoverable
      * state.
@@ -184,6 +229,8 @@ public enum State
      */
     public static final int ERROR_VALUE = 5;
     /**
+     *
+     *
      * 
      * The DEGRADED state indicates the node pool requires user action to
      * restore full functionality.
@@ -193,7 +240,6 @@ public enum State
      */
     public static final int DEGRADED_VALUE = 6;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -218,53 +264,57 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return PROVISIONING;
-        case 2: return RUNNING;
-        case 3: return RECONCILING;
-        case 4: return STOPPING;
-        case 5: return ERROR;
-        case 6: return DEGRADED;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return PROVISIONING;
+        case 2:
+          return RUNNING;
+        case 3:
+          return RECONCILING;
+        case 4:
+          return STOPPING;
+        case 5:
+          return ERROR;
+        case 6:
+          return DEGRADED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.gkemulticloud.v1.AzureNodePool.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -282,9 +332,12 @@ private State(int value) {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The name of this resource.
    *
@@ -296,6 +349,7 @@ private State(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -304,14 +358,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of this resource.
    *
@@ -323,16 +378,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -341,15 +395,19 @@ public java.lang.String getName() { } public static final int VERSION_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object version_ = ""; /** + * + * *
    * Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this
    * node pool.
    * 
* * string version = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The version. */ @java.lang.Override @@ -358,30 +416,30 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
    * Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this
    * node pool.
    * 
* * string version = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -392,11 +450,16 @@ public java.lang.String getVersion() { public static final int CONFIG_FIELD_NUMBER = 22; private com.google.cloud.gkemulticloud.v1.AzureNodeConfig config_; /** + * + * *
    * Required. The node configuration of the node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the config field is set. */ @java.lang.Override @@ -404,39 +467,56 @@ public boolean hasConfig() { return config_ != null; } /** + * + * *
    * Required. The node configuration of the node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The config. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureNodeConfig getConfig() { - return config_ == null ? com.google.cloud.gkemulticloud.v1.AzureNodeConfig.getDefaultInstance() : config_; + return config_ == null + ? com.google.cloud.gkemulticloud.v1.AzureNodeConfig.getDefaultInstance() + : config_; } /** + * + * *
    * Required. The node configuration of the node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureNodeConfigOrBuilder getConfigOrBuilder() { - return config_ == null ? com.google.cloud.gkemulticloud.v1.AzureNodeConfig.getDefaultInstance() : config_; + return config_ == null + ? com.google.cloud.gkemulticloud.v1.AzureNodeConfig.getDefaultInstance() + : config_; } public static final int SUBNET_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object subnetId_ = ""; /** + * + * *
    * Required. The ARM ID of the subnet where the node pool VMs run. Make sure
    * it's a subnet under the virtual network in the cluster configuration.
    * 
* * string subnet_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The subnetId. */ @java.lang.Override @@ -445,30 +525,30 @@ public java.lang.String getSubnetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetId_ = s; return s; } } /** + * + * *
    * Required. The ARM ID of the subnet where the node pool VMs run. Make sure
    * it's a subnet under the virtual network in the cluster configuration.
    * 
* * string subnet_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for subnetId. */ @java.lang.Override - public com.google.protobuf.ByteString - getSubnetIdBytes() { + public com.google.protobuf.ByteString getSubnetIdBytes() { java.lang.Object ref = subnetId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subnetId_ = b; return b; } else { @@ -479,11 +559,16 @@ public java.lang.String getSubnetId() { public static final int AUTOSCALING_FIELD_NUMBER = 4; private com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling_; /** + * + * *
    * Required. Autoscaler configuration for this node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the autoscaling field is set. */ @java.lang.Override @@ -491,64 +576,97 @@ public boolean hasAutoscaling() { return autoscaling_ != null; } /** + * + * *
    * Required. Autoscaler configuration for this node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The autoscaling. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling getAutoscaling() { - return autoscaling_ == null ? com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.getDefaultInstance() : autoscaling_; + return autoscaling_ == null + ? com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.getDefaultInstance() + : autoscaling_; } /** + * + * *
    * Required. Autoscaler configuration for this node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscalingOrBuilder getAutoscalingOrBuilder() { - return autoscaling_ == null ? com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.getDefaultInstance() : autoscaling_; + public com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscalingOrBuilder + getAutoscalingOrBuilder() { + return autoscaling_ == null + ? com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.getDefaultInstance() + : autoscaling_; } public static final int STATE_FIELD_NUMBER = 6; private int state_ = 0; /** + * + * *
    * Output only. The current state of the node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. The current state of the node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureNodePool.State getState() { - com.google.cloud.gkemulticloud.v1.AzureNodePool.State result = com.google.cloud.gkemulticloud.v1.AzureNodePool.State.forNumber(state_); - return result == null ? com.google.cloud.gkemulticloud.v1.AzureNodePool.State.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureNodePool.State getState() { + com.google.cloud.gkemulticloud.v1.AzureNodePool.State result = + com.google.cloud.gkemulticloud.v1.AzureNodePool.State.forNumber(state_); + return result == null + ? com.google.cloud.gkemulticloud.v1.AzureNodePool.State.UNRECOGNIZED + : result; } public static final int UID_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. A globally unique identifier for the node pool.
    * 
* * string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -557,29 +675,29 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** + * + * *
    * Output only. A globally unique identifier for the node pool.
    * 
* * string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -590,12 +708,15 @@ public java.lang.String getUid() { public static final int RECONCILING_FIELD_NUMBER = 9; private boolean reconciling_ = false; /** + * + * *
    * Output only. If set, there are currently pending changes to the node
    * pool.
    * 
* * bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -606,11 +727,15 @@ public boolean getReconciling() { public static final int CREATE_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time at which this node pool was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -618,11 +743,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time at which this node pool was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -630,11 +759,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time at which this node pool was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -644,11 +776,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 11; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The time at which this node pool was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -656,11 +792,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The time at which this node pool was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -668,11 +808,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The time at which this node pool was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -680,9 +823,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int ETAG_FIELD_NUMBER = 12; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -692,6 +838,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string etag = 12; + * * @return The etag. */ @java.lang.Override @@ -700,14 +847,15 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** + * + * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -717,16 +865,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 12; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -735,32 +882,35 @@ public java.lang.String getEtag() { } public static final int ANNOTATIONS_FIELD_NUMBER = 13; + private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_AnnotationsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
    * Optional. Annotations on the node pool.
    *
@@ -773,23 +923,25 @@ public int getAnnotationsCount() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsAnnotations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetAnnotations().getMap().containsKey(key); } - /** - * Use {@link #getAnnotationsMap()} instead. - */ + /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** + * + * *
    * Optional. Annotations on the node pool.
    *
@@ -802,13 +954,16 @@ public java.util.Map getAnnotations() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** + * + * *
    * Optional. Annotations on the node pool.
    *
@@ -821,20 +976,23 @@ public java.util.Map getAnnotationsMap() {
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -java.lang.String getAnnotationsOrDefault( + public /* nullable */ java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Optional. Annotations on the node pool.
    *
@@ -847,14 +1005,15 @@ java.lang.String getAnnotationsOrDefault(
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + public java.lang.String getAnnotationsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -864,12 +1023,17 @@ public java.lang.String getAnnotationsOrThrow( public static final int MAX_PODS_CONSTRAINT_FIELD_NUMBER = 21; private com.google.cloud.gkemulticloud.v1.MaxPodsConstraint maxPodsConstraint_; /** + * + * *
    * Required. The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the maxPodsConstraint field is set. */ @java.lang.Override @@ -877,35 +1041,52 @@ public boolean hasMaxPodsConstraint() { return maxPodsConstraint_ != null; } /** + * + * *
    * Required. The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The maxPodsConstraint. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.MaxPodsConstraint getMaxPodsConstraint() { - return maxPodsConstraint_ == null ? com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance() : maxPodsConstraint_; + return maxPodsConstraint_ == null + ? com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance() + : maxPodsConstraint_; } /** + * + * *
    * Required. The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder getMaxPodsConstraintOrBuilder() { - return maxPodsConstraint_ == null ? com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance() : maxPodsConstraint_; + public com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder + getMaxPodsConstraintOrBuilder() { + return maxPodsConstraint_ == null + ? com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance() + : maxPodsConstraint_; } public static final int AZURE_AVAILABILITY_ZONE_FIELD_NUMBER = 23; + @SuppressWarnings("serial") private volatile java.lang.Object azureAvailabilityZone_ = ""; /** + * + * *
    * Optional. The Azure availability zone of the nodes in this nodepool.
    *
@@ -913,6 +1094,7 @@ public com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder getMaxPodsCo
    * 
* * string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The azureAvailabilityZone. */ @java.lang.Override @@ -921,14 +1103,15 @@ public java.lang.String getAzureAvailabilityZone() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureAvailabilityZone_ = s; return s; } } /** + * + * *
    * Optional. The Azure availability zone of the nodes in this nodepool.
    *
@@ -936,16 +1119,15 @@ public java.lang.String getAzureAvailabilityZone() {
    * 
* * string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for azureAvailabilityZone. */ @java.lang.Override - public com.google.protobuf.ByteString - getAzureAvailabilityZoneBytes() { + public com.google.protobuf.ByteString getAzureAvailabilityZoneBytes() { java.lang.Object ref = azureAvailabilityZone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); azureAvailabilityZone_ = b; return b; } else { @@ -954,59 +1136,80 @@ public java.lang.String getAzureAvailabilityZone() { } public static final int ERRORS_FIELD_NUMBER = 29; + @SuppressWarnings("serial") private java.util.List errors_; /** + * + * *
    * Output only. A set of errors found in the node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getErrorsList() { return errors_; } /** + * + * *
    * Output only. A set of errors found in the node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getErrorsOrBuilderList() { return errors_; } /** + * + * *
    * Output only. A set of errors found in the node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** + * + * *
    * Output only. A set of errors found in the node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureNodePoolError getErrors(int index) { return errors_.get(index); } /** + * + * *
    * Output only. A set of errors found in the node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureNodePoolErrorOrBuilder getErrorsOrBuilder( @@ -1017,11 +1220,16 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolErrorOrBuilder getErrorsOr public static final int MANAGEMENT_FIELD_NUMBER = 30; private com.google.cloud.gkemulticloud.v1.AzureNodeManagement management_; /** + * + * *
    * Optional. The Management configuration for this node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the management field is set. */ @java.lang.Override @@ -1029,30 +1237,44 @@ public boolean hasManagement() { return management_ != null; } /** + * + * *
    * Optional. The Management configuration for this node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The management. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureNodeManagement getManagement() { - return management_ == null ? com.google.cloud.gkemulticloud.v1.AzureNodeManagement.getDefaultInstance() : management_; + return management_ == null + ? com.google.cloud.gkemulticloud.v1.AzureNodeManagement.getDefaultInstance() + : management_; } /** + * + * *
    * Optional. The Management configuration for this node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureNodeManagementOrBuilder getManagementOrBuilder() { - return management_ == null ? com.google.cloud.gkemulticloud.v1.AzureNodeManagement.getDefaultInstance() : management_; + return management_ == null + ? com.google.cloud.gkemulticloud.v1.AzureNodeManagement.getDefaultInstance() + : management_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1064,8 +1286,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1078,7 +1299,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (autoscaling_ != null) { output.writeMessage(4, getAutoscaling()); } - if (state_ != com.google.cloud.gkemulticloud.v1.AzureNodePool.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.gkemulticloud.v1.AzureNodePool.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(6, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { @@ -1096,12 +1318,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, etag_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetAnnotations(), - AnnotationsDefaultEntryHolder.defaultEntry, - 13); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 13); if (maxPodsConstraint_ != null) { output.writeMessage(21, getMaxPodsConstraint()); } @@ -1136,59 +1354,51 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, subnetId_); } if (autoscaling_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getAutoscaling()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getAutoscaling()); } - if (state_ != com.google.cloud.gkemulticloud.v1.AzureNodePool.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, state_); + if (state_ + != com.google.cloud.gkemulticloud.v1.AzureNodePool.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, uid_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(9, reconciling_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, reconciling_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, etag_); } - for (java.util.Map.Entry entry - : internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry - annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, annotations__); + for (java.util.Map.Entry entry : + internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry annotations__ = + AnnotationsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, annotations__); } if (maxPodsConstraint_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(21, getMaxPodsConstraint()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getMaxPodsConstraint()); } if (config_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(22, getConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(azureAvailabilityZone_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, azureAvailabilityZone_); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(29, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, errors_.get(i)); } if (management_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(30, getManagement()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(30, getManagement()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1198,61 +1408,47 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureNodePool)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureNodePool other = (com.google.cloud.gkemulticloud.v1.AzureNodePool) obj; + com.google.cloud.gkemulticloud.v1.AzureNodePool other = + (com.google.cloud.gkemulticloud.v1.AzureNodePool) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; + if (!getName().equals(other.getName())) return false; + if (!getVersion().equals(other.getVersion())) return false; if (hasConfig() != other.hasConfig()) return false; if (hasConfig()) { - if (!getConfig() - .equals(other.getConfig())) return false; + if (!getConfig().equals(other.getConfig())) return false; } - if (!getSubnetId() - .equals(other.getSubnetId())) return false; + if (!getSubnetId().equals(other.getSubnetId())) return false; if (hasAutoscaling() != other.hasAutoscaling()) return false; if (hasAutoscaling()) { - if (!getAutoscaling() - .equals(other.getAutoscaling())) return false; + if (!getAutoscaling().equals(other.getAutoscaling())) return false; } if (state_ != other.state_) return false; - if (!getUid() - .equals(other.getUid())) return false; - if (getReconciling() - != other.getReconciling()) return false; + if (!getUid().equals(other.getUid())) return false; + if (getReconciling() != other.getReconciling()) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } - if (!getEtag() - .equals(other.getEtag())) return false; - if (!internalGetAnnotations().equals( - other.internalGetAnnotations())) return false; + if (!getEtag().equals(other.getEtag())) return false; + if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; if (hasMaxPodsConstraint() != other.hasMaxPodsConstraint()) return false; if (hasMaxPodsConstraint()) { - if (!getMaxPodsConstraint() - .equals(other.getMaxPodsConstraint())) return false; + if (!getMaxPodsConstraint().equals(other.getMaxPodsConstraint())) return false; } - if (!getAzureAvailabilityZone() - .equals(other.getAzureAvailabilityZone())) return false; - if (!getErrorsList() - .equals(other.getErrorsList())) return false; + if (!getAzureAvailabilityZone().equals(other.getAzureAvailabilityZone())) return false; + if (!getErrorsList().equals(other.getErrorsList())) return false; if (hasManagement() != other.hasManagement()) return false; if (hasManagement()) { - if (!getManagement() - .equals(other.getManagement())) return false; + if (!getManagement().equals(other.getManagement())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1284,8 +1480,7 @@ public int hashCode() { hash = (37 * hash) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid().hashCode(); hash = (37 * hash) + RECONCILING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getReconciling()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReconciling()); if (hasCreateTime()) { hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime().hashCode(); @@ -1319,154 +1514,156 @@ public int hashCode() { return hash; } - public static com.google.cloud.gkemulticloud.v1.AzureNodePool parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.gkemulticloud.v1.AzureNodePool parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureNodePool parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureNodePool parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureNodePool parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureNodePool parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureNodePool parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureNodePool parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureNodePool parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePool parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureNodePool parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureNodePool parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureNodePool parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureNodePool parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureNodePool prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * An Anthos node pool running on Azure.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureNodePool} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureNodePool) com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 13: return internalGetAnnotations(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 13: return internalGetMutableAnnotations(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureNodePool.class, com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureNodePool.class, + com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AzureNodePool.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1521,9 +1718,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_descriptor; } @java.lang.Override @@ -1542,14 +1739,18 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePool build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureNodePool buildPartial() { - com.google.cloud.gkemulticloud.v1.AzureNodePool result = new com.google.cloud.gkemulticloud.v1.AzureNodePool(this); + com.google.cloud.gkemulticloud.v1.AzureNodePool result = + new com.google.cloud.gkemulticloud.v1.AzureNodePool(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.AzureNodePool result) { + private void buildPartialRepeatedFields( + com.google.cloud.gkemulticloud.v1.AzureNodePool result) { if (errorsBuilder_ == null) { if (((bitField0_ & 0x00004000) != 0)) { errors_ = java.util.Collections.unmodifiableList(errors_); @@ -1570,17 +1771,14 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureNodePool resul result.version_ = version_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.config_ = configBuilder_ == null - ? config_ - : configBuilder_.build(); + result.config_ = configBuilder_ == null ? config_ : configBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.subnetId_ = subnetId_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.autoscaling_ = autoscalingBuilder_ == null - ? autoscaling_ - : autoscalingBuilder_.build(); + result.autoscaling_ = + autoscalingBuilder_ == null ? autoscaling_ : autoscalingBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { result.state_ = state_; @@ -1592,14 +1790,10 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureNodePool resul result.reconciling_ = reconciling_; } if (((from_bitField0_ & 0x00000100) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000400) != 0)) { result.etag_ = etag_; @@ -1609,17 +1803,16 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureNodePool resul result.annotations_.makeImmutable(); } if (((from_bitField0_ & 0x00001000) != 0)) { - result.maxPodsConstraint_ = maxPodsConstraintBuilder_ == null - ? maxPodsConstraint_ - : maxPodsConstraintBuilder_.build(); + result.maxPodsConstraint_ = + maxPodsConstraintBuilder_ == null + ? maxPodsConstraint_ + : maxPodsConstraintBuilder_.build(); } if (((from_bitField0_ & 0x00002000) != 0)) { result.azureAvailabilityZone_ = azureAvailabilityZone_; } if (((from_bitField0_ & 0x00008000) != 0)) { - result.management_ = managementBuilder_ == null - ? management_ - : managementBuilder_.build(); + result.management_ = managementBuilder_ == null ? management_ : managementBuilder_.build(); } } @@ -1627,38 +1820,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureNodePool resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AzureNodePool) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureNodePool)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureNodePool) other); } else { super.mergeFrom(other); return this; @@ -1666,7 +1860,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureNodePool other) { - if (other == com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1710,8 +1905,7 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureNodePool other) bitField0_ |= 0x00000400; onChanged(); } - internalGetMutableAnnotations().mergeFrom( - other.internalGetAnnotations()); + internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); bitField0_ |= 0x00000800; if (other.hasMaxPodsConstraint()) { mergeMaxPodsConstraint(other.getMaxPodsConstraint()); @@ -1739,9 +1933,10 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureNodePool other) errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00004000); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getErrorsFieldBuilder() : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getErrorsFieldBuilder() + : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -1776,116 +1971,124 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - version_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - subnetId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 26 - case 34: { - input.readMessage( - getAutoscalingFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 48: { - state_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 66: { - uid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 66 - case 72: { - reconciling_ = input.readBool(); - bitField0_ |= 0x00000080; - break; - } // case 72 - case 82: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 82 - case 90: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000200; - break; - } // case 90 - case 98: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; - break; - } // case 98 - case 106: { - com.google.protobuf.MapEntry - annotations__ = input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableAnnotations().getMutableMap().put( - annotations__.getKey(), annotations__.getValue()); - bitField0_ |= 0x00000800; - break; - } // case 106 - case 170: { - input.readMessage( - getMaxPodsConstraintFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00001000; - break; - } // case 170 - case 178: { - input.readMessage( - getConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 178 - case 186: { - azureAvailabilityZone_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00002000; - break; - } // case 186 - case 234: { - com.google.cloud.gkemulticloud.v1.AzureNodePoolError m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureNodePoolError.parser(), - extensionRegistry); - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.add(m); - } else { - errorsBuilder_.addMessage(m); - } - break; - } // case 234 - case 242: { - input.readMessage( - getManagementFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00008000; - break; - } // case 242 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + subnetId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 26 + case 34: + { + input.readMessage(getAutoscalingFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 48: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 66: + { + uid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 66 + case 72: + { + reconciling_ = input.readBool(); + bitField0_ |= 0x00000080; + break; + } // case 72 + case 82: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 82 + case 90: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 90 + case 98: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 98 + case 106: + { + com.google.protobuf.MapEntry annotations__ = + input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableAnnotations() + .getMutableMap() + .put(annotations__.getKey(), annotations__.getValue()); + bitField0_ |= 0x00000800; + break; + } // case 106 + case 170: + { + input.readMessage( + getMaxPodsConstraintFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00001000; + break; + } // case 170 + case 178: + { + input.readMessage(getConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 178 + case 186: + { + azureAvailabilityZone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00002000; + break; + } // case 186 + case 234: + { + com.google.cloud.gkemulticloud.v1.AzureNodePoolError m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureNodePoolError.parser(), + extensionRegistry); + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.add(m); + } else { + errorsBuilder_.addMessage(m); + } + break; + } // case 234 + case 242: + { + input.readMessage(getManagementFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00008000; + break; + } // case 242 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1895,10 +2098,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * The name of this resource.
      *
@@ -1910,13 +2116,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1925,6 +2131,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of this resource.
      *
@@ -1936,15 +2144,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1952,6 +2159,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of this resource.
      *
@@ -1963,18 +2172,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The name of this resource.
      *
@@ -1986,6 +2199,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1995,6 +2209,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The name of this resource.
      *
@@ -2006,12 +2222,14 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2021,19 +2239,21 @@ public Builder setNameBytes( private java.lang.Object version_ = ""; /** + * + * *
      * Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this
      * node pool.
      * 
* * string version = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -2042,21 +2262,22 @@ public java.lang.String getVersion() { } } /** - *
+     *
+     *
+     * 
      * Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this
      * node pool.
      * 
* * string version = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -2064,30 +2285,37 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this
      * node pool.
      * 
* * string version = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } version_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this
      * node pool.
      * 
* * string version = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearVersion() { @@ -2097,18 +2325,22 @@ public Builder clearVersion() { return this; } /** + * + * *
      * Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this
      * node pool.
      * 
* * string version = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); version_ = value; bitField0_ |= 0x00000002; @@ -2118,39 +2350,58 @@ public Builder setVersionBytes( private com.google.cloud.gkemulticloud.v1.AzureNodeConfig config_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodeConfig, com.google.cloud.gkemulticloud.v1.AzureNodeConfig.Builder, com.google.cloud.gkemulticloud.v1.AzureNodeConfigOrBuilder> configBuilder_; + com.google.cloud.gkemulticloud.v1.AzureNodeConfig, + com.google.cloud.gkemulticloud.v1.AzureNodeConfig.Builder, + com.google.cloud.gkemulticloud.v1.AzureNodeConfigOrBuilder> + configBuilder_; /** + * + * *
      * Required. The node configuration of the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the config field is set. */ public boolean hasConfig() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The node configuration of the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The config. */ public com.google.cloud.gkemulticloud.v1.AzureNodeConfig getConfig() { if (configBuilder_ == null) { - return config_ == null ? com.google.cloud.gkemulticloud.v1.AzureNodeConfig.getDefaultInstance() : config_; + return config_ == null + ? com.google.cloud.gkemulticloud.v1.AzureNodeConfig.getDefaultInstance() + : config_; } else { return configBuilder_.getMessage(); } } /** + * + * *
      * Required. The node configuration of the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setConfig(com.google.cloud.gkemulticloud.v1.AzureNodeConfig value) { if (configBuilder_ == null) { @@ -2166,11 +2417,15 @@ public Builder setConfig(com.google.cloud.gkemulticloud.v1.AzureNodeConfig value return this; } /** + * + * *
      * Required. The node configuration of the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setConfig( com.google.cloud.gkemulticloud.v1.AzureNodeConfig.Builder builderForValue) { @@ -2184,17 +2439,21 @@ public Builder setConfig( return this; } /** + * + * *
      * Required. The node configuration of the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeConfig(com.google.cloud.gkemulticloud.v1.AzureNodeConfig value) { if (configBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - config_ != null && - config_ != com.google.cloud.gkemulticloud.v1.AzureNodeConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && config_ != null + && config_ != com.google.cloud.gkemulticloud.v1.AzureNodeConfig.getDefaultInstance()) { getConfigBuilder().mergeFrom(value); } else { config_ = value; @@ -2207,11 +2466,15 @@ public Builder mergeConfig(com.google.cloud.gkemulticloud.v1.AzureNodeConfig val return this; } /** + * + * *
      * Required. The node configuration of the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearConfig() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2224,11 +2487,15 @@ public Builder clearConfig() { return this; } /** + * + * *
      * Required. The node configuration of the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AzureNodeConfig.Builder getConfigBuilder() { bitField0_ |= 0x00000004; @@ -2236,36 +2503,48 @@ public com.google.cloud.gkemulticloud.v1.AzureNodeConfig.Builder getConfigBuilde return getConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The node configuration of the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AzureNodeConfigOrBuilder getConfigOrBuilder() { if (configBuilder_ != null) { return configBuilder_.getMessageOrBuilder(); } else { - return config_ == null ? - com.google.cloud.gkemulticloud.v1.AzureNodeConfig.getDefaultInstance() : config_; + return config_ == null + ? com.google.cloud.gkemulticloud.v1.AzureNodeConfig.getDefaultInstance() + : config_; } } /** + * + * *
      * Required. The node configuration of the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodeConfig, com.google.cloud.gkemulticloud.v1.AzureNodeConfig.Builder, com.google.cloud.gkemulticloud.v1.AzureNodeConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureNodeConfig, + com.google.cloud.gkemulticloud.v1.AzureNodeConfig.Builder, + com.google.cloud.gkemulticloud.v1.AzureNodeConfigOrBuilder> getConfigFieldBuilder() { if (configBuilder_ == null) { - configBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodeConfig, com.google.cloud.gkemulticloud.v1.AzureNodeConfig.Builder, com.google.cloud.gkemulticloud.v1.AzureNodeConfigOrBuilder>( - getConfig(), - getParentForChildren(), - isClean()); + configBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureNodeConfig, + com.google.cloud.gkemulticloud.v1.AzureNodeConfig.Builder, + com.google.cloud.gkemulticloud.v1.AzureNodeConfigOrBuilder>( + getConfig(), getParentForChildren(), isClean()); config_ = null; } return configBuilder_; @@ -2273,19 +2552,21 @@ public com.google.cloud.gkemulticloud.v1.AzureNodeConfigOrBuilder getConfigOrBui private java.lang.Object subnetId_ = ""; /** + * + * *
      * Required. The ARM ID of the subnet where the node pool VMs run. Make sure
      * it's a subnet under the virtual network in the cluster configuration.
      * 
* * string subnet_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The subnetId. */ public java.lang.String getSubnetId() { java.lang.Object ref = subnetId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetId_ = s; return s; @@ -2294,21 +2575,22 @@ public java.lang.String getSubnetId() { } } /** + * + * *
      * Required. The ARM ID of the subnet where the node pool VMs run. Make sure
      * it's a subnet under the virtual network in the cluster configuration.
      * 
* * string subnet_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for subnetId. */ - public com.google.protobuf.ByteString - getSubnetIdBytes() { + public com.google.protobuf.ByteString getSubnetIdBytes() { java.lang.Object ref = subnetId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subnetId_ = b; return b; } else { @@ -2316,30 +2598,37 @@ public java.lang.String getSubnetId() { } } /** + * + * *
      * Required. The ARM ID of the subnet where the node pool VMs run. Make sure
      * it's a subnet under the virtual network in the cluster configuration.
      * 
* * string subnet_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The subnetId to set. * @return This builder for chaining. */ - public Builder setSubnetId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSubnetId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } subnetId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Required. The ARM ID of the subnet where the node pool VMs run. Make sure
      * it's a subnet under the virtual network in the cluster configuration.
      * 
* * string subnet_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSubnetId() { @@ -2349,18 +2638,22 @@ public Builder clearSubnetId() { return this; } /** + * + * *
      * Required. The ARM ID of the subnet where the node pool VMs run. Make sure
      * it's a subnet under the virtual network in the cluster configuration.
      * 
* * string subnet_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for subnetId to set. * @return This builder for chaining. */ - public Builder setSubnetIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSubnetIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); subnetId_ = value; bitField0_ |= 0x00000008; @@ -2370,41 +2663,61 @@ public Builder setSubnetIdBytes( private com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling, com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.Builder, com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscalingOrBuilder> autoscalingBuilder_; + com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling, + com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.Builder, + com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscalingOrBuilder> + autoscalingBuilder_; /** + * + * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the autoscaling field is set. */ public boolean hasAutoscaling() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The autoscaling. */ public com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling getAutoscaling() { if (autoscalingBuilder_ == null) { - return autoscaling_ == null ? com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.getDefaultInstance() : autoscaling_; + return autoscaling_ == null + ? com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.getDefaultInstance() + : autoscaling_; } else { return autoscalingBuilder_.getMessage(); } } /** + * + * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setAutoscaling(com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling value) { + public Builder setAutoscaling( + com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling value) { if (autoscalingBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2418,11 +2731,15 @@ public Builder setAutoscaling(com.google.cloud.gkemulticloud.v1.AzureNodePoolAut return this; } /** + * + * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAutoscaling( com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.Builder builderForValue) { @@ -2436,17 +2753,24 @@ public Builder setAutoscaling( return this; } /** + * + * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeAutoscaling(com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling value) { + public Builder mergeAutoscaling( + com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling value) { if (autoscalingBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - autoscaling_ != null && - autoscaling_ != com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && autoscaling_ != null + && autoscaling_ + != com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling + .getDefaultInstance()) { getAutoscalingBuilder().mergeFrom(value); } else { autoscaling_ = value; @@ -2459,11 +2783,15 @@ public Builder mergeAutoscaling(com.google.cloud.gkemulticloud.v1.AzureNodePoolA return this; } /** + * + * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAutoscaling() { bitField0_ = (bitField0_ & ~0x00000010); @@ -2476,48 +2804,66 @@ public Builder clearAutoscaling() { return this; } /** + * + * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.Builder getAutoscalingBuilder() { + public com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.Builder + getAutoscalingBuilder() { bitField0_ |= 0x00000010; onChanged(); return getAutoscalingFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscalingOrBuilder getAutoscalingOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscalingOrBuilder + getAutoscalingOrBuilder() { if (autoscalingBuilder_ != null) { return autoscalingBuilder_.getMessageOrBuilder(); } else { - return autoscaling_ == null ? - com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.getDefaultInstance() : autoscaling_; + return autoscaling_ == null + ? com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.getDefaultInstance() + : autoscaling_; } } /** + * + * *
      * Required. Autoscaler configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling, com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.Builder, com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscalingOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling, + com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.Builder, + com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscalingOrBuilder> getAutoscalingFieldBuilder() { if (autoscalingBuilder_ == null) { - autoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling, com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.Builder, com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscalingOrBuilder>( - getAutoscaling(), - getParentForChildren(), - isClean()); + autoscalingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling, + com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.Builder, + com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscalingOrBuilder>( + getAutoscaling(), getParentForChildren(), isClean()); autoscaling_ = null; } return autoscalingBuilder_; @@ -2525,22 +2871,33 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscalingOrBuilder getAu private int state_ = 0; /** + * + * *
      * Output only. The current state of the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. The current state of the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2551,24 +2908,37 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. The current state of the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureNodePool.State getState() { - com.google.cloud.gkemulticloud.v1.AzureNodePool.State result = com.google.cloud.gkemulticloud.v1.AzureNodePool.State.forNumber(state_); - return result == null ? com.google.cloud.gkemulticloud.v1.AzureNodePool.State.UNRECOGNIZED : result; + com.google.cloud.gkemulticloud.v1.AzureNodePool.State result = + com.google.cloud.gkemulticloud.v1.AzureNodePool.State.forNumber(state_); + return result == null + ? com.google.cloud.gkemulticloud.v1.AzureNodePool.State.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The current state of the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -2582,11 +2952,16 @@ public Builder setState(com.google.cloud.gkemulticloud.v1.AzureNodePool.State va return this; } /** + * + * *
      * Output only. The current state of the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -2598,18 +2973,20 @@ public Builder clearState() { private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. A globally unique identifier for the node pool.
      * 
* * string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -2618,20 +2995,21 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. A globally unique identifier for the node pool.
      * 
* * string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -2639,28 +3017,35 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. A globally unique identifier for the node pool.
      * 
* * string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Output only. A globally unique identifier for the node pool.
      * 
* * string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -2670,17 +3055,21 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. A globally unique identifier for the node pool.
      * 
* * string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000040; @@ -2688,14 +3077,17 @@ public Builder setUidBytes( return this; } - private boolean reconciling_ ; + private boolean reconciling_; /** + * + * *
      * Output only. If set, there are currently pending changes to the node
      * pool.
      * 
* * bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -2703,12 +3095,15 @@ public boolean getReconciling() { return reconciling_; } /** + * + * *
      * Output only. If set, there are currently pending changes to the node
      * pool.
      * 
* * bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The reconciling to set. * @return This builder for chaining. */ @@ -2720,12 +3115,15 @@ public Builder setReconciling(boolean value) { return this; } /** + * + * *
      * Output only. If set, there are currently pending changes to the node
      * pool.
      * 
* * bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -2737,39 +3135,58 @@ public Builder clearReconciling() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time at which this node pool was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
      * Output only. The time at which this node pool was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time at which this node pool was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2785,14 +3202,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this node pool was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -2803,17 +3223,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time at which this node pool was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -2826,11 +3250,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this node pool was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000100); @@ -2843,11 +3271,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time at which this node pool was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000100; @@ -2855,36 +3287,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time at which this node pool was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time at which this node pool was created.
      * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2892,39 +3336,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2940,14 +3403,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -2958,17 +3424,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -2981,11 +3451,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000200); @@ -2998,11 +3472,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000200; @@ -3010,36 +3488,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. The time at which this node pool was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -3047,6 +3537,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object etag_ = ""; /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3056,13 +3548,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string etag = 12; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -3071,6 +3563,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3080,15 +3574,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 12; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -3096,6 +3589,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3105,18 +3600,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 12; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3126,6 +3625,7 @@ public Builder setEtag(
      * 
* * string etag = 12; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -3135,6 +3635,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Allows clients to perform consistent read-modify-writes
      * through optimistic concurrency control.
@@ -3144,12 +3646,14 @@ public Builder clearEtag() {
      * 
* * string etag = 12; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000400; @@ -3157,8 +3661,8 @@ public Builder setEtagBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -3167,11 +3671,12 @@ public Builder setEtagBytes( } return annotations_; } + private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = + com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -3180,10 +3685,13 @@ public Builder setEtagBytes( onChanged(); return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
      * Optional. Annotations on the node pool.
      *
@@ -3196,23 +3704,25 @@ public int getAnnotationsCount() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsAnnotations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetAnnotations().getMap().containsKey(key); } - /** - * Use {@link #getAnnotationsMap()} instead. - */ + /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** + * + * *
      * Optional. Annotations on the node pool.
      *
@@ -3225,13 +3735,16 @@ public java.util.Map getAnnotations() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** + * + * *
      * Optional. Annotations on the node pool.
      *
@@ -3244,20 +3757,23 @@ public java.util.Map getAnnotationsMap() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -java.lang.String getAnnotationsOrDefault( + public /* nullable */ java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Optional. Annotations on the node pool.
      *
@@ -3270,26 +3786,29 @@ java.lang.String getAnnotationsOrDefault(
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetAnnotations().getMap(); + public java.lang.String getAnnotationsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearAnnotations() { bitField0_ = (bitField0_ & ~0x00000800); - internalGetMutableAnnotations().getMutableMap() - .clear(); + internalGetMutableAnnotations().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. Annotations on the node pool.
      *
@@ -3302,25 +3821,25 @@ public Builder clearAnnotations() {
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder removeAnnotations( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableAnnotations().getMutableMap() - .remove(key); + public Builder removeAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableAnnotations().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableAnnotations() { + public java.util.Map getMutableAnnotations() { bitField0_ |= 0x00000800; return internalGetMutableAnnotations().getMutableMap(); } /** + * + * *
      * Optional. Annotations on the node pool.
      *
@@ -3333,19 +3852,23 @@ public Builder removeAnnotations(
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder putAnnotations( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableAnnotations().getMutableMap() - .put(key, value); + public Builder putAnnotations(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableAnnotations().getMutableMap().put(key, value); bitField0_ |= 0x00000800; return this; } /** + * + * *
      * Optional. Annotations on the node pool.
      *
@@ -3358,54 +3881,72 @@ public Builder putAnnotations(
      * with dashes (-), underscores (_), dots (.), and alphanumerics between.
      * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder putAllAnnotations( - java.util.Map values) { - internalGetMutableAnnotations().getMutableMap() - .putAll(values); + public Builder putAllAnnotations(java.util.Map values) { + internalGetMutableAnnotations().getMutableMap().putAll(values); bitField0_ |= 0x00000800; return this; } private com.google.cloud.gkemulticloud.v1.MaxPodsConstraint maxPodsConstraint_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint, com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder, com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder> maxPodsConstraintBuilder_; + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint, + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder, + com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder> + maxPodsConstraintBuilder_; /** + * + * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the maxPodsConstraint field is set. */ public boolean hasMaxPodsConstraint() { return ((bitField0_ & 0x00001000) != 0); } /** + * + * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The maxPodsConstraint. */ public com.google.cloud.gkemulticloud.v1.MaxPodsConstraint getMaxPodsConstraint() { if (maxPodsConstraintBuilder_ == null) { - return maxPodsConstraint_ == null ? com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance() : maxPodsConstraint_; + return maxPodsConstraint_ == null + ? com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance() + : maxPodsConstraint_; } else { return maxPodsConstraintBuilder_.getMessage(); } } /** + * + * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setMaxPodsConstraint(com.google.cloud.gkemulticloud.v1.MaxPodsConstraint value) { if (maxPodsConstraintBuilder_ == null) { @@ -3421,12 +3962,16 @@ public Builder setMaxPodsConstraint(com.google.cloud.gkemulticloud.v1.MaxPodsCon return this; } /** + * + * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setMaxPodsConstraint( com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder builderForValue) { @@ -3440,18 +3985,24 @@ public Builder setMaxPodsConstraint( return this; } /** + * + * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeMaxPodsConstraint(com.google.cloud.gkemulticloud.v1.MaxPodsConstraint value) { + public Builder mergeMaxPodsConstraint( + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint value) { if (maxPodsConstraintBuilder_ == null) { - if (((bitField0_ & 0x00001000) != 0) && - maxPodsConstraint_ != null && - maxPodsConstraint_ != com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance()) { + if (((bitField0_ & 0x00001000) != 0) + && maxPodsConstraint_ != null + && maxPodsConstraint_ + != com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance()) { getMaxPodsConstraintBuilder().mergeFrom(value); } else { maxPodsConstraint_ = value; @@ -3464,12 +4015,16 @@ public Builder mergeMaxPodsConstraint(com.google.cloud.gkemulticloud.v1.MaxPodsC return this; } /** + * + * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearMaxPodsConstraint() { bitField0_ = (bitField0_ & ~0x00001000); @@ -3482,51 +4037,69 @@ public Builder clearMaxPodsConstraint() { return this; } /** + * + * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder getMaxPodsConstraintBuilder() { + public com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder + getMaxPodsConstraintBuilder() { bitField0_ |= 0x00001000; onChanged(); return getMaxPodsConstraintFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder getMaxPodsConstraintOrBuilder() { + public com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder + getMaxPodsConstraintOrBuilder() { if (maxPodsConstraintBuilder_ != null) { return maxPodsConstraintBuilder_.getMessageOrBuilder(); } else { - return maxPodsConstraint_ == null ? - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance() : maxPodsConstraint_; + return maxPodsConstraint_ == null + ? com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance() + : maxPodsConstraint_; } } /** + * + * *
      * Required. The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint, com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder, com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder> + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint, + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder, + com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder> getMaxPodsConstraintFieldBuilder() { if (maxPodsConstraintBuilder_ == null) { - maxPodsConstraintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint, com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder, com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder>( - getMaxPodsConstraint(), - getParentForChildren(), - isClean()); + maxPodsConstraintBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint, + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder, + com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder>( + getMaxPodsConstraint(), getParentForChildren(), isClean()); maxPodsConstraint_ = null; } return maxPodsConstraintBuilder_; @@ -3534,6 +4107,8 @@ public com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder getMaxPodsCo private java.lang.Object azureAvailabilityZone_ = ""; /** + * + * *
      * Optional. The Azure availability zone of the nodes in this nodepool.
      *
@@ -3541,13 +4116,13 @@ public com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder getMaxPodsCo
      * 
* * string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The azureAvailabilityZone. */ public java.lang.String getAzureAvailabilityZone() { java.lang.Object ref = azureAvailabilityZone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureAvailabilityZone_ = s; return s; @@ -3556,6 +4131,8 @@ public java.lang.String getAzureAvailabilityZone() { } } /** + * + * *
      * Optional. The Azure availability zone of the nodes in this nodepool.
      *
@@ -3563,15 +4140,14 @@ public java.lang.String getAzureAvailabilityZone() {
      * 
* * string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for azureAvailabilityZone. */ - public com.google.protobuf.ByteString - getAzureAvailabilityZoneBytes() { + public com.google.protobuf.ByteString getAzureAvailabilityZoneBytes() { java.lang.Object ref = azureAvailabilityZone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); azureAvailabilityZone_ = b; return b; } else { @@ -3579,6 +4155,8 @@ public java.lang.String getAzureAvailabilityZone() { } } /** + * + * *
      * Optional. The Azure availability zone of the nodes in this nodepool.
      *
@@ -3586,18 +4164,22 @@ public java.lang.String getAzureAvailabilityZone() {
      * 
* * string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The azureAvailabilityZone to set. * @return This builder for chaining. */ - public Builder setAzureAvailabilityZone( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAzureAvailabilityZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } azureAvailabilityZone_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** + * + * *
      * Optional. The Azure availability zone of the nodes in this nodepool.
      *
@@ -3605,6 +4187,7 @@ public Builder setAzureAvailabilityZone(
      * 
* * string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAzureAvailabilityZone() { @@ -3614,6 +4197,8 @@ public Builder clearAzureAvailabilityZone() { return this; } /** + * + * *
      * Optional. The Azure availability zone of the nodes in this nodepool.
      *
@@ -3621,12 +4206,14 @@ public Builder clearAzureAvailabilityZone() {
      * 
* * string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for azureAvailabilityZone to set. * @return This builder for chaining. */ - public Builder setAzureAvailabilityZoneBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAzureAvailabilityZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); azureAvailabilityZone_ = value; bitField0_ |= 0x00002000; @@ -3635,23 +4222,32 @@ public Builder setAzureAvailabilityZoneBytes( } private java.util.List errors_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00004000) != 0)) { - errors_ = new java.util.ArrayList(errors_); + errors_ = + new java.util.ArrayList(errors_); bitField0_ |= 0x00004000; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodePoolError, com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder, com.google.cloud.gkemulticloud.v1.AzureNodePoolErrorOrBuilder> errorsBuilder_; + com.google.cloud.gkemulticloud.v1.AzureNodePoolError, + com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder, + com.google.cloud.gkemulticloud.v1.AzureNodePoolErrorOrBuilder> + errorsBuilder_; /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getErrorsList() { if (errorsBuilder_ == null) { @@ -3661,11 +4257,15 @@ public java.util.List getE } } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -3675,11 +4275,15 @@ public int getErrorsCount() { } } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.gkemulticloud.v1.AzureNodePoolError getErrors(int index) { if (errorsBuilder_ == null) { @@ -3689,11 +4293,15 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolError getErrors(int index) } } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setErrors( int index, com.google.cloud.gkemulticloud.v1.AzureNodePoolError value) { @@ -3710,11 +4318,15 @@ public Builder setErrors( return this; } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setErrors( int index, com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder builderForValue) { @@ -3728,11 +4340,15 @@ public Builder setErrors( return this; } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addErrors(com.google.cloud.gkemulticloud.v1.AzureNodePoolError value) { if (errorsBuilder_ == null) { @@ -3748,11 +4364,15 @@ public Builder addErrors(com.google.cloud.gkemulticloud.v1.AzureNodePoolError va return this; } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addErrors( int index, com.google.cloud.gkemulticloud.v1.AzureNodePoolError value) { @@ -3769,11 +4389,15 @@ public Builder addErrors( return this; } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addErrors( com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder builderForValue) { @@ -3787,11 +4411,15 @@ public Builder addErrors( return this; } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addErrors( int index, com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder builderForValue) { @@ -3805,18 +4433,21 @@ public Builder addErrors( return this; } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllErrors( java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -3824,11 +4455,15 @@ public Builder addAllErrors( return this; } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -3841,11 +4476,15 @@ public Builder clearErrors() { return this; } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -3858,39 +4497,52 @@ public Builder removeErrors(int index) { return this; } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder getErrorsBuilder( int index) { return getErrorsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.gkemulticloud.v1.AzureNodePoolErrorOrBuilder getErrorsOrBuilder( int index) { if (errorsBuilder_ == null) { - return errors_.get(index); } else { + return errors_.get(index); + } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -3898,49 +4550,65 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolErrorOrBuilder getErrorsOr } } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder addErrorsBuilder() { - return getErrorsFieldBuilder().addBuilder( - com.google.cloud.gkemulticloud.v1.AzureNodePoolError.getDefaultInstance()); + return getErrorsFieldBuilder() + .addBuilder(com.google.cloud.gkemulticloud.v1.AzureNodePoolError.getDefaultInstance()); } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder addErrorsBuilder( int index) { - return getErrorsFieldBuilder().addBuilder( - index, com.google.cloud.gkemulticloud.v1.AzureNodePoolError.getDefaultInstance()); + return getErrorsFieldBuilder() + .addBuilder( + index, com.google.cloud.gkemulticloud.v1.AzureNodePoolError.getDefaultInstance()); } /** + * + * *
      * Output only. A set of errors found in the node pool.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodePoolError, com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder, com.google.cloud.gkemulticloud.v1.AzureNodePoolErrorOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureNodePoolError, + com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder, + com.google.cloud.gkemulticloud.v1.AzureNodePoolErrorOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodePoolError, com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder, com.google.cloud.gkemulticloud.v1.AzureNodePoolErrorOrBuilder>( - errors_, - ((bitField0_ & 0x00004000) != 0), - getParentForChildren(), - isClean()); + errorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureNodePoolError, + com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder, + com.google.cloud.gkemulticloud.v1.AzureNodePoolErrorOrBuilder>( + errors_, ((bitField0_ & 0x00004000) != 0), getParentForChildren(), isClean()); errors_ = null; } return errorsBuilder_; @@ -3948,39 +4616,58 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder addErrorsBui private com.google.cloud.gkemulticloud.v1.AzureNodeManagement management_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodeManagement, com.google.cloud.gkemulticloud.v1.AzureNodeManagement.Builder, com.google.cloud.gkemulticloud.v1.AzureNodeManagementOrBuilder> managementBuilder_; + com.google.cloud.gkemulticloud.v1.AzureNodeManagement, + com.google.cloud.gkemulticloud.v1.AzureNodeManagement.Builder, + com.google.cloud.gkemulticloud.v1.AzureNodeManagementOrBuilder> + managementBuilder_; /** + * + * *
      * Optional. The Management configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the management field is set. */ public boolean hasManagement() { return ((bitField0_ & 0x00008000) != 0); } /** + * + * *
      * Optional. The Management configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The management. */ public com.google.cloud.gkemulticloud.v1.AzureNodeManagement getManagement() { if (managementBuilder_ == null) { - return management_ == null ? com.google.cloud.gkemulticloud.v1.AzureNodeManagement.getDefaultInstance() : management_; + return management_ == null + ? com.google.cloud.gkemulticloud.v1.AzureNodeManagement.getDefaultInstance() + : management_; } else { return managementBuilder_.getMessage(); } } /** + * + * *
      * Optional. The Management configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setManagement(com.google.cloud.gkemulticloud.v1.AzureNodeManagement value) { if (managementBuilder_ == null) { @@ -3996,11 +4683,15 @@ public Builder setManagement(com.google.cloud.gkemulticloud.v1.AzureNodeManageme return this; } /** + * + * *
      * Optional. The Management configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setManagement( com.google.cloud.gkemulticloud.v1.AzureNodeManagement.Builder builderForValue) { @@ -4014,17 +4705,22 @@ public Builder setManagement( return this; } /** + * + * *
      * Optional. The Management configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeManagement(com.google.cloud.gkemulticloud.v1.AzureNodeManagement value) { if (managementBuilder_ == null) { - if (((bitField0_ & 0x00008000) != 0) && - management_ != null && - management_ != com.google.cloud.gkemulticloud.v1.AzureNodeManagement.getDefaultInstance()) { + if (((bitField0_ & 0x00008000) != 0) + && management_ != null + && management_ + != com.google.cloud.gkemulticloud.v1.AzureNodeManagement.getDefaultInstance()) { getManagementBuilder().mergeFrom(value); } else { management_ = value; @@ -4037,11 +4733,15 @@ public Builder mergeManagement(com.google.cloud.gkemulticloud.v1.AzureNodeManage return this; } /** + * + * *
      * Optional. The Management configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearManagement() { bitField0_ = (bitField0_ & ~0x00008000); @@ -4054,11 +4754,15 @@ public Builder clearManagement() { return this; } /** + * + * *
      * Optional. The Management configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AzureNodeManagement.Builder getManagementBuilder() { bitField0_ |= 0x00008000; @@ -4066,43 +4770,55 @@ public com.google.cloud.gkemulticloud.v1.AzureNodeManagement.Builder getManageme return getManagementFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The Management configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AzureNodeManagementOrBuilder getManagementOrBuilder() { if (managementBuilder_ != null) { return managementBuilder_.getMessageOrBuilder(); } else { - return management_ == null ? - com.google.cloud.gkemulticloud.v1.AzureNodeManagement.getDefaultInstance() : management_; + return management_ == null + ? com.google.cloud.gkemulticloud.v1.AzureNodeManagement.getDefaultInstance() + : management_; } } /** + * + * *
      * Optional. The Management configuration for this node pool.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodeManagement, com.google.cloud.gkemulticloud.v1.AzureNodeManagement.Builder, com.google.cloud.gkemulticloud.v1.AzureNodeManagementOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureNodeManagement, + com.google.cloud.gkemulticloud.v1.AzureNodeManagement.Builder, + com.google.cloud.gkemulticloud.v1.AzureNodeManagementOrBuilder> getManagementFieldBuilder() { if (managementBuilder_ == null) { - managementBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodeManagement, com.google.cloud.gkemulticloud.v1.AzureNodeManagement.Builder, com.google.cloud.gkemulticloud.v1.AzureNodeManagementOrBuilder>( - getManagement(), - getParentForChildren(), - isClean()); + managementBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureNodeManagement, + com.google.cloud.gkemulticloud.v1.AzureNodeManagement.Builder, + com.google.cloud.gkemulticloud.v1.AzureNodeManagementOrBuilder>( + getManagement(), getParentForChildren(), isClean()); management_ = null; } return managementBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4112,12 +4828,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureNodePool) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureNodePool) private static final com.google.cloud.gkemulticloud.v1.AzureNodePool DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureNodePool(); } @@ -4126,27 +4842,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureNodePool getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureNodePool parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureNodePool parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4161,6 +4877,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureNodePool getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscaling.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscaling.java similarity index 69% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscaling.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscaling.java index 3e14fc379456..efbde1dc630c 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscaling.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscaling.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Configuration related to Kubernetes cluster autoscaler.
  *
@@ -13,47 +30,51 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling}
  */
-public final class AzureNodePoolAutoscaling extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AzureNodePoolAutoscaling extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling)
     AzureNodePoolAutoscalingOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AzureNodePoolAutoscaling.newBuilder() to construct.
   private AzureNodePoolAutoscaling(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private AzureNodePoolAutoscaling() {
-  }
+
+  private AzureNodePoolAutoscaling() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AzureNodePoolAutoscaling();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.class, com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.Builder.class);
+            com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.class,
+            com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.Builder.class);
   }
 
   public static final int MIN_NODE_COUNT_FIELD_NUMBER = 1;
   private int minNodeCount_ = 0;
   /**
+   *
+   *
    * 
    * Required. Minimum number of nodes in the node pool. Must be greater than or
    * equal to 1 and less than or equal to max_node_count.
    * 
* * int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The minNodeCount. */ @java.lang.Override @@ -64,12 +85,15 @@ public int getMinNodeCount() { public static final int MAX_NODE_COUNT_FIELD_NUMBER = 2; private int maxNodeCount_ = 0; /** + * + * *
    * Required. Maximum number of nodes in the node pool. Must be greater than or
    * equal to min_node_count and less than or equal to 50.
    * 
* * int32 max_node_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The maxNodeCount. */ @java.lang.Override @@ -78,6 +102,7 @@ public int getMaxNodeCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -89,8 +114,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (minNodeCount_ != 0) { output.writeInt32(1, minNodeCount_); } @@ -107,12 +131,10 @@ public int getSerializedSize() { size = 0; if (minNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, minNodeCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, minNodeCount_); } if (maxNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, maxNodeCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxNodeCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -122,17 +144,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling other = (com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling) obj; + com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling other = + (com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling) obj; - if (getMinNodeCount() - != other.getMinNodeCount()) return false; - if (getMaxNodeCount() - != other.getMaxNodeCount()) return false; + if (getMinNodeCount() != other.getMinNodeCount()) return false; + if (getMaxNodeCount() != other.getMaxNodeCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -154,98 +175,104 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration related to Kubernetes cluster autoscaler.
    *
@@ -255,33 +282,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling)
       com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscalingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.class, com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.Builder.class);
+              com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.class,
+              com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -292,9 +318,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_descriptor;
     }
 
     @java.lang.Override
@@ -313,8 +339,11 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling buildPartial() {
-      com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling result = new com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling result =
+          new com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -333,38 +362,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureNodePoolAutosc
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling)other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -372,7 +402,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling other) {
-      if (other == com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.getDefaultInstance()) return this;
+      if (other == com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling.getDefaultInstance())
+        return this;
       if (other.getMinNodeCount() != 0) {
         setMinNodeCount(other.getMinNodeCount());
       }
@@ -405,22 +436,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              minNodeCount_ = input.readInt32();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 16: {
-              maxNodeCount_ = input.readInt32();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                minNodeCount_ = input.readInt32();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 16:
+              {
+                maxNodeCount_ = input.readInt32();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -430,16 +464,20 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private int minNodeCount_ ;
+    private int minNodeCount_;
     /**
+     *
+     *
      * 
      * Required. Minimum number of nodes in the node pool. Must be greater than or
      * equal to 1 and less than or equal to max_node_count.
      * 
* * int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The minNodeCount. */ @java.lang.Override @@ -447,12 +485,15 @@ public int getMinNodeCount() { return minNodeCount_; } /** + * + * *
      * Required. Minimum number of nodes in the node pool. Must be greater than or
      * equal to 1 and less than or equal to max_node_count.
      * 
* * int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The minNodeCount to set. * @return This builder for chaining. */ @@ -464,12 +505,15 @@ public Builder setMinNodeCount(int value) { return this; } /** + * + * *
      * Required. Minimum number of nodes in the node pool. Must be greater than or
      * equal to 1 and less than or equal to max_node_count.
      * 
* * int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearMinNodeCount() { @@ -479,14 +523,17 @@ public Builder clearMinNodeCount() { return this; } - private int maxNodeCount_ ; + private int maxNodeCount_; /** + * + * *
      * Required. Maximum number of nodes in the node pool. Must be greater than or
      * equal to min_node_count and less than or equal to 50.
      * 
* * int32 max_node_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The maxNodeCount. */ @java.lang.Override @@ -494,12 +541,15 @@ public int getMaxNodeCount() { return maxNodeCount_; } /** + * + * *
      * Required. Maximum number of nodes in the node pool. Must be greater than or
      * equal to min_node_count and less than or equal to 50.
      * 
* * int32 max_node_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The maxNodeCount to set. * @return This builder for chaining. */ @@ -511,12 +561,15 @@ public Builder setMaxNodeCount(int value) { return this; } /** + * + * *
      * Required. Maximum number of nodes in the node pool. Must be greater than or
      * equal to min_node_count and less than or equal to 50.
      * 
* * int32 max_node_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearMaxNodeCount() { @@ -525,9 +578,9 @@ public Builder clearMaxNodeCount() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -537,12 +590,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling) private static final com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling(); } @@ -551,27 +604,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureNodePoolAutoscaling parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureNodePoolAutoscaling parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -586,6 +639,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscalingOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscalingOrBuilder.java similarity index 58% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscalingOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscalingOrBuilder.java index bf895604bb3f..031a0639dc85 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscalingOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolAutoscalingOrBuilder.java @@ -1,30 +1,52 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureNodePoolAutoscalingOrBuilder extends +public interface AzureNodePoolAutoscalingOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Minimum number of nodes in the node pool. Must be greater than or
    * equal to 1 and less than or equal to max_node_count.
    * 
* * int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The minNodeCount. */ int getMinNodeCount(); /** + * + * *
    * Required. Maximum number of nodes in the node pool. Must be greater than or
    * equal to min_node_count and less than or equal to 50.
    * 
* * int32 max_node_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The maxNodeCount. */ int getMaxNodeCount(); diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolError.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolError.java similarity index 67% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolError.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolError.java index 4bf436abac7e..d47e83f34d53 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolError.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolError.java @@ -1,57 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * AzureNodePoolError describes errors found on Azure node pools.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureNodePoolError} */ -public final class AzureNodePoolError extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AzureNodePoolError extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureNodePoolError) AzureNodePoolErrorOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AzureNodePoolError.newBuilder() to construct. private AzureNodePoolError(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AzureNodePoolError() { message_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AzureNodePoolError(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureNodePoolError.class, com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureNodePoolError.class, + com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder.class); } public static final int MESSAGE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** + * + * *
    * Human-friendly description of the error.
    * 
* * string message = 1; + * * @return The message. */ @java.lang.Override @@ -60,29 +83,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** + * + * *
    * Human-friendly description of the error.
    * 
* * string message = 1; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -91,6 +114,7 @@ public java.lang.String getMessage() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,8 +126,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } @@ -127,15 +150,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureNodePoolError)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureNodePoolError other = (com.google.cloud.gkemulticloud.v1.AzureNodePoolError) obj; + com.google.cloud.gkemulticloud.v1.AzureNodePoolError other = + (com.google.cloud.gkemulticloud.v1.AzureNodePoolError) obj; - if (!getMessage() - .equals(other.getMessage())) return false; + if (!getMessage().equals(other.getMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -155,131 +178,135 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AzureNodePoolError parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureNodePoolError parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureNodePoolError parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureNodePoolError parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureNodePoolError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureNodePoolError parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePoolError parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AzureNodePoolError parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureNodePoolError parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureNodePoolError parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureNodePoolError parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureNodePoolError parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureNodePoolError parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureNodePoolError parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureNodePoolError prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * AzureNodePoolError describes errors found on Azure node pools.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureNodePoolError} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureNodePoolError) com.google.cloud.gkemulticloud.v1.AzureNodePoolErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureNodePoolError.class, com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureNodePoolError.class, + com.google.cloud.gkemulticloud.v1.AzureNodePoolError.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AzureNodePoolError.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -289,9 +316,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_descriptor; } @java.lang.Override @@ -310,8 +337,11 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolError build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureNodePoolError buildPartial() { - com.google.cloud.gkemulticloud.v1.AzureNodePoolError result = new com.google.cloud.gkemulticloud.v1.AzureNodePoolError(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.AzureNodePoolError result = + new com.google.cloud.gkemulticloud.v1.AzureNodePoolError(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -327,38 +357,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureNodePoolError public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AzureNodePoolError) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureNodePoolError)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureNodePoolError) other); } else { super.mergeFrom(other); return this; @@ -366,7 +397,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureNodePoolError other) { - if (other == com.google.cloud.gkemulticloud.v1.AzureNodePoolError.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AzureNodePoolError.getDefaultInstance()) + return this; if (!other.getMessage().isEmpty()) { message_ = other.message_; bitField0_ |= 0x00000001; @@ -398,17 +430,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -418,22 +452,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object message_ = ""; /** + * + * *
      * Human-friendly description of the error.
      * 
* * string message = 1; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -442,20 +479,21 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Human-friendly description of the error.
      * 
* * string message = 1; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -463,28 +501,35 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Human-friendly description of the error.
      * 
* * string message = 1; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Human-friendly description of the error.
      * 
* * string message = 1; + * * @return This builder for chaining. */ public Builder clearMessage() { @@ -494,26 +539,30 @@ public Builder clearMessage() { return this; } /** + * + * *
      * Human-friendly description of the error.
      * 
* * string message = 1; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -523,12 +572,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureNodePoolError) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureNodePoolError) private static final com.google.cloud.gkemulticloud.v1.AzureNodePoolError DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureNodePoolError(); } @@ -537,27 +586,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureNodePoolError getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureNodePoolError parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureNodePoolError parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -572,6 +621,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureNodePoolError getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolErrorOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolErrorOrBuilder.java new file mode 100644 index 000000000000..4919aaa46502 --- /dev/null +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolErrorOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface AzureNodePoolErrorOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureNodePoolError) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Human-friendly description of the error.
+   * 
+ * + * string message = 1; + * + * @return The message. + */ + java.lang.String getMessage(); + /** + * + * + *
+   * Human-friendly description of the error.
+   * 
+ * + * string message = 1; + * + * @return The bytes for message. + */ + com.google.protobuf.ByteString getMessageBytes(); +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolName.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolName.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolName.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolName.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolOrBuilder.java similarity index 70% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolOrBuilder.java index 9addf59d0ad0..59db5530ef45 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureNodePoolOrBuilder extends +public interface AzureNodePoolOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureNodePool) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of this resource.
    *
@@ -19,10 +37,13 @@ public interface AzureNodePoolOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of this resource.
    *
@@ -34,214 +55,294 @@ public interface AzureNodePoolOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this
    * node pool.
    * 
* * string version = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this
    * node pool.
    * 
* * string version = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * Required. The node configuration of the node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the config field is set. */ boolean hasConfig(); /** + * + * *
    * Required. The node configuration of the node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The config. */ com.google.cloud.gkemulticloud.v1.AzureNodeConfig getConfig(); /** + * + * *
    * Required. The node configuration of the node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodeConfig config = 22 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gkemulticloud.v1.AzureNodeConfigOrBuilder getConfigOrBuilder(); /** + * + * *
    * Required. The ARM ID of the subnet where the node pool VMs run. Make sure
    * it's a subnet under the virtual network in the cluster configuration.
    * 
* * string subnet_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The subnetId. */ java.lang.String getSubnetId(); /** + * + * *
    * Required. The ARM ID of the subnet where the node pool VMs run. Make sure
    * it's a subnet under the virtual network in the cluster configuration.
    * 
* * string subnet_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for subnetId. */ - com.google.protobuf.ByteString - getSubnetIdBytes(); + com.google.protobuf.ByteString getSubnetIdBytes(); /** + * + * *
    * Required. Autoscaler configuration for this node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the autoscaling field is set. */ boolean hasAutoscaling(); /** + * + * *
    * Required. Autoscaler configuration for this node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The autoscaling. */ com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling getAutoscaling(); /** + * + * *
    * Required. Autoscaler configuration for this node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePoolAutoscaling autoscaling = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gkemulticloud.v1.AzureNodePoolAutoscalingOrBuilder getAutoscalingOrBuilder(); /** + * + * *
    * Output only. The current state of the node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The current state of the node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.gkemulticloud.v1.AzureNodePool.State getState(); /** + * + * *
    * Output only. A globally unique identifier for the node pool.
    * 
* * string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. A globally unique identifier for the node pool.
    * 
* * string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Output only. If set, there are currently pending changes to the node
    * pool.
    * 
* * bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ boolean getReconciling(); /** + * + * *
    * Output only. The time at which this node pool was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time at which this node pool was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time at which this node pool was created.
    * 
* - * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time at which this node pool was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The time at which this node pool was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The time at which this node pool was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -251,10 +352,13 @@ public interface AzureNodePoolOrBuilder extends
    * 
* * string etag = 12; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * Allows clients to perform consistent read-modify-writes
    * through optimistic concurrency control.
@@ -264,12 +368,14 @@ public interface AzureNodePoolOrBuilder extends
    * 
* * string etag = 12; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Optional. Annotations on the node pool.
    *
@@ -282,10 +388,13 @@ public interface AzureNodePoolOrBuilder extends
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getAnnotationsCount(); /** + * + * *
    * Optional. Annotations on the node pool.
    *
@@ -298,17 +407,16 @@ public interface AzureNodePoolOrBuilder extends
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; - */ - boolean containsAnnotations( - java.lang.String key); - /** - * Use {@link #getAnnotationsMap()} instead. + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ + boolean containsAnnotations(java.lang.String key); + /** Use {@link #getAnnotationsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getAnnotations(); + java.util.Map getAnnotations(); /** + * + * *
    * Optional. Annotations on the node pool.
    *
@@ -321,11 +429,13 @@ boolean containsAnnotations(
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.Map - getAnnotationsMap(); + java.util.Map getAnnotationsMap(); /** + * + * *
    * Optional. Annotations on the node pool.
    *
@@ -338,14 +448,17 @@ boolean containsAnnotations(
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ /* nullable */ -java.lang.String getAnnotationsOrDefault( + java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Optional. Annotations on the node pool.
    *
@@ -358,42 +471,58 @@ java.lang.String getAnnotationsOrDefault(
    * with dashes (-), underscores (_), dots (.), and alphanumerics between.
    * 
* - * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * map<string, string> annotations = 13 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.lang.String getAnnotationsOrThrow( - java.lang.String key); + java.lang.String getAnnotationsOrThrow(java.lang.String key); /** + * + * *
    * Required. The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the maxPodsConstraint field is set. */ boolean hasMaxPodsConstraint(); /** + * + * *
    * Required. The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The maxPodsConstraint. */ com.google.cloud.gkemulticloud.v1.MaxPodsConstraint getMaxPodsConstraint(); /** + * + * *
    * Required. The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.MaxPodsConstraint max_pods_constraint = 21 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder getMaxPodsConstraintOrBuilder(); /** + * + * *
    * Optional. The Azure availability zone of the nodes in this nodepool.
    *
@@ -401,10 +530,13 @@ java.lang.String getAnnotationsOrThrow(
    * 
* * string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The azureAvailabilityZone. */ java.lang.String getAzureAvailabilityZone(); /** + * + * *
    * Optional. The Azure availability zone of the nodes in this nodepool.
    *
@@ -412,79 +544,111 @@ java.lang.String getAnnotationsOrThrow(
    * 
* * string azure_availability_zone = 23 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for azureAvailabilityZone. */ - com.google.protobuf.ByteString - getAzureAvailabilityZoneBytes(); + com.google.protobuf.ByteString getAzureAvailabilityZoneBytes(); /** + * + * *
    * Output only. A set of errors found in the node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getErrorsList(); + java.util.List getErrorsList(); /** + * + * *
    * Output only. A set of errors found in the node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.gkemulticloud.v1.AzureNodePoolError getErrors(int index); /** + * + * *
    * Output only. A set of errors found in the node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getErrorsCount(); /** + * + * *
    * Output only. A set of errors found in the node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getErrorsOrBuilderList(); /** + * + * *
    * Output only. A set of errors found in the node pool.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.gkemulticloud.v1.AzureNodePoolError errors = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.gkemulticloud.v1.AzureNodePoolErrorOrBuilder getErrorsOrBuilder( - int index); + com.google.cloud.gkemulticloud.v1.AzureNodePoolErrorOrBuilder getErrorsOrBuilder(int index); /** + * + * *
    * Optional. The Management configuration for this node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the management field is set. */ boolean hasManagement(); /** + * + * *
    * Optional. The Management configuration for this node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The management. */ com.google.cloud.gkemulticloud.v1.AzureNodeManagement getManagement(); /** + * + * *
    * Optional. The Management configuration for this node pool.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AzureNodeManagement management = 30 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.AzureNodeManagementOrBuilder getManagementOrBuilder(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureOpenIdConfig.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureOpenIdConfig.java similarity index 72% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureOpenIdConfig.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureOpenIdConfig.java index a69ea5c4b819..a5f331adbc53 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureOpenIdConfig.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureOpenIdConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * AzureOpenIdConfig is an OIDC discovery document for the cluster.
  * See the OpenID Connect Discovery 1.0 specification for details.
@@ -11,59 +28,60 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureOpenIdConfig}
  */
-public final class AzureOpenIdConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AzureOpenIdConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureOpenIdConfig)
     AzureOpenIdConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AzureOpenIdConfig.newBuilder() to construct.
   private AzureOpenIdConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AzureOpenIdConfig() {
     issuer_ = "";
     jwksUri_ = "";
-    responseTypesSupported_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
-    subjectTypesSupported_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
-    idTokenSigningAlgValuesSupported_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
-    claimsSupported_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
-    grantTypes_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    responseTypesSupported_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    subjectTypesSupported_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    idTokenSigningAlgValuesSupported_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    claimsSupported_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    grantTypes_ = com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AzureOpenIdConfig();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureOpenIdConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AzureOpenIdConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureOpenIdConfig_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AzureOpenIdConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig.class, com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig.Builder.class);
+            com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig.class,
+            com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig.Builder.class);
   }
 
   public static final int ISSUER_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object issuer_ = "";
   /**
+   *
+   *
    * 
    * OIDC Issuer.
    * 
* * string issuer = 1; + * * @return The issuer. */ @java.lang.Override @@ -72,29 +90,29 @@ public java.lang.String getIssuer() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issuer_ = s; return s; } } /** + * + * *
    * OIDC Issuer.
    * 
* * string issuer = 1; + * * @return The bytes for issuer. */ @java.lang.Override - public com.google.protobuf.ByteString - getIssuerBytes() { + public com.google.protobuf.ByteString getIssuerBytes() { java.lang.Object ref = issuer_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); issuer_ = b; return b; } else { @@ -103,14 +121,18 @@ public java.lang.String getIssuer() { } public static final int JWKS_URI_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object jwksUri_ = ""; /** + * + * *
    * JSON Web Key uri.
    * 
* * string jwks_uri = 2; + * * @return The jwksUri. */ @java.lang.Override @@ -119,29 +141,29 @@ public java.lang.String getJwksUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jwksUri_ = s; return s; } } /** + * + * *
    * JSON Web Key uri.
    * 
* * string jwks_uri = 2; + * * @return The bytes for jwksUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getJwksUriBytes() { + public com.google.protobuf.ByteString getJwksUriBytes() { java.lang.Object ref = jwksUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jwksUri_ = b; return b; } else { @@ -150,38 +172,47 @@ public java.lang.String getJwksUri() { } public static final int RESPONSE_TYPES_SUPPORTED_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList responseTypesSupported_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; + * * @return A list containing the responseTypesSupported. */ - public com.google.protobuf.ProtocolStringList - getResponseTypesSupportedList() { + public com.google.protobuf.ProtocolStringList getResponseTypesSupportedList() { return responseTypesSupported_; } /** + * + * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; + * * @return The count of responseTypesSupported. */ public int getResponseTypesSupportedCount() { return responseTypesSupported_.size(); } /** + * + * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; + * * @param index The index of the element to return. * @return The responseTypesSupported at the given index. */ @@ -189,52 +220,63 @@ public java.lang.String getResponseTypesSupported(int index) { return responseTypesSupported_.get(index); } /** + * + * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; + * * @param index The index of the value to return. * @return The bytes of the responseTypesSupported at the given index. */ - public com.google.protobuf.ByteString - getResponseTypesSupportedBytes(int index) { + public com.google.protobuf.ByteString getResponseTypesSupportedBytes(int index) { return responseTypesSupported_.getByteString(index); } public static final int SUBJECT_TYPES_SUPPORTED_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList subjectTypesSupported_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; + * * @return A list containing the subjectTypesSupported. */ - public com.google.protobuf.ProtocolStringList - getSubjectTypesSupportedList() { + public com.google.protobuf.ProtocolStringList getSubjectTypesSupportedList() { return subjectTypesSupported_; } /** + * + * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; + * * @return The count of subjectTypesSupported. */ public int getSubjectTypesSupportedCount() { return subjectTypesSupported_.size(); } /** + * + * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; + * * @param index The index of the element to return. * @return The subjectTypesSupported at the given index. */ @@ -242,52 +284,63 @@ public java.lang.String getSubjectTypesSupported(int index) { return subjectTypesSupported_.get(index); } /** + * + * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; + * * @param index The index of the value to return. * @return The bytes of the subjectTypesSupported at the given index. */ - public com.google.protobuf.ByteString - getSubjectTypesSupportedBytes(int index) { + public com.google.protobuf.ByteString getSubjectTypesSupportedBytes(int index) { return subjectTypesSupported_.getByteString(index); } public static final int ID_TOKEN_SIGNING_ALG_VALUES_SUPPORTED_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList idTokenSigningAlgValuesSupported_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @return A list containing the idTokenSigningAlgValuesSupported. */ - public com.google.protobuf.ProtocolStringList - getIdTokenSigningAlgValuesSupportedList() { + public com.google.protobuf.ProtocolStringList getIdTokenSigningAlgValuesSupportedList() { return idTokenSigningAlgValuesSupported_; } /** + * + * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @return The count of idTokenSigningAlgValuesSupported. */ public int getIdTokenSigningAlgValuesSupportedCount() { return idTokenSigningAlgValuesSupported_.size(); } /** + * + * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param index The index of the element to return. * @return The idTokenSigningAlgValuesSupported at the given index. */ @@ -295,52 +348,63 @@ public java.lang.String getIdTokenSigningAlgValuesSupported(int index) { return idTokenSigningAlgValuesSupported_.get(index); } /** + * + * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param index The index of the value to return. * @return The bytes of the idTokenSigningAlgValuesSupported at the given index. */ - public com.google.protobuf.ByteString - getIdTokenSigningAlgValuesSupportedBytes(int index) { + public com.google.protobuf.ByteString getIdTokenSigningAlgValuesSupportedBytes(int index) { return idTokenSigningAlgValuesSupported_.getByteString(index); } public static final int CLAIMS_SUPPORTED_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList claimsSupported_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; + * * @return A list containing the claimsSupported. */ - public com.google.protobuf.ProtocolStringList - getClaimsSupportedList() { + public com.google.protobuf.ProtocolStringList getClaimsSupportedList() { return claimsSupported_; } /** + * + * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; + * * @return The count of claimsSupported. */ public int getClaimsSupportedCount() { return claimsSupported_.size(); } /** + * + * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; + * * @param index The index of the element to return. * @return The claimsSupported at the given index. */ @@ -348,52 +412,63 @@ public java.lang.String getClaimsSupported(int index) { return claimsSupported_.get(index); } /** + * + * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; + * * @param index The index of the value to return. * @return The bytes of the claimsSupported at the given index. */ - public com.google.protobuf.ByteString - getClaimsSupportedBytes(int index) { + public com.google.protobuf.ByteString getClaimsSupportedBytes(int index) { return claimsSupported_.getByteString(index); } public static final int GRANT_TYPES_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList grantTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; + * * @return A list containing the grantTypes. */ - public com.google.protobuf.ProtocolStringList - getGrantTypesList() { + public com.google.protobuf.ProtocolStringList getGrantTypesList() { return grantTypes_; } /** + * + * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; + * * @return The count of grantTypes. */ public int getGrantTypesCount() { return grantTypes_.size(); } /** + * + * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; + * * @param index The index of the element to return. * @return The grantTypes at the given index. */ @@ -401,20 +476,23 @@ public java.lang.String getGrantTypes(int index) { return grantTypes_.get(index); } /** + * + * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; + * * @param index The index of the value to return. * @return The bytes of the grantTypes at the given index. */ - public com.google.protobuf.ByteString - getGrantTypesBytes(int index) { + public com.google.protobuf.ByteString getGrantTypesBytes(int index) { return grantTypes_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -426,8 +504,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issuer_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issuer_); } @@ -435,13 +512,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 2, jwksUri_); } for (int i = 0; i < responseTypesSupported_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, responseTypesSupported_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 3, responseTypesSupported_.getRaw(i)); } for (int i = 0; i < subjectTypesSupported_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, subjectTypesSupported_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 4, subjectTypesSupported_.getRaw(i)); } for (int i = 0; i < idTokenSigningAlgValuesSupported_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, idTokenSigningAlgValuesSupported_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 5, idTokenSigningAlgValuesSupported_.getRaw(i)); } for (int i = 0; i < claimsSupported_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, claimsSupported_.getRaw(i)); @@ -512,27 +592,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig other = (com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig) obj; + com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig other = + (com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig) obj; - if (!getIssuer() - .equals(other.getIssuer())) return false; - if (!getJwksUri() - .equals(other.getJwksUri())) return false; - if (!getResponseTypesSupportedList() - .equals(other.getResponseTypesSupportedList())) return false; - if (!getSubjectTypesSupportedList() - .equals(other.getSubjectTypesSupportedList())) return false; + if (!getIssuer().equals(other.getIssuer())) return false; + if (!getJwksUri().equals(other.getJwksUri())) return false; + if (!getResponseTypesSupportedList().equals(other.getResponseTypesSupportedList())) + return false; + if (!getSubjectTypesSupportedList().equals(other.getSubjectTypesSupportedList())) return false; if (!getIdTokenSigningAlgValuesSupportedList() .equals(other.getIdTokenSigningAlgValuesSupportedList())) return false; - if (!getClaimsSupportedList() - .equals(other.getClaimsSupportedList())) return false; - if (!getGrantTypesList() - .equals(other.getGrantTypesList())) return false; + if (!getClaimsSupportedList().equals(other.getClaimsSupportedList())) return false; + if (!getGrantTypesList().equals(other.getGrantTypesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -574,98 +650,103 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * AzureOpenIdConfig is an OIDC discovery document for the cluster.
    * See the OpenID Connect Discovery 1.0 specification for details.
@@ -673,56 +754,50 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureOpenIdConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureOpenIdConfig)
       com.google.cloud.gkemulticloud.v1.AzureOpenIdConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureOpenIdConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AzureOpenIdConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureOpenIdConfig_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AzureOpenIdConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig.class, com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig.Builder.class);
+              com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig.class,
+              com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
       issuer_ = "";
       jwksUri_ = "";
-      responseTypesSupported_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
-      subjectTypesSupported_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
-      idTokenSigningAlgValuesSupported_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
-      claimsSupported_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
-      grantTypes_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      responseTypesSupported_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      subjectTypesSupported_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      idTokenSigningAlgValuesSupported_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      claimsSupported_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      grantTypes_ = com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureOpenIdConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AzureOpenIdConfig_descriptor;
     }
 
     @java.lang.Override
@@ -741,8 +816,11 @@ public com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig buildPartial() {
-      com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig result = new com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig result =
+          new com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -781,38 +859,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig r
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig)other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -820,7 +899,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig other) {
-      if (other == com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig.getDefaultInstance()) return this;
+      if (other == com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig.getDefaultInstance())
+        return this;
       if (!other.getIssuer().isEmpty()) {
         issuer_ = other.issuer_;
         bitField0_ |= 0x00000001;
@@ -907,52 +987,60 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              issuer_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              jwksUri_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureResponseTypesSupportedIsMutable();
-              responseTypesSupported_.add(s);
-              break;
-            } // case 26
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureSubjectTypesSupportedIsMutable();
-              subjectTypesSupported_.add(s);
-              break;
-            } // case 34
-            case 42: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureIdTokenSigningAlgValuesSupportedIsMutable();
-              idTokenSigningAlgValuesSupported_.add(s);
-              break;
-            } // case 42
-            case 50: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureClaimsSupportedIsMutable();
-              claimsSupported_.add(s);
-              break;
-            } // case 50
-            case 58: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureGrantTypesIsMutable();
-              grantTypes_.add(s);
-              break;
-            } // case 58
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                issuer_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                jwksUri_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureResponseTypesSupportedIsMutable();
+                responseTypesSupported_.add(s);
+                break;
+              } // case 26
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureSubjectTypesSupportedIsMutable();
+                subjectTypesSupported_.add(s);
+                break;
+              } // case 34
+            case 42:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureIdTokenSigningAlgValuesSupportedIsMutable();
+                idTokenSigningAlgValuesSupported_.add(s);
+                break;
+              } // case 42
+            case 50:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureClaimsSupportedIsMutable();
+                claimsSupported_.add(s);
+                break;
+              } // case 50
+            case 58:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureGrantTypesIsMutable();
+                grantTypes_.add(s);
+                break;
+              } // case 58
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -962,22 +1050,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object issuer_ = "";
     /**
+     *
+     *
      * 
      * OIDC Issuer.
      * 
* * string issuer = 1; + * * @return The issuer. */ public java.lang.String getIssuer() { java.lang.Object ref = issuer_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issuer_ = s; return s; @@ -986,20 +1077,21 @@ public java.lang.String getIssuer() { } } /** + * + * *
      * OIDC Issuer.
      * 
* * string issuer = 1; + * * @return The bytes for issuer. */ - public com.google.protobuf.ByteString - getIssuerBytes() { + public com.google.protobuf.ByteString getIssuerBytes() { java.lang.Object ref = issuer_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); issuer_ = b; return b; } else { @@ -1007,28 +1099,35 @@ public java.lang.String getIssuer() { } } /** + * + * *
      * OIDC Issuer.
      * 
* * string issuer = 1; + * * @param value The issuer to set. * @return This builder for chaining. */ - public Builder setIssuer( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIssuer(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } issuer_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * OIDC Issuer.
      * 
* * string issuer = 1; + * * @return This builder for chaining. */ public Builder clearIssuer() { @@ -1038,17 +1137,21 @@ public Builder clearIssuer() { return this; } /** + * + * *
      * OIDC Issuer.
      * 
* * string issuer = 1; + * * @param value The bytes for issuer to set. * @return This builder for chaining. */ - public Builder setIssuerBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIssuerBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); issuer_ = value; bitField0_ |= 0x00000001; @@ -1058,18 +1161,20 @@ public Builder setIssuerBytes( private java.lang.Object jwksUri_ = ""; /** + * + * *
      * JSON Web Key uri.
      * 
* * string jwks_uri = 2; + * * @return The jwksUri. */ public java.lang.String getJwksUri() { java.lang.Object ref = jwksUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jwksUri_ = s; return s; @@ -1078,20 +1183,21 @@ public java.lang.String getJwksUri() { } } /** + * + * *
      * JSON Web Key uri.
      * 
* * string jwks_uri = 2; + * * @return The bytes for jwksUri. */ - public com.google.protobuf.ByteString - getJwksUriBytes() { + public com.google.protobuf.ByteString getJwksUriBytes() { java.lang.Object ref = jwksUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jwksUri_ = b; return b; } else { @@ -1099,28 +1205,35 @@ public java.lang.String getJwksUri() { } } /** + * + * *
      * JSON Web Key uri.
      * 
* * string jwks_uri = 2; + * * @param value The jwksUri to set. * @return This builder for chaining. */ - public Builder setJwksUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJwksUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } jwksUri_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * JSON Web Key uri.
      * 
* * string jwks_uri = 2; + * * @return This builder for chaining. */ public Builder clearJwksUri() { @@ -1130,17 +1243,21 @@ public Builder clearJwksUri() { return this; } /** + * + * *
      * JSON Web Key uri.
      * 
* * string jwks_uri = 2; + * * @param value The bytes for jwksUri to set. * @return This builder for chaining. */ - public Builder setJwksUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setJwksUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); jwksUri_ = value; bitField0_ |= 0x00000002; @@ -1150,42 +1267,52 @@ public Builder setJwksUriBytes( private com.google.protobuf.LazyStringArrayList responseTypesSupported_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureResponseTypesSupportedIsMutable() { if (!responseTypesSupported_.isModifiable()) { - responseTypesSupported_ = new com.google.protobuf.LazyStringArrayList(responseTypesSupported_); + responseTypesSupported_ = + new com.google.protobuf.LazyStringArrayList(responseTypesSupported_); } bitField0_ |= 0x00000004; } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @return A list containing the responseTypesSupported. */ - public com.google.protobuf.ProtocolStringList - getResponseTypesSupportedList() { + public com.google.protobuf.ProtocolStringList getResponseTypesSupportedList() { responseTypesSupported_.makeImmutable(); return responseTypesSupported_; } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @return The count of responseTypesSupported. */ public int getResponseTypesSupportedCount() { return responseTypesSupported_.size(); } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @param index The index of the element to return. * @return The responseTypesSupported at the given index. */ @@ -1193,31 +1320,37 @@ public java.lang.String getResponseTypesSupported(int index) { return responseTypesSupported_.get(index); } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @param index The index of the value to return. * @return The bytes of the responseTypesSupported at the given index. */ - public com.google.protobuf.ByteString - getResponseTypesSupportedBytes(int index) { + public com.google.protobuf.ByteString getResponseTypesSupportedBytes(int index) { return responseTypesSupported_.getByteString(index); } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @param index The index to set the value at. * @param value The responseTypesSupported to set. * @return This builder for chaining. */ - public Builder setResponseTypesSupported( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResponseTypesSupported(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureResponseTypesSupportedIsMutable(); responseTypesSupported_.set(index, value); bitField0_ |= 0x00000004; @@ -1225,17 +1358,21 @@ public Builder setResponseTypesSupported( return this; } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @param value The responseTypesSupported to add. * @return This builder for chaining. */ - public Builder addResponseTypesSupported( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addResponseTypesSupported(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureResponseTypesSupportedIsMutable(); responseTypesSupported_.add(value); bitField0_ |= 0x00000004; @@ -1243,50 +1380,58 @@ public Builder addResponseTypesSupported( return this; } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @param values The responseTypesSupported to add. * @return This builder for chaining. */ - public Builder addAllResponseTypesSupported( - java.lang.Iterable values) { + public Builder addAllResponseTypesSupported(java.lang.Iterable values) { ensureResponseTypesSupportedIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, responseTypesSupported_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, responseTypesSupported_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @return This builder for chaining. */ public Builder clearResponseTypesSupported() { - responseTypesSupported_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + responseTypesSupported_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @param value The bytes of the responseTypesSupported to add. * @return This builder for chaining. */ - public Builder addResponseTypesSupportedBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addResponseTypesSupportedBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureResponseTypesSupportedIsMutable(); responseTypesSupported_.add(value); @@ -1297,42 +1442,52 @@ public Builder addResponseTypesSupportedBytes( private com.google.protobuf.LazyStringArrayList subjectTypesSupported_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureSubjectTypesSupportedIsMutable() { if (!subjectTypesSupported_.isModifiable()) { - subjectTypesSupported_ = new com.google.protobuf.LazyStringArrayList(subjectTypesSupported_); + subjectTypesSupported_ = + new com.google.protobuf.LazyStringArrayList(subjectTypesSupported_); } bitField0_ |= 0x00000008; } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @return A list containing the subjectTypesSupported. */ - public com.google.protobuf.ProtocolStringList - getSubjectTypesSupportedList() { + public com.google.protobuf.ProtocolStringList getSubjectTypesSupportedList() { subjectTypesSupported_.makeImmutable(); return subjectTypesSupported_; } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @return The count of subjectTypesSupported. */ public int getSubjectTypesSupportedCount() { return subjectTypesSupported_.size(); } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @param index The index of the element to return. * @return The subjectTypesSupported at the given index. */ @@ -1340,31 +1495,37 @@ public java.lang.String getSubjectTypesSupported(int index) { return subjectTypesSupported_.get(index); } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @param index The index of the value to return. * @return The bytes of the subjectTypesSupported at the given index. */ - public com.google.protobuf.ByteString - getSubjectTypesSupportedBytes(int index) { + public com.google.protobuf.ByteString getSubjectTypesSupportedBytes(int index) { return subjectTypesSupported_.getByteString(index); } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @param index The index to set the value at. * @param value The subjectTypesSupported to set. * @return This builder for chaining. */ - public Builder setSubjectTypesSupported( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSubjectTypesSupported(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSubjectTypesSupportedIsMutable(); subjectTypesSupported_.set(index, value); bitField0_ |= 0x00000008; @@ -1372,17 +1533,21 @@ public Builder setSubjectTypesSupported( return this; } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @param value The subjectTypesSupported to add. * @return This builder for chaining. */ - public Builder addSubjectTypesSupported( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSubjectTypesSupported(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSubjectTypesSupportedIsMutable(); subjectTypesSupported_.add(value); bitField0_ |= 0x00000008; @@ -1390,50 +1555,58 @@ public Builder addSubjectTypesSupported( return this; } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @param values The subjectTypesSupported to add. * @return This builder for chaining. */ - public Builder addAllSubjectTypesSupported( - java.lang.Iterable values) { + public Builder addAllSubjectTypesSupported(java.lang.Iterable values) { ensureSubjectTypesSupportedIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, subjectTypesSupported_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, subjectTypesSupported_); bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @return This builder for chaining. */ public Builder clearSubjectTypesSupported() { - subjectTypesSupported_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008);; + subjectTypesSupported_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + ; onChanged(); return this; } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @param value The bytes of the subjectTypesSupported to add. * @return This builder for chaining. */ - public Builder addSubjectTypesSupportedBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSubjectTypesSupportedBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureSubjectTypesSupportedIsMutable(); subjectTypesSupported_.add(value); @@ -1444,42 +1617,52 @@ public Builder addSubjectTypesSupportedBytes( private com.google.protobuf.LazyStringArrayList idTokenSigningAlgValuesSupported_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureIdTokenSigningAlgValuesSupportedIsMutable() { if (!idTokenSigningAlgValuesSupported_.isModifiable()) { - idTokenSigningAlgValuesSupported_ = new com.google.protobuf.LazyStringArrayList(idTokenSigningAlgValuesSupported_); + idTokenSigningAlgValuesSupported_ = + new com.google.protobuf.LazyStringArrayList(idTokenSigningAlgValuesSupported_); } bitField0_ |= 0x00000010; } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @return A list containing the idTokenSigningAlgValuesSupported. */ - public com.google.protobuf.ProtocolStringList - getIdTokenSigningAlgValuesSupportedList() { + public com.google.protobuf.ProtocolStringList getIdTokenSigningAlgValuesSupportedList() { idTokenSigningAlgValuesSupported_.makeImmutable(); return idTokenSigningAlgValuesSupported_; } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @return The count of idTokenSigningAlgValuesSupported. */ public int getIdTokenSigningAlgValuesSupportedCount() { return idTokenSigningAlgValuesSupported_.size(); } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param index The index of the element to return. * @return The idTokenSigningAlgValuesSupported at the given index. */ @@ -1487,31 +1670,37 @@ public java.lang.String getIdTokenSigningAlgValuesSupported(int index) { return idTokenSigningAlgValuesSupported_.get(index); } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param index The index of the value to return. * @return The bytes of the idTokenSigningAlgValuesSupported at the given index. */ - public com.google.protobuf.ByteString - getIdTokenSigningAlgValuesSupportedBytes(int index) { + public com.google.protobuf.ByteString getIdTokenSigningAlgValuesSupportedBytes(int index) { return idTokenSigningAlgValuesSupported_.getByteString(index); } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param index The index to set the value at. * @param value The idTokenSigningAlgValuesSupported to set. * @return This builder for chaining. */ - public Builder setIdTokenSigningAlgValuesSupported( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIdTokenSigningAlgValuesSupported(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureIdTokenSigningAlgValuesSupportedIsMutable(); idTokenSigningAlgValuesSupported_.set(index, value); bitField0_ |= 0x00000010; @@ -1519,17 +1708,21 @@ public Builder setIdTokenSigningAlgValuesSupported( return this; } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param value The idTokenSigningAlgValuesSupported to add. * @return This builder for chaining. */ - public Builder addIdTokenSigningAlgValuesSupported( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addIdTokenSigningAlgValuesSupported(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureIdTokenSigningAlgValuesSupportedIsMutable(); idTokenSigningAlgValuesSupported_.add(value); bitField0_ |= 0x00000010; @@ -1537,11 +1730,14 @@ public Builder addIdTokenSigningAlgValuesSupported( return this; } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param values The idTokenSigningAlgValuesSupported to add. * @return This builder for chaining. */ @@ -1555,32 +1751,39 @@ public Builder addAllIdTokenSigningAlgValuesSupported( return this; } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @return This builder for chaining. */ public Builder clearIdTokenSigningAlgValuesSupported() { - idTokenSigningAlgValuesSupported_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010);; + idTokenSigningAlgValuesSupported_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + ; onChanged(); return this; } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param value The bytes of the idTokenSigningAlgValuesSupported to add. * @return This builder for chaining. */ - public Builder addIdTokenSigningAlgValuesSupportedBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addIdTokenSigningAlgValuesSupportedBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureIdTokenSigningAlgValuesSupportedIsMutable(); idTokenSigningAlgValuesSupported_.add(value); @@ -1591,6 +1794,7 @@ public Builder addIdTokenSigningAlgValuesSupportedBytes( private com.google.protobuf.LazyStringArrayList claimsSupported_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureClaimsSupportedIsMutable() { if (!claimsSupported_.isModifiable()) { claimsSupported_ = new com.google.protobuf.LazyStringArrayList(claimsSupported_); @@ -1598,35 +1802,43 @@ private void ensureClaimsSupportedIsMutable() { bitField0_ |= 0x00000020; } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @return A list containing the claimsSupported. */ - public com.google.protobuf.ProtocolStringList - getClaimsSupportedList() { + public com.google.protobuf.ProtocolStringList getClaimsSupportedList() { claimsSupported_.makeImmutable(); return claimsSupported_; } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @return The count of claimsSupported. */ public int getClaimsSupportedCount() { return claimsSupported_.size(); } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @param index The index of the element to return. * @return The claimsSupported at the given index. */ @@ -1634,31 +1846,37 @@ public java.lang.String getClaimsSupported(int index) { return claimsSupported_.get(index); } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @param index The index of the value to return. * @return The bytes of the claimsSupported at the given index. */ - public com.google.protobuf.ByteString - getClaimsSupportedBytes(int index) { + public com.google.protobuf.ByteString getClaimsSupportedBytes(int index) { return claimsSupported_.getByteString(index); } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @param index The index to set the value at. * @param value The claimsSupported to set. * @return This builder for chaining. */ - public Builder setClaimsSupported( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClaimsSupported(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureClaimsSupportedIsMutable(); claimsSupported_.set(index, value); bitField0_ |= 0x00000020; @@ -1666,17 +1884,21 @@ public Builder setClaimsSupported( return this; } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @param value The claimsSupported to add. * @return This builder for chaining. */ - public Builder addClaimsSupported( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addClaimsSupported(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureClaimsSupportedIsMutable(); claimsSupported_.add(value); bitField0_ |= 0x00000020; @@ -1684,50 +1906,58 @@ public Builder addClaimsSupported( return this; } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @param values The claimsSupported to add. * @return This builder for chaining. */ - public Builder addAllClaimsSupported( - java.lang.Iterable values) { + public Builder addAllClaimsSupported(java.lang.Iterable values) { ensureClaimsSupportedIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, claimsSupported_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, claimsSupported_); bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @return This builder for chaining. */ public Builder clearClaimsSupported() { - claimsSupported_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000020);; + claimsSupported_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000020); + ; onChanged(); return this; } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @param value The bytes of the claimsSupported to add. * @return This builder for chaining. */ - public Builder addClaimsSupportedBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addClaimsSupportedBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureClaimsSupportedIsMutable(); claimsSupported_.add(value); @@ -1738,6 +1968,7 @@ public Builder addClaimsSupportedBytes( private com.google.protobuf.LazyStringArrayList grantTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureGrantTypesIsMutable() { if (!grantTypes_.isModifiable()) { grantTypes_ = new com.google.protobuf.LazyStringArrayList(grantTypes_); @@ -1745,35 +1976,43 @@ private void ensureGrantTypesIsMutable() { bitField0_ |= 0x00000040; } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @return A list containing the grantTypes. */ - public com.google.protobuf.ProtocolStringList - getGrantTypesList() { + public com.google.protobuf.ProtocolStringList getGrantTypesList() { grantTypes_.makeImmutable(); return grantTypes_; } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @return The count of grantTypes. */ public int getGrantTypesCount() { return grantTypes_.size(); } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @param index The index of the element to return. * @return The grantTypes at the given index. */ @@ -1781,31 +2020,37 @@ public java.lang.String getGrantTypes(int index) { return grantTypes_.get(index); } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @param index The index of the value to return. * @return The bytes of the grantTypes at the given index. */ - public com.google.protobuf.ByteString - getGrantTypesBytes(int index) { + public com.google.protobuf.ByteString getGrantTypesBytes(int index) { return grantTypes_.getByteString(index); } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @param index The index to set the value at. * @param value The grantTypes to set. * @return This builder for chaining. */ - public Builder setGrantTypes( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGrantTypes(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureGrantTypesIsMutable(); grantTypes_.set(index, value); bitField0_ |= 0x00000040; @@ -1813,17 +2058,21 @@ public Builder setGrantTypes( return this; } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @param value The grantTypes to add. * @return This builder for chaining. */ - public Builder addGrantTypes( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addGrantTypes(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureGrantTypesIsMutable(); grantTypes_.add(value); bitField0_ |= 0x00000040; @@ -1831,50 +2080,58 @@ public Builder addGrantTypes( return this; } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @param values The grantTypes to add. * @return This builder for chaining. */ - public Builder addAllGrantTypes( - java.lang.Iterable values) { + public Builder addAllGrantTypes(java.lang.Iterable values) { ensureGrantTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, grantTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, grantTypes_); bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @return This builder for chaining. */ public Builder clearGrantTypes() { - grantTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000040);; + grantTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000040); + ; onChanged(); return this; } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @param value The bytes of the grantTypes to add. * @return This builder for chaining. */ - public Builder addGrantTypesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addGrantTypesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureGrantTypesIsMutable(); grantTypes_.add(value); @@ -1882,9 +2139,9 @@ public Builder addGrantTypesBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1894,12 +2151,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureOpenIdConfig) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureOpenIdConfig) private static final com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig(); } @@ -1908,27 +2165,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureOpenIdConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureOpenIdConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1943,6 +2200,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureOpenIdConfigOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureOpenIdConfigOrBuilder.java similarity index 75% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureOpenIdConfigOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureOpenIdConfigOrBuilder.java index 5855d91ffa90..1eae706ee844 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureOpenIdConfigOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureOpenIdConfigOrBuilder.java @@ -1,254 +1,330 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureOpenIdConfigOrBuilder extends +public interface AzureOpenIdConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureOpenIdConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * OIDC Issuer.
    * 
* * string issuer = 1; + * * @return The issuer. */ java.lang.String getIssuer(); /** + * + * *
    * OIDC Issuer.
    * 
* * string issuer = 1; + * * @return The bytes for issuer. */ - com.google.protobuf.ByteString - getIssuerBytes(); + com.google.protobuf.ByteString getIssuerBytes(); /** + * + * *
    * JSON Web Key uri.
    * 
* * string jwks_uri = 2; + * * @return The jwksUri. */ java.lang.String getJwksUri(); /** + * + * *
    * JSON Web Key uri.
    * 
* * string jwks_uri = 2; + * * @return The bytes for jwksUri. */ - com.google.protobuf.ByteString - getJwksUriBytes(); + com.google.protobuf.ByteString getJwksUriBytes(); /** + * + * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; + * * @return A list containing the responseTypesSupported. */ - java.util.List - getResponseTypesSupportedList(); + java.util.List getResponseTypesSupportedList(); /** + * + * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; + * * @return The count of responseTypesSupported. */ int getResponseTypesSupportedCount(); /** + * + * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; + * * @param index The index of the element to return. * @return The responseTypesSupported at the given index. */ java.lang.String getResponseTypesSupported(int index); /** + * + * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; + * * @param index The index of the value to return. * @return The bytes of the responseTypesSupported at the given index. */ - com.google.protobuf.ByteString - getResponseTypesSupportedBytes(int index); + com.google.protobuf.ByteString getResponseTypesSupportedBytes(int index); /** + * + * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; + * * @return A list containing the subjectTypesSupported. */ - java.util.List - getSubjectTypesSupportedList(); + java.util.List getSubjectTypesSupportedList(); /** + * + * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; + * * @return The count of subjectTypesSupported. */ int getSubjectTypesSupportedCount(); /** + * + * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; + * * @param index The index of the element to return. * @return The subjectTypesSupported at the given index. */ java.lang.String getSubjectTypesSupported(int index); /** + * + * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; + * * @param index The index of the value to return. * @return The bytes of the subjectTypesSupported at the given index. */ - com.google.protobuf.ByteString - getSubjectTypesSupportedBytes(int index); + com.google.protobuf.ByteString getSubjectTypesSupportedBytes(int index); /** + * + * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @return A list containing the idTokenSigningAlgValuesSupported. */ - java.util.List - getIdTokenSigningAlgValuesSupportedList(); + java.util.List getIdTokenSigningAlgValuesSupportedList(); /** + * + * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @return The count of idTokenSigningAlgValuesSupported. */ int getIdTokenSigningAlgValuesSupportedCount(); /** + * + * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param index The index of the element to return. * @return The idTokenSigningAlgValuesSupported at the given index. */ java.lang.String getIdTokenSigningAlgValuesSupported(int index); /** + * + * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param index The index of the value to return. * @return The bytes of the idTokenSigningAlgValuesSupported at the given index. */ - com.google.protobuf.ByteString - getIdTokenSigningAlgValuesSupportedBytes(int index); + com.google.protobuf.ByteString getIdTokenSigningAlgValuesSupportedBytes(int index); /** + * + * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; + * * @return A list containing the claimsSupported. */ - java.util.List - getClaimsSupportedList(); + java.util.List getClaimsSupportedList(); /** + * + * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; + * * @return The count of claimsSupported. */ int getClaimsSupportedCount(); /** + * + * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; + * * @param index The index of the element to return. * @return The claimsSupported at the given index. */ java.lang.String getClaimsSupported(int index); /** + * + * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; + * * @param index The index of the value to return. * @return The bytes of the claimsSupported at the given index. */ - com.google.protobuf.ByteString - getClaimsSupportedBytes(int index); + com.google.protobuf.ByteString getClaimsSupportedBytes(int index); /** + * + * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; + * * @return A list containing the grantTypes. */ - java.util.List - getGrantTypesList(); + java.util.List getGrantTypesList(); /** + * + * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; + * * @return The count of grantTypes. */ int getGrantTypesCount(); /** + * + * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; + * * @param index The index of the element to return. * @return The grantTypes at the given index. */ java.lang.String getGrantTypes(int index); /** + * + * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; + * * @param index The index of the value to return. * @return The bytes of the grantTypes at the given index. */ - com.google.protobuf.ByteString - getGrantTypesBytes(int index); + com.google.protobuf.ByteString getGrantTypesBytes(int index); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfig.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfig.java similarity index 72% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfig.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfig.java index 750961fe0e87..00e71372a1e0 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfig.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfig.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Details of a proxy config stored in Azure Key Vault.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureProxyConfig} */ -public final class AzureProxyConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AzureProxyConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureProxyConfig) AzureProxyConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AzureProxyConfig.newBuilder() to construct. private AzureProxyConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AzureProxyConfig() { resourceGroupId_ = ""; secretId_ = ""; @@ -26,28 +44,32 @@ private AzureProxyConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AzureProxyConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureProxyConfig.class, com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureProxyConfig.class, + com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder.class); } public static final int RESOURCE_GROUP_ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object resourceGroupId_ = ""; /** + * + * *
    * The ARM ID the of the resource group containing proxy keyvault.
    *
@@ -56,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * string resource_group_id = 1; + * * @return The resourceGroupId. */ @java.lang.Override @@ -64,14 +87,15 @@ public java.lang.String getResourceGroupId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceGroupId_ = s; return s; } } /** + * + * *
    * The ARM ID the of the resource group containing proxy keyvault.
    *
@@ -80,16 +104,15 @@ public java.lang.String getResourceGroupId() {
    * 
* * string resource_group_id = 1; + * * @return The bytes for resourceGroupId. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceGroupIdBytes() { + public com.google.protobuf.ByteString getResourceGroupIdBytes() { java.lang.Object ref = resourceGroupId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceGroupId_ = b; return b; } else { @@ -98,9 +121,12 @@ public java.lang.String getResourceGroupId() { } public static final int SECRET_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object secretId_ = ""; /** + * + * *
    * The URL the of the proxy setting secret with its version.
    *
@@ -113,6 +139,7 @@ public java.lang.String getResourceGroupId() {
    * 
* * string secret_id = 2; + * * @return The secretId. */ @java.lang.Override @@ -121,14 +148,15 @@ public java.lang.String getSecretId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); secretId_ = s; return s; } } /** + * + * *
    * The URL the of the proxy setting secret with its version.
    *
@@ -141,16 +169,15 @@ public java.lang.String getSecretId() {
    * 
* * string secret_id = 2; + * * @return The bytes for secretId. */ @java.lang.Override - public com.google.protobuf.ByteString - getSecretIdBytes() { + public com.google.protobuf.ByteString getSecretIdBytes() { java.lang.Object ref = secretId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); secretId_ = b; return b; } else { @@ -159,6 +186,7 @@ public java.lang.String getSecretId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -170,8 +198,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceGroupId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceGroupId_); } @@ -201,17 +228,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureProxyConfig)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureProxyConfig other = (com.google.cloud.gkemulticloud.v1.AzureProxyConfig) obj; + com.google.cloud.gkemulticloud.v1.AzureProxyConfig other = + (com.google.cloud.gkemulticloud.v1.AzureProxyConfig) obj; - if (!getResourceGroupId() - .equals(other.getResourceGroupId())) return false; - if (!getSecretId() - .equals(other.getSecretId())) return false; + if (!getResourceGroupId().equals(other.getResourceGroupId())) return false; + if (!getSecretId().equals(other.getSecretId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -233,131 +259,135 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AzureProxyConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureProxyConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureProxyConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureProxyConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureProxyConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureProxyConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureProxyConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AzureProxyConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureProxyConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureProxyConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureProxyConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureProxyConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureProxyConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureProxyConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureProxyConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Details of a proxy config stored in Azure Key Vault.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureProxyConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureProxyConfig) com.google.cloud.gkemulticloud.v1.AzureProxyConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureProxyConfig.class, com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureProxyConfig.class, + com.google.cloud.gkemulticloud.v1.AzureProxyConfig.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AzureProxyConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -368,9 +398,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_descriptor; } @java.lang.Override @@ -389,8 +419,11 @@ public com.google.cloud.gkemulticloud.v1.AzureProxyConfig build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureProxyConfig buildPartial() { - com.google.cloud.gkemulticloud.v1.AzureProxyConfig result = new com.google.cloud.gkemulticloud.v1.AzureProxyConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.AzureProxyConfig result = + new com.google.cloud.gkemulticloud.v1.AzureProxyConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -409,38 +442,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureProxyConfig re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AzureProxyConfig) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureProxyConfig)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureProxyConfig) other); } else { super.mergeFrom(other); return this; @@ -448,7 +482,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureProxyConfig other) { - if (other == com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AzureProxyConfig.getDefaultInstance()) + return this; if (!other.getResourceGroupId().isEmpty()) { resourceGroupId_ = other.resourceGroupId_; bitField0_ |= 0x00000001; @@ -485,22 +520,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - resourceGroupId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - secretId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + resourceGroupId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + secretId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -510,10 +548,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object resourceGroupId_ = ""; /** + * + * *
      * The ARM ID the of the resource group containing proxy keyvault.
      *
@@ -522,13 +563,13 @@ public Builder mergeFrom(
      * 
* * string resource_group_id = 1; + * * @return The resourceGroupId. */ public java.lang.String getResourceGroupId() { java.lang.Object ref = resourceGroupId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceGroupId_ = s; return s; @@ -537,6 +578,8 @@ public java.lang.String getResourceGroupId() { } } /** + * + * *
      * The ARM ID the of the resource group containing proxy keyvault.
      *
@@ -545,15 +588,14 @@ public java.lang.String getResourceGroupId() {
      * 
* * string resource_group_id = 1; + * * @return The bytes for resourceGroupId. */ - public com.google.protobuf.ByteString - getResourceGroupIdBytes() { + public com.google.protobuf.ByteString getResourceGroupIdBytes() { java.lang.Object ref = resourceGroupId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceGroupId_ = b; return b; } else { @@ -561,6 +603,8 @@ public java.lang.String getResourceGroupId() { } } /** + * + * *
      * The ARM ID the of the resource group containing proxy keyvault.
      *
@@ -569,18 +613,22 @@ public java.lang.String getResourceGroupId() {
      * 
* * string resource_group_id = 1; + * * @param value The resourceGroupId to set. * @return This builder for chaining. */ - public Builder setResourceGroupId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceGroupId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } resourceGroupId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The ARM ID the of the resource group containing proxy keyvault.
      *
@@ -589,6 +637,7 @@ public Builder setResourceGroupId(
      * 
* * string resource_group_id = 1; + * * @return This builder for chaining. */ public Builder clearResourceGroupId() { @@ -598,6 +647,8 @@ public Builder clearResourceGroupId() { return this; } /** + * + * *
      * The ARM ID the of the resource group containing proxy keyvault.
      *
@@ -606,12 +657,14 @@ public Builder clearResourceGroupId() {
      * 
* * string resource_group_id = 1; + * * @param value The bytes for resourceGroupId to set. * @return This builder for chaining. */ - public Builder setResourceGroupIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResourceGroupIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); resourceGroupId_ = value; bitField0_ |= 0x00000001; @@ -621,6 +674,8 @@ public Builder setResourceGroupIdBytes( private java.lang.Object secretId_ = ""; /** + * + * *
      * The URL the of the proxy setting secret with its version.
      *
@@ -633,13 +688,13 @@ public Builder setResourceGroupIdBytes(
      * 
* * string secret_id = 2; + * * @return The secretId. */ public java.lang.String getSecretId() { java.lang.Object ref = secretId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); secretId_ = s; return s; @@ -648,6 +703,8 @@ public java.lang.String getSecretId() { } } /** + * + * *
      * The URL the of the proxy setting secret with its version.
      *
@@ -660,15 +717,14 @@ public java.lang.String getSecretId() {
      * 
* * string secret_id = 2; + * * @return The bytes for secretId. */ - public com.google.protobuf.ByteString - getSecretIdBytes() { + public com.google.protobuf.ByteString getSecretIdBytes() { java.lang.Object ref = secretId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); secretId_ = b; return b; } else { @@ -676,6 +732,8 @@ public java.lang.String getSecretId() { } } /** + * + * *
      * The URL the of the proxy setting secret with its version.
      *
@@ -688,18 +746,22 @@ public java.lang.String getSecretId() {
      * 
* * string secret_id = 2; + * * @param value The secretId to set. * @return This builder for chaining. */ - public Builder setSecretId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSecretId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } secretId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The URL the of the proxy setting secret with its version.
      *
@@ -712,6 +774,7 @@ public Builder setSecretId(
      * 
* * string secret_id = 2; + * * @return This builder for chaining. */ public Builder clearSecretId() { @@ -721,6 +784,8 @@ public Builder clearSecretId() { return this; } /** + * + * *
      * The URL the of the proxy setting secret with its version.
      *
@@ -733,21 +798,23 @@ public Builder clearSecretId() {
      * 
* * string secret_id = 2; + * * @param value The bytes for secretId to set. * @return This builder for chaining. */ - public Builder setSecretIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSecretIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); secretId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -757,12 +824,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureProxyConfig) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureProxyConfig) private static final com.google.cloud.gkemulticloud.v1.AzureProxyConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureProxyConfig(); } @@ -771,27 +838,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureProxyConfig getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureProxyConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureProxyConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -806,6 +873,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureProxyConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfigOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfigOrBuilder.java similarity index 71% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfigOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfigOrBuilder.java index d2a06b20cad8..42ed9edf71b2 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfigOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureProxyConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureProxyConfigOrBuilder extends +public interface AzureProxyConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureProxyConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The ARM ID the of the resource group containing proxy keyvault.
    *
@@ -16,10 +34,13 @@ public interface AzureProxyConfigOrBuilder extends
    * 
* * string resource_group_id = 1; + * * @return The resourceGroupId. */ java.lang.String getResourceGroupId(); /** + * + * *
    * The ARM ID the of the resource group containing proxy keyvault.
    *
@@ -28,12 +49,14 @@ public interface AzureProxyConfigOrBuilder extends
    * 
* * string resource_group_id = 1; + * * @return The bytes for resourceGroupId. */ - com.google.protobuf.ByteString - getResourceGroupIdBytes(); + com.google.protobuf.ByteString getResourceGroupIdBytes(); /** + * + * *
    * The URL the of the proxy setting secret with its version.
    *
@@ -46,10 +69,13 @@ public interface AzureProxyConfigOrBuilder extends
    * 
* * string secret_id = 2; + * * @return The secretId. */ java.lang.String getSecretId(); /** + * + * *
    * The URL the of the proxy setting secret with its version.
    *
@@ -62,8 +88,8 @@ public interface AzureProxyConfigOrBuilder extends
    * 
* * string secret_id = 2; + * * @return The bytes for secretId. */ - com.google.protobuf.ByteString - getSecretIdBytes(); + com.google.protobuf.ByteString getSecretIdBytes(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java new file mode 100644 index 000000000000..d7edcc87e264 --- /dev/null +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java @@ -0,0 +1,706 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public final class AzureResourcesProto { + private AzureResourcesProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureCluster_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureCluster_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureCluster_AnnotationsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureCluster_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_TagsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_TagsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureClient_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureClient_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureClient_AnnotationsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureClient_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureClusterGroup_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureClusterGroup_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_AnnotationsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureNodeManagement_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureNodeManagement_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_TagsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_TagsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureOpenIdConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureOpenIdConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureJsonWebKeys_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureJsonWebKeys_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n3google/cloud/gkemulticloud/v1/azure_re" + + "sources.proto\022\035google.cloud.gkemulticlou" + + "d.v1\032\037google/api/field_behavior.proto\032\031g" + + "oogle/api/resource.proto\0324google/cloud/g" + + "kemulticloud/v1/common_resources.proto\032\037" + + "google/protobuf/timestamp.proto\032\026google/" + + "type/date.proto\"\353\014\n\014AzureCluster\022\014\n\004name" + + "\030\001 \001(\t\022\031\n\013description\030\002 \001(\tB\004\342A\001\001\022\032\n\014azu" + + "re_region\030\003 \001(\tB\004\342A\001\002\022\037\n\021resource_group_" + + "id\030\021 \001(\tB\004\342A\001\002\022\032\n\014azure_client\030\020 \001(\tB\004\342A" + + "\001\001\022O\n\nnetworking\030\004 \001(\01325.google.cloud.gk" + + "emulticloud.v1.AzureClusterNetworkingB\004\342" + + "A\001\002\022M\n\rcontrol_plane\030\005 \001(\01320.google.clou" + + "d.gkemulticloud.v1.AzureControlPlaneB\004\342A" + + "\001\002\022N\n\rauthorization\030\006 \001(\01321.google.cloud" + + ".gkemulticloud.v1.AzureAuthorizationB\004\342A" + + "\001\002\022g\n\035azure_services_authentication\030\026 \001(" + + "\0132:.google.cloud.gkemulticloud.v1.AzureS" + + "ervicesAuthenticationB\004\342A\001\001\022F\n\005state\030\007 \001" + + "(\01621.google.cloud.gkemulticloud.v1.Azure" + + "Cluster.StateB\004\342A\001\003\022\026\n\010endpoint\030\010 \001(\tB\004\342" + + "A\001\003\022\021\n\003uid\030\t \001(\tB\004\342A\001\003\022\031\n\013reconciling\030\n " + + "\001(\010B\004\342A\001\003\0225\n\013create_time\030\013 \001(\0132\032.google." + + "protobuf.TimestampB\004\342A\001\003\0225\n\013update_time\030" + + "\014 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + + "\014\n\004etag\030\r \001(\t\022W\n\013annotations\030\016 \003(\0132<.goo" + + "gle.cloud.gkemulticloud.v1.AzureCluster." + + "AnnotationsEntryB\004\342A\001\001\022]\n\030workload_ident" + + "ity_config\030\022 \001(\01325.google.cloud.gkemulti" + + "cloud.v1.WorkloadIdentityConfigB\004\342A\001\003\022$\n" + + "\026cluster_ca_certificate\030\023 \001(\tB\004\342A\001\003\0229\n\005f" + + "leet\030\024 \001(\0132$.google.cloud.gkemulticloud." + + "v1.FleetB\004\342A\001\002\022U\n\021managed_resources\030\025 \001(" + + "\01324.google.cloud.gkemulticloud.v1.AzureC" + + "lusterResourcesB\004\342A\001\003\022J\n\016logging_config\030" + + "\027 \001(\0132,.google.cloud.gkemulticloud.v1.Lo" + + "ggingConfigB\004\342A\001\001\022F\n\006errors\030\030 \003(\01320.goog" + + "le.cloud.gkemulticloud.v1.AzureClusterEr" + + "rorB\004\342A\001\003\022P\n\021monitoring_config\030\031 \001(\0132/.g" + + "oogle.cloud.gkemulticloud.v1.MonitoringC" + + "onfigB\004\342A\001\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001" + + " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"u\n\005State\022\025\n\021STAT" + + "E_UNSPECIFIED\020\000\022\020\n\014PROVISIONING\020\001\022\013\n\007RUN" + + "NING\020\002\022\017\n\013RECONCILING\020\003\022\014\n\010STOPPING\020\004\022\t\n" + + "\005ERROR\020\005\022\014\n\010DEGRADED\020\006:u\352Ar\n)gkemulticlo" + + "ud.googleapis.com/AzureCluster\022Eprojects" + + "/{project}/locations/{location}/azureClu" + + "sters/{azure_cluster}\"\273\001\n\026AzureClusterNe" + + "tworking\022 \n\022virtual_network_id\030\001 \001(\tB\004\342A" + + "\001\002\022%\n\027pod_address_cidr_blocks\030\002 \003(\tB\004\342A\001" + + "\002\022)\n\033service_address_cidr_blocks\030\003 \003(\tB\004" + + "\342A\001\002\022-\n\037service_load_balancer_subnet_id\030" + + "\005 \001(\tB\004\342A\001\001\"\256\006\n\021AzureControlPlane\022\025\n\007ver" + + "sion\030\001 \001(\tB\004\342A\001\002\022\027\n\tsubnet_id\030\002 \001(\tB\004\342A\001" + + "\001\022\025\n\007vm_size\030\003 \001(\tB\004\342A\001\001\022G\n\nssh_config\030\013" + + " \001(\0132-.google.cloud.gkemulticloud.v1.Azu" + + "reSshConfigB\004\342A\001\002\022K\n\013root_volume\030\004 \001(\01320" + + ".google.cloud.gkemulticloud.v1.AzureDisk" + + "TemplateB\004\342A\001\001\022K\n\013main_volume\030\005 \001(\01320.go" + + "ogle.cloud.gkemulticloud.v1.AzureDiskTem" + + "plateB\004\342A\001\001\022Y\n\023database_encryption\030\n \001(\013" + + "26.google.cloud.gkemulticloud.v1.AzureDa" + + "tabaseEncryptionB\004\342A\001\001\022K\n\014proxy_config\030\014" + + " \001(\0132/.google.cloud.gkemulticloud.v1.Azu" + + "reProxyConfigB\004\342A\001\001\022U\n\021config_encryption" + + "\030\016 \001(\01324.google.cloud.gkemulticloud.v1.A" + + "zureConfigEncryptionB\004\342A\001\001\022N\n\004tags\030\007 \003(\013" + + "2:.google.cloud.gkemulticloud.v1.AzureCo" + + "ntrolPlane.TagsEntryB\004\342A\001\001\022Q\n\022replica_pl" + + "acements\030\r \003(\0132/.google.cloud.gkemulticl" + + "oud.v1.ReplicaPlacementB\004\342A\001\001\022 \n\022endpoin" + + "t_subnet_id\030\017 \001(\tB\004\342A\001\001\032+\n\tTagsEntry\022\013\n\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"R\n\020ReplicaP" + + "lacement\022\027\n\tsubnet_id\030\001 \001(\tB\004\342A\001\002\022%\n\027azu" + + "re_availability_zone\030\002 \001(\tB\004\342A\001\002\"@\n\020Azur" + + "eProxyConfig\022\031\n\021resource_group_id\030\001 \001(\t\022" + + "\021\n\tsecret_id\030\002 \001(\t\"/\n\027AzureDatabaseEncry" + + "ption\022\024\n\006key_id\030\003 \001(\tB\004\342A\001\002\"G\n\025AzureConf" + + "igEncryption\022\024\n\006key_id\030\002 \001(\tB\004\342A\001\002\022\030\n\npu" + + "blic_key\030\003 \001(\tB\004\342A\001\001\"+\n\021AzureDiskTemplat" + + "e\022\026\n\010size_gib\030\001 \001(\005B\004\342A\001\001\"\215\004\n\013AzureClien" + + "t\022\014\n\004name\030\001 \001(\t\022\027\n\ttenant_id\030\002 \001(\tB\004\342A\001\002" + + "\022\034\n\016application_id\030\003 \001(\tB\004\342A\001\002\022\031\n\013reconc" + + "iling\030\t \001(\010B\004\342A\001\003\022V\n\013annotations\030\010 \003(\0132;" + + ".google.cloud.gkemulticloud.v1.AzureClie" + + "nt.AnnotationsEntryB\004\342A\001\001\022\035\n\017pem_certifi" + + "cate\030\007 \001(\tB\004\342A\001\003\022\021\n\003uid\030\005 \001(\tB\004\342A\001\003\0225\n\013c" + + "reate_time\030\006 \001(\0132\032.google.protobuf.Times" + + "tampB\004\342A\001\003\0225\n\013update_time\030\n \001(\0132\032.google" + + ".protobuf.TimestampB\004\342A\001\003\0322\n\020Annotations" + + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:r\352" + + "Ao\n(gkemulticloud.googleapis.com/AzureCl" + + "ient\022Cprojects/{project}/locations/{loca" + + "tion}/azureClients/{azure_client}\"\256\001\n\022Az" + + "ureAuthorization\022J\n\013admin_users\030\001 \003(\0132/." + + "google.cloud.gkemulticloud.v1.AzureClust" + + "erUserB\004\342A\001\001\022L\n\014admin_groups\030\002 \003(\01320.goo" + + "gle.cloud.gkemulticloud.v1.AzureClusterG" + + "roupB\004\342A\001\001\"T\n\033AzureServicesAuthenticatio" + + "n\022\027\n\ttenant_id\030\001 \001(\tB\004\342A\001\002\022\034\n\016applicatio" + + "n_id\030\002 \001(\tB\004\342A\001\002\"*\n\020AzureClusterUser\022\026\n\010" + + "username\030\001 \001(\tB\004\342A\001\002\"(\n\021AzureClusterGrou" + + "p\022\023\n\005group\030\001 \001(\tB\004\342A\001\002\"\215\t\n\rAzureNodePool" + + "\022\014\n\004name\030\001 \001(\t\022\025\n\007version\030\002 \001(\tB\004\342A\001\002\022D\n" + + "\006config\030\026 \001(\0132..google.cloud.gkemulticlo" + + "ud.v1.AzureNodeConfigB\004\342A\001\002\022\027\n\tsubnet_id" + + "\030\003 \001(\tB\004\342A\001\002\022R\n\013autoscaling\030\004 \001(\01327.goog" + + "le.cloud.gkemulticloud.v1.AzureNodePoolA" + + "utoscalingB\004\342A\001\002\022G\n\005state\030\006 \001(\01622.google" + + ".cloud.gkemulticloud.v1.AzureNodePool.St" + + "ateB\004\342A\001\003\022\021\n\003uid\030\010 \001(\tB\004\342A\001\003\022\031\n\013reconcil" + + "ing\030\t \001(\010B\004\342A\001\003\0225\n\013create_time\030\n \001(\0132\032.g" + + "oogle.protobuf.TimestampB\004\342A\001\003\0225\n\013update" + + "_time\030\013 \001(\0132\032.google.protobuf.TimestampB" + + "\004\342A\001\003\022\014\n\004etag\030\014 \001(\t\022X\n\013annotations\030\r \003(\013" + + "2=.google.cloud.gkemulticloud.v1.AzureNo" + + "dePool.AnnotationsEntryB\004\342A\001\001\022S\n\023max_pod" + + "s_constraint\030\025 \001(\01320.google.cloud.gkemul" + + "ticloud.v1.MaxPodsConstraintB\004\342A\001\002\022%\n\027az" + + "ure_availability_zone\030\027 \001(\tB\004\342A\001\001\022G\n\006err" + + "ors\030\035 \003(\01321.google.cloud.gkemulticloud.v" + + "1.AzureNodePoolErrorB\004\342A\001\003\022L\n\nmanagement" + + "\030\036 \001(\01322.google.cloud.gkemulticloud.v1.A" + + "zureNodeManagementB\004\342A\001\001\0322\n\020AnnotationsE" + + "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"u\n\005" + + "State\022\025\n\021STATE_UNSPECIFIED\020\000\022\020\n\014PROVISIO" + + "NING\020\001\022\013\n\007RUNNING\020\002\022\017\n\013RECONCILING\020\003\022\014\n\010" + + "STOPPING\020\004\022\t\n\005ERROR\020\005\022\014\n\010DEGRADED\020\006:\230\001\352A" + + "\224\001\n*gkemulticloud.googleapis.com/AzureNo" + + "dePool\022fprojects/{project}/locations/{lo" + + "cation}/azureClusters/{azure_cluster}/az" + + "ureNodePools/{azure_node_pool}\"0\n\023AzureN" + + "odeManagement\022\031\n\013auto_repair\030\001 \001(\010B\004\342A\001\001" + + "\"\270\005\n\017AzureNodeConfig\022\025\n\007vm_size\030\001 \001(\tB\004\342" + + "A\001\001\022K\n\013root_volume\030\002 \001(\01320.google.cloud." + + "gkemulticloud.v1.AzureDiskTemplateB\004\342A\001\001" + + "\022L\n\004tags\030\003 \003(\01328.google.cloud.gkemulticl" + + "oud.v1.AzureNodeConfig.TagsEntryB\004\342A\001\001\022\030" + + "\n\nimage_type\030\010 \001(\tB\004\342A\001\001\022G\n\nssh_config\030\007" + + " \001(\0132-.google.cloud.gkemulticloud.v1.Azu" + + "reSshConfigB\004\342A\001\002\022K\n\014proxy_config\030\t \001(\0132" + + "/.google.cloud.gkemulticloud.v1.AzurePro" + + "xyConfigB\004\342A\001\001\022U\n\021config_encryption\030\014 \001(" + + "\01324.google.cloud.gkemulticloud.v1.AzureC" + + "onfigEncryptionB\004\342A\001\001\022>\n\006taints\030\n \003(\0132(." + + "google.cloud.gkemulticloud.v1.NodeTaintB" + + "\004\342A\001\001\022P\n\006labels\030\013 \003(\0132:.google.cloud.gke" + + "multicloud.v1.AzureNodeConfig.LabelsEntr" + + "yB\004\342A\001\001\032+\n\tTagsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" + + "ue\030\002 \001(\t:\0028\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t" + + "\022\r\n\005value\030\002 \001(\t:\0028\001\"V\n\030AzureNodePoolAuto" + + "scaling\022\034\n\016min_node_count\030\001 \001(\005B\004\342A\001\002\022\034\n" + + "\016max_node_count\030\002 \001(\005B\004\342A\001\002\"\326\001\n\021AzureOpe" + + "nIdConfig\022\016\n\006issuer\030\001 \001(\t\022\020\n\010jwks_uri\030\002 " + + "\001(\t\022 \n\030response_types_supported\030\003 \003(\t\022\037\n" + + "\027subject_types_supported\030\004 \003(\t\022-\n%id_tok" + + "en_signing_alg_values_supported\030\005 \003(\t\022\030\n" + + "\020claims_supported\030\006 \003(\t\022\023\n\013grant_types\030\007" + + " \003(\t\"D\n\020AzureJsonWebKeys\0220\n\004keys\030\001 \003(\0132\"" + + ".google.cloud.gkemulticloud.v1.Jwk\"\376\001\n\021A" + + "zureServerConfig\022\014\n\004name\030\001 \001(\t\022J\n\016valid_" + + "versions\030\002 \003(\01322.google.cloud.gkemulticl" + + "oud.v1.AzureK8sVersionInfo\022\037\n\027supported_" + + "azure_regions\030\003 \003(\t:n\352Ak\n.gkemulticloud." + + "googleapis.com/AzureServerConfig\0229projec" + + "ts/{project}/locations/{location}/azureS" + + "erverConfig\"\272\001\n\023AzureK8sVersionInfo\022\017\n\007v" + + "ersion\030\001 \001(\t\022\025\n\007enabled\030\003 \001(\010B\004\342A\001\001\022\031\n\013e" + + "nd_of_life\030\004 \001(\010B\004\342A\001\001\0221\n\020end_of_life_da" + + "te\030\005 \001(\0132\021.google.type.DateB\004\342A\001\001\022-\n\014rel" + + "ease_date\030\006 \001(\0132\021.google.type.DateB\004\342A\001\001" + + "\".\n\016AzureSshConfig\022\034\n\016authorized_key\030\001 \001" + + "(\tB\004\342A\001\002\"{\n\025AzureClusterResources\022\'\n\031net" + + "work_security_group_id\030\001 \001(\tB\004\342A\001\003\0229\n+co" + + "ntrol_plane_application_security_group_i" + + "d\030\002 \001(\tB\004\342A\001\003\"$\n\021AzureClusterError\022\017\n\007me" + + "ssage\030\001 \001(\t\"%\n\022AzureNodePoolError\022\017\n\007mes" + + "sage\030\001 \001(\tB\346\001\n!com.google.cloud.gkemulti" + + "cloud.v1B\023AzureResourcesProtoP\001ZGcloud.g" + + "oogle.com/go/gkemulticloud/apiv1/gkemult" + + "icloudpb;gkemulticloudpb\252\002\035Google.Cloud." + + "GkeMultiCloud.V1\312\002\035Google\\Cloud\\GkeMulti" + + "Cloud\\V1\352\002 Google::Cloud::GkeMultiCloud:" + + ":V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.gkemulticloud.v1.CommonResourcesProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.type.DateProto.getDescriptor(), + }); + internal_static_google_cloud_gkemulticloud_v1_AzureCluster_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_gkemulticloud_v1_AzureCluster_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureCluster_descriptor, + new java.lang.String[] { + "Name", + "Description", + "AzureRegion", + "ResourceGroupId", + "AzureClient", + "Networking", + "ControlPlane", + "Authorization", + "AzureServicesAuthentication", + "State", + "Endpoint", + "Uid", + "Reconciling", + "CreateTime", + "UpdateTime", + "Etag", + "Annotations", + "WorkloadIdentityConfig", + "ClusterCaCertificate", + "Fleet", + "ManagedResources", + "LoggingConfig", + "Errors", + "MonitoringConfig", + }); + internal_static_google_cloud_gkemulticloud_v1_AzureCluster_AnnotationsEntry_descriptor = + internal_static_google_cloud_gkemulticloud_v1_AzureCluster_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_gkemulticloud_v1_AzureCluster_AnnotationsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureCluster_AnnotationsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_descriptor, + new java.lang.String[] { + "VirtualNetworkId", + "PodAddressCidrBlocks", + "ServiceAddressCidrBlocks", + "ServiceLoadBalancerSubnetId", + }); + internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_descriptor, + new java.lang.String[] { + "Version", + "SubnetId", + "VmSize", + "SshConfig", + "RootVolume", + "MainVolume", + "DatabaseEncryption", + "ProxyConfig", + "ConfigEncryption", + "Tags", + "ReplicaPlacements", + "EndpointSubnetId", + }); + internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_TagsEntry_descriptor = + internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_TagsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_TagsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_descriptor, + new java.lang.String[] { + "SubnetId", "AzureAvailabilityZone", + }); + internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_descriptor, + new java.lang.String[] { + "ResourceGroupId", "SecretId", + }); + internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_descriptor, + new java.lang.String[] { + "KeyId", + }); + internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_descriptor, + new java.lang.String[] { + "KeyId", "PublicKey", + }); + internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_descriptor, + new java.lang.String[] { + "SizeGib", + }); + internal_static_google_cloud_gkemulticloud_v1_AzureClient_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_gkemulticloud_v1_AzureClient_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureClient_descriptor, + new java.lang.String[] { + "Name", + "TenantId", + "ApplicationId", + "Reconciling", + "Annotations", + "PemCertificate", + "Uid", + "CreateTime", + "UpdateTime", + }); + internal_static_google_cloud_gkemulticloud_v1_AzureClient_AnnotationsEntry_descriptor = + internal_static_google_cloud_gkemulticloud_v1_AzureClient_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_gkemulticloud_v1_AzureClient_AnnotationsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureClient_AnnotationsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_descriptor, + new java.lang.String[] { + "AdminUsers", "AdminGroups", + }); + internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_descriptor, + new java.lang.String[] { + "TenantId", "ApplicationId", + }); + internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_descriptor, + new java.lang.String[] { + "Username", + }); + internal_static_google_cloud_gkemulticloud_v1_AzureClusterGroup_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_gkemulticloud_v1_AzureClusterGroup_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureClusterGroup_descriptor, + new java.lang.String[] { + "Group", + }); + internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_descriptor, + new java.lang.String[] { + "Name", + "Version", + "Config", + "SubnetId", + "Autoscaling", + "State", + "Uid", + "Reconciling", + "CreateTime", + "UpdateTime", + "Etag", + "Annotations", + "MaxPodsConstraint", + "AzureAvailabilityZone", + "Errors", + "Management", + }); + internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_AnnotationsEntry_descriptor = + internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_AnnotationsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_AnnotationsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_gkemulticloud_v1_AzureNodeManagement_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_gkemulticloud_v1_AzureNodeManagement_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureNodeManagement_descriptor, + new java.lang.String[] { + "AutoRepair", + }); + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor, + new java.lang.String[] { + "VmSize", + "RootVolume", + "Tags", + "ImageType", + "SshConfig", + "ProxyConfig", + "ConfigEncryption", + "Taints", + "Labels", + }); + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_TagsEntry_descriptor = + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_TagsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_TagsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_LabelsEntry_descriptor = + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_descriptor, + new java.lang.String[] { + "MinNodeCount", "MaxNodeCount", + }); + internal_static_google_cloud_gkemulticloud_v1_AzureOpenIdConfig_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_gkemulticloud_v1_AzureOpenIdConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureOpenIdConfig_descriptor, + new java.lang.String[] { + "Issuer", + "JwksUri", + "ResponseTypesSupported", + "SubjectTypesSupported", + "IdTokenSigningAlgValuesSupported", + "ClaimsSupported", + "GrantTypes", + }); + internal_static_google_cloud_gkemulticloud_v1_AzureJsonWebKeys_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_gkemulticloud_v1_AzureJsonWebKeys_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureJsonWebKeys_descriptor, + new java.lang.String[] { + "Keys", + }); + internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_descriptor, + new java.lang.String[] { + "Name", "ValidVersions", "SupportedAzureRegions", + }); + internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_descriptor, + new java.lang.String[] { + "Version", "Enabled", "EndOfLife", "EndOfLifeDate", "ReleaseDate", + }); + internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_descriptor, + new java.lang.String[] { + "AuthorizedKey", + }); + internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_descriptor, + new java.lang.String[] { + "NetworkSecurityGroupId", "ControlPlaneApplicationSecurityGroupId", + }); + internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_descriptor, + new java.lang.String[] { + "Message", + }); + internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_descriptor, + new java.lang.String[] { + "Message", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.gkemulticloud.v1.CommonResourcesProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.type.DateProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfig.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfig.java similarity index 77% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfig.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfig.java index 72b2f374a67a..bc9ada500fff 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfig.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * AzureServerConfig contains information about a Google Cloud location, such as
  * supported Azure regions and Kubernetes versions.
@@ -11,46 +28,50 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureServerConfig}
  */
-public final class AzureServerConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AzureServerConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureServerConfig)
     AzureServerConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AzureServerConfig.newBuilder() to construct.
   private AzureServerConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AzureServerConfig() {
     name_ = "";
     validVersions_ = java.util.Collections.emptyList();
-    supportedAzureRegions_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    supportedAzureRegions_ = com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AzureServerConfig();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.AzureServerConfig.class, com.google.cloud.gkemulticloud.v1.AzureServerConfig.Builder.class);
+            com.google.cloud.gkemulticloud.v1.AzureServerConfig.class,
+            com.google.cloud.gkemulticloud.v1.AzureServerConfig.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The `AzureServerConfig` resource name.
    *
@@ -62,6 +83,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -70,14 +92,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The `AzureServerConfig` resource name.
    *
@@ -89,16 +112,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -107,9 +129,12 @@ public java.lang.String getName() { } public static final int VALID_VERSIONS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List validVersions_; /** + * + * *
    * List of all released Kubernetes versions, including ones which are end of
    * life and can no longer be used.  Filter by the `enabled`
@@ -120,10 +145,13 @@ public java.lang.String getName() {
    * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2;
    */
   @java.lang.Override
-  public java.util.List getValidVersionsList() {
+  public java.util.List
+      getValidVersionsList() {
     return validVersions_;
   }
   /**
+   *
+   *
    * 
    * List of all released Kubernetes versions, including ones which are end of
    * life and can no longer be used.  Filter by the `enabled`
@@ -134,11 +162,13 @@ public java.util.List get
    * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getValidVersionsOrBuilderList() {
     return validVersions_;
   }
   /**
+   *
+   *
    * 
    * List of all released Kubernetes versions, including ones which are end of
    * life and can no longer be used.  Filter by the `enabled`
@@ -153,6 +183,8 @@ public int getValidVersionsCount() {
     return validVersions_.size();
   }
   /**
+   *
+   *
    * 
    * List of all released Kubernetes versions, including ones which are end of
    * life and can no longer be used.  Filter by the `enabled`
@@ -167,6 +199,8 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo getValidVersions(in
     return validVersions_.get(index);
   }
   /**
+   *
+   *
    * 
    * List of all released Kubernetes versions, including ones which are end of
    * life and can no longer be used.  Filter by the `enabled`
@@ -183,38 +217,47 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfoOrBuilder getValidVe
   }
 
   public static final int SUPPORTED_AZURE_REGIONS_FIELD_NUMBER = 3;
+
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringArrayList supportedAzureRegions_ =
       com.google.protobuf.LazyStringArrayList.emptyList();
   /**
+   *
+   *
    * 
    * The list of supported Azure regions.
    * 
* * repeated string supported_azure_regions = 3; + * * @return A list containing the supportedAzureRegions. */ - public com.google.protobuf.ProtocolStringList - getSupportedAzureRegionsList() { + public com.google.protobuf.ProtocolStringList getSupportedAzureRegionsList() { return supportedAzureRegions_; } /** + * + * *
    * The list of supported Azure regions.
    * 
* * repeated string supported_azure_regions = 3; + * * @return The count of supportedAzureRegions. */ public int getSupportedAzureRegionsCount() { return supportedAzureRegions_.size(); } /** + * + * *
    * The list of supported Azure regions.
    * 
* * repeated string supported_azure_regions = 3; + * * @param index The index of the element to return. * @return The supportedAzureRegions at the given index. */ @@ -222,20 +265,23 @@ public java.lang.String getSupportedAzureRegions(int index) { return supportedAzureRegions_.get(index); } /** + * + * *
    * The list of supported Azure regions.
    * 
* * repeated string supported_azure_regions = 3; + * * @param index The index of the value to return. * @return The bytes of the supportedAzureRegions at the given index. */ - public com.google.protobuf.ByteString - getSupportedAzureRegionsBytes(int index) { + public com.google.protobuf.ByteString getSupportedAzureRegionsBytes(int index) { return supportedAzureRegions_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,8 +293,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -256,7 +301,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(2, validVersions_.get(i)); } for (int i = 0; i < supportedAzureRegions_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, supportedAzureRegions_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 3, supportedAzureRegions_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -271,8 +317,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < validVersions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, validVersions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, validVersions_.get(i)); } { int dataSize = 0; @@ -290,19 +335,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureServerConfig)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureServerConfig other = (com.google.cloud.gkemulticloud.v1.AzureServerConfig) obj; + com.google.cloud.gkemulticloud.v1.AzureServerConfig other = + (com.google.cloud.gkemulticloud.v1.AzureServerConfig) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getValidVersionsList() - .equals(other.getValidVersionsList())) return false; - if (!getSupportedAzureRegionsList() - .equals(other.getSupportedAzureRegionsList())) return false; + if (!getName().equals(other.getName())) return false; + if (!getValidVersionsList().equals(other.getValidVersionsList())) return false; + if (!getSupportedAzureRegionsList().equals(other.getSupportedAzureRegionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -330,98 +373,103 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AzureServerConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureServerConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureServerConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureServerConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureServerConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureServerConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureServerConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AzureServerConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureServerConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureServerConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureServerConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureServerConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureServerConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureServerConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureServerConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * AzureServerConfig contains information about a Google Cloud location, such as
    * supported Azure regions and Kubernetes versions.
@@ -429,33 +477,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureServerConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureServerConfig)
       com.google.cloud.gkemulticloud.v1.AzureServerConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.AzureServerConfig.class, com.google.cloud.gkemulticloud.v1.AzureServerConfig.Builder.class);
+              com.google.cloud.gkemulticloud.v1.AzureServerConfig.class,
+              com.google.cloud.gkemulticloud.v1.AzureServerConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.AzureServerConfig.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -468,15 +515,14 @@ public Builder clear() {
         validVersionsBuilder_.clear();
       }
       bitField0_ = (bitField0_ & ~0x00000002);
-      supportedAzureRegions_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      supportedAzureRegions_ = com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AzureResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_descriptor;
     }
 
     @java.lang.Override
@@ -495,14 +541,18 @@ public com.google.cloud.gkemulticloud.v1.AzureServerConfig build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.AzureServerConfig buildPartial() {
-      com.google.cloud.gkemulticloud.v1.AzureServerConfig result = new com.google.cloud.gkemulticloud.v1.AzureServerConfig(this);
+      com.google.cloud.gkemulticloud.v1.AzureServerConfig result =
+          new com.google.cloud.gkemulticloud.v1.AzureServerConfig(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.AzureServerConfig result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.gkemulticloud.v1.AzureServerConfig result) {
       if (validVersionsBuilder_ == null) {
         if (((bitField0_ & 0x00000002) != 0)) {
           validVersions_ = java.util.Collections.unmodifiableList(validVersions_);
@@ -529,38 +579,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureServerConfig r
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.AzureServerConfig) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureServerConfig)other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureServerConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -568,7 +619,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureServerConfig other) {
-      if (other == com.google.cloud.gkemulticloud.v1.AzureServerConfig.getDefaultInstance()) return this;
+      if (other == com.google.cloud.gkemulticloud.v1.AzureServerConfig.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -592,9 +644,10 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureServerConfig oth
             validVersionsBuilder_ = null;
             validVersions_ = other.validVersions_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            validVersionsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getValidVersionsFieldBuilder() : null;
+            validVersionsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getValidVersionsFieldBuilder()
+                    : null;
           } else {
             validVersionsBuilder_.addAllMessages(other.validVersions_);
           }
@@ -636,36 +689,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo m =
-                  input.readMessage(
-                      com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.parser(),
-                      extensionRegistry);
-              if (validVersionsBuilder_ == null) {
-                ensureValidVersionsIsMutable();
-                validVersions_.add(m);
-              } else {
-                validVersionsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureSupportedAzureRegionsIsMutable();
-              supportedAzureRegions_.add(s);
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo m =
+                    input.readMessage(
+                        com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.parser(),
+                        extensionRegistry);
+                if (validVersionsBuilder_ == null) {
+                  ensureValidVersionsIsMutable();
+                  validVersions_.add(m);
+                } else {
+                  validVersionsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureSupportedAzureRegionsIsMutable();
+                supportedAzureRegions_.add(s);
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -675,10 +732,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The `AzureServerConfig` resource name.
      *
@@ -690,13 +750,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -705,6 +765,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The `AzureServerConfig` resource name.
      *
@@ -716,15 +778,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -732,6 +793,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The `AzureServerConfig` resource name.
      *
@@ -743,18 +806,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The `AzureServerConfig` resource name.
      *
@@ -766,6 +833,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -775,6 +843,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The `AzureServerConfig` resource name.
      *
@@ -786,12 +856,14 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -800,18 +872,26 @@ public Builder setNameBytes( } private java.util.List validVersions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureValidVersionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - validVersions_ = new java.util.ArrayList(validVersions_); + validVersions_ = + new java.util.ArrayList( + validVersions_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo, com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder, com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfoOrBuilder> validVersionsBuilder_; + com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo, + com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder, + com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfoOrBuilder> + validVersionsBuilder_; /** + * + * *
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -821,7 +901,8 @@ private void ensureValidVersionsIsMutable() {
      *
      * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2;
      */
-    public java.util.List getValidVersionsList() {
+    public java.util.List
+        getValidVersionsList() {
       if (validVersionsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(validVersions_);
       } else {
@@ -829,6 +910,8 @@ public java.util.List get
       }
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -846,6 +929,8 @@ public int getValidVersionsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -863,6 +948,8 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo getValidVersions(in
       }
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -887,6 +974,8 @@ public Builder setValidVersions(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -908,6 +997,8 @@ public Builder setValidVersions(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -931,6 +1022,8 @@ public Builder addValidVersions(com.google.cloud.gkemulticloud.v1.AzureK8sVersio
       return this;
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -955,6 +1048,8 @@ public Builder addValidVersions(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -976,6 +1071,8 @@ public Builder addValidVersions(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -997,6 +1094,8 @@ public Builder addValidVersions(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -1007,11 +1106,11 @@ public Builder addValidVersions(
      * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2;
      */
     public Builder addAllValidVersions(
-        java.lang.Iterable values) {
+        java.lang.Iterable
+            values) {
       if (validVersionsBuilder_ == null) {
         ensureValidVersionsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, validVersions_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, validVersions_);
         onChanged();
       } else {
         validVersionsBuilder_.addAllMessages(values);
@@ -1019,6 +1118,8 @@ public Builder addAllValidVersions(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -1039,6 +1140,8 @@ public Builder clearValidVersions() {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -1059,6 +1162,8 @@ public Builder removeValidVersions(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -1073,6 +1178,8 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder getValidVer
       return getValidVersionsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -1085,11 +1192,14 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder getValidVer
     public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfoOrBuilder getValidVersionsOrBuilder(
         int index) {
       if (validVersionsBuilder_ == null) {
-        return validVersions_.get(index);  } else {
+        return validVersions_.get(index);
+      } else {
         return validVersionsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -1099,8 +1209,8 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfoOrBuilder getValidVe
      *
      * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2;
      */
-    public java.util.List 
-         getValidVersionsOrBuilderList() {
+    public java.util.List
+        getValidVersionsOrBuilderList() {
       if (validVersionsBuilder_ != null) {
         return validVersionsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1108,6 +1218,8 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfoOrBuilder getValidVe
       }
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -1118,10 +1230,12 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfoOrBuilder getValidVe
      * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2;
      */
     public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder addValidVersionsBuilder() {
-      return getValidVersionsFieldBuilder().addBuilder(
-          com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.getDefaultInstance());
+      return getValidVersionsFieldBuilder()
+          .addBuilder(com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -1133,10 +1247,13 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder addValidVer
      */
     public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder addValidVersionsBuilder(
         int index) {
-      return getValidVersionsFieldBuilder().addBuilder(
-          index, com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.getDefaultInstance());
+      return getValidVersionsFieldBuilder()
+          .addBuilder(
+              index, com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of all released Kubernetes versions, including ones which are end of
      * life and can no longer be used.  Filter by the `enabled`
@@ -1146,16 +1263,22 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder addValidVer
      *
      * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2;
      */
-    public java.util.List 
-         getValidVersionsBuilderList() {
+    public java.util.List
+        getValidVersionsBuilderList() {
       return getValidVersionsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo, com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder, com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfoOrBuilder> 
+            com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo,
+            com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder,
+            com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfoOrBuilder>
         getValidVersionsFieldBuilder() {
       if (validVersionsBuilder_ == null) {
-        validVersionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo, com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder, com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfoOrBuilder>(
+        validVersionsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo,
+                com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder,
+                com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfoOrBuilder>(
                 validVersions_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -1167,42 +1290,52 @@ public com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo.Builder addValidVer
 
     private com.google.protobuf.LazyStringArrayList supportedAzureRegions_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
+
     private void ensureSupportedAzureRegionsIsMutable() {
       if (!supportedAzureRegions_.isModifiable()) {
-        supportedAzureRegions_ = new com.google.protobuf.LazyStringArrayList(supportedAzureRegions_);
+        supportedAzureRegions_ =
+            new com.google.protobuf.LazyStringArrayList(supportedAzureRegions_);
       }
       bitField0_ |= 0x00000004;
     }
     /**
+     *
+     *
      * 
      * The list of supported Azure regions.
      * 
* * repeated string supported_azure_regions = 3; + * * @return A list containing the supportedAzureRegions. */ - public com.google.protobuf.ProtocolStringList - getSupportedAzureRegionsList() { + public com.google.protobuf.ProtocolStringList getSupportedAzureRegionsList() { supportedAzureRegions_.makeImmutable(); return supportedAzureRegions_; } /** + * + * *
      * The list of supported Azure regions.
      * 
* * repeated string supported_azure_regions = 3; + * * @return The count of supportedAzureRegions. */ public int getSupportedAzureRegionsCount() { return supportedAzureRegions_.size(); } /** + * + * *
      * The list of supported Azure regions.
      * 
* * repeated string supported_azure_regions = 3; + * * @param index The index of the element to return. * @return The supportedAzureRegions at the given index. */ @@ -1210,31 +1343,37 @@ public java.lang.String getSupportedAzureRegions(int index) { return supportedAzureRegions_.get(index); } /** + * + * *
      * The list of supported Azure regions.
      * 
* * repeated string supported_azure_regions = 3; + * * @param index The index of the value to return. * @return The bytes of the supportedAzureRegions at the given index. */ - public com.google.protobuf.ByteString - getSupportedAzureRegionsBytes(int index) { + public com.google.protobuf.ByteString getSupportedAzureRegionsBytes(int index) { return supportedAzureRegions_.getByteString(index); } /** + * + * *
      * The list of supported Azure regions.
      * 
* * repeated string supported_azure_regions = 3; + * * @param index The index to set the value at. * @param value The supportedAzureRegions to set. * @return This builder for chaining. */ - public Builder setSupportedAzureRegions( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSupportedAzureRegions(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSupportedAzureRegionsIsMutable(); supportedAzureRegions_.set(index, value); bitField0_ |= 0x00000004; @@ -1242,17 +1381,21 @@ public Builder setSupportedAzureRegions( return this; } /** + * + * *
      * The list of supported Azure regions.
      * 
* * repeated string supported_azure_regions = 3; + * * @param value The supportedAzureRegions to add. * @return This builder for chaining. */ - public Builder addSupportedAzureRegions( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSupportedAzureRegions(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSupportedAzureRegionsIsMutable(); supportedAzureRegions_.add(value); bitField0_ |= 0x00000004; @@ -1260,50 +1403,58 @@ public Builder addSupportedAzureRegions( return this; } /** + * + * *
      * The list of supported Azure regions.
      * 
* * repeated string supported_azure_regions = 3; + * * @param values The supportedAzureRegions to add. * @return This builder for chaining. */ - public Builder addAllSupportedAzureRegions( - java.lang.Iterable values) { + public Builder addAllSupportedAzureRegions(java.lang.Iterable values) { ensureSupportedAzureRegionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, supportedAzureRegions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, supportedAzureRegions_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The list of supported Azure regions.
      * 
* * repeated string supported_azure_regions = 3; + * * @return This builder for chaining. */ public Builder clearSupportedAzureRegions() { - supportedAzureRegions_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + supportedAzureRegions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * The list of supported Azure regions.
      * 
* * repeated string supported_azure_regions = 3; + * * @param value The bytes of the supportedAzureRegions to add. * @return This builder for chaining. */ - public Builder addSupportedAzureRegionsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSupportedAzureRegionsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureSupportedAzureRegionsIsMutable(); supportedAzureRegions_.add(value); @@ -1311,9 +1462,9 @@ public Builder addSupportedAzureRegionsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1323,12 +1474,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureServerConfig) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureServerConfig) private static final com.google.cloud.gkemulticloud.v1.AzureServerConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureServerConfig(); } @@ -1337,27 +1488,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureServerConfig getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureServerConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureServerConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1372,6 +1523,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureServerConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigName.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigName.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigName.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigName.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigOrBuilder.java similarity index 81% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigOrBuilder.java index 132b44843b27..41c0fcd9ff4c 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureServerConfigOrBuilder extends +public interface AzureServerConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureServerConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The `AzureServerConfig` resource name.
    *
@@ -19,10 +37,13 @@ public interface AzureServerConfigOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The `AzureServerConfig` resource name.
    *
@@ -34,12 +55,14 @@ public interface AzureServerConfigOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * List of all released Kubernetes versions, including ones which are end of
    * life and can no longer be used.  Filter by the `enabled`
@@ -49,9 +72,10 @@ public interface AzureServerConfigOrBuilder extends
    *
    * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2;
    */
-  java.util.List 
-      getValidVersionsList();
+  java.util.List getValidVersionsList();
   /**
+   *
+   *
    * 
    * List of all released Kubernetes versions, including ones which are end of
    * life and can no longer be used.  Filter by the `enabled`
@@ -63,6 +87,8 @@ public interface AzureServerConfigOrBuilder extends
    */
   com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo getValidVersions(int index);
   /**
+   *
+   *
    * 
    * List of all released Kubernetes versions, including ones which are end of
    * life and can no longer be used.  Filter by the `enabled`
@@ -74,6 +100,8 @@ public interface AzureServerConfigOrBuilder extends
    */
   int getValidVersionsCount();
   /**
+   *
+   *
    * 
    * List of all released Kubernetes versions, including ones which are end of
    * life and can no longer be used.  Filter by the `enabled`
@@ -83,9 +111,11 @@ public interface AzureServerConfigOrBuilder extends
    *
    * repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2;
    */
-  java.util.List 
+  java.util.List
       getValidVersionsOrBuilderList();
   /**
+   *
+   *
    * 
    * List of all released Kubernetes versions, including ones which are end of
    * life and can no longer be used.  Filter by the `enabled`
@@ -99,43 +129,53 @@ com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfoOrBuilder getValidVersionsO
       int index);
 
   /**
+   *
+   *
    * 
    * The list of supported Azure regions.
    * 
* * repeated string supported_azure_regions = 3; + * * @return A list containing the supportedAzureRegions. */ - java.util.List - getSupportedAzureRegionsList(); + java.util.List getSupportedAzureRegionsList(); /** + * + * *
    * The list of supported Azure regions.
    * 
* * repeated string supported_azure_regions = 3; + * * @return The count of supportedAzureRegions. */ int getSupportedAzureRegionsCount(); /** + * + * *
    * The list of supported Azure regions.
    * 
* * repeated string supported_azure_regions = 3; + * * @param index The index of the element to return. * @return The supportedAzureRegions at the given index. */ java.lang.String getSupportedAzureRegions(int index); /** + * + * *
    * The list of supported Azure regions.
    * 
* * repeated string supported_azure_regions = 3; + * * @param index The index of the value to return. * @return The bytes of the supportedAzureRegions at the given index. */ - com.google.protobuf.ByteString - getSupportedAzureRegionsBytes(int index); + com.google.protobuf.ByteString getSupportedAzureRegionsBytes(int index); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java new file mode 100644 index 000000000000..318617c75e99 --- /dev/null +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java @@ -0,0 +1,597 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_service.proto + +package com.google.cloud.gkemulticloud.v1; + +public final class AzureServiceProto { + private AzureServiceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GetAzureOpenIdConfigRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GetAzureOpenIdConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GetAzureJsonWebKeysRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GetAzureJsonWebKeysRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n1google/cloud/gkemulticloud/v1/azure_se" + + "rvice.proto\022\035google.cloud.gkemulticloud." + + "v1\032\034google/api/annotations.proto\032\027google" + + "/api/client.proto\032\037google/api/field_beha" + + "vior.proto\032\031google/api/resource.proto\0323g" + + "oogle/cloud/gkemulticloud/v1/azure_resou" + + "rces.proto\0324google/cloud/gkemulticloud/v" + + "1/common_resources.proto\032#google/longrun" + + "ning/operations.proto\032\033google/protobuf/e" + + "mpty.proto\032 google/protobuf/field_mask.p" + + "roto\032\037google/protobuf/timestamp.proto\"\340\001" + + "\n\031CreateAzureClusterRequest\022B\n\006parent\030\001 " + + "\001(\tB2\342A\001\002\372A+\022)gkemulticloud.googleapis.c" + + "om/AzureCluster\022H\n\razure_cluster\030\002 \001(\0132+" + + ".google.cloud.gkemulticloud.v1.AzureClus" + + "terB\004\342A\001\002\022\036\n\020azure_cluster_id\030\003 \001(\tB\004\342A\001" + + "\002\022\025\n\rvalidate_only\030\004 \001(\010\"\263\001\n\031UpdateAzure" + + "ClusterRequest\022H\n\razure_cluster\030\001 \001(\0132+." + + "google.cloud.gkemulticloud.v1.AzureClust" + + "erB\004\342A\001\002\022\025\n\rvalidate_only\030\002 \001(\010\0225\n\013updat" + + "e_mask\030\004 \001(\0132\032.google.protobuf.FieldMask" + + "B\004\342A\001\002\"Z\n\026GetAzureClusterRequest\022@\n\004name" + + "\030\001 \001(\tB2\342A\001\002\372A+\n)gkemulticloud.googleapi" + + "s.com/AzureCluster\"\205\001\n\030ListAzureClusters" + + "Request\022B\n\006parent\030\001 \001(\tB2\342A\001\002\372A+\022)gkemul" + + "ticloud.googleapis.com/AzureCluster\022\021\n\tp" + + "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"y\n\031Li" + + "stAzureClustersResponse\022C\n\016azure_cluster" + + "s\030\001 \003(\0132+.google.cloud.gkemulticloud.v1." + + "AzureCluster\022\027\n\017next_page_token\030\002 \001(\t\"\231\001" + + "\n\031DeleteAzureClusterRequest\022@\n\004name\030\001 \001(" + + "\tB2\342A\001\002\372A+\n)gkemulticloud.googleapis.com" + + "/AzureCluster\022\025\n\rallow_missing\030\002 \001(\010\022\025\n\r" + + "validate_only\030\003 \001(\010\022\014\n\004etag\030\004 \001(\t\"\347\001\n\032Cr" + + "eateAzureNodePoolRequest\022C\n\006parent\030\001 \001(\t" + + "B3\342A\001\002\372A,\022*gkemulticloud.googleapis.com/" + + "AzureNodePool\022K\n\017azure_node_pool\030\002 \001(\0132," + + ".google.cloud.gkemulticloud.v1.AzureNode" + + "PoolB\004\342A\001\002\022 \n\022azure_node_pool_id\030\003 \001(\tB\004" + + "\342A\001\002\022\025\n\rvalidate_only\030\004 \001(\010\"\267\001\n\032UpdateAz" + + "ureNodePoolRequest\022K\n\017azure_node_pool\030\001 " + + "\001(\0132,.google.cloud.gkemulticloud.v1.Azur" + + "eNodePoolB\004\342A\001\002\022\025\n\rvalidate_only\030\002 \001(\010\0225" + + "\n\013update_mask\030\003 \001(\0132\032.google.protobuf.Fi" + + "eldMaskB\004\342A\001\002\"\\\n\027GetAzureNodePoolRequest" + + "\022A\n\004name\030\001 \001(\tB3\342A\001\002\372A,\n*gkemulticloud.g" + + "oogleapis.com/AzureNodePool\"\207\001\n\031ListAzur" + + "eNodePoolsRequest\022C\n\006parent\030\001 \001(\tB3\342A\001\002\372" + + "A,\022*gkemulticloud.googleapis.com/AzureNo" + + "dePool\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030" + + "\003 \001(\t\"}\n\032ListAzureNodePoolsResponse\022F\n\020a" + + "zure_node_pools\030\001 \003(\0132,.google.cloud.gke" + + "multicloud.v1.AzureNodePool\022\027\n\017next_page" + + "_token\030\002 \001(\t\"\233\001\n\032DeleteAzureNodePoolRequ" + + "est\022A\n\004name\030\001 \001(\tB3\342A\001\002\372A,\n*gkemulticlou" + + "d.googleapis.com/AzureNodePool\022\025\n\rvalida" + + "te_only\030\002 \001(\010\022\025\n\rallow_missing\030\003 \001(\010\022\014\n\004" + + "etag\030\004 \001(\t\"h\n\033GetAzureOpenIdConfigReques" + + "t\022I\n\razure_cluster\030\001 \001(\tB2\342A\001\002\372A+\n)gkemu" + + "lticloud.googleapis.com/AzureCluster\"g\n\032" + + "GetAzureJsonWebKeysRequest\022I\n\razure_clus" + + "ter\030\001 \001(\tB2\342A\001\002\372A+\n)gkemulticloud.google" + + "apis.com/AzureCluster\"d\n\033GetAzureServerC" + + "onfigRequest\022E\n\004name\030\001 \001(\tB7\342A\001\002\372A0\n.gke" + + "multicloud.googleapis.com/AzureServerCon" + + "fig\"\333\001\n\030CreateAzureClientRequest\022A\n\006pare" + + "nt\030\001 \001(\tB1\342A\001\002\372A*\022(gkemulticloud.googlea" + + "pis.com/AzureClient\022F\n\014azure_client\030\002 \001(" + + "\0132*.google.cloud.gkemulticloud.v1.AzureC" + + "lientB\004\342A\001\002\022\035\n\017azure_client_id\030\004 \001(\tB\004\342A" + + "\001\002\022\025\n\rvalidate_only\030\003 \001(\010\"X\n\025GetAzureCli" + + "entRequest\022?\n\004name\030\001 \001(\tB1\342A\001\002\372A*\n(gkemu" + + "lticloud.googleapis.com/AzureClient\"\203\001\n\027" + + "ListAzureClientsRequest\022A\n\006parent\030\001 \001(\tB" + + "1\342A\001\002\372A*\022(gkemulticloud.googleapis.com/A" + + "zureClient\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" + + "ken\030\003 \001(\t\"v\n\030ListAzureClientsResponse\022A\n" + + "\razure_clients\030\001 \003(\0132*.google.cloud.gkem" + + "ulticloud.v1.AzureClient\022\027\n\017next_page_to" + + "ken\030\002 \001(\t\"\211\001\n\030DeleteAzureClientRequest\022?" + + "\n\004name\030\001 \001(\tB1\342A\001\002\372A*\n(gkemulticloud.goo" + + "gleapis.com/AzureClient\022\025\n\rallow_missing" + + "\030\002 \001(\010\022\025\n\rvalidate_only\030\003 \001(\010\"l\n\037Generat" + + "eAzureAccessTokenRequest\022I\n\razure_cluste" + + "r\030\001 \001(\tB2\342A\001\002\372A+\n)gkemulticloud.googleap" + + "is.com/AzureCluster\"y\n GenerateAzureAcce" + + "ssTokenResponse\022\032\n\014access_token\030\001 \001(\tB\004\342" + + "A\001\003\0229\n\017expiration_time\030\002 \001(\0132\032.google.pr" + + "otobuf.TimestampB\004\342A\001\003\"\346\002\n%GenerateAzure" + + "ClusterAgentTokenRequest\022I\n\razure_cluste" + + "r\030\001 \001(\tB2\342A\001\002\372A+\n)gkemulticloud.googleap" + + "is.com/AzureCluster\022\033\n\rsubject_token\030\002 \001" + + "(\tB\004\342A\001\002\022 \n\022subject_token_type\030\003 \001(\tB\004\342A" + + "\001\002\022\025\n\007version\030\004 \001(\tB\004\342A\001\002\022\032\n\014node_pool_i" + + "d\030\005 \001(\tB\004\342A\001\001\022\030\n\ngrant_type\030\006 \001(\tB\004\342A\001\001\022" + + "\026\n\010audience\030\007 \001(\tB\004\342A\001\001\022\023\n\005scope\030\010 \001(\tB\004" + + "\342A\001\001\022\"\n\024requested_token_type\030\t \001(\tB\004\342A\001\001" + + "\022\025\n\007options\030\n \001(\tB\004\342A\001\001\"f\n&GenerateAzure" + + "ClusterAgentTokenResponse\022\024\n\014access_toke" + + "n\030\001 \001(\t\022\022\n\nexpires_in\030\002 \001(\005\022\022\n\ntoken_typ" + + "e\030\003 \001(\t2\314#\n\rAzureClusters\022\375\001\n\021CreateAzur" + + "eClient\0227.google.cloud.gkemulticloud.v1." + + "CreateAzureClientRequest\032\035.google.longru" + + "nning.Operation\"\217\001\312A \n\013AzureClient\022\021Oper" + + "ationMetadata\332A#parent,azure_client,azur" + + "e_client_id\202\323\344\223\002@\"0/v1/{parent=projects/" + + "*/locations/*}/azureClients:\014azure_clien" + + "t\022\263\001\n\016GetAzureClient\0224.google.cloud.gkem" + + "ulticloud.v1.GetAzureClientRequest\032*.goo" + + "gle.cloud.gkemulticloud.v1.AzureClient\"?" + + "\332A\004name\202\323\344\223\0022\0220/v1/{name=projects/*/loca" + + "tions/*/azureClients/*}\022\306\001\n\020ListAzureCli" + + "ents\0226.google.cloud.gkemulticloud.v1.Lis" + + "tAzureClientsRequest\0327.google.cloud.gkem" + + "ulticloud.v1.ListAzureClientsResponse\"A\332" + + "A\006parent\202\323\344\223\0022\0220/v1/{parent=projects/*/l" + + "ocations/*}/azureClients\022\331\001\n\021DeleteAzure" + + "Client\0227.google.cloud.gkemulticloud.v1.D" + + "eleteAzureClientRequest\032\035.google.longrun" + + "ning.Operation\"l\312A*\n\025google.protobuf.Emp" + + "ty\022\021OperationMetadata\332A\004name\202\323\344\223\0022*0/v1/" + + "{name=projects/*/locations/*/azureClient" + + "s/*}\022\204\002\n\022CreateAzureCluster\0228.google.clo" + + "ud.gkemulticloud.v1.CreateAzureClusterRe" + + "quest\032\035.google.longrunning.Operation\"\224\001\312" + + "A!\n\014AzureCluster\022\021OperationMetadata\332A%pa" + + "rent,azure_cluster,azure_cluster_id\202\323\344\223\002" + + "B\"1/v1/{parent=projects/*/locations/*}/a" + + "zureClusters:\razure_cluster\022\206\002\n\022UpdateAz" + + "ureCluster\0228.google.cloud.gkemulticloud." + + "v1.UpdateAzureClusterRequest\032\035.google.lo" + + "ngrunning.Operation\"\226\001\312A!\n\014AzureCluster\022" + + "\021OperationMetadata\332A\031azure_cluster,updat" + + "e_mask\202\323\344\223\002P2?/v1/{azure_cluster.name=pr" + + "ojects/*/locations/*/azureClusters/*}:\ra" + + "zure_cluster\022\267\001\n\017GetAzureCluster\0225.googl" + + "e.cloud.gkemulticloud.v1.GetAzureCluster" + + "Request\032+.google.cloud.gkemulticloud.v1." + + "AzureCluster\"@\332A\004name\202\323\344\223\0023\0221/v1/{name=p" + + "rojects/*/locations/*/azureClusters/*}\022\312" + + "\001\n\021ListAzureClusters\0227.google.cloud.gkem" + + "ulticloud.v1.ListAzureClustersRequest\0328." + + "google.cloud.gkemulticloud.v1.ListAzureC" + + "lustersResponse\"B\332A\006parent\202\323\344\223\0023\0221/v1/{p" + + "arent=projects/*/locations/*}/azureClust" + + "ers\022\334\001\n\022DeleteAzureCluster\0228.google.clou" + + "d.gkemulticloud.v1.DeleteAzureClusterReq" + + "uest\032\035.google.longrunning.Operation\"m\312A*" + + "\n\025google.protobuf.Empty\022\021OperationMetada" + + "ta\332A\004name\202\323\344\223\0023*1/v1/{name=projects/*/lo" + + "cations/*/azureClusters/*}\022\223\002\n\036GenerateA" + + "zureClusterAgentToken\022D.google.cloud.gke" + + "multicloud.v1.GenerateAzureClusterAgentT" + + "okenRequest\032E.google.cloud.gkemulticloud" + + ".v1.GenerateAzureClusterAgentTokenRespon" + + "se\"d\202\323\344\223\002^\"Y/v1/{azure_cluster=projects/" + + "*/locations/*/azureClusters/*}:generateA" + + "zureClusterAgentToken:\001*\022\370\001\n\030GenerateAzu" + + "reAccessToken\022>.google.cloud.gkemulticlo" + + "ud.v1.GenerateAzureAccessTokenRequest\032?." + + "google.cloud.gkemulticloud.v1.GenerateAz" + + "ureAccessTokenResponse\"[\202\323\344\223\002U\022S/v1/{azu" + + "re_cluster=projects/*/locations/*/azureC" + + "lusters/*}:generateAzureAccessToken\022\236\002\n\023" + + "CreateAzureNodePool\0229.google.cloud.gkemu" + + "lticloud.v1.CreateAzureNodePoolRequest\032\035" + + ".google.longrunning.Operation\"\254\001\312A\"\n\rAzu" + + "reNodePool\022\021OperationMetadata\332A)parent,a" + + "zure_node_pool,azure_node_pool_id\202\323\344\223\002U\"" + + "B/v1/{parent=projects/*/locations/*/azur" + + "eClusters/*}/azureNodePools:\017azure_node_" + + "pool\022\240\002\n\023UpdateAzureNodePool\0229.google.cl" + + "oud.gkemulticloud.v1.UpdateAzureNodePool" + + "Request\032\035.google.longrunning.Operation\"\256" + + "\001\312A\"\n\rAzureNodePool\022\021OperationMetadata\332A" + + "\033azure_node_pool,update_mask\202\323\344\223\002e2R/v1/" + + "{azure_node_pool.name=projects/*/locatio" + + "ns/*/azureClusters/*/azureNodePools/*}:\017" + + "azure_node_pool\022\313\001\n\020GetAzureNodePool\0226.g" + + "oogle.cloud.gkemulticloud.v1.GetAzureNod" + + "ePoolRequest\032,.google.cloud.gkemulticlou" + + "d.v1.AzureNodePool\"Q\332A\004name\202\323\344\223\002D\022B/v1/{" + + "name=projects/*/locations/*/azureCluster" + + "s/*/azureNodePools/*}\022\336\001\n\022ListAzureNodeP" + + "ools\0228.google.cloud.gkemulticloud.v1.Lis" + + "tAzureNodePoolsRequest\0329.google.cloud.gk" + + "emulticloud.v1.ListAzureNodePoolsRespons" + + "e\"S\332A\006parent\202\323\344\223\002D\022B/v1/{parent=projects" + + "/*/locations/*/azureClusters/*}/azureNod" + + "ePools\022\357\001\n\023DeleteAzureNodePool\0229.google." + + "cloud.gkemulticloud.v1.DeleteAzureNodePo" + + "olRequest\032\035.google.longrunning.Operation" + + "\"~\312A*\n\025google.protobuf.Empty\022\021OperationM" + + "etadata\332A\004name\202\323\344\223\002D*B/v1/{name=projects" + + "/*/locations/*/azureClusters/*/azureNode" + + "Pools/*}\022\371\001\n\024GetAzureOpenIdConfig\022:.goog" + + "le.cloud.gkemulticloud.v1.GetAzureOpenId" + + "ConfigRequest\0320.google.cloud.gkemulticlo" + + "ud.v1.AzureOpenIdConfig\"s\332A\razure_cluste" + + "r\202\323\344\223\002]\022[/v1/{azure_cluster=projects/*/l" + + "ocations/*/azureClusters/*}/.well-known/" + + "openid-configuration\022\332\001\n\023GetAzureJsonWeb" + + "Keys\0229.google.cloud.gkemulticloud.v1.Get" + + "AzureJsonWebKeysRequest\032/.google.cloud.g" + + "kemulticloud.v1.AzureJsonWebKeys\"W\332A\razu" + + "re_cluster\202\323\344\223\002A\022?/v1/{azure_cluster=pro" + + "jects/*/locations/*/azureClusters/*}/jwk" + + "s\022\310\001\n\024GetAzureServerConfig\022:.google.clou" + + "d.gkemulticloud.v1.GetAzureServerConfigR" + + "equest\0320.google.cloud.gkemulticloud.v1.A" + + "zureServerConfig\"B\332A\004name\202\323\344\223\0025\0223/v1/{na" + + "me=projects/*/locations/*/azureServerCon" + + "fig}\032P\312A\034gkemulticloud.googleapis.com\322A." + + "https://www.googleapis.com/auth/cloud-pl" + + "atformB\344\001\n!com.google.cloud.gkemulticlou" + + "d.v1B\021AzureServiceProtoP\001ZGcloud.google." + + "com/go/gkemulticloud/apiv1/gkemulticloud" + + "pb;gkemulticloudpb\252\002\035Google.Cloud.GkeMul" + + "tiCloud.V1\312\002\035Google\\Cloud\\GkeMultiCloud\\" + + "V1\352\002 Google::Cloud::GkeMultiCloud::V1b\006p" + + "roto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.gkemulticloud.v1.AzureResourcesProto.getDescriptor(), + com.google.cloud.gkemulticloud.v1.CommonResourcesProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_descriptor, + new java.lang.String[] { + "Parent", "AzureCluster", "AzureClusterId", "ValidateOnly", + }); + internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_descriptor, + new java.lang.String[] { + "AzureCluster", "ValidateOnly", "UpdateMask", + }); + internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_descriptor, + new java.lang.String[] { + "AzureClusters", "NextPageToken", + }); + internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_descriptor, + new java.lang.String[] { + "Name", "AllowMissing", "ValidateOnly", "Etag", + }); + internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_descriptor, + new java.lang.String[] { + "Parent", "AzureNodePool", "AzureNodePoolId", "ValidateOnly", + }); + internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_descriptor, + new java.lang.String[] { + "AzureNodePool", "ValidateOnly", "UpdateMask", + }); + internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_descriptor, + new java.lang.String[] { + "AzureNodePools", "NextPageToken", + }); + internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_descriptor, + new java.lang.String[] { + "Name", "ValidateOnly", "AllowMissing", "Etag", + }); + internal_static_google_cloud_gkemulticloud_v1_GetAzureOpenIdConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_gkemulticloud_v1_GetAzureOpenIdConfigRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GetAzureOpenIdConfigRequest_descriptor, + new java.lang.String[] { + "AzureCluster", + }); + internal_static_google_cloud_gkemulticloud_v1_GetAzureJsonWebKeysRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_gkemulticloud_v1_GetAzureJsonWebKeysRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GetAzureJsonWebKeysRequest_descriptor, + new java.lang.String[] { + "AzureCluster", + }); + internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_descriptor, + new java.lang.String[] { + "Parent", "AzureClient", "AzureClientId", "ValidateOnly", + }); + internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_descriptor, + new java.lang.String[] { + "AzureClients", "NextPageToken", + }); + internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_descriptor, + new java.lang.String[] { + "Name", "AllowMissing", "ValidateOnly", + }); + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_descriptor, + new java.lang.String[] { + "AzureCluster", + }); + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_descriptor, + new java.lang.String[] { + "AccessToken", "ExpirationTime", + }); + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenRequest_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenRequest_descriptor, + new java.lang.String[] { + "AzureCluster", + "SubjectToken", + "SubjectTokenType", + "Version", + "NodePoolId", + "GrantType", + "Audience", + "Scope", + "RequestedTokenType", + "Options", + }); + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenResponse_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenResponse_descriptor, + new java.lang.String[] { + "AccessToken", "ExpiresIn", "TokenType", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.gkemulticloud.v1.AzureResourcesProto.getDescriptor(); + com.google.cloud.gkemulticloud.v1.CommonResourcesProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthentication.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthentication.java similarity index 68% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthentication.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthentication.java index 8be3b0c579c4..f437eba1cb5f 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthentication.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthentication.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Authentication configuration for the management of Azure resources.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureServicesAuthentication} */ -public final class AzureServicesAuthentication extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AzureServicesAuthentication extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureServicesAuthentication) AzureServicesAuthenticationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AzureServicesAuthentication.newBuilder() to construct. private AzureServicesAuthentication(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AzureServicesAuthentication() { tenantId_ = ""; applicationId_ = ""; @@ -26,33 +44,38 @@ private AzureServicesAuthentication() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AzureServicesAuthentication(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.class, com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.class, + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder.class); } public static final int TENANT_ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object tenantId_ = ""; /** + * + * *
    * Required. The Azure Active Directory Tenant ID.
    * 
* * string tenant_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tenantId. */ @java.lang.Override @@ -61,29 +84,29 @@ public java.lang.String getTenantId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tenantId_ = s; return s; } } /** + * + * *
    * Required. The Azure Active Directory Tenant ID.
    * 
* * string tenant_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for tenantId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTenantIdBytes() { + public com.google.protobuf.ByteString getTenantIdBytes() { java.lang.Object ref = tenantId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tenantId_ = b; return b; } else { @@ -92,14 +115,18 @@ public java.lang.String getTenantId() { } public static final int APPLICATION_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object applicationId_ = ""; /** + * + * *
    * Required. The Azure Active Directory Application ID.
    * 
* * string application_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The applicationId. */ @java.lang.Override @@ -108,29 +135,29 @@ public java.lang.String getApplicationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); applicationId_ = s; return s; } } /** + * + * *
    * Required. The Azure Active Directory Application ID.
    * 
* * string application_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for applicationId. */ @java.lang.Override - public com.google.protobuf.ByteString - getApplicationIdBytes() { + public com.google.protobuf.ByteString getApplicationIdBytes() { java.lang.Object ref = applicationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); applicationId_ = b; return b; } else { @@ -139,6 +166,7 @@ public java.lang.String getApplicationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -150,8 +178,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tenantId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tenantId_); } @@ -181,17 +208,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication other = (com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication) obj; + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication other = + (com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication) obj; - if (!getTenantId() - .equals(other.getTenantId())) return false; - if (!getApplicationId() - .equals(other.getApplicationId())) return false; + if (!getTenantId().equals(other.getTenantId())) return false; + if (!getApplicationId().equals(other.getApplicationId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -213,131 +239,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Authentication configuration for the management of Azure resources.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureServicesAuthentication} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureServicesAuthentication) com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.class, com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.class, + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -348,13 +379,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication + getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.getDefaultInstance(); } @@ -369,13 +401,17 @@ public com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication buildPartial() { - com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication result = new com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication result = + new com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication result) { + private void buildPartial0( + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.tenantId_ = tenantId_; @@ -389,38 +425,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureServicesAuthen public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication) other); } else { super.mergeFrom(other); return this; @@ -428,7 +465,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication other) { - if (other == com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.getDefaultInstance()) return this; + if (other + == com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.getDefaultInstance()) + return this; if (!other.getTenantId().isEmpty()) { tenantId_ = other.tenantId_; bitField0_ |= 0x00000001; @@ -465,22 +504,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - tenantId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - applicationId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + tenantId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + applicationId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -490,22 +532,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object tenantId_ = ""; /** + * + * *
      * Required. The Azure Active Directory Tenant ID.
      * 
* * string tenant_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tenantId. */ public java.lang.String getTenantId() { java.lang.Object ref = tenantId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tenantId_ = s; return s; @@ -514,20 +559,21 @@ public java.lang.String getTenantId() { } } /** + * + * *
      * Required. The Azure Active Directory Tenant ID.
      * 
* * string tenant_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for tenantId. */ - public com.google.protobuf.ByteString - getTenantIdBytes() { + public com.google.protobuf.ByteString getTenantIdBytes() { java.lang.Object ref = tenantId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tenantId_ = b; return b; } else { @@ -535,28 +581,35 @@ public java.lang.String getTenantId() { } } /** + * + * *
      * Required. The Azure Active Directory Tenant ID.
      * 
* * string tenant_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The tenantId to set. * @return This builder for chaining. */ - public Builder setTenantId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTenantId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tenantId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The Azure Active Directory Tenant ID.
      * 
* * string tenant_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTenantId() { @@ -566,17 +619,21 @@ public Builder clearTenantId() { return this; } /** + * + * *
      * Required. The Azure Active Directory Tenant ID.
      * 
* * string tenant_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for tenantId to set. * @return This builder for chaining. */ - public Builder setTenantIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTenantIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tenantId_ = value; bitField0_ |= 0x00000001; @@ -586,18 +643,20 @@ public Builder setTenantIdBytes( private java.lang.Object applicationId_ = ""; /** + * + * *
      * Required. The Azure Active Directory Application ID.
      * 
* * string application_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The applicationId. */ public java.lang.String getApplicationId() { java.lang.Object ref = applicationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); applicationId_ = s; return s; @@ -606,20 +665,21 @@ public java.lang.String getApplicationId() { } } /** + * + * *
      * Required. The Azure Active Directory Application ID.
      * 
* * string application_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for applicationId. */ - public com.google.protobuf.ByteString - getApplicationIdBytes() { + public com.google.protobuf.ByteString getApplicationIdBytes() { java.lang.Object ref = applicationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); applicationId_ = b; return b; } else { @@ -627,28 +687,35 @@ public java.lang.String getApplicationId() { } } /** + * + * *
      * Required. The Azure Active Directory Application ID.
      * 
* * string application_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The applicationId to set. * @return This builder for chaining. */ - public Builder setApplicationId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setApplicationId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } applicationId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The Azure Active Directory Application ID.
      * 
* * string application_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearApplicationId() { @@ -658,26 +725,30 @@ public Builder clearApplicationId() { return this; } /** + * + * *
      * Required. The Azure Active Directory Application ID.
      * 
* * string application_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for applicationId to set. * @return This builder for chaining. */ - public Builder setApplicationIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setApplicationIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); applicationId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -687,12 +758,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureServicesAuthentication) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureServicesAuthentication) - private static final com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication DEFAULT_INSTANCE; + private static final com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication(); } @@ -701,27 +773,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureServicesAuthentication parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureServicesAuthentication parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -736,6 +808,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthenticationOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthenticationOrBuilder.java similarity index 60% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthenticationOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthenticationOrBuilder.java index 412ee6ecfef2..e4fc44b7e0bc 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthenticationOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthenticationOrBuilder.java @@ -1,49 +1,75 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureServicesAuthenticationOrBuilder extends +public interface AzureServicesAuthenticationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureServicesAuthentication) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The Azure Active Directory Tenant ID.
    * 
* * string tenant_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tenantId. */ java.lang.String getTenantId(); /** + * + * *
    * Required. The Azure Active Directory Tenant ID.
    * 
* * string tenant_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for tenantId. */ - com.google.protobuf.ByteString - getTenantIdBytes(); + com.google.protobuf.ByteString getTenantIdBytes(); /** + * + * *
    * Required. The Azure Active Directory Application ID.
    * 
* * string application_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The applicationId. */ java.lang.String getApplicationId(); /** + * + * *
    * Required. The Azure Active Directory Application ID.
    * 
* * string application_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for applicationId. */ - com.google.protobuf.ByteString - getApplicationIdBytes(); + com.google.protobuf.ByteString getApplicationIdBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfig.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfig.java similarity index 68% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfig.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfig.java index 681eee26b1f6..e12a7326aa12 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfig.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfig.java @@ -1,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * SSH configuration for Azure resources.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureSshConfig} */ -public final class AzureSshConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AzureSshConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureSshConfig) AzureSshConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AzureSshConfig.newBuilder() to construct. private AzureSshConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AzureSshConfig() { authorizedKey_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AzureSshConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureSshConfig.class, com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureSshConfig.class, + com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder.class); } public static final int AUTHORIZED_KEY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object authorizedKey_ = ""; /** + * + * *
    * Required. The SSH public key data for VMs managed by Anthos. This accepts
    * the authorized_keys file format used in OpenSSH according to the sshd(8)
@@ -54,6 +76,7 @@ protected java.lang.Object newInstance(
    * 
* * string authorized_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The authorizedKey. */ @java.lang.Override @@ -62,14 +85,15 @@ public java.lang.String getAuthorizedKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authorizedKey_ = s; return s; } } /** + * + * *
    * Required. The SSH public key data for VMs managed by Anthos. This accepts
    * the authorized_keys file format used in OpenSSH according to the sshd(8)
@@ -77,16 +101,15 @@ public java.lang.String getAuthorizedKey() {
    * 
* * string authorized_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for authorizedKey. */ @java.lang.Override - public com.google.protobuf.ByteString - getAuthorizedKeyBytes() { + public com.google.protobuf.ByteString getAuthorizedKeyBytes() { java.lang.Object ref = authorizedKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); authorizedKey_ = b; return b; } else { @@ -95,6 +118,7 @@ public java.lang.String getAuthorizedKey() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,8 +130,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authorizedKey_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, authorizedKey_); } @@ -131,15 +154,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.AzureSshConfig)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.AzureSshConfig other = (com.google.cloud.gkemulticloud.v1.AzureSshConfig) obj; + com.google.cloud.gkemulticloud.v1.AzureSshConfig other = + (com.google.cloud.gkemulticloud.v1.AzureSshConfig) obj; - if (!getAuthorizedKey() - .equals(other.getAuthorizedKey())) return false; + if (!getAuthorizedKey().equals(other.getAuthorizedKey())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -158,132 +181,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.gkemulticloud.v1.AzureSshConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.gkemulticloud.v1.AzureSshConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureSshConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureSshConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureSshConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureSshConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.AzureSshConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureSshConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.AzureSshConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureSshConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.AzureSshConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.AzureSshConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.AzureSshConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.AzureSshConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.AzureSshConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.AzureSshConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SSH configuration for Azure resources.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureSshConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureSshConfig) com.google.cloud.gkemulticloud.v1.AzureSshConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.AzureSshConfig.class, com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.AzureSshConfig.class, + com.google.cloud.gkemulticloud.v1.AzureSshConfig.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.AzureSshConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -293,9 +320,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_descriptor; } @java.lang.Override @@ -314,8 +341,11 @@ public com.google.cloud.gkemulticloud.v1.AzureSshConfig build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureSshConfig buildPartial() { - com.google.cloud.gkemulticloud.v1.AzureSshConfig result = new com.google.cloud.gkemulticloud.v1.AzureSshConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.AzureSshConfig result = + new com.google.cloud.gkemulticloud.v1.AzureSshConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -331,38 +361,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureSshConfig resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.AzureSshConfig) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureSshConfig)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureSshConfig) other); } else { super.mergeFrom(other); return this; @@ -370,7 +401,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureSshConfig other) { - if (other == com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.AzureSshConfig.getDefaultInstance()) + return this; if (!other.getAuthorizedKey().isEmpty()) { authorizedKey_ = other.authorizedKey_; bitField0_ |= 0x00000001; @@ -402,17 +434,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - authorizedKey_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + authorizedKey_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -422,10 +456,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object authorizedKey_ = ""; /** + * + * *
      * Required. The SSH public key data for VMs managed by Anthos. This accepts
      * the authorized_keys file format used in OpenSSH according to the sshd(8)
@@ -433,13 +470,13 @@ public Builder mergeFrom(
      * 
* * string authorized_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The authorizedKey. */ public java.lang.String getAuthorizedKey() { java.lang.Object ref = authorizedKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authorizedKey_ = s; return s; @@ -448,6 +485,8 @@ public java.lang.String getAuthorizedKey() { } } /** + * + * *
      * Required. The SSH public key data for VMs managed by Anthos. This accepts
      * the authorized_keys file format used in OpenSSH according to the sshd(8)
@@ -455,15 +494,14 @@ public java.lang.String getAuthorizedKey() {
      * 
* * string authorized_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for authorizedKey. */ - public com.google.protobuf.ByteString - getAuthorizedKeyBytes() { + public com.google.protobuf.ByteString getAuthorizedKeyBytes() { java.lang.Object ref = authorizedKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); authorizedKey_ = b; return b; } else { @@ -471,6 +509,8 @@ public java.lang.String getAuthorizedKey() { } } /** + * + * *
      * Required. The SSH public key data for VMs managed by Anthos. This accepts
      * the authorized_keys file format used in OpenSSH according to the sshd(8)
@@ -478,18 +518,22 @@ public java.lang.String getAuthorizedKey() {
      * 
* * string authorized_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The authorizedKey to set. * @return This builder for chaining. */ - public Builder setAuthorizedKey( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAuthorizedKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } authorizedKey_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The SSH public key data for VMs managed by Anthos. This accepts
      * the authorized_keys file format used in OpenSSH according to the sshd(8)
@@ -497,6 +541,7 @@ public Builder setAuthorizedKey(
      * 
* * string authorized_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAuthorizedKey() { @@ -506,6 +551,8 @@ public Builder clearAuthorizedKey() { return this; } /** + * + * *
      * Required. The SSH public key data for VMs managed by Anthos. This accepts
      * the authorized_keys file format used in OpenSSH according to the sshd(8)
@@ -513,21 +560,23 @@ public Builder clearAuthorizedKey() {
      * 
* * string authorized_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for authorizedKey to set. * @return This builder for chaining. */ - public Builder setAuthorizedKeyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAuthorizedKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); authorizedKey_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -537,12 +586,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureSshConfig) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureSshConfig) private static final com.google.cloud.gkemulticloud.v1.AzureSshConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureSshConfig(); } @@ -551,27 +600,27 @@ public static com.google.cloud.gkemulticloud.v1.AzureSshConfig getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AzureSshConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureSshConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -586,6 +635,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.AzureSshConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfigOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfigOrBuilder.java similarity index 58% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfigOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfigOrBuilder.java index c1bbabb0853e..4ebcd01da51c 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfigOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureSshConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface AzureSshConfigOrBuilder extends +public interface AzureSshConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureSshConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The SSH public key data for VMs managed by Anthos. This accepts
    * the authorized_keys file format used in OpenSSH according to the sshd(8)
@@ -15,10 +33,13 @@ public interface AzureSshConfigOrBuilder extends
    * 
* * string authorized_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The authorizedKey. */ java.lang.String getAuthorizedKey(); /** + * + * *
    * Required. The SSH public key data for VMs managed by Anthos. This accepts
    * the authorized_keys file format used in OpenSSH according to the sshd(8)
@@ -26,8 +47,8 @@ public interface AzureSshConfigOrBuilder extends
    * 
* * string authorized_key = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for authorizedKey. */ - com.google.protobuf.ByteString - getAuthorizedKeyBytes(); + com.google.protobuf.ByteString getAuthorizedKeyBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/BinaryAuthorization.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/BinaryAuthorization.java similarity index 65% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/BinaryAuthorization.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/BinaryAuthorization.java index 8026e1ea8a58..11c4ef79291b 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/BinaryAuthorization.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/BinaryAuthorization.java @@ -1,58 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Configuration for Binary Authorization.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.BinaryAuthorization} */ -public final class BinaryAuthorization extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BinaryAuthorization extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.BinaryAuthorization) BinaryAuthorizationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BinaryAuthorization.newBuilder() to construct. private BinaryAuthorization(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BinaryAuthorization() { evaluationMode_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BinaryAuthorization(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_BinaryAuthorization_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_BinaryAuthorization_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_BinaryAuthorization_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_BinaryAuthorization_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.BinaryAuthorization.class, com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder.class); + com.google.cloud.gkemulticloud.v1.BinaryAuthorization.class, + com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder.class); } /** + * + * *
    * Binary Authorization mode of operation.
    * 
* * Protobuf enum {@code google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode} */ - public enum EvaluationMode - implements com.google.protobuf.ProtocolMessageEnum { + public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value
      * 
@@ -61,6 +83,8 @@ public enum EvaluationMode */ EVALUATION_MODE_UNSPECIFIED(0), /** + * + * *
      * Disable BinaryAuthorization
      * 
@@ -69,6 +93,8 @@ public enum EvaluationMode */ DISABLED(1), /** + * + * *
      * Enforce Kubernetes admission requests with BinaryAuthorization using the
      * project's singleton policy.
@@ -81,6 +107,8 @@ public enum EvaluationMode
     ;
 
     /**
+     *
+     *
      * 
      * Default value
      * 
@@ -89,6 +117,8 @@ public enum EvaluationMode */ public static final int EVALUATION_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Disable BinaryAuthorization
      * 
@@ -97,6 +127,8 @@ public enum EvaluationMode */ public static final int DISABLED_VALUE = 1; /** + * + * *
      * Enforce Kubernetes admission requests with BinaryAuthorization using the
      * project's singleton policy.
@@ -106,7 +138,6 @@ public enum EvaluationMode
      */
     public static final int PROJECT_SINGLETON_POLICY_ENFORCE_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -131,49 +162,51 @@ public static EvaluationMode valueOf(int value) {
      */
     public static EvaluationMode forNumber(int value) {
       switch (value) {
-        case 0: return EVALUATION_MODE_UNSPECIFIED;
-        case 1: return DISABLED;
-        case 2: return PROJECT_SINGLETON_POLICY_ENFORCE;
-        default: return null;
+        case 0:
+          return EVALUATION_MODE_UNSPECIFIED;
+        case 1:
+          return DISABLED;
+        case 2:
+          return PROJECT_SINGLETON_POLICY_ENFORCE;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        EvaluationMode> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public EvaluationMode findValueByNumber(int number) {
-              return EvaluationMode.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public EvaluationMode findValueByNumber(int number) {
+            return EvaluationMode.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final EvaluationMode[] VALUES = values();
 
-    public static EvaluationMode valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static EvaluationMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -193,32 +226,47 @@ private EvaluationMode(int value) {
   public static final int EVALUATION_MODE_FIELD_NUMBER = 1;
   private int evaluationMode_ = 0;
   /**
+   *
+   *
    * 
    * Mode of operation for binauthz policy evaluation. If unspecified, defaults
    * to DISABLED.
    * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 1; + * .google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 1; + * + * * @return The enum numeric value on the wire for evaluationMode. */ - @java.lang.Override public int getEvaluationModeValue() { + @java.lang.Override + public int getEvaluationModeValue() { return evaluationMode_; } /** + * + * *
    * Mode of operation for binauthz policy evaluation. If unspecified, defaults
    * to DISABLED.
    * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 1; + * .google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 1; + * + * * @return The evaluationMode. */ - @java.lang.Override public com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode getEvaluationMode() { - com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode result = com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode.forNumber(evaluationMode_); - return result == null ? com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode getEvaluationMode() { + com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode result = + com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode.forNumber( + evaluationMode_); + return result == null + ? com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -230,9 +278,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (evaluationMode_ != com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode.EVALUATION_MODE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (evaluationMode_ + != com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode + .EVALUATION_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, evaluationMode_); } getUnknownFields().writeTo(output); @@ -244,9 +294,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (evaluationMode_ != com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode.EVALUATION_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, evaluationMode_); + if (evaluationMode_ + != com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode + .EVALUATION_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, evaluationMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -256,12 +308,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.BinaryAuthorization)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.BinaryAuthorization other = (com.google.cloud.gkemulticloud.v1.BinaryAuthorization) obj; + com.google.cloud.gkemulticloud.v1.BinaryAuthorization other = + (com.google.cloud.gkemulticloud.v1.BinaryAuthorization) obj; if (evaluationMode_ != other.evaluationMode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -283,131 +336,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.BinaryAuthorization parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.BinaryAuthorization parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.BinaryAuthorization parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.BinaryAuthorization parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.BinaryAuthorization parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.BinaryAuthorization parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.BinaryAuthorization parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.BinaryAuthorization parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.BinaryAuthorization parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.BinaryAuthorization parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.BinaryAuthorization parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.BinaryAuthorization parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.BinaryAuthorization parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.BinaryAuthorization parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.BinaryAuthorization prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.BinaryAuthorization prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for Binary Authorization.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.BinaryAuthorization} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.BinaryAuthorization) com.google.cloud.gkemulticloud.v1.BinaryAuthorizationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_BinaryAuthorization_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_BinaryAuthorization_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_BinaryAuthorization_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_BinaryAuthorization_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.BinaryAuthorization.class, com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder.class); + com.google.cloud.gkemulticloud.v1.BinaryAuthorization.class, + com.google.cloud.gkemulticloud.v1.BinaryAuthorization.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.BinaryAuthorization.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -417,9 +475,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_BinaryAuthorization_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_BinaryAuthorization_descriptor; } @java.lang.Override @@ -438,8 +496,11 @@ public com.google.cloud.gkemulticloud.v1.BinaryAuthorization build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.BinaryAuthorization buildPartial() { - com.google.cloud.gkemulticloud.v1.BinaryAuthorization result = new com.google.cloud.gkemulticloud.v1.BinaryAuthorization(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.BinaryAuthorization result = + new com.google.cloud.gkemulticloud.v1.BinaryAuthorization(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -455,38 +516,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.BinaryAuthorization public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.BinaryAuthorization) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.BinaryAuthorization)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.BinaryAuthorization) other); } else { super.mergeFrom(other); return this; @@ -494,7 +556,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.BinaryAuthorization other) { - if (other == com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.BinaryAuthorization.getDefaultInstance()) + return this; if (other.evaluationMode_ != 0) { setEvaluationModeValue(other.getEvaluationModeValue()); } @@ -524,17 +587,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - evaluationMode_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + evaluationMode_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -544,28 +609,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int evaluationMode_ = 0; /** + * + * *
      * Mode of operation for binauthz policy evaluation. If unspecified, defaults
      * to DISABLED.
      * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 1; + * .google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 1; + * + * * @return The enum numeric value on the wire for evaluationMode. */ - @java.lang.Override public int getEvaluationModeValue() { + @java.lang.Override + public int getEvaluationModeValue() { return evaluationMode_; } /** + * + * *
      * Mode of operation for binauthz policy evaluation. If unspecified, defaults
      * to DISABLED.
      * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 1; + * .google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 1; + * + * * @param value The enum numeric value on the wire for evaluationMode to set. * @return This builder for chaining. */ @@ -576,30 +651,44 @@ public Builder setEvaluationModeValue(int value) { return this; } /** + * + * *
      * Mode of operation for binauthz policy evaluation. If unspecified, defaults
      * to DISABLED.
      * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 1; + * .google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 1; + * + * * @return The evaluationMode. */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode getEvaluationMode() { - com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode result = com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode.forNumber(evaluationMode_); - return result == null ? com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode.UNRECOGNIZED : result; + public com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode + getEvaluationMode() { + com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode result = + com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode.forNumber( + evaluationMode_); + return result == null + ? com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode.UNRECOGNIZED + : result; } /** + * + * *
      * Mode of operation for binauthz policy evaluation. If unspecified, defaults
      * to DISABLED.
      * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 1; + * .google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 1; + * + * * @param value The evaluationMode to set. * @return This builder for chaining. */ - public Builder setEvaluationMode(com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode value) { + public Builder setEvaluationMode( + com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode value) { if (value == null) { throw new NullPointerException(); } @@ -609,12 +698,16 @@ public Builder setEvaluationMode(com.google.cloud.gkemulticloud.v1.BinaryAuthori return this; } /** + * + * *
      * Mode of operation for binauthz policy evaluation. If unspecified, defaults
      * to DISABLED.
      * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 1; + * .google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 1; + * + * * @return This builder for chaining. */ public Builder clearEvaluationMode() { @@ -623,9 +716,9 @@ public Builder clearEvaluationMode() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -635,12 +728,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.BinaryAuthorization) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.BinaryAuthorization) private static final com.google.cloud.gkemulticloud.v1.BinaryAuthorization DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.BinaryAuthorization(); } @@ -649,27 +742,27 @@ public static com.google.cloud.gkemulticloud.v1.BinaryAuthorization getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BinaryAuthorization parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BinaryAuthorization parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -684,6 +777,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.BinaryAuthorization getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/BinaryAuthorizationOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/BinaryAuthorizationOrBuilder.java similarity index 54% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/BinaryAuthorizationOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/BinaryAuthorizationOrBuilder.java index 1698c4c521e0..b373a21d2d32 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/BinaryAuthorizationOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/BinaryAuthorizationOrBuilder.java @@ -1,29 +1,53 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface BinaryAuthorizationOrBuilder extends +public interface BinaryAuthorizationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.BinaryAuthorization) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Mode of operation for binauthz policy evaluation. If unspecified, defaults
    * to DISABLED.
    * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 1; + * .google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 1; + * + * * @return The enum numeric value on the wire for evaluationMode. */ int getEvaluationModeValue(); /** + * + * *
    * Mode of operation for binauthz policy evaluation. If unspecified, defaults
    * to DISABLED.
    * 
* - * .google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 1; + * .google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 1; + * + * * @return The evaluationMode. */ com.google.cloud.gkemulticloud.v1.BinaryAuthorization.EvaluationMode getEvaluationMode(); diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java new file mode 100644 index 000000000000..1992f0efd929 --- /dev/null +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java @@ -0,0 +1,242 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/common_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public final class CommonResourcesProto { + private CommonResourcesProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_Jwk_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_Jwk_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_NodeTaint_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_NodeTaint_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_Fleet_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_Fleet_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_BinaryAuthorization_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_BinaryAuthorization_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n4google/cloud/gkemulticloud/v1/common_r" + + "esources.proto\022\035google.cloud.gkemulticlo" + + "ud.v1\032\037google/api/field_behavior.proto\032\037" + + "google/protobuf/timestamp.proto\"r\n\003Jwk\022\013" + + "\n\003kty\030\001 \001(\t\022\013\n\003alg\030\002 \001(\t\022\013\n\003use\030\003 \001(\t\022\013\n" + + "\003kid\030\004 \001(\t\022\t\n\001n\030\005 \001(\t\022\t\n\001e\030\006 \001(\t\022\t\n\001x\030\007 " + + "\001(\t\022\t\n\001y\030\010 \001(\t\022\013\n\003crv\030\t \001(\t\"^\n\026WorkloadI" + + "dentityConfig\022\022\n\nissuer_uri\030\001 \001(\t\022\025\n\rwor" + + "kload_pool\030\002 \001(\t\022\031\n\021identity_provider\030\003 " + + "\001(\t\"4\n\021MaxPodsConstraint\022\037\n\021max_pods_per" + + "_node\030\001 \001(\003B\004\342A\001\002\"\207\002\n\021OperationMetadata\022" + + "5\n\013create_time\030\001 \001(\0132\032.google.protobuf.T" + + "imestampB\004\342A\001\003\0222\n\010end_time\030\002 \001(\0132\032.googl" + + "e.protobuf.TimestampB\004\342A\001\003\022\024\n\006target\030\003 \001" + + "(\tB\004\342A\001\003\022\033\n\rstatus_detail\030\004 \001(\tB\004\342A\001\003\022\032\n" + + "\014error_detail\030\005 \001(\tB\004\342A\001\003\022\022\n\004verb\030\007 \001(\tB" + + "\004\342A\001\003\022$\n\026requested_cancellation\030\006 \001(\010B\004\342" + + "A\001\003\"\325\001\n\tNodeTaint\022\021\n\003key\030\001 \001(\tB\004\342A\001\002\022\023\n\005" + + "value\030\002 \001(\tB\004\342A\001\002\022E\n\006effect\030\003 \001(\0162/.goog" + + "le.cloud.gkemulticloud.v1.NodeTaint.Effe" + + "ctB\004\342A\001\002\"Y\n\006Effect\022\026\n\022EFFECT_UNSPECIFIED" + + "\020\000\022\017\n\013NO_SCHEDULE\020\001\022\026\n\022PREFER_NO_SCHEDUL" + + "E\020\002\022\016\n\nNO_EXECUTE\020\003\"8\n\005Fleet\022\025\n\007project\030" + + "\001 \001(\tB\004\342A\001\002\022\030\n\nmembership\030\002 \001(\tB\004\342A\001\003\"`\n" + + "\rLoggingConfig\022O\n\020component_config\030\001 \001(\013" + + "25.google.cloud.gkemulticloud.v1.Logging" + + "ComponentConfig\"\302\001\n\026LoggingComponentConf" + + "ig\022Z\n\021enable_components\030\001 \003(\0162?.google.c" + + "loud.gkemulticloud.v1.LoggingComponentCo" + + "nfig.Component\"L\n\tComponent\022\031\n\025COMPONENT" + + "_UNSPECIFIED\020\000\022\025\n\021SYSTEM_COMPONENTS\020\001\022\r\n" + + "\tWORKLOADS\020\002\"m\n\020MonitoringConfig\022Y\n\031mana" + + "ged_prometheus_config\030\002 \001(\01326.google.clo" + + "ud.gkemulticloud.v1.ManagedPrometheusCon" + + "fig\"*\n\027ManagedPrometheusConfig\022\017\n\007enable" + + "d\030\001 \001(\010\"\330\001\n\023BinaryAuthorization\022Z\n\017evalu" + + "ation_mode\030\001 \001(\0162A.google.cloud.gkemulti" + + "cloud.v1.BinaryAuthorization.EvaluationM" + + "ode\"e\n\016EvaluationMode\022\037\n\033EVALUATION_MODE" + + "_UNSPECIFIED\020\000\022\014\n\010DISABLED\020\001\022$\n PROJECT_" + + "SINGLETON_POLICY_ENFORCE\020\002B\347\001\n!com.googl" + + "e.cloud.gkemulticloud.v1B\024CommonResource" + + "sProtoP\001ZGcloud.google.com/go/gkemulticl" + + "oud/apiv1/gkemulticloudpb;gkemulticloudp" + + "b\252\002\035Google.Cloud.GkeMultiCloud.V1\312\002\035Goog" + + "le\\Cloud\\GkeMultiCloud\\V1\352\002 Google::Clou" + + "d::GkeMultiCloud::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_gkemulticloud_v1_Jwk_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_gkemulticloud_v1_Jwk_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_Jwk_descriptor, + new java.lang.String[] { + "Kty", "Alg", "Use", "Kid", "N", "E", "X", "Y", "Crv", + }); + internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_descriptor, + new java.lang.String[] { + "IssuerUri", "WorkloadPool", "IdentityProvider", + }); + internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_descriptor, + new java.lang.String[] { + "MaxPodsPerNode", + }); + internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_descriptor, + new java.lang.String[] { + "CreateTime", + "EndTime", + "Target", + "StatusDetail", + "ErrorDetail", + "Verb", + "RequestedCancellation", + }); + internal_static_google_cloud_gkemulticloud_v1_NodeTaint_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_gkemulticloud_v1_NodeTaint_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_NodeTaint_descriptor, + new java.lang.String[] { + "Key", "Value", "Effect", + }); + internal_static_google_cloud_gkemulticloud_v1_Fleet_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_gkemulticloud_v1_Fleet_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_Fleet_descriptor, + new java.lang.String[] { + "Project", "Membership", + }); + internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_descriptor, + new java.lang.String[] { + "ComponentConfig", + }); + internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_descriptor, + new java.lang.String[] { + "EnableComponents", + }); + internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_descriptor, + new java.lang.String[] { + "ManagedPrometheusConfig", + }); + internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_descriptor, + new java.lang.String[] { + "Enabled", + }); + internal_static_google_cloud_gkemulticloud_v1_BinaryAuthorization_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_gkemulticloud_v1_BinaryAuthorization_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_BinaryAuthorization_descriptor, + new java.lang.String[] { + "EvaluationMode", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAttachedClusterRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAttachedClusterRequest.java similarity index 68% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAttachedClusterRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAttachedClusterRequest.java index d73f01fe1eae..719ee56eff62 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAttachedClusterRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAttachedClusterRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Request message for `AttachedClusters.CreateAttachedCluster` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest} */ -public final class CreateAttachedClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateAttachedClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest) CreateAttachedClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateAttachedClusterRequest.newBuilder() to construct. private CreateAttachedClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateAttachedClusterRequest() { parent_ = ""; attachedClusterId_ = ""; @@ -26,28 +44,32 @@ private CreateAttachedClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateAttachedClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAttachedClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_CreateAttachedClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAttachedClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_CreateAttachedClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest.class, com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest.class, + com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent location where this
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -59,7 +81,10 @@ protected java.lang.Object newInstance(
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -68,14 +93,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent location where this
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -87,17 +113,18 @@ public java.lang.String getParent() {
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -108,12 +135,17 @@ public java.lang.String getParent() { public static final int ATTACHED_CLUSTER_FIELD_NUMBER = 2; private com.google.cloud.gkemulticloud.v1.AttachedCluster attachedCluster_; /** + * + * *
    * Required. The specification of the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the attachedCluster field is set. */ @java.lang.Override @@ -121,35 +153,51 @@ public boolean hasAttachedCluster() { return attachedCluster_ != null; } /** + * + * *
    * Required. The specification of the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The attachedCluster. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedCluster getAttachedCluster() { - return attachedCluster_ == null ? com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance() : attachedCluster_; + return attachedCluster_ == null + ? com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance() + : attachedCluster_; } /** + * + * *
    * Required. The specification of the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder getAttachedClusterOrBuilder() { - return attachedCluster_ == null ? com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance() : attachedCluster_; + return attachedCluster_ == null + ? com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance() + : attachedCluster_; } public static final int ATTACHED_CLUSTER_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object attachedClusterId_ = ""; /** + * + * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -163,6 +211,7 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder getAttachedClu
    * 
* * string attached_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The attachedClusterId. */ @java.lang.Override @@ -171,14 +220,15 @@ public java.lang.String getAttachedClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attachedClusterId_ = s; return s; } } /** + * + * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -192,16 +242,15 @@ public java.lang.String getAttachedClusterId() {
    * 
* * string attached_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for attachedClusterId. */ @java.lang.Override - public com.google.protobuf.ByteString - getAttachedClusterIdBytes() { + public com.google.protobuf.ByteString getAttachedClusterIdBytes() { java.lang.Object ref = attachedClusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); attachedClusterId_ = b; return b; } else { @@ -212,11 +261,14 @@ public java.lang.String getAttachedClusterId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * If set, only validate the request, but do not actually create the cluster.
    * 
* * bool validate_only = 4; + * * @return The validateOnly. */ @java.lang.Override @@ -225,6 +277,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,8 +289,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -263,15 +315,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (attachedCluster_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAttachedCluster()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAttachedCluster()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attachedClusterId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, attachedClusterId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -281,24 +331,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest other = (com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest) obj; + com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest other = + (com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasAttachedCluster() != other.hasAttachedCluster()) return false; if (hasAttachedCluster()) { - if (!getAttachedCluster() - .equals(other.getAttachedCluster())) return false; + if (!getAttachedCluster().equals(other.getAttachedCluster())) return false; } - if (!getAttachedClusterId() - .equals(other.getAttachedClusterId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getAttachedClusterId().equals(other.getAttachedClusterId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -319,139 +366,143 @@ public int hashCode() { hash = (37 * hash) + ATTACHED_CLUSTER_ID_FIELD_NUMBER; hash = (53 * hash) + getAttachedClusterId().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AttachedClusters.CreateAttachedCluster` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest) com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAttachedClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_CreateAttachedClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAttachedClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_CreateAttachedClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest.class, com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest.class, + com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -468,13 +519,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAttachedClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_CreateAttachedClusterRequest_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest + getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest.getDefaultInstance(); } @@ -489,21 +541,24 @@ public com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest result = new com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest result = + new com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest result) { + private void buildPartial0( + com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.attachedCluster_ = attachedClusterBuilder_ == null - ? attachedCluster_ - : attachedClusterBuilder_.build(); + result.attachedCluster_ = + attachedClusterBuilder_ == null ? attachedCluster_ : attachedClusterBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.attachedClusterId_ = attachedClusterId_; @@ -517,38 +572,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.CreateAttachedClust public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -556,7 +612,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -599,34 +657,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getAttachedClusterFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - attachedClusterId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getAttachedClusterFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + attachedClusterId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -636,10 +697,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent location where this
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -651,14 +715,16 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -667,6 +733,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location where this
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -678,16 +746,17 @@ public java.lang.String getParent() {
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -695,6 +764,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location where this
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -706,19 +777,25 @@ public java.lang.String getParent() {
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent location where this
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -730,7 +807,10 @@ public Builder setParent(
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -740,6 +820,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent location where this
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -751,13 +833,17 @@ public Builder clearParent() {
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -767,42 +853,61 @@ public Builder setParentBytes( private com.google.cloud.gkemulticloud.v1.AttachedCluster attachedCluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedCluster, com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder> attachedClusterBuilder_; + com.google.cloud.gkemulticloud.v1.AttachedCluster, + com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder, + com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder> + attachedClusterBuilder_; /** + * + * *
      * Required. The specification of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the attachedCluster field is set. */ public boolean hasAttachedCluster() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The specification of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The attachedCluster. */ public com.google.cloud.gkemulticloud.v1.AttachedCluster getAttachedCluster() { if (attachedClusterBuilder_ == null) { - return attachedCluster_ == null ? com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance() : attachedCluster_; + return attachedCluster_ == null + ? com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance() + : attachedCluster_; } else { return attachedClusterBuilder_.getMessage(); } } /** + * + * *
      * Required. The specification of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAttachedCluster(com.google.cloud.gkemulticloud.v1.AttachedCluster value) { if (attachedClusterBuilder_ == null) { @@ -818,12 +923,16 @@ public Builder setAttachedCluster(com.google.cloud.gkemulticloud.v1.AttachedClus return this; } /** + * + * *
      * Required. The specification of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAttachedCluster( com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder builderForValue) { @@ -837,18 +946,23 @@ public Builder setAttachedCluster( return this; } /** + * + * *
      * Required. The specification of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAttachedCluster(com.google.cloud.gkemulticloud.v1.AttachedCluster value) { if (attachedClusterBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - attachedCluster_ != null && - attachedCluster_ != com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && attachedCluster_ != null + && attachedCluster_ + != com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance()) { getAttachedClusterBuilder().mergeFrom(value); } else { attachedCluster_ = value; @@ -861,12 +975,16 @@ public Builder mergeAttachedCluster(com.google.cloud.gkemulticloud.v1.AttachedCl return this; } /** + * + * *
      * Required. The specification of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAttachedCluster() { bitField0_ = (bitField0_ & ~0x00000002); @@ -879,12 +997,16 @@ public Builder clearAttachedCluster() { return this; } /** + * + * *
      * Required. The specification of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder getAttachedClusterBuilder() { bitField0_ |= 0x00000002; @@ -892,38 +1014,51 @@ public com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder getAttachedClus return getAttachedClusterFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The specification of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder getAttachedClusterOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder + getAttachedClusterOrBuilder() { if (attachedClusterBuilder_ != null) { return attachedClusterBuilder_.getMessageOrBuilder(); } else { - return attachedCluster_ == null ? - com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance() : attachedCluster_; + return attachedCluster_ == null + ? com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance() + : attachedCluster_; } } /** + * + * *
      * Required. The specification of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedCluster, com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder> + com.google.cloud.gkemulticloud.v1.AttachedCluster, + com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder, + com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder> getAttachedClusterFieldBuilder() { if (attachedClusterBuilder_ == null) { - attachedClusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedCluster, com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder>( - getAttachedCluster(), - getParentForChildren(), - isClean()); + attachedClusterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AttachedCluster, + com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder, + com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder>( + getAttachedCluster(), getParentForChildren(), isClean()); attachedCluster_ = null; } return attachedClusterBuilder_; @@ -931,6 +1066,8 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder getAttachedClu private java.lang.Object attachedClusterId_ = ""; /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -944,13 +1081,13 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder getAttachedClu
      * 
* * string attached_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The attachedClusterId. */ public java.lang.String getAttachedClusterId() { java.lang.Object ref = attachedClusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attachedClusterId_ = s; return s; @@ -959,6 +1096,8 @@ public java.lang.String getAttachedClusterId() { } } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -972,15 +1111,14 @@ public java.lang.String getAttachedClusterId() {
      * 
* * string attached_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for attachedClusterId. */ - public com.google.protobuf.ByteString - getAttachedClusterIdBytes() { + public com.google.protobuf.ByteString getAttachedClusterIdBytes() { java.lang.Object ref = attachedClusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); attachedClusterId_ = b; return b; } else { @@ -988,6 +1126,8 @@ public java.lang.String getAttachedClusterId() { } } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1001,18 +1141,22 @@ public java.lang.String getAttachedClusterId() {
      * 
* * string attached_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The attachedClusterId to set. * @return This builder for chaining. */ - public Builder setAttachedClusterId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAttachedClusterId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } attachedClusterId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1026,6 +1170,7 @@ public Builder setAttachedClusterId(
      * 
* * string attached_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAttachedClusterId() { @@ -1035,6 +1180,8 @@ public Builder clearAttachedClusterId() { return this; } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1048,12 +1195,14 @@ public Builder clearAttachedClusterId() {
      * 
* * string attached_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for attachedClusterId to set. * @return This builder for chaining. */ - public Builder setAttachedClusterIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAttachedClusterIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); attachedClusterId_ = value; bitField0_ |= 0x00000004; @@ -1061,13 +1210,16 @@ public Builder setAttachedClusterIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * If set, only validate the request, but do not actually create the cluster.
      * 
* * bool validate_only = 4; + * * @return The validateOnly. */ @java.lang.Override @@ -1075,11 +1227,14 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * If set, only validate the request, but do not actually create the cluster.
      * 
* * bool validate_only = 4; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1091,11 +1246,14 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * If set, only validate the request, but do not actually create the cluster.
      * 
* * bool validate_only = 4; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1104,9 +1262,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1116,41 +1274,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest) - private static final com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest DEFAULT_INSTANCE; + private static final com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest(); } - public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAttachedClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAttachedClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1162,9 +1322,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAttachedClusterRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAttachedClusterRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAttachedClusterRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAttachedClusterRequestOrBuilder.java index 18031ed9a8d2..fbe1f6962d1c 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAttachedClusterRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAttachedClusterRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; -public interface CreateAttachedClusterRequestOrBuilder extends +public interface CreateAttachedClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent location where this
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -19,11 +37,16 @@ public interface CreateAttachedClusterRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent location where this
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -35,43 +58,61 @@ public interface CreateAttachedClusterRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The specification of the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the attachedCluster field is set. */ boolean hasAttachedCluster(); /** + * + * *
    * Required. The specification of the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The attachedCluster. */ com.google.cloud.gkemulticloud.v1.AttachedCluster getAttachedCluster(); /** + * + * *
    * Required. The specification of the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder getAttachedClusterOrBuilder(); /** + * + * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -85,10 +126,13 @@ public interface CreateAttachedClusterRequestOrBuilder extends
    * 
* * string attached_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The attachedClusterId. */ java.lang.String getAttachedClusterId(); /** + * + * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -102,17 +146,20 @@ public interface CreateAttachedClusterRequestOrBuilder extends
    * 
* * string attached_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for attachedClusterId. */ - com.google.protobuf.ByteString - getAttachedClusterIdBytes(); + com.google.protobuf.ByteString getAttachedClusterIdBytes(); /** + * + * *
    * If set, only validate the request, but do not actually create the cluster.
    * 
* * bool validate_only = 4; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequest.java similarity index 68% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequest.java index fd5d0044c8f2..0dd2c9027fa2 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Request message for `AwsClusters.CreateAwsCluster` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.CreateAwsClusterRequest} */ -public final class CreateAwsClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateAwsClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.CreateAwsClusterRequest) CreateAwsClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateAwsClusterRequest.newBuilder() to construct. private CreateAwsClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateAwsClusterRequest() { parent_ = ""; awsClusterId_ = ""; @@ -26,28 +44,32 @@ private CreateAwsClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateAwsClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest.class, com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest.class, + com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent location where this
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will be
@@ -59,7 +81,10 @@ protected java.lang.Object newInstance(
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -68,14 +93,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent location where this
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will be
@@ -87,17 +113,18 @@ public java.lang.String getParent() {
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -108,12 +135,17 @@ public java.lang.String getParent() { public static final int AWS_CLUSTER_FIELD_NUMBER = 2; private com.google.cloud.gkemulticloud.v1.AwsCluster awsCluster_; /** + * + * *
    * Required. The specification of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the awsCluster field is set. */ @java.lang.Override @@ -121,35 +153,51 @@ public boolean hasAwsCluster() { return awsCluster_ != null; } /** + * + * *
    * Required. The specification of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The awsCluster. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsCluster getAwsCluster() { - return awsCluster_ == null ? com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance() : awsCluster_; + return awsCluster_ == null + ? com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance() + : awsCluster_; } /** + * + * *
    * Required. The specification of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClusterOrBuilder() { - return awsCluster_ == null ? com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance() : awsCluster_; + return awsCluster_ == null + ? com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance() + : awsCluster_; } public static final int AWS_CLUSTER_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object awsClusterId_ = ""; /** + * + * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -163,6 +211,7 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClusterOrBuil
    * 
* * string aws_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The awsClusterId. */ @java.lang.Override @@ -171,14 +220,15 @@ public java.lang.String getAwsClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); awsClusterId_ = s; return s; } } /** + * + * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -192,16 +242,15 @@ public java.lang.String getAwsClusterId() {
    * 
* * string aws_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for awsClusterId. */ @java.lang.Override - public com.google.protobuf.ByteString - getAwsClusterIdBytes() { + public com.google.protobuf.ByteString getAwsClusterIdBytes() { java.lang.Object ref = awsClusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); awsClusterId_ = b; return b; } else { @@ -212,11 +261,14 @@ public java.lang.String getAwsClusterId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * If set, only validate the request, but do not actually create the cluster.
    * 
* * bool validate_only = 4; + * * @return The validateOnly. */ @java.lang.Override @@ -225,6 +277,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,8 +289,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -263,15 +315,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (awsCluster_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAwsCluster()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAwsCluster()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsClusterId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, awsClusterId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -281,24 +331,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest other = (com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest) obj; + com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest other = + (com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasAwsCluster() != other.hasAwsCluster()) return false; if (hasAwsCluster()) { - if (!getAwsCluster() - .equals(other.getAwsCluster())) return false; + if (!getAwsCluster().equals(other.getAwsCluster())) return false; } - if (!getAwsClusterId() - .equals(other.getAwsClusterId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getAwsClusterId().equals(other.getAwsClusterId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -319,139 +366,143 @@ public int hashCode() { hash = (37 * hash) + AWS_CLUSTER_ID_FIELD_NUMBER; hash = (53 * hash) + getAwsClusterId().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AwsClusters.CreateAwsCluster` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.CreateAwsClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.CreateAwsClusterRequest) com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest.class, com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest.class, + com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -468,9 +519,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_descriptor; } @java.lang.Override @@ -489,8 +540,11 @@ public com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest result = new com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest result = + new com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -501,9 +555,7 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.CreateAwsClusterReq result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.awsCluster_ = awsClusterBuilder_ == null - ? awsCluster_ - : awsClusterBuilder_.build(); + result.awsCluster_ = awsClusterBuilder_ == null ? awsCluster_ : awsClusterBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.awsClusterId_ = awsClusterId_; @@ -517,38 +569,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.CreateAwsClusterReq public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -556,7 +609,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -599,34 +653,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getAwsClusterFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - awsClusterId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getAwsClusterFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + awsClusterId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -636,10 +693,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent location where this
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will be
@@ -651,14 +711,16 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -667,6 +729,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location where this
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will be
@@ -678,16 +742,17 @@ public java.lang.String getParent() {
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -695,6 +760,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location where this
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will be
@@ -706,19 +773,25 @@ public java.lang.String getParent() {
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent location where this
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will be
@@ -730,7 +803,10 @@ public Builder setParent(
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -740,6 +816,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent location where this
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will be
@@ -751,13 +829,17 @@ public Builder clearParent() {
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -767,42 +849,61 @@ public Builder setParentBytes( private com.google.cloud.gkemulticloud.v1.AwsCluster awsCluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsCluster, com.google.cloud.gkemulticloud.v1.AwsCluster.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder> awsClusterBuilder_; + com.google.cloud.gkemulticloud.v1.AwsCluster, + com.google.cloud.gkemulticloud.v1.AwsCluster.Builder, + com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder> + awsClusterBuilder_; /** + * + * *
      * Required. The specification of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the awsCluster field is set. */ public boolean hasAwsCluster() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The specification of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The awsCluster. */ public com.google.cloud.gkemulticloud.v1.AwsCluster getAwsCluster() { if (awsClusterBuilder_ == null) { - return awsCluster_ == null ? com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance() : awsCluster_; + return awsCluster_ == null + ? com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance() + : awsCluster_; } else { return awsClusterBuilder_.getMessage(); } } /** + * + * *
      * Required. The specification of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAwsCluster(com.google.cloud.gkemulticloud.v1.AwsCluster value) { if (awsClusterBuilder_ == null) { @@ -818,12 +919,16 @@ public Builder setAwsCluster(com.google.cloud.gkemulticloud.v1.AwsCluster value) return this; } /** + * + * *
      * Required. The specification of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAwsCluster( com.google.cloud.gkemulticloud.v1.AwsCluster.Builder builderForValue) { @@ -837,18 +942,22 @@ public Builder setAwsCluster( return this; } /** + * + * *
      * Required. The specification of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAwsCluster(com.google.cloud.gkemulticloud.v1.AwsCluster value) { if (awsClusterBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - awsCluster_ != null && - awsCluster_ != com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && awsCluster_ != null + && awsCluster_ != com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance()) { getAwsClusterBuilder().mergeFrom(value); } else { awsCluster_ = value; @@ -861,12 +970,16 @@ public Builder mergeAwsCluster(com.google.cloud.gkemulticloud.v1.AwsCluster valu return this; } /** + * + * *
      * Required. The specification of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAwsCluster() { bitField0_ = (bitField0_ & ~0x00000002); @@ -879,12 +992,16 @@ public Builder clearAwsCluster() { return this; } /** + * + * *
      * Required. The specification of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AwsCluster.Builder getAwsClusterBuilder() { bitField0_ |= 0x00000002; @@ -892,38 +1009,50 @@ public com.google.cloud.gkemulticloud.v1.AwsCluster.Builder getAwsClusterBuilder return getAwsClusterFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The specification of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClusterOrBuilder() { if (awsClusterBuilder_ != null) { return awsClusterBuilder_.getMessageOrBuilder(); } else { - return awsCluster_ == null ? - com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance() : awsCluster_; + return awsCluster_ == null + ? com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance() + : awsCluster_; } } /** + * + * *
      * Required. The specification of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsCluster, com.google.cloud.gkemulticloud.v1.AwsCluster.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsCluster, + com.google.cloud.gkemulticloud.v1.AwsCluster.Builder, + com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder> getAwsClusterFieldBuilder() { if (awsClusterBuilder_ == null) { - awsClusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsCluster, com.google.cloud.gkemulticloud.v1.AwsCluster.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder>( - getAwsCluster(), - getParentForChildren(), - isClean()); + awsClusterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsCluster, + com.google.cloud.gkemulticloud.v1.AwsCluster.Builder, + com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder>( + getAwsCluster(), getParentForChildren(), isClean()); awsCluster_ = null; } return awsClusterBuilder_; @@ -931,6 +1060,8 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClusterOrBuil private java.lang.Object awsClusterId_ = ""; /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -944,13 +1075,13 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClusterOrBuil
      * 
* * string aws_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The awsClusterId. */ public java.lang.String getAwsClusterId() { java.lang.Object ref = awsClusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); awsClusterId_ = s; return s; @@ -959,6 +1090,8 @@ public java.lang.String getAwsClusterId() { } } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -972,15 +1105,14 @@ public java.lang.String getAwsClusterId() {
      * 
* * string aws_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for awsClusterId. */ - public com.google.protobuf.ByteString - getAwsClusterIdBytes() { + public com.google.protobuf.ByteString getAwsClusterIdBytes() { java.lang.Object ref = awsClusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); awsClusterId_ = b; return b; } else { @@ -988,6 +1120,8 @@ public java.lang.String getAwsClusterId() { } } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1001,18 +1135,22 @@ public java.lang.String getAwsClusterId() {
      * 
* * string aws_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The awsClusterId to set. * @return This builder for chaining. */ - public Builder setAwsClusterId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAwsClusterId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } awsClusterId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1026,6 +1164,7 @@ public Builder setAwsClusterId(
      * 
* * string aws_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAwsClusterId() { @@ -1035,6 +1174,8 @@ public Builder clearAwsClusterId() { return this; } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1048,12 +1189,14 @@ public Builder clearAwsClusterId() {
      * 
* * string aws_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for awsClusterId to set. * @return This builder for chaining. */ - public Builder setAwsClusterIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAwsClusterIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); awsClusterId_ = value; bitField0_ |= 0x00000004; @@ -1061,13 +1204,16 @@ public Builder setAwsClusterIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * If set, only validate the request, but do not actually create the cluster.
      * 
* * bool validate_only = 4; + * * @return The validateOnly. */ @java.lang.Override @@ -1075,11 +1221,14 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * If set, only validate the request, but do not actually create the cluster.
      * 
* * bool validate_only = 4; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1091,11 +1240,14 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * If set, only validate the request, but do not actually create the cluster.
      * 
* * bool validate_only = 4; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1104,9 +1256,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1116,12 +1268,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.CreateAwsClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.CreateAwsClusterRequest) private static final com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest(); } @@ -1130,27 +1282,27 @@ public static com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAwsClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAwsClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1165,6 +1317,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequestOrBuilder.java index ad3054535061..8900a166d01e 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsClusterRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface CreateAwsClusterRequestOrBuilder extends +public interface CreateAwsClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.CreateAwsClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent location where this
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will be
@@ -19,11 +37,16 @@ public interface CreateAwsClusterRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent location where this
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will be
@@ -35,43 +58,61 @@ public interface CreateAwsClusterRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The specification of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the awsCluster field is set. */ boolean hasAwsCluster(); /** + * + * *
    * Required. The specification of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The awsCluster. */ com.google.cloud.gkemulticloud.v1.AwsCluster getAwsCluster(); /** + * + * *
    * Required. The specification of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClusterOrBuilder(); /** + * + * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -85,10 +126,13 @@ public interface CreateAwsClusterRequestOrBuilder extends
    * 
* * string aws_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The awsClusterId. */ java.lang.String getAwsClusterId(); /** + * + * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -102,17 +146,20 @@ public interface CreateAwsClusterRequestOrBuilder extends
    * 
* * string aws_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for awsClusterId. */ - com.google.protobuf.ByteString - getAwsClusterIdBytes(); + com.google.protobuf.ByteString getAwsClusterIdBytes(); /** + * + * *
    * If set, only validate the request, but do not actually create the cluster.
    * 
* * bool validate_only = 4; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequest.java similarity index 68% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequest.java index b2fe0f46b959..9789aaa08088 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Response message for `AwsClusters.CreateAwsNodePool` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest} */ -public final class CreateAwsNodePoolRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateAwsNodePoolRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest) CreateAwsNodePoolRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateAwsNodePoolRequest.newBuilder() to construct. private CreateAwsNodePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateAwsNodePoolRequest() { parent_ = ""; awsNodePoolId_ = ""; @@ -26,28 +44,32 @@ private CreateAwsNodePoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateAwsNodePoolRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest.class, com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest.class, + com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
    * resource where this node pool will be created.
@@ -59,7 +81,10 @@ protected java.lang.Object newInstance(
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -68,14 +93,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
    * resource where this node pool will be created.
@@ -87,17 +113,18 @@ public java.lang.String getParent() {
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -108,12 +135,17 @@ public java.lang.String getParent() { public static final int AWS_NODE_POOL_FIELD_NUMBER = 2; private com.google.cloud.gkemulticloud.v1.AwsNodePool awsNodePool_; /** + * + * *
    * Required. The specification of the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the awsNodePool field is set. */ @java.lang.Override @@ -121,35 +153,51 @@ public boolean hasAwsNodePool() { return awsNodePool_ != null; } /** + * + * *
    * Required. The specification of the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The awsNodePool. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsNodePool getAwsNodePool() { - return awsNodePool_ == null ? com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance() : awsNodePool_; + return awsNodePool_ == null + ? com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance() + : awsNodePool_; } /** + * + * *
    * Required. The specification of the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolOrBuilder() { - return awsNodePool_ == null ? com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance() : awsNodePool_; + return awsNodePool_ == null + ? com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance() + : awsNodePool_; } public static final int AWS_NODE_POOL_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object awsNodePoolId_ = ""; /** + * + * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -163,6 +211,7 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolOrBu
    * 
* * string aws_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The awsNodePoolId. */ @java.lang.Override @@ -171,14 +220,15 @@ public java.lang.String getAwsNodePoolId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); awsNodePoolId_ = s; return s; } } /** + * + * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -192,16 +242,15 @@ public java.lang.String getAwsNodePoolId() {
    * 
* * string aws_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for awsNodePoolId. */ @java.lang.Override - public com.google.protobuf.ByteString - getAwsNodePoolIdBytes() { + public com.google.protobuf.ByteString getAwsNodePoolIdBytes() { java.lang.Object ref = awsNodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); awsNodePoolId_ = b; return b; } else { @@ -212,12 +261,15 @@ public java.lang.String getAwsNodePoolId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * If set, only validate the request, but do not actually create the node
    * pool.
    * 
* * bool validate_only = 4; + * * @return The validateOnly. */ @java.lang.Override @@ -226,6 +278,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -237,8 +290,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -264,15 +316,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (awsNodePool_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAwsNodePool()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAwsNodePool()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsNodePoolId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, awsNodePoolId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -282,24 +332,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest other = (com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest) obj; + com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest other = + (com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasAwsNodePool() != other.hasAwsNodePool()) return false; if (hasAwsNodePool()) { - if (!getAwsNodePool() - .equals(other.getAwsNodePool())) return false; + if (!getAwsNodePool().equals(other.getAwsNodePool())) return false; } - if (!getAwsNodePoolId() - .equals(other.getAwsNodePoolId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getAwsNodePoolId().equals(other.getAwsNodePoolId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -320,139 +367,143 @@ public int hashCode() { hash = (37 * hash) + AWS_NODE_POOL_ID_FIELD_NUMBER; hash = (53 * hash) + getAwsNodePoolId().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for `AwsClusters.CreateAwsNodePool` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest) com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest.class, com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest.class, + com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -469,9 +520,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_descriptor; } @java.lang.Override @@ -490,8 +541,11 @@ public com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest result = new com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest result = + new com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -502,9 +556,8 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRe result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.awsNodePool_ = awsNodePoolBuilder_ == null - ? awsNodePool_ - : awsNodePoolBuilder_.build(); + result.awsNodePool_ = + awsNodePoolBuilder_ == null ? awsNodePool_ : awsNodePoolBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.awsNodePoolId_ = awsNodePoolId_; @@ -518,38 +571,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest) other); } else { super.mergeFrom(other); return this; @@ -557,7 +611,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -600,34 +655,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getAwsNodePoolFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - awsNodePoolId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getAwsNodePoolFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + awsNodePoolId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -637,10 +695,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
      * resource where this node pool will be created.
@@ -652,14 +713,16 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -668,6 +731,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
      * resource where this node pool will be created.
@@ -679,16 +744,17 @@ public java.lang.String getParent() {
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -696,6 +762,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
      * resource where this node pool will be created.
@@ -707,19 +775,25 @@ public java.lang.String getParent() {
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
      * resource where this node pool will be created.
@@ -731,7 +805,10 @@ public Builder setParent(
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -741,6 +818,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
      * resource where this node pool will be created.
@@ -752,13 +831,17 @@ public Builder clearParent() {
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -768,42 +851,61 @@ public Builder setParentBytes( private com.google.cloud.gkemulticloud.v1.AwsNodePool awsNodePool_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodePool, com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder, com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder> awsNodePoolBuilder_; + com.google.cloud.gkemulticloud.v1.AwsNodePool, + com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder, + com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder> + awsNodePoolBuilder_; /** + * + * *
      * Required. The specification of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the awsNodePool field is set. */ public boolean hasAwsNodePool() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The specification of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The awsNodePool. */ public com.google.cloud.gkemulticloud.v1.AwsNodePool getAwsNodePool() { if (awsNodePoolBuilder_ == null) { - return awsNodePool_ == null ? com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance() : awsNodePool_; + return awsNodePool_ == null + ? com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance() + : awsNodePool_; } else { return awsNodePoolBuilder_.getMessage(); } } /** + * + * *
      * Required. The specification of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAwsNodePool(com.google.cloud.gkemulticloud.v1.AwsNodePool value) { if (awsNodePoolBuilder_ == null) { @@ -819,12 +921,16 @@ public Builder setAwsNodePool(com.google.cloud.gkemulticloud.v1.AwsNodePool valu return this; } /** + * + * *
      * Required. The specification of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAwsNodePool( com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder builderForValue) { @@ -838,18 +944,22 @@ public Builder setAwsNodePool( return this; } /** + * + * *
      * Required. The specification of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAwsNodePool(com.google.cloud.gkemulticloud.v1.AwsNodePool value) { if (awsNodePoolBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - awsNodePool_ != null && - awsNodePool_ != com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && awsNodePool_ != null + && awsNodePool_ != com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance()) { getAwsNodePoolBuilder().mergeFrom(value); } else { awsNodePool_ = value; @@ -862,12 +972,16 @@ public Builder mergeAwsNodePool(com.google.cloud.gkemulticloud.v1.AwsNodePool va return this; } /** + * + * *
      * Required. The specification of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAwsNodePool() { bitField0_ = (bitField0_ & ~0x00000002); @@ -880,12 +994,16 @@ public Builder clearAwsNodePool() { return this; } /** + * + * *
      * Required. The specification of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder getAwsNodePoolBuilder() { bitField0_ |= 0x00000002; @@ -893,38 +1011,50 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder getAwsNodePoolBuild return getAwsNodePoolFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The specification of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolOrBuilder() { if (awsNodePoolBuilder_ != null) { return awsNodePoolBuilder_.getMessageOrBuilder(); } else { - return awsNodePool_ == null ? - com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance() : awsNodePool_; + return awsNodePool_ == null + ? com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance() + : awsNodePool_; } } /** + * + * *
      * Required. The specification of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodePool, com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder, com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsNodePool, + com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder, + com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder> getAwsNodePoolFieldBuilder() { if (awsNodePoolBuilder_ == null) { - awsNodePoolBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodePool, com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder, com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder>( - getAwsNodePool(), - getParentForChildren(), - isClean()); + awsNodePoolBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsNodePool, + com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder, + com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder>( + getAwsNodePool(), getParentForChildren(), isClean()); awsNodePool_ = null; } return awsNodePoolBuilder_; @@ -932,6 +1062,8 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolOrBu private java.lang.Object awsNodePoolId_ = ""; /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -945,13 +1077,13 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolOrBu
      * 
* * string aws_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The awsNodePoolId. */ public java.lang.String getAwsNodePoolId() { java.lang.Object ref = awsNodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); awsNodePoolId_ = s; return s; @@ -960,6 +1092,8 @@ public java.lang.String getAwsNodePoolId() { } } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -973,15 +1107,14 @@ public java.lang.String getAwsNodePoolId() {
      * 
* * string aws_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for awsNodePoolId. */ - public com.google.protobuf.ByteString - getAwsNodePoolIdBytes() { + public com.google.protobuf.ByteString getAwsNodePoolIdBytes() { java.lang.Object ref = awsNodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); awsNodePoolId_ = b; return b; } else { @@ -989,6 +1122,8 @@ public java.lang.String getAwsNodePoolId() { } } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1002,18 +1137,22 @@ public java.lang.String getAwsNodePoolId() {
      * 
* * string aws_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The awsNodePoolId to set. * @return This builder for chaining. */ - public Builder setAwsNodePoolId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAwsNodePoolId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } awsNodePoolId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1027,6 +1166,7 @@ public Builder setAwsNodePoolId(
      * 
* * string aws_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAwsNodePoolId() { @@ -1036,6 +1176,8 @@ public Builder clearAwsNodePoolId() { return this; } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1049,12 +1191,14 @@ public Builder clearAwsNodePoolId() {
      * 
* * string aws_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for awsNodePoolId to set. * @return This builder for chaining. */ - public Builder setAwsNodePoolIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAwsNodePoolIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); awsNodePoolId_ = value; bitField0_ |= 0x00000004; @@ -1062,14 +1206,17 @@ public Builder setAwsNodePoolIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * If set, only validate the request, but do not actually create the node
      * pool.
      * 
* * bool validate_only = 4; + * * @return The validateOnly. */ @java.lang.Override @@ -1077,12 +1224,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * If set, only validate the request, but do not actually create the node
      * pool.
      * 
* * bool validate_only = 4; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1094,12 +1244,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * If set, only validate the request, but do not actually create the node
      * pool.
      * 
* * bool validate_only = 4; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1108,9 +1261,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1120,12 +1273,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest) private static final com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest(); } @@ -1134,27 +1287,27 @@ public static com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAwsNodePoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAwsNodePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1169,6 +1322,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequestOrBuilder.java index 2a3dcbe48775..640d634803c3 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAwsNodePoolRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface CreateAwsNodePoolRequestOrBuilder extends +public interface CreateAwsNodePoolRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
    * resource where this node pool will be created.
@@ -19,11 +37,16 @@ public interface CreateAwsNodePoolRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
    * resource where this node pool will be created.
@@ -35,43 +58,61 @@ public interface CreateAwsNodePoolRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The specification of the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the awsNodePool field is set. */ boolean hasAwsNodePool(); /** + * + * *
    * Required. The specification of the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The awsNodePool. */ com.google.cloud.gkemulticloud.v1.AwsNodePool getAwsNodePool(); /** + * + * *
    * Required. The specification of the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolOrBuilder(); /** + * + * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -85,10 +126,13 @@ public interface CreateAwsNodePoolRequestOrBuilder extends
    * 
* * string aws_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The awsNodePoolId. */ java.lang.String getAwsNodePoolId(); /** + * + * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -102,18 +146,21 @@ public interface CreateAwsNodePoolRequestOrBuilder extends
    * 
* * string aws_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for awsNodePoolId. */ - com.google.protobuf.ByteString - getAwsNodePoolIdBytes(); + com.google.protobuf.ByteString getAwsNodePoolIdBytes(); /** + * + * *
    * If set, only validate the request, but do not actually create the node
    * pool.
    * 
* * bool validate_only = 4; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequest.java similarity index 69% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequest.java index 05c5099ebcc4..ef6cfd6ccaf0 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Request message for `AzureClusters.CreateAzureClient` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.CreateAzureClientRequest} */ -public final class CreateAzureClientRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateAzureClientRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.CreateAzureClientRequest) CreateAzureClientRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateAzureClientRequest.newBuilder() to construct. private CreateAzureClientRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateAzureClientRequest() { parent_ = ""; azureClientId_ = ""; @@ -26,28 +44,32 @@ private CreateAzureClientRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateAzureClientRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest.class, com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest.class, + com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent location where this
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource will be
@@ -59,7 +81,10 @@ protected java.lang.Object newInstance(
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -68,14 +93,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent location where this
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource will be
@@ -87,17 +113,18 @@ public java.lang.String getParent() {
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -108,12 +135,17 @@ public java.lang.String getParent() { public static final int AZURE_CLIENT_FIELD_NUMBER = 2; private com.google.cloud.gkemulticloud.v1.AzureClient azureClient_; /** + * + * *
    * Required. The specification of the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the azureClient field is set. */ @java.lang.Override @@ -121,35 +153,51 @@ public boolean hasAzureClient() { return azureClient_ != null; } /** + * + * *
    * Required. The specification of the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The azureClient. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureClient getAzureClient() { - return azureClient_ == null ? com.google.cloud.gkemulticloud.v1.AzureClient.getDefaultInstance() : azureClient_; + return azureClient_ == null + ? com.google.cloud.gkemulticloud.v1.AzureClient.getDefaultInstance() + : azureClient_; } /** + * + * *
    * Required. The specification of the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder getAzureClientOrBuilder() { - return azureClient_ == null ? com.google.cloud.gkemulticloud.v1.AzureClient.getDefaultInstance() : azureClient_; + return azureClient_ == null + ? com.google.cloud.gkemulticloud.v1.AzureClient.getDefaultInstance() + : azureClient_; } public static final int AZURE_CLIENT_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object azureClientId_ = ""; /** + * + * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -163,6 +211,7 @@ public com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder getAzureClientOrBu
    * 
* * string azure_client_id = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The azureClientId. */ @java.lang.Override @@ -171,14 +220,15 @@ public java.lang.String getAzureClientId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureClientId_ = s; return s; } } /** + * + * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -192,16 +242,15 @@ public java.lang.String getAzureClientId() {
    * 
* * string azure_client_id = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for azureClientId. */ @java.lang.Override - public com.google.protobuf.ByteString - getAzureClientIdBytes() { + public com.google.protobuf.ByteString getAzureClientIdBytes() { java.lang.Object ref = azureClientId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); azureClientId_ = b; return b; } else { @@ -212,11 +261,14 @@ public java.lang.String getAzureClientId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** + * + * *
    * If set, only validate the request, but do not actually create the client.
    * 
* * bool validate_only = 3; + * * @return The validateOnly. */ @java.lang.Override @@ -225,6 +277,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,8 +289,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -263,12 +315,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (azureClient_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAzureClient()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAzureClient()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(azureClientId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, azureClientId_); @@ -281,24 +331,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest other = (com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest) obj; + com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest other = + (com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasAzureClient() != other.hasAzureClient()) return false; if (hasAzureClient()) { - if (!getAzureClient() - .equals(other.getAzureClient())) return false; + if (!getAzureClient().equals(other.getAzureClient())) return false; } - if (!getAzureClientId() - .equals(other.getAzureClientId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getAzureClientId().equals(other.getAzureClientId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -319,139 +366,143 @@ public int hashCode() { hash = (37 * hash) + AZURE_CLIENT_ID_FIELD_NUMBER; hash = (53 * hash) + getAzureClientId().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AzureClusters.CreateAzureClient` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.CreateAzureClientRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.CreateAzureClientRequest) com.google.cloud.gkemulticloud.v1.CreateAzureClientRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest.class, com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest.class, + com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -468,9 +519,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_descriptor; } @java.lang.Override @@ -489,8 +540,11 @@ public com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest result = new com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest result = + new com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -501,9 +555,8 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.CreateAzureClientRe result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.azureClient_ = azureClientBuilder_ == null - ? azureClient_ - : azureClientBuilder_.build(); + result.azureClient_ = + azureClientBuilder_ == null ? azureClient_ : azureClientBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.azureClientId_ = azureClientId_; @@ -517,38 +570,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.CreateAzureClientRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest) other); } else { super.mergeFrom(other); return this; @@ -556,7 +610,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -599,34 +654,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getAzureClientFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 24 - case 34: { - azureClientId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getAzureClientFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 24 + case 34: + { + azureClientId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -636,10 +694,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent location where this
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource will be
@@ -651,14 +712,16 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -667,6 +730,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location where this
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource will be
@@ -678,16 +743,17 @@ public java.lang.String getParent() {
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -695,6 +761,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location where this
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource will be
@@ -706,19 +774,25 @@ public java.lang.String getParent() {
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent location where this
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource will be
@@ -730,7 +804,10 @@ public Builder setParent(
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -740,6 +817,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent location where this
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource will be
@@ -751,13 +830,17 @@ public Builder clearParent() {
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -767,42 +850,61 @@ public Builder setParentBytes( private com.google.cloud.gkemulticloud.v1.AzureClient azureClient_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClient, com.google.cloud.gkemulticloud.v1.AzureClient.Builder, com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder> azureClientBuilder_; + com.google.cloud.gkemulticloud.v1.AzureClient, + com.google.cloud.gkemulticloud.v1.AzureClient.Builder, + com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder> + azureClientBuilder_; /** + * + * *
      * Required. The specification of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the azureClient field is set. */ public boolean hasAzureClient() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The specification of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The azureClient. */ public com.google.cloud.gkemulticloud.v1.AzureClient getAzureClient() { if (azureClientBuilder_ == null) { - return azureClient_ == null ? com.google.cloud.gkemulticloud.v1.AzureClient.getDefaultInstance() : azureClient_; + return azureClient_ == null + ? com.google.cloud.gkemulticloud.v1.AzureClient.getDefaultInstance() + : azureClient_; } else { return azureClientBuilder_.getMessage(); } } /** + * + * *
      * Required. The specification of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAzureClient(com.google.cloud.gkemulticloud.v1.AzureClient value) { if (azureClientBuilder_ == null) { @@ -818,12 +920,16 @@ public Builder setAzureClient(com.google.cloud.gkemulticloud.v1.AzureClient valu return this; } /** + * + * *
      * Required. The specification of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAzureClient( com.google.cloud.gkemulticloud.v1.AzureClient.Builder builderForValue) { @@ -837,18 +943,22 @@ public Builder setAzureClient( return this; } /** + * + * *
      * Required. The specification of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAzureClient(com.google.cloud.gkemulticloud.v1.AzureClient value) { if (azureClientBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - azureClient_ != null && - azureClient_ != com.google.cloud.gkemulticloud.v1.AzureClient.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && azureClient_ != null + && azureClient_ != com.google.cloud.gkemulticloud.v1.AzureClient.getDefaultInstance()) { getAzureClientBuilder().mergeFrom(value); } else { azureClient_ = value; @@ -861,12 +971,16 @@ public Builder mergeAzureClient(com.google.cloud.gkemulticloud.v1.AzureClient va return this; } /** + * + * *
      * Required. The specification of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAzureClient() { bitField0_ = (bitField0_ & ~0x00000002); @@ -879,12 +993,16 @@ public Builder clearAzureClient() { return this; } /** + * + * *
      * Required. The specification of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AzureClient.Builder getAzureClientBuilder() { bitField0_ |= 0x00000002; @@ -892,38 +1010,50 @@ public com.google.cloud.gkemulticloud.v1.AzureClient.Builder getAzureClientBuild return getAzureClientFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The specification of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder getAzureClientOrBuilder() { if (azureClientBuilder_ != null) { return azureClientBuilder_.getMessageOrBuilder(); } else { - return azureClient_ == null ? - com.google.cloud.gkemulticloud.v1.AzureClient.getDefaultInstance() : azureClient_; + return azureClient_ == null + ? com.google.cloud.gkemulticloud.v1.AzureClient.getDefaultInstance() + : azureClient_; } } /** + * + * *
      * Required. The specification of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClient, com.google.cloud.gkemulticloud.v1.AzureClient.Builder, com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureClient, + com.google.cloud.gkemulticloud.v1.AzureClient.Builder, + com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder> getAzureClientFieldBuilder() { if (azureClientBuilder_ == null) { - azureClientBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClient, com.google.cloud.gkemulticloud.v1.AzureClient.Builder, com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder>( - getAzureClient(), - getParentForChildren(), - isClean()); + azureClientBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureClient, + com.google.cloud.gkemulticloud.v1.AzureClient.Builder, + com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder>( + getAzureClient(), getParentForChildren(), isClean()); azureClient_ = null; } return azureClientBuilder_; @@ -931,6 +1061,8 @@ public com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder getAzureClientOrBu private java.lang.Object azureClientId_ = ""; /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -944,13 +1076,13 @@ public com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder getAzureClientOrBu
      * 
* * string azure_client_id = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The azureClientId. */ public java.lang.String getAzureClientId() { java.lang.Object ref = azureClientId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureClientId_ = s; return s; @@ -959,6 +1091,8 @@ public java.lang.String getAzureClientId() { } } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -972,15 +1106,14 @@ public java.lang.String getAzureClientId() {
      * 
* * string azure_client_id = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for azureClientId. */ - public com.google.protobuf.ByteString - getAzureClientIdBytes() { + public com.google.protobuf.ByteString getAzureClientIdBytes() { java.lang.Object ref = azureClientId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); azureClientId_ = b; return b; } else { @@ -988,6 +1121,8 @@ public java.lang.String getAzureClientId() { } } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1001,18 +1136,22 @@ public java.lang.String getAzureClientId() {
      * 
* * string azure_client_id = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The azureClientId to set. * @return This builder for chaining. */ - public Builder setAzureClientId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAzureClientId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } azureClientId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1026,6 +1165,7 @@ public Builder setAzureClientId(
      * 
* * string azure_client_id = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAzureClientId() { @@ -1035,6 +1175,8 @@ public Builder clearAzureClientId() { return this; } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1048,12 +1190,14 @@ public Builder clearAzureClientId() {
      * 
* * string azure_client_id = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for azureClientId to set. * @return This builder for chaining. */ - public Builder setAzureClientIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAzureClientIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); azureClientId_ = value; bitField0_ |= 0x00000004; @@ -1061,13 +1205,16 @@ public Builder setAzureClientIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * If set, only validate the request, but do not actually create the client.
      * 
* * bool validate_only = 3; + * * @return The validateOnly. */ @java.lang.Override @@ -1075,11 +1222,14 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * If set, only validate the request, but do not actually create the client.
      * 
* * bool validate_only = 3; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1091,11 +1241,14 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * If set, only validate the request, but do not actually create the client.
      * 
* * bool validate_only = 3; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1104,9 +1257,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1116,12 +1269,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.CreateAzureClientRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.CreateAzureClientRequest) private static final com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest(); } @@ -1130,27 +1283,27 @@ public static com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAzureClientRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAzureClientRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1165,6 +1318,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequestOrBuilder.java index 87738a802ab6..af02d7e85f44 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClientRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface CreateAzureClientRequestOrBuilder extends +public interface CreateAzureClientRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.CreateAzureClientRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent location where this
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource will be
@@ -19,11 +37,16 @@ public interface CreateAzureClientRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent location where this
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource will be
@@ -35,43 +58,61 @@ public interface CreateAzureClientRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The specification of the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the azureClient field is set. */ boolean hasAzureClient(); /** + * + * *
    * Required. The specification of the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The azureClient. */ com.google.cloud.gkemulticloud.v1.AzureClient getAzureClient(); /** + * + * *
    * Required. The specification of the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder getAzureClientOrBuilder(); /** + * + * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -85,10 +126,13 @@ public interface CreateAzureClientRequestOrBuilder extends
    * 
* * string azure_client_id = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The azureClientId. */ java.lang.String getAzureClientId(); /** + * + * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -102,17 +146,20 @@ public interface CreateAzureClientRequestOrBuilder extends
    * 
* * string azure_client_id = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for azureClientId. */ - com.google.protobuf.ByteString - getAzureClientIdBytes(); + com.google.protobuf.ByteString getAzureClientIdBytes(); /** + * + * *
    * If set, only validate the request, but do not actually create the client.
    * 
* * bool validate_only = 3; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequest.java similarity index 68% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequest.java index d620b3001233..86f16e3d498f 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Request message for `AzureClusters.CreateAzureCluster` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.CreateAzureClusterRequest} */ -public final class CreateAzureClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateAzureClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.CreateAzureClusterRequest) CreateAzureClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateAzureClusterRequest.newBuilder() to construct. private CreateAzureClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateAzureClusterRequest() { parent_ = ""; azureClusterId_ = ""; @@ -26,28 +44,32 @@ private CreateAzureClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateAzureClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest.class, com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest.class, + com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent location where this
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be
@@ -59,7 +81,10 @@ protected java.lang.Object newInstance(
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -68,14 +93,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent location where this
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be
@@ -87,17 +113,18 @@ public java.lang.String getParent() {
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -108,12 +135,17 @@ public java.lang.String getParent() { public static final int AZURE_CLUSTER_FIELD_NUMBER = 2; private com.google.cloud.gkemulticloud.v1.AzureCluster azureCluster_; /** + * + * *
    * Required. The specification of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the azureCluster field is set. */ @java.lang.Override @@ -121,35 +153,51 @@ public boolean hasAzureCluster() { return azureCluster_ != null; } /** + * + * *
    * Required. The specification of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The azureCluster. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureCluster getAzureCluster() { - return azureCluster_ == null ? com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance() : azureCluster_; + return azureCluster_ == null + ? com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance() + : azureCluster_; } /** + * + * *
    * Required. The specification of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClusterOrBuilder() { - return azureCluster_ == null ? com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance() : azureCluster_; + return azureCluster_ == null + ? com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance() + : azureCluster_; } public static final int AZURE_CLUSTER_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object azureClusterId_ = ""; /** + * + * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -163,6 +211,7 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClusterOr
    * 
* * string azure_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The azureClusterId. */ @java.lang.Override @@ -171,14 +220,15 @@ public java.lang.String getAzureClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureClusterId_ = s; return s; } } /** + * + * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -192,16 +242,15 @@ public java.lang.String getAzureClusterId() {
    * 
* * string azure_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for azureClusterId. */ @java.lang.Override - public com.google.protobuf.ByteString - getAzureClusterIdBytes() { + public com.google.protobuf.ByteString getAzureClusterIdBytes() { java.lang.Object ref = azureClusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); azureClusterId_ = b; return b; } else { @@ -212,11 +261,14 @@ public java.lang.String getAzureClusterId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * If set, only validate the request, but do not actually create the cluster.
    * 
* * bool validate_only = 4; + * * @return The validateOnly. */ @java.lang.Override @@ -225,6 +277,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,8 +289,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -263,15 +315,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (azureCluster_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAzureCluster()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAzureCluster()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(azureClusterId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, azureClusterId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -281,24 +331,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest other = (com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest) obj; + com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest other = + (com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasAzureCluster() != other.hasAzureCluster()) return false; if (hasAzureCluster()) { - if (!getAzureCluster() - .equals(other.getAzureCluster())) return false; + if (!getAzureCluster().equals(other.getAzureCluster())) return false; } - if (!getAzureClusterId() - .equals(other.getAzureClusterId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getAzureClusterId().equals(other.getAzureClusterId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -319,139 +366,143 @@ public int hashCode() { hash = (37 * hash) + AZURE_CLUSTER_ID_FIELD_NUMBER; hash = (53 * hash) + getAzureClusterId().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AzureClusters.CreateAzureCluster` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.CreateAzureClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.CreateAzureClusterRequest) com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest.class, com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest.class, + com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -468,9 +519,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_descriptor; } @java.lang.Override @@ -489,8 +540,11 @@ public com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest result = new com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest result = + new com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -501,9 +555,8 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.CreateAzureClusterR result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.azureCluster_ = azureClusterBuilder_ == null - ? azureCluster_ - : azureClusterBuilder_.build(); + result.azureCluster_ = + azureClusterBuilder_ == null ? azureCluster_ : azureClusterBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.azureClusterId_ = azureClusterId_; @@ -517,38 +570,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.CreateAzureClusterR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -556,7 +610,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -599,34 +654,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getAzureClusterFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - azureClusterId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getAzureClusterFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + azureClusterId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -636,10 +694,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent location where this
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be
@@ -651,14 +712,16 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -667,6 +730,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location where this
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be
@@ -678,16 +743,17 @@ public java.lang.String getParent() {
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -695,6 +761,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location where this
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be
@@ -706,19 +774,25 @@ public java.lang.String getParent() {
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent location where this
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be
@@ -730,7 +804,10 @@ public Builder setParent(
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -740,6 +817,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent location where this
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be
@@ -751,13 +830,17 @@ public Builder clearParent() {
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -767,42 +850,61 @@ public Builder setParentBytes( private com.google.cloud.gkemulticloud.v1.AzureCluster azureCluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureCluster, com.google.cloud.gkemulticloud.v1.AzureCluster.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder> azureClusterBuilder_; + com.google.cloud.gkemulticloud.v1.AzureCluster, + com.google.cloud.gkemulticloud.v1.AzureCluster.Builder, + com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder> + azureClusterBuilder_; /** + * + * *
      * Required. The specification of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the azureCluster field is set. */ public boolean hasAzureCluster() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The specification of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The azureCluster. */ public com.google.cloud.gkemulticloud.v1.AzureCluster getAzureCluster() { if (azureClusterBuilder_ == null) { - return azureCluster_ == null ? com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance() : azureCluster_; + return azureCluster_ == null + ? com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance() + : azureCluster_; } else { return azureClusterBuilder_.getMessage(); } } /** + * + * *
      * Required. The specification of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAzureCluster(com.google.cloud.gkemulticloud.v1.AzureCluster value) { if (azureClusterBuilder_ == null) { @@ -818,12 +920,16 @@ public Builder setAzureCluster(com.google.cloud.gkemulticloud.v1.AzureCluster va return this; } /** + * + * *
      * Required. The specification of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAzureCluster( com.google.cloud.gkemulticloud.v1.AzureCluster.Builder builderForValue) { @@ -837,18 +943,23 @@ public Builder setAzureCluster( return this; } /** + * + * *
      * Required. The specification of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAzureCluster(com.google.cloud.gkemulticloud.v1.AzureCluster value) { if (azureClusterBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - azureCluster_ != null && - azureCluster_ != com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && azureCluster_ != null + && azureCluster_ + != com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance()) { getAzureClusterBuilder().mergeFrom(value); } else { azureCluster_ = value; @@ -861,12 +972,16 @@ public Builder mergeAzureCluster(com.google.cloud.gkemulticloud.v1.AzureCluster return this; } /** + * + * *
      * Required. The specification of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAzureCluster() { bitField0_ = (bitField0_ & ~0x00000002); @@ -879,12 +994,16 @@ public Builder clearAzureCluster() { return this; } /** + * + * *
      * Required. The specification of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AzureCluster.Builder getAzureClusterBuilder() { bitField0_ |= 0x00000002; @@ -892,38 +1011,50 @@ public com.google.cloud.gkemulticloud.v1.AzureCluster.Builder getAzureClusterBui return getAzureClusterFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The specification of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClusterOrBuilder() { if (azureClusterBuilder_ != null) { return azureClusterBuilder_.getMessageOrBuilder(); } else { - return azureCluster_ == null ? - com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance() : azureCluster_; + return azureCluster_ == null + ? com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance() + : azureCluster_; } } /** + * + * *
      * Required. The specification of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureCluster, com.google.cloud.gkemulticloud.v1.AzureCluster.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureCluster, + com.google.cloud.gkemulticloud.v1.AzureCluster.Builder, + com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder> getAzureClusterFieldBuilder() { if (azureClusterBuilder_ == null) { - azureClusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureCluster, com.google.cloud.gkemulticloud.v1.AzureCluster.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder>( - getAzureCluster(), - getParentForChildren(), - isClean()); + azureClusterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureCluster, + com.google.cloud.gkemulticloud.v1.AzureCluster.Builder, + com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder>( + getAzureCluster(), getParentForChildren(), isClean()); azureCluster_ = null; } return azureClusterBuilder_; @@ -931,6 +1062,8 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClusterOr private java.lang.Object azureClusterId_ = ""; /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -944,13 +1077,13 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClusterOr
      * 
* * string azure_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The azureClusterId. */ public java.lang.String getAzureClusterId() { java.lang.Object ref = azureClusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureClusterId_ = s; return s; @@ -959,6 +1092,8 @@ public java.lang.String getAzureClusterId() { } } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -972,15 +1107,14 @@ public java.lang.String getAzureClusterId() {
      * 
* * string azure_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for azureClusterId. */ - public com.google.protobuf.ByteString - getAzureClusterIdBytes() { + public com.google.protobuf.ByteString getAzureClusterIdBytes() { java.lang.Object ref = azureClusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); azureClusterId_ = b; return b; } else { @@ -988,6 +1122,8 @@ public java.lang.String getAzureClusterId() { } } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1001,18 +1137,22 @@ public java.lang.String getAzureClusterId() {
      * 
* * string azure_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The azureClusterId to set. * @return This builder for chaining. */ - public Builder setAzureClusterId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAzureClusterId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } azureClusterId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1026,6 +1166,7 @@ public Builder setAzureClusterId(
      * 
* * string azure_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAzureClusterId() { @@ -1035,6 +1176,8 @@ public Builder clearAzureClusterId() { return this; } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1048,12 +1191,14 @@ public Builder clearAzureClusterId() {
      * 
* * string azure_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for azureClusterId to set. * @return This builder for chaining. */ - public Builder setAzureClusterIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAzureClusterIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); azureClusterId_ = value; bitField0_ |= 0x00000004; @@ -1061,13 +1206,16 @@ public Builder setAzureClusterIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * If set, only validate the request, but do not actually create the cluster.
      * 
* * bool validate_only = 4; + * * @return The validateOnly. */ @java.lang.Override @@ -1075,11 +1223,14 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * If set, only validate the request, but do not actually create the cluster.
      * 
* * bool validate_only = 4; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1091,11 +1242,14 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * If set, only validate the request, but do not actually create the cluster.
      * 
* * bool validate_only = 4; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1104,9 +1258,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1116,12 +1270,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.CreateAzureClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.CreateAzureClusterRequest) private static final com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest(); } @@ -1130,27 +1284,27 @@ public static com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAzureClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAzureClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1165,6 +1319,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequestOrBuilder.java index 8daead3b3a05..f6d601314263 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureClusterRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface CreateAzureClusterRequestOrBuilder extends +public interface CreateAzureClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.CreateAzureClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent location where this
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be
@@ -19,11 +37,16 @@ public interface CreateAzureClusterRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent location where this
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be
@@ -35,43 +58,61 @@ public interface CreateAzureClusterRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The specification of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the azureCluster field is set. */ boolean hasAzureCluster(); /** + * + * *
    * Required. The specification of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The azureCluster. */ com.google.cloud.gkemulticloud.v1.AzureCluster getAzureCluster(); /** + * + * *
    * Required. The specification of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClusterOrBuilder(); /** + * + * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -85,10 +126,13 @@ public interface CreateAzureClusterRequestOrBuilder extends
    * 
* * string azure_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The azureClusterId. */ java.lang.String getAzureClusterId(); /** + * + * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -102,17 +146,20 @@ public interface CreateAzureClusterRequestOrBuilder extends
    * 
* * string azure_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for azureClusterId. */ - com.google.protobuf.ByteString - getAzureClusterIdBytes(); + com.google.protobuf.ByteString getAzureClusterIdBytes(); /** + * + * *
    * If set, only validate the request, but do not actually create the cluster.
    * 
* * bool validate_only = 4; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequest.java similarity index 68% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequest.java index 5f34b872fc8a..1163f65d8e60 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Response message for `AzureClusters.CreateAzureNodePool` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest} */ -public final class CreateAzureNodePoolRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateAzureNodePoolRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest) CreateAzureNodePoolRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateAzureNodePoolRequest.newBuilder() to construct. private CreateAzureNodePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateAzureNodePoolRequest() { parent_ = ""; azureNodePoolId_ = ""; @@ -26,28 +44,32 @@ private CreateAzureNodePoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateAzureNodePoolRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest.class, com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest.class, + com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resource where this node pool will be created.
@@ -59,7 +81,10 @@ protected java.lang.Object newInstance(
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -68,14 +93,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resource where this node pool will be created.
@@ -87,17 +113,18 @@ public java.lang.String getParent() {
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -108,12 +135,17 @@ public java.lang.String getParent() { public static final int AZURE_NODE_POOL_FIELD_NUMBER = 2; private com.google.cloud.gkemulticloud.v1.AzureNodePool azureNodePool_; /** + * + * *
    * Required. The specification of the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the azureNodePool field is set. */ @java.lang.Override @@ -121,35 +153,51 @@ public boolean hasAzureNodePool() { return azureNodePool_ != null; } /** + * + * *
    * Required. The specification of the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The azureNodePool. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureNodePool getAzureNodePool() { - return azureNodePool_ == null ? com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance() : azureNodePool_; + return azureNodePool_ == null + ? com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance() + : azureNodePool_; } /** + * + * *
    * Required. The specification of the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePoolOrBuilder() { - return azureNodePool_ == null ? com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance() : azureNodePool_; + return azureNodePool_ == null + ? com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance() + : azureNodePool_; } public static final int AZURE_NODE_POOL_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object azureNodePoolId_ = ""; /** + * + * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -163,6 +211,7 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePool
    * 
* * string azure_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The azureNodePoolId. */ @java.lang.Override @@ -171,14 +220,15 @@ public java.lang.String getAzureNodePoolId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureNodePoolId_ = s; return s; } } /** + * + * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -192,16 +242,15 @@ public java.lang.String getAzureNodePoolId() {
    * 
* * string azure_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for azureNodePoolId. */ @java.lang.Override - public com.google.protobuf.ByteString - getAzureNodePoolIdBytes() { + public com.google.protobuf.ByteString getAzureNodePoolIdBytes() { java.lang.Object ref = azureNodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); azureNodePoolId_ = b; return b; } else { @@ -212,12 +261,15 @@ public java.lang.String getAzureNodePoolId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * If set, only validate the request, but do not actually create the node
    * pool.
    * 
* * bool validate_only = 4; + * * @return The validateOnly. */ @java.lang.Override @@ -226,6 +278,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -237,8 +290,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -264,15 +316,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (azureNodePool_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAzureNodePool()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAzureNodePool()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(azureNodePoolId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, azureNodePoolId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -282,24 +332,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest other = (com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest) obj; + com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest other = + (com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasAzureNodePool() != other.hasAzureNodePool()) return false; if (hasAzureNodePool()) { - if (!getAzureNodePool() - .equals(other.getAzureNodePool())) return false; + if (!getAzureNodePool().equals(other.getAzureNodePool())) return false; } - if (!getAzureNodePoolId() - .equals(other.getAzureNodePoolId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getAzureNodePoolId().equals(other.getAzureNodePoolId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -320,139 +367,143 @@ public int hashCode() { hash = (37 * hash) + AZURE_NODE_POOL_ID_FIELD_NUMBER; hash = (53 * hash) + getAzureNodePoolId().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for `AzureClusters.CreateAzureNodePool` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest) com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest.class, com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest.class, + com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -469,13 +520,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest + getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest.getDefaultInstance(); } @@ -490,21 +542,24 @@ public com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest result = new com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest result = + new com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest result) { + private void buildPartial0( + com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.azureNodePool_ = azureNodePoolBuilder_ == null - ? azureNodePool_ - : azureNodePoolBuilder_.build(); + result.azureNodePool_ = + azureNodePoolBuilder_ == null ? azureNodePool_ : azureNodePoolBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.azureNodePoolId_ = azureNodePoolId_; @@ -518,38 +573,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.CreateAzureNodePool public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest) other); } else { super.mergeFrom(other); return this; @@ -557,7 +613,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -600,34 +658,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getAzureNodePoolFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - azureNodePoolId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getAzureNodePoolFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + azureNodePoolId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -637,10 +698,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resource where this node pool will be created.
@@ -652,14 +716,16 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -668,6 +734,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resource where this node pool will be created.
@@ -679,16 +747,17 @@ public java.lang.String getParent() {
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -696,6 +765,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resource where this node pool will be created.
@@ -707,19 +778,25 @@ public java.lang.String getParent() {
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resource where this node pool will be created.
@@ -731,7 +808,10 @@ public Builder setParent(
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -741,6 +821,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resource where this node pool will be created.
@@ -752,13 +834,17 @@ public Builder clearParent() {
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -768,42 +854,61 @@ public Builder setParentBytes( private com.google.cloud.gkemulticloud.v1.AzureNodePool azureNodePool_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodePool, com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder, com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder> azureNodePoolBuilder_; + com.google.cloud.gkemulticloud.v1.AzureNodePool, + com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder, + com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder> + azureNodePoolBuilder_; /** + * + * *
      * Required. The specification of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the azureNodePool field is set. */ public boolean hasAzureNodePool() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The specification of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The azureNodePool. */ public com.google.cloud.gkemulticloud.v1.AzureNodePool getAzureNodePool() { if (azureNodePoolBuilder_ == null) { - return azureNodePool_ == null ? com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance() : azureNodePool_; + return azureNodePool_ == null + ? com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance() + : azureNodePool_; } else { return azureNodePoolBuilder_.getMessage(); } } /** + * + * *
      * Required. The specification of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAzureNodePool(com.google.cloud.gkemulticloud.v1.AzureNodePool value) { if (azureNodePoolBuilder_ == null) { @@ -819,12 +924,16 @@ public Builder setAzureNodePool(com.google.cloud.gkemulticloud.v1.AzureNodePool return this; } /** + * + * *
      * Required. The specification of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAzureNodePool( com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder builderForValue) { @@ -838,18 +947,23 @@ public Builder setAzureNodePool( return this; } /** + * + * *
      * Required. The specification of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAzureNodePool(com.google.cloud.gkemulticloud.v1.AzureNodePool value) { if (azureNodePoolBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - azureNodePool_ != null && - azureNodePool_ != com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && azureNodePool_ != null + && azureNodePool_ + != com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance()) { getAzureNodePoolBuilder().mergeFrom(value); } else { azureNodePool_ = value; @@ -862,12 +976,16 @@ public Builder mergeAzureNodePool(com.google.cloud.gkemulticloud.v1.AzureNodePoo return this; } /** + * + * *
      * Required. The specification of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAzureNodePool() { bitField0_ = (bitField0_ & ~0x00000002); @@ -880,12 +998,16 @@ public Builder clearAzureNodePool() { return this; } /** + * + * *
      * Required. The specification of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder getAzureNodePoolBuilder() { bitField0_ |= 0x00000002; @@ -893,38 +1015,50 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder getAzureNodePoolB return getAzureNodePoolFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The specification of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePoolOrBuilder() { if (azureNodePoolBuilder_ != null) { return azureNodePoolBuilder_.getMessageOrBuilder(); } else { - return azureNodePool_ == null ? - com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance() : azureNodePool_; + return azureNodePool_ == null + ? com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance() + : azureNodePool_; } } /** + * + * *
      * Required. The specification of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodePool, com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder, com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureNodePool, + com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder, + com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder> getAzureNodePoolFieldBuilder() { if (azureNodePoolBuilder_ == null) { - azureNodePoolBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodePool, com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder, com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder>( - getAzureNodePool(), - getParentForChildren(), - isClean()); + azureNodePoolBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureNodePool, + com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder, + com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder>( + getAzureNodePool(), getParentForChildren(), isClean()); azureNodePool_ = null; } return azureNodePoolBuilder_; @@ -932,6 +1066,8 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePool private java.lang.Object azureNodePoolId_ = ""; /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -945,13 +1081,13 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePool
      * 
* * string azure_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The azureNodePoolId. */ public java.lang.String getAzureNodePoolId() { java.lang.Object ref = azureNodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureNodePoolId_ = s; return s; @@ -960,6 +1096,8 @@ public java.lang.String getAzureNodePoolId() { } } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -973,15 +1111,14 @@ public java.lang.String getAzureNodePoolId() {
      * 
* * string azure_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for azureNodePoolId. */ - public com.google.protobuf.ByteString - getAzureNodePoolIdBytes() { + public com.google.protobuf.ByteString getAzureNodePoolIdBytes() { java.lang.Object ref = azureNodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); azureNodePoolId_ = b; return b; } else { @@ -989,6 +1126,8 @@ public java.lang.String getAzureNodePoolId() { } } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1002,18 +1141,22 @@ public java.lang.String getAzureNodePoolId() {
      * 
* * string azure_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The azureNodePoolId to set. * @return This builder for chaining. */ - public Builder setAzureNodePoolId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAzureNodePoolId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } azureNodePoolId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1027,6 +1170,7 @@ public Builder setAzureNodePoolId(
      * 
* * string azure_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAzureNodePoolId() { @@ -1036,6 +1180,8 @@ public Builder clearAzureNodePoolId() { return this; } /** + * + * *
      * Required. A client provided ID the resource. Must be unique within the
      * parent resource.
@@ -1049,12 +1195,14 @@ public Builder clearAzureNodePoolId() {
      * 
* * string azure_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for azureNodePoolId to set. * @return This builder for chaining. */ - public Builder setAzureNodePoolIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAzureNodePoolIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); azureNodePoolId_ = value; bitField0_ |= 0x00000004; @@ -1062,14 +1210,17 @@ public Builder setAzureNodePoolIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * If set, only validate the request, but do not actually create the node
      * pool.
      * 
* * bool validate_only = 4; + * * @return The validateOnly. */ @java.lang.Override @@ -1077,12 +1228,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * If set, only validate the request, but do not actually create the node
      * pool.
      * 
* * bool validate_only = 4; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1094,12 +1248,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * If set, only validate the request, but do not actually create the node
      * pool.
      * 
* * bool validate_only = 4; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1108,9 +1265,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1120,12 +1277,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest) - private static final com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest DEFAULT_INSTANCE; + private static final com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest(); } @@ -1134,27 +1292,27 @@ public static com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAzureNodePoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAzureNodePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1169,6 +1327,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequestOrBuilder.java index 7d359a9801a3..7b06ea2b5204 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CreateAzureNodePoolRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface CreateAzureNodePoolRequestOrBuilder extends +public interface CreateAzureNodePoolRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resource where this node pool will be created.
@@ -19,11 +37,16 @@ public interface CreateAzureNodePoolRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resource where this node pool will be created.
@@ -35,43 +58,61 @@ public interface CreateAzureNodePoolRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The specification of the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the azureNodePool field is set. */ boolean hasAzureNodePool(); /** + * + * *
    * Required. The specification of the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The azureNodePool. */ com.google.cloud.gkemulticloud.v1.AzureNodePool getAzureNodePool(); /** + * + * *
    * Required. The specification of the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePoolOrBuilder(); /** + * + * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -85,10 +126,13 @@ public interface CreateAzureNodePoolRequestOrBuilder extends
    * 
* * string azure_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The azureNodePoolId. */ java.lang.String getAzureNodePoolId(); /** + * + * *
    * Required. A client provided ID the resource. Must be unique within the
    * parent resource.
@@ -102,18 +146,21 @@ public interface CreateAzureNodePoolRequestOrBuilder extends
    * 
* * string azure_node_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for azureNodePoolId. */ - com.google.protobuf.ByteString - getAzureNodePoolIdBytes(); + com.google.protobuf.ByteString getAzureNodePoolIdBytes(); /** + * + * *
    * If set, only validate the request, but do not actually create the node
    * pool.
    * 
* * bool validate_only = 4; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequest.java similarity index 72% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequest.java index 291896cac72e..ee5256c2ecef 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Request message for `AttachedClusters.DeleteAttachedCluster` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest} */ -public final class DeleteAttachedClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteAttachedClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest) DeleteAttachedClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteAttachedClusterRequest.newBuilder() to construct. private DeleteAttachedClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteAttachedClusterRequest() { name_ = ""; etag_ = ""; @@ -26,28 +44,32 @@ private DeleteAttachedClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteAttachedClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAttachedClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_DeleteAttachedClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAttachedClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_DeleteAttachedClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest.class, com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest.class, + com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to delete.
@@ -59,7 +81,10 @@ protected java.lang.Object newInstance(
    * for more details on Google Cloud Platform resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -68,14 +93,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to delete.
@@ -87,17 +113,18 @@ public java.lang.String getName() {
    * for more details on Google Cloud Platform resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -108,11 +135,14 @@ public java.lang.String getName() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; private boolean validateOnly_ = false; /** + * + * *
    * If set, only validate the request, but do not actually delete the resource.
    * 
* * bool validate_only = 2; + * * @return The validateOnly. */ @java.lang.Override @@ -123,6 +153,8 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 3; private boolean allowMissing_ = false; /** + * + * *
    * If set to true, and the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -134,6 +166,7 @@ public boolean getValidateOnly() {
    * 
* * bool allow_missing = 3; + * * @return The allowMissing. */ @java.lang.Override @@ -144,6 +177,8 @@ public boolean getAllowMissing() { public static final int IGNORE_ERRORS_FIELD_NUMBER = 5; private boolean ignoreErrors_ = false; /** + * + * *
    * If set to true, the deletion of
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -152,6 +187,7 @@ public boolean getAllowMissing() {
    * 
* * bool ignore_errors = 5; + * * @return The ignoreErrors. */ @java.lang.Override @@ -160,9 +196,12 @@ public boolean getIgnoreErrors() { } public static final int ETAG_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * The current etag of the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
@@ -174,6 +213,7 @@ public boolean getIgnoreErrors() {
    * 
* * string etag = 4; + * * @return The etag. */ @java.lang.Override @@ -182,14 +222,15 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** + * + * *
    * The current etag of the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
@@ -201,16 +242,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 4; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -219,6 +259,7 @@ public java.lang.String getEtag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -230,8 +271,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -260,19 +300,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, allowMissing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, allowMissing_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, etag_); } if (ignoreErrors_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, ignoreErrors_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, ignoreErrors_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -282,23 +319,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest other = (com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; - if (getAllowMissing() - != other.getAllowMissing()) return false; - if (getIgnoreErrors() - != other.getIgnoreErrors()) return false; - if (!getEtag() - .equals(other.getEtag())) return false; + com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest other = + (com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; + if (getAllowMissing() != other.getAllowMissing()) return false; + if (getIgnoreErrors() != other.getIgnoreErrors()) return false; + if (!getEtag().equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -313,14 +346,11 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); hash = (37 * hash) + IGNORE_ERRORS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIgnoreErrors()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIgnoreErrors()); hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -329,131 +359,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AttachedClusters.DeleteAttachedCluster` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest) com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAttachedClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_DeleteAttachedClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAttachedClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_DeleteAttachedClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest.class, com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest.class, + com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -467,13 +502,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAttachedClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_DeleteAttachedClusterRequest_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest + getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest.getDefaultInstance(); } @@ -488,13 +524,17 @@ public com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest result = new com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest result = + new com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest result) { + private void buildPartial0( + com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -517,38 +557,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.DeleteAttachedClust public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -556,7 +597,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -602,37 +645,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 40: { - ignoreErrors_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 40: + { + ignoreErrors_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -642,10 +691,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to delete.
@@ -657,14 +709,16 @@ public Builder mergeFrom(
      * for more details on Google Cloud Platform resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -673,6 +727,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to delete.
@@ -684,16 +740,17 @@ public java.lang.String getName() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -701,6 +758,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to delete.
@@ -712,19 +771,25 @@ public java.lang.String getName() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to delete.
@@ -736,7 +801,10 @@ public Builder setName(
      * for more details on Google Cloud Platform resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -746,6 +814,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to delete.
@@ -757,13 +827,17 @@ public Builder clearName() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -771,13 +845,16 @@ public Builder setNameBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * If set, only validate the request, but do not actually delete the resource.
      * 
* * bool validate_only = 2; + * * @return The validateOnly. */ @java.lang.Override @@ -785,11 +862,14 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * If set, only validate the request, but do not actually delete the resource.
      * 
* * bool validate_only = 2; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -801,11 +881,14 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * If set, only validate the request, but do not actually delete the resource.
      * 
* * bool validate_only = 2; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -815,8 +898,10 @@ public Builder clearValidateOnly() { return this; } - private boolean allowMissing_ ; + private boolean allowMissing_; /** + * + * *
      * If set to true, and the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -828,6 +913,7 @@ public Builder clearValidateOnly() {
      * 
* * bool allow_missing = 3; + * * @return The allowMissing. */ @java.lang.Override @@ -835,6 +921,8 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * If set to true, and the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -846,6 +934,7 @@ public boolean getAllowMissing() {
      * 
* * bool allow_missing = 3; + * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -857,6 +946,8 @@ public Builder setAllowMissing(boolean value) { return this; } /** + * + * *
      * If set to true, and the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -868,6 +959,7 @@ public Builder setAllowMissing(boolean value) {
      * 
* * bool allow_missing = 3; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -877,8 +969,10 @@ public Builder clearAllowMissing() { return this; } - private boolean ignoreErrors_ ; + private boolean ignoreErrors_; /** + * + * *
      * If set to true, the deletion of
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -887,6 +981,7 @@ public Builder clearAllowMissing() {
      * 
* * bool ignore_errors = 5; + * * @return The ignoreErrors. */ @java.lang.Override @@ -894,6 +989,8 @@ public boolean getIgnoreErrors() { return ignoreErrors_; } /** + * + * *
      * If set to true, the deletion of
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -902,6 +999,7 @@ public boolean getIgnoreErrors() {
      * 
* * bool ignore_errors = 5; + * * @param value The ignoreErrors to set. * @return This builder for chaining. */ @@ -913,6 +1011,8 @@ public Builder setIgnoreErrors(boolean value) { return this; } /** + * + * *
      * If set to true, the deletion of
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -921,6 +1021,7 @@ public Builder setIgnoreErrors(boolean value) {
      * 
* * bool ignore_errors = 5; + * * @return This builder for chaining. */ public Builder clearIgnoreErrors() { @@ -932,6 +1033,8 @@ public Builder clearIgnoreErrors() { private java.lang.Object etag_ = ""; /** + * + * *
      * The current etag of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
@@ -943,13 +1046,13 @@ public Builder clearIgnoreErrors() {
      * 
* * string etag = 4; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -958,6 +1061,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * The current etag of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
@@ -969,15 +1074,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 4; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -985,6 +1089,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * The current etag of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
@@ -996,18 +1102,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 4; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * The current etag of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
@@ -1019,6 +1129,7 @@ public Builder setEtag(
      * 
* * string etag = 4; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -1028,6 +1139,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * The current etag of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
@@ -1039,21 +1152,23 @@ public Builder clearEtag() {
      * 
* * string etag = 4; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1063,41 +1178,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest) - private static final com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest DEFAULT_INSTANCE; + private static final com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest(); } - public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAttachedClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAttachedClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1109,9 +1226,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequestOrBuilder.java similarity index 74% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequestOrBuilder.java index 968f95628e05..646ad44f9b66 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; -public interface DeleteAttachedClusterRequestOrBuilder extends +public interface DeleteAttachedClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to delete.
@@ -19,11 +37,16 @@ public interface DeleteAttachedClusterRequestOrBuilder extends
    * for more details on Google Cloud Platform resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to delete.
@@ -35,23 +58,30 @@ public interface DeleteAttachedClusterRequestOrBuilder extends
    * for more details on Google Cloud Platform resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * If set, only validate the request, but do not actually delete the resource.
    * 
* * bool validate_only = 2; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * If set to true, and the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -63,11 +93,14 @@ public interface DeleteAttachedClusterRequestOrBuilder extends
    * 
* * bool allow_missing = 3; + * * @return The allowMissing. */ boolean getAllowMissing(); /** + * + * *
    * If set to true, the deletion of
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -76,11 +109,14 @@ public interface DeleteAttachedClusterRequestOrBuilder extends
    * 
* * bool ignore_errors = 5; + * * @return The ignoreErrors. */ boolean getIgnoreErrors(); /** + * + * *
    * The current etag of the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
@@ -92,10 +128,13 @@ public interface DeleteAttachedClusterRequestOrBuilder extends
    * 
* * string etag = 4; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * The current etag of the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
@@ -107,8 +146,8 @@ public interface DeleteAttachedClusterRequestOrBuilder extends
    * 
* * string etag = 4; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequest.java similarity index 72% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequest.java index 5a912f2d835b..893510283848 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Request message for `AwsClusters.DeleteAwsCluster` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest} */ -public final class DeleteAwsClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteAwsClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest) DeleteAwsClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteAwsClusterRequest.newBuilder() to construct. private DeleteAwsClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteAwsClusterRequest() { name_ = ""; etag_ = ""; @@ -26,28 +44,32 @@ private DeleteAwsClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteAwsClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest.class, com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest.class, + com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
@@ -59,7 +81,10 @@ protected java.lang.Object newInstance(
    * for more details on Google Cloud Platform resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -68,14 +93,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
@@ -87,17 +113,18 @@ public java.lang.String getName() {
    * for more details on Google Cloud Platform resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -108,11 +135,14 @@ public java.lang.String getName() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; private boolean validateOnly_ = false; /** + * + * *
    * If set, only validate the request, but do not actually delete the resource.
    * 
* * bool validate_only = 2; + * * @return The validateOnly. */ @java.lang.Override @@ -123,6 +153,8 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 3; private boolean allowMissing_ = false; /** + * + * *
    * If set to true, and the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource is not
@@ -133,6 +165,7 @@ public boolean getValidateOnly() {
    * 
* * bool allow_missing = 3; + * * @return The allowMissing. */ @java.lang.Override @@ -143,6 +176,8 @@ public boolean getAllowMissing() { public static final int IGNORE_ERRORS_FIELD_NUMBER = 5; private boolean ignoreErrors_ = false; /** + * + * *
    * Optional. If set to true, the deletion of
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will
@@ -151,6 +186,7 @@ public boolean getAllowMissing() {
    * 
* * bool ignore_errors = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The ignoreErrors. */ @java.lang.Override @@ -159,9 +195,12 @@ public boolean getIgnoreErrors() { } public static final int ETAG_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * The current etag of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
@@ -173,6 +212,7 @@ public boolean getIgnoreErrors() {
    * 
* * string etag = 4; + * * @return The etag. */ @java.lang.Override @@ -181,14 +221,15 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** + * + * *
    * The current etag of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
@@ -200,16 +241,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 4; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -218,6 +258,7 @@ public java.lang.String getEtag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -229,8 +270,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -259,19 +299,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, allowMissing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, allowMissing_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, etag_); } if (ignoreErrors_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, ignoreErrors_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, ignoreErrors_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -281,23 +318,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest other = (com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; - if (getAllowMissing() - != other.getAllowMissing()) return false; - if (getIgnoreErrors() - != other.getIgnoreErrors()) return false; - if (!getEtag() - .equals(other.getEtag())) return false; + com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest other = + (com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; + if (getAllowMissing() != other.getAllowMissing()) return false; + if (getIgnoreErrors() != other.getIgnoreErrors()) return false; + if (!getEtag().equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -312,14 +345,11 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); hash = (37 * hash) + IGNORE_ERRORS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIgnoreErrors()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIgnoreErrors()); hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -328,131 +358,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AwsClusters.DeleteAwsCluster` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest) com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest.class, com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest.class, + com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -466,9 +501,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_descriptor; } @java.lang.Override @@ -487,8 +522,11 @@ public com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest result = new com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest result = + new com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -516,38 +554,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.DeleteAwsClusterReq public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -555,7 +594,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -601,37 +641,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 40: { - ignoreErrors_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 40: + { + ignoreErrors_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -641,10 +687,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
@@ -656,14 +705,16 @@ public Builder mergeFrom(
      * for more details on Google Cloud Platform resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -672,6 +723,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
@@ -683,16 +736,17 @@ public java.lang.String getName() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -700,6 +754,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
@@ -711,19 +767,25 @@ public java.lang.String getName() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
@@ -735,7 +797,10 @@ public Builder setName(
      * for more details on Google Cloud Platform resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -745,6 +810,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
@@ -756,13 +823,17 @@ public Builder clearName() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -770,13 +841,16 @@ public Builder setNameBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * If set, only validate the request, but do not actually delete the resource.
      * 
* * bool validate_only = 2; + * * @return The validateOnly. */ @java.lang.Override @@ -784,11 +858,14 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * If set, only validate the request, but do not actually delete the resource.
      * 
* * bool validate_only = 2; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -800,11 +877,14 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * If set, only validate the request, but do not actually delete the resource.
      * 
* * bool validate_only = 2; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -814,8 +894,10 @@ public Builder clearValidateOnly() { return this; } - private boolean allowMissing_ ; + private boolean allowMissing_; /** + * + * *
      * If set to true, and the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource is not
@@ -826,6 +908,7 @@ public Builder clearValidateOnly() {
      * 
* * bool allow_missing = 3; + * * @return The allowMissing. */ @java.lang.Override @@ -833,6 +916,8 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * If set to true, and the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource is not
@@ -843,6 +928,7 @@ public boolean getAllowMissing() {
      * 
* * bool allow_missing = 3; + * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -854,6 +940,8 @@ public Builder setAllowMissing(boolean value) { return this; } /** + * + * *
      * If set to true, and the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource is not
@@ -864,6 +952,7 @@ public Builder setAllowMissing(boolean value) {
      * 
* * bool allow_missing = 3; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -873,8 +962,10 @@ public Builder clearAllowMissing() { return this; } - private boolean ignoreErrors_ ; + private boolean ignoreErrors_; /** + * + * *
      * Optional. If set to true, the deletion of
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will
@@ -883,6 +974,7 @@ public Builder clearAllowMissing() {
      * 
* * bool ignore_errors = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The ignoreErrors. */ @java.lang.Override @@ -890,6 +982,8 @@ public boolean getIgnoreErrors() { return ignoreErrors_; } /** + * + * *
      * Optional. If set to true, the deletion of
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will
@@ -898,6 +992,7 @@ public boolean getIgnoreErrors() {
      * 
* * bool ignore_errors = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The ignoreErrors to set. * @return This builder for chaining. */ @@ -909,6 +1004,8 @@ public Builder setIgnoreErrors(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, the deletion of
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will
@@ -917,6 +1014,7 @@ public Builder setIgnoreErrors(boolean value) {
      * 
* * bool ignore_errors = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearIgnoreErrors() { @@ -928,6 +1026,8 @@ public Builder clearIgnoreErrors() { private java.lang.Object etag_ = ""; /** + * + * *
      * The current etag of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
@@ -939,13 +1039,13 @@ public Builder clearIgnoreErrors() {
      * 
* * string etag = 4; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -954,6 +1054,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * The current etag of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
@@ -965,15 +1067,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 4; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -981,6 +1082,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * The current etag of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
@@ -992,18 +1095,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 4; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * The current etag of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
@@ -1015,6 +1122,7 @@ public Builder setEtag(
      * 
* * string etag = 4; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -1024,6 +1132,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * The current etag of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
@@ -1035,21 +1145,23 @@ public Builder clearEtag() {
      * 
* * string etag = 4; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1059,12 +1171,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest) private static final com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest(); } @@ -1073,27 +1185,27 @@ public static com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAwsClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAwsClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1108,6 +1220,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequestOrBuilder.java similarity index 74% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequestOrBuilder.java index 52fc94ab9344..1a60c917a4c4 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface DeleteAwsClusterRequestOrBuilder extends +public interface DeleteAwsClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
@@ -19,11 +37,16 @@ public interface DeleteAwsClusterRequestOrBuilder extends
    * for more details on Google Cloud Platform resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
@@ -35,23 +58,30 @@ public interface DeleteAwsClusterRequestOrBuilder extends
    * for more details on Google Cloud Platform resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * If set, only validate the request, but do not actually delete the resource.
    * 
* * bool validate_only = 2; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * If set to true, and the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource is not
@@ -62,11 +92,14 @@ public interface DeleteAwsClusterRequestOrBuilder extends
    * 
* * bool allow_missing = 3; + * * @return The allowMissing. */ boolean getAllowMissing(); /** + * + * *
    * Optional. If set to true, the deletion of
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will
@@ -75,11 +108,14 @@ public interface DeleteAwsClusterRequestOrBuilder extends
    * 
* * bool ignore_errors = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The ignoreErrors. */ boolean getIgnoreErrors(); /** + * + * *
    * The current etag of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
@@ -91,10 +127,13 @@ public interface DeleteAwsClusterRequestOrBuilder extends
    * 
* * string etag = 4; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * The current etag of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
@@ -106,8 +145,8 @@ public interface DeleteAwsClusterRequestOrBuilder extends
    * 
* * string etag = 4; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequest.java similarity index 73% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequest.java index d7c53706c3a6..88014f55c176 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Request message for `AwsClusters.DeleteAwsNodePool` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest} */ -public final class DeleteAwsNodePoolRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteAwsNodePoolRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest) DeleteAwsNodePoolRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteAwsNodePoolRequest.newBuilder() to construct. private DeleteAwsNodePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteAwsNodePoolRequest() { name_ = ""; etag_ = ""; @@ -26,28 +44,32 @@ private DeleteAwsNodePoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteAwsNodePoolRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest.class, com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest.class, + com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
@@ -59,7 +81,10 @@ protected java.lang.Object newInstance(
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -68,14 +93,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
@@ -87,17 +113,18 @@ public java.lang.String getName() {
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -108,12 +135,15 @@ public java.lang.String getName() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; private boolean validateOnly_ = false; /** + * + * *
    * If set, only validate the request, but do not actually delete the node
    * pool.
    * 
* * bool validate_only = 2; + * * @return The validateOnly. */ @java.lang.Override @@ -124,6 +154,8 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 3; private boolean allowMissing_ = false; /** + * + * *
    * If set to true, and the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource is not
@@ -134,6 +166,7 @@ public boolean getValidateOnly() {
    * 
* * bool allow_missing = 3; + * * @return The allowMissing. */ @java.lang.Override @@ -144,6 +177,8 @@ public boolean getAllowMissing() { public static final int IGNORE_ERRORS_FIELD_NUMBER = 5; private boolean ignoreErrors_ = false; /** + * + * *
    * Optional. If set to true, the deletion of
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource will
@@ -152,6 +187,7 @@ public boolean getAllowMissing() {
    * 
* * bool ignore_errors = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The ignoreErrors. */ @java.lang.Override @@ -160,9 +196,12 @@ public boolean getIgnoreErrors() { } public static final int ETAG_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * The current ETag of the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
@@ -174,6 +213,7 @@ public boolean getIgnoreErrors() {
    * 
* * string etag = 4; + * * @return The etag. */ @java.lang.Override @@ -182,14 +222,15 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** + * + * *
    * The current ETag of the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
@@ -201,16 +242,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 4; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -219,6 +259,7 @@ public java.lang.String getEtag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -230,8 +271,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -260,19 +300,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, allowMissing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, allowMissing_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, etag_); } if (ignoreErrors_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, ignoreErrors_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, ignoreErrors_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -282,23 +319,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest other = (com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; - if (getAllowMissing() - != other.getAllowMissing()) return false; - if (getIgnoreErrors() - != other.getIgnoreErrors()) return false; - if (!getEtag() - .equals(other.getEtag())) return false; + com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest other = + (com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; + if (getAllowMissing() != other.getAllowMissing()) return false; + if (getIgnoreErrors() != other.getIgnoreErrors()) return false; + if (!getEtag().equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -313,14 +346,11 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); hash = (37 * hash) + IGNORE_ERRORS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIgnoreErrors()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIgnoreErrors()); hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -329,131 +359,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AwsClusters.DeleteAwsNodePool` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest) com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest.class, com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest.class, + com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -467,9 +502,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_descriptor; } @java.lang.Override @@ -488,8 +523,11 @@ public com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest result = new com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest result = + new com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -517,38 +555,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest) other); } else { super.mergeFrom(other); return this; @@ -556,7 +595,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -602,37 +642,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 40: { - ignoreErrors_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 40: + { + ignoreErrors_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -642,10 +688,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
@@ -657,14 +706,16 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -673,6 +724,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
@@ -684,16 +737,17 @@ public java.lang.String getName() {
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -701,6 +755,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
@@ -712,19 +768,25 @@ public java.lang.String getName() {
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
@@ -736,7 +798,10 @@ public Builder setName(
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -746,6 +811,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
@@ -757,13 +824,17 @@ public Builder clearName() {
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -771,14 +842,17 @@ public Builder setNameBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * If set, only validate the request, but do not actually delete the node
      * pool.
      * 
* * bool validate_only = 2; + * * @return The validateOnly. */ @java.lang.Override @@ -786,12 +860,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * If set, only validate the request, but do not actually delete the node
      * pool.
      * 
* * bool validate_only = 2; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -803,12 +880,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * If set, only validate the request, but do not actually delete the node
      * pool.
      * 
* * bool validate_only = 2; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -818,8 +898,10 @@ public Builder clearValidateOnly() { return this; } - private boolean allowMissing_ ; + private boolean allowMissing_; /** + * + * *
      * If set to true, and the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource is not
@@ -830,6 +912,7 @@ public Builder clearValidateOnly() {
      * 
* * bool allow_missing = 3; + * * @return The allowMissing. */ @java.lang.Override @@ -837,6 +920,8 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * If set to true, and the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource is not
@@ -847,6 +932,7 @@ public boolean getAllowMissing() {
      * 
* * bool allow_missing = 3; + * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -858,6 +944,8 @@ public Builder setAllowMissing(boolean value) { return this; } /** + * + * *
      * If set to true, and the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource is not
@@ -868,6 +956,7 @@ public Builder setAllowMissing(boolean value) {
      * 
* * bool allow_missing = 3; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -877,8 +966,10 @@ public Builder clearAllowMissing() { return this; } - private boolean ignoreErrors_ ; + private boolean ignoreErrors_; /** + * + * *
      * Optional. If set to true, the deletion of
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource will
@@ -887,6 +978,7 @@ public Builder clearAllowMissing() {
      * 
* * bool ignore_errors = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The ignoreErrors. */ @java.lang.Override @@ -894,6 +986,8 @@ public boolean getIgnoreErrors() { return ignoreErrors_; } /** + * + * *
      * Optional. If set to true, the deletion of
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource will
@@ -902,6 +996,7 @@ public boolean getIgnoreErrors() {
      * 
* * bool ignore_errors = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The ignoreErrors to set. * @return This builder for chaining. */ @@ -913,6 +1008,8 @@ public Builder setIgnoreErrors(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, the deletion of
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource will
@@ -921,6 +1018,7 @@ public Builder setIgnoreErrors(boolean value) {
      * 
* * bool ignore_errors = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearIgnoreErrors() { @@ -932,6 +1030,8 @@ public Builder clearIgnoreErrors() { private java.lang.Object etag_ = ""; /** + * + * *
      * The current ETag of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
@@ -943,13 +1043,13 @@ public Builder clearIgnoreErrors() {
      * 
* * string etag = 4; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -958,6 +1058,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * The current ETag of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
@@ -969,15 +1071,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 4; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -985,6 +1086,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * The current ETag of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
@@ -996,18 +1099,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 4; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * The current ETag of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
@@ -1019,6 +1126,7 @@ public Builder setEtag(
      * 
* * string etag = 4; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -1028,6 +1136,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * The current ETag of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
@@ -1039,21 +1149,23 @@ public Builder clearEtag() {
      * 
* * string etag = 4; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1063,12 +1175,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest) private static final com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest(); } @@ -1077,27 +1189,27 @@ public static com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAwsNodePoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAwsNodePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1112,6 +1224,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequestOrBuilder.java similarity index 74% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequestOrBuilder.java index 01da18a09a38..034f889d1269 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsNodePoolRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface DeleteAwsNodePoolRequestOrBuilder extends +public interface DeleteAwsNodePoolRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
@@ -19,11 +37,16 @@ public interface DeleteAwsNodePoolRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
@@ -35,24 +58,31 @@ public interface DeleteAwsNodePoolRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * If set, only validate the request, but do not actually delete the node
    * pool.
    * 
* * bool validate_only = 2; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * If set to true, and the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource is not
@@ -63,11 +93,14 @@ public interface DeleteAwsNodePoolRequestOrBuilder extends
    * 
* * bool allow_missing = 3; + * * @return The allowMissing. */ boolean getAllowMissing(); /** + * + * *
    * Optional. If set to true, the deletion of
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource will
@@ -76,11 +109,14 @@ public interface DeleteAwsNodePoolRequestOrBuilder extends
    * 
* * bool ignore_errors = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The ignoreErrors. */ boolean getIgnoreErrors(); /** + * + * *
    * The current ETag of the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
@@ -92,10 +128,13 @@ public interface DeleteAwsNodePoolRequestOrBuilder extends
    * 
* * string etag = 4; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * The current ETag of the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
@@ -107,8 +146,8 @@ public interface DeleteAwsNodePoolRequestOrBuilder extends
    * 
* * string etag = 4; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequest.java similarity index 70% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequest.java index b3ffc6f459e5..499ff3a0b32b 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequest.java @@ -1,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Request message for `AzureClusters.DeleteAzureClient` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.DeleteAzureClientRequest} */ -public final class DeleteAzureClientRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteAzureClientRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.DeleteAzureClientRequest) DeleteAzureClientRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteAzureClientRequest.newBuilder() to construct. private DeleteAzureClientRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteAzureClientRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteAzureClientRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest.class, com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest.class, + com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
@@ -59,7 +81,10 @@ protected java.lang.Object newInstance(
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -68,14 +93,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
@@ -88,17 +114,18 @@ public java.lang.String getName() {
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -109,6 +136,8 @@ public java.lang.String getName() { public static final int ALLOW_MISSING_FIELD_NUMBER = 2; private boolean allowMissing_ = false; /** + * + * *
    * If set to true, and the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource is not
@@ -119,6 +148,7 @@ public java.lang.String getName() {
    * 
* * bool allow_missing = 2; + * * @return The allowMissing. */ @java.lang.Override @@ -129,11 +159,14 @@ public boolean getAllowMissing() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** + * + * *
    * If set, only validate the request, but do not actually delete the resource.
    * 
* * bool validate_only = 3; + * * @return The validateOnly. */ @java.lang.Override @@ -142,6 +175,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +187,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -177,12 +210,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, allowMissing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, allowMissing_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -192,19 +223,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest other = (com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest) obj; + com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest other = + (com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getAllowMissing() - != other.getAllowMissing()) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getName().equals(other.getName())) return false; + if (getAllowMissing() != other.getAllowMissing()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -219,142 +248,145 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AzureClusters.DeleteAzureClient` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.DeleteAzureClientRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.DeleteAzureClientRequest) com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest.class, com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest.class, + com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -366,9 +398,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_descriptor; } @java.lang.Override @@ -387,8 +419,11 @@ public com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest result = new com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest result = + new com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -410,38 +445,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.DeleteAzureClientRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest) other); } else { super.mergeFrom(other); return this; @@ -449,7 +485,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -487,27 +524,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -517,10 +558,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
@@ -533,14 +577,16 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -549,6 +595,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
@@ -561,16 +609,17 @@ public java.lang.String getName() {
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -578,6 +627,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
@@ -590,19 +641,25 @@ public java.lang.String getName() {
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
@@ -615,7 +672,10 @@ public Builder setName(
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -625,6 +685,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
@@ -637,13 +699,17 @@ public Builder clearName() {
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -651,8 +717,10 @@ public Builder setNameBytes( return this; } - private boolean allowMissing_ ; + private boolean allowMissing_; /** + * + * *
      * If set to true, and the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource is not
@@ -663,6 +731,7 @@ public Builder setNameBytes(
      * 
* * bool allow_missing = 2; + * * @return The allowMissing. */ @java.lang.Override @@ -670,6 +739,8 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * If set to true, and the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource is not
@@ -680,6 +751,7 @@ public boolean getAllowMissing() {
      * 
* * bool allow_missing = 2; + * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -691,6 +763,8 @@ public Builder setAllowMissing(boolean value) { return this; } /** + * + * *
      * If set to true, and the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource is not
@@ -701,6 +775,7 @@ public Builder setAllowMissing(boolean value) {
      * 
* * bool allow_missing = 2; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -710,13 +785,16 @@ public Builder clearAllowMissing() { return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * If set, only validate the request, but do not actually delete the resource.
      * 
* * bool validate_only = 3; + * * @return The validateOnly. */ @java.lang.Override @@ -724,11 +802,14 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * If set, only validate the request, but do not actually delete the resource.
      * 
* * bool validate_only = 3; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -740,11 +821,14 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * If set, only validate the request, but do not actually delete the resource.
      * 
* * bool validate_only = 3; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -753,9 +837,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -765,12 +849,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.DeleteAzureClientRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.DeleteAzureClientRequest) private static final com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest(); } @@ -779,27 +863,27 @@ public static com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAzureClientRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAzureClientRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -814,6 +898,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequestOrBuilder.java index 5a44c3e470be..b69ae98b9d03 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClientRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface DeleteAzureClientRequestOrBuilder extends +public interface DeleteAzureClientRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.DeleteAzureClientRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
@@ -20,11 +38,16 @@ public interface DeleteAzureClientRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.
@@ -37,13 +60,17 @@ public interface DeleteAzureClientRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * If set to true, and the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource is not
@@ -54,16 +81,20 @@ public interface DeleteAzureClientRequestOrBuilder extends
    * 
* * bool allow_missing = 2; + * * @return The allowMissing. */ boolean getAllowMissing(); /** + * + * *
    * If set, only validate the request, but do not actually delete the resource.
    * 
* * bool validate_only = 3; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequest.java similarity index 72% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequest.java index a1819ac6b4ec..0e39f5623264 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Request message for `AzureClusters.DeleteAzureCluster` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest} */ -public final class DeleteAzureClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteAzureClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest) DeleteAzureClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteAzureClusterRequest.newBuilder() to construct. private DeleteAzureClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteAzureClusterRequest() { name_ = ""; etag_ = ""; @@ -26,28 +44,32 @@ private DeleteAzureClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteAzureClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest.class, com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest.class, + com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
@@ -59,7 +81,10 @@ protected java.lang.Object newInstance(
    * for more details on Google Cloud Platform resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -68,14 +93,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
@@ -87,17 +113,18 @@ public java.lang.String getName() {
    * for more details on Google Cloud Platform resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -108,6 +135,8 @@ public java.lang.String getName() { public static final int ALLOW_MISSING_FIELD_NUMBER = 2; private boolean allowMissing_ = false; /** + * + * *
    * If set to true, and the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource is not
@@ -118,6 +147,7 @@ public java.lang.String getName() {
    * 
* * bool allow_missing = 2; + * * @return The allowMissing. */ @java.lang.Override @@ -128,11 +158,14 @@ public boolean getAllowMissing() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** + * + * *
    * If set, only validate the request, but do not actually delete the resource.
    * 
* * bool validate_only = 3; + * * @return The validateOnly. */ @java.lang.Override @@ -141,9 +174,12 @@ public boolean getValidateOnly() { } public static final int ETAG_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * The current etag of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
@@ -155,6 +191,7 @@ public boolean getValidateOnly() {
    * 
* * string etag = 4; + * * @return The etag. */ @java.lang.Override @@ -163,14 +200,15 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** + * + * *
    * The current etag of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
@@ -182,16 +220,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 4; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -200,6 +237,7 @@ public java.lang.String getEtag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -211,8 +249,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -238,12 +275,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, allowMissing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, allowMissing_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, etag_); @@ -256,21 +291,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest other = (com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest) obj; + com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest other = + (com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getAllowMissing() - != other.getAllowMissing()) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; - if (!getEtag() - .equals(other.getEtag())) return false; + if (!getName().equals(other.getName())) return false; + if (getAllowMissing() != other.getAllowMissing()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getEtag().equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -285,11 +317,9 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -298,131 +328,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AzureClusters.DeleteAzureCluster` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest) com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest.class, com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest.class, + com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +470,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_descriptor; } @java.lang.Override @@ -456,8 +491,11 @@ public com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest result = new com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest result = + new com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -482,38 +520,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.DeleteAzureClusterR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -521,7 +560,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -564,32 +604,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -599,10 +644,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
@@ -614,14 +662,16 @@ public Builder mergeFrom(
      * for more details on Google Cloud Platform resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -630,6 +680,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
@@ -641,16 +693,17 @@ public java.lang.String getName() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -658,6 +711,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
@@ -669,19 +724,25 @@ public java.lang.String getName() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
@@ -693,7 +754,10 @@ public Builder setName(
      * for more details on Google Cloud Platform resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -703,6 +767,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
@@ -714,13 +780,17 @@ public Builder clearName() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -728,8 +798,10 @@ public Builder setNameBytes( return this; } - private boolean allowMissing_ ; + private boolean allowMissing_; /** + * + * *
      * If set to true, and the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource is not
@@ -740,6 +812,7 @@ public Builder setNameBytes(
      * 
* * bool allow_missing = 2; + * * @return The allowMissing. */ @java.lang.Override @@ -747,6 +820,8 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * If set to true, and the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource is not
@@ -757,6 +832,7 @@ public boolean getAllowMissing() {
      * 
* * bool allow_missing = 2; + * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -768,6 +844,8 @@ public Builder setAllowMissing(boolean value) { return this; } /** + * + * *
      * If set to true, and the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource is not
@@ -778,6 +856,7 @@ public Builder setAllowMissing(boolean value) {
      * 
* * bool allow_missing = 2; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -787,13 +866,16 @@ public Builder clearAllowMissing() { return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * If set, only validate the request, but do not actually delete the resource.
      * 
* * bool validate_only = 3; + * * @return The validateOnly. */ @java.lang.Override @@ -801,11 +883,14 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * If set, only validate the request, but do not actually delete the resource.
      * 
* * bool validate_only = 3; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -817,11 +902,14 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * If set, only validate the request, but do not actually delete the resource.
      * 
* * bool validate_only = 3; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -833,6 +921,8 @@ public Builder clearValidateOnly() { private java.lang.Object etag_ = ""; /** + * + * *
      * The current etag of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
@@ -844,13 +934,13 @@ public Builder clearValidateOnly() {
      * 
* * string etag = 4; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -859,6 +949,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * The current etag of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
@@ -870,15 +962,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 4; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -886,6 +977,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * The current etag of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
@@ -897,18 +990,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 4; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The current etag of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
@@ -920,6 +1017,7 @@ public Builder setEtag(
      * 
* * string etag = 4; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -929,6 +1027,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * The current etag of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
@@ -940,21 +1040,23 @@ public Builder clearEtag() {
      * 
* * string etag = 4; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -964,12 +1066,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest) private static final com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest(); } @@ -978,27 +1080,27 @@ public static com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAzureClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAzureClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1013,6 +1115,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequestOrBuilder.java similarity index 72% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequestOrBuilder.java index be50f695ddd0..3d6918066386 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface DeleteAzureClusterRequestOrBuilder extends +public interface DeleteAzureClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
@@ -19,11 +37,16 @@ public interface DeleteAzureClusterRequestOrBuilder extends
    * for more details on Google Cloud Platform resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
@@ -35,13 +58,17 @@ public interface DeleteAzureClusterRequestOrBuilder extends
    * for more details on Google Cloud Platform resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * If set to true, and the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource is not
@@ -52,21 +79,27 @@ public interface DeleteAzureClusterRequestOrBuilder extends
    * 
* * bool allow_missing = 2; + * * @return The allowMissing. */ boolean getAllowMissing(); /** + * + * *
    * If set, only validate the request, but do not actually delete the resource.
    * 
* * bool validate_only = 3; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * The current etag of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
@@ -78,10 +111,13 @@ public interface DeleteAzureClusterRequestOrBuilder extends
    * 
* * string etag = 4; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * The current etag of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
@@ -93,8 +129,8 @@ public interface DeleteAzureClusterRequestOrBuilder extends
    * 
* * string etag = 4; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequest.java similarity index 71% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequest.java index 0a44dd65ae7a..3912b1326281 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Request message for `AzureClusters.DeleteAzureNodePool` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest} */ -public final class DeleteAzureNodePoolRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteAzureNodePoolRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest) DeleteAzureNodePoolRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteAzureNodePoolRequest.newBuilder() to construct. private DeleteAzureNodePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteAzureNodePoolRequest() { name_ = ""; etag_ = ""; @@ -26,28 +44,32 @@ private DeleteAzureNodePoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteAzureNodePoolRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest.class, com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest.class, + com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
@@ -59,7 +81,10 @@ protected java.lang.Object newInstance(
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -68,14 +93,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
@@ -87,17 +113,18 @@ public java.lang.String getName() {
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -108,12 +135,15 @@ public java.lang.String getName() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; private boolean validateOnly_ = false; /** + * + * *
    * If set, only validate the request, but do not actually delete the node
    * pool.
    * 
* * bool validate_only = 2; + * * @return The validateOnly. */ @java.lang.Override @@ -124,6 +154,8 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 3; private boolean allowMissing_ = false; /** + * + * *
    * If set to true, and the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource is
@@ -135,6 +167,7 @@ public boolean getValidateOnly() {
    * 
* * bool allow_missing = 3; + * * @return The allowMissing. */ @java.lang.Override @@ -143,9 +176,12 @@ public boolean getAllowMissing() { } public static final int ETAG_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * The current ETag of the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
@@ -157,6 +193,7 @@ public boolean getAllowMissing() {
    * 
* * string etag = 4; + * * @return The etag. */ @java.lang.Override @@ -165,14 +202,15 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** + * + * *
    * The current ETag of the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
@@ -184,16 +222,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 4; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -202,6 +239,7 @@ public java.lang.String getEtag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,8 +251,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -240,12 +277,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, allowMissing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, allowMissing_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, etag_); @@ -258,21 +293,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest other = (com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; - if (getAllowMissing() - != other.getAllowMissing()) return false; - if (!getEtag() - .equals(other.getEtag())) return false; + com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest other = + (com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; + if (getAllowMissing() != other.getAllowMissing()) return false; + if (!getEtag().equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -287,11 +319,9 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -300,131 +330,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AzureClusters.DeleteAzureNodePool` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest) com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest.class, com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest.class, + com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +472,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest + getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest.getDefaultInstance(); } @@ -458,13 +494,17 @@ public com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest result = new com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest result = + new com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest result) { + private void buildPartial0( + com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -484,38 +524,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.DeleteAzureNodePool public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest) other); } else { super.mergeFrom(other); return this; @@ -523,7 +564,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -566,32 +609,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -601,10 +649,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
@@ -616,14 +667,16 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -632,6 +685,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
@@ -643,16 +698,17 @@ public java.lang.String getName() {
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -660,6 +716,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
@@ -671,19 +729,25 @@ public java.lang.String getName() {
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
@@ -695,7 +759,10 @@ public Builder setName(
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -705,6 +772,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
@@ -716,13 +785,17 @@ public Builder clearName() {
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -730,14 +803,17 @@ public Builder setNameBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * If set, only validate the request, but do not actually delete the node
      * pool.
      * 
* * bool validate_only = 2; + * * @return The validateOnly. */ @java.lang.Override @@ -745,12 +821,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * If set, only validate the request, but do not actually delete the node
      * pool.
      * 
* * bool validate_only = 2; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -762,12 +841,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * If set, only validate the request, but do not actually delete the node
      * pool.
      * 
* * bool validate_only = 2; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -777,8 +859,10 @@ public Builder clearValidateOnly() { return this; } - private boolean allowMissing_ ; + private boolean allowMissing_; /** + * + * *
      * If set to true, and the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource is
@@ -790,6 +874,7 @@ public Builder clearValidateOnly() {
      * 
* * bool allow_missing = 3; + * * @return The allowMissing. */ @java.lang.Override @@ -797,6 +882,8 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * If set to true, and the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource is
@@ -808,6 +895,7 @@ public boolean getAllowMissing() {
      * 
* * bool allow_missing = 3; + * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -819,6 +907,8 @@ public Builder setAllowMissing(boolean value) { return this; } /** + * + * *
      * If set to true, and the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource is
@@ -830,6 +920,7 @@ public Builder setAllowMissing(boolean value) {
      * 
* * bool allow_missing = 3; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -841,6 +932,8 @@ public Builder clearAllowMissing() { private java.lang.Object etag_ = ""; /** + * + * *
      * The current ETag of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
@@ -852,13 +945,13 @@ public Builder clearAllowMissing() {
      * 
* * string etag = 4; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -867,6 +960,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * The current ETag of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
@@ -878,15 +973,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 4; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -894,6 +988,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * The current ETag of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
@@ -905,18 +1001,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 4; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The current ETag of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
@@ -928,6 +1028,7 @@ public Builder setEtag(
      * 
* * string etag = 4; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -937,6 +1038,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * The current ETag of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
@@ -948,21 +1051,23 @@ public Builder clearEtag() {
      * 
* * string etag = 4; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -972,12 +1077,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest) - private static final com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest DEFAULT_INSTANCE; + private static final com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest(); } @@ -986,27 +1092,27 @@ public static com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAzureNodePoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAzureNodePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1021,6 +1127,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequestOrBuilder.java similarity index 72% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequestOrBuilder.java index cd7619bc4f36..3277dde0e057 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureNodePoolRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface DeleteAzureNodePoolRequestOrBuilder extends +public interface DeleteAzureNodePoolRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
@@ -19,11 +37,16 @@ public interface DeleteAzureNodePoolRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
@@ -35,24 +58,31 @@ public interface DeleteAzureNodePoolRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * If set, only validate the request, but do not actually delete the node
    * pool.
    * 
* * bool validate_only = 2; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * If set to true, and the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource is
@@ -64,11 +94,14 @@ public interface DeleteAzureNodePoolRequestOrBuilder extends
    * 
* * bool allow_missing = 3; + * * @return The allowMissing. */ boolean getAllowMissing(); /** + * + * *
    * The current ETag of the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
@@ -80,10 +113,13 @@ public interface DeleteAzureNodePoolRequestOrBuilder extends
    * 
* * string etag = 4; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * The current ETag of the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
@@ -95,8 +131,8 @@ public interface DeleteAzureNodePoolRequestOrBuilder extends
    * 
* * string etag = 4; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Fleet.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Fleet.java similarity index 72% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Fleet.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Fleet.java index b71e1b3c63d1..f2f77381d26d 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Fleet.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Fleet.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Fleet related configuration.
  *
@@ -18,15 +35,16 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.Fleet}
  */
-public final class Fleet extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Fleet extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.Fleet)
     FleetOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Fleet.newBuilder() to construct.
   private Fleet(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Fleet() {
     project_ = "";
     membership_ = "";
@@ -34,28 +52,32 @@ private Fleet() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Fleet();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_Fleet_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.CommonResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_Fleet_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_Fleet_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.CommonResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_Fleet_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.Fleet.class, com.google.cloud.gkemulticloud.v1.Fleet.Builder.class);
+            com.google.cloud.gkemulticloud.v1.Fleet.class,
+            com.google.cloud.gkemulticloud.v1.Fleet.Builder.class);
   }
 
   public static final int PROJECT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object project_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the Fleet host project where this cluster will be
    * registered.
@@ -65,6 +87,7 @@ protected java.lang.Object newInstance(
    * 
* * string project = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The project. */ @java.lang.Override @@ -73,14 +96,15 @@ public java.lang.String getProject() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; } } /** + * + * *
    * Required. The name of the Fleet host project where this cluster will be
    * registered.
@@ -90,16 +114,15 @@ public java.lang.String getProject() {
    * 
* * string project = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for project. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectBytes() { + public com.google.protobuf.ByteString getProjectBytes() { java.lang.Object ref = project_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); project_ = b; return b; } else { @@ -108,9 +131,12 @@ public java.lang.String getProject() { } public static final int MEMBERSHIP_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object membership_ = ""; /** + * + * *
    * Output only. The name of the managed Hub Membership resource associated to
    * this cluster.
@@ -120,6 +146,7 @@ public java.lang.String getProject() {
    * 
* * string membership = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The membership. */ @java.lang.Override @@ -128,14 +155,15 @@ public java.lang.String getMembership() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); membership_ = s; return s; } } /** + * + * *
    * Output only. The name of the managed Hub Membership resource associated to
    * this cluster.
@@ -145,16 +173,15 @@ public java.lang.String getMembership() {
    * 
* * string membership = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for membership. */ @java.lang.Override - public com.google.protobuf.ByteString - getMembershipBytes() { + public com.google.protobuf.ByteString getMembershipBytes() { java.lang.Object ref = membership_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); membership_ = b; return b; } else { @@ -163,6 +190,7 @@ public java.lang.String getMembership() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +202,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, project_); } @@ -205,17 +232,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.Fleet)) { return super.equals(obj); } com.google.cloud.gkemulticloud.v1.Fleet other = (com.google.cloud.gkemulticloud.v1.Fleet) obj; - if (!getProject() - .equals(other.getProject())) return false; - if (!getMembership() - .equals(other.getMembership())) return false; + if (!getProject().equals(other.getProject())) return false; + if (!getMembership().equals(other.getMembership())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -236,99 +261,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.gkemulticloud.v1.Fleet parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.gkemulticloud.v1.Fleet parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.Fleet parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.Fleet parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.Fleet parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.Fleet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.Fleet parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.Fleet parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.Fleet parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.Fleet parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.Fleet parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.Fleet parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.Fleet parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.Fleet parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.Fleet prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Fleet related configuration.
    *
@@ -343,33 +373,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.Fleet}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.Fleet)
       com.google.cloud.gkemulticloud.v1.FleetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_Fleet_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.CommonResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_Fleet_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_Fleet_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.CommonResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_Fleet_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.Fleet.class, com.google.cloud.gkemulticloud.v1.Fleet.Builder.class);
+              com.google.cloud.gkemulticloud.v1.Fleet.class,
+              com.google.cloud.gkemulticloud.v1.Fleet.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.Fleet.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -380,9 +409,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_Fleet_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.CommonResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_Fleet_descriptor;
     }
 
     @java.lang.Override
@@ -401,8 +430,11 @@ public com.google.cloud.gkemulticloud.v1.Fleet build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.Fleet buildPartial() {
-      com.google.cloud.gkemulticloud.v1.Fleet result = new com.google.cloud.gkemulticloud.v1.Fleet(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.gkemulticloud.v1.Fleet result =
+          new com.google.cloud.gkemulticloud.v1.Fleet(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -421,38 +453,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.Fleet result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.Fleet) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.Fleet)other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.Fleet) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -497,22 +530,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              project_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              membership_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                project_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                membership_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -522,10 +558,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object project_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the Fleet host project where this cluster will be
      * registered.
@@ -535,13 +574,13 @@ public Builder mergeFrom(
      * 
* * string project = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The project. */ public java.lang.String getProject() { java.lang.Object ref = project_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); project_ = s; return s; @@ -550,6 +589,8 @@ public java.lang.String getProject() { } } /** + * + * *
      * Required. The name of the Fleet host project where this cluster will be
      * registered.
@@ -559,15 +600,14 @@ public java.lang.String getProject() {
      * 
* * string project = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for project. */ - public com.google.protobuf.ByteString - getProjectBytes() { + public com.google.protobuf.ByteString getProjectBytes() { java.lang.Object ref = project_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); project_ = b; return b; } else { @@ -575,6 +615,8 @@ public java.lang.String getProject() { } } /** + * + * *
      * Required. The name of the Fleet host project where this cluster will be
      * registered.
@@ -584,18 +626,22 @@ public java.lang.String getProject() {
      * 
* * string project = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The project to set. * @return This builder for chaining. */ - public Builder setProject( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProject(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } project_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the Fleet host project where this cluster will be
      * registered.
@@ -605,6 +651,7 @@ public Builder setProject(
      * 
* * string project = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearProject() { @@ -614,6 +661,8 @@ public Builder clearProject() { return this; } /** + * + * *
      * Required. The name of the Fleet host project where this cluster will be
      * registered.
@@ -623,12 +672,14 @@ public Builder clearProject() {
      * 
* * string project = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for project to set. * @return This builder for chaining. */ - public Builder setProjectBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); project_ = value; bitField0_ |= 0x00000001; @@ -638,6 +689,8 @@ public Builder setProjectBytes( private java.lang.Object membership_ = ""; /** + * + * *
      * Output only. The name of the managed Hub Membership resource associated to
      * this cluster.
@@ -647,13 +700,13 @@ public Builder setProjectBytes(
      * 
* * string membership = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The membership. */ public java.lang.String getMembership() { java.lang.Object ref = membership_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); membership_ = s; return s; @@ -662,6 +715,8 @@ public java.lang.String getMembership() { } } /** + * + * *
      * Output only. The name of the managed Hub Membership resource associated to
      * this cluster.
@@ -671,15 +726,14 @@ public java.lang.String getMembership() {
      * 
* * string membership = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for membership. */ - public com.google.protobuf.ByteString - getMembershipBytes() { + public com.google.protobuf.ByteString getMembershipBytes() { java.lang.Object ref = membership_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); membership_ = b; return b; } else { @@ -687,6 +741,8 @@ public java.lang.String getMembership() { } } /** + * + * *
      * Output only. The name of the managed Hub Membership resource associated to
      * this cluster.
@@ -696,18 +752,22 @@ public java.lang.String getMembership() {
      * 
* * string membership = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The membership to set. * @return This builder for chaining. */ - public Builder setMembership( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMembership(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } membership_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. The name of the managed Hub Membership resource associated to
      * this cluster.
@@ -717,6 +777,7 @@ public Builder setMembership(
      * 
* * string membership = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearMembership() { @@ -726,6 +787,8 @@ public Builder clearMembership() { return this; } /** + * + * *
      * Output only. The name of the managed Hub Membership resource associated to
      * this cluster.
@@ -735,21 +798,23 @@ public Builder clearMembership() {
      * 
* * string membership = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for membership to set. * @return This builder for chaining. */ - public Builder setMembershipBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMembershipBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); membership_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -759,12 +824,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.Fleet) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.Fleet) private static final com.google.cloud.gkemulticloud.v1.Fleet DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.Fleet(); } @@ -773,27 +838,27 @@ public static com.google.cloud.gkemulticloud.v1.Fleet getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Fleet parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Fleet parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -808,6 +873,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.Fleet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/FleetOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/FleetOrBuilder.java similarity index 69% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/FleetOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/FleetOrBuilder.java index 6f78c834cb23..27905637c9be 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/FleetOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/FleetOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface FleetOrBuilder extends +public interface FleetOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.Fleet) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the Fleet host project where this cluster will be
    * registered.
@@ -17,10 +35,13 @@ public interface FleetOrBuilder extends
    * 
* * string project = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The project. */ java.lang.String getProject(); /** + * + * *
    * Required. The name of the Fleet host project where this cluster will be
    * registered.
@@ -30,12 +51,14 @@ public interface FleetOrBuilder extends
    * 
* * string project = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for project. */ - com.google.protobuf.ByteString - getProjectBytes(); + com.google.protobuf.ByteString getProjectBytes(); /** + * + * *
    * Output only. The name of the managed Hub Membership resource associated to
    * this cluster.
@@ -45,10 +68,13 @@ public interface FleetOrBuilder extends
    * 
* * string membership = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The membership. */ java.lang.String getMembership(); /** + * + * *
    * Output only. The name of the managed Hub Membership resource associated to
    * this cluster.
@@ -58,8 +84,8 @@ public interface FleetOrBuilder extends
    * 
* * string membership = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for membership. */ - com.google.protobuf.ByteString - getMembershipBytes(); + com.google.protobuf.ByteString getMembershipBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenRequest.java similarity index 66% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenRequest.java index f2c9c51e5d69..4c2468ab009f 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenRequest.java @@ -1,20 +1,36 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; -/** - * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest} - */ -public final class GenerateAttachedClusterAgentTokenRequest extends - com.google.protobuf.GeneratedMessageV3 implements +/** Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest} */ +public final class GenerateAttachedClusterAgentTokenRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest) GenerateAttachedClusterAgentTokenRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GenerateAttachedClusterAgentTokenRequest.newBuilder() to construct. - private GenerateAttachedClusterAgentTokenRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GenerateAttachedClusterAgentTokenRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GenerateAttachedClusterAgentTokenRequest() { attachedCluster_ = ""; subjectToken_ = ""; @@ -29,33 +45,41 @@ private GenerateAttachedClusterAgentTokenRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GenerateAttachedClusterAgentTokenRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest.class, com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest.class, + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest.Builder + .class); } public static final int ATTACHED_CLUSTER_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object attachedCluster_ = ""; /** + * + * *
    * Required.
    * 
* - * string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The attachedCluster. */ @java.lang.Override @@ -64,29 +88,31 @@ public java.lang.String getAttachedCluster() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attachedCluster_ = s; return s; } } /** + * + * *
    * Required.
    * 
* - * string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for attachedCluster. */ @java.lang.Override - public com.google.protobuf.ByteString - getAttachedClusterBytes() { + public com.google.protobuf.ByteString getAttachedClusterBytes() { java.lang.Object ref = attachedCluster_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); attachedCluster_ = b; return b; } else { @@ -95,14 +121,18 @@ public java.lang.String getAttachedCluster() { } public static final int SUBJECT_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object subjectToken_ = ""; /** + * + * *
    * Required.
    * 
* * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The subjectToken. */ @java.lang.Override @@ -111,29 +141,29 @@ public java.lang.String getSubjectToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subjectToken_ = s; return s; } } /** + * + * *
    * Required.
    * 
* * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for subjectToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getSubjectTokenBytes() { + public com.google.protobuf.ByteString getSubjectTokenBytes() { java.lang.Object ref = subjectToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subjectToken_ = b; return b; } else { @@ -142,14 +172,18 @@ public java.lang.String getSubjectToken() { } public static final int SUBJECT_TOKEN_TYPE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object subjectTokenType_ = ""; /** + * + * *
    * Required.
    * 
* * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The subjectTokenType. */ @java.lang.Override @@ -158,29 +192,29 @@ public java.lang.String getSubjectTokenType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subjectTokenType_ = s; return s; } } /** + * + * *
    * Required.
    * 
* * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for subjectTokenType. */ @java.lang.Override - public com.google.protobuf.ByteString - getSubjectTokenTypeBytes() { + public com.google.protobuf.ByteString getSubjectTokenTypeBytes() { java.lang.Object ref = subjectTokenType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subjectTokenType_ = b; return b; } else { @@ -189,14 +223,18 @@ public java.lang.String getSubjectTokenType() { } public static final int VERSION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object version_ = ""; /** + * + * *
    * Required.
    * 
* * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The version. */ @java.lang.Override @@ -205,29 +243,29 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
    * Required.
    * 
* * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -236,14 +274,18 @@ public java.lang.String getVersion() { } public static final int GRANT_TYPE_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object grantType_ = ""; /** + * + * *
    * Optional.
    * 
* * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The grantType. */ @java.lang.Override @@ -252,29 +294,29 @@ public java.lang.String getGrantType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); grantType_ = s; return s; } } /** + * + * *
    * Optional.
    * 
* * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for grantType. */ @java.lang.Override - public com.google.protobuf.ByteString - getGrantTypeBytes() { + public com.google.protobuf.ByteString getGrantTypeBytes() { java.lang.Object ref = grantType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); grantType_ = b; return b; } else { @@ -283,14 +325,18 @@ public java.lang.String getGrantType() { } public static final int AUDIENCE_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object audience_ = ""; /** + * + * *
    * Optional.
    * 
* * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The audience. */ @java.lang.Override @@ -299,29 +345,29 @@ public java.lang.String getAudience() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; } } /** + * + * *
    * Optional.
    * 
* * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for audience. */ @java.lang.Override - public com.google.protobuf.ByteString - getAudienceBytes() { + public com.google.protobuf.ByteString getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); audience_ = b; return b; } else { @@ -330,14 +376,18 @@ public java.lang.String getAudience() { } public static final int SCOPE_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object scope_ = ""; /** + * + * *
    * Optional.
    * 
* * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The scope. */ @java.lang.Override @@ -346,29 +396,29 @@ public java.lang.String getScope() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; } } /** + * + * *
    * Optional.
    * 
* * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for scope. */ @java.lang.Override - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -377,14 +427,18 @@ public java.lang.String getScope() { } public static final int REQUESTED_TOKEN_TYPE_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object requestedTokenType_ = ""; /** + * + * *
    * Optional.
    * 
* * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestedTokenType. */ @java.lang.Override @@ -393,29 +447,29 @@ public java.lang.String getRequestedTokenType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestedTokenType_ = s; return s; } } /** + * + * *
    * Optional.
    * 
* * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestedTokenType. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestedTokenTypeBytes() { + public com.google.protobuf.ByteString getRequestedTokenTypeBytes() { java.lang.Object ref = requestedTokenType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestedTokenType_ = b; return b; } else { @@ -424,14 +478,18 @@ public java.lang.String getRequestedTokenType() { } public static final int OPTIONS_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private volatile java.lang.Object options_ = ""; /** + * + * *
    * Optional.
    * 
* * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The options. */ @java.lang.Override @@ -440,29 +498,29 @@ public java.lang.String getOptions() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); options_ = s; return s; } } /** + * + * *
    * Optional.
    * 
* * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for options. */ @java.lang.Override - public com.google.protobuf.ByteString - getOptionsBytes() { + public com.google.protobuf.ByteString getOptionsBytes() { java.lang.Object ref = options_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); options_ = b; return b; } else { @@ -471,6 +529,7 @@ public java.lang.String getOptions() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -482,8 +541,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attachedCluster_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, attachedCluster_); } @@ -555,31 +613,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest)) { + if (!(obj + instanceof com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest other = (com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest) obj; - - if (!getAttachedCluster() - .equals(other.getAttachedCluster())) return false; - if (!getSubjectToken() - .equals(other.getSubjectToken())) return false; - if (!getSubjectTokenType() - .equals(other.getSubjectTokenType())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getGrantType() - .equals(other.getGrantType())) return false; - if (!getAudience() - .equals(other.getAudience())) return false; - if (!getScope() - .equals(other.getScope())) return false; - if (!getRequestedTokenType() - .equals(other.getRequestedTokenType())) return false; - if (!getOptions() - .equals(other.getOptions())) return false; + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest other = + (com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest) obj; + + if (!getAttachedCluster().equals(other.getAttachedCluster())) return false; + if (!getSubjectToken().equals(other.getSubjectToken())) return false; + if (!getSubjectTokenType().equals(other.getSubjectTokenType())) return false; + if (!getVersion().equals(other.getVersion())) return false; + if (!getGrantType().equals(other.getGrantType())) return false; + if (!getAudience().equals(other.getAudience())) return false; + if (!getScope().equals(other.getScope())) return false; + if (!getRequestedTokenType().equals(other.getRequestedTokenType())) return false; + if (!getOptions().equals(other.getOptions())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -614,128 +665,139 @@ public int hashCode() { return hash; } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest) com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest.class, com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest.class, + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest.Builder + .class); } - // Construct using com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -753,19 +815,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenRequest_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest getDefaultInstanceForType() { - return com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest.getDefaultInstance(); + public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest + getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest build() { - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest result = buildPartial(); + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -773,14 +838,19 @@ public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenReques } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest result = new com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest + buildPartial() { + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest result = + new com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest result) { + private void buildPartial0( + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.attachedCluster_ = attachedCluster_; @@ -815,46 +885,52 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAttachedClu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest)other); + if (other + instanceof com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest) { + return mergeFrom( + (com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest other) { + if (other + == com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest + .getDefaultInstance()) return this; if (!other.getAttachedCluster().isEmpty()) { attachedCluster_ = other.attachedCluster_; bitField0_ |= 0x00000001; @@ -926,57 +1002,67 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - attachedCluster_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - subjectToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - subjectTokenType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - version_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 50: { - grantType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 50 - case 58: { - audience_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 58 - case 66: { - scope_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 66 - case 74: { - requestedTokenType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 74 - case 82: { - options_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 82 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + attachedCluster_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + subjectToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + subjectTokenType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 50: + { + grantType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 50 + case 58: + { + audience_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 58 + case 66: + { + scope_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 66 + case 74: + { + requestedTokenType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 74 + case 82: + { + options_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 82 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -986,22 +1072,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object attachedCluster_ = ""; /** + * + * *
      * Required.
      * 
* - * string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The attachedCluster. */ public java.lang.String getAttachedCluster() { java.lang.Object ref = attachedCluster_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attachedCluster_ = s; return s; @@ -1010,20 +1101,23 @@ public java.lang.String getAttachedCluster() { } } /** + * + * *
      * Required.
      * 
* - * string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for attachedCluster. */ - public com.google.protobuf.ByteString - getAttachedClusterBytes() { + public com.google.protobuf.ByteString getAttachedClusterBytes() { java.lang.Object ref = attachedCluster_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); attachedCluster_ = b; return b; } else { @@ -1031,28 +1125,39 @@ public java.lang.String getAttachedCluster() { } } /** + * + * *
      * Required.
      * 
* - * string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The attachedCluster to set. * @return This builder for chaining. */ - public Builder setAttachedCluster( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAttachedCluster(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } attachedCluster_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required.
      * 
* - * string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearAttachedCluster() { @@ -1062,17 +1167,23 @@ public Builder clearAttachedCluster() { return this; } /** + * + * *
      * Required.
      * 
* - * string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for attachedCluster to set. * @return This builder for chaining. */ - public Builder setAttachedClusterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAttachedClusterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); attachedCluster_ = value; bitField0_ |= 0x00000001; @@ -1082,18 +1193,20 @@ public Builder setAttachedClusterBytes( private java.lang.Object subjectToken_ = ""; /** + * + * *
      * Required.
      * 
* * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The subjectToken. */ public java.lang.String getSubjectToken() { java.lang.Object ref = subjectToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subjectToken_ = s; return s; @@ -1102,20 +1215,21 @@ public java.lang.String getSubjectToken() { } } /** + * + * *
      * Required.
      * 
* * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for subjectToken. */ - public com.google.protobuf.ByteString - getSubjectTokenBytes() { + public com.google.protobuf.ByteString getSubjectTokenBytes() { java.lang.Object ref = subjectToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subjectToken_ = b; return b; } else { @@ -1123,28 +1237,35 @@ public java.lang.String getSubjectToken() { } } /** + * + * *
      * Required.
      * 
* * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The subjectToken to set. * @return This builder for chaining. */ - public Builder setSubjectToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSubjectToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } subjectToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required.
      * 
* * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSubjectToken() { @@ -1154,17 +1275,21 @@ public Builder clearSubjectToken() { return this; } /** + * + * *
      * Required.
      * 
* * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for subjectToken to set. * @return This builder for chaining. */ - public Builder setSubjectTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSubjectTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); subjectToken_ = value; bitField0_ |= 0x00000002; @@ -1174,18 +1299,20 @@ public Builder setSubjectTokenBytes( private java.lang.Object subjectTokenType_ = ""; /** + * + * *
      * Required.
      * 
* * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The subjectTokenType. */ public java.lang.String getSubjectTokenType() { java.lang.Object ref = subjectTokenType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subjectTokenType_ = s; return s; @@ -1194,20 +1321,21 @@ public java.lang.String getSubjectTokenType() { } } /** + * + * *
      * Required.
      * 
* * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for subjectTokenType. */ - public com.google.protobuf.ByteString - getSubjectTokenTypeBytes() { + public com.google.protobuf.ByteString getSubjectTokenTypeBytes() { java.lang.Object ref = subjectTokenType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subjectTokenType_ = b; return b; } else { @@ -1215,28 +1343,35 @@ public java.lang.String getSubjectTokenType() { } } /** + * + * *
      * Required.
      * 
* * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The subjectTokenType to set. * @return This builder for chaining. */ - public Builder setSubjectTokenType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSubjectTokenType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } subjectTokenType_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required.
      * 
* * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSubjectTokenType() { @@ -1246,17 +1381,21 @@ public Builder clearSubjectTokenType() { return this; } /** + * + * *
      * Required.
      * 
* * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for subjectTokenType to set. * @return This builder for chaining. */ - public Builder setSubjectTokenTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSubjectTokenTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); subjectTokenType_ = value; bitField0_ |= 0x00000004; @@ -1266,18 +1405,20 @@ public Builder setSubjectTokenTypeBytes( private java.lang.Object version_ = ""; /** + * + * *
      * Required.
      * 
* * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -1286,20 +1427,21 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Required.
      * 
* * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -1307,28 +1449,35 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Required.
      * 
* * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } version_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Required.
      * 
* * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearVersion() { @@ -1338,17 +1487,21 @@ public Builder clearVersion() { return this; } /** + * + * *
      * Required.
      * 
* * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); version_ = value; bitField0_ |= 0x00000008; @@ -1358,18 +1511,20 @@ public Builder setVersionBytes( private java.lang.Object grantType_ = ""; /** + * + * *
      * Optional.
      * 
* * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The grantType. */ public java.lang.String getGrantType() { java.lang.Object ref = grantType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); grantType_ = s; return s; @@ -1378,20 +1533,21 @@ public java.lang.String getGrantType() { } } /** + * + * *
      * Optional.
      * 
* * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for grantType. */ - public com.google.protobuf.ByteString - getGrantTypeBytes() { + public com.google.protobuf.ByteString getGrantTypeBytes() { java.lang.Object ref = grantType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); grantType_ = b; return b; } else { @@ -1399,28 +1555,35 @@ public java.lang.String getGrantType() { } } /** + * + * *
      * Optional.
      * 
* * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The grantType to set. * @return This builder for chaining. */ - public Builder setGrantType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGrantType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } grantType_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional.
      * 
* * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearGrantType() { @@ -1430,17 +1593,21 @@ public Builder clearGrantType() { return this; } /** + * + * *
      * Optional.
      * 
* * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for grantType to set. * @return This builder for chaining. */ - public Builder setGrantTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGrantTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); grantType_ = value; bitField0_ |= 0x00000010; @@ -1450,18 +1617,20 @@ public Builder setGrantTypeBytes( private java.lang.Object audience_ = ""; /** + * + * *
      * Optional.
      * 
* * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The audience. */ public java.lang.String getAudience() { java.lang.Object ref = audience_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; @@ -1470,20 +1639,21 @@ public java.lang.String getAudience() { } } /** + * + * *
      * Optional.
      * 
* * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for audience. */ - public com.google.protobuf.ByteString - getAudienceBytes() { + public com.google.protobuf.ByteString getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); audience_ = b; return b; } else { @@ -1491,28 +1661,35 @@ public java.lang.String getAudience() { } } /** + * + * *
      * Optional.
      * 
* * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The audience to set. * @return This builder for chaining. */ - public Builder setAudience( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAudience(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } audience_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Optional.
      * 
* * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAudience() { @@ -1522,17 +1699,21 @@ public Builder clearAudience() { return this; } /** + * + * *
      * Optional.
      * 
* * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for audience to set. * @return This builder for chaining. */ - public Builder setAudienceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAudienceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); audience_ = value; bitField0_ |= 0x00000020; @@ -1542,18 +1723,20 @@ public Builder setAudienceBytes( private java.lang.Object scope_ = ""; /** + * + * *
      * Optional.
      * 
* * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The scope. */ public java.lang.String getScope() { java.lang.Object ref = scope_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; @@ -1562,20 +1745,21 @@ public java.lang.String getScope() { } } /** + * + * *
      * Optional.
      * 
* * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for scope. */ - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -1583,28 +1767,35 @@ public java.lang.String getScope() { } } /** + * + * *
      * Optional.
      * 
* * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setScope(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } scope_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Optional.
      * 
* * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearScope() { @@ -1614,17 +1805,21 @@ public Builder clearScope() { return this; } /** + * + * *
      * Optional.
      * 
* * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for scope to set. * @return This builder for chaining. */ - public Builder setScopeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setScopeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); scope_ = value; bitField0_ |= 0x00000040; @@ -1634,18 +1829,20 @@ public Builder setScopeBytes( private java.lang.Object requestedTokenType_ = ""; /** + * + * *
      * Optional.
      * 
* * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestedTokenType. */ public java.lang.String getRequestedTokenType() { java.lang.Object ref = requestedTokenType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestedTokenType_ = s; return s; @@ -1654,20 +1851,21 @@ public java.lang.String getRequestedTokenType() { } } /** + * + * *
      * Optional.
      * 
* * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestedTokenType. */ - public com.google.protobuf.ByteString - getRequestedTokenTypeBytes() { + public com.google.protobuf.ByteString getRequestedTokenTypeBytes() { java.lang.Object ref = requestedTokenType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestedTokenType_ = b; return b; } else { @@ -1675,28 +1873,35 @@ public java.lang.String getRequestedTokenType() { } } /** + * + * *
      * Optional.
      * 
* * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestedTokenType to set. * @return This builder for chaining. */ - public Builder setRequestedTokenType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestedTokenType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestedTokenType_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * Optional.
      * 
* * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestedTokenType() { @@ -1706,17 +1911,21 @@ public Builder clearRequestedTokenType() { return this; } /** + * + * *
      * Optional.
      * 
* * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestedTokenType to set. * @return This builder for chaining. */ - public Builder setRequestedTokenTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestedTokenTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestedTokenType_ = value; bitField0_ |= 0x00000080; @@ -1726,18 +1935,20 @@ public Builder setRequestedTokenTypeBytes( private java.lang.Object options_ = ""; /** + * + * *
      * Optional.
      * 
* * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The options. */ public java.lang.String getOptions() { java.lang.Object ref = options_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); options_ = s; return s; @@ -1746,20 +1957,21 @@ public java.lang.String getOptions() { } } /** + * + * *
      * Optional.
      * 
* * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for options. */ - public com.google.protobuf.ByteString - getOptionsBytes() { + public com.google.protobuf.ByteString getOptionsBytes() { java.lang.Object ref = options_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); options_ = b; return b; } else { @@ -1767,28 +1979,35 @@ public java.lang.String getOptions() { } } /** + * + * *
      * Optional.
      * 
* * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The options to set. * @return This builder for chaining. */ - public Builder setOptions( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOptions(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } options_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * Optional.
      * 
* * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOptions() { @@ -1798,26 +2017,30 @@ public Builder clearOptions() { return this; } /** + * + * *
      * Optional.
      * 
* * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for options to set. * @return This builder for chaining. */ - public Builder setOptionsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOptionsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); options_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1827,41 +2050,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest) - private static final com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest DEFAULT_INSTANCE; + private static final com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest(); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateAttachedClusterAgentTokenRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateAttachedClusterAgentTokenRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1873,9 +2099,8 @@ public com.google.protobuf.Parser getP } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenRequestOrBuilder.java index 4bc61641243b..b7507b240a10 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenRequestOrBuilder.java @@ -1,189 +1,254 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GenerateAttachedClusterAgentTokenRequestOrBuilder extends +public interface GenerateAttachedClusterAgentTokenRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required.
    * 
* - * string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The attachedCluster. */ java.lang.String getAttachedCluster(); /** + * + * *
    * Required.
    * 
* - * string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for attachedCluster. */ - com.google.protobuf.ByteString - getAttachedClusterBytes(); + com.google.protobuf.ByteString getAttachedClusterBytes(); /** + * + * *
    * Required.
    * 
* * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The subjectToken. */ java.lang.String getSubjectToken(); /** + * + * *
    * Required.
    * 
* * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for subjectToken. */ - com.google.protobuf.ByteString - getSubjectTokenBytes(); + com.google.protobuf.ByteString getSubjectTokenBytes(); /** + * + * *
    * Required.
    * 
* * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The subjectTokenType. */ java.lang.String getSubjectTokenType(); /** + * + * *
    * Required.
    * 
* * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for subjectTokenType. */ - com.google.protobuf.ByteString - getSubjectTokenTypeBytes(); + com.google.protobuf.ByteString getSubjectTokenTypeBytes(); /** + * + * *
    * Required.
    * 
* * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * Required.
    * 
* * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * Optional.
    * 
* * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The grantType. */ java.lang.String getGrantType(); /** + * + * *
    * Optional.
    * 
* * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for grantType. */ - com.google.protobuf.ByteString - getGrantTypeBytes(); + com.google.protobuf.ByteString getGrantTypeBytes(); /** + * + * *
    * Optional.
    * 
* * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The audience. */ java.lang.String getAudience(); /** + * + * *
    * Optional.
    * 
* * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for audience. */ - com.google.protobuf.ByteString - getAudienceBytes(); + com.google.protobuf.ByteString getAudienceBytes(); /** + * + * *
    * Optional.
    * 
* * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The scope. */ java.lang.String getScope(); /** + * + * *
    * Optional.
    * 
* * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for scope. */ - com.google.protobuf.ByteString - getScopeBytes(); + com.google.protobuf.ByteString getScopeBytes(); /** + * + * *
    * Optional.
    * 
* * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestedTokenType. */ java.lang.String getRequestedTokenType(); /** + * + * *
    * Optional.
    * 
* * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestedTokenType. */ - com.google.protobuf.ByteString - getRequestedTokenTypeBytes(); + com.google.protobuf.ByteString getRequestedTokenTypeBytes(); /** + * + * *
    * Optional.
    * 
* * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The options. */ java.lang.String getOptions(); /** + * + * *
    * Optional.
    * 
* * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for options. */ - com.google.protobuf.ByteString - getOptionsBytes(); + com.google.protobuf.ByteString getOptionsBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenResponse.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenResponse.java similarity index 58% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenResponse.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenResponse.java index 197b326653ea..a2c21830a75b 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenResponse.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenResponse.java @@ -1,20 +1,36 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; -/** - * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse} - */ -public final class GenerateAttachedClusterAgentTokenResponse extends - com.google.protobuf.GeneratedMessageV3 implements +/** Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse} */ +public final class GenerateAttachedClusterAgentTokenResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse) GenerateAttachedClusterAgentTokenResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GenerateAttachedClusterAgentTokenResponse.newBuilder() to construct. - private GenerateAttachedClusterAgentTokenResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GenerateAttachedClusterAgentTokenResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GenerateAttachedClusterAgentTokenResponse() { accessToken_ = ""; tokenType_ = ""; @@ -22,29 +38,33 @@ private GenerateAttachedClusterAgentTokenResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GenerateAttachedClusterAgentTokenResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse.class, com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse.class, + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse.Builder + .class); } public static final int ACCESS_TOKEN_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object accessToken_ = ""; /** * string access_token = 1; + * * @return The accessToken. */ @java.lang.Override @@ -53,8 +73,7 @@ public java.lang.String getAccessToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); accessToken_ = s; return s; @@ -62,16 +81,15 @@ public java.lang.String getAccessToken() { } /** * string access_token = 1; + * * @return The bytes for accessToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getAccessTokenBytes() { + public com.google.protobuf.ByteString getAccessTokenBytes() { java.lang.Object ref = accessToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); accessToken_ = b; return b; } else { @@ -83,6 +101,7 @@ public java.lang.String getAccessToken() { private int expiresIn_ = 0; /** * int32 expires_in = 2; + * * @return The expiresIn. */ @java.lang.Override @@ -91,10 +110,12 @@ public int getExpiresIn() { } public static final int TOKEN_TYPE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object tokenType_ = ""; /** * string token_type = 3; + * * @return The tokenType. */ @java.lang.Override @@ -103,8 +124,7 @@ public java.lang.String getTokenType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tokenType_ = s; return s; @@ -112,16 +132,15 @@ public java.lang.String getTokenType() { } /** * string token_type = 3; + * * @return The bytes for tokenType. */ @java.lang.Override - public com.google.protobuf.ByteString - getTokenTypeBytes() { + public com.google.protobuf.ByteString getTokenTypeBytes() { java.lang.Object ref = tokenType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tokenType_ = b; return b; } else { @@ -130,6 +149,7 @@ public java.lang.String getTokenType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,8 +161,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, accessToken_); } @@ -165,8 +184,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, accessToken_); } if (expiresIn_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, expiresIn_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, expiresIn_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tokenType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, tokenType_); @@ -179,19 +197,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse)) { + if (!(obj + instanceof com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse other = (com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse) obj; + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse other = + (com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse) obj; - if (!getAccessToken() - .equals(other.getAccessToken())) return false; - if (getExpiresIn() - != other.getExpiresIn()) return false; - if (!getTokenType() - .equals(other.getTokenType())) return false; + if (!getAccessToken().equals(other.getAccessToken())) return false; + if (getExpiresIn() != other.getExpiresIn()) return false; + if (!getTokenType().equals(other.getTokenType())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -214,128 +231,139 @@ public int hashCode() { return hash; } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse) com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse.class, com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse.class, + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse.Builder + .class); } - // Construct using com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -347,19 +375,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterAgentTokenResponse_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse getDefaultInstanceForType() { - return com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse.getDefaultInstance(); + public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse + getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse build() { - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse result = buildPartial(); + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -367,14 +398,19 @@ public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRespon } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse buildPartial() { - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse result = new com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse + buildPartial() { + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse result = + new com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse result) { + private void buildPartial0( + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.accessToken_ = accessToken_; @@ -391,46 +427,52 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAttachedClu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse)other); + if (other + instanceof com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse) { + return mergeFrom( + (com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse other) { - if (other == com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse other) { + if (other + == com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse + .getDefaultInstance()) return this; if (!other.getAccessToken().isEmpty()) { accessToken_ = other.accessToken_; bitField0_ |= 0x00000001; @@ -470,27 +512,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - accessToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - expiresIn_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - tokenType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + accessToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + expiresIn_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + tokenType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -500,18 +546,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object accessToken_ = ""; /** * string access_token = 1; + * * @return The accessToken. */ public java.lang.String getAccessToken() { java.lang.Object ref = accessToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); accessToken_ = s; return s; @@ -521,15 +568,14 @@ public java.lang.String getAccessToken() { } /** * string access_token = 1; + * * @return The bytes for accessToken. */ - public com.google.protobuf.ByteString - getAccessTokenBytes() { + public com.google.protobuf.ByteString getAccessTokenBytes() { java.lang.Object ref = accessToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); accessToken_ = b; return b; } else { @@ -538,12 +584,14 @@ public java.lang.String getAccessToken() { } /** * string access_token = 1; + * * @param value The accessToken to set. * @return This builder for chaining. */ - public Builder setAccessToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAccessToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } accessToken_ = value; bitField0_ |= 0x00000001; onChanged(); @@ -551,6 +599,7 @@ public Builder setAccessToken( } /** * string access_token = 1; + * * @return This builder for chaining. */ public Builder clearAccessToken() { @@ -561,12 +610,14 @@ public Builder clearAccessToken() { } /** * string access_token = 1; + * * @param value The bytes for accessToken to set. * @return This builder for chaining. */ - public Builder setAccessTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAccessTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); accessToken_ = value; bitField0_ |= 0x00000001; @@ -574,9 +625,10 @@ public Builder setAccessTokenBytes( return this; } - private int expiresIn_ ; + private int expiresIn_; /** * int32 expires_in = 2; + * * @return The expiresIn. */ @java.lang.Override @@ -585,6 +637,7 @@ public int getExpiresIn() { } /** * int32 expires_in = 2; + * * @param value The expiresIn to set. * @return This builder for chaining. */ @@ -597,6 +650,7 @@ public Builder setExpiresIn(int value) { } /** * int32 expires_in = 2; + * * @return This builder for chaining. */ public Builder clearExpiresIn() { @@ -609,13 +663,13 @@ public Builder clearExpiresIn() { private java.lang.Object tokenType_ = ""; /** * string token_type = 3; + * * @return The tokenType. */ public java.lang.String getTokenType() { java.lang.Object ref = tokenType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tokenType_ = s; return s; @@ -625,15 +679,14 @@ public java.lang.String getTokenType() { } /** * string token_type = 3; + * * @return The bytes for tokenType. */ - public com.google.protobuf.ByteString - getTokenTypeBytes() { + public com.google.protobuf.ByteString getTokenTypeBytes() { java.lang.Object ref = tokenType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tokenType_ = b; return b; } else { @@ -642,12 +695,14 @@ public java.lang.String getTokenType() { } /** * string token_type = 3; + * * @param value The tokenType to set. * @return This builder for chaining. */ - public Builder setTokenType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTokenType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tokenType_ = value; bitField0_ |= 0x00000004; onChanged(); @@ -655,6 +710,7 @@ public Builder setTokenType( } /** * string token_type = 3; + * * @return This builder for chaining. */ public Builder clearTokenType() { @@ -665,21 +721,23 @@ public Builder clearTokenType() { } /** * string token_type = 3; + * * @param value The bytes for tokenType to set. * @return This builder for chaining. */ - public Builder setTokenTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTokenTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tokenType_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -689,41 +747,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse) - private static final com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse DEFAULT_INSTANCE; + private static final com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse(); + DEFAULT_INSTANCE = + new com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse(); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateAttachedClusterAgentTokenResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateAttachedClusterAgentTokenResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -735,9 +798,8 @@ public com.google.protobuf.Parser get } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenResponseOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenResponseOrBuilder.java similarity index 55% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenResponseOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenResponseOrBuilder.java index 34e5fdaab212..be790eb87c17 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenResponseOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterAgentTokenResponseOrBuilder.java @@ -1,39 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GenerateAttachedClusterAgentTokenResponseOrBuilder extends +public interface GenerateAttachedClusterAgentTokenResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse) com.google.protobuf.MessageOrBuilder { /** * string access_token = 1; + * * @return The accessToken. */ java.lang.String getAccessToken(); /** * string access_token = 1; + * * @return The bytes for accessToken. */ - com.google.protobuf.ByteString - getAccessTokenBytes(); + com.google.protobuf.ByteString getAccessTokenBytes(); /** * int32 expires_in = 2; + * * @return The expiresIn. */ int getExpiresIn(); /** * string token_type = 3; + * * @return The tokenType. */ java.lang.String getTokenType(); /** * string token_type = 3; + * * @return The bytes for tokenType. */ - com.google.protobuf.ByteString - getTokenTypeBytes(); + com.google.protobuf.ByteString getTokenTypeBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequest.java similarity index 65% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequest.java index 06e8bc41774a..df7f54ecf8aa 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Request message for `AttachedClusters.GenerateAttachedClusterInstallManifest`
  * method.
@@ -11,15 +28,18 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest}
  */
-public final class GenerateAttachedClusterInstallManifestRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GenerateAttachedClusterInstallManifestRequest
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest)
     GenerateAttachedClusterInstallManifestRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GenerateAttachedClusterInstallManifestRequest.newBuilder() to construct.
-  private GenerateAttachedClusterInstallManifestRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GenerateAttachedClusterInstallManifestRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GenerateAttachedClusterInstallManifestRequest() {
     parent_ = "";
     attachedClusterId_ = "";
@@ -28,28 +48,33 @@ private GenerateAttachedClusterInstallManifestRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GenerateAttachedClusterInstallManifestRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AttachedServiceProto
+        .internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestRequest_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AttachedServiceProto
+        .internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest.class, com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest.Builder.class);
+            com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest.class,
+            com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest.Builder
+                .class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The parent location where this
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -61,7 +86,10 @@ protected java.lang.Object newInstance(
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -70,14 +98,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent location where this
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -89,17 +118,18 @@ public java.lang.String getParent() {
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -108,9 +138,12 @@ public java.lang.String getParent() { } public static final int ATTACHED_CLUSTER_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object attachedClusterId_ = ""; /** + * + * *
    * Required. A client provided ID of the resource. Must be unique within the
    * parent resource.
@@ -130,6 +163,7 @@ public java.lang.String getParent() {
    * 
* * string attached_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The attachedClusterId. */ @java.lang.Override @@ -138,14 +172,15 @@ public java.lang.String getAttachedClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attachedClusterId_ = s; return s; } } /** + * + * *
    * Required. A client provided ID of the resource. Must be unique within the
    * parent resource.
@@ -165,16 +200,15 @@ public java.lang.String getAttachedClusterId() {
    * 
* * string attached_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for attachedClusterId. */ @java.lang.Override - public com.google.protobuf.ByteString - getAttachedClusterIdBytes() { + public com.google.protobuf.ByteString getAttachedClusterIdBytes() { java.lang.Object ref = attachedClusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); attachedClusterId_ = b; return b; } else { @@ -183,9 +217,12 @@ public java.lang.String getAttachedClusterId() { } public static final int PLATFORM_VERSION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object platformVersion_ = ""; /** + * + * *
    * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
    *
@@ -195,6 +232,7 @@ public java.lang.String getAttachedClusterId() {
    * 
* * string platform_version = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The platformVersion. */ @java.lang.Override @@ -203,14 +241,15 @@ public java.lang.String getPlatformVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); platformVersion_ = s; return s; } } /** + * + * *
    * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
    *
@@ -220,16 +259,15 @@ public java.lang.String getPlatformVersion() {
    * 
* * string platform_version = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for platformVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getPlatformVersionBytes() { + public com.google.protobuf.ByteString getPlatformVersionBytes() { java.lang.Object ref = platformVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); platformVersion_ = b; return b; } else { @@ -240,11 +278,16 @@ public java.lang.String getPlatformVersion() { public static final int PROXY_CONFIG_FIELD_NUMBER = 4; private com.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxyConfig_; /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the proxyConfig field is set. */ @java.lang.Override @@ -252,30 +295,44 @@ public boolean hasProxyConfig() { return proxyConfig_ != null; } /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The proxyConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedProxyConfig getProxyConfig() { - return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() : proxyConfig_; + return proxyConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() + : proxyConfig_; } /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder getProxyConfigOrBuilder() { - return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() : proxyConfig_; + return proxyConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() + : proxyConfig_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -287,8 +344,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -320,8 +376,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, platformVersion_); } if (proxyConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getProxyConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getProxyConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -331,23 +386,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest)) { + if (!(obj + instanceof + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest other = (com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest) obj; + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest other = + (com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getAttachedClusterId() - .equals(other.getAttachedClusterId())) return false; - if (!getPlatformVersion() - .equals(other.getPlatformVersion())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getAttachedClusterId().equals(other.getAttachedClusterId())) return false; + if (!getPlatformVersion().equals(other.getPlatformVersion())) return false; if (hasProxyConfig() != other.hasProxyConfig()) return false; if (hasProxyConfig()) { - if (!getProxyConfig() - .equals(other.getProxyConfig())) return false; + if (!getProxyConfig().equals(other.getProxyConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -375,133 +429,147 @@ public int hashCode() { return hash; } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AttachedClusters.GenerateAttachedClusterInstallManifest`
    * method.
    * 
* - * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest} + * Protobuf type {@code + * google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest) com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest.class, com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest.class, + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest + .Builder.class); } - // Construct using com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -518,19 +586,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestRequest_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest getDefaultInstanceForType() { - return com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest.getDefaultInstance(); + public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest + getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest build() { - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest result = buildPartial(); + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -538,14 +609,19 @@ public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestR } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest result = new com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest + buildPartial() { + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest result = + new com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest result) { + private void buildPartial0( + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -557,9 +633,8 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAttachedClu result.platformVersion_ = platformVersion_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.proxyConfig_ = proxyConfigBuilder_ == null - ? proxyConfig_ - : proxyConfigBuilder_.build(); + result.proxyConfig_ = + proxyConfigBuilder_ == null ? proxyConfig_ : proxyConfigBuilder_.build(); } } @@ -567,46 +642,54 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAttachedClu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest)other); + if (other + instanceof + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest) { + return mergeFrom( + (com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest other) { + if (other + == com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -651,34 +734,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - attachedClusterId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - platformVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getProxyConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + attachedClusterId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + platformVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getProxyConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -688,10 +774,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent location where this
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -703,14 +792,16 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -719,6 +810,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location where this
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -730,16 +823,17 @@ public java.lang.String getParent() {
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -747,6 +841,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location where this
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -758,19 +854,25 @@ public java.lang.String getParent() {
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent location where this
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -782,7 +884,10 @@ public Builder setParent(
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -792,6 +897,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent location where this
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -803,13 +910,17 @@ public Builder clearParent() {
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -819,6 +930,8 @@ public Builder setParentBytes( private java.lang.Object attachedClusterId_ = ""; /** + * + * *
      * Required. A client provided ID of the resource. Must be unique within the
      * parent resource.
@@ -838,13 +951,13 @@ public Builder setParentBytes(
      * 
* * string attached_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The attachedClusterId. */ public java.lang.String getAttachedClusterId() { java.lang.Object ref = attachedClusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attachedClusterId_ = s; return s; @@ -853,6 +966,8 @@ public java.lang.String getAttachedClusterId() { } } /** + * + * *
      * Required. A client provided ID of the resource. Must be unique within the
      * parent resource.
@@ -872,15 +987,14 @@ public java.lang.String getAttachedClusterId() {
      * 
* * string attached_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for attachedClusterId. */ - public com.google.protobuf.ByteString - getAttachedClusterIdBytes() { + public com.google.protobuf.ByteString getAttachedClusterIdBytes() { java.lang.Object ref = attachedClusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); attachedClusterId_ = b; return b; } else { @@ -888,6 +1002,8 @@ public java.lang.String getAttachedClusterId() { } } /** + * + * *
      * Required. A client provided ID of the resource. Must be unique within the
      * parent resource.
@@ -907,18 +1023,22 @@ public java.lang.String getAttachedClusterId() {
      * 
* * string attached_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The attachedClusterId to set. * @return This builder for chaining. */ - public Builder setAttachedClusterId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAttachedClusterId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } attachedClusterId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. A client provided ID of the resource. Must be unique within the
      * parent resource.
@@ -938,6 +1058,7 @@ public Builder setAttachedClusterId(
      * 
* * string attached_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAttachedClusterId() { @@ -947,6 +1068,8 @@ public Builder clearAttachedClusterId() { return this; } /** + * + * *
      * Required. A client provided ID of the resource. Must be unique within the
      * parent resource.
@@ -966,12 +1089,14 @@ public Builder clearAttachedClusterId() {
      * 
* * string attached_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for attachedClusterId to set. * @return This builder for chaining. */ - public Builder setAttachedClusterIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAttachedClusterIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); attachedClusterId_ = value; bitField0_ |= 0x00000002; @@ -981,6 +1106,8 @@ public Builder setAttachedClusterIdBytes( private java.lang.Object platformVersion_ = ""; /** + * + * *
      * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
      *
@@ -990,13 +1117,13 @@ public Builder setAttachedClusterIdBytes(
      * 
* * string platform_version = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The platformVersion. */ public java.lang.String getPlatformVersion() { java.lang.Object ref = platformVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); platformVersion_ = s; return s; @@ -1005,6 +1132,8 @@ public java.lang.String getPlatformVersion() { } } /** + * + * *
      * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
      *
@@ -1014,15 +1143,14 @@ public java.lang.String getPlatformVersion() {
      * 
* * string platform_version = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for platformVersion. */ - public com.google.protobuf.ByteString - getPlatformVersionBytes() { + public com.google.protobuf.ByteString getPlatformVersionBytes() { java.lang.Object ref = platformVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); platformVersion_ = b; return b; } else { @@ -1030,6 +1158,8 @@ public java.lang.String getPlatformVersion() { } } /** + * + * *
      * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
      *
@@ -1039,18 +1169,22 @@ public java.lang.String getPlatformVersion() {
      * 
* * string platform_version = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The platformVersion to set. * @return This builder for chaining. */ - public Builder setPlatformVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPlatformVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } platformVersion_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
      *
@@ -1060,6 +1194,7 @@ public Builder setPlatformVersion(
      * 
* * string platform_version = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPlatformVersion() { @@ -1069,6 +1204,8 @@ public Builder clearPlatformVersion() { return this; } /** + * + * *
      * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
      *
@@ -1078,12 +1215,14 @@ public Builder clearPlatformVersion() {
      * 
* * string platform_version = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for platformVersion to set. * @return This builder for chaining. */ - public Builder setPlatformVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPlatformVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); platformVersion_ = value; bitField0_ |= 0x00000004; @@ -1093,39 +1232,58 @@ public Builder setPlatformVersionBytes( private com.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxyConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedProxyConfig, com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder> proxyConfigBuilder_; + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig, + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder, + com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder> + proxyConfigBuilder_; /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the proxyConfig field is set. */ public boolean hasProxyConfig() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The proxyConfig. */ public com.google.cloud.gkemulticloud.v1.AttachedProxyConfig getProxyConfig() { if (proxyConfigBuilder_ == null) { - return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() : proxyConfig_; + return proxyConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() + : proxyConfig_; } else { return proxyConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setProxyConfig(com.google.cloud.gkemulticloud.v1.AttachedProxyConfig value) { if (proxyConfigBuilder_ == null) { @@ -1141,11 +1299,15 @@ public Builder setProxyConfig(com.google.cloud.gkemulticloud.v1.AttachedProxyCon return this; } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setProxyConfig( com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder builderForValue) { @@ -1159,17 +1321,22 @@ public Builder setProxyConfig( return this; } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeProxyConfig(com.google.cloud.gkemulticloud.v1.AttachedProxyConfig value) { if (proxyConfigBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - proxyConfig_ != null && - proxyConfig_ != com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && proxyConfig_ != null + && proxyConfig_ + != com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance()) { getProxyConfigBuilder().mergeFrom(value); } else { proxyConfig_ = value; @@ -1182,11 +1349,15 @@ public Builder mergeProxyConfig(com.google.cloud.gkemulticloud.v1.AttachedProxyC return this; } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearProxyConfig() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1199,11 +1370,15 @@ public Builder clearProxyConfig() { return this; } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder getProxyConfigBuilder() { bitField0_ |= 0x00000008; @@ -1211,43 +1386,56 @@ public com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder getProxyCon return getProxyConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder getProxyConfigOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder + getProxyConfigOrBuilder() { if (proxyConfigBuilder_ != null) { return proxyConfigBuilder_.getMessageOrBuilder(); } else { - return proxyConfig_ == null ? - com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() : proxyConfig_; + return proxyConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() + : proxyConfig_; } } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedProxyConfig, com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig, + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder, + com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder> getProxyConfigFieldBuilder() { if (proxyConfigBuilder_ == null) { - proxyConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedProxyConfig, com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder>( - getProxyConfig(), - getParentForChildren(), - isClean()); + proxyConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig, + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder, + com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder>( + getProxyConfig(), getParentForChildren(), isClean()); proxyConfig_ = null; } return proxyConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1257,55 +1445,61 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest) - private static final com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest DEFAULT_INSTANCE; + private static final com.google.cloud.gkemulticloud.v1 + .GenerateAttachedClusterInstallManifestRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest(); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateAttachedClusterInstallManifestRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateAttachedClusterInstallManifestRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser + getParserForType() { return PARSER; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequestOrBuilder.java similarity index 74% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequestOrBuilder.java index 11e3dc77d767..c83b1a432322 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GenerateAttachedClusterInstallManifestRequestOrBuilder extends +public interface GenerateAttachedClusterInstallManifestRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent location where this
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -19,11 +37,16 @@ public interface GenerateAttachedClusterInstallManifestRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent location where this
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -35,13 +58,17 @@ public interface GenerateAttachedClusterInstallManifestRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. A client provided ID of the resource. Must be unique within the
    * parent resource.
@@ -61,10 +88,13 @@ public interface GenerateAttachedClusterInstallManifestRequestOrBuilder extends
    * 
* * string attached_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The attachedClusterId. */ java.lang.String getAttachedClusterId(); /** + * + * *
    * Required. A client provided ID of the resource. Must be unique within the
    * parent resource.
@@ -84,12 +114,14 @@ public interface GenerateAttachedClusterInstallManifestRequestOrBuilder extends
    * 
* * string attached_cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for attachedClusterId. */ - com.google.protobuf.ByteString - getAttachedClusterIdBytes(); + com.google.protobuf.ByteString getAttachedClusterIdBytes(); /** + * + * *
    * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
    *
@@ -99,10 +131,13 @@ public interface GenerateAttachedClusterInstallManifestRequestOrBuilder extends
    * 
* * string platform_version = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The platformVersion. */ java.lang.String getPlatformVersion(); /** + * + * *
    * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
    *
@@ -112,35 +147,49 @@ public interface GenerateAttachedClusterInstallManifestRequestOrBuilder extends
    * 
* * string platform_version = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for platformVersion. */ - com.google.protobuf.ByteString - getPlatformVersionBytes(); + com.google.protobuf.ByteString getPlatformVersionBytes(); /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the proxyConfig field is set. */ boolean hasProxyConfig(); /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The proxyConfig. */ com.google.cloud.gkemulticloud.v1.AttachedProxyConfig getProxyConfig(); /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder getProxyConfigOrBuilder(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestResponse.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestResponse.java similarity index 53% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestResponse.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestResponse.java index 3db6a79fc55c..285e0e179686 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestResponse.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestResponse.java @@ -1,59 +1,86 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Response message for
  * `AttachedClusters.GenerateAttachedClusterInstallManifest` method.
  * 
* - * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse} + * Protobuf type {@code + * google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse} */ -public final class GenerateAttachedClusterInstallManifestResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GenerateAttachedClusterInstallManifestResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse) GenerateAttachedClusterInstallManifestResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GenerateAttachedClusterInstallManifestResponse.newBuilder() to construct. - private GenerateAttachedClusterInstallManifestResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GenerateAttachedClusterInstallManifestResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GenerateAttachedClusterInstallManifestResponse() { manifest_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GenerateAttachedClusterInstallManifestResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse.class, com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse.class, + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse.Builder + .class); } public static final int MANIFEST_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object manifest_ = ""; /** + * + * *
    * A set of Kubernetes resources (in YAML format) to be applied
    * to the cluster to be attached.
    * 
* * string manifest = 1; + * * @return The manifest. */ @java.lang.Override @@ -62,30 +89,30 @@ public java.lang.String getManifest() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); manifest_ = s; return s; } } /** + * + * *
    * A set of Kubernetes resources (in YAML format) to be applied
    * to the cluster to be attached.
    * 
* * string manifest = 1; + * * @return The bytes for manifest. */ @java.lang.Override - public com.google.protobuf.ByteString - getManifestBytes() { + public com.google.protobuf.ByteString getManifestBytes() { java.lang.Object ref = manifest_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); manifest_ = b; return b; } else { @@ -94,6 +121,7 @@ public java.lang.String getManifest() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -105,8 +133,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(manifest_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, manifest_); } @@ -130,15 +157,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse)) { + if (!(obj + instanceof + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse other = (com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse) obj; + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse other = + (com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse) obj; - if (!getManifest() - .equals(other.getManifest())) return false; + if (!getManifest().equals(other.getManifest())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,133 +186,148 @@ public int hashCode() { return hash; } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for
    * `AttachedClusters.GenerateAttachedClusterInstallManifest` method.
    * 
* - * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse} + * Protobuf type {@code + * google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse) com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse.class, com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse + .class, + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse + .Builder.class); } - // Construct using com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -293,19 +337,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAttachedClusterInstallManifestResponse_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse getDefaultInstanceForType() { - return com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse.getDefaultInstance(); + public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse + getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse build() { - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse result = buildPartial(); + public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse + build() { + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -313,14 +361,20 @@ public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestR } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse buildPartial() { - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse result = new com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse + buildPartial() { + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse result = + new com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse result) { + private void buildPartial0( + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.manifest_ = manifest_; @@ -331,46 +385,54 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAttachedClu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse)other); + if (other + instanceof + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse) { + return mergeFrom( + (com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse other) { - if (other == com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse other) { + if (other + == com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse + .getDefaultInstance()) return this; if (!other.getManifest().isEmpty()) { manifest_ = other.manifest_; bitField0_ |= 0x00000001; @@ -402,17 +464,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - manifest_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + manifest_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -422,23 +486,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object manifest_ = ""; /** + * + * *
      * A set of Kubernetes resources (in YAML format) to be applied
      * to the cluster to be attached.
      * 
* * string manifest = 1; + * * @return The manifest. */ public java.lang.String getManifest() { java.lang.Object ref = manifest_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); manifest_ = s; return s; @@ -447,21 +514,22 @@ public java.lang.String getManifest() { } } /** + * + * *
      * A set of Kubernetes resources (in YAML format) to be applied
      * to the cluster to be attached.
      * 
* * string manifest = 1; + * * @return The bytes for manifest. */ - public com.google.protobuf.ByteString - getManifestBytes() { + public com.google.protobuf.ByteString getManifestBytes() { java.lang.Object ref = manifest_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); manifest_ = b; return b; } else { @@ -469,30 +537,37 @@ public java.lang.String getManifest() { } } /** + * + * *
      * A set of Kubernetes resources (in YAML format) to be applied
      * to the cluster to be attached.
      * 
* * string manifest = 1; + * * @param value The manifest to set. * @return This builder for chaining. */ - public Builder setManifest( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setManifest(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } manifest_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * A set of Kubernetes resources (in YAML format) to be applied
      * to the cluster to be attached.
      * 
* * string manifest = 1; + * * @return This builder for chaining. */ public Builder clearManifest() { @@ -502,27 +577,31 @@ public Builder clearManifest() { return this; } /** + * + * *
      * A set of Kubernetes resources (in YAML format) to be applied
      * to the cluster to be attached.
      * 
* * string manifest = 1; + * * @param value The bytes for manifest to set. * @return This builder for chaining. */ - public Builder setManifestBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setManifestBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); manifest_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -532,55 +611,62 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse) - private static final com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse DEFAULT_INSTANCE; + private static final com.google.cloud.gkemulticloud.v1 + .GenerateAttachedClusterInstallManifestResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse(); + DEFAULT_INSTANCE = + new com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse(); } - public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateAttachedClusterInstallManifestResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateAttachedClusterInstallManifestResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser + parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser + getParserForType() { return PARSER; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestResponseOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestResponseOrBuilder.java similarity index 55% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestResponseOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestResponseOrBuilder.java index 5eefb6fbb157..d08a671eed0d 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestResponseOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestResponseOrBuilder.java @@ -1,31 +1,52 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GenerateAttachedClusterInstallManifestResponseOrBuilder extends +public interface GenerateAttachedClusterInstallManifestResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A set of Kubernetes resources (in YAML format) to be applied
    * to the cluster to be attached.
    * 
* * string manifest = 1; + * * @return The manifest. */ java.lang.String getManifest(); /** + * + * *
    * A set of Kubernetes resources (in YAML format) to be applied
    * to the cluster to be attached.
    * 
* * string manifest = 1; + * * @return The bytes for manifest. */ - com.google.protobuf.ByteString - getManifestBytes(); + com.google.protobuf.ByteString getManifestBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequest.java similarity index 63% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequest.java index 2c49eb86c24c..5863f1d00bcd 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequest.java @@ -1,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Request message for `AwsClusters.GenerateAwsAccessToken` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest} */ -public final class GenerateAwsAccessTokenRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GenerateAwsAccessTokenRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest) GenerateAwsAccessTokenRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GenerateAwsAccessTokenRequest.newBuilder() to construct. private GenerateAwsAccessTokenRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GenerateAwsAccessTokenRequest() { awsCluster_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GenerateAwsAccessTokenRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest.class, com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest.class, + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest.Builder.class); } public static final int AWS_CLUSTER_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object awsCluster_ = ""; /** + * + * *
    * Required. The name of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -59,7 +81,10 @@ protected java.lang.Object newInstance(
    * for more details on Google Cloud resource names.
    * 
* - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The awsCluster. */ @java.lang.Override @@ -68,14 +93,15 @@ public java.lang.String getAwsCluster() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); awsCluster_ = s; return s; } } /** + * + * *
    * Required. The name of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -88,17 +114,18 @@ public java.lang.String getAwsCluster() {
    * for more details on Google Cloud resource names.
    * 
* - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for awsCluster. */ @java.lang.Override - public com.google.protobuf.ByteString - getAwsClusterBytes() { + public com.google.protobuf.ByteString getAwsClusterBytes() { java.lang.Object ref = awsCluster_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); awsCluster_ = b; return b; } else { @@ -107,6 +134,7 @@ public java.lang.String getAwsCluster() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -118,8 +146,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsCluster_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, awsCluster_); } @@ -143,15 +170,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest other = (com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest) obj; + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest other = + (com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest) obj; - if (!getAwsCluster() - .equals(other.getAwsCluster())) return false; + if (!getAwsCluster().equals(other.getAwsCluster())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -171,131 +198,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AwsClusters.GenerateAwsAccessToken` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest) com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest.class, com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest.class, + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -305,13 +337,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest + getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest.getDefaultInstance(); } @@ -326,13 +359,17 @@ public com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest result = new com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest result = + new com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest result) { + private void buildPartial0( + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.awsCluster_ = awsCluster_; @@ -343,46 +380,50 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest other) { + if (other + == com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest.getDefaultInstance()) + return this; if (!other.getAwsCluster().isEmpty()) { awsCluster_ = other.awsCluster_; bitField0_ |= 0x00000001; @@ -414,17 +455,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - awsCluster_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + awsCluster_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -434,10 +477,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object awsCluster_ = ""; /** + * + * *
      * Required. The name of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -450,14 +496,16 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The awsCluster. */ public java.lang.String getAwsCluster() { java.lang.Object ref = awsCluster_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); awsCluster_ = s; return s; @@ -466,6 +514,8 @@ public java.lang.String getAwsCluster() { } } /** + * + * *
      * Required. The name of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -478,16 +528,17 @@ public java.lang.String getAwsCluster() {
      * for more details on Google Cloud resource names.
      * 
* - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for awsCluster. */ - public com.google.protobuf.ByteString - getAwsClusterBytes() { + public com.google.protobuf.ByteString getAwsClusterBytes() { java.lang.Object ref = awsCluster_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); awsCluster_ = b; return b; } else { @@ -495,6 +546,8 @@ public java.lang.String getAwsCluster() { } } /** + * + * *
      * Required. The name of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -507,19 +560,25 @@ public java.lang.String getAwsCluster() {
      * for more details on Google Cloud resource names.
      * 
* - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The awsCluster to set. * @return This builder for chaining. */ - public Builder setAwsCluster( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAwsCluster(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } awsCluster_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -532,7 +591,10 @@ public Builder setAwsCluster(
      * for more details on Google Cloud resource names.
      * 
* - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearAwsCluster() { @@ -542,6 +604,8 @@ public Builder clearAwsCluster() { return this; } /** + * + * *
      * Required. The name of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -554,22 +618,26 @@ public Builder clearAwsCluster() {
      * for more details on Google Cloud resource names.
      * 
* - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for awsCluster to set. * @return This builder for chaining. */ - public Builder setAwsClusterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAwsClusterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); awsCluster_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -579,41 +647,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest) - private static final com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest DEFAULT_INSTANCE; + private static final com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest(); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateAwsAccessTokenRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateAwsAccessTokenRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -625,9 +695,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequestOrBuilder.java index b16e9e480f22..2e7113b9da6d 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GenerateAwsAccessTokenRequestOrBuilder extends +public interface GenerateAwsAccessTokenRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -20,11 +38,16 @@ public interface GenerateAwsAccessTokenRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The awsCluster. */ java.lang.String getAwsCluster(); /** + * + * *
    * Required. The name of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -37,9 +60,11 @@ public interface GenerateAwsAccessTokenRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for awsCluster. */ - com.google.protobuf.ByteString - getAwsClusterBytes(); + com.google.protobuf.ByteString getAwsClusterBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponse.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponse.java similarity index 61% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponse.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponse.java index d1e3815432c3..a743a5120de5 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponse.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponse.java @@ -1,57 +1,81 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Response message for `AwsClusters.GenerateAwsAccessToken` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse} */ -public final class GenerateAwsAccessTokenResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GenerateAwsAccessTokenResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse) GenerateAwsAccessTokenResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GenerateAwsAccessTokenResponse.newBuilder() to construct. - private GenerateAwsAccessTokenResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GenerateAwsAccessTokenResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GenerateAwsAccessTokenResponse() { accessToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GenerateAwsAccessTokenResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse.class, com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse.class, + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse.Builder.class); } public static final int ACCESS_TOKEN_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object accessToken_ = ""; /** + * + * *
    * Output only. Access token to authenticate to k8s api-server.
    * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The accessToken. */ @java.lang.Override @@ -60,29 +84,29 @@ public java.lang.String getAccessToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); accessToken_ = s; return s; } } /** + * + * *
    * Output only. Access token to authenticate to k8s api-server.
    * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for accessToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getAccessTokenBytes() { + public com.google.protobuf.ByteString getAccessTokenBytes() { java.lang.Object ref = accessToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); accessToken_ = b; return b; } else { @@ -93,11 +117,16 @@ public java.lang.String getAccessToken() { public static final int EXPIRATION_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp expirationTime_; /** + * + * *
    * Output only. Timestamp at which the token will expire.
    * 
* - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expirationTime field is set. */ @java.lang.Override @@ -105,30 +134,44 @@ public boolean hasExpirationTime() { return expirationTime_ != null; } /** + * + * *
    * Output only. Timestamp at which the token will expire.
    * 
* - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expirationTime. */ @java.lang.Override public com.google.protobuf.Timestamp getExpirationTime() { - return expirationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expirationTime_; + return expirationTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expirationTime_; } /** + * + * *
    * Output only. Timestamp at which the token will expire.
    * 
* - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder() { - return expirationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expirationTime_; + return expirationTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expirationTime_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -140,8 +183,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, accessToken_); } @@ -161,8 +203,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, accessToken_); } if (expirationTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getExpirationTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExpirationTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -172,19 +213,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse other = (com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse) obj; + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse other = + (com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse) obj; - if (!getAccessToken() - .equals(other.getAccessToken())) return false; + if (!getAccessToken().equals(other.getAccessToken())) return false; if (hasExpirationTime() != other.hasExpirationTime()) return false; if (hasExpirationTime()) { - if (!getExpirationTime() - .equals(other.getExpirationTime())) return false; + if (!getExpirationTime().equals(other.getExpirationTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -209,131 +249,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for `AwsClusters.GenerateAwsAccessToken` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse) com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse.class, com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse.class, + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -348,13 +393,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse + getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse.getDefaultInstance(); } @@ -369,21 +415,24 @@ public com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse build() @java.lang.Override public com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse buildPartial() { - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse result = new com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse result = + new com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse result) { + private void buildPartial0( + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.accessToken_ = accessToken_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.expirationTime_ = expirationTimeBuilder_ == null - ? expirationTime_ - : expirationTimeBuilder_.build(); + result.expirationTime_ = + expirationTimeBuilder_ == null ? expirationTime_ : expirationTimeBuilder_.build(); } } @@ -391,46 +440,50 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse other) { - if (other == com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse other) { + if (other + == com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse.getDefaultInstance()) + return this; if (!other.getAccessToken().isEmpty()) { accessToken_ = other.accessToken_; bitField0_ |= 0x00000001; @@ -465,24 +518,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - accessToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getExpirationTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + accessToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getExpirationTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -492,22 +546,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object accessToken_ = ""; /** + * + * *
      * Output only. Access token to authenticate to k8s api-server.
      * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The accessToken. */ public java.lang.String getAccessToken() { java.lang.Object ref = accessToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); accessToken_ = s; return s; @@ -516,20 +573,21 @@ public java.lang.String getAccessToken() { } } /** + * + * *
      * Output only. Access token to authenticate to k8s api-server.
      * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for accessToken. */ - public com.google.protobuf.ByteString - getAccessTokenBytes() { + public com.google.protobuf.ByteString getAccessTokenBytes() { java.lang.Object ref = accessToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); accessToken_ = b; return b; } else { @@ -537,28 +595,35 @@ public java.lang.String getAccessToken() { } } /** + * + * *
      * Output only. Access token to authenticate to k8s api-server.
      * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The accessToken to set. * @return This builder for chaining. */ - public Builder setAccessToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAccessToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } accessToken_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Access token to authenticate to k8s api-server.
      * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearAccessToken() { @@ -568,17 +633,21 @@ public Builder clearAccessToken() { return this; } /** + * + * *
      * Output only. Access token to authenticate to k8s api-server.
      * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for accessToken to set. * @return This builder for chaining. */ - public Builder setAccessTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAccessTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); accessToken_ = value; bitField0_ |= 0x00000001; @@ -588,39 +657,58 @@ public Builder setAccessTokenBytes( private com.google.protobuf.Timestamp expirationTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expirationTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + expirationTimeBuilder_; /** + * + * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expirationTime field is set. */ public boolean hasExpirationTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expirationTime. */ public com.google.protobuf.Timestamp getExpirationTime() { if (expirationTimeBuilder_ == null) { - return expirationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expirationTime_; + return expirationTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expirationTime_; } else { return expirationTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setExpirationTime(com.google.protobuf.Timestamp value) { if (expirationTimeBuilder_ == null) { @@ -636,14 +724,17 @@ public Builder setExpirationTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setExpirationTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpirationTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (expirationTimeBuilder_ == null) { expirationTime_ = builderForValue.build(); } else { @@ -654,17 +745,21 @@ public Builder setExpirationTime( return this; } /** + * + * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeExpirationTime(com.google.protobuf.Timestamp value) { if (expirationTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - expirationTime_ != null && - expirationTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && expirationTime_ != null + && expirationTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpirationTimeBuilder().mergeFrom(value); } else { expirationTime_ = value; @@ -677,11 +772,15 @@ public Builder mergeExpirationTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearExpirationTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -694,11 +793,15 @@ public Builder clearExpirationTime() { return this; } /** + * + * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getExpirationTimeBuilder() { bitField0_ |= 0x00000002; @@ -706,43 +809,55 @@ public com.google.protobuf.Timestamp.Builder getExpirationTimeBuilder() { return getExpirationTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder() { if (expirationTimeBuilder_ != null) { return expirationTimeBuilder_.getMessageOrBuilder(); } else { - return expirationTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : expirationTime_; + return expirationTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expirationTime_; } } /** + * + * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getExpirationTimeFieldBuilder() { if (expirationTimeBuilder_ == null) { - expirationTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getExpirationTime(), - getParentForChildren(), - isClean()); + expirationTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getExpirationTime(), getParentForChildren(), isClean()); expirationTime_ = null; } return expirationTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -752,41 +867,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse) - private static final com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse DEFAULT_INSTANCE; + private static final com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse(); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateAwsAccessTokenResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateAwsAccessTokenResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -798,9 +915,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponseOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponseOrBuilder.java similarity index 53% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponseOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponseOrBuilder.java index a866c2f2006e..8dcbb4038b0f 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponseOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsAccessTokenResponseOrBuilder.java @@ -1,56 +1,91 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GenerateAwsAccessTokenResponseOrBuilder extends +public interface GenerateAwsAccessTokenResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Access token to authenticate to k8s api-server.
    * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The accessToken. */ java.lang.String getAccessToken(); /** + * + * *
    * Output only. Access token to authenticate to k8s api-server.
    * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for accessToken. */ - com.google.protobuf.ByteString - getAccessTokenBytes(); + com.google.protobuf.ByteString getAccessTokenBytes(); /** + * + * *
    * Output only. Timestamp at which the token will expire.
    * 
* - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expirationTime field is set. */ boolean hasExpirationTime(); /** + * + * *
    * Output only. Timestamp at which the token will expire.
    * 
* - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expirationTime. */ com.google.protobuf.Timestamp getExpirationTime(); /** + * + * *
    * Output only. Timestamp at which the token will expire.
    * 
* - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenRequest.java similarity index 69% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenRequest.java index 8d3f803d8e0d..114612f4af7c 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenRequest.java @@ -1,20 +1,36 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -/** - * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest} - */ -public final class GenerateAwsClusterAgentTokenRequest extends - com.google.protobuf.GeneratedMessageV3 implements +/** Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest} */ +public final class GenerateAwsClusterAgentTokenRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest) GenerateAwsClusterAgentTokenRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GenerateAwsClusterAgentTokenRequest.newBuilder() to construct. - private GenerateAwsClusterAgentTokenRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GenerateAwsClusterAgentTokenRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GenerateAwsClusterAgentTokenRequest() { awsCluster_ = ""; subjectToken_ = ""; @@ -30,33 +46,40 @@ private GenerateAwsClusterAgentTokenRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GenerateAwsClusterAgentTokenRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest.class, com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest.class, + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest.Builder.class); } public static final int AWS_CLUSTER_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object awsCluster_ = ""; /** + * + * *
    * Required.
    * 
* - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The awsCluster. */ @java.lang.Override @@ -65,29 +88,31 @@ public java.lang.String getAwsCluster() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); awsCluster_ = s; return s; } } /** + * + * *
    * Required.
    * 
* - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for awsCluster. */ @java.lang.Override - public com.google.protobuf.ByteString - getAwsClusterBytes() { + public com.google.protobuf.ByteString getAwsClusterBytes() { java.lang.Object ref = awsCluster_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); awsCluster_ = b; return b; } else { @@ -96,14 +121,18 @@ public java.lang.String getAwsCluster() { } public static final int SUBJECT_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object subjectToken_ = ""; /** + * + * *
    * Required.
    * 
* * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The subjectToken. */ @java.lang.Override @@ -112,29 +141,29 @@ public java.lang.String getSubjectToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subjectToken_ = s; return s; } } /** + * + * *
    * Required.
    * 
* * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for subjectToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getSubjectTokenBytes() { + public com.google.protobuf.ByteString getSubjectTokenBytes() { java.lang.Object ref = subjectToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subjectToken_ = b; return b; } else { @@ -143,14 +172,18 @@ public java.lang.String getSubjectToken() { } public static final int SUBJECT_TOKEN_TYPE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object subjectTokenType_ = ""; /** + * + * *
    * Required.
    * 
* * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The subjectTokenType. */ @java.lang.Override @@ -159,29 +192,29 @@ public java.lang.String getSubjectTokenType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subjectTokenType_ = s; return s; } } /** + * + * *
    * Required.
    * 
* * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for subjectTokenType. */ @java.lang.Override - public com.google.protobuf.ByteString - getSubjectTokenTypeBytes() { + public com.google.protobuf.ByteString getSubjectTokenTypeBytes() { java.lang.Object ref = subjectTokenType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subjectTokenType_ = b; return b; } else { @@ -190,14 +223,18 @@ public java.lang.String getSubjectTokenType() { } public static final int VERSION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object version_ = ""; /** + * + * *
    * Required.
    * 
* * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The version. */ @java.lang.Override @@ -206,29 +243,29 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
    * Required.
    * 
* * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -237,14 +274,18 @@ public java.lang.String getVersion() { } public static final int NODE_POOL_ID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object nodePoolId_ = ""; /** + * + * *
    * Optional.
    * 
* * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The nodePoolId. */ @java.lang.Override @@ -253,29 +294,29 @@ public java.lang.String getNodePoolId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; } } /** + * + * *
    * Optional.
    * 
* * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for nodePoolId. */ @java.lang.Override - public com.google.protobuf.ByteString - getNodePoolIdBytes() { + public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -284,14 +325,18 @@ public java.lang.String getNodePoolId() { } public static final int GRANT_TYPE_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object grantType_ = ""; /** + * + * *
    * Optional.
    * 
* * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The grantType. */ @java.lang.Override @@ -300,29 +345,29 @@ public java.lang.String getGrantType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); grantType_ = s; return s; } } /** + * + * *
    * Optional.
    * 
* * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for grantType. */ @java.lang.Override - public com.google.protobuf.ByteString - getGrantTypeBytes() { + public com.google.protobuf.ByteString getGrantTypeBytes() { java.lang.Object ref = grantType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); grantType_ = b; return b; } else { @@ -331,14 +376,18 @@ public java.lang.String getGrantType() { } public static final int AUDIENCE_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object audience_ = ""; /** + * + * *
    * Optional.
    * 
* * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The audience. */ @java.lang.Override @@ -347,29 +396,29 @@ public java.lang.String getAudience() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; } } /** + * + * *
    * Optional.
    * 
* * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for audience. */ @java.lang.Override - public com.google.protobuf.ByteString - getAudienceBytes() { + public com.google.protobuf.ByteString getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); audience_ = b; return b; } else { @@ -378,14 +427,18 @@ public java.lang.String getAudience() { } public static final int SCOPE_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object scope_ = ""; /** + * + * *
    * Optional.
    * 
* * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The scope. */ @java.lang.Override @@ -394,29 +447,29 @@ public java.lang.String getScope() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; } } /** + * + * *
    * Optional.
    * 
* * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for scope. */ @java.lang.Override - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -425,14 +478,18 @@ public java.lang.String getScope() { } public static final int REQUESTED_TOKEN_TYPE_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object requestedTokenType_ = ""; /** + * + * *
    * Optional.
    * 
* * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestedTokenType. */ @java.lang.Override @@ -441,29 +498,29 @@ public java.lang.String getRequestedTokenType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestedTokenType_ = s; return s; } } /** + * + * *
    * Optional.
    * 
* * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestedTokenType. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestedTokenTypeBytes() { + public com.google.protobuf.ByteString getRequestedTokenTypeBytes() { java.lang.Object ref = requestedTokenType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestedTokenType_ = b; return b; } else { @@ -472,14 +529,18 @@ public java.lang.String getRequestedTokenType() { } public static final int OPTIONS_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private volatile java.lang.Object options_ = ""; /** + * + * *
    * Optional.
    * 
* * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The options. */ @java.lang.Override @@ -488,29 +549,29 @@ public java.lang.String getOptions() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); options_ = s; return s; } } /** + * + * *
    * Optional.
    * 
* * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for options. */ @java.lang.Override - public com.google.protobuf.ByteString - getOptionsBytes() { + public com.google.protobuf.ByteString getOptionsBytes() { java.lang.Object ref = options_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); options_ = b; return b; } else { @@ -519,6 +580,7 @@ public java.lang.String getOptions() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -530,8 +592,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsCluster_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, awsCluster_); } @@ -609,33 +670,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest other = (com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest) obj; - - if (!getAwsCluster() - .equals(other.getAwsCluster())) return false; - if (!getSubjectToken() - .equals(other.getSubjectToken())) return false; - if (!getSubjectTokenType() - .equals(other.getSubjectTokenType())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getNodePoolId() - .equals(other.getNodePoolId())) return false; - if (!getGrantType() - .equals(other.getGrantType())) return false; - if (!getAudience() - .equals(other.getAudience())) return false; - if (!getScope() - .equals(other.getScope())) return false; - if (!getRequestedTokenType() - .equals(other.getRequestedTokenType())) return false; - if (!getOptions() - .equals(other.getOptions())) return false; + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest other = + (com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest) obj; + + if (!getAwsCluster().equals(other.getAwsCluster())) return false; + if (!getSubjectToken().equals(other.getSubjectToken())) return false; + if (!getSubjectTokenType().equals(other.getSubjectTokenType())) return false; + if (!getVersion().equals(other.getVersion())) return false; + if (!getNodePoolId().equals(other.getNodePoolId())) return false; + if (!getGrantType().equals(other.getGrantType())) return false; + if (!getAudience().equals(other.getAudience())) return false; + if (!getScope().equals(other.getScope())) return false; + if (!getRequestedTokenType().equals(other.getRequestedTokenType())) return false; + if (!getOptions().equals(other.getOptions())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -673,127 +725,130 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest} */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest) com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest.class, com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest.class, + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest.Builder.class); } - // Construct using com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -812,14 +867,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenRequest_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest getDefaultInstanceForType() { - return com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest.getDefaultInstance(); + public com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest + getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest + .getDefaultInstance(); } @java.lang.Override @@ -833,13 +890,17 @@ public com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest bui @java.lang.Override public com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest result = new com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest result = + new com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest result) { + private void buildPartial0( + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.awsCluster_ = awsCluster_; @@ -877,46 +938,51 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAwsClusterA public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest)other); + return mergeFrom( + (com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest other) { + if (other + == com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest + .getDefaultInstance()) return this; if (!other.getAwsCluster().isEmpty()) { awsCluster_ = other.awsCluster_; bitField0_ |= 0x00000001; @@ -993,62 +1059,73 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - awsCluster_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - subjectToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - subjectTokenType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - version_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - nodePoolId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - grantType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - audience_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: { - scope_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 74: { - requestedTokenType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 74 - case 82: { - options_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; - break; - } // case 82 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + awsCluster_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + subjectToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + subjectTokenType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + nodePoolId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + grantType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + audience_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: + { + scope_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 74: + { + requestedTokenType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 82: + { + options_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 82 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1058,22 +1135,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object awsCluster_ = ""; /** + * + * *
      * Required.
      * 
* - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The awsCluster. */ public java.lang.String getAwsCluster() { java.lang.Object ref = awsCluster_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); awsCluster_ = s; return s; @@ -1082,20 +1164,23 @@ public java.lang.String getAwsCluster() { } } /** + * + * *
      * Required.
      * 
* - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for awsCluster. */ - public com.google.protobuf.ByteString - getAwsClusterBytes() { + public com.google.protobuf.ByteString getAwsClusterBytes() { java.lang.Object ref = awsCluster_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); awsCluster_ = b; return b; } else { @@ -1103,28 +1188,39 @@ public java.lang.String getAwsCluster() { } } /** + * + * *
      * Required.
      * 
* - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The awsCluster to set. * @return This builder for chaining. */ - public Builder setAwsCluster( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAwsCluster(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } awsCluster_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required.
      * 
* - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearAwsCluster() { @@ -1134,17 +1230,23 @@ public Builder clearAwsCluster() { return this; } /** + * + * *
      * Required.
      * 
* - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for awsCluster to set. * @return This builder for chaining. */ - public Builder setAwsClusterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAwsClusterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); awsCluster_ = value; bitField0_ |= 0x00000001; @@ -1154,18 +1256,20 @@ public Builder setAwsClusterBytes( private java.lang.Object subjectToken_ = ""; /** + * + * *
      * Required.
      * 
* * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The subjectToken. */ public java.lang.String getSubjectToken() { java.lang.Object ref = subjectToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subjectToken_ = s; return s; @@ -1174,20 +1278,21 @@ public java.lang.String getSubjectToken() { } } /** + * + * *
      * Required.
      * 
* * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for subjectToken. */ - public com.google.protobuf.ByteString - getSubjectTokenBytes() { + public com.google.protobuf.ByteString getSubjectTokenBytes() { java.lang.Object ref = subjectToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subjectToken_ = b; return b; } else { @@ -1195,28 +1300,35 @@ public java.lang.String getSubjectToken() { } } /** + * + * *
      * Required.
      * 
* * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The subjectToken to set. * @return This builder for chaining. */ - public Builder setSubjectToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSubjectToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } subjectToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required.
      * 
* * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSubjectToken() { @@ -1226,17 +1338,21 @@ public Builder clearSubjectToken() { return this; } /** + * + * *
      * Required.
      * 
* * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for subjectToken to set. * @return This builder for chaining. */ - public Builder setSubjectTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSubjectTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); subjectToken_ = value; bitField0_ |= 0x00000002; @@ -1246,18 +1362,20 @@ public Builder setSubjectTokenBytes( private java.lang.Object subjectTokenType_ = ""; /** + * + * *
      * Required.
      * 
* * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The subjectTokenType. */ public java.lang.String getSubjectTokenType() { java.lang.Object ref = subjectTokenType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subjectTokenType_ = s; return s; @@ -1266,20 +1384,21 @@ public java.lang.String getSubjectTokenType() { } } /** + * + * *
      * Required.
      * 
* * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for subjectTokenType. */ - public com.google.protobuf.ByteString - getSubjectTokenTypeBytes() { + public com.google.protobuf.ByteString getSubjectTokenTypeBytes() { java.lang.Object ref = subjectTokenType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subjectTokenType_ = b; return b; } else { @@ -1287,28 +1406,35 @@ public java.lang.String getSubjectTokenType() { } } /** + * + * *
      * Required.
      * 
* * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The subjectTokenType to set. * @return This builder for chaining. */ - public Builder setSubjectTokenType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSubjectTokenType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } subjectTokenType_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required.
      * 
* * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSubjectTokenType() { @@ -1318,17 +1444,21 @@ public Builder clearSubjectTokenType() { return this; } /** + * + * *
      * Required.
      * 
* * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for subjectTokenType to set. * @return This builder for chaining. */ - public Builder setSubjectTokenTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSubjectTokenTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); subjectTokenType_ = value; bitField0_ |= 0x00000004; @@ -1338,18 +1468,20 @@ public Builder setSubjectTokenTypeBytes( private java.lang.Object version_ = ""; /** + * + * *
      * Required.
      * 
* * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -1358,20 +1490,21 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Required.
      * 
* * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -1379,28 +1512,35 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Required.
      * 
* * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } version_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Required.
      * 
* * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearVersion() { @@ -1410,17 +1550,21 @@ public Builder clearVersion() { return this; } /** + * + * *
      * Required.
      * 
* * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); version_ = value; bitField0_ |= 0x00000008; @@ -1430,18 +1574,20 @@ public Builder setVersionBytes( private java.lang.Object nodePoolId_ = ""; /** + * + * *
      * Optional.
      * 
* * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The nodePoolId. */ public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; @@ -1450,20 +1596,21 @@ public java.lang.String getNodePoolId() { } } /** + * + * *
      * Optional.
      * 
* * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for nodePoolId. */ - public com.google.protobuf.ByteString - getNodePoolIdBytes() { + public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -1471,28 +1618,35 @@ public java.lang.String getNodePoolId() { } } /** + * + * *
      * Optional.
      * 
* * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The nodePoolId to set. * @return This builder for chaining. */ - public Builder setNodePoolId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNodePoolId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nodePoolId_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional.
      * 
* * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearNodePoolId() { @@ -1502,17 +1656,21 @@ public Builder clearNodePoolId() { return this; } /** + * + * *
      * Optional.
      * 
* * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ - public Builder setNodePoolIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nodePoolId_ = value; bitField0_ |= 0x00000010; @@ -1522,18 +1680,20 @@ public Builder setNodePoolIdBytes( private java.lang.Object grantType_ = ""; /** + * + * *
      * Optional.
      * 
* * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The grantType. */ public java.lang.String getGrantType() { java.lang.Object ref = grantType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); grantType_ = s; return s; @@ -1542,20 +1702,21 @@ public java.lang.String getGrantType() { } } /** + * + * *
      * Optional.
      * 
* * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for grantType. */ - public com.google.protobuf.ByteString - getGrantTypeBytes() { + public com.google.protobuf.ByteString getGrantTypeBytes() { java.lang.Object ref = grantType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); grantType_ = b; return b; } else { @@ -1563,28 +1724,35 @@ public java.lang.String getGrantType() { } } /** + * + * *
      * Optional.
      * 
* * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The grantType to set. * @return This builder for chaining. */ - public Builder setGrantType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGrantType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } grantType_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Optional.
      * 
* * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearGrantType() { @@ -1594,17 +1762,21 @@ public Builder clearGrantType() { return this; } /** + * + * *
      * Optional.
      * 
* * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for grantType to set. * @return This builder for chaining. */ - public Builder setGrantTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGrantTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); grantType_ = value; bitField0_ |= 0x00000020; @@ -1614,18 +1786,20 @@ public Builder setGrantTypeBytes( private java.lang.Object audience_ = ""; /** + * + * *
      * Optional.
      * 
* * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The audience. */ public java.lang.String getAudience() { java.lang.Object ref = audience_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; @@ -1634,20 +1808,21 @@ public java.lang.String getAudience() { } } /** + * + * *
      * Optional.
      * 
* * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for audience. */ - public com.google.protobuf.ByteString - getAudienceBytes() { + public com.google.protobuf.ByteString getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); audience_ = b; return b; } else { @@ -1655,28 +1830,35 @@ public java.lang.String getAudience() { } } /** + * + * *
      * Optional.
      * 
* * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The audience to set. * @return This builder for chaining. */ - public Builder setAudience( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAudience(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } audience_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Optional.
      * 
* * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAudience() { @@ -1686,17 +1868,21 @@ public Builder clearAudience() { return this; } /** + * + * *
      * Optional.
      * 
* * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for audience to set. * @return This builder for chaining. */ - public Builder setAudienceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAudienceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); audience_ = value; bitField0_ |= 0x00000040; @@ -1706,18 +1892,20 @@ public Builder setAudienceBytes( private java.lang.Object scope_ = ""; /** + * + * *
      * Optional.
      * 
* * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The scope. */ public java.lang.String getScope() { java.lang.Object ref = scope_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; @@ -1726,20 +1914,21 @@ public java.lang.String getScope() { } } /** + * + * *
      * Optional.
      * 
* * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for scope. */ - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -1747,28 +1936,35 @@ public java.lang.String getScope() { } } /** + * + * *
      * Optional.
      * 
* * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setScope(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } scope_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * Optional.
      * 
* * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearScope() { @@ -1778,17 +1974,21 @@ public Builder clearScope() { return this; } /** + * + * *
      * Optional.
      * 
* * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for scope to set. * @return This builder for chaining. */ - public Builder setScopeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setScopeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); scope_ = value; bitField0_ |= 0x00000080; @@ -1798,18 +1998,20 @@ public Builder setScopeBytes( private java.lang.Object requestedTokenType_ = ""; /** + * + * *
      * Optional.
      * 
* * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestedTokenType. */ public java.lang.String getRequestedTokenType() { java.lang.Object ref = requestedTokenType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestedTokenType_ = s; return s; @@ -1818,20 +2020,21 @@ public java.lang.String getRequestedTokenType() { } } /** + * + * *
      * Optional.
      * 
* * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestedTokenType. */ - public com.google.protobuf.ByteString - getRequestedTokenTypeBytes() { + public com.google.protobuf.ByteString getRequestedTokenTypeBytes() { java.lang.Object ref = requestedTokenType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestedTokenType_ = b; return b; } else { @@ -1839,28 +2042,35 @@ public java.lang.String getRequestedTokenType() { } } /** + * + * *
      * Optional.
      * 
* * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestedTokenType to set. * @return This builder for chaining. */ - public Builder setRequestedTokenType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestedTokenType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestedTokenType_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * Optional.
      * 
* * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestedTokenType() { @@ -1870,17 +2080,21 @@ public Builder clearRequestedTokenType() { return this; } /** + * + * *
      * Optional.
      * 
* * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestedTokenType to set. * @return This builder for chaining. */ - public Builder setRequestedTokenTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestedTokenTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestedTokenType_ = value; bitField0_ |= 0x00000100; @@ -1890,18 +2104,20 @@ public Builder setRequestedTokenTypeBytes( private java.lang.Object options_ = ""; /** + * + * *
      * Optional.
      * 
* * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The options. */ public java.lang.String getOptions() { java.lang.Object ref = options_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); options_ = s; return s; @@ -1910,20 +2126,21 @@ public java.lang.String getOptions() { } } /** + * + * *
      * Optional.
      * 
* * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for options. */ - public com.google.protobuf.ByteString - getOptionsBytes() { + public com.google.protobuf.ByteString getOptionsBytes() { java.lang.Object ref = options_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); options_ = b; return b; } else { @@ -1931,28 +2148,35 @@ public java.lang.String getOptions() { } } /** + * + * *
      * Optional.
      * 
* * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The options to set. * @return This builder for chaining. */ - public Builder setOptions( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOptions(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } options_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** + * + * *
      * Optional.
      * 
* * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOptions() { @@ -1962,26 +2186,30 @@ public Builder clearOptions() { return this; } /** + * + * *
      * Optional.
      * 
* * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for options to set. * @return This builder for chaining. */ - public Builder setOptionsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOptionsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); options_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1991,41 +2219,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest) - private static final com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest DEFAULT_INSTANCE; + private static final com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest(); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateAwsClusterAgentTokenRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateAwsClusterAgentTokenRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2037,9 +2267,8 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenRequestOrBuilder.java index 67ccc428398d..fecf6c8f60dd 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenRequestOrBuilder.java @@ -1,209 +1,279 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GenerateAwsClusterAgentTokenRequestOrBuilder extends +public interface GenerateAwsClusterAgentTokenRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required.
    * 
* - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The awsCluster. */ java.lang.String getAwsCluster(); /** + * + * *
    * Required.
    * 
* - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for awsCluster. */ - com.google.protobuf.ByteString - getAwsClusterBytes(); + com.google.protobuf.ByteString getAwsClusterBytes(); /** + * + * *
    * Required.
    * 
* * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The subjectToken. */ java.lang.String getSubjectToken(); /** + * + * *
    * Required.
    * 
* * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for subjectToken. */ - com.google.protobuf.ByteString - getSubjectTokenBytes(); + com.google.protobuf.ByteString getSubjectTokenBytes(); /** + * + * *
    * Required.
    * 
* * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The subjectTokenType. */ java.lang.String getSubjectTokenType(); /** + * + * *
    * Required.
    * 
* * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for subjectTokenType. */ - com.google.protobuf.ByteString - getSubjectTokenTypeBytes(); + com.google.protobuf.ByteString getSubjectTokenTypeBytes(); /** + * + * *
    * Required.
    * 
* * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * Required.
    * 
* * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * Optional.
    * 
* * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The nodePoolId. */ java.lang.String getNodePoolId(); /** + * + * *
    * Optional.
    * 
* * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for nodePoolId. */ - com.google.protobuf.ByteString - getNodePoolIdBytes(); + com.google.protobuf.ByteString getNodePoolIdBytes(); /** + * + * *
    * Optional.
    * 
* * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The grantType. */ java.lang.String getGrantType(); /** + * + * *
    * Optional.
    * 
* * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for grantType. */ - com.google.protobuf.ByteString - getGrantTypeBytes(); + com.google.protobuf.ByteString getGrantTypeBytes(); /** + * + * *
    * Optional.
    * 
* * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The audience. */ java.lang.String getAudience(); /** + * + * *
    * Optional.
    * 
* * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for audience. */ - com.google.protobuf.ByteString - getAudienceBytes(); + com.google.protobuf.ByteString getAudienceBytes(); /** + * + * *
    * Optional.
    * 
* * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The scope. */ java.lang.String getScope(); /** + * + * *
    * Optional.
    * 
* * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for scope. */ - com.google.protobuf.ByteString - getScopeBytes(); + com.google.protobuf.ByteString getScopeBytes(); /** + * + * *
    * Optional.
    * 
* * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestedTokenType. */ java.lang.String getRequestedTokenType(); /** + * + * *
    * Optional.
    * 
* * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestedTokenType. */ - com.google.protobuf.ByteString - getRequestedTokenTypeBytes(); + com.google.protobuf.ByteString getRequestedTokenTypeBytes(); /** + * + * *
    * Optional.
    * 
* * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The options. */ java.lang.String getOptions(); /** + * + * *
    * Optional.
    * 
* * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for options. */ - com.google.protobuf.ByteString - getOptionsBytes(); + com.google.protobuf.ByteString getOptionsBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenResponse.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenResponse.java similarity index 61% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenResponse.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenResponse.java index 0b60b00db47d..b779b8455888 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenResponse.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenResponse.java @@ -1,20 +1,36 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -/** - * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse} - */ -public final class GenerateAwsClusterAgentTokenResponse extends - com.google.protobuf.GeneratedMessageV3 implements +/** Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse} */ +public final class GenerateAwsClusterAgentTokenResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse) GenerateAwsClusterAgentTokenResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GenerateAwsClusterAgentTokenResponse.newBuilder() to construct. - private GenerateAwsClusterAgentTokenResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GenerateAwsClusterAgentTokenResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GenerateAwsClusterAgentTokenResponse() { accessToken_ = ""; tokenType_ = ""; @@ -22,29 +38,32 @@ private GenerateAwsClusterAgentTokenResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GenerateAwsClusterAgentTokenResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse.class, com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse.class, + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse.Builder.class); } public static final int ACCESS_TOKEN_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object accessToken_ = ""; /** * string access_token = 1; + * * @return The accessToken. */ @java.lang.Override @@ -53,8 +72,7 @@ public java.lang.String getAccessToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); accessToken_ = s; return s; @@ -62,16 +80,15 @@ public java.lang.String getAccessToken() { } /** * string access_token = 1; + * * @return The bytes for accessToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getAccessTokenBytes() { + public com.google.protobuf.ByteString getAccessTokenBytes() { java.lang.Object ref = accessToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); accessToken_ = b; return b; } else { @@ -83,6 +100,7 @@ public java.lang.String getAccessToken() { private int expiresIn_ = 0; /** * int32 expires_in = 2; + * * @return The expiresIn. */ @java.lang.Override @@ -91,10 +109,12 @@ public int getExpiresIn() { } public static final int TOKEN_TYPE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object tokenType_ = ""; /** * string token_type = 3; + * * @return The tokenType. */ @java.lang.Override @@ -103,8 +123,7 @@ public java.lang.String getTokenType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tokenType_ = s; return s; @@ -112,16 +131,15 @@ public java.lang.String getTokenType() { } /** * string token_type = 3; + * * @return The bytes for tokenType. */ @java.lang.Override - public com.google.protobuf.ByteString - getTokenTypeBytes() { + public com.google.protobuf.ByteString getTokenTypeBytes() { java.lang.Object ref = tokenType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tokenType_ = b; return b; } else { @@ -130,6 +148,7 @@ public java.lang.String getTokenType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,8 +160,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, accessToken_); } @@ -165,8 +183,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, accessToken_); } if (expiresIn_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, expiresIn_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, expiresIn_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tokenType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, tokenType_); @@ -179,19 +196,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse other = (com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse) obj; + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse other = + (com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse) obj; - if (!getAccessToken() - .equals(other.getAccessToken())) return false; - if (getExpiresIn() - != other.getExpiresIn()) return false; - if (!getTokenType() - .equals(other.getTokenType())) return false; + if (!getAccessToken().equals(other.getAccessToken())) return false; + if (getExpiresIn() != other.getExpiresIn()) return false; + if (!getTokenType().equals(other.getTokenType())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -215,127 +230,130 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse} */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse) com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse.class, com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse.class, + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse.Builder.class); } - // Construct using com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -347,19 +365,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenResponse_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse getDefaultInstanceForType() { - return com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse.getDefaultInstance(); + public com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse + getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse build() { - com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse result = buildPartial(); + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -368,13 +389,17 @@ public com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse bu @java.lang.Override public com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse buildPartial() { - com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse result = new com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse result = + new com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse result) { + private void buildPartial0( + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.accessToken_ = accessToken_; @@ -391,46 +416,51 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAwsClusterA public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse)other); + return mergeFrom( + (com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse other) { - if (other == com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse other) { + if (other + == com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse + .getDefaultInstance()) return this; if (!other.getAccessToken().isEmpty()) { accessToken_ = other.accessToken_; bitField0_ |= 0x00000001; @@ -470,27 +500,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - accessToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - expiresIn_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - tokenType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + accessToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + expiresIn_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + tokenType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -500,18 +534,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object accessToken_ = ""; /** * string access_token = 1; + * * @return The accessToken. */ public java.lang.String getAccessToken() { java.lang.Object ref = accessToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); accessToken_ = s; return s; @@ -521,15 +556,14 @@ public java.lang.String getAccessToken() { } /** * string access_token = 1; + * * @return The bytes for accessToken. */ - public com.google.protobuf.ByteString - getAccessTokenBytes() { + public com.google.protobuf.ByteString getAccessTokenBytes() { java.lang.Object ref = accessToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); accessToken_ = b; return b; } else { @@ -538,12 +572,14 @@ public java.lang.String getAccessToken() { } /** * string access_token = 1; + * * @param value The accessToken to set. * @return This builder for chaining. */ - public Builder setAccessToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAccessToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } accessToken_ = value; bitField0_ |= 0x00000001; onChanged(); @@ -551,6 +587,7 @@ public Builder setAccessToken( } /** * string access_token = 1; + * * @return This builder for chaining. */ public Builder clearAccessToken() { @@ -561,12 +598,14 @@ public Builder clearAccessToken() { } /** * string access_token = 1; + * * @param value The bytes for accessToken to set. * @return This builder for chaining. */ - public Builder setAccessTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAccessTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); accessToken_ = value; bitField0_ |= 0x00000001; @@ -574,9 +613,10 @@ public Builder setAccessTokenBytes( return this; } - private int expiresIn_ ; + private int expiresIn_; /** * int32 expires_in = 2; + * * @return The expiresIn. */ @java.lang.Override @@ -585,6 +625,7 @@ public int getExpiresIn() { } /** * int32 expires_in = 2; + * * @param value The expiresIn to set. * @return This builder for chaining. */ @@ -597,6 +638,7 @@ public Builder setExpiresIn(int value) { } /** * int32 expires_in = 2; + * * @return This builder for chaining. */ public Builder clearExpiresIn() { @@ -609,13 +651,13 @@ public Builder clearExpiresIn() { private java.lang.Object tokenType_ = ""; /** * string token_type = 3; + * * @return The tokenType. */ public java.lang.String getTokenType() { java.lang.Object ref = tokenType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tokenType_ = s; return s; @@ -625,15 +667,14 @@ public java.lang.String getTokenType() { } /** * string token_type = 3; + * * @return The bytes for tokenType. */ - public com.google.protobuf.ByteString - getTokenTypeBytes() { + public com.google.protobuf.ByteString getTokenTypeBytes() { java.lang.Object ref = tokenType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tokenType_ = b; return b; } else { @@ -642,12 +683,14 @@ public java.lang.String getTokenType() { } /** * string token_type = 3; + * * @param value The tokenType to set. * @return This builder for chaining. */ - public Builder setTokenType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTokenType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tokenType_ = value; bitField0_ |= 0x00000004; onChanged(); @@ -655,6 +698,7 @@ public Builder setTokenType( } /** * string token_type = 3; + * * @return This builder for chaining. */ public Builder clearTokenType() { @@ -665,21 +709,23 @@ public Builder clearTokenType() { } /** * string token_type = 3; + * * @param value The bytes for tokenType to set. * @return This builder for chaining. */ - public Builder setTokenTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTokenTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tokenType_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -689,41 +735,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse) - private static final com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse DEFAULT_INSTANCE; + private static final com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse(); } - public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateAwsClusterAgentTokenResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateAwsClusterAgentTokenResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -735,9 +783,8 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenResponseOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenResponseOrBuilder.java similarity index 51% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenResponseOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenResponseOrBuilder.java index 9e9f3db98e79..402746db0b50 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenResponseOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAwsClusterAgentTokenResponseOrBuilder.java @@ -1,39 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GenerateAwsClusterAgentTokenResponseOrBuilder extends +public interface GenerateAwsClusterAgentTokenResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse) com.google.protobuf.MessageOrBuilder { /** * string access_token = 1; + * * @return The accessToken. */ java.lang.String getAccessToken(); /** * string access_token = 1; + * * @return The bytes for accessToken. */ - com.google.protobuf.ByteString - getAccessTokenBytes(); + com.google.protobuf.ByteString getAccessTokenBytes(); /** * int32 expires_in = 2; + * * @return The expiresIn. */ int getExpiresIn(); /** * string token_type = 3; + * * @return The tokenType. */ java.lang.String getTokenType(); /** * string token_type = 3; + * * @return The bytes for tokenType. */ - com.google.protobuf.ByteString - getTokenTypeBytes(); + com.google.protobuf.ByteString getTokenTypeBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequest.java similarity index 63% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequest.java index baf7997e87b6..ef4ca15b2d22 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequest.java @@ -1,52 +1,75 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Request message for `AzureClusters.GenerateAzureAccessToken` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest} */ -public final class GenerateAzureAccessTokenRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GenerateAzureAccessTokenRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest) GenerateAzureAccessTokenRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GenerateAzureAccessTokenRequest.newBuilder() to construct. - private GenerateAzureAccessTokenRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GenerateAzureAccessTokenRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GenerateAzureAccessTokenRequest() { azureCluster_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GenerateAzureAccessTokenRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.class, com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.class, + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.Builder.class); } public static final int AZURE_CLUSTER_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object azureCluster_ = ""; /** + * + * *
    * Required. The name of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
@@ -59,7 +82,10 @@ protected java.lang.Object newInstance(
    * for more details on Google Cloud resource names.
    * 
* - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The azureCluster. */ @java.lang.Override @@ -68,14 +94,15 @@ public java.lang.String getAzureCluster() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureCluster_ = s; return s; } } /** + * + * *
    * Required. The name of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
@@ -88,17 +115,18 @@ public java.lang.String getAzureCluster() {
    * for more details on Google Cloud resource names.
    * 
* - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for azureCluster. */ @java.lang.Override - public com.google.protobuf.ByteString - getAzureClusterBytes() { + public com.google.protobuf.ByteString getAzureClusterBytes() { java.lang.Object ref = azureCluster_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); azureCluster_ = b; return b; } else { @@ -107,6 +135,7 @@ public java.lang.String getAzureCluster() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -118,8 +147,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(azureCluster_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, azureCluster_); } @@ -143,15 +171,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest other = (com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest) obj; + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest other = + (com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest) obj; - if (!getAzureCluster() - .equals(other.getAzureCluster())) return false; + if (!getAzureCluster().equals(other.getAzureCluster())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -171,131 +199,138 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AzureClusters.GenerateAzureAccessToken` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest) com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.class, com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.class, + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.Builder.class); } - // Construct using com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -305,13 +340,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest + getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.getDefaultInstance(); } @@ -326,13 +362,17 @@ public com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest build() @java.lang.Override public com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest result = new com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest result = + new com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest result) { + private void buildPartial0( + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.azureCluster_ = azureCluster_; @@ -343,46 +383,50 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAzureAccess public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest other) { + if (other + == com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.getDefaultInstance()) + return this; if (!other.getAzureCluster().isEmpty()) { azureCluster_ = other.azureCluster_; bitField0_ |= 0x00000001; @@ -414,17 +458,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - azureCluster_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + azureCluster_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -434,10 +480,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object azureCluster_ = ""; /** + * + * *
      * Required. The name of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
@@ -450,14 +499,16 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The azureCluster. */ public java.lang.String getAzureCluster() { java.lang.Object ref = azureCluster_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureCluster_ = s; return s; @@ -466,6 +517,8 @@ public java.lang.String getAzureCluster() { } } /** + * + * *
      * Required. The name of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
@@ -478,16 +531,17 @@ public java.lang.String getAzureCluster() {
      * for more details on Google Cloud resource names.
      * 
* - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for azureCluster. */ - public com.google.protobuf.ByteString - getAzureClusterBytes() { + public com.google.protobuf.ByteString getAzureClusterBytes() { java.lang.Object ref = azureCluster_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); azureCluster_ = b; return b; } else { @@ -495,6 +549,8 @@ public java.lang.String getAzureCluster() { } } /** + * + * *
      * Required. The name of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
@@ -507,19 +563,25 @@ public java.lang.String getAzureCluster() {
      * for more details on Google Cloud resource names.
      * 
* - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The azureCluster to set. * @return This builder for chaining. */ - public Builder setAzureCluster( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAzureCluster(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } azureCluster_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
@@ -532,7 +594,10 @@ public Builder setAzureCluster(
      * for more details on Google Cloud resource names.
      * 
* - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearAzureCluster() { @@ -542,6 +607,8 @@ public Builder clearAzureCluster() { return this; } /** + * + * *
      * Required. The name of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
@@ -554,22 +621,26 @@ public Builder clearAzureCluster() {
      * for more details on Google Cloud resource names.
      * 
* - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for azureCluster to set. * @return This builder for chaining. */ - public Builder setAzureClusterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAzureClusterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); azureCluster_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -579,41 +650,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest) - private static final com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest DEFAULT_INSTANCE; + private static final com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest(); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateAzureAccessTokenRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateAzureAccessTokenRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -625,9 +698,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequestOrBuilder.java index 6b4dd0667f3b..27a4c30e623f 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GenerateAzureAccessTokenRequestOrBuilder extends +public interface GenerateAzureAccessTokenRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
@@ -20,11 +38,16 @@ public interface GenerateAzureAccessTokenRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The azureCluster. */ java.lang.String getAzureCluster(); /** + * + * *
    * Required. The name of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
@@ -37,9 +60,11 @@ public interface GenerateAzureAccessTokenRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for azureCluster. */ - com.google.protobuf.ByteString - getAzureClusterBytes(); + com.google.protobuf.ByteString getAzureClusterBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponse.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponse.java similarity index 60% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponse.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponse.java index 760e573e2c76..9920835b1bcd 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponse.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponse.java @@ -1,57 +1,81 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Response message for `AzureClusters.GenerateAzureAccessToken` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse} */ -public final class GenerateAzureAccessTokenResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GenerateAzureAccessTokenResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse) GenerateAzureAccessTokenResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GenerateAzureAccessTokenResponse.newBuilder() to construct. - private GenerateAzureAccessTokenResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GenerateAzureAccessTokenResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GenerateAzureAccessTokenResponse() { accessToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GenerateAzureAccessTokenResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse.class, com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse.class, + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse.Builder.class); } public static final int ACCESS_TOKEN_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object accessToken_ = ""; /** + * + * *
    * Output only. Access token to authenticate to k8s api-server.
    * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The accessToken. */ @java.lang.Override @@ -60,29 +84,29 @@ public java.lang.String getAccessToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); accessToken_ = s; return s; } } /** + * + * *
    * Output only. Access token to authenticate to k8s api-server.
    * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for accessToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getAccessTokenBytes() { + public com.google.protobuf.ByteString getAccessTokenBytes() { java.lang.Object ref = accessToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); accessToken_ = b; return b; } else { @@ -93,11 +117,16 @@ public java.lang.String getAccessToken() { public static final int EXPIRATION_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp expirationTime_; /** + * + * *
    * Output only. Timestamp at which the token will expire.
    * 
* - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expirationTime field is set. */ @java.lang.Override @@ -105,30 +134,44 @@ public boolean hasExpirationTime() { return expirationTime_ != null; } /** + * + * *
    * Output only. Timestamp at which the token will expire.
    * 
* - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expirationTime. */ @java.lang.Override public com.google.protobuf.Timestamp getExpirationTime() { - return expirationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expirationTime_; + return expirationTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expirationTime_; } /** + * + * *
    * Output only. Timestamp at which the token will expire.
    * 
* - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder() { - return expirationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expirationTime_; + return expirationTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expirationTime_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -140,8 +183,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, accessToken_); } @@ -161,8 +203,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, accessToken_); } if (expirationTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getExpirationTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExpirationTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -172,19 +213,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse other = (com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse) obj; + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse other = + (com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse) obj; - if (!getAccessToken() - .equals(other.getAccessToken())) return false; + if (!getAccessToken().equals(other.getAccessToken())) return false; if (hasExpirationTime() != other.hasExpirationTime()) return false; if (hasExpirationTime()) { - if (!getExpirationTime() - .equals(other.getExpirationTime())) return false; + if (!getExpirationTime().equals(other.getExpirationTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -209,131 +249,138 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for `AzureClusters.GenerateAzureAccessToken` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse) com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse.class, com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse.class, + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse.Builder.class); } - // Construct using com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -348,14 +395,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse getDefaultInstanceForType() { - return com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse.getDefaultInstance(); + public com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse + getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse + .getDefaultInstance(); } @java.lang.Override @@ -369,21 +418,24 @@ public com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse build( @java.lang.Override public com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse buildPartial() { - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse result = new com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse result = + new com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse result) { + private void buildPartial0( + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.accessToken_ = accessToken_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.expirationTime_ = expirationTimeBuilder_ == null - ? expirationTime_ - : expirationTimeBuilder_.build(); + result.expirationTime_ = + expirationTimeBuilder_ == null ? expirationTime_ : expirationTimeBuilder_.build(); } } @@ -391,46 +443,51 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAzureAccess public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse)other); + return mergeFrom( + (com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse other) { - if (other == com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse other) { + if (other + == com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse + .getDefaultInstance()) return this; if (!other.getAccessToken().isEmpty()) { accessToken_ = other.accessToken_; bitField0_ |= 0x00000001; @@ -465,24 +522,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - accessToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getExpirationTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + accessToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getExpirationTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -492,22 +550,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object accessToken_ = ""; /** + * + * *
      * Output only. Access token to authenticate to k8s api-server.
      * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The accessToken. */ public java.lang.String getAccessToken() { java.lang.Object ref = accessToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); accessToken_ = s; return s; @@ -516,20 +577,21 @@ public java.lang.String getAccessToken() { } } /** + * + * *
      * Output only. Access token to authenticate to k8s api-server.
      * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for accessToken. */ - public com.google.protobuf.ByteString - getAccessTokenBytes() { + public com.google.protobuf.ByteString getAccessTokenBytes() { java.lang.Object ref = accessToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); accessToken_ = b; return b; } else { @@ -537,28 +599,35 @@ public java.lang.String getAccessToken() { } } /** + * + * *
      * Output only. Access token to authenticate to k8s api-server.
      * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The accessToken to set. * @return This builder for chaining. */ - public Builder setAccessToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAccessToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } accessToken_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Access token to authenticate to k8s api-server.
      * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearAccessToken() { @@ -568,17 +637,21 @@ public Builder clearAccessToken() { return this; } /** + * + * *
      * Output only. Access token to authenticate to k8s api-server.
      * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for accessToken to set. * @return This builder for chaining. */ - public Builder setAccessTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAccessTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); accessToken_ = value; bitField0_ |= 0x00000001; @@ -588,39 +661,58 @@ public Builder setAccessTokenBytes( private com.google.protobuf.Timestamp expirationTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expirationTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + expirationTimeBuilder_; /** + * + * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expirationTime field is set. */ public boolean hasExpirationTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expirationTime. */ public com.google.protobuf.Timestamp getExpirationTime() { if (expirationTimeBuilder_ == null) { - return expirationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expirationTime_; + return expirationTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expirationTime_; } else { return expirationTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setExpirationTime(com.google.protobuf.Timestamp value) { if (expirationTimeBuilder_ == null) { @@ -636,14 +728,17 @@ public Builder setExpirationTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setExpirationTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpirationTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (expirationTimeBuilder_ == null) { expirationTime_ = builderForValue.build(); } else { @@ -654,17 +749,21 @@ public Builder setExpirationTime( return this; } /** + * + * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeExpirationTime(com.google.protobuf.Timestamp value) { if (expirationTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - expirationTime_ != null && - expirationTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && expirationTime_ != null + && expirationTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpirationTimeBuilder().mergeFrom(value); } else { expirationTime_ = value; @@ -677,11 +776,15 @@ public Builder mergeExpirationTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearExpirationTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -694,11 +797,15 @@ public Builder clearExpirationTime() { return this; } /** + * + * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getExpirationTimeBuilder() { bitField0_ |= 0x00000002; @@ -706,43 +813,55 @@ public com.google.protobuf.Timestamp.Builder getExpirationTimeBuilder() { return getExpirationTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder() { if (expirationTimeBuilder_ != null) { return expirationTimeBuilder_.getMessageOrBuilder(); } else { - return expirationTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : expirationTime_; + return expirationTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expirationTime_; } } /** + * + * *
      * Output only. Timestamp at which the token will expire.
      * 
* - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getExpirationTimeFieldBuilder() { if (expirationTimeBuilder_ == null) { - expirationTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getExpirationTime(), - getParentForChildren(), - isClean()); + expirationTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getExpirationTime(), getParentForChildren(), isClean()); expirationTime_ = null; } return expirationTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -752,41 +871,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse) - private static final com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse DEFAULT_INSTANCE; + private static final com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse(); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateAzureAccessTokenResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateAzureAccessTokenResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -798,9 +919,8 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponseOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponseOrBuilder.java similarity index 54% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponseOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponseOrBuilder.java index 0e27d416bc69..69959971b2c0 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponseOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureAccessTokenResponseOrBuilder.java @@ -1,56 +1,91 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GenerateAzureAccessTokenResponseOrBuilder extends +public interface GenerateAzureAccessTokenResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Access token to authenticate to k8s api-server.
    * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The accessToken. */ java.lang.String getAccessToken(); /** + * + * *
    * Output only. Access token to authenticate to k8s api-server.
    * 
* * string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for accessToken. */ - com.google.protobuf.ByteString - getAccessTokenBytes(); + com.google.protobuf.ByteString getAccessTokenBytes(); /** + * + * *
    * Output only. Timestamp at which the token will expire.
    * 
* - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expirationTime field is set. */ boolean hasExpirationTime(); /** + * + * *
    * Output only. Timestamp at which the token will expire.
    * 
* - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expirationTime. */ com.google.protobuf.Timestamp getExpirationTime(); /** + * + * *
    * Output only. Timestamp at which the token will expire.
    * 
* - * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenRequest.java similarity index 68% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenRequest.java index ad0007cfa1c5..12e32b2d8a6f 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenRequest.java @@ -1,20 +1,36 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -/** - * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest} - */ -public final class GenerateAzureClusterAgentTokenRequest extends - com.google.protobuf.GeneratedMessageV3 implements +/** Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest} */ +public final class GenerateAzureClusterAgentTokenRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest) GenerateAzureClusterAgentTokenRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GenerateAzureClusterAgentTokenRequest.newBuilder() to construct. - private GenerateAzureClusterAgentTokenRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GenerateAzureClusterAgentTokenRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GenerateAzureClusterAgentTokenRequest() { azureCluster_ = ""; subjectToken_ = ""; @@ -30,33 +46,40 @@ private GenerateAzureClusterAgentTokenRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GenerateAzureClusterAgentTokenRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest.class, com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest.class, + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest.Builder.class); } public static final int AZURE_CLUSTER_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object azureCluster_ = ""; /** + * + * *
    * Required.
    * 
* - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The azureCluster. */ @java.lang.Override @@ -65,29 +88,31 @@ public java.lang.String getAzureCluster() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureCluster_ = s; return s; } } /** + * + * *
    * Required.
    * 
* - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for azureCluster. */ @java.lang.Override - public com.google.protobuf.ByteString - getAzureClusterBytes() { + public com.google.protobuf.ByteString getAzureClusterBytes() { java.lang.Object ref = azureCluster_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); azureCluster_ = b; return b; } else { @@ -96,14 +121,18 @@ public java.lang.String getAzureCluster() { } public static final int SUBJECT_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object subjectToken_ = ""; /** + * + * *
    * Required.
    * 
* * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The subjectToken. */ @java.lang.Override @@ -112,29 +141,29 @@ public java.lang.String getSubjectToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subjectToken_ = s; return s; } } /** + * + * *
    * Required.
    * 
* * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for subjectToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getSubjectTokenBytes() { + public com.google.protobuf.ByteString getSubjectTokenBytes() { java.lang.Object ref = subjectToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subjectToken_ = b; return b; } else { @@ -143,14 +172,18 @@ public java.lang.String getSubjectToken() { } public static final int SUBJECT_TOKEN_TYPE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object subjectTokenType_ = ""; /** + * + * *
    * Required.
    * 
* * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The subjectTokenType. */ @java.lang.Override @@ -159,29 +192,29 @@ public java.lang.String getSubjectTokenType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subjectTokenType_ = s; return s; } } /** + * + * *
    * Required.
    * 
* * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for subjectTokenType. */ @java.lang.Override - public com.google.protobuf.ByteString - getSubjectTokenTypeBytes() { + public com.google.protobuf.ByteString getSubjectTokenTypeBytes() { java.lang.Object ref = subjectTokenType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subjectTokenType_ = b; return b; } else { @@ -190,14 +223,18 @@ public java.lang.String getSubjectTokenType() { } public static final int VERSION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object version_ = ""; /** + * + * *
    * Required.
    * 
* * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The version. */ @java.lang.Override @@ -206,29 +243,29 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
    * Required.
    * 
* * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -237,14 +274,18 @@ public java.lang.String getVersion() { } public static final int NODE_POOL_ID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object nodePoolId_ = ""; /** + * + * *
    * Optional.
    * 
* * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The nodePoolId. */ @java.lang.Override @@ -253,29 +294,29 @@ public java.lang.String getNodePoolId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; } } /** + * + * *
    * Optional.
    * 
* * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for nodePoolId. */ @java.lang.Override - public com.google.protobuf.ByteString - getNodePoolIdBytes() { + public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -284,14 +325,18 @@ public java.lang.String getNodePoolId() { } public static final int GRANT_TYPE_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object grantType_ = ""; /** + * + * *
    * Optional.
    * 
* * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The grantType. */ @java.lang.Override @@ -300,29 +345,29 @@ public java.lang.String getGrantType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); grantType_ = s; return s; } } /** + * + * *
    * Optional.
    * 
* * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for grantType. */ @java.lang.Override - public com.google.protobuf.ByteString - getGrantTypeBytes() { + public com.google.protobuf.ByteString getGrantTypeBytes() { java.lang.Object ref = grantType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); grantType_ = b; return b; } else { @@ -331,14 +376,18 @@ public java.lang.String getGrantType() { } public static final int AUDIENCE_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object audience_ = ""; /** + * + * *
    * Optional.
    * 
* * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The audience. */ @java.lang.Override @@ -347,29 +396,29 @@ public java.lang.String getAudience() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; } } /** + * + * *
    * Optional.
    * 
* * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for audience. */ @java.lang.Override - public com.google.protobuf.ByteString - getAudienceBytes() { + public com.google.protobuf.ByteString getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); audience_ = b; return b; } else { @@ -378,14 +427,18 @@ public java.lang.String getAudience() { } public static final int SCOPE_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object scope_ = ""; /** + * + * *
    * Optional.
    * 
* * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The scope. */ @java.lang.Override @@ -394,29 +447,29 @@ public java.lang.String getScope() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; } } /** + * + * *
    * Optional.
    * 
* * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for scope. */ @java.lang.Override - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -425,14 +478,18 @@ public java.lang.String getScope() { } public static final int REQUESTED_TOKEN_TYPE_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object requestedTokenType_ = ""; /** + * + * *
    * Optional.
    * 
* * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestedTokenType. */ @java.lang.Override @@ -441,29 +498,29 @@ public java.lang.String getRequestedTokenType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestedTokenType_ = s; return s; } } /** + * + * *
    * Optional.
    * 
* * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestedTokenType. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestedTokenTypeBytes() { + public com.google.protobuf.ByteString getRequestedTokenTypeBytes() { java.lang.Object ref = requestedTokenType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestedTokenType_ = b; return b; } else { @@ -472,14 +529,18 @@ public java.lang.String getRequestedTokenType() { } public static final int OPTIONS_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private volatile java.lang.Object options_ = ""; /** + * + * *
    * Optional.
    * 
* * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The options. */ @java.lang.Override @@ -488,29 +549,29 @@ public java.lang.String getOptions() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); options_ = s; return s; } } /** + * + * *
    * Optional.
    * 
* * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for options. */ @java.lang.Override - public com.google.protobuf.ByteString - getOptionsBytes() { + public com.google.protobuf.ByteString getOptionsBytes() { java.lang.Object ref = options_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); options_ = b; return b; } else { @@ -519,6 +580,7 @@ public java.lang.String getOptions() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -530,8 +592,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(azureCluster_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, azureCluster_); } @@ -609,33 +670,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest other = (com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest) obj; - - if (!getAzureCluster() - .equals(other.getAzureCluster())) return false; - if (!getSubjectToken() - .equals(other.getSubjectToken())) return false; - if (!getSubjectTokenType() - .equals(other.getSubjectTokenType())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getNodePoolId() - .equals(other.getNodePoolId())) return false; - if (!getGrantType() - .equals(other.getGrantType())) return false; - if (!getAudience() - .equals(other.getAudience())) return false; - if (!getScope() - .equals(other.getScope())) return false; - if (!getRequestedTokenType() - .equals(other.getRequestedTokenType())) return false; - if (!getOptions() - .equals(other.getOptions())) return false; + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest other = + (com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest) obj; + + if (!getAzureCluster().equals(other.getAzureCluster())) return false; + if (!getSubjectToken().equals(other.getSubjectToken())) return false; + if (!getSubjectTokenType().equals(other.getSubjectTokenType())) return false; + if (!getVersion().equals(other.getVersion())) return false; + if (!getNodePoolId().equals(other.getNodePoolId())) return false; + if (!getGrantType().equals(other.getGrantType())) return false; + if (!getAudience().equals(other.getAudience())) return false; + if (!getScope().equals(other.getScope())) return false; + if (!getRequestedTokenType().equals(other.getRequestedTokenType())) return false; + if (!getOptions().equals(other.getOptions())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -673,127 +725,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest} */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest) com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest.class, com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest.class, + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest.Builder + .class); } - // Construct using com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -812,19 +868,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenRequest_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest getDefaultInstanceForType() { - return com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest.getDefaultInstance(); + public com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest + getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest build() { - com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest result = buildPartial(); + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -833,13 +892,17 @@ public com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest b @java.lang.Override public com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest result = new com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest result = + new com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest result) { + private void buildPartial0( + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.azureCluster_ = azureCluster_; @@ -877,46 +940,52 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAzureCluste public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest)other); + if (other + instanceof com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest) { + return mergeFrom( + (com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest other) { + if (other + == com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest + .getDefaultInstance()) return this; if (!other.getAzureCluster().isEmpty()) { azureCluster_ = other.azureCluster_; bitField0_ |= 0x00000001; @@ -993,62 +1062,73 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - azureCluster_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - subjectToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - subjectTokenType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - version_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - nodePoolId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - grantType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - audience_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: { - scope_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 74: { - requestedTokenType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 74 - case 82: { - options_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; - break; - } // case 82 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + azureCluster_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + subjectToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + subjectTokenType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + version_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + nodePoolId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + grantType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + audience_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: + { + scope_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 74: + { + requestedTokenType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 82: + { + options_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 82 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1058,22 +1138,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object azureCluster_ = ""; /** + * + * *
      * Required.
      * 
* - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The azureCluster. */ public java.lang.String getAzureCluster() { java.lang.Object ref = azureCluster_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureCluster_ = s; return s; @@ -1082,20 +1167,23 @@ public java.lang.String getAzureCluster() { } } /** + * + * *
      * Required.
      * 
* - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for azureCluster. */ - public com.google.protobuf.ByteString - getAzureClusterBytes() { + public com.google.protobuf.ByteString getAzureClusterBytes() { java.lang.Object ref = azureCluster_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); azureCluster_ = b; return b; } else { @@ -1103,28 +1191,39 @@ public java.lang.String getAzureCluster() { } } /** + * + * *
      * Required.
      * 
* - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The azureCluster to set. * @return This builder for chaining. */ - public Builder setAzureCluster( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAzureCluster(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } azureCluster_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required.
      * 
* - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearAzureCluster() { @@ -1134,17 +1233,23 @@ public Builder clearAzureCluster() { return this; } /** + * + * *
      * Required.
      * 
* - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for azureCluster to set. * @return This builder for chaining. */ - public Builder setAzureClusterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAzureClusterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); azureCluster_ = value; bitField0_ |= 0x00000001; @@ -1154,18 +1259,20 @@ public Builder setAzureClusterBytes( private java.lang.Object subjectToken_ = ""; /** + * + * *
      * Required.
      * 
* * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The subjectToken. */ public java.lang.String getSubjectToken() { java.lang.Object ref = subjectToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subjectToken_ = s; return s; @@ -1174,20 +1281,21 @@ public java.lang.String getSubjectToken() { } } /** + * + * *
      * Required.
      * 
* * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for subjectToken. */ - public com.google.protobuf.ByteString - getSubjectTokenBytes() { + public com.google.protobuf.ByteString getSubjectTokenBytes() { java.lang.Object ref = subjectToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subjectToken_ = b; return b; } else { @@ -1195,28 +1303,35 @@ public java.lang.String getSubjectToken() { } } /** + * + * *
      * Required.
      * 
* * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The subjectToken to set. * @return This builder for chaining. */ - public Builder setSubjectToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSubjectToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } subjectToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required.
      * 
* * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSubjectToken() { @@ -1226,17 +1341,21 @@ public Builder clearSubjectToken() { return this; } /** + * + * *
      * Required.
      * 
* * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for subjectToken to set. * @return This builder for chaining. */ - public Builder setSubjectTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSubjectTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); subjectToken_ = value; bitField0_ |= 0x00000002; @@ -1246,18 +1365,20 @@ public Builder setSubjectTokenBytes( private java.lang.Object subjectTokenType_ = ""; /** + * + * *
      * Required.
      * 
* * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The subjectTokenType. */ public java.lang.String getSubjectTokenType() { java.lang.Object ref = subjectTokenType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subjectTokenType_ = s; return s; @@ -1266,20 +1387,21 @@ public java.lang.String getSubjectTokenType() { } } /** + * + * *
      * Required.
      * 
* * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for subjectTokenType. */ - public com.google.protobuf.ByteString - getSubjectTokenTypeBytes() { + public com.google.protobuf.ByteString getSubjectTokenTypeBytes() { java.lang.Object ref = subjectTokenType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subjectTokenType_ = b; return b; } else { @@ -1287,28 +1409,35 @@ public java.lang.String getSubjectTokenType() { } } /** + * + * *
      * Required.
      * 
* * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The subjectTokenType to set. * @return This builder for chaining. */ - public Builder setSubjectTokenType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSubjectTokenType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } subjectTokenType_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required.
      * 
* * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSubjectTokenType() { @@ -1318,17 +1447,21 @@ public Builder clearSubjectTokenType() { return this; } /** + * + * *
      * Required.
      * 
* * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for subjectTokenType to set. * @return This builder for chaining. */ - public Builder setSubjectTokenTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSubjectTokenTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); subjectTokenType_ = value; bitField0_ |= 0x00000004; @@ -1338,18 +1471,20 @@ public Builder setSubjectTokenTypeBytes( private java.lang.Object version_ = ""; /** + * + * *
      * Required.
      * 
* * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -1358,20 +1493,21 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Required.
      * 
* * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -1379,28 +1515,35 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Required.
      * 
* * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } version_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Required.
      * 
* * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearVersion() { @@ -1410,17 +1553,21 @@ public Builder clearVersion() { return this; } /** + * + * *
      * Required.
      * 
* * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); version_ = value; bitField0_ |= 0x00000008; @@ -1430,18 +1577,20 @@ public Builder setVersionBytes( private java.lang.Object nodePoolId_ = ""; /** + * + * *
      * Optional.
      * 
* * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The nodePoolId. */ public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; @@ -1450,20 +1599,21 @@ public java.lang.String getNodePoolId() { } } /** + * + * *
      * Optional.
      * 
* * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for nodePoolId. */ - public com.google.protobuf.ByteString - getNodePoolIdBytes() { + public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -1471,28 +1621,35 @@ public java.lang.String getNodePoolId() { } } /** + * + * *
      * Optional.
      * 
* * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The nodePoolId to set. * @return This builder for chaining. */ - public Builder setNodePoolId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNodePoolId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nodePoolId_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional.
      * 
* * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearNodePoolId() { @@ -1502,17 +1659,21 @@ public Builder clearNodePoolId() { return this; } /** + * + * *
      * Optional.
      * 
* * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ - public Builder setNodePoolIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nodePoolId_ = value; bitField0_ |= 0x00000010; @@ -1522,18 +1683,20 @@ public Builder setNodePoolIdBytes( private java.lang.Object grantType_ = ""; /** + * + * *
      * Optional.
      * 
* * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The grantType. */ public java.lang.String getGrantType() { java.lang.Object ref = grantType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); grantType_ = s; return s; @@ -1542,20 +1705,21 @@ public java.lang.String getGrantType() { } } /** + * + * *
      * Optional.
      * 
* * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for grantType. */ - public com.google.protobuf.ByteString - getGrantTypeBytes() { + public com.google.protobuf.ByteString getGrantTypeBytes() { java.lang.Object ref = grantType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); grantType_ = b; return b; } else { @@ -1563,28 +1727,35 @@ public java.lang.String getGrantType() { } } /** + * + * *
      * Optional.
      * 
* * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The grantType to set. * @return This builder for chaining. */ - public Builder setGrantType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGrantType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } grantType_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Optional.
      * 
* * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearGrantType() { @@ -1594,17 +1765,21 @@ public Builder clearGrantType() { return this; } /** + * + * *
      * Optional.
      * 
* * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for grantType to set. * @return This builder for chaining. */ - public Builder setGrantTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGrantTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); grantType_ = value; bitField0_ |= 0x00000020; @@ -1614,18 +1789,20 @@ public Builder setGrantTypeBytes( private java.lang.Object audience_ = ""; /** + * + * *
      * Optional.
      * 
* * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The audience. */ public java.lang.String getAudience() { java.lang.Object ref = audience_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; @@ -1634,20 +1811,21 @@ public java.lang.String getAudience() { } } /** + * + * *
      * Optional.
      * 
* * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for audience. */ - public com.google.protobuf.ByteString - getAudienceBytes() { + public com.google.protobuf.ByteString getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); audience_ = b; return b; } else { @@ -1655,28 +1833,35 @@ public java.lang.String getAudience() { } } /** + * + * *
      * Optional.
      * 
* * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The audience to set. * @return This builder for chaining. */ - public Builder setAudience( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAudience(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } audience_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Optional.
      * 
* * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAudience() { @@ -1686,17 +1871,21 @@ public Builder clearAudience() { return this; } /** + * + * *
      * Optional.
      * 
* * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for audience to set. * @return This builder for chaining. */ - public Builder setAudienceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAudienceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); audience_ = value; bitField0_ |= 0x00000040; @@ -1706,18 +1895,20 @@ public Builder setAudienceBytes( private java.lang.Object scope_ = ""; /** + * + * *
      * Optional.
      * 
* * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The scope. */ public java.lang.String getScope() { java.lang.Object ref = scope_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; @@ -1726,20 +1917,21 @@ public java.lang.String getScope() { } } /** + * + * *
      * Optional.
      * 
* * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for scope. */ - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -1747,28 +1939,35 @@ public java.lang.String getScope() { } } /** + * + * *
      * Optional.
      * 
* * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setScope(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } scope_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * Optional.
      * 
* * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearScope() { @@ -1778,17 +1977,21 @@ public Builder clearScope() { return this; } /** + * + * *
      * Optional.
      * 
* * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for scope to set. * @return This builder for chaining. */ - public Builder setScopeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setScopeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); scope_ = value; bitField0_ |= 0x00000080; @@ -1798,18 +2001,20 @@ public Builder setScopeBytes( private java.lang.Object requestedTokenType_ = ""; /** + * + * *
      * Optional.
      * 
* * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestedTokenType. */ public java.lang.String getRequestedTokenType() { java.lang.Object ref = requestedTokenType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestedTokenType_ = s; return s; @@ -1818,20 +2023,21 @@ public java.lang.String getRequestedTokenType() { } } /** + * + * *
      * Optional.
      * 
* * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestedTokenType. */ - public com.google.protobuf.ByteString - getRequestedTokenTypeBytes() { + public com.google.protobuf.ByteString getRequestedTokenTypeBytes() { java.lang.Object ref = requestedTokenType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestedTokenType_ = b; return b; } else { @@ -1839,28 +2045,35 @@ public java.lang.String getRequestedTokenType() { } } /** + * + * *
      * Optional.
      * 
* * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestedTokenType to set. * @return This builder for chaining. */ - public Builder setRequestedTokenType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestedTokenType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestedTokenType_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * Optional.
      * 
* * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestedTokenType() { @@ -1870,17 +2083,21 @@ public Builder clearRequestedTokenType() { return this; } /** + * + * *
      * Optional.
      * 
* * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestedTokenType to set. * @return This builder for chaining. */ - public Builder setRequestedTokenTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestedTokenTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestedTokenType_ = value; bitField0_ |= 0x00000100; @@ -1890,18 +2107,20 @@ public Builder setRequestedTokenTypeBytes( private java.lang.Object options_ = ""; /** + * + * *
      * Optional.
      * 
* * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The options. */ public java.lang.String getOptions() { java.lang.Object ref = options_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); options_ = s; return s; @@ -1910,20 +2129,21 @@ public java.lang.String getOptions() { } } /** + * + * *
      * Optional.
      * 
* * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for options. */ - public com.google.protobuf.ByteString - getOptionsBytes() { + public com.google.protobuf.ByteString getOptionsBytes() { java.lang.Object ref = options_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); options_ = b; return b; } else { @@ -1931,28 +2151,35 @@ public java.lang.String getOptions() { } } /** + * + * *
      * Optional.
      * 
* * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The options to set. * @return This builder for chaining. */ - public Builder setOptions( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOptions(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } options_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** + * + * *
      * Optional.
      * 
* * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOptions() { @@ -1962,26 +2189,30 @@ public Builder clearOptions() { return this; } /** + * + * *
      * Optional.
      * 
* * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for options to set. * @return This builder for chaining. */ - public Builder setOptionsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOptionsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); options_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1991,41 +2222,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest) - private static final com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest DEFAULT_INSTANCE; + private static final com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest(); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateAzureClusterAgentTokenRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateAzureClusterAgentTokenRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2037,9 +2271,8 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenRequestOrBuilder.java index 6d69a1fd4ca4..ae8d7e43efe1 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenRequestOrBuilder.java @@ -1,209 +1,279 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GenerateAzureClusterAgentTokenRequestOrBuilder extends +public interface GenerateAzureClusterAgentTokenRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required.
    * 
* - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The azureCluster. */ java.lang.String getAzureCluster(); /** + * + * *
    * Required.
    * 
* - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for azureCluster. */ - com.google.protobuf.ByteString - getAzureClusterBytes(); + com.google.protobuf.ByteString getAzureClusterBytes(); /** + * + * *
    * Required.
    * 
* * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The subjectToken. */ java.lang.String getSubjectToken(); /** + * + * *
    * Required.
    * 
* * string subject_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for subjectToken. */ - com.google.protobuf.ByteString - getSubjectTokenBytes(); + com.google.protobuf.ByteString getSubjectTokenBytes(); /** + * + * *
    * Required.
    * 
* * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The subjectTokenType. */ java.lang.String getSubjectTokenType(); /** + * + * *
    * Required.
    * 
* * string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for subjectTokenType. */ - com.google.protobuf.ByteString - getSubjectTokenTypeBytes(); + com.google.protobuf.ByteString getSubjectTokenTypeBytes(); /** + * + * *
    * Required.
    * 
* * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * Required.
    * 
* * string version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * Optional.
    * 
* * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The nodePoolId. */ java.lang.String getNodePoolId(); /** + * + * *
    * Optional.
    * 
* * string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for nodePoolId. */ - com.google.protobuf.ByteString - getNodePoolIdBytes(); + com.google.protobuf.ByteString getNodePoolIdBytes(); /** + * + * *
    * Optional.
    * 
* * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The grantType. */ java.lang.String getGrantType(); /** + * + * *
    * Optional.
    * 
* * string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for grantType. */ - com.google.protobuf.ByteString - getGrantTypeBytes(); + com.google.protobuf.ByteString getGrantTypeBytes(); /** + * + * *
    * Optional.
    * 
* * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The audience. */ java.lang.String getAudience(); /** + * + * *
    * Optional.
    * 
* * string audience = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for audience. */ - com.google.protobuf.ByteString - getAudienceBytes(); + com.google.protobuf.ByteString getAudienceBytes(); /** + * + * *
    * Optional.
    * 
* * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The scope. */ java.lang.String getScope(); /** + * + * *
    * Optional.
    * 
* * string scope = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for scope. */ - com.google.protobuf.ByteString - getScopeBytes(); + com.google.protobuf.ByteString getScopeBytes(); /** + * + * *
    * Optional.
    * 
* * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestedTokenType. */ java.lang.String getRequestedTokenType(); /** + * + * *
    * Optional.
    * 
* * string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestedTokenType. */ - com.google.protobuf.ByteString - getRequestedTokenTypeBytes(); + com.google.protobuf.ByteString getRequestedTokenTypeBytes(); /** + * + * *
    * Optional.
    * 
* * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The options. */ java.lang.String getOptions(); /** + * + * *
    * Optional.
    * 
* * string options = 10 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for options. */ - com.google.protobuf.ByteString - getOptionsBytes(); + com.google.protobuf.ByteString getOptionsBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenResponse.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenResponse.java similarity index 61% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenResponse.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenResponse.java index 38b34c273017..a0188ebeb319 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenResponse.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenResponse.java @@ -1,20 +1,36 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -/** - * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse} - */ -public final class GenerateAzureClusterAgentTokenResponse extends - com.google.protobuf.GeneratedMessageV3 implements +/** Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse} */ +public final class GenerateAzureClusterAgentTokenResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse) GenerateAzureClusterAgentTokenResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GenerateAzureClusterAgentTokenResponse.newBuilder() to construct. - private GenerateAzureClusterAgentTokenResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GenerateAzureClusterAgentTokenResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GenerateAzureClusterAgentTokenResponse() { accessToken_ = ""; tokenType_ = ""; @@ -22,29 +38,32 @@ private GenerateAzureClusterAgentTokenResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GenerateAzureClusterAgentTokenResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse.class, com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse.class, + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse.Builder.class); } public static final int ACCESS_TOKEN_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object accessToken_ = ""; /** * string access_token = 1; + * * @return The accessToken. */ @java.lang.Override @@ -53,8 +72,7 @@ public java.lang.String getAccessToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); accessToken_ = s; return s; @@ -62,16 +80,15 @@ public java.lang.String getAccessToken() { } /** * string access_token = 1; + * * @return The bytes for accessToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getAccessTokenBytes() { + public com.google.protobuf.ByteString getAccessTokenBytes() { java.lang.Object ref = accessToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); accessToken_ = b; return b; } else { @@ -83,6 +100,7 @@ public java.lang.String getAccessToken() { private int expiresIn_ = 0; /** * int32 expires_in = 2; + * * @return The expiresIn. */ @java.lang.Override @@ -91,10 +109,12 @@ public int getExpiresIn() { } public static final int TOKEN_TYPE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object tokenType_ = ""; /** * string token_type = 3; + * * @return The tokenType. */ @java.lang.Override @@ -103,8 +123,7 @@ public java.lang.String getTokenType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tokenType_ = s; return s; @@ -112,16 +131,15 @@ public java.lang.String getTokenType() { } /** * string token_type = 3; + * * @return The bytes for tokenType. */ @java.lang.Override - public com.google.protobuf.ByteString - getTokenTypeBytes() { + public com.google.protobuf.ByteString getTokenTypeBytes() { java.lang.Object ref = tokenType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tokenType_ = b; return b; } else { @@ -130,6 +148,7 @@ public java.lang.String getTokenType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,8 +160,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, accessToken_); } @@ -165,8 +183,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, accessToken_); } if (expiresIn_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, expiresIn_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, expiresIn_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tokenType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, tokenType_); @@ -179,19 +196,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse)) { + if (!(obj + instanceof com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse other = (com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse) obj; + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse other = + (com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse) obj; - if (!getAccessToken() - .equals(other.getAccessToken())) return false; - if (getExpiresIn() - != other.getExpiresIn()) return false; - if (!getTokenType() - .equals(other.getTokenType())) return false; + if (!getAccessToken().equals(other.getAccessToken())) return false; + if (getExpiresIn() != other.getExpiresIn()) return false; + if (!getTokenType().equals(other.getTokenType())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -215,127 +231,131 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse} */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse) com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse.class, com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse.class, + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse.Builder + .class); } - // Construct using com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -347,19 +367,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenResponse_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse getDefaultInstanceForType() { - return com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse.getDefaultInstance(); + public com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse + getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse build() { - com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse result = buildPartial(); + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -368,13 +391,17 @@ public com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse @java.lang.Override public com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse buildPartial() { - com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse result = new com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse result = + new com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse result) { + private void buildPartial0( + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.accessToken_ = accessToken_; @@ -391,46 +418,52 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GenerateAzureCluste public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse)other); + if (other + instanceof com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse) { + return mergeFrom( + (com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse other) { - if (other == com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse other) { + if (other + == com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse + .getDefaultInstance()) return this; if (!other.getAccessToken().isEmpty()) { accessToken_ = other.accessToken_; bitField0_ |= 0x00000001; @@ -470,27 +503,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - accessToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - expiresIn_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - tokenType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + accessToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + expiresIn_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + tokenType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -500,18 +537,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object accessToken_ = ""; /** * string access_token = 1; + * * @return The accessToken. */ public java.lang.String getAccessToken() { java.lang.Object ref = accessToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); accessToken_ = s; return s; @@ -521,15 +559,14 @@ public java.lang.String getAccessToken() { } /** * string access_token = 1; + * * @return The bytes for accessToken. */ - public com.google.protobuf.ByteString - getAccessTokenBytes() { + public com.google.protobuf.ByteString getAccessTokenBytes() { java.lang.Object ref = accessToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); accessToken_ = b; return b; } else { @@ -538,12 +575,14 @@ public java.lang.String getAccessToken() { } /** * string access_token = 1; + * * @param value The accessToken to set. * @return This builder for chaining. */ - public Builder setAccessToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAccessToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } accessToken_ = value; bitField0_ |= 0x00000001; onChanged(); @@ -551,6 +590,7 @@ public Builder setAccessToken( } /** * string access_token = 1; + * * @return This builder for chaining. */ public Builder clearAccessToken() { @@ -561,12 +601,14 @@ public Builder clearAccessToken() { } /** * string access_token = 1; + * * @param value The bytes for accessToken to set. * @return This builder for chaining. */ - public Builder setAccessTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAccessTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); accessToken_ = value; bitField0_ |= 0x00000001; @@ -574,9 +616,10 @@ public Builder setAccessTokenBytes( return this; } - private int expiresIn_ ; + private int expiresIn_; /** * int32 expires_in = 2; + * * @return The expiresIn. */ @java.lang.Override @@ -585,6 +628,7 @@ public int getExpiresIn() { } /** * int32 expires_in = 2; + * * @param value The expiresIn to set. * @return This builder for chaining. */ @@ -597,6 +641,7 @@ public Builder setExpiresIn(int value) { } /** * int32 expires_in = 2; + * * @return This builder for chaining. */ public Builder clearExpiresIn() { @@ -609,13 +654,13 @@ public Builder clearExpiresIn() { private java.lang.Object tokenType_ = ""; /** * string token_type = 3; + * * @return The tokenType. */ public java.lang.String getTokenType() { java.lang.Object ref = tokenType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tokenType_ = s; return s; @@ -625,15 +670,14 @@ public java.lang.String getTokenType() { } /** * string token_type = 3; + * * @return The bytes for tokenType. */ - public com.google.protobuf.ByteString - getTokenTypeBytes() { + public com.google.protobuf.ByteString getTokenTypeBytes() { java.lang.Object ref = tokenType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tokenType_ = b; return b; } else { @@ -642,12 +686,14 @@ public java.lang.String getTokenType() { } /** * string token_type = 3; + * * @param value The tokenType to set. * @return This builder for chaining. */ - public Builder setTokenType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTokenType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tokenType_ = value; bitField0_ |= 0x00000004; onChanged(); @@ -655,6 +701,7 @@ public Builder setTokenType( } /** * string token_type = 3; + * * @return This builder for chaining. */ public Builder clearTokenType() { @@ -665,21 +712,23 @@ public Builder clearTokenType() { } /** * string token_type = 3; + * * @param value The bytes for tokenType to set. * @return This builder for chaining. */ - public Builder setTokenTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTokenTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tokenType_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -689,41 +738,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse) - private static final com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse DEFAULT_INSTANCE; + private static final com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse(); + DEFAULT_INSTANCE = + new com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse(); } - public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateAzureClusterAgentTokenResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateAzureClusterAgentTokenResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -735,9 +787,8 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenResponseOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenResponseOrBuilder.java similarity index 55% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenResponseOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenResponseOrBuilder.java index 1243f81e2687..874942ec57d4 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenResponseOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAzureClusterAgentTokenResponseOrBuilder.java @@ -1,39 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GenerateAzureClusterAgentTokenResponseOrBuilder extends +public interface GenerateAzureClusterAgentTokenResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse) com.google.protobuf.MessageOrBuilder { /** * string access_token = 1; + * * @return The accessToken. */ java.lang.String getAccessToken(); /** * string access_token = 1; + * * @return The bytes for accessToken. */ - com.google.protobuf.ByteString - getAccessTokenBytes(); + com.google.protobuf.ByteString getAccessTokenBytes(); /** * int32 expires_in = 2; + * * @return The expiresIn. */ int getExpiresIn(); /** * string token_type = 3; + * * @return The tokenType. */ java.lang.String getTokenType(); /** * string token_type = 3; + * * @return The bytes for tokenType. */ - com.google.protobuf.ByteString - getTokenTypeBytes(); + com.google.protobuf.ByteString getTokenTypeBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequest.java similarity index 67% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequest.java index e4d301539ed2..0bb43facdcc1 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequest.java @@ -1,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Request message for `AttachedClusters.GetAttachedCluster` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAttachedClusterRequest} */ -public final class GetAttachedClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetAttachedClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GetAttachedClusterRequest) GetAttachedClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetAttachedClusterRequest.newBuilder() to construct. private GetAttachedClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetAttachedClusterRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetAttachedClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAttachedClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAttachedClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAttachedClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAttachedClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest.class, com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest.class, + com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -59,7 +81,10 @@ protected java.lang.Object newInstance(
    * for more details on Google Cloud Platform resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -68,14 +93,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -88,17 +114,18 @@ public java.lang.String getName() {
    * for more details on Google Cloud Platform resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -107,6 +134,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -118,8 +146,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -143,15 +170,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest other = (com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest) obj; + com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest other = + (com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -171,131 +198,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AttachedClusters.GetAttachedCluster` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAttachedClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GetAttachedClusterRequest) com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAttachedClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAttachedClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAttachedClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAttachedClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest.class, com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest.class, + com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -305,9 +337,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAttachedClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAttachedClusterRequest_descriptor; } @java.lang.Override @@ -326,8 +358,11 @@ public com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest result = new com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest result = + new com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -343,38 +378,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GetAttachedClusterR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -382,7 +418,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -414,17 +451,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -434,10 +473,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -450,14 +492,16 @@ public Builder mergeFrom(
      * for more details on Google Cloud Platform resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -466,6 +510,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -478,16 +524,17 @@ public java.lang.String getName() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -495,6 +542,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -507,19 +556,25 @@ public java.lang.String getName() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -532,7 +587,10 @@ public Builder setName(
      * for more details on Google Cloud Platform resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -542,6 +600,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -554,22 +614,26 @@ public Builder clearName() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -579,12 +643,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GetAttachedClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GetAttachedClusterRequest) private static final com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest(); } @@ -593,27 +657,27 @@ public static com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAttachedClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAttachedClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -628,6 +692,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequestOrBuilder.java similarity index 57% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequestOrBuilder.java index b609cfa3960f..5f5883065579 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GetAttachedClusterRequestOrBuilder extends +public interface GetAttachedClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GetAttachedClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -20,11 +38,16 @@ public interface GetAttachedClusterRequestOrBuilder extends
    * for more details on Google Cloud Platform resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -37,9 +60,11 @@ public interface GetAttachedClusterRequestOrBuilder extends
    * for more details on Google Cloud Platform resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedServerConfigRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedServerConfigRequest.java similarity index 64% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedServerConfigRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedServerConfigRequest.java index 8182f61de2f9..57d9784c4225 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedServerConfigRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedServerConfigRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * GetAttachedServerConfigRequest gets the server config for attached
  * clusters.
@@ -11,43 +28,49 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest}
  */
-public final class GetAttachedServerConfigRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GetAttachedServerConfigRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest)
     GetAttachedServerConfigRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GetAttachedServerConfigRequest.newBuilder() to construct.
-  private GetAttachedServerConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GetAttachedServerConfigRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GetAttachedServerConfigRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetAttachedServerConfigRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAttachedServerConfigRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AttachedServiceProto
+        .internal_static_google_cloud_gkemulticloud_v1_GetAttachedServerConfigRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAttachedServerConfigRequest_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AttachedServiceProto
+        .internal_static_google_cloud_gkemulticloud_v1_GetAttachedServerConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest.class, com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest.Builder.class);
+            com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest.class,
+            com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the
    * [AttachedServerConfig][google.cloud.gkemulticloud.v1.AttachedServerConfig]
@@ -60,7 +83,10 @@ protected java.lang.Object newInstance(
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -69,14 +95,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the
    * [AttachedServerConfig][google.cloud.gkemulticloud.v1.AttachedServerConfig]
@@ -89,17 +116,18 @@ public java.lang.String getName() {
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -108,6 +136,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -119,8 +148,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -144,15 +172,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest other = (com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest) obj; + com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest other = + (com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -172,98 +200,104 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * GetAttachedServerConfigRequest gets the server config for attached
    * clusters.
@@ -271,33 +305,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest)
       com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAttachedServerConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AttachedServiceProto
+          .internal_static_google_cloud_gkemulticloud_v1_GetAttachedServerConfigRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAttachedServerConfigRequest_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AttachedServiceProto
+          .internal_static_google_cloud_gkemulticloud_v1_GetAttachedServerConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest.class, com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest.Builder.class);
+              com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest.class,
+              com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -307,13 +340,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAttachedServerConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AttachedServiceProto
+          .internal_static_google_cloud_gkemulticloud_v1_GetAttachedServerConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest getDefaultInstanceForType() {
+    public com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest.getDefaultInstance();
     }
 
@@ -328,13 +362,17 @@ public com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest build()
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest buildPartial() {
-      com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest result = new com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest result =
+          new com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest result) {
+    private void buildPartial0(
+        com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -345,46 +383,50 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GetAttachedServerCo
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest)other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest other) {
-      if (other == com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest other) {
+      if (other
+          == com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -416,17 +458,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -436,10 +480,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the
      * [AttachedServerConfig][google.cloud.gkemulticloud.v1.AttachedServerConfig]
@@ -452,14 +499,16 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -468,6 +517,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the
      * [AttachedServerConfig][google.cloud.gkemulticloud.v1.AttachedServerConfig]
@@ -480,16 +531,17 @@ public java.lang.String getName() {
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -497,6 +549,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the
      * [AttachedServerConfig][google.cloud.gkemulticloud.v1.AttachedServerConfig]
@@ -509,19 +563,25 @@ public java.lang.String getName() {
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the
      * [AttachedServerConfig][google.cloud.gkemulticloud.v1.AttachedServerConfig]
@@ -534,7 +594,10 @@ public Builder setName(
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -544,6 +607,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the
      * [AttachedServerConfig][google.cloud.gkemulticloud.v1.AttachedServerConfig]
@@ -556,22 +621,26 @@ public Builder clearName() {
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -581,41 +650,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest) - private static final com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest DEFAULT_INSTANCE; + private static final com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest(); } - public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAttachedServerConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAttachedServerConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -627,9 +698,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedServerConfigRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedServerConfigRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedServerConfigRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedServerConfigRequestOrBuilder.java index 48ec2a488a5d..1a26303138fd 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedServerConfigRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedServerConfigRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GetAttachedServerConfigRequestOrBuilder extends +public interface GetAttachedServerConfigRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the
    * [AttachedServerConfig][google.cloud.gkemulticloud.v1.AttachedServerConfig]
@@ -20,11 +38,16 @@ public interface GetAttachedServerConfigRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the
    * [AttachedServerConfig][google.cloud.gkemulticloud.v1.AttachedServerConfig]
@@ -37,9 +60,11 @@ public interface GetAttachedServerConfigRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequest.java similarity index 65% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequest.java index 89470e56bcee..bf164f40a22a 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequest.java @@ -1,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Request message for `AwsClusters.GetAwsCluster` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAwsClusterRequest} */ -public final class GetAwsClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetAwsClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GetAwsClusterRequest) GetAwsClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetAwsClusterRequest.newBuilder() to construct. private GetAwsClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetAwsClusterRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetAwsClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest.class, com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest.class, + com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -59,7 +81,10 @@ protected java.lang.Object newInstance(
    * for more details on Google Cloud Platform resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -68,14 +93,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -88,17 +114,18 @@ public java.lang.String getName() {
    * for more details on Google Cloud Platform resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -107,6 +134,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -118,8 +146,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -143,15 +170,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest other = (com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest) obj; + com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest other = + (com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -171,131 +198,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AwsClusters.GetAwsCluster` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAwsClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GetAwsClusterRequest) com.google.cloud.gkemulticloud.v1.GetAwsClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest.class, com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest.class, + com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -305,9 +337,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_descriptor; } @java.lang.Override @@ -326,8 +358,11 @@ public com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest result = new com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest result = + new com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -343,38 +378,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GetAwsClusterReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -382,7 +418,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -414,17 +451,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -434,10 +473,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -450,14 +492,16 @@ public Builder mergeFrom(
      * for more details on Google Cloud Platform resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -466,6 +510,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -478,16 +524,17 @@ public java.lang.String getName() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -495,6 +542,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -507,19 +556,25 @@ public java.lang.String getName() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -532,7 +587,10 @@ public Builder setName(
      * for more details on Google Cloud Platform resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -542,6 +600,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -554,22 +614,26 @@ public Builder clearName() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -579,12 +643,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GetAwsClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GetAwsClusterRequest) private static final com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest(); } @@ -593,27 +657,27 @@ public static com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAwsClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAwsClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -628,6 +692,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequestOrBuilder.java index c7d0cbdad561..605bf47a24bd 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GetAwsClusterRequestOrBuilder extends +public interface GetAwsClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GetAwsClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -20,11 +38,16 @@ public interface GetAwsClusterRequestOrBuilder extends
    * for more details on Google Cloud Platform resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to
@@ -37,9 +60,11 @@ public interface GetAwsClusterRequestOrBuilder extends
    * for more details on Google Cloud Platform resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsJsonWebKeysRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsJsonWebKeysRequest.java similarity index 63% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsJsonWebKeysRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsJsonWebKeysRequest.java index 6a5ba4f4f9f9..02144aa81ecf 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsJsonWebKeysRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsJsonWebKeysRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * GetAwsJsonWebKeysRequest gets the public component of the keys used by the
  * cluster to sign token requests. This will be the jwks_uri for the discover
@@ -13,50 +30,58 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest}
  */
-public final class GetAwsJsonWebKeysRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GetAwsJsonWebKeysRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest)
     GetAwsJsonWebKeysRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GetAwsJsonWebKeysRequest.newBuilder() to construct.
   private GetAwsJsonWebKeysRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GetAwsJsonWebKeysRequest() {
     awsCluster_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetAwsJsonWebKeysRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsJsonWebKeysRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AwsServiceProto
+        .internal_static_google_cloud_gkemulticloud_v1_GetAwsJsonWebKeysRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsJsonWebKeysRequest_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AwsServiceProto
+        .internal_static_google_cloud_gkemulticloud_v1_GetAwsJsonWebKeysRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest.class, com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest.Builder.class);
+            com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest.class,
+            com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest.Builder.class);
   }
 
   public static final int AWS_CLUSTER_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object awsCluster_ = "";
   /**
+   *
+   *
    * 
    * Required. The AwsCluster, which owns the JsonWebKeys.
    * Format:
    * projects/{project}/locations/{location}/awsClusters/{cluster}
    * 
* - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The awsCluster. */ @java.lang.Override @@ -65,31 +90,33 @@ public java.lang.String getAwsCluster() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); awsCluster_ = s; return s; } } /** + * + * *
    * Required. The AwsCluster, which owns the JsonWebKeys.
    * Format:
    * projects/{project}/locations/{location}/awsClusters/{cluster}
    * 
* - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for awsCluster. */ @java.lang.Override - public com.google.protobuf.ByteString - getAwsClusterBytes() { + public com.google.protobuf.ByteString getAwsClusterBytes() { java.lang.Object ref = awsCluster_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); awsCluster_ = b; return b; } else { @@ -98,6 +125,7 @@ public java.lang.String getAwsCluster() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsCluster_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, awsCluster_); } @@ -134,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest other = (com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest) obj; + com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest other = + (com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest) obj; - if (!getAwsCluster() - .equals(other.getAwsCluster())) return false; + if (!getAwsCluster().equals(other.getAwsCluster())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,98 +189,104 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * GetAwsJsonWebKeysRequest gets the public component of the keys used by the
    * cluster to sign token requests. This will be the jwks_uri for the discover
@@ -263,33 +296,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest)
       com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsJsonWebKeysRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AwsServiceProto
+          .internal_static_google_cloud_gkemulticloud_v1_GetAwsJsonWebKeysRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsJsonWebKeysRequest_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AwsServiceProto
+          .internal_static_google_cloud_gkemulticloud_v1_GetAwsJsonWebKeysRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest.class, com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest.Builder.class);
+              com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest.class,
+              com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -299,9 +331,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsJsonWebKeysRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AwsServiceProto
+          .internal_static_google_cloud_gkemulticloud_v1_GetAwsJsonWebKeysRequest_descriptor;
     }
 
     @java.lang.Override
@@ -320,8 +352,11 @@ public com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest buildPartial() {
-      com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest result = new com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest result =
+          new com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -337,38 +372,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRe
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest)other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -376,7 +412,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest other) {
-      if (other == com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest.getDefaultInstance())
+        return this;
       if (!other.getAwsCluster().isEmpty()) {
         awsCluster_ = other.awsCluster_;
         bitField0_ |= 0x00000001;
@@ -408,17 +445,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              awsCluster_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                awsCluster_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -428,24 +467,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object awsCluster_ = "";
     /**
+     *
+     *
      * 
      * Required. The AwsCluster, which owns the JsonWebKeys.
      * Format:
      * projects/{project}/locations/{location}/awsClusters/{cluster}
      * 
* - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The awsCluster. */ public java.lang.String getAwsCluster() { java.lang.Object ref = awsCluster_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); awsCluster_ = s; return s; @@ -454,22 +498,25 @@ public java.lang.String getAwsCluster() { } } /** + * + * *
      * Required. The AwsCluster, which owns the JsonWebKeys.
      * Format:
      * projects/{project}/locations/{location}/awsClusters/{cluster}
      * 
* - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for awsCluster. */ - public com.google.protobuf.ByteString - getAwsClusterBytes() { + public com.google.protobuf.ByteString getAwsClusterBytes() { java.lang.Object ref = awsCluster_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); awsCluster_ = b; return b; } else { @@ -477,32 +524,43 @@ public java.lang.String getAwsCluster() { } } /** + * + * *
      * Required. The AwsCluster, which owns the JsonWebKeys.
      * Format:
      * projects/{project}/locations/{location}/awsClusters/{cluster}
      * 
* - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The awsCluster to set. * @return This builder for chaining. */ - public Builder setAwsCluster( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAwsCluster(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } awsCluster_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The AwsCluster, which owns the JsonWebKeys.
      * Format:
      * projects/{project}/locations/{location}/awsClusters/{cluster}
      * 
* - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearAwsCluster() { @@ -512,28 +570,34 @@ public Builder clearAwsCluster() { return this; } /** + * + * *
      * Required. The AwsCluster, which owns the JsonWebKeys.
      * Format:
      * projects/{project}/locations/{location}/awsClusters/{cluster}
      * 
* - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for awsCluster to set. * @return This builder for chaining. */ - public Builder setAwsClusterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAwsClusterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); awsCluster_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -543,12 +607,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest) private static final com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest(); } @@ -557,27 +621,27 @@ public static com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAwsJsonWebKeysRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAwsJsonWebKeysRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -592,6 +656,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsJsonWebKeysRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsJsonWebKeysRequestOrBuilder.java new file mode 100644 index 000000000000..727a2ab7650c --- /dev/null +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsJsonWebKeysRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_service.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface GetAwsJsonWebKeysRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The AwsCluster, which owns the JsonWebKeys.
+   * Format:
+   * projects/{project}/locations/{location}/awsClusters/{cluster}
+   * 
+ * + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The awsCluster. + */ + java.lang.String getAwsCluster(); + /** + * + * + *
+   * Required. The AwsCluster, which owns the JsonWebKeys.
+   * Format:
+   * projects/{project}/locations/{location}/awsClusters/{cluster}
+   * 
+ * + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for awsCluster. + */ + com.google.protobuf.ByteString getAwsClusterBytes(); +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequest.java similarity index 65% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequest.java index 85eca00d5ad1..d04b9af92246 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequest.java @@ -1,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Request message for `AwsClusters.GetAwsNodePool` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest} */ -public final class GetAwsNodePoolRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetAwsNodePoolRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest) GetAwsNodePoolRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetAwsNodePoolRequest.newBuilder() to construct. private GetAwsNodePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetAwsNodePoolRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetAwsNodePoolRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest.class, com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest.class, + com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
@@ -59,7 +81,10 @@ protected java.lang.Object newInstance(
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -68,14 +93,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
@@ -88,17 +114,18 @@ public java.lang.String getName() {
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -107,6 +134,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -118,8 +146,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -143,15 +170,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest other = (com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest) obj; + com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest other = + (com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -171,131 +198,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AwsClusters.GetAwsNodePool` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest) com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest.class, com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest.class, + com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -305,9 +337,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_descriptor; } @java.lang.Override @@ -326,8 +358,11 @@ public com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest result = new com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest result = + new com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -343,38 +378,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GetAwsNodePoolReque public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest) other); } else { super.mergeFrom(other); return this; @@ -382,7 +418,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -414,17 +451,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -434,10 +473,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
@@ -450,14 +492,16 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -466,6 +510,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
@@ -478,16 +524,17 @@ public java.lang.String getName() {
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -495,6 +542,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
@@ -507,19 +556,25 @@ public java.lang.String getName() {
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
@@ -532,7 +587,10 @@ public Builder setName(
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -542,6 +600,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
@@ -554,22 +614,26 @@ public Builder clearName() {
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -579,12 +643,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest) private static final com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest(); } @@ -593,27 +657,27 @@ public static com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAwsNodePoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAwsNodePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -628,6 +692,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequestOrBuilder.java similarity index 57% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequestOrBuilder.java index 98976400c46f..6b1c1c962612 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsNodePoolRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GetAwsNodePoolRequestOrBuilder extends +public interface GetAwsNodePoolRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
@@ -20,11 +38,16 @@ public interface GetAwsNodePoolRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
@@ -37,9 +60,11 @@ public interface GetAwsNodePoolRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsOpenIdConfigRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsOpenIdConfigRequest.java similarity index 63% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsOpenIdConfigRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsOpenIdConfigRequest.java index d896050a7968..1567c5b2f61a 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsOpenIdConfigRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsOpenIdConfigRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * GetAwsOpenIdConfigRequest gets the OIDC discovery document for the
  * cluster. See the OpenID Connect Discovery 1.0 specification for details.
@@ -11,50 +28,58 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest}
  */
-public final class GetAwsOpenIdConfigRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GetAwsOpenIdConfigRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest)
     GetAwsOpenIdConfigRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GetAwsOpenIdConfigRequest.newBuilder() to construct.
   private GetAwsOpenIdConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GetAwsOpenIdConfigRequest() {
     awsCluster_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetAwsOpenIdConfigRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsOpenIdConfigRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AwsServiceProto
+        .internal_static_google_cloud_gkemulticloud_v1_GetAwsOpenIdConfigRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsOpenIdConfigRequest_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AwsServiceProto
+        .internal_static_google_cloud_gkemulticloud_v1_GetAwsOpenIdConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest.class, com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest.Builder.class);
+            com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest.class,
+            com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest.Builder.class);
   }
 
   public static final int AWS_CLUSTER_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object awsCluster_ = "";
   /**
+   *
+   *
    * 
    * Required. The AwsCluster, which owns the OIDC discovery document.
    * Format:
    * projects/{project}/locations/{location}/awsClusters/{cluster}
    * 
* - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The awsCluster. */ @java.lang.Override @@ -63,31 +88,33 @@ public java.lang.String getAwsCluster() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); awsCluster_ = s; return s; } } /** + * + * *
    * Required. The AwsCluster, which owns the OIDC discovery document.
    * Format:
    * projects/{project}/locations/{location}/awsClusters/{cluster}
    * 
* - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for awsCluster. */ @java.lang.Override - public com.google.protobuf.ByteString - getAwsClusterBytes() { + public com.google.protobuf.ByteString getAwsClusterBytes() { java.lang.Object ref = awsCluster_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); awsCluster_ = b; return b; } else { @@ -96,6 +123,7 @@ public java.lang.String getAwsCluster() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsCluster_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, awsCluster_); } @@ -132,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest other = (com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest) obj; + com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest other = + (com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest) obj; - if (!getAwsCluster() - .equals(other.getAwsCluster())) return false; + if (!getAwsCluster().equals(other.getAwsCluster())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,98 +187,104 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * GetAwsOpenIdConfigRequest gets the OIDC discovery document for the
    * cluster. See the OpenID Connect Discovery 1.0 specification for details.
@@ -259,33 +292,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest)
       com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsOpenIdConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AwsServiceProto
+          .internal_static_google_cloud_gkemulticloud_v1_GetAwsOpenIdConfigRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsOpenIdConfigRequest_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AwsServiceProto
+          .internal_static_google_cloud_gkemulticloud_v1_GetAwsOpenIdConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest.class, com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest.Builder.class);
+              com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest.class,
+              com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -295,9 +327,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsOpenIdConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AwsServiceProto
+          .internal_static_google_cloud_gkemulticloud_v1_GetAwsOpenIdConfigRequest_descriptor;
     }
 
     @java.lang.Override
@@ -316,8 +348,11 @@ public com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest buildPartial() {
-      com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest result = new com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest result =
+          new com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -333,38 +368,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigR
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest)other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -372,7 +408,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest other) {
-      if (other == com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest.getDefaultInstance())
+        return this;
       if (!other.getAwsCluster().isEmpty()) {
         awsCluster_ = other.awsCluster_;
         bitField0_ |= 0x00000001;
@@ -404,17 +441,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              awsCluster_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                awsCluster_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -424,24 +463,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object awsCluster_ = "";
     /**
+     *
+     *
      * 
      * Required. The AwsCluster, which owns the OIDC discovery document.
      * Format:
      * projects/{project}/locations/{location}/awsClusters/{cluster}
      * 
* - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The awsCluster. */ public java.lang.String getAwsCluster() { java.lang.Object ref = awsCluster_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); awsCluster_ = s; return s; @@ -450,22 +494,25 @@ public java.lang.String getAwsCluster() { } } /** + * + * *
      * Required. The AwsCluster, which owns the OIDC discovery document.
      * Format:
      * projects/{project}/locations/{location}/awsClusters/{cluster}
      * 
* - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for awsCluster. */ - public com.google.protobuf.ByteString - getAwsClusterBytes() { + public com.google.protobuf.ByteString getAwsClusterBytes() { java.lang.Object ref = awsCluster_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); awsCluster_ = b; return b; } else { @@ -473,32 +520,43 @@ public java.lang.String getAwsCluster() { } } /** + * + * *
      * Required. The AwsCluster, which owns the OIDC discovery document.
      * Format:
      * projects/{project}/locations/{location}/awsClusters/{cluster}
      * 
* - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The awsCluster to set. * @return This builder for chaining. */ - public Builder setAwsCluster( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAwsCluster(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } awsCluster_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The AwsCluster, which owns the OIDC discovery document.
      * Format:
      * projects/{project}/locations/{location}/awsClusters/{cluster}
      * 
* - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearAwsCluster() { @@ -508,28 +566,34 @@ public Builder clearAwsCluster() { return this; } /** + * + * *
      * Required. The AwsCluster, which owns the OIDC discovery document.
      * Format:
      * projects/{project}/locations/{location}/awsClusters/{cluster}
      * 
* - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for awsCluster to set. * @return This builder for chaining. */ - public Builder setAwsClusterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAwsClusterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); awsCluster_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -539,12 +603,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest) private static final com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest(); } @@ -553,27 +617,27 @@ public static com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAwsOpenIdConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAwsOpenIdConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -588,6 +652,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsOpenIdConfigRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsOpenIdConfigRequestOrBuilder.java new file mode 100644 index 000000000000..47cb42d7f9ec --- /dev/null +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsOpenIdConfigRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_service.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface GetAwsOpenIdConfigRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The AwsCluster, which owns the OIDC discovery document.
+   * Format:
+   * projects/{project}/locations/{location}/awsClusters/{cluster}
+   * 
+ * + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The awsCluster. + */ + java.lang.String getAwsCluster(); + /** + * + * + *
+   * Required. The AwsCluster, which owns the OIDC discovery document.
+   * Format:
+   * projects/{project}/locations/{location}/awsClusters/{cluster}
+   * 
+ * + * + * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for awsCluster. + */ + com.google.protobuf.ByteString getAwsClusterBytes(); +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequest.java similarity index 65% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequest.java index 20fb30d89b8d..d5643620799b 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequest.java @@ -1,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * GetAwsServerConfigRequest gets the server config of GKE cluster on AWS.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest} */ -public final class GetAwsServerConfigRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetAwsServerConfigRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest) GetAwsServerConfigRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetAwsServerConfigRequest.newBuilder() to construct. private GetAwsServerConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetAwsServerConfigRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetAwsServerConfigRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest.class, com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest.class, + com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the
    * [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource
@@ -59,7 +81,10 @@ protected java.lang.Object newInstance(
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -68,14 +93,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the
    * [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource
@@ -88,17 +114,18 @@ public java.lang.String getName() {
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -107,6 +134,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -118,8 +146,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -143,15 +170,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest other = (com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest) obj; + com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest other = + (com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -171,131 +198,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * GetAwsServerConfigRequest gets the server config of GKE cluster on AWS.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest) com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest.class, com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest.class, + com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -305,9 +337,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_descriptor; } @java.lang.Override @@ -326,8 +358,11 @@ public com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest result = new com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest result = + new com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -343,38 +378,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GetAwsServerConfigR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest) other); } else { super.mergeFrom(other); return this; @@ -382,7 +418,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -414,17 +451,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -434,10 +473,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the
      * [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource
@@ -450,14 +492,16 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -466,6 +510,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the
      * [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource
@@ -478,16 +524,17 @@ public java.lang.String getName() {
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -495,6 +542,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the
      * [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource
@@ -507,19 +556,25 @@ public java.lang.String getName() {
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the
      * [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource
@@ -532,7 +587,10 @@ public Builder setName(
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -542,6 +600,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the
      * [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource
@@ -554,22 +614,26 @@ public Builder clearName() {
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -579,12 +643,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest) private static final com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest(); } @@ -593,27 +657,27 @@ public static com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAwsServerConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAwsServerConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -628,6 +692,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequestOrBuilder.java index 244e86414828..29a79683814e 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsServerConfigRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GetAwsServerConfigRequestOrBuilder extends +public interface GetAwsServerConfigRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the
    * [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource
@@ -20,11 +38,16 @@ public interface GetAwsServerConfigRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the
    * [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource
@@ -37,9 +60,11 @@ public interface GetAwsServerConfigRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequest.java similarity index 66% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequest.java index 8fc58d95b29c..628fb37f2d8e 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequest.java @@ -1,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Request message for `AzureClusters.GetAzureClient` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAzureClientRequest} */ -public final class GetAzureClientRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetAzureClientRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GetAzureClientRequest) GetAzureClientRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetAzureClientRequest.newBuilder() to construct. private GetAzureClientRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetAzureClientRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetAzureClientRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GetAzureClientRequest.class, com.google.cloud.gkemulticloud.v1.GetAzureClientRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GetAzureClientRequest.class, + com.google.cloud.gkemulticloud.v1.GetAzureClientRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to
@@ -60,7 +82,10 @@ protected java.lang.Object newInstance(
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -69,14 +94,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to
@@ -90,17 +116,18 @@ public java.lang.String getName() {
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -109,6 +136,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -120,8 +148,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -145,15 +172,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GetAzureClientRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GetAzureClientRequest other = (com.google.cloud.gkemulticloud.v1.GetAzureClientRequest) obj; + com.google.cloud.gkemulticloud.v1.GetAzureClientRequest other = + (com.google.cloud.gkemulticloud.v1.GetAzureClientRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -173,131 +200,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GetAzureClientRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAzureClientRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAzureClientRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAzureClientRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAzureClientRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAzureClientRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAzureClientRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.GetAzureClientRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GetAzureClientRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAzureClientRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GetAzureClientRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.GetAzureClientRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAzureClientRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GetAzureClientRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GetAzureClientRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.GetAzureClientRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AzureClusters.GetAzureClient` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAzureClientRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GetAzureClientRequest) com.google.cloud.gkemulticloud.v1.GetAzureClientRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GetAzureClientRequest.class, com.google.cloud.gkemulticloud.v1.GetAzureClientRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GetAzureClientRequest.class, + com.google.cloud.gkemulticloud.v1.GetAzureClientRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.GetAzureClientRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -307,9 +339,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_descriptor; } @java.lang.Override @@ -328,8 +360,11 @@ public com.google.cloud.gkemulticloud.v1.GetAzureClientRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.GetAzureClientRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.GetAzureClientRequest result = new com.google.cloud.gkemulticloud.v1.GetAzureClientRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.GetAzureClientRequest result = + new com.google.cloud.gkemulticloud.v1.GetAzureClientRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -345,38 +380,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GetAzureClientReque public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.GetAzureClientRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAzureClientRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAzureClientRequest) other); } else { super.mergeFrom(other); return this; @@ -384,7 +420,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GetAzureClientRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.GetAzureClientRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.GetAzureClientRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -416,17 +453,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -436,10 +475,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to
@@ -453,14 +495,16 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -469,6 +513,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to
@@ -482,16 +528,17 @@ public java.lang.String getName() {
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -499,6 +546,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to
@@ -512,19 +561,25 @@ public java.lang.String getName() {
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to
@@ -538,7 +593,10 @@ public Builder setName(
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -548,6 +606,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to
@@ -561,22 +621,26 @@ public Builder clearName() {
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -586,12 +650,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GetAzureClientRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GetAzureClientRequest) private static final com.google.cloud.gkemulticloud.v1.GetAzureClientRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GetAzureClientRequest(); } @@ -600,27 +664,27 @@ public static com.google.cloud.gkemulticloud.v1.GetAzureClientRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAzureClientRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAzureClientRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -635,6 +699,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.GetAzureClientRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequestOrBuilder.java similarity index 57% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequestOrBuilder.java index f342966f7405..82396b68f34d 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClientRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GetAzureClientRequestOrBuilder extends +public interface GetAzureClientRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GetAzureClientRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to
@@ -21,11 +39,16 @@ public interface GetAzureClientRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to
@@ -39,9 +62,11 @@ public interface GetAzureClientRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequest.java similarity index 66% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequest.java index f3919437f194..f8850295179b 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequest.java @@ -1,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Request message for `AzureClusters.GetAzureCluster` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAzureClusterRequest} */ -public final class GetAzureClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetAzureClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GetAzureClusterRequest) GetAzureClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetAzureClusterRequest.newBuilder() to construct. private GetAzureClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetAzureClusterRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetAzureClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest.class, com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest.class, + com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
@@ -59,7 +81,10 @@ protected java.lang.Object newInstance(
    * for more details on Google Cloud Platform resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -68,14 +93,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
@@ -88,17 +114,18 @@ public java.lang.String getName() {
    * for more details on Google Cloud Platform resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -107,6 +134,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -118,8 +146,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -143,15 +170,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest other = (com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest) obj; + com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest other = + (com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -171,131 +198,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AzureClusters.GetAzureCluster` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAzureClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GetAzureClusterRequest) com.google.cloud.gkemulticloud.v1.GetAzureClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest.class, com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest.class, + com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -305,9 +337,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_descriptor; } @java.lang.Override @@ -326,8 +358,11 @@ public com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest result = new com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest result = + new com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -343,38 +378,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GetAzureClusterRequ public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -382,7 +418,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -414,17 +451,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -434,10 +473,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
@@ -450,14 +492,16 @@ public Builder mergeFrom(
      * for more details on Google Cloud Platform resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -466,6 +510,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
@@ -478,16 +524,17 @@ public java.lang.String getName() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -495,6 +542,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
@@ -507,19 +556,25 @@ public java.lang.String getName() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
@@ -532,7 +587,10 @@ public Builder setName(
      * for more details on Google Cloud Platform resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -542,6 +600,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
@@ -554,22 +614,26 @@ public Builder clearName() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -579,12 +643,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GetAzureClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GetAzureClusterRequest) private static final com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest(); } @@ -593,27 +657,27 @@ public static com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAzureClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAzureClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -628,6 +692,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequestOrBuilder.java index 361086b98e13..846d731ea886 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GetAzureClusterRequestOrBuilder extends +public interface GetAzureClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GetAzureClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
@@ -20,11 +38,16 @@ public interface GetAzureClusterRequestOrBuilder extends
    * for more details on Google Cloud Platform resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to
@@ -37,9 +60,11 @@ public interface GetAzureClusterRequestOrBuilder extends
    * for more details on Google Cloud Platform resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureJsonWebKeysRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureJsonWebKeysRequest.java similarity index 63% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureJsonWebKeysRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureJsonWebKeysRequest.java index ab0f2946589f..41219ae03ec9 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureJsonWebKeysRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureJsonWebKeysRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * GetAzureJsonWebKeysRequest gets the public component of the keys used by the
  * cluster to sign token requests. This will be the jwks_uri for the discover
@@ -13,50 +30,58 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest}
  */
-public final class GetAzureJsonWebKeysRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GetAzureJsonWebKeysRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest)
     GetAzureJsonWebKeysRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GetAzureJsonWebKeysRequest.newBuilder() to construct.
   private GetAzureJsonWebKeysRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GetAzureJsonWebKeysRequest() {
     azureCluster_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetAzureJsonWebKeysRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureJsonWebKeysRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AzureServiceProto
+        .internal_static_google_cloud_gkemulticloud_v1_GetAzureJsonWebKeysRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureJsonWebKeysRequest_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AzureServiceProto
+        .internal_static_google_cloud_gkemulticloud_v1_GetAzureJsonWebKeysRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest.class, com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest.Builder.class);
+            com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest.class,
+            com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest.Builder.class);
   }
 
   public static final int AZURE_CLUSTER_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object azureCluster_ = "";
   /**
+   *
+   *
    * 
    * Required. The AzureCluster, which owns the JsonWebKeys.
    * Format:
    * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
    * 
* - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The azureCluster. */ @java.lang.Override @@ -65,31 +90,33 @@ public java.lang.String getAzureCluster() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureCluster_ = s; return s; } } /** + * + * *
    * Required. The AzureCluster, which owns the JsonWebKeys.
    * Format:
    * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
    * 
* - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for azureCluster. */ @java.lang.Override - public com.google.protobuf.ByteString - getAzureClusterBytes() { + public com.google.protobuf.ByteString getAzureClusterBytes() { java.lang.Object ref = azureCluster_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); azureCluster_ = b; return b; } else { @@ -98,6 +125,7 @@ public java.lang.String getAzureCluster() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(azureCluster_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, azureCluster_); } @@ -134,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest other = (com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest) obj; + com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest other = + (com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest) obj; - if (!getAzureCluster() - .equals(other.getAzureCluster())) return false; + if (!getAzureCluster().equals(other.getAzureCluster())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,98 +189,104 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * GetAzureJsonWebKeysRequest gets the public component of the keys used by the
    * cluster to sign token requests. This will be the jwks_uri for the discover
@@ -263,33 +296,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest)
       com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureJsonWebKeysRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AzureServiceProto
+          .internal_static_google_cloud_gkemulticloud_v1_GetAzureJsonWebKeysRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureJsonWebKeysRequest_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AzureServiceProto
+          .internal_static_google_cloud_gkemulticloud_v1_GetAzureJsonWebKeysRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest.class, com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest.Builder.class);
+              com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest.class,
+              com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -299,13 +331,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureJsonWebKeysRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AzureServiceProto
+          .internal_static_google_cloud_gkemulticloud_v1_GetAzureJsonWebKeysRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest getDefaultInstanceForType() {
+    public com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest.getDefaultInstance();
     }
 
@@ -320,13 +353,17 @@ public com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest buildPartial() {
-      com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest result = new com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest result =
+          new com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest result) {
+    private void buildPartial0(
+        com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.azureCluster_ = azureCluster_;
@@ -337,38 +374,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeys
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest)other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -376,7 +414,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest other) {
-      if (other == com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest.getDefaultInstance())
+        return this;
       if (!other.getAzureCluster().isEmpty()) {
         azureCluster_ = other.azureCluster_;
         bitField0_ |= 0x00000001;
@@ -408,17 +448,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              azureCluster_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                azureCluster_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -428,24 +470,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object azureCluster_ = "";
     /**
+     *
+     *
      * 
      * Required. The AzureCluster, which owns the JsonWebKeys.
      * Format:
      * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
      * 
* - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The azureCluster. */ public java.lang.String getAzureCluster() { java.lang.Object ref = azureCluster_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureCluster_ = s; return s; @@ -454,22 +501,25 @@ public java.lang.String getAzureCluster() { } } /** + * + * *
      * Required. The AzureCluster, which owns the JsonWebKeys.
      * Format:
      * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
      * 
* - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for azureCluster. */ - public com.google.protobuf.ByteString - getAzureClusterBytes() { + public com.google.protobuf.ByteString getAzureClusterBytes() { java.lang.Object ref = azureCluster_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); azureCluster_ = b; return b; } else { @@ -477,32 +527,43 @@ public java.lang.String getAzureCluster() { } } /** + * + * *
      * Required. The AzureCluster, which owns the JsonWebKeys.
      * Format:
      * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
      * 
* - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The azureCluster to set. * @return This builder for chaining. */ - public Builder setAzureCluster( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAzureCluster(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } azureCluster_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The AzureCluster, which owns the JsonWebKeys.
      * Format:
      * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
      * 
* - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearAzureCluster() { @@ -512,28 +573,34 @@ public Builder clearAzureCluster() { return this; } /** + * + * *
      * Required. The AzureCluster, which owns the JsonWebKeys.
      * Format:
      * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
      * 
* - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for azureCluster to set. * @return This builder for chaining. */ - public Builder setAzureClusterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAzureClusterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); azureCluster_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -543,12 +610,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest) - private static final com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest DEFAULT_INSTANCE; + private static final com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest(); } @@ -557,27 +625,27 @@ public static com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAzureJsonWebKeysRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAzureJsonWebKeysRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -592,6 +660,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureJsonWebKeysRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureJsonWebKeysRequestOrBuilder.java new file mode 100644 index 000000000000..5855ea9b8535 --- /dev/null +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureJsonWebKeysRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_service.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface GetAzureJsonWebKeysRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The AzureCluster, which owns the JsonWebKeys.
+   * Format:
+   * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
+   * 
+ * + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The azureCluster. + */ + java.lang.String getAzureCluster(); + /** + * + * + *
+   * Required. The AzureCluster, which owns the JsonWebKeys.
+   * Format:
+   * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
+   * 
+ * + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for azureCluster. + */ + com.google.protobuf.ByteString getAzureClusterBytes(); +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequest.java similarity index 66% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequest.java index aa4ebfc69cca..e3ab726212fb 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequest.java @@ -1,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Request message for `AzureClusters.GetAzureNodePool` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest} */ -public final class GetAzureNodePoolRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetAzureNodePoolRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest) GetAzureNodePoolRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetAzureNodePoolRequest.newBuilder() to construct. private GetAzureNodePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetAzureNodePoolRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetAzureNodePoolRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest.class, com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest.class, + com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to
@@ -59,7 +81,10 @@ protected java.lang.Object newInstance(
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -68,14 +93,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to
@@ -88,17 +114,18 @@ public java.lang.String getName() {
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -107,6 +134,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -118,8 +146,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -143,15 +170,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest other = (com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest) obj; + com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest other = + (com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -171,131 +198,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AzureClusters.GetAzureNodePool` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest) com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest.class, com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest.class, + com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -305,9 +337,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_descriptor; } @java.lang.Override @@ -326,8 +358,11 @@ public com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest result = new com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest result = + new com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -343,38 +378,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GetAzureNodePoolReq public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest) other); } else { super.mergeFrom(other); return this; @@ -382,7 +418,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -414,17 +451,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -434,10 +473,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to
@@ -450,14 +492,16 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -466,6 +510,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to
@@ -478,16 +524,17 @@ public java.lang.String getName() {
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -495,6 +542,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to
@@ -507,19 +556,25 @@ public java.lang.String getName() {
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to
@@ -532,7 +587,10 @@ public Builder setName(
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -542,6 +600,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to
@@ -554,22 +614,26 @@ public Builder clearName() {
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -579,12 +643,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest) private static final com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest(); } @@ -593,27 +657,27 @@ public static com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAzureNodePoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAzureNodePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -628,6 +692,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequestOrBuilder.java similarity index 57% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequestOrBuilder.java index 3d89c9abea9e..6a6f9b09a609 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureNodePoolRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GetAzureNodePoolRequestOrBuilder extends +public interface GetAzureNodePoolRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to
@@ -20,11 +38,16 @@ public interface GetAzureNodePoolRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to
@@ -37,9 +60,11 @@ public interface GetAzureNodePoolRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureOpenIdConfigRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureOpenIdConfigRequest.java similarity index 63% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureOpenIdConfigRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureOpenIdConfigRequest.java index c38b5b7cf74d..043eafb36bd1 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureOpenIdConfigRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureOpenIdConfigRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * GetAzureOpenIdConfigRequest gets the OIDC discovery document for the
  * cluster. See the OpenID Connect Discovery 1.0 specification for details.
@@ -11,50 +28,58 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest}
  */
-public final class GetAzureOpenIdConfigRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GetAzureOpenIdConfigRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest)
     GetAzureOpenIdConfigRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GetAzureOpenIdConfigRequest.newBuilder() to construct.
   private GetAzureOpenIdConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GetAzureOpenIdConfigRequest() {
     azureCluster_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetAzureOpenIdConfigRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureOpenIdConfigRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AzureServiceProto
+        .internal_static_google_cloud_gkemulticloud_v1_GetAzureOpenIdConfigRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureOpenIdConfigRequest_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AzureServiceProto
+        .internal_static_google_cloud_gkemulticloud_v1_GetAzureOpenIdConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest.class, com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest.Builder.class);
+            com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest.class,
+            com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest.Builder.class);
   }
 
   public static final int AZURE_CLUSTER_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object azureCluster_ = "";
   /**
+   *
+   *
    * 
    * Required. The AzureCluster, which owns the OIDC discovery document.
    * Format:
    * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
    * 
* - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The azureCluster. */ @java.lang.Override @@ -63,31 +88,33 @@ public java.lang.String getAzureCluster() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureCluster_ = s; return s; } } /** + * + * *
    * Required. The AzureCluster, which owns the OIDC discovery document.
    * Format:
    * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
    * 
* - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for azureCluster. */ @java.lang.Override - public com.google.protobuf.ByteString - getAzureClusterBytes() { + public com.google.protobuf.ByteString getAzureClusterBytes() { java.lang.Object ref = azureCluster_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); azureCluster_ = b; return b; } else { @@ -96,6 +123,7 @@ public java.lang.String getAzureCluster() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(azureCluster_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, azureCluster_); } @@ -132,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest other = (com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest) obj; + com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest other = + (com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest) obj; - if (!getAzureCluster() - .equals(other.getAzureCluster())) return false; + if (!getAzureCluster().equals(other.getAzureCluster())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,98 +187,104 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * GetAzureOpenIdConfigRequest gets the OIDC discovery document for the
    * cluster. See the OpenID Connect Discovery 1.0 specification for details.
@@ -259,33 +292,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest)
       com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureOpenIdConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AzureServiceProto
+          .internal_static_google_cloud_gkemulticloud_v1_GetAzureOpenIdConfigRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureOpenIdConfigRequest_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AzureServiceProto
+          .internal_static_google_cloud_gkemulticloud_v1_GetAzureOpenIdConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest.class, com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest.Builder.class);
+              com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest.class,
+              com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -295,13 +327,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureOpenIdConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AzureServiceProto
+          .internal_static_google_cloud_gkemulticloud_v1_GetAzureOpenIdConfigRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest getDefaultInstanceForType() {
+    public com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest.getDefaultInstance();
     }
 
@@ -316,13 +349,17 @@ public com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest buildPartial() {
-      com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest result = new com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest result =
+          new com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest result) {
+    private void buildPartial0(
+        com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.azureCluster_ = azureCluster_;
@@ -333,38 +370,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfi
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest)other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -372,7 +410,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest other) {
-      if (other == com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest.getDefaultInstance())
+        return this;
       if (!other.getAzureCluster().isEmpty()) {
         azureCluster_ = other.azureCluster_;
         bitField0_ |= 0x00000001;
@@ -404,17 +444,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              azureCluster_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                azureCluster_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -424,24 +466,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object azureCluster_ = "";
     /**
+     *
+     *
      * 
      * Required. The AzureCluster, which owns the OIDC discovery document.
      * Format:
      * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
      * 
* - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The azureCluster. */ public java.lang.String getAzureCluster() { java.lang.Object ref = azureCluster_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureCluster_ = s; return s; @@ -450,22 +497,25 @@ public java.lang.String getAzureCluster() { } } /** + * + * *
      * Required. The AzureCluster, which owns the OIDC discovery document.
      * Format:
      * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
      * 
* - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for azureCluster. */ - public com.google.protobuf.ByteString - getAzureClusterBytes() { + public com.google.protobuf.ByteString getAzureClusterBytes() { java.lang.Object ref = azureCluster_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); azureCluster_ = b; return b; } else { @@ -473,32 +523,43 @@ public java.lang.String getAzureCluster() { } } /** + * + * *
      * Required. The AzureCluster, which owns the OIDC discovery document.
      * Format:
      * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
      * 
* - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The azureCluster to set. * @return This builder for chaining. */ - public Builder setAzureCluster( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAzureCluster(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } azureCluster_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The AzureCluster, which owns the OIDC discovery document.
      * Format:
      * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
      * 
* - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearAzureCluster() { @@ -508,28 +569,34 @@ public Builder clearAzureCluster() { return this; } /** + * + * *
      * Required. The AzureCluster, which owns the OIDC discovery document.
      * Format:
      * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
      * 
* - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for azureCluster to set. * @return This builder for chaining. */ - public Builder setAzureClusterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAzureClusterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); azureCluster_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -539,12 +606,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest) - private static final com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest DEFAULT_INSTANCE; + private static final com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest(); } @@ -553,27 +621,27 @@ public static com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAzureOpenIdConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAzureOpenIdConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -588,6 +656,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureOpenIdConfigRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureOpenIdConfigRequestOrBuilder.java new file mode 100644 index 000000000000..204353653aa1 --- /dev/null +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureOpenIdConfigRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_service.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface GetAzureOpenIdConfigRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The AzureCluster, which owns the OIDC discovery document.
+   * Format:
+   * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
+   * 
+ * + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The azureCluster. + */ + java.lang.String getAzureCluster(); + /** + * + * + *
+   * Required. The AzureCluster, which owns the OIDC discovery document.
+   * Format:
+   * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
+   * 
+ * + * + * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for azureCluster. + */ + com.google.protobuf.ByteString getAzureClusterBytes(); +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequest.java similarity index 65% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequest.java index f5120a3d255b..f8193ac23acf 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequest.java @@ -1,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * GetAzureServerConfigRequest gets the server config of GKE cluster on Azure.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest} */ -public final class GetAzureServerConfigRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetAzureServerConfigRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest) GetAzureServerConfigRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetAzureServerConfigRequest.newBuilder() to construct. private GetAzureServerConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetAzureServerConfigRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetAzureServerConfigRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest.class, com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest.class, + com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the
    * [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig]
@@ -59,7 +81,10 @@ protected java.lang.Object newInstance(
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -68,14 +93,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the
    * [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig]
@@ -88,17 +114,18 @@ public java.lang.String getName() {
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -107,6 +134,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -118,8 +146,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -143,15 +170,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest other = (com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest) obj; + com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest other = + (com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -171,131 +198,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * GetAzureServerConfigRequest gets the server config of GKE cluster on Azure.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest) com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest.class, com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest.class, + com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -305,13 +337,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest + getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest.getDefaultInstance(); } @@ -326,13 +359,17 @@ public com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest result = new com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest result = + new com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest result) { + private void buildPartial0( + com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -343,38 +380,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.GetAzureServerConfi public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest) other); } else { super.mergeFrom(other); return this; @@ -382,7 +420,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -414,17 +454,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -434,10 +476,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the
      * [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig]
@@ -450,14 +495,16 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -466,6 +513,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the
      * [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig]
@@ -478,16 +527,17 @@ public java.lang.String getName() {
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -495,6 +545,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the
      * [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig]
@@ -507,19 +559,25 @@ public java.lang.String getName() {
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the
      * [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig]
@@ -532,7 +590,10 @@ public Builder setName(
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -542,6 +603,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the
      * [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig]
@@ -554,22 +617,26 @@ public Builder clearName() {
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -579,12 +646,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest) - private static final com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest DEFAULT_INSTANCE; + private static final com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest(); } @@ -593,27 +661,27 @@ public static com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAzureServerConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAzureServerConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -628,6 +696,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequestOrBuilder.java index 95e86260d596..9d3715db3496 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureServerConfigRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface GetAzureServerConfigRequestOrBuilder extends +public interface GetAzureServerConfigRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the
    * [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig]
@@ -20,11 +38,16 @@ public interface GetAzureServerConfigRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the
    * [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig]
@@ -37,9 +60,11 @@ public interface GetAzureServerConfigRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ImportAttachedClusterRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ImportAttachedClusterRequest.java similarity index 69% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ImportAttachedClusterRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ImportAttachedClusterRequest.java index 4570ddc66888..4cef1c53397b 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ImportAttachedClusterRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ImportAttachedClusterRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Request message for `AttachedClusters.ImportAttachedCluster` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest} */ -public final class ImportAttachedClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAttachedClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest) ImportAttachedClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAttachedClusterRequest.newBuilder() to construct. private ImportAttachedClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportAttachedClusterRequest() { parent_ = ""; fleetMembership_ = ""; @@ -28,28 +46,32 @@ private ImportAttachedClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAttachedClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_ImportAttachedClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ImportAttachedClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_ImportAttachedClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ImportAttachedClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest.class, com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest.class, + com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent location where this
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -61,7 +83,10 @@ protected java.lang.Object newInstance(
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -70,14 +95,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent location where this
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -89,17 +115,18 @@ public java.lang.String getParent() {
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -110,11 +137,14 @@ public java.lang.String getParent() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; private boolean validateOnly_ = false; /** + * + * *
    * If set, only validate the request, but do not actually import the cluster.
    * 
* * bool validate_only = 2; + * * @return The validateOnly. */ @java.lang.Override @@ -123,14 +153,18 @@ public boolean getValidateOnly() { } public static final int FLEET_MEMBERSHIP_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object fleetMembership_ = ""; /** + * + * *
    * Required. The name of the fleet membership resource to import.
    * 
* * string fleet_membership = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The fleetMembership. */ @java.lang.Override @@ -139,29 +173,29 @@ public java.lang.String getFleetMembership() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fleetMembership_ = s; return s; } } /** + * + * *
    * Required. The name of the fleet membership resource to import.
    * 
* * string fleet_membership = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for fleetMembership. */ @java.lang.Override - public com.google.protobuf.ByteString - getFleetMembershipBytes() { + public com.google.protobuf.ByteString getFleetMembershipBytes() { java.lang.Object ref = fleetMembership_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fleetMembership_ = b; return b; } else { @@ -170,9 +204,12 @@ public java.lang.String getFleetMembership() { } public static final int PLATFORM_VERSION_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object platformVersion_ = ""; /** + * + * *
    * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
    *
@@ -182,6 +219,7 @@ public java.lang.String getFleetMembership() {
    * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The platformVersion. */ @java.lang.Override @@ -190,14 +228,15 @@ public java.lang.String getPlatformVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); platformVersion_ = s; return s; } } /** + * + * *
    * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
    *
@@ -207,16 +246,15 @@ public java.lang.String getPlatformVersion() {
    * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for platformVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getPlatformVersionBytes() { + public com.google.protobuf.ByteString getPlatformVersionBytes() { java.lang.Object ref = platformVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); platformVersion_ = b; return b; } else { @@ -225,9 +263,12 @@ public java.lang.String getPlatformVersion() { } public static final int DISTRIBUTION_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object distribution_ = ""; /** + * + * *
    * Required. The Kubernetes distribution of the underlying attached cluster.
    *
@@ -235,6 +276,7 @@ public java.lang.String getPlatformVersion() {
    * 
* * string distribution = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The distribution. */ @java.lang.Override @@ -243,14 +285,15 @@ public java.lang.String getDistribution() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); distribution_ = s; return s; } } /** + * + * *
    * Required. The Kubernetes distribution of the underlying attached cluster.
    *
@@ -258,16 +301,15 @@ public java.lang.String getDistribution() {
    * 
* * string distribution = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for distribution. */ @java.lang.Override - public com.google.protobuf.ByteString - getDistributionBytes() { + public com.google.protobuf.ByteString getDistributionBytes() { java.lang.Object ref = distribution_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); distribution_ = b; return b; } else { @@ -278,11 +320,16 @@ public java.lang.String getDistribution() { public static final int PROXY_CONFIG_FIELD_NUMBER = 6; private com.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxyConfig_; /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the proxyConfig field is set. */ @java.lang.Override @@ -290,30 +337,44 @@ public boolean hasProxyConfig() { return proxyConfig_ != null; } /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The proxyConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedProxyConfig getProxyConfig() { - return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() : proxyConfig_; + return proxyConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() + : proxyConfig_; } /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder getProxyConfigOrBuilder() { - return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() : proxyConfig_; + return proxyConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() + : proxyConfig_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -325,8 +386,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -358,8 +418,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, validateOnly_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fleetMembership_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, fleetMembership_); @@ -371,8 +430,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, distribution_); } if (proxyConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getProxyConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getProxyConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -382,27 +440,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest other = (com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; - if (!getFleetMembership() - .equals(other.getFleetMembership())) return false; - if (!getPlatformVersion() - .equals(other.getPlatformVersion())) return false; - if (!getDistribution() - .equals(other.getDistribution())) return false; + com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest other = + (com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getFleetMembership().equals(other.getFleetMembership())) return false; + if (!getPlatformVersion().equals(other.getPlatformVersion())) return false; + if (!getDistribution().equals(other.getDistribution())) return false; if (hasProxyConfig() != other.hasProxyConfig()) return false; if (hasProxyConfig()) { - if (!getProxyConfig() - .equals(other.getProxyConfig())) return false; + if (!getProxyConfig().equals(other.getProxyConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -418,8 +471,7 @@ public int hashCode() { hash = (37 * hash) + PARENT_FIELD_NUMBER; hash = (53 * hash) + getParent().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); hash = (37 * hash) + FLEET_MEMBERSHIP_FIELD_NUMBER; hash = (53 * hash) + getFleetMembership().hashCode(); hash = (37 * hash) + PLATFORM_VERSION_FIELD_NUMBER; @@ -436,131 +488,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AttachedClusters.ImportAttachedCluster` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest) com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_ImportAttachedClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ImportAttachedClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_ImportAttachedClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ImportAttachedClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest.class, com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest.class, + com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -579,13 +636,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_ImportAttachedClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ImportAttachedClusterRequest_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest + getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest.getDefaultInstance(); } @@ -600,13 +658,17 @@ public com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest result = new com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest result = + new com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest result) { + private void buildPartial0( + com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -624,9 +686,8 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.ImportAttachedClust result.distribution_ = distribution_; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.proxyConfig_ = proxyConfigBuilder_ == null - ? proxyConfig_ - : proxyConfigBuilder_.build(); + result.proxyConfig_ = + proxyConfigBuilder_ == null ? proxyConfig_ : proxyConfigBuilder_.build(); } } @@ -634,38 +695,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.ImportAttachedClust public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -673,7 +735,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -726,44 +790,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - fleetMembership_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - platformVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - distribution_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - input.readMessage( - getProxyConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + fleetMembership_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + platformVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + distribution_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + input.readMessage(getProxyConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -773,10 +842,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent location where this
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -788,14 +860,16 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -804,6 +878,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location where this
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -815,16 +891,17 @@ public java.lang.String getParent() {
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -832,6 +909,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location where this
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -843,19 +922,25 @@ public java.lang.String getParent() {
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent location where this
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -867,7 +952,10 @@ public Builder setParent(
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -877,6 +965,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent location where this
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -888,13 +978,17 @@ public Builder clearParent() {
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -902,13 +996,16 @@ public Builder setParentBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * If set, only validate the request, but do not actually import the cluster.
      * 
* * bool validate_only = 2; + * * @return The validateOnly. */ @java.lang.Override @@ -916,11 +1013,14 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * If set, only validate the request, but do not actually import the cluster.
      * 
* * bool validate_only = 2; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -932,11 +1032,14 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * If set, only validate the request, but do not actually import the cluster.
      * 
* * bool validate_only = 2; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -948,18 +1051,20 @@ public Builder clearValidateOnly() { private java.lang.Object fleetMembership_ = ""; /** + * + * *
      * Required. The name of the fleet membership resource to import.
      * 
* * string fleet_membership = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The fleetMembership. */ public java.lang.String getFleetMembership() { java.lang.Object ref = fleetMembership_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fleetMembership_ = s; return s; @@ -968,20 +1073,21 @@ public java.lang.String getFleetMembership() { } } /** + * + * *
      * Required. The name of the fleet membership resource to import.
      * 
* * string fleet_membership = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for fleetMembership. */ - public com.google.protobuf.ByteString - getFleetMembershipBytes() { + public com.google.protobuf.ByteString getFleetMembershipBytes() { java.lang.Object ref = fleetMembership_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fleetMembership_ = b; return b; } else { @@ -989,28 +1095,35 @@ public java.lang.String getFleetMembership() { } } /** + * + * *
      * Required. The name of the fleet membership resource to import.
      * 
* * string fleet_membership = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The fleetMembership to set. * @return This builder for chaining. */ - public Builder setFleetMembership( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFleetMembership(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } fleetMembership_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. The name of the fleet membership resource to import.
      * 
* * string fleet_membership = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFleetMembership() { @@ -1020,17 +1133,21 @@ public Builder clearFleetMembership() { return this; } /** + * + * *
      * Required. The name of the fleet membership resource to import.
      * 
* * string fleet_membership = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for fleetMembership to set. * @return This builder for chaining. */ - public Builder setFleetMembershipBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFleetMembershipBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); fleetMembership_ = value; bitField0_ |= 0x00000004; @@ -1040,6 +1157,8 @@ public Builder setFleetMembershipBytes( private java.lang.Object platformVersion_ = ""; /** + * + * *
      * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
      *
@@ -1049,13 +1168,13 @@ public Builder setFleetMembershipBytes(
      * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The platformVersion. */ public java.lang.String getPlatformVersion() { java.lang.Object ref = platformVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); platformVersion_ = s; return s; @@ -1064,6 +1183,8 @@ public java.lang.String getPlatformVersion() { } } /** + * + * *
      * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
      *
@@ -1073,15 +1194,14 @@ public java.lang.String getPlatformVersion() {
      * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for platformVersion. */ - public com.google.protobuf.ByteString - getPlatformVersionBytes() { + public com.google.protobuf.ByteString getPlatformVersionBytes() { java.lang.Object ref = platformVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); platformVersion_ = b; return b; } else { @@ -1089,6 +1209,8 @@ public java.lang.String getPlatformVersion() { } } /** + * + * *
      * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
      *
@@ -1098,18 +1220,22 @@ public java.lang.String getPlatformVersion() {
      * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The platformVersion to set. * @return This builder for chaining. */ - public Builder setPlatformVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPlatformVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } platformVersion_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
      *
@@ -1119,6 +1245,7 @@ public Builder setPlatformVersion(
      * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPlatformVersion() { @@ -1128,6 +1255,8 @@ public Builder clearPlatformVersion() { return this; } /** + * + * *
      * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
      *
@@ -1137,12 +1266,14 @@ public Builder clearPlatformVersion() {
      * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for platformVersion to set. * @return This builder for chaining. */ - public Builder setPlatformVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPlatformVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); platformVersion_ = value; bitField0_ |= 0x00000008; @@ -1152,6 +1283,8 @@ public Builder setPlatformVersionBytes( private java.lang.Object distribution_ = ""; /** + * + * *
      * Required. The Kubernetes distribution of the underlying attached cluster.
      *
@@ -1159,13 +1292,13 @@ public Builder setPlatformVersionBytes(
      * 
* * string distribution = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The distribution. */ public java.lang.String getDistribution() { java.lang.Object ref = distribution_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); distribution_ = s; return s; @@ -1174,6 +1307,8 @@ public java.lang.String getDistribution() { } } /** + * + * *
      * Required. The Kubernetes distribution of the underlying attached cluster.
      *
@@ -1181,15 +1316,14 @@ public java.lang.String getDistribution() {
      * 
* * string distribution = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for distribution. */ - public com.google.protobuf.ByteString - getDistributionBytes() { + public com.google.protobuf.ByteString getDistributionBytes() { java.lang.Object ref = distribution_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); distribution_ = b; return b; } else { @@ -1197,6 +1331,8 @@ public java.lang.String getDistribution() { } } /** + * + * *
      * Required. The Kubernetes distribution of the underlying attached cluster.
      *
@@ -1204,18 +1340,22 @@ public java.lang.String getDistribution() {
      * 
* * string distribution = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The distribution to set. * @return This builder for chaining. */ - public Builder setDistribution( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDistribution(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } distribution_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Required. The Kubernetes distribution of the underlying attached cluster.
      *
@@ -1223,6 +1363,7 @@ public Builder setDistribution(
      * 
* * string distribution = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDistribution() { @@ -1232,6 +1373,8 @@ public Builder clearDistribution() { return this; } /** + * + * *
      * Required. The Kubernetes distribution of the underlying attached cluster.
      *
@@ -1239,12 +1382,14 @@ public Builder clearDistribution() {
      * 
* * string distribution = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for distribution to set. * @return This builder for chaining. */ - public Builder setDistributionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDistributionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); distribution_ = value; bitField0_ |= 0x00000010; @@ -1254,39 +1399,58 @@ public Builder setDistributionBytes( private com.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxyConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedProxyConfig, com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder> proxyConfigBuilder_; + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig, + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder, + com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder> + proxyConfigBuilder_; /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the proxyConfig field is set. */ public boolean hasProxyConfig() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The proxyConfig. */ public com.google.cloud.gkemulticloud.v1.AttachedProxyConfig getProxyConfig() { if (proxyConfigBuilder_ == null) { - return proxyConfig_ == null ? com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() : proxyConfig_; + return proxyConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() + : proxyConfig_; } else { return proxyConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setProxyConfig(com.google.cloud.gkemulticloud.v1.AttachedProxyConfig value) { if (proxyConfigBuilder_ == null) { @@ -1302,11 +1466,15 @@ public Builder setProxyConfig(com.google.cloud.gkemulticloud.v1.AttachedProxyCon return this; } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setProxyConfig( com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder builderForValue) { @@ -1320,17 +1488,22 @@ public Builder setProxyConfig( return this; } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeProxyConfig(com.google.cloud.gkemulticloud.v1.AttachedProxyConfig value) { if (proxyConfigBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - proxyConfig_ != null && - proxyConfig_ != com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && proxyConfig_ != null + && proxyConfig_ + != com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance()) { getProxyConfigBuilder().mergeFrom(value); } else { proxyConfig_ = value; @@ -1343,11 +1516,15 @@ public Builder mergeProxyConfig(com.google.cloud.gkemulticloud.v1.AttachedProxyC return this; } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearProxyConfig() { bitField0_ = (bitField0_ & ~0x00000020); @@ -1360,11 +1537,15 @@ public Builder clearProxyConfig() { return this; } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder getProxyConfigBuilder() { bitField0_ |= 0x00000020; @@ -1372,43 +1553,56 @@ public com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder getProxyCon return getProxyConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder getProxyConfigOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder + getProxyConfigOrBuilder() { if (proxyConfigBuilder_ != null) { return proxyConfigBuilder_.getMessageOrBuilder(); } else { - return proxyConfig_ == null ? - com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() : proxyConfig_; + return proxyConfig_ == null + ? com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.getDefaultInstance() + : proxyConfig_; } } /** + * + * *
      * Optional. Proxy configuration for outbound HTTP(S) traffic.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedProxyConfig, com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig, + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder, + com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder> getProxyConfigFieldBuilder() { if (proxyConfigBuilder_ == null) { - proxyConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedProxyConfig, com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder, com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder>( - getProxyConfig(), - getParentForChildren(), - isClean()); + proxyConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig, + com.google.cloud.gkemulticloud.v1.AttachedProxyConfig.Builder, + com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder>( + getProxyConfig(), getParentForChildren(), isClean()); proxyConfig_ = null; } return proxyConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1418,41 +1612,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest) - private static final com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest DEFAULT_INSTANCE; + private static final com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest(); } - public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAttachedClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAttachedClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1464,9 +1660,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ImportAttachedClusterRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ImportAttachedClusterRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ImportAttachedClusterRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ImportAttachedClusterRequestOrBuilder.java index 07f208449b06..7427054b5b6f 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ImportAttachedClusterRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ImportAttachedClusterRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; -public interface ImportAttachedClusterRequestOrBuilder extends +public interface ImportAttachedClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent location where this
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -19,11 +37,16 @@ public interface ImportAttachedClusterRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent location where this
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
@@ -35,43 +58,55 @@ public interface ImportAttachedClusterRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * If set, only validate the request, but do not actually import the cluster.
    * 
* * bool validate_only = 2; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * Required. The name of the fleet membership resource to import.
    * 
* * string fleet_membership = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The fleetMembership. */ java.lang.String getFleetMembership(); /** + * + * *
    * Required. The name of the fleet membership resource to import.
    * 
* * string fleet_membership = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for fleetMembership. */ - com.google.protobuf.ByteString - getFleetMembershipBytes(); + com.google.protobuf.ByteString getFleetMembershipBytes(); /** + * + * *
    * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
    *
@@ -81,10 +116,13 @@ public interface ImportAttachedClusterRequestOrBuilder extends
    * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The platformVersion. */ java.lang.String getPlatformVersion(); /** + * + * *
    * Required. The platform version for the cluster (e.g. `1.19.0-gke.1000`).
    *
@@ -94,12 +132,14 @@ public interface ImportAttachedClusterRequestOrBuilder extends
    * 
* * string platform_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for platformVersion. */ - com.google.protobuf.ByteString - getPlatformVersionBytes(); + com.google.protobuf.ByteString getPlatformVersionBytes(); /** + * + * *
    * Required. The Kubernetes distribution of the underlying attached cluster.
    *
@@ -107,10 +147,13 @@ public interface ImportAttachedClusterRequestOrBuilder extends
    * 
* * string distribution = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The distribution. */ java.lang.String getDistribution(); /** + * + * *
    * Required. The Kubernetes distribution of the underlying attached cluster.
    *
@@ -118,35 +161,49 @@ public interface ImportAttachedClusterRequestOrBuilder extends
    * 
* * string distribution = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for distribution. */ - com.google.protobuf.ByteString - getDistributionBytes(); + com.google.protobuf.ByteString getDistributionBytes(); /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the proxyConfig field is set. */ boolean hasProxyConfig(); /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The proxyConfig. */ com.google.cloud.gkemulticloud.v1.AttachedProxyConfig getProxyConfig(); /** + * + * *
    * Optional. Proxy configuration for outbound HTTP(S) traffic.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.gkemulticloud.v1.AttachedProxyConfigOrBuilder getProxyConfigOrBuilder(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Jwk.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Jwk.java similarity index 70% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Jwk.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Jwk.java index 422887f356b7..1fdbce3bae97 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Jwk.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/Jwk.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Jwk is a JSON Web Key as specified in RFC 7517.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.Jwk} */ -public final class Jwk extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Jwk extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.Jwk) JwkOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Jwk.newBuilder() to construct. private Jwk(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Jwk() { kty_ = ""; alg_ = ""; @@ -33,33 +51,38 @@ private Jwk() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Jwk(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_Jwk_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_Jwk_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_Jwk_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_Jwk_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.Jwk.class, com.google.cloud.gkemulticloud.v1.Jwk.Builder.class); + com.google.cloud.gkemulticloud.v1.Jwk.class, + com.google.cloud.gkemulticloud.v1.Jwk.Builder.class); } public static final int KTY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object kty_ = ""; /** + * + * *
    * Key Type.
    * 
* * string kty = 1; + * * @return The kty. */ @java.lang.Override @@ -68,29 +91,29 @@ public java.lang.String getKty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kty_ = s; return s; } } /** + * + * *
    * Key Type.
    * 
* * string kty = 1; + * * @return The bytes for kty. */ @java.lang.Override - public com.google.protobuf.ByteString - getKtyBytes() { + public com.google.protobuf.ByteString getKtyBytes() { java.lang.Object ref = kty_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kty_ = b; return b; } else { @@ -99,14 +122,18 @@ public java.lang.String getKty() { } public static final int ALG_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object alg_ = ""; /** + * + * *
    * Algorithm.
    * 
* * string alg = 2; + * * @return The alg. */ @java.lang.Override @@ -115,29 +142,29 @@ public java.lang.String getAlg() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); alg_ = s; return s; } } /** + * + * *
    * Algorithm.
    * 
* * string alg = 2; + * * @return The bytes for alg. */ @java.lang.Override - public com.google.protobuf.ByteString - getAlgBytes() { + public com.google.protobuf.ByteString getAlgBytes() { java.lang.Object ref = alg_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); alg_ = b; return b; } else { @@ -146,14 +173,18 @@ public java.lang.String getAlg() { } public static final int USE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object use_ = ""; /** + * + * *
    * Permitted uses for the public keys.
    * 
* * string use = 3; + * * @return The use. */ @java.lang.Override @@ -162,29 +193,29 @@ public java.lang.String getUse() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); use_ = s; return s; } } /** + * + * *
    * Permitted uses for the public keys.
    * 
* * string use = 3; + * * @return The bytes for use. */ @java.lang.Override - public com.google.protobuf.ByteString - getUseBytes() { + public com.google.protobuf.ByteString getUseBytes() { java.lang.Object ref = use_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); use_ = b; return b; } else { @@ -193,14 +224,18 @@ public java.lang.String getUse() { } public static final int KID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object kid_ = ""; /** + * + * *
    * Key ID.
    * 
* * string kid = 4; + * * @return The kid. */ @java.lang.Override @@ -209,29 +244,29 @@ public java.lang.String getKid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kid_ = s; return s; } } /** + * + * *
    * Key ID.
    * 
* * string kid = 4; + * * @return The bytes for kid. */ @java.lang.Override - public com.google.protobuf.ByteString - getKidBytes() { + public com.google.protobuf.ByteString getKidBytes() { java.lang.Object ref = kid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kid_ = b; return b; } else { @@ -240,14 +275,18 @@ public java.lang.String getKid() { } public static final int N_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object n_ = ""; /** + * + * *
    * Used for RSA keys.
    * 
* * string n = 5; + * * @return The n. */ @java.lang.Override @@ -256,29 +295,29 @@ public java.lang.String getN() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); n_ = s; return s; } } /** + * + * *
    * Used for RSA keys.
    * 
* * string n = 5; + * * @return The bytes for n. */ @java.lang.Override - public com.google.protobuf.ByteString - getNBytes() { + public com.google.protobuf.ByteString getNBytes() { java.lang.Object ref = n_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); n_ = b; return b; } else { @@ -287,14 +326,18 @@ public java.lang.String getN() { } public static final int E_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object e_ = ""; /** + * + * *
    * Used for RSA keys.
    * 
* * string e = 6; + * * @return The e. */ @java.lang.Override @@ -303,29 +346,29 @@ public java.lang.String getE() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); e_ = s; return s; } } /** + * + * *
    * Used for RSA keys.
    * 
* * string e = 6; + * * @return The bytes for e. */ @java.lang.Override - public com.google.protobuf.ByteString - getEBytes() { + public com.google.protobuf.ByteString getEBytes() { java.lang.Object ref = e_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); e_ = b; return b; } else { @@ -334,14 +377,18 @@ public java.lang.String getE() { } public static final int X_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object x_ = ""; /** + * + * *
    * Used for ECDSA keys.
    * 
* * string x = 7; + * * @return The x. */ @java.lang.Override @@ -350,29 +397,29 @@ public java.lang.String getX() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); x_ = s; return s; } } /** + * + * *
    * Used for ECDSA keys.
    * 
* * string x = 7; + * * @return The bytes for x. */ @java.lang.Override - public com.google.protobuf.ByteString - getXBytes() { + public com.google.protobuf.ByteString getXBytes() { java.lang.Object ref = x_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); x_ = b; return b; } else { @@ -381,14 +428,18 @@ public java.lang.String getX() { } public static final int Y_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object y_ = ""; /** + * + * *
    * Used for ECDSA keys.
    * 
* * string y = 8; + * * @return The y. */ @java.lang.Override @@ -397,29 +448,29 @@ public java.lang.String getY() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); y_ = s; return s; } } /** + * + * *
    * Used for ECDSA keys.
    * 
* * string y = 8; + * * @return The bytes for y. */ @java.lang.Override - public com.google.protobuf.ByteString - getYBytes() { + public com.google.protobuf.ByteString getYBytes() { java.lang.Object ref = y_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); y_ = b; return b; } else { @@ -428,14 +479,18 @@ public java.lang.String getY() { } public static final int CRV_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object crv_ = ""; /** + * + * *
    * Used for ECDSA keys.
    * 
* * string crv = 9; + * * @return The crv. */ @java.lang.Override @@ -444,29 +499,29 @@ public java.lang.String getCrv() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); crv_ = s; return s; } } /** + * + * *
    * Used for ECDSA keys.
    * 
* * string crv = 9; + * * @return The bytes for crv. */ @java.lang.Override - public com.google.protobuf.ByteString - getCrvBytes() { + public com.google.protobuf.ByteString getCrvBytes() { java.lang.Object ref = crv_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); crv_ = b; return b; } else { @@ -475,6 +530,7 @@ public java.lang.String getCrv() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -486,8 +542,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kty_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kty_); } @@ -559,31 +614,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.Jwk)) { return super.equals(obj); } com.google.cloud.gkemulticloud.v1.Jwk other = (com.google.cloud.gkemulticloud.v1.Jwk) obj; - if (!getKty() - .equals(other.getKty())) return false; - if (!getAlg() - .equals(other.getAlg())) return false; - if (!getUse() - .equals(other.getUse())) return false; - if (!getKid() - .equals(other.getKid())) return false; - if (!getN() - .equals(other.getN())) return false; - if (!getE() - .equals(other.getE())) return false; - if (!getX() - .equals(other.getX())) return false; - if (!getY() - .equals(other.getY())) return false; - if (!getCrv() - .equals(other.getCrv())) return false; + if (!getKty().equals(other.getKty())) return false; + if (!getAlg().equals(other.getAlg())) return false; + if (!getUse().equals(other.getUse())) return false; + if (!getKid().equals(other.getKid())) return false; + if (!getN().equals(other.getN())) return false; + if (!getE().equals(other.getE())) return false; + if (!getX().equals(other.getX())) return false; + if (!getY().equals(other.getY())) return false; + if (!getCrv().equals(other.getCrv())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -618,132 +664,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.gkemulticloud.v1.Jwk parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.gkemulticloud.v1.Jwk parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.Jwk parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.Jwk parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.gkemulticloud.v1.Jwk parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.Jwk parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.Jwk parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.Jwk parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.Jwk parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.Jwk parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.gkemulticloud.v1.Jwk parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.Jwk parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.Jwk parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.Jwk parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.Jwk prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Jwk is a JSON Web Key as specified in RFC 7517.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.Jwk} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.Jwk) com.google.cloud.gkemulticloud.v1.JwkOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_Jwk_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_Jwk_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_Jwk_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_Jwk_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.Jwk.class, com.google.cloud.gkemulticloud.v1.Jwk.Builder.class); + com.google.cloud.gkemulticloud.v1.Jwk.class, + com.google.cloud.gkemulticloud.v1.Jwk.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.Jwk.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -761,9 +810,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_Jwk_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_Jwk_descriptor; } @java.lang.Override @@ -782,8 +831,11 @@ public com.google.cloud.gkemulticloud.v1.Jwk build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.Jwk buildPartial() { - com.google.cloud.gkemulticloud.v1.Jwk result = new com.google.cloud.gkemulticloud.v1.Jwk(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.Jwk result = + new com.google.cloud.gkemulticloud.v1.Jwk(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -823,38 +875,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.Jwk result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.Jwk) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.Jwk)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.Jwk) other); } else { super.mergeFrom(other); return this; @@ -934,57 +987,67 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - kty_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - alg_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - use_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - kid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - n_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - e_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - x_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: { - y_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 74: { - crv_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 74 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + kty_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + alg_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + use_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + kid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + n_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + e_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + x_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: + { + y_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 74: + { + crv_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 74 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -994,22 +1057,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object kty_ = ""; /** + * + * *
      * Key Type.
      * 
* * string kty = 1; + * * @return The kty. */ public java.lang.String getKty() { java.lang.Object ref = kty_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kty_ = s; return s; @@ -1018,20 +1084,21 @@ public java.lang.String getKty() { } } /** + * + * *
      * Key Type.
      * 
* * string kty = 1; + * * @return The bytes for kty. */ - public com.google.protobuf.ByteString - getKtyBytes() { + public com.google.protobuf.ByteString getKtyBytes() { java.lang.Object ref = kty_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kty_ = b; return b; } else { @@ -1039,28 +1106,35 @@ public java.lang.String getKty() { } } /** + * + * *
      * Key Type.
      * 
* * string kty = 1; + * * @param value The kty to set. * @return This builder for chaining. */ - public Builder setKty( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKty(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } kty_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Key Type.
      * 
* * string kty = 1; + * * @return This builder for chaining. */ public Builder clearKty() { @@ -1070,17 +1144,21 @@ public Builder clearKty() { return this; } /** + * + * *
      * Key Type.
      * 
* * string kty = 1; + * * @param value The bytes for kty to set. * @return This builder for chaining. */ - public Builder setKtyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKtyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); kty_ = value; bitField0_ |= 0x00000001; @@ -1090,18 +1168,20 @@ public Builder setKtyBytes( private java.lang.Object alg_ = ""; /** + * + * *
      * Algorithm.
      * 
* * string alg = 2; + * * @return The alg. */ public java.lang.String getAlg() { java.lang.Object ref = alg_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); alg_ = s; return s; @@ -1110,20 +1190,21 @@ public java.lang.String getAlg() { } } /** + * + * *
      * Algorithm.
      * 
* * string alg = 2; + * * @return The bytes for alg. */ - public com.google.protobuf.ByteString - getAlgBytes() { + public com.google.protobuf.ByteString getAlgBytes() { java.lang.Object ref = alg_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); alg_ = b; return b; } else { @@ -1131,28 +1212,35 @@ public java.lang.String getAlg() { } } /** + * + * *
      * Algorithm.
      * 
* * string alg = 2; + * * @param value The alg to set. * @return This builder for chaining. */ - public Builder setAlg( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAlg(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } alg_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Algorithm.
      * 
* * string alg = 2; + * * @return This builder for chaining. */ public Builder clearAlg() { @@ -1162,17 +1250,21 @@ public Builder clearAlg() { return this; } /** + * + * *
      * Algorithm.
      * 
* * string alg = 2; + * * @param value The bytes for alg to set. * @return This builder for chaining. */ - public Builder setAlgBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAlgBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); alg_ = value; bitField0_ |= 0x00000002; @@ -1182,18 +1274,20 @@ public Builder setAlgBytes( private java.lang.Object use_ = ""; /** + * + * *
      * Permitted uses for the public keys.
      * 
* * string use = 3; + * * @return The use. */ public java.lang.String getUse() { java.lang.Object ref = use_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); use_ = s; return s; @@ -1202,20 +1296,21 @@ public java.lang.String getUse() { } } /** + * + * *
      * Permitted uses for the public keys.
      * 
* * string use = 3; + * * @return The bytes for use. */ - public com.google.protobuf.ByteString - getUseBytes() { + public com.google.protobuf.ByteString getUseBytes() { java.lang.Object ref = use_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); use_ = b; return b; } else { @@ -1223,28 +1318,35 @@ public java.lang.String getUse() { } } /** + * + * *
      * Permitted uses for the public keys.
      * 
* * string use = 3; + * * @param value The use to set. * @return This builder for chaining. */ - public Builder setUse( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUse(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } use_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Permitted uses for the public keys.
      * 
* * string use = 3; + * * @return This builder for chaining. */ public Builder clearUse() { @@ -1254,17 +1356,21 @@ public Builder clearUse() { return this; } /** + * + * *
      * Permitted uses for the public keys.
      * 
* * string use = 3; + * * @param value The bytes for use to set. * @return This builder for chaining. */ - public Builder setUseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); use_ = value; bitField0_ |= 0x00000004; @@ -1274,18 +1380,20 @@ public Builder setUseBytes( private java.lang.Object kid_ = ""; /** + * + * *
      * Key ID.
      * 
* * string kid = 4; + * * @return The kid. */ public java.lang.String getKid() { java.lang.Object ref = kid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kid_ = s; return s; @@ -1294,20 +1402,21 @@ public java.lang.String getKid() { } } /** + * + * *
      * Key ID.
      * 
* * string kid = 4; + * * @return The bytes for kid. */ - public com.google.protobuf.ByteString - getKidBytes() { + public com.google.protobuf.ByteString getKidBytes() { java.lang.Object ref = kid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kid_ = b; return b; } else { @@ -1315,28 +1424,35 @@ public java.lang.String getKid() { } } /** + * + * *
      * Key ID.
      * 
* * string kid = 4; + * * @param value The kid to set. * @return This builder for chaining. */ - public Builder setKid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } kid_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Key ID.
      * 
* * string kid = 4; + * * @return This builder for chaining. */ public Builder clearKid() { @@ -1346,17 +1462,21 @@ public Builder clearKid() { return this; } /** + * + * *
      * Key ID.
      * 
* * string kid = 4; + * * @param value The bytes for kid to set. * @return This builder for chaining. */ - public Builder setKidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); kid_ = value; bitField0_ |= 0x00000008; @@ -1366,18 +1486,20 @@ public Builder setKidBytes( private java.lang.Object n_ = ""; /** + * + * *
      * Used for RSA keys.
      * 
* * string n = 5; + * * @return The n. */ public java.lang.String getN() { java.lang.Object ref = n_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); n_ = s; return s; @@ -1386,20 +1508,21 @@ public java.lang.String getN() { } } /** + * + * *
      * Used for RSA keys.
      * 
* * string n = 5; + * * @return The bytes for n. */ - public com.google.protobuf.ByteString - getNBytes() { + public com.google.protobuf.ByteString getNBytes() { java.lang.Object ref = n_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); n_ = b; return b; } else { @@ -1407,28 +1530,35 @@ public java.lang.String getN() { } } /** + * + * *
      * Used for RSA keys.
      * 
* * string n = 5; + * * @param value The n to set. * @return This builder for chaining. */ - public Builder setN( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setN(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } n_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Used for RSA keys.
      * 
* * string n = 5; + * * @return This builder for chaining. */ public Builder clearN() { @@ -1438,17 +1568,21 @@ public Builder clearN() { return this; } /** + * + * *
      * Used for RSA keys.
      * 
* * string n = 5; + * * @param value The bytes for n to set. * @return This builder for chaining. */ - public Builder setNBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); n_ = value; bitField0_ |= 0x00000010; @@ -1458,18 +1592,20 @@ public Builder setNBytes( private java.lang.Object e_ = ""; /** + * + * *
      * Used for RSA keys.
      * 
* * string e = 6; + * * @return The e. */ public java.lang.String getE() { java.lang.Object ref = e_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); e_ = s; return s; @@ -1478,20 +1614,21 @@ public java.lang.String getE() { } } /** + * + * *
      * Used for RSA keys.
      * 
* * string e = 6; + * * @return The bytes for e. */ - public com.google.protobuf.ByteString - getEBytes() { + public com.google.protobuf.ByteString getEBytes() { java.lang.Object ref = e_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); e_ = b; return b; } else { @@ -1499,28 +1636,35 @@ public java.lang.String getE() { } } /** + * + * *
      * Used for RSA keys.
      * 
* * string e = 6; + * * @param value The e to set. * @return This builder for chaining. */ - public Builder setE( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setE(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } e_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Used for RSA keys.
      * 
* * string e = 6; + * * @return This builder for chaining. */ public Builder clearE() { @@ -1530,17 +1674,21 @@ public Builder clearE() { return this; } /** + * + * *
      * Used for RSA keys.
      * 
* * string e = 6; + * * @param value The bytes for e to set. * @return This builder for chaining. */ - public Builder setEBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); e_ = value; bitField0_ |= 0x00000020; @@ -1550,18 +1698,20 @@ public Builder setEBytes( private java.lang.Object x_ = ""; /** + * + * *
      * Used for ECDSA keys.
      * 
* * string x = 7; + * * @return The x. */ public java.lang.String getX() { java.lang.Object ref = x_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); x_ = s; return s; @@ -1570,20 +1720,21 @@ public java.lang.String getX() { } } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string x = 7; + * * @return The bytes for x. */ - public com.google.protobuf.ByteString - getXBytes() { + public com.google.protobuf.ByteString getXBytes() { java.lang.Object ref = x_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); x_ = b; return b; } else { @@ -1591,28 +1742,35 @@ public java.lang.String getX() { } } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string x = 7; + * * @param value The x to set. * @return This builder for chaining. */ - public Builder setX( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setX(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } x_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string x = 7; + * * @return This builder for chaining. */ public Builder clearX() { @@ -1622,17 +1780,21 @@ public Builder clearX() { return this; } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string x = 7; + * * @param value The bytes for x to set. * @return This builder for chaining. */ - public Builder setXBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setXBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); x_ = value; bitField0_ |= 0x00000040; @@ -1642,18 +1804,20 @@ public Builder setXBytes( private java.lang.Object y_ = ""; /** + * + * *
      * Used for ECDSA keys.
      * 
* * string y = 8; + * * @return The y. */ public java.lang.String getY() { java.lang.Object ref = y_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); y_ = s; return s; @@ -1662,20 +1826,21 @@ public java.lang.String getY() { } } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string y = 8; + * * @return The bytes for y. */ - public com.google.protobuf.ByteString - getYBytes() { + public com.google.protobuf.ByteString getYBytes() { java.lang.Object ref = y_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); y_ = b; return b; } else { @@ -1683,28 +1848,35 @@ public java.lang.String getY() { } } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string y = 8; + * * @param value The y to set. * @return This builder for chaining. */ - public Builder setY( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setY(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } y_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string y = 8; + * * @return This builder for chaining. */ public Builder clearY() { @@ -1714,17 +1886,21 @@ public Builder clearY() { return this; } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string y = 8; + * * @param value The bytes for y to set. * @return This builder for chaining. */ - public Builder setYBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setYBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); y_ = value; bitField0_ |= 0x00000080; @@ -1734,18 +1910,20 @@ public Builder setYBytes( private java.lang.Object crv_ = ""; /** + * + * *
      * Used for ECDSA keys.
      * 
* * string crv = 9; + * * @return The crv. */ public java.lang.String getCrv() { java.lang.Object ref = crv_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); crv_ = s; return s; @@ -1754,20 +1932,21 @@ public java.lang.String getCrv() { } } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string crv = 9; + * * @return The bytes for crv. */ - public com.google.protobuf.ByteString - getCrvBytes() { + public com.google.protobuf.ByteString getCrvBytes() { java.lang.Object ref = crv_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); crv_ = b; return b; } else { @@ -1775,28 +1954,35 @@ public java.lang.String getCrv() { } } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string crv = 9; + * * @param value The crv to set. * @return This builder for chaining. */ - public Builder setCrv( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCrv(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } crv_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string crv = 9; + * * @return This builder for chaining. */ public Builder clearCrv() { @@ -1806,26 +1992,30 @@ public Builder clearCrv() { return this; } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string crv = 9; + * * @param value The bytes for crv to set. * @return This builder for chaining. */ - public Builder setCrvBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCrvBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); crv_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1835,12 +2025,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.Jwk) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.Jwk) private static final com.google.cloud.gkemulticloud.v1.Jwk DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.Jwk(); } @@ -1849,27 +2039,27 @@ public static com.google.cloud.gkemulticloud.v1.Jwk getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Jwk parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Jwk parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1884,6 +2074,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.Jwk getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/JwkOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/JwkOrBuilder.java similarity index 67% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/JwkOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/JwkOrBuilder.java index 937eb1b1e3b4..32c19fab9649 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/JwkOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/JwkOrBuilder.java @@ -1,189 +1,250 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface JwkOrBuilder extends +public interface JwkOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.Jwk) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Key Type.
    * 
* * string kty = 1; + * * @return The kty. */ java.lang.String getKty(); /** + * + * *
    * Key Type.
    * 
* * string kty = 1; + * * @return The bytes for kty. */ - com.google.protobuf.ByteString - getKtyBytes(); + com.google.protobuf.ByteString getKtyBytes(); /** + * + * *
    * Algorithm.
    * 
* * string alg = 2; + * * @return The alg. */ java.lang.String getAlg(); /** + * + * *
    * Algorithm.
    * 
* * string alg = 2; + * * @return The bytes for alg. */ - com.google.protobuf.ByteString - getAlgBytes(); + com.google.protobuf.ByteString getAlgBytes(); /** + * + * *
    * Permitted uses for the public keys.
    * 
* * string use = 3; + * * @return The use. */ java.lang.String getUse(); /** + * + * *
    * Permitted uses for the public keys.
    * 
* * string use = 3; + * * @return The bytes for use. */ - com.google.protobuf.ByteString - getUseBytes(); + com.google.protobuf.ByteString getUseBytes(); /** + * + * *
    * Key ID.
    * 
* * string kid = 4; + * * @return The kid. */ java.lang.String getKid(); /** + * + * *
    * Key ID.
    * 
* * string kid = 4; + * * @return The bytes for kid. */ - com.google.protobuf.ByteString - getKidBytes(); + com.google.protobuf.ByteString getKidBytes(); /** + * + * *
    * Used for RSA keys.
    * 
* * string n = 5; + * * @return The n. */ java.lang.String getN(); /** + * + * *
    * Used for RSA keys.
    * 
* * string n = 5; + * * @return The bytes for n. */ - com.google.protobuf.ByteString - getNBytes(); + com.google.protobuf.ByteString getNBytes(); /** + * + * *
    * Used for RSA keys.
    * 
* * string e = 6; + * * @return The e. */ java.lang.String getE(); /** + * + * *
    * Used for RSA keys.
    * 
* * string e = 6; + * * @return The bytes for e. */ - com.google.protobuf.ByteString - getEBytes(); + com.google.protobuf.ByteString getEBytes(); /** + * + * *
    * Used for ECDSA keys.
    * 
* * string x = 7; + * * @return The x. */ java.lang.String getX(); /** + * + * *
    * Used for ECDSA keys.
    * 
* * string x = 7; + * * @return The bytes for x. */ - com.google.protobuf.ByteString - getXBytes(); + com.google.protobuf.ByteString getXBytes(); /** + * + * *
    * Used for ECDSA keys.
    * 
* * string y = 8; + * * @return The y. */ java.lang.String getY(); /** + * + * *
    * Used for ECDSA keys.
    * 
* * string y = 8; + * * @return The bytes for y. */ - com.google.protobuf.ByteString - getYBytes(); + com.google.protobuf.ByteString getYBytes(); /** + * + * *
    * Used for ECDSA keys.
    * 
* * string crv = 9; + * * @return The crv. */ java.lang.String getCrv(); /** + * + * *
    * Used for ECDSA keys.
    * 
* * string crv = 9; + * * @return The bytes for crv. */ - com.google.protobuf.ByteString - getCrvBytes(); + com.google.protobuf.ByteString getCrvBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/KubernetesSecret.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/KubernetesSecret.java similarity index 68% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/KubernetesSecret.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/KubernetesSecret.java index 081f7da8b0fe..ed991bddd61a 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/KubernetesSecret.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/KubernetesSecret.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Information about a Kubernetes Secret
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.KubernetesSecret} */ -public final class KubernetesSecret extends - com.google.protobuf.GeneratedMessageV3 implements +public final class KubernetesSecret extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.KubernetesSecret) KubernetesSecretOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use KubernetesSecret.newBuilder() to construct. private KubernetesSecret(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private KubernetesSecret() { name_ = ""; namespace_ = ""; @@ -26,33 +44,38 @@ private KubernetesSecret() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new KubernetesSecret(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_KubernetesSecret_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_KubernetesSecret_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_KubernetesSecret_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_KubernetesSecret_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.KubernetesSecret.class, com.google.cloud.gkemulticloud.v1.KubernetesSecret.Builder.class); + com.google.cloud.gkemulticloud.v1.KubernetesSecret.class, + com.google.cloud.gkemulticloud.v1.KubernetesSecret.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Name of the kubernetes secret.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -61,29 +84,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Name of the kubernetes secret.
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -92,14 +115,18 @@ public java.lang.String getName() { } public static final int NAMESPACE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object namespace_ = ""; /** + * + * *
    * Namespace in which the kubernetes secret is stored.
    * 
* * string namespace = 2; + * * @return The namespace. */ @java.lang.Override @@ -108,29 +135,29 @@ public java.lang.String getNamespace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); namespace_ = s; return s; } } /** + * + * *
    * Namespace in which the kubernetes secret is stored.
    * 
* * string namespace = 2; + * * @return The bytes for namespace. */ @java.lang.Override - public com.google.protobuf.ByteString - getNamespaceBytes() { + public com.google.protobuf.ByteString getNamespaceBytes() { java.lang.Object ref = namespace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); namespace_ = b; return b; } else { @@ -139,6 +166,7 @@ public java.lang.String getNamespace() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -150,8 +178,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -181,17 +208,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.KubernetesSecret)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.KubernetesSecret other = (com.google.cloud.gkemulticloud.v1.KubernetesSecret) obj; + com.google.cloud.gkemulticloud.v1.KubernetesSecret other = + (com.google.cloud.gkemulticloud.v1.KubernetesSecret) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getNamespace() - .equals(other.getNamespace())) return false; + if (!getName().equals(other.getName())) return false; + if (!getNamespace().equals(other.getNamespace())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -213,131 +239,135 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.KubernetesSecret parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.KubernetesSecret parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.KubernetesSecret parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.KubernetesSecret parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.KubernetesSecret parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.KubernetesSecret parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.KubernetesSecret parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.KubernetesSecret parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.KubernetesSecret parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.KubernetesSecret parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.KubernetesSecret parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.KubernetesSecret parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.KubernetesSecret parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.KubernetesSecret parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.KubernetesSecret prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Information about a Kubernetes Secret
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.KubernetesSecret} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.KubernetesSecret) com.google.cloud.gkemulticloud.v1.KubernetesSecretOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_KubernetesSecret_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_KubernetesSecret_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_KubernetesSecret_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_KubernetesSecret_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.KubernetesSecret.class, com.google.cloud.gkemulticloud.v1.KubernetesSecret.Builder.class); + com.google.cloud.gkemulticloud.v1.KubernetesSecret.class, + com.google.cloud.gkemulticloud.v1.KubernetesSecret.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.KubernetesSecret.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -348,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto.internal_static_google_cloud_gkemulticloud_v1_KubernetesSecret_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_KubernetesSecret_descriptor; } @java.lang.Override @@ -369,8 +399,11 @@ public com.google.cloud.gkemulticloud.v1.KubernetesSecret build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.KubernetesSecret buildPartial() { - com.google.cloud.gkemulticloud.v1.KubernetesSecret result = new com.google.cloud.gkemulticloud.v1.KubernetesSecret(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.KubernetesSecret result = + new com.google.cloud.gkemulticloud.v1.KubernetesSecret(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -389,38 +422,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.KubernetesSecret re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.KubernetesSecret) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.KubernetesSecret)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.KubernetesSecret) other); } else { super.mergeFrom(other); return this; @@ -428,7 +462,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.KubernetesSecret other) { - if (other == com.google.cloud.gkemulticloud.v1.KubernetesSecret.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.KubernetesSecret.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -465,22 +500,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - namespace_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + namespace_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -490,22 +528,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Name of the kubernetes secret.
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -514,20 +555,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Name of the kubernetes secret.
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -535,28 +577,35 @@ public java.lang.String getName() { } } /** + * + * *
      * Name of the kubernetes secret.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Name of the kubernetes secret.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -566,17 +615,21 @@ public Builder clearName() { return this; } /** + * + * *
      * Name of the kubernetes secret.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -586,18 +639,20 @@ public Builder setNameBytes( private java.lang.Object namespace_ = ""; /** + * + * *
      * Namespace in which the kubernetes secret is stored.
      * 
* * string namespace = 2; + * * @return The namespace. */ public java.lang.String getNamespace() { java.lang.Object ref = namespace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); namespace_ = s; return s; @@ -606,20 +661,21 @@ public java.lang.String getNamespace() { } } /** + * + * *
      * Namespace in which the kubernetes secret is stored.
      * 
* * string namespace = 2; + * * @return The bytes for namespace. */ - public com.google.protobuf.ByteString - getNamespaceBytes() { + public com.google.protobuf.ByteString getNamespaceBytes() { java.lang.Object ref = namespace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); namespace_ = b; return b; } else { @@ -627,28 +683,35 @@ public java.lang.String getNamespace() { } } /** + * + * *
      * Namespace in which the kubernetes secret is stored.
      * 
* * string namespace = 2; + * * @param value The namespace to set. * @return This builder for chaining. */ - public Builder setNamespace( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNamespace(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } namespace_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Namespace in which the kubernetes secret is stored.
      * 
* * string namespace = 2; + * * @return This builder for chaining. */ public Builder clearNamespace() { @@ -658,26 +721,30 @@ public Builder clearNamespace() { return this; } /** + * + * *
      * Namespace in which the kubernetes secret is stored.
      * 
* * string namespace = 2; + * * @param value The bytes for namespace to set. * @return This builder for chaining. */ - public Builder setNamespaceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNamespaceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); namespace_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -687,12 +754,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.KubernetesSecret) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.KubernetesSecret) private static final com.google.cloud.gkemulticloud.v1.KubernetesSecret DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.KubernetesSecret(); } @@ -701,27 +768,27 @@ public static com.google.cloud.gkemulticloud.v1.KubernetesSecret getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KubernetesSecret parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KubernetesSecret parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -736,6 +803,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.KubernetesSecret getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/KubernetesSecretOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/KubernetesSecretOrBuilder.java similarity index 55% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/KubernetesSecretOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/KubernetesSecretOrBuilder.java index 6bbffe69c905..6f97bec74953 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/KubernetesSecretOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/KubernetesSecretOrBuilder.java @@ -1,49 +1,75 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface KubernetesSecretOrBuilder extends +public interface KubernetesSecretOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.KubernetesSecret) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of the kubernetes secret.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Name of the kubernetes secret.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Namespace in which the kubernetes secret is stored.
    * 
* * string namespace = 2; + * * @return The namespace. */ java.lang.String getNamespace(); /** + * + * *
    * Namespace in which the kubernetes secret is stored.
    * 
* * string namespace = 2; + * * @return The bytes for namespace. */ - com.google.protobuf.ByteString - getNamespaceBytes(); + com.google.protobuf.ByteString getNamespaceBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequest.java similarity index 70% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequest.java index 46bed1a595cc..4876cf1c5ab5 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Request message for `AttachedClusters.ListAttachedClusters` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAttachedClustersRequest} */ -public final class ListAttachedClustersRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAttachedClustersRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.ListAttachedClustersRequest) ListAttachedClustersRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAttachedClustersRequest.newBuilder() to construct. private ListAttachedClustersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAttachedClustersRequest() { parent_ = ""; pageToken_ = ""; @@ -26,28 +44,32 @@ private ListAttachedClustersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAttachedClustersRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest.class, com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest.class, + com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent location which owns this collection of
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources.
@@ -58,7 +80,10 @@ protected java.lang.Object newInstance(
    * for more details on Google Cloud Platform resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,14 +92,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent location which owns this collection of
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources.
@@ -85,17 +111,18 @@ public java.lang.String getParent() {
    * for more details on Google Cloud Platform resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -106,6 +133,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * The maximum number of items to return.
    *
@@ -117,6 +146,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -125,9 +155,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * The `nextPageToken` value returned from a previous
    * [attachedClusters.list][google.cloud.gkemulticloud.v1.AttachedClusters.ListAttachedClusters]
@@ -135,6 +168,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -143,14 +177,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The `nextPageToken` value returned from a previous
    * [attachedClusters.list][google.cloud.gkemulticloud.v1.AttachedClusters.ListAttachedClusters]
@@ -158,16 +193,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -176,6 +210,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,8 +222,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -211,8 +245,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -225,19 +258,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest other = (com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest) obj; + com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest other = + (com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -261,131 +292,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AttachedClusters.ListAttachedClusters` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAttachedClustersRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.ListAttachedClustersRequest) com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest.class, com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest.class, + com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -397,13 +433,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersRequest_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest + getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest.getDefaultInstance(); } @@ -418,13 +455,17 @@ public com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest result = new com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest result = + new com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest result) { + private void buildPartial0( + com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -441,38 +482,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.ListAttachedCluster public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest) other); } else { super.mergeFrom(other); return this; @@ -480,7 +522,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -520,27 +564,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -550,10 +598,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent location which owns this collection of
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources.
@@ -564,14 +615,16 @@ public Builder mergeFrom(
      * for more details on Google Cloud Platform resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -580,6 +633,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location which owns this collection of
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources.
@@ -590,16 +645,17 @@ public java.lang.String getParent() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -607,6 +663,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location which owns this collection of
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources.
@@ -617,19 +675,25 @@ public java.lang.String getParent() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent location which owns this collection of
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources.
@@ -640,7 +704,10 @@ public Builder setParent(
      * for more details on Google Cloud Platform resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -650,6 +717,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent location which owns this collection of
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources.
@@ -660,13 +729,17 @@ public Builder clearParent() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -674,8 +747,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of items to return.
      *
@@ -687,6 +762,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -694,6 +770,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of items to return.
      *
@@ -705,6 +783,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -716,6 +795,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of items to return.
      *
@@ -727,6 +808,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -738,6 +820,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [attachedClusters.list][google.cloud.gkemulticloud.v1.AttachedClusters.ListAttachedClusters]
@@ -745,13 +829,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -760,6 +844,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [attachedClusters.list][google.cloud.gkemulticloud.v1.AttachedClusters.ListAttachedClusters]
@@ -767,15 +853,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -783,6 +868,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [attachedClusters.list][google.cloud.gkemulticloud.v1.AttachedClusters.ListAttachedClusters]
@@ -790,18 +877,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [attachedClusters.list][google.cloud.gkemulticloud.v1.AttachedClusters.ListAttachedClusters]
@@ -809,6 +900,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -818,6 +910,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [attachedClusters.list][google.cloud.gkemulticloud.v1.AttachedClusters.ListAttachedClusters]
@@ -825,21 +919,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -849,12 +945,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.ListAttachedClustersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.ListAttachedClustersRequest) - private static final com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest DEFAULT_INSTANCE; + private static final com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest(); } @@ -863,27 +960,27 @@ public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAttachedClustersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAttachedClustersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -898,6 +995,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequestOrBuilder.java index 870334744485..96755167d994 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; -public interface ListAttachedClustersRequestOrBuilder extends +public interface ListAttachedClustersRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.ListAttachedClustersRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent location which owns this collection of
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources.
@@ -18,11 +36,16 @@ public interface ListAttachedClustersRequestOrBuilder extends
    * for more details on Google Cloud Platform resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent location which owns this collection of
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources.
@@ -33,13 +56,17 @@ public interface ListAttachedClustersRequestOrBuilder extends
    * for more details on Google Cloud Platform resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of items to return.
    *
@@ -51,11 +78,14 @@ public interface ListAttachedClustersRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The `nextPageToken` value returned from a previous
    * [attachedClusters.list][google.cloud.gkemulticloud.v1.AttachedClusters.ListAttachedClusters]
@@ -63,10 +93,13 @@ public interface ListAttachedClustersRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The `nextPageToken` value returned from a previous
    * [attachedClusters.list][google.cloud.gkemulticloud.v1.AttachedClusters.ListAttachedClusters]
@@ -74,8 +107,8 @@ public interface ListAttachedClustersRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponse.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponse.java similarity index 74% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponse.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponse.java index 3a6e64c6a8ea..480be02fba57 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponse.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Response message for `AttachedClusters.ListAttachedClusters` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAttachedClustersResponse} */ -public final class ListAttachedClustersResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAttachedClustersResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.ListAttachedClustersResponse) ListAttachedClustersResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAttachedClustersResponse.newBuilder() to construct. private ListAttachedClustersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAttachedClustersResponse() { attachedClusters_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,28 +44,32 @@ private ListAttachedClustersResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAttachedClustersResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse.class, com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse.class, + com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse.Builder.class); } public static final int ATTACHED_CLUSTERS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List attachedClusters_; /** + * + * *
    * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -56,10 +78,13 @@ protected java.lang.Object newInstance(
    * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
    */
   @java.lang.Override
-  public java.util.List getAttachedClustersList() {
+  public java.util.List
+      getAttachedClustersList() {
     return attachedClusters_;
   }
   /**
+   *
+   *
    * 
    * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -68,11 +93,13 @@ public java.util.List getAtta
    * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getAttachedClustersOrBuilderList() {
     return attachedClusters_;
   }
   /**
+   *
+   *
    * 
    * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -85,6 +112,8 @@ public int getAttachedClustersCount() {
     return attachedClusters_.size();
   }
   /**
+   *
+   *
    * 
    * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -97,6 +126,8 @@ public com.google.cloud.gkemulticloud.v1.AttachedCluster getAttachedClusters(int
     return attachedClusters_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -111,15 +142,19 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder getAttachedClu
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object nextPageToken_ = "";
   /**
+   *
+   *
    * 
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -128,30 +163,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +195,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +207,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < attachedClusters_.size(); i++) { output.writeMessage(1, attachedClusters_.get(i)); } @@ -189,8 +224,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < attachedClusters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, attachedClusters_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, attachedClusters_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +237,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse other = (com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse) obj; + com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse other = + (com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse) obj; - if (!getAttachedClustersList() - .equals(other.getAttachedClustersList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getAttachedClustersList().equals(other.getAttachedClustersList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,131 +270,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for `AttachedClusters.ListAttachedClusters` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAttachedClustersResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.ListAttachedClustersResponse) com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse.class, com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse.class, + com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -378,13 +416,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAttachedClustersResponse_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse + getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse.getDefaultInstance(); } @@ -399,14 +438,18 @@ public com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse buildPartial() { - com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse result = new com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse(this); + com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse result = + new com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse result) { if (attachedClustersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { attachedClusters_ = java.util.Collections.unmodifiableList(attachedClusters_); @@ -418,7 +461,8 @@ private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.ListAt } } - private void buildPartial0(com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse result) { + private void buildPartial0( + com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -429,38 +473,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.ListAttachedCluster public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse) other); } else { super.mergeFrom(other); return this; @@ -468,7 +513,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse other) { - if (other == com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse.getDefaultInstance()) return this; + if (other + == com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse.getDefaultInstance()) + return this; if (attachedClustersBuilder_ == null) { if (!other.attachedClusters_.isEmpty()) { if (attachedClusters_.isEmpty()) { @@ -487,9 +534,10 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAttachedClustersR attachedClustersBuilder_ = null; attachedClusters_ = other.attachedClusters_; bitField0_ = (bitField0_ & ~0x00000001); - attachedClustersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAttachedClustersFieldBuilder() : null; + attachedClustersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAttachedClustersFieldBuilder() + : null; } else { attachedClustersBuilder_.addAllMessages(other.attachedClusters_); } @@ -526,30 +574,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.gkemulticloud.v1.AttachedCluster m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AttachedCluster.parser(), - extensionRegistry); - if (attachedClustersBuilder_ == null) { - ensureAttachedClustersIsMutable(); - attachedClusters_.add(m); - } else { - attachedClustersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.gkemulticloud.v1.AttachedCluster m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AttachedCluster.parser(), + extensionRegistry); + if (attachedClustersBuilder_ == null) { + ensureAttachedClustersIsMutable(); + attachedClusters_.add(m); + } else { + attachedClustersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -559,21 +610,30 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List attachedClusters_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAttachedClustersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - attachedClusters_ = new java.util.ArrayList(attachedClusters_); + attachedClusters_ = + new java.util.ArrayList( + attachedClusters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedCluster, com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder> attachedClustersBuilder_; + com.google.cloud.gkemulticloud.v1.AttachedCluster, + com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder, + com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder> + attachedClustersBuilder_; /** + * + * *
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -581,7 +641,8 @@ private void ensureAttachedClustersIsMutable() {
      *
      * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
      */
-    public java.util.List getAttachedClustersList() {
+    public java.util.List
+        getAttachedClustersList() {
       if (attachedClustersBuilder_ == null) {
         return java.util.Collections.unmodifiableList(attachedClusters_);
       } else {
@@ -589,6 +650,8 @@ public java.util.List getAtta
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -604,6 +667,8 @@ public int getAttachedClustersCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -619,6 +684,8 @@ public com.google.cloud.gkemulticloud.v1.AttachedCluster getAttachedClusters(int
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -641,6 +708,8 @@ public Builder setAttachedClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -660,6 +729,8 @@ public Builder setAttachedClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -681,6 +752,8 @@ public Builder addAttachedClusters(com.google.cloud.gkemulticloud.v1.AttachedClu
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -703,6 +776,8 @@ public Builder addAttachedClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -722,6 +797,8 @@ public Builder addAttachedClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -741,6 +818,8 @@ public Builder addAttachedClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -752,8 +831,7 @@ public Builder addAllAttachedClusters(
         java.lang.Iterable values) {
       if (attachedClustersBuilder_ == null) {
         ensureAttachedClustersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, attachedClusters_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, attachedClusters_);
         onChanged();
       } else {
         attachedClustersBuilder_.addAllMessages(values);
@@ -761,6 +839,8 @@ public Builder addAllAttachedClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -779,6 +859,8 @@ public Builder clearAttachedClusters() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -797,6 +879,8 @@ public Builder removeAttachedClusters(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -809,6 +893,8 @@ public com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder getAttachedClus
       return getAttachedClustersFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -819,11 +905,14 @@ public com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder getAttachedClus
     public com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder getAttachedClustersOrBuilder(
         int index) {
       if (attachedClustersBuilder_ == null) {
-        return attachedClusters_.get(index);  } else {
+        return attachedClusters_.get(index);
+      } else {
         return attachedClustersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -831,8 +920,8 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder getAttachedClu
      *
      * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
      */
-    public java.util.List 
-         getAttachedClustersOrBuilderList() {
+    public java.util.List
+        getAttachedClustersOrBuilderList() {
       if (attachedClustersBuilder_ != null) {
         return attachedClustersBuilder_.getMessageOrBuilderList();
       } else {
@@ -840,6 +929,8 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder getAttachedClu
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -848,10 +939,12 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder getAttachedClu
      * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
      */
     public com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder addAttachedClustersBuilder() {
-      return getAttachedClustersFieldBuilder().addBuilder(
-          com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance());
+      return getAttachedClustersFieldBuilder()
+          .addBuilder(com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -861,10 +954,13 @@ public com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder addAttachedClus
      */
     public com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder addAttachedClustersBuilder(
         int index) {
-      return getAttachedClustersFieldBuilder().addBuilder(
-          index, com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance());
+      return getAttachedClustersFieldBuilder()
+          .addBuilder(
+              index, com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -872,16 +968,22 @@ public com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder addAttachedClus
      *
      * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
      */
-    public java.util.List 
-         getAttachedClustersBuilderList() {
+    public java.util.List
+        getAttachedClustersBuilderList() {
       return getAttachedClustersFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.gkemulticloud.v1.AttachedCluster, com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder> 
+            com.google.cloud.gkemulticloud.v1.AttachedCluster,
+            com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder,
+            com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder>
         getAttachedClustersFieldBuilder() {
       if (attachedClustersBuilder_ == null) {
-        attachedClustersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.gkemulticloud.v1.AttachedCluster, com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder>(
+        attachedClustersBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.gkemulticloud.v1.AttachedCluster,
+                com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder,
+                com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder>(
                 attachedClusters_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -893,19 +995,21 @@ public com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder addAttachedClus
 
     private java.lang.Object nextPageToken_ = "";
     /**
+     *
+     *
      * 
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -914,21 +1018,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -936,30 +1041,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -969,27 +1081,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -999,41 +1115,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.ListAttachedClustersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.ListAttachedClustersResponse) - private static final com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse DEFAULT_INSTANCE; + private static final com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse(); } - public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAttachedClustersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAttachedClustersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1045,9 +1163,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponseOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponseOrBuilder.java similarity index 76% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponseOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponseOrBuilder.java index d164e4380d1e..128508cea512 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponseOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; -public interface ListAttachedClustersResponseOrBuilder extends +public interface ListAttachedClustersResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.ListAttachedClustersResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -15,9 +33,10 @@ public interface ListAttachedClustersResponseOrBuilder extends
    *
    * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
    */
-  java.util.List 
-      getAttachedClustersList();
+  java.util.List getAttachedClustersList();
   /**
+   *
+   *
    * 
    * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -27,6 +46,8 @@ public interface ListAttachedClustersResponseOrBuilder extends
    */
   com.google.cloud.gkemulticloud.v1.AttachedCluster getAttachedClusters(int index);
   /**
+   *
+   *
    * 
    * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -36,6 +57,8 @@ public interface ListAttachedClustersResponseOrBuilder extends
    */
   int getAttachedClustersCount();
   /**
+   *
+   *
    * 
    * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -43,9 +66,11 @@ public interface ListAttachedClustersResponseOrBuilder extends
    *
    * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1;
    */
-  java.util.List 
+  java.util.List
       getAttachedClustersOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -57,24 +82,29 @@ com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder getAttachedClustersOr
       int index);
 
   /**
+   *
+   *
    * 
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequest.java similarity index 70% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequest.java index e73684f0f806..3e02b00366b3 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Request message for `AwsClusters.ListAwsClusters` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAwsClustersRequest} */ -public final class ListAwsClustersRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAwsClustersRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.ListAwsClustersRequest) ListAwsClustersRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAwsClustersRequest.newBuilder() to construct. private ListAwsClustersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAwsClustersRequest() { parent_ = ""; pageToken_ = ""; @@ -26,28 +44,32 @@ private ListAwsClustersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAwsClustersRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest.class, com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest.class, + com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent location which owns this collection of
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.
@@ -58,7 +80,10 @@ protected java.lang.Object newInstance(
    * for more details on Google Cloud Platform resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,14 +92,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent location which owns this collection of
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.
@@ -85,17 +111,18 @@ public java.lang.String getParent() {
    * for more details on Google Cloud Platform resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -106,6 +133,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * The maximum number of items to return.
    *
@@ -117,6 +146,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -125,9 +155,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * The `nextPageToken` value returned from a previous
    * [awsClusters.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters]
@@ -135,6 +168,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -143,14 +177,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The `nextPageToken` value returned from a previous
    * [awsClusters.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters]
@@ -158,16 +193,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -176,6 +210,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,8 +222,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -211,8 +245,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -225,19 +258,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest other = (com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest) obj; + com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest other = + (com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -261,131 +292,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AwsClusters.ListAwsClusters` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAwsClustersRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.ListAwsClustersRequest) com.google.cloud.gkemulticloud.v1.ListAwsClustersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest.class, com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest.class, + com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -397,9 +433,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_descriptor; } @java.lang.Override @@ -418,8 +454,11 @@ public com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest result = new com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest result = + new com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -441,38 +480,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.ListAwsClustersRequ public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest) other); } else { super.mergeFrom(other); return this; @@ -480,7 +520,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -520,27 +561,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -550,10 +595,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent location which owns this collection of
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.
@@ -564,14 +612,16 @@ public Builder mergeFrom(
      * for more details on Google Cloud Platform resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -580,6 +630,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location which owns this collection of
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.
@@ -590,16 +642,17 @@ public java.lang.String getParent() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -607,6 +660,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location which owns this collection of
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.
@@ -617,19 +672,25 @@ public java.lang.String getParent() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent location which owns this collection of
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.
@@ -640,7 +701,10 @@ public Builder setParent(
      * for more details on Google Cloud Platform resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -650,6 +714,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent location which owns this collection of
      * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.
@@ -660,13 +726,17 @@ public Builder clearParent() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -674,8 +744,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of items to return.
      *
@@ -687,6 +759,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -694,6 +767,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of items to return.
      *
@@ -705,6 +780,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -716,6 +792,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of items to return.
      *
@@ -727,6 +805,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -738,6 +817,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [awsClusters.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters]
@@ -745,13 +826,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -760,6 +841,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [awsClusters.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters]
@@ -767,15 +850,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -783,6 +865,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [awsClusters.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters]
@@ -790,18 +874,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [awsClusters.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters]
@@ -809,6 +897,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -818,6 +907,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [awsClusters.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters]
@@ -825,21 +916,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -849,12 +942,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.ListAwsClustersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.ListAwsClustersRequest) private static final com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest(); } @@ -863,27 +956,27 @@ public static com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAwsClustersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAwsClustersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -898,6 +991,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequestOrBuilder.java index 8843677e084c..946df9e6d1ae 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface ListAwsClustersRequestOrBuilder extends +public interface ListAwsClustersRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.ListAwsClustersRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent location which owns this collection of
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.
@@ -18,11 +36,16 @@ public interface ListAwsClustersRequestOrBuilder extends
    * for more details on Google Cloud Platform resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent location which owns this collection of
    * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources.
@@ -33,13 +56,17 @@ public interface ListAwsClustersRequestOrBuilder extends
    * for more details on Google Cloud Platform resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of items to return.
    *
@@ -51,11 +78,14 @@ public interface ListAwsClustersRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The `nextPageToken` value returned from a previous
    * [awsClusters.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters]
@@ -63,10 +93,13 @@ public interface ListAwsClustersRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The `nextPageToken` value returned from a previous
    * [awsClusters.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters]
@@ -74,8 +107,8 @@ public interface ListAwsClustersRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponse.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponse.java similarity index 73% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponse.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponse.java index 68ee267ba335..30c82e4906a9 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponse.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Response message for `AwsClusters.ListAwsClusters` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAwsClustersResponse} */ -public final class ListAwsClustersResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAwsClustersResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.ListAwsClustersResponse) ListAwsClustersResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAwsClustersResponse.newBuilder() to construct. private ListAwsClustersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAwsClustersResponse() { awsClusters_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,28 +44,32 @@ private ListAwsClustersResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAwsClustersResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse.class, com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse.class, + com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse.Builder.class); } public static final int AWS_CLUSTERS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List awsClusters_; /** + * + * *
    * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
    * in the specified Google Cloud Platform project and region region.
@@ -60,6 +82,8 @@ public java.util.List getAwsCluste
     return awsClusters_;
   }
   /**
+   *
+   *
    * 
    * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
    * in the specified Google Cloud Platform project and region region.
@@ -68,11 +92,13 @@ public java.util.List getAwsCluste
    * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getAwsClustersOrBuilderList() {
     return awsClusters_;
   }
   /**
+   *
+   *
    * 
    * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
    * in the specified Google Cloud Platform project and region region.
@@ -85,6 +111,8 @@ public int getAwsClustersCount() {
     return awsClusters_.size();
   }
   /**
+   *
+   *
    * 
    * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
    * in the specified Google Cloud Platform project and region region.
@@ -97,6 +125,8 @@ public com.google.cloud.gkemulticloud.v1.AwsCluster getAwsClusters(int index) {
     return awsClusters_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
    * in the specified Google Cloud Platform project and region region.
@@ -105,21 +135,24 @@ public com.google.cloud.gkemulticloud.v1.AwsCluster getAwsClusters(int index) {
    * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
    */
   @java.lang.Override
-  public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClustersOrBuilder(
-      int index) {
+  public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClustersOrBuilder(int index) {
     return awsClusters_.get(index);
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object nextPageToken_ = "";
   /**
+   *
+   *
    * 
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -128,30 +161,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +193,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +205,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < awsClusters_.size(); i++) { output.writeMessage(1, awsClusters_.get(i)); } @@ -189,8 +222,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < awsClusters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, awsClusters_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, awsClusters_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +235,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse other = (com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse) obj; + com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse other = + (com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse) obj; - if (!getAwsClustersList() - .equals(other.getAwsClustersList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getAwsClustersList().equals(other.getAwsClustersList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,131 +268,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for `AwsClusters.ListAwsClusters` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAwsClustersResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.ListAwsClustersResponse) com.google.cloud.gkemulticloud.v1.ListAwsClustersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse.class, com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse.class, + com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +414,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_descriptor; } @java.lang.Override @@ -399,14 +435,18 @@ public com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse buildPartial() { - com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse result = new com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse(this); + com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse result = + new com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse result) { if (awsClustersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { awsClusters_ = java.util.Collections.unmodifiableList(awsClusters_); @@ -429,38 +469,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.ListAwsClustersResp public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse) other); } else { super.mergeFrom(other); return this; @@ -468,7 +509,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse other) { - if (other == com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse.getDefaultInstance()) + return this; if (awsClustersBuilder_ == null) { if (!other.awsClusters_.isEmpty()) { if (awsClusters_.isEmpty()) { @@ -487,9 +529,10 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAwsClustersRespon awsClustersBuilder_ = null; awsClusters_ = other.awsClusters_; bitField0_ = (bitField0_ & ~0x00000001); - awsClustersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAwsClustersFieldBuilder() : null; + awsClustersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAwsClustersFieldBuilder() + : null; } else { awsClustersBuilder_.addAllMessages(other.awsClusters_); } @@ -526,30 +569,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.gkemulticloud.v1.AwsCluster m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsCluster.parser(), - extensionRegistry); - if (awsClustersBuilder_ == null) { - ensureAwsClustersIsMutable(); - awsClusters_.add(m); - } else { - awsClustersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.gkemulticloud.v1.AwsCluster m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsCluster.parser(), extensionRegistry); + if (awsClustersBuilder_ == null) { + ensureAwsClustersIsMutable(); + awsClusters_.add(m); + } else { + awsClustersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -559,21 +604,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List awsClusters_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAwsClustersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - awsClusters_ = new java.util.ArrayList(awsClusters_); + awsClusters_ = + new java.util.ArrayList(awsClusters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsCluster, com.google.cloud.gkemulticloud.v1.AwsCluster.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder> awsClustersBuilder_; + com.google.cloud.gkemulticloud.v1.AwsCluster, + com.google.cloud.gkemulticloud.v1.AwsCluster.Builder, + com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder> + awsClustersBuilder_; /** + * + * *
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -589,6 +642,8 @@ public java.util.List getAwsCluste
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -604,6 +659,8 @@ public int getAwsClustersCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -619,6 +676,8 @@ public com.google.cloud.gkemulticloud.v1.AwsCluster getAwsClusters(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -626,8 +685,7 @@ public com.google.cloud.gkemulticloud.v1.AwsCluster getAwsClusters(int index) {
      *
      * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
      */
-    public Builder setAwsClusters(
-        int index, com.google.cloud.gkemulticloud.v1.AwsCluster value) {
+    public Builder setAwsClusters(int index, com.google.cloud.gkemulticloud.v1.AwsCluster value) {
       if (awsClustersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -641,6 +699,8 @@ public Builder setAwsClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -660,6 +720,8 @@ public Builder setAwsClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -681,6 +743,8 @@ public Builder addAwsClusters(com.google.cloud.gkemulticloud.v1.AwsCluster value
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -688,8 +752,7 @@ public Builder addAwsClusters(com.google.cloud.gkemulticloud.v1.AwsCluster value
      *
      * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
      */
-    public Builder addAwsClusters(
-        int index, com.google.cloud.gkemulticloud.v1.AwsCluster value) {
+    public Builder addAwsClusters(int index, com.google.cloud.gkemulticloud.v1.AwsCluster value) {
       if (awsClustersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -703,6 +766,8 @@ public Builder addAwsClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -722,6 +787,8 @@ public Builder addAwsClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -741,6 +808,8 @@ public Builder addAwsClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -752,8 +821,7 @@ public Builder addAllAwsClusters(
         java.lang.Iterable values) {
       if (awsClustersBuilder_ == null) {
         ensureAwsClustersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, awsClusters_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, awsClusters_);
         onChanged();
       } else {
         awsClustersBuilder_.addAllMessages(values);
@@ -761,6 +829,8 @@ public Builder addAllAwsClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -779,6 +849,8 @@ public Builder clearAwsClusters() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -797,6 +869,8 @@ public Builder removeAwsClusters(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -804,11 +878,12 @@ public Builder removeAwsClusters(int index) {
      *
      * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
      */
-    public com.google.cloud.gkemulticloud.v1.AwsCluster.Builder getAwsClustersBuilder(
-        int index) {
+    public com.google.cloud.gkemulticloud.v1.AwsCluster.Builder getAwsClustersBuilder(int index) {
       return getAwsClustersFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -819,11 +894,14 @@ public com.google.cloud.gkemulticloud.v1.AwsCluster.Builder getAwsClustersBuilde
     public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClustersOrBuilder(
         int index) {
       if (awsClustersBuilder_ == null) {
-        return awsClusters_.get(index);  } else {
+        return awsClusters_.get(index);
+      } else {
         return awsClustersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -831,8 +909,8 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClustersOrBui
      *
      * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
      */
-    public java.util.List 
-         getAwsClustersOrBuilderList() {
+    public java.util.List
+        getAwsClustersOrBuilderList() {
       if (awsClustersBuilder_ != null) {
         return awsClustersBuilder_.getMessageOrBuilderList();
       } else {
@@ -840,6 +918,8 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClustersOrBui
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -848,10 +928,12 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClustersOrBui
      * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
      */
     public com.google.cloud.gkemulticloud.v1.AwsCluster.Builder addAwsClustersBuilder() {
-      return getAwsClustersFieldBuilder().addBuilder(
-          com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance());
+      return getAwsClustersFieldBuilder()
+          .addBuilder(com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -859,12 +941,13 @@ public com.google.cloud.gkemulticloud.v1.AwsCluster.Builder addAwsClustersBuilde
      *
      * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
      */
-    public com.google.cloud.gkemulticloud.v1.AwsCluster.Builder addAwsClustersBuilder(
-        int index) {
-      return getAwsClustersFieldBuilder().addBuilder(
-          index, com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance());
+    public com.google.cloud.gkemulticloud.v1.AwsCluster.Builder addAwsClustersBuilder(int index) {
+      return getAwsClustersFieldBuilder()
+          .addBuilder(index, com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      * in the specified Google Cloud Platform project and region region.
@@ -872,20 +955,23 @@ public com.google.cloud.gkemulticloud.v1.AwsCluster.Builder addAwsClustersBuilde
      *
      * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
      */
-    public java.util.List 
-         getAwsClustersBuilderList() {
+    public java.util.List
+        getAwsClustersBuilderList() {
       return getAwsClustersFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.gkemulticloud.v1.AwsCluster, com.google.cloud.gkemulticloud.v1.AwsCluster.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder> 
+            com.google.cloud.gkemulticloud.v1.AwsCluster,
+            com.google.cloud.gkemulticloud.v1.AwsCluster.Builder,
+            com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder>
         getAwsClustersFieldBuilder() {
       if (awsClustersBuilder_ == null) {
-        awsClustersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.gkemulticloud.v1.AwsCluster, com.google.cloud.gkemulticloud.v1.AwsCluster.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder>(
-                awsClusters_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        awsClustersBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.gkemulticloud.v1.AwsCluster,
+                com.google.cloud.gkemulticloud.v1.AwsCluster.Builder,
+                com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder>(
+                awsClusters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         awsClusters_ = null;
       }
       return awsClustersBuilder_;
@@ -893,19 +979,21 @@ public com.google.cloud.gkemulticloud.v1.AwsCluster.Builder addAwsClustersBuilde
 
     private java.lang.Object nextPageToken_ = "";
     /**
+     *
+     *
      * 
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -914,21 +1002,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -936,30 +1025,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -969,27 +1065,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -999,12 +1099,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.ListAwsClustersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.ListAwsClustersResponse) private static final com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse(); } @@ -1013,27 +1113,27 @@ public static com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAwsClustersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAwsClustersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1048,6 +1148,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponseOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponseOrBuilder.java similarity index 72% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponseOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponseOrBuilder.java index 41ab913cdad5..066448b6c4f4 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponseOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface ListAwsClustersResponseOrBuilder extends +public interface ListAwsClustersResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.ListAwsClustersResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
    * in the specified Google Cloud Platform project and region region.
@@ -15,9 +33,10 @@ public interface ListAwsClustersResponseOrBuilder extends
    *
    * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
    */
-  java.util.List 
-      getAwsClustersList();
+  java.util.List getAwsClustersList();
   /**
+   *
+   *
    * 
    * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
    * in the specified Google Cloud Platform project and region region.
@@ -27,6 +46,8 @@ public interface ListAwsClustersResponseOrBuilder extends
    */
   com.google.cloud.gkemulticloud.v1.AwsCluster getAwsClusters(int index);
   /**
+   *
+   *
    * 
    * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
    * in the specified Google Cloud Platform project and region region.
@@ -36,6 +57,8 @@ public interface ListAwsClustersResponseOrBuilder extends
    */
   int getAwsClustersCount();
   /**
+   *
+   *
    * 
    * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
    * in the specified Google Cloud Platform project and region region.
@@ -43,9 +66,11 @@ public interface ListAwsClustersResponseOrBuilder extends
    *
    * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
    */
-  java.util.List 
+  java.util.List
       getAwsClustersOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
    * in the specified Google Cloud Platform project and region region.
@@ -53,28 +78,32 @@ public interface ListAwsClustersResponseOrBuilder extends
    *
    * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1;
    */
-  com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClustersOrBuilder(
-      int index);
+  com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClustersOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequest.java similarity index 70% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequest.java index d3a1c18b79fe..5ceb935df944 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Request message for `AwsClusters.ListAwsNodePools` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest} */ -public final class ListAwsNodePoolsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAwsNodePoolsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest) ListAwsNodePoolsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAwsNodePoolsRequest.newBuilder() to construct. private ListAwsNodePoolsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAwsNodePoolsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,28 +44,32 @@ private ListAwsNodePoolsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAwsNodePoolsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest.class, com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest.class, + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent `AwsCluster` which owns this collection of
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
@@ -59,7 +81,10 @@ protected java.lang.Object newInstance(
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -68,14 +93,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent `AwsCluster` which owns this collection of
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
@@ -87,17 +113,18 @@ public java.lang.String getParent() {
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -108,6 +135,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * The maximum number of items to return.
    *
@@ -119,6 +148,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -127,9 +157,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * The `nextPageToken` value returned from a previous
    * [awsNodePools.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools]
@@ -137,6 +170,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -145,14 +179,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The `nextPageToken` value returned from a previous
    * [awsNodePools.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools]
@@ -160,16 +195,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -178,6 +212,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -189,8 +224,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -213,8 +247,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -227,19 +260,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest other = (com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest) obj; + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest other = + (com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -263,131 +294,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AwsClusters.ListAwsNodePools` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest) com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest.class, com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest.class, + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -399,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_descriptor; } @java.lang.Override @@ -420,8 +456,11 @@ public com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest result = new com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest result = + new com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -443,38 +482,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsReq public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest) other); } else { super.mergeFrom(other); return this; @@ -482,7 +522,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -522,27 +563,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -552,10 +597,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent `AwsCluster` which owns this collection of
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
@@ -567,14 +615,16 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -583,6 +633,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent `AwsCluster` which owns this collection of
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
@@ -594,16 +646,17 @@ public java.lang.String getParent() {
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -611,6 +664,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent `AwsCluster` which owns this collection of
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
@@ -622,19 +677,25 @@ public java.lang.String getParent() {
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent `AwsCluster` which owns this collection of
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
@@ -646,7 +707,10 @@ public Builder setParent(
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -656,6 +720,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent `AwsCluster` which owns this collection of
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
@@ -667,13 +733,17 @@ public Builder clearParent() {
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -681,8 +751,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of items to return.
      *
@@ -694,6 +766,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -701,6 +774,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of items to return.
      *
@@ -712,6 +787,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -723,6 +799,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of items to return.
      *
@@ -734,6 +812,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -745,6 +824,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [awsNodePools.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools]
@@ -752,13 +833,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -767,6 +848,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [awsNodePools.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools]
@@ -774,15 +857,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -790,6 +872,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [awsNodePools.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools]
@@ -797,18 +881,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [awsNodePools.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools]
@@ -816,6 +904,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -825,6 +914,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [awsNodePools.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools]
@@ -832,21 +923,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -856,12 +949,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest) private static final com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest(); } @@ -870,27 +963,27 @@ public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAwsNodePoolsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAwsNodePoolsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -905,6 +998,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequestOrBuilder.java index f1322586e1a1..6b1ec193e108 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface ListAwsNodePoolsRequestOrBuilder extends +public interface ListAwsNodePoolsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent `AwsCluster` which owns this collection of
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
@@ -19,11 +37,16 @@ public interface ListAwsNodePoolsRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent `AwsCluster` which owns this collection of
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
@@ -35,13 +58,17 @@ public interface ListAwsNodePoolsRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of items to return.
    *
@@ -53,11 +80,14 @@ public interface ListAwsNodePoolsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The `nextPageToken` value returned from a previous
    * [awsNodePools.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools]
@@ -65,10 +95,13 @@ public interface ListAwsNodePoolsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The `nextPageToken` value returned from a previous
    * [awsNodePools.list][google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools]
@@ -76,8 +109,8 @@ public interface ListAwsNodePoolsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponse.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponse.java similarity index 73% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponse.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponse.java index 246bf8ea641c..c6274a142630 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponse.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Response message for `AwsClusters.ListAwsNodePools` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse} */ -public final class ListAwsNodePoolsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAwsNodePoolsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse) ListAwsNodePoolsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAwsNodePoolsResponse.newBuilder() to construct. private ListAwsNodePoolsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAwsNodePoolsResponse() { awsNodePools_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,28 +44,32 @@ private ListAwsNodePoolsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAwsNodePoolsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse.class, com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse.class, + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse.Builder.class); } public static final int AWS_NODE_POOLS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List awsNodePools_; /** + * + * *
    * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
    * resources in the specified `AwsCluster`.
@@ -60,6 +82,8 @@ public java.util.List getAwsNodeP
     return awsNodePools_;
   }
   /**
+   *
+   *
    * 
    * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
    * resources in the specified `AwsCluster`.
@@ -68,11 +92,13 @@ public java.util.List getAwsNodeP
    * repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getAwsNodePoolsOrBuilderList() {
     return awsNodePools_;
   }
   /**
+   *
+   *
    * 
    * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
    * resources in the specified `AwsCluster`.
@@ -85,6 +111,8 @@ public int getAwsNodePoolsCount() {
     return awsNodePools_.size();
   }
   /**
+   *
+   *
    * 
    * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
    * resources in the specified `AwsCluster`.
@@ -97,6 +125,8 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePool getAwsNodePools(int index)
     return awsNodePools_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
    * resources in the specified `AwsCluster`.
@@ -111,15 +141,19 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolsOrB
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object nextPageToken_ = "";
   /**
+   *
+   *
    * 
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -128,30 +162,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +194,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +206,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < awsNodePools_.size(); i++) { output.writeMessage(1, awsNodePools_.get(i)); } @@ -189,8 +223,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < awsNodePools_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, awsNodePools_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, awsNodePools_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +236,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse other = (com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse) obj; + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse other = + (com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse) obj; - if (!getAwsNodePoolsList() - .equals(other.getAwsNodePoolsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getAwsNodePoolsList().equals(other.getAwsNodePoolsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,131 +269,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for `AwsClusters.ListAwsNodePools` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse) com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse.class, com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse.class, + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +415,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_descriptor; } @java.lang.Override @@ -399,14 +436,18 @@ public com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse buildPartial() { - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse result = new com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse(this); + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse result = + new com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse result) { if (awsNodePoolsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { awsNodePools_ = java.util.Collections.unmodifiableList(awsNodePools_); @@ -429,38 +470,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRes public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse) other); } else { super.mergeFrom(other); return this; @@ -468,7 +510,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse other) { - if (other == com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse.getDefaultInstance()) + return this; if (awsNodePoolsBuilder_ == null) { if (!other.awsNodePools_.isEmpty()) { if (awsNodePools_.isEmpty()) { @@ -487,9 +530,10 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRespo awsNodePoolsBuilder_ = null; awsNodePools_ = other.awsNodePools_; bitField0_ = (bitField0_ & ~0x00000001); - awsNodePoolsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAwsNodePoolsFieldBuilder() : null; + awsNodePoolsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAwsNodePoolsFieldBuilder() + : null; } else { awsNodePoolsBuilder_.addAllMessages(other.awsNodePools_); } @@ -526,30 +570,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.gkemulticloud.v1.AwsNodePool m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AwsNodePool.parser(), - extensionRegistry); - if (awsNodePoolsBuilder_ == null) { - ensureAwsNodePoolsIsMutable(); - awsNodePools_.add(m); - } else { - awsNodePoolsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.gkemulticloud.v1.AwsNodePool m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AwsNodePool.parser(), extensionRegistry); + if (awsNodePoolsBuilder_ == null) { + ensureAwsNodePoolsIsMutable(); + awsNodePools_.add(m); + } else { + awsNodePoolsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -559,21 +605,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List awsNodePools_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAwsNodePoolsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - awsNodePools_ = new java.util.ArrayList(awsNodePools_); + awsNodePools_ = + new java.util.ArrayList(awsNodePools_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodePool, com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder, com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder> awsNodePoolsBuilder_; + com.google.cloud.gkemulticloud.v1.AwsNodePool, + com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder, + com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder> + awsNodePoolsBuilder_; /** + * + * *
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -589,6 +643,8 @@ public java.util.List getAwsNodeP
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -604,6 +660,8 @@ public int getAwsNodePoolsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -619,6 +677,8 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePool getAwsNodePools(int index)
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -626,8 +686,7 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePool getAwsNodePools(int index)
      *
      * repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;
      */
-    public Builder setAwsNodePools(
-        int index, com.google.cloud.gkemulticloud.v1.AwsNodePool value) {
+    public Builder setAwsNodePools(int index, com.google.cloud.gkemulticloud.v1.AwsNodePool value) {
       if (awsNodePoolsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -641,6 +700,8 @@ public Builder setAwsNodePools(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -660,6 +721,8 @@ public Builder setAwsNodePools(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -681,6 +744,8 @@ public Builder addAwsNodePools(com.google.cloud.gkemulticloud.v1.AwsNodePool val
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -688,8 +753,7 @@ public Builder addAwsNodePools(com.google.cloud.gkemulticloud.v1.AwsNodePool val
      *
      * repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;
      */
-    public Builder addAwsNodePools(
-        int index, com.google.cloud.gkemulticloud.v1.AwsNodePool value) {
+    public Builder addAwsNodePools(int index, com.google.cloud.gkemulticloud.v1.AwsNodePool value) {
       if (awsNodePoolsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -703,6 +767,8 @@ public Builder addAwsNodePools(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -722,6 +788,8 @@ public Builder addAwsNodePools(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -741,6 +809,8 @@ public Builder addAwsNodePools(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -752,8 +822,7 @@ public Builder addAllAwsNodePools(
         java.lang.Iterable values) {
       if (awsNodePoolsBuilder_ == null) {
         ensureAwsNodePoolsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, awsNodePools_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, awsNodePools_);
         onChanged();
       } else {
         awsNodePoolsBuilder_.addAllMessages(values);
@@ -761,6 +830,8 @@ public Builder addAllAwsNodePools(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -779,6 +850,8 @@ public Builder clearAwsNodePools() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -797,6 +870,8 @@ public Builder removeAwsNodePools(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -804,11 +879,12 @@ public Builder removeAwsNodePools(int index) {
      *
      * repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;
      */
-    public com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder getAwsNodePoolsBuilder(
-        int index) {
+    public com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder getAwsNodePoolsBuilder(int index) {
       return getAwsNodePoolsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -819,11 +895,14 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder getAwsNodePoolsBuil
     public com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolsOrBuilder(
         int index) {
       if (awsNodePoolsBuilder_ == null) {
-        return awsNodePools_.get(index);  } else {
+        return awsNodePools_.get(index);
+      } else {
         return awsNodePoolsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -831,8 +910,8 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolsOrB
      *
      * repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;
      */
-    public java.util.List 
-         getAwsNodePoolsOrBuilderList() {
+    public java.util.List
+        getAwsNodePoolsOrBuilderList() {
       if (awsNodePoolsBuilder_ != null) {
         return awsNodePoolsBuilder_.getMessageOrBuilderList();
       } else {
@@ -840,6 +919,8 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolsOrB
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -848,10 +929,12 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolsOrB
      * repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;
      */
     public com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder addAwsNodePoolsBuilder() {
-      return getAwsNodePoolsFieldBuilder().addBuilder(
-          com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance());
+      return getAwsNodePoolsFieldBuilder()
+          .addBuilder(com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -859,12 +942,13 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder addAwsNodePoolsBuil
      *
      * repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;
      */
-    public com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder addAwsNodePoolsBuilder(
-        int index) {
-      return getAwsNodePoolsFieldBuilder().addBuilder(
-          index, com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance());
+    public com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder addAwsNodePoolsBuilder(int index) {
+      return getAwsNodePoolsFieldBuilder()
+          .addBuilder(index, com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resources in the specified `AwsCluster`.
@@ -872,20 +956,23 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder addAwsNodePoolsBuil
      *
      * repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;
      */
-    public java.util.List 
-         getAwsNodePoolsBuilderList() {
+    public java.util.List
+        getAwsNodePoolsBuilderList() {
       return getAwsNodePoolsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.gkemulticloud.v1.AwsNodePool, com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder, com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder> 
+            com.google.cloud.gkemulticloud.v1.AwsNodePool,
+            com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder,
+            com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder>
         getAwsNodePoolsFieldBuilder() {
       if (awsNodePoolsBuilder_ == null) {
-        awsNodePoolsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.gkemulticloud.v1.AwsNodePool, com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder, com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder>(
-                awsNodePools_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        awsNodePoolsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.gkemulticloud.v1.AwsNodePool,
+                com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder,
+                com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder>(
+                awsNodePools_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         awsNodePools_ = null;
       }
       return awsNodePoolsBuilder_;
@@ -893,19 +980,21 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder addAwsNodePoolsBuil
 
     private java.lang.Object nextPageToken_ = "";
     /**
+     *
+     *
      * 
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -914,21 +1003,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -936,30 +1026,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -969,27 +1066,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -999,12 +1100,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse) private static final com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse(); } @@ -1013,27 +1114,27 @@ public static com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAwsNodePoolsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAwsNodePoolsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1048,6 +1149,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponseOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponseOrBuilder.java similarity index 73% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponseOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponseOrBuilder.java index 17c4bd1a5618..853c73c94101 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponseOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsNodePoolsResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface ListAwsNodePoolsResponseOrBuilder extends +public interface ListAwsNodePoolsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
    * resources in the specified `AwsCluster`.
@@ -15,9 +33,10 @@ public interface ListAwsNodePoolsResponseOrBuilder extends
    *
    * repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;
    */
-  java.util.List 
-      getAwsNodePoolsList();
+  java.util.List getAwsNodePoolsList();
   /**
+   *
+   *
    * 
    * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
    * resources in the specified `AwsCluster`.
@@ -27,6 +46,8 @@ public interface ListAwsNodePoolsResponseOrBuilder extends
    */
   com.google.cloud.gkemulticloud.v1.AwsNodePool getAwsNodePools(int index);
   /**
+   *
+   *
    * 
    * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
    * resources in the specified `AwsCluster`.
@@ -36,6 +57,8 @@ public interface ListAwsNodePoolsResponseOrBuilder extends
    */
   int getAwsNodePoolsCount();
   /**
+   *
+   *
    * 
    * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
    * resources in the specified `AwsCluster`.
@@ -43,9 +66,11 @@ public interface ListAwsNodePoolsResponseOrBuilder extends
    *
    * repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;
    */
-  java.util.List 
+  java.util.List
       getAwsNodePoolsOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
    * resources in the specified `AwsCluster`.
@@ -53,28 +78,32 @@ public interface ListAwsNodePoolsResponseOrBuilder extends
    *
    * repeated .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pools = 1;
    */
-  com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolsOrBuilder(
-      int index);
+  com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequest.java similarity index 70% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequest.java index fca5d68a17a0..5364da879f06 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Request message for `AzureClusters.ListAzureClients` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAzureClientsRequest} */ -public final class ListAzureClientsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAzureClientsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.ListAzureClientsRequest) ListAzureClientsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAzureClientsRequest.newBuilder() to construct. private ListAzureClientsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAzureClientsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,28 +44,32 @@ private ListAzureClientsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAzureClientsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest.class, com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest.class, + com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent location which owns this collection of
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.
@@ -58,7 +80,10 @@ protected java.lang.Object newInstance(
    * for more details on Google Cloud Platform resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,14 +92,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent location which owns this collection of
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.
@@ -85,17 +111,18 @@ public java.lang.String getParent() {
    * for more details on Google Cloud Platform resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -106,6 +133,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * The maximum number of items to return.
    *
@@ -117,6 +146,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -125,9 +155,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * The `nextPageToken` value returned from a previous
    * [azureClients.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients]
@@ -135,6 +168,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -143,14 +177,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The `nextPageToken` value returned from a previous
    * [azureClients.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients]
@@ -158,16 +193,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -176,6 +210,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,8 +222,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -211,8 +245,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -225,19 +258,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest other = (com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest) obj; + com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest other = + (com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -261,131 +292,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AzureClusters.ListAzureClients` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAzureClientsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.ListAzureClientsRequest) com.google.cloud.gkemulticloud.v1.ListAzureClientsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest.class, com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest.class, + com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -397,9 +433,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_descriptor; } @java.lang.Override @@ -418,8 +454,11 @@ public com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest result = new com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest result = + new com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -441,38 +480,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.ListAzureClientsReq public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest) other); } else { super.mergeFrom(other); return this; @@ -480,7 +520,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -520,27 +561,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -550,10 +595,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent location which owns this collection of
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.
@@ -564,14 +612,16 @@ public Builder mergeFrom(
      * for more details on Google Cloud Platform resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -580,6 +630,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location which owns this collection of
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.
@@ -590,16 +642,17 @@ public java.lang.String getParent() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -607,6 +660,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location which owns this collection of
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.
@@ -617,19 +672,25 @@ public java.lang.String getParent() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent location which owns this collection of
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.
@@ -640,7 +701,10 @@ public Builder setParent(
      * for more details on Google Cloud Platform resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -650,6 +714,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent location which owns this collection of
      * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.
@@ -660,13 +726,17 @@ public Builder clearParent() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -674,8 +744,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of items to return.
      *
@@ -687,6 +759,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -694,6 +767,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of items to return.
      *
@@ -705,6 +780,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -716,6 +792,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of items to return.
      *
@@ -727,6 +805,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -738,6 +817,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [azureClients.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients]
@@ -745,13 +826,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -760,6 +841,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [azureClients.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients]
@@ -767,15 +850,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -783,6 +865,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [azureClients.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients]
@@ -790,18 +874,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [azureClients.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients]
@@ -809,6 +897,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -818,6 +907,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [azureClients.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients]
@@ -825,21 +916,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -849,12 +942,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.ListAzureClientsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.ListAzureClientsRequest) private static final com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest(); } @@ -863,27 +956,27 @@ public static com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAzureClientsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAzureClientsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -898,6 +991,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequestOrBuilder.java index 6577eaa37520..be804021580f 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface ListAzureClientsRequestOrBuilder extends +public interface ListAzureClientsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.ListAzureClientsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent location which owns this collection of
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.
@@ -18,11 +36,16 @@ public interface ListAzureClientsRequestOrBuilder extends
    * for more details on Google Cloud Platform resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent location which owns this collection of
    * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.
@@ -33,13 +56,17 @@ public interface ListAzureClientsRequestOrBuilder extends
    * for more details on Google Cloud Platform resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of items to return.
    *
@@ -51,11 +78,14 @@ public interface ListAzureClientsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The `nextPageToken` value returned from a previous
    * [azureClients.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients]
@@ -63,10 +93,13 @@ public interface ListAzureClientsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The `nextPageToken` value returned from a previous
    * [azureClients.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients]
@@ -74,8 +107,8 @@ public interface ListAzureClientsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponse.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponse.java similarity index 73% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponse.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponse.java index 0d83b0181793..594526d50d21 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponse.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Response message for `AzureClusters.ListAzureClients` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAzureClientsResponse} */ -public final class ListAzureClientsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAzureClientsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.ListAzureClientsResponse) ListAzureClientsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAzureClientsResponse.newBuilder() to construct. private ListAzureClientsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAzureClientsResponse() { azureClients_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,28 +44,32 @@ private ListAzureClientsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAzureClientsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse.class, com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse.class, + com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse.Builder.class); } public static final int AZURE_CLIENTS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List azureClients_; /** + * + * *
    * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
    * resources in the specified Google Cloud project and region region.
@@ -60,6 +82,8 @@ public java.util.List getAzureCli
     return azureClients_;
   }
   /**
+   *
+   *
    * 
    * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
    * resources in the specified Google Cloud project and region region.
@@ -68,11 +92,13 @@ public java.util.List getAzureCli
    * repeated .google.cloud.gkemulticloud.v1.AzureClient azure_clients = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getAzureClientsOrBuilderList() {
     return azureClients_;
   }
   /**
+   *
+   *
    * 
    * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
    * resources in the specified Google Cloud project and region region.
@@ -85,6 +111,8 @@ public int getAzureClientsCount() {
     return azureClients_.size();
   }
   /**
+   *
+   *
    * 
    * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
    * resources in the specified Google Cloud project and region region.
@@ -97,6 +125,8 @@ public com.google.cloud.gkemulticloud.v1.AzureClient getAzureClients(int index)
     return azureClients_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
    * resources in the specified Google Cloud project and region region.
@@ -111,15 +141,19 @@ public com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder getAzureClientsOrB
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object nextPageToken_ = "";
   /**
+   *
+   *
    * 
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -128,30 +162,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +194,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +206,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < azureClients_.size(); i++) { output.writeMessage(1, azureClients_.get(i)); } @@ -189,8 +223,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < azureClients_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, azureClients_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, azureClients_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +236,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse other = (com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse) obj; + com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse other = + (com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse) obj; - if (!getAzureClientsList() - .equals(other.getAzureClientsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getAzureClientsList().equals(other.getAzureClientsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,131 +269,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for `AzureClusters.ListAzureClients` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAzureClientsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.ListAzureClientsResponse) com.google.cloud.gkemulticloud.v1.ListAzureClientsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse.class, com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse.class, + com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +415,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_descriptor; } @java.lang.Override @@ -399,14 +436,18 @@ public com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse buildPartial() { - com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse result = new com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse(this); + com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse result = + new com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse result) { if (azureClientsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { azureClients_ = java.util.Collections.unmodifiableList(azureClients_); @@ -429,38 +470,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.ListAzureClientsRes public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse) other); } else { super.mergeFrom(other); return this; @@ -468,7 +510,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse other) { - if (other == com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse.getDefaultInstance()) + return this; if (azureClientsBuilder_ == null) { if (!other.azureClients_.isEmpty()) { if (azureClients_.isEmpty()) { @@ -487,9 +530,10 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAzureClientsRespo azureClientsBuilder_ = null; azureClients_ = other.azureClients_; bitField0_ = (bitField0_ & ~0x00000001); - azureClientsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAzureClientsFieldBuilder() : null; + azureClientsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAzureClientsFieldBuilder() + : null; } else { azureClientsBuilder_.addAllMessages(other.azureClients_); } @@ -526,30 +570,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.gkemulticloud.v1.AzureClient m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureClient.parser(), - extensionRegistry); - if (azureClientsBuilder_ == null) { - ensureAzureClientsIsMutable(); - azureClients_.add(m); - } else { - azureClientsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.gkemulticloud.v1.AzureClient m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureClient.parser(), extensionRegistry); + if (azureClientsBuilder_ == null) { + ensureAzureClientsIsMutable(); + azureClients_.add(m); + } else { + azureClientsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -559,21 +605,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List azureClients_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAzureClientsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - azureClients_ = new java.util.ArrayList(azureClients_); + azureClients_ = + new java.util.ArrayList(azureClients_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureClient, com.google.cloud.gkemulticloud.v1.AzureClient.Builder, com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder> azureClientsBuilder_; + com.google.cloud.gkemulticloud.v1.AzureClient, + com.google.cloud.gkemulticloud.v1.AzureClient.Builder, + com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder> + azureClientsBuilder_; /** + * + * *
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -589,6 +643,8 @@ public java.util.List getAzureCli
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -604,6 +660,8 @@ public int getAzureClientsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -619,6 +677,8 @@ public com.google.cloud.gkemulticloud.v1.AzureClient getAzureClients(int index)
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -626,8 +686,7 @@ public com.google.cloud.gkemulticloud.v1.AzureClient getAzureClients(int index)
      *
      * repeated .google.cloud.gkemulticloud.v1.AzureClient azure_clients = 1;
      */
-    public Builder setAzureClients(
-        int index, com.google.cloud.gkemulticloud.v1.AzureClient value) {
+    public Builder setAzureClients(int index, com.google.cloud.gkemulticloud.v1.AzureClient value) {
       if (azureClientsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -641,6 +700,8 @@ public Builder setAzureClients(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -660,6 +721,8 @@ public Builder setAzureClients(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -681,6 +744,8 @@ public Builder addAzureClients(com.google.cloud.gkemulticloud.v1.AzureClient val
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -688,8 +753,7 @@ public Builder addAzureClients(com.google.cloud.gkemulticloud.v1.AzureClient val
      *
      * repeated .google.cloud.gkemulticloud.v1.AzureClient azure_clients = 1;
      */
-    public Builder addAzureClients(
-        int index, com.google.cloud.gkemulticloud.v1.AzureClient value) {
+    public Builder addAzureClients(int index, com.google.cloud.gkemulticloud.v1.AzureClient value) {
       if (azureClientsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -703,6 +767,8 @@ public Builder addAzureClients(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -722,6 +788,8 @@ public Builder addAzureClients(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -741,6 +809,8 @@ public Builder addAzureClients(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -752,8 +822,7 @@ public Builder addAllAzureClients(
         java.lang.Iterable values) {
       if (azureClientsBuilder_ == null) {
         ensureAzureClientsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, azureClients_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, azureClients_);
         onChanged();
       } else {
         azureClientsBuilder_.addAllMessages(values);
@@ -761,6 +830,8 @@ public Builder addAllAzureClients(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -779,6 +850,8 @@ public Builder clearAzureClients() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -797,6 +870,8 @@ public Builder removeAzureClients(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -804,11 +879,12 @@ public Builder removeAzureClients(int index) {
      *
      * repeated .google.cloud.gkemulticloud.v1.AzureClient azure_clients = 1;
      */
-    public com.google.cloud.gkemulticloud.v1.AzureClient.Builder getAzureClientsBuilder(
-        int index) {
+    public com.google.cloud.gkemulticloud.v1.AzureClient.Builder getAzureClientsBuilder(int index) {
       return getAzureClientsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -819,11 +895,14 @@ public com.google.cloud.gkemulticloud.v1.AzureClient.Builder getAzureClientsBuil
     public com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder getAzureClientsOrBuilder(
         int index) {
       if (azureClientsBuilder_ == null) {
-        return azureClients_.get(index);  } else {
+        return azureClients_.get(index);
+      } else {
         return azureClientsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -831,8 +910,8 @@ public com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder getAzureClientsOrB
      *
      * repeated .google.cloud.gkemulticloud.v1.AzureClient azure_clients = 1;
      */
-    public java.util.List 
-         getAzureClientsOrBuilderList() {
+    public java.util.List
+        getAzureClientsOrBuilderList() {
       if (azureClientsBuilder_ != null) {
         return azureClientsBuilder_.getMessageOrBuilderList();
       } else {
@@ -840,6 +919,8 @@ public com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder getAzureClientsOrB
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -848,10 +929,12 @@ public com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder getAzureClientsOrB
      * repeated .google.cloud.gkemulticloud.v1.AzureClient azure_clients = 1;
      */
     public com.google.cloud.gkemulticloud.v1.AzureClient.Builder addAzureClientsBuilder() {
-      return getAzureClientsFieldBuilder().addBuilder(
-          com.google.cloud.gkemulticloud.v1.AzureClient.getDefaultInstance());
+      return getAzureClientsFieldBuilder()
+          .addBuilder(com.google.cloud.gkemulticloud.v1.AzureClient.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -859,12 +942,13 @@ public com.google.cloud.gkemulticloud.v1.AzureClient.Builder addAzureClientsBuil
      *
      * repeated .google.cloud.gkemulticloud.v1.AzureClient azure_clients = 1;
      */
-    public com.google.cloud.gkemulticloud.v1.AzureClient.Builder addAzureClientsBuilder(
-        int index) {
-      return getAzureClientsFieldBuilder().addBuilder(
-          index, com.google.cloud.gkemulticloud.v1.AzureClient.getDefaultInstance());
+    public com.google.cloud.gkemulticloud.v1.AzureClient.Builder addAzureClientsBuilder(int index) {
+      return getAzureClientsFieldBuilder()
+          .addBuilder(index, com.google.cloud.gkemulticloud.v1.AzureClient.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
      * resources in the specified Google Cloud project and region region.
@@ -872,20 +956,23 @@ public com.google.cloud.gkemulticloud.v1.AzureClient.Builder addAzureClientsBuil
      *
      * repeated .google.cloud.gkemulticloud.v1.AzureClient azure_clients = 1;
      */
-    public java.util.List 
-         getAzureClientsBuilderList() {
+    public java.util.List
+        getAzureClientsBuilderList() {
       return getAzureClientsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.gkemulticloud.v1.AzureClient, com.google.cloud.gkemulticloud.v1.AzureClient.Builder, com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder> 
+            com.google.cloud.gkemulticloud.v1.AzureClient,
+            com.google.cloud.gkemulticloud.v1.AzureClient.Builder,
+            com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder>
         getAzureClientsFieldBuilder() {
       if (azureClientsBuilder_ == null) {
-        azureClientsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.gkemulticloud.v1.AzureClient, com.google.cloud.gkemulticloud.v1.AzureClient.Builder, com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder>(
-                azureClients_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        azureClientsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.gkemulticloud.v1.AzureClient,
+                com.google.cloud.gkemulticloud.v1.AzureClient.Builder,
+                com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder>(
+                azureClients_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         azureClients_ = null;
       }
       return azureClientsBuilder_;
@@ -893,19 +980,21 @@ public com.google.cloud.gkemulticloud.v1.AzureClient.Builder addAzureClientsBuil
 
     private java.lang.Object nextPageToken_ = "";
     /**
+     *
+     *
      * 
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -914,21 +1003,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -936,30 +1026,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -969,27 +1066,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -999,12 +1100,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.ListAzureClientsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.ListAzureClientsResponse) private static final com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse(); } @@ -1013,27 +1114,27 @@ public static com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAzureClientsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAzureClientsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1048,6 +1149,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponseOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponseOrBuilder.java similarity index 74% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponseOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponseOrBuilder.java index 6a5a9d2e9faf..5803ec8ded4a 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponseOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface ListAzureClientsResponseOrBuilder extends +public interface ListAzureClientsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.ListAzureClientsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
    * resources in the specified Google Cloud project and region region.
@@ -15,9 +33,10 @@ public interface ListAzureClientsResponseOrBuilder extends
    *
    * repeated .google.cloud.gkemulticloud.v1.AzureClient azure_clients = 1;
    */
-  java.util.List 
-      getAzureClientsList();
+  java.util.List getAzureClientsList();
   /**
+   *
+   *
    * 
    * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
    * resources in the specified Google Cloud project and region region.
@@ -27,6 +46,8 @@ public interface ListAzureClientsResponseOrBuilder extends
    */
   com.google.cloud.gkemulticloud.v1.AzureClient getAzureClients(int index);
   /**
+   *
+   *
    * 
    * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
    * resources in the specified Google Cloud project and region region.
@@ -36,6 +57,8 @@ public interface ListAzureClientsResponseOrBuilder extends
    */
   int getAzureClientsCount();
   /**
+   *
+   *
    * 
    * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
    * resources in the specified Google Cloud project and region region.
@@ -43,9 +66,11 @@ public interface ListAzureClientsResponseOrBuilder extends
    *
    * repeated .google.cloud.gkemulticloud.v1.AzureClient azure_clients = 1;
    */
-  java.util.List 
+  java.util.List
       getAzureClientsOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
    * resources in the specified Google Cloud project and region region.
@@ -53,28 +78,32 @@ public interface ListAzureClientsResponseOrBuilder extends
    *
    * repeated .google.cloud.gkemulticloud.v1.AzureClient azure_clients = 1;
    */
-  com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder getAzureClientsOrBuilder(
-      int index);
+  com.google.cloud.gkemulticloud.v1.AzureClientOrBuilder getAzureClientsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequest.java similarity index 70% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequest.java index 141ce91034db..d6b1b8507432 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Request message for `AzureClusters.ListAzureClusters` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAzureClustersRequest} */ -public final class ListAzureClustersRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAzureClustersRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.ListAzureClustersRequest) ListAzureClustersRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAzureClustersRequest.newBuilder() to construct. private ListAzureClustersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAzureClustersRequest() { parent_ = ""; pageToken_ = ""; @@ -26,28 +44,32 @@ private ListAzureClustersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAzureClustersRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest.class, com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest.class, + com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent location which owns this collection of
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.
@@ -58,7 +80,10 @@ protected java.lang.Object newInstance(
    * for more details on Google Cloud Platform resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,14 +92,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent location which owns this collection of
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.
@@ -85,17 +111,18 @@ public java.lang.String getParent() {
    * for more details on Google Cloud Platform resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -106,6 +133,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * The maximum number of items to return.
    *
@@ -117,6 +146,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -125,9 +155,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * The `nextPageToken` value returned from a previous
    * [azureClusters.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters]
@@ -135,6 +168,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -143,14 +177,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The `nextPageToken` value returned from a previous
    * [azureClusters.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters]
@@ -158,16 +193,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -176,6 +210,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,8 +222,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -211,8 +245,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -225,19 +258,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest other = (com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest) obj; + com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest other = + (com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -261,131 +292,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AzureClusters.ListAzureClusters` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAzureClustersRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.ListAzureClustersRequest) com.google.cloud.gkemulticloud.v1.ListAzureClustersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest.class, com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest.class, + com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -397,9 +433,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_descriptor; } @java.lang.Override @@ -418,8 +454,11 @@ public com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest result = new com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest result = + new com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -441,38 +480,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.ListAzureClustersRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest) other); } else { super.mergeFrom(other); return this; @@ -480,7 +520,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -520,27 +561,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -550,10 +595,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent location which owns this collection of
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.
@@ -564,14 +612,16 @@ public Builder mergeFrom(
      * for more details on Google Cloud Platform resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -580,6 +630,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location which owns this collection of
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.
@@ -590,16 +642,17 @@ public java.lang.String getParent() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -607,6 +660,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent location which owns this collection of
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.
@@ -617,19 +672,25 @@ public java.lang.String getParent() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent location which owns this collection of
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.
@@ -640,7 +701,10 @@ public Builder setParent(
      * for more details on Google Cloud Platform resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -650,6 +714,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent location which owns this collection of
      * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.
@@ -660,13 +726,17 @@ public Builder clearParent() {
      * for more details on Google Cloud Platform resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -674,8 +744,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of items to return.
      *
@@ -687,6 +759,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -694,6 +767,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of items to return.
      *
@@ -705,6 +780,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -716,6 +792,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of items to return.
      *
@@ -727,6 +805,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -738,6 +817,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [azureClusters.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters]
@@ -745,13 +826,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -760,6 +841,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [azureClusters.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters]
@@ -767,15 +850,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -783,6 +865,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [azureClusters.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters]
@@ -790,18 +874,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [azureClusters.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters]
@@ -809,6 +897,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -818,6 +907,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [azureClusters.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters]
@@ -825,21 +916,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -849,12 +942,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.ListAzureClustersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.ListAzureClustersRequest) private static final com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest(); } @@ -863,27 +956,27 @@ public static com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAzureClustersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAzureClustersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -898,6 +991,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequestOrBuilder.java index b012ff6390a5..15f72f260b7b 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface ListAzureClustersRequestOrBuilder extends +public interface ListAzureClustersRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.ListAzureClustersRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent location which owns this collection of
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.
@@ -18,11 +36,16 @@ public interface ListAzureClustersRequestOrBuilder extends
    * for more details on Google Cloud Platform resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent location which owns this collection of
    * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.
@@ -33,13 +56,17 @@ public interface ListAzureClustersRequestOrBuilder extends
    * for more details on Google Cloud Platform resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of items to return.
    *
@@ -51,11 +78,14 @@ public interface ListAzureClustersRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The `nextPageToken` value returned from a previous
    * [azureClusters.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters]
@@ -63,10 +93,13 @@ public interface ListAzureClustersRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The `nextPageToken` value returned from a previous
    * [azureClusters.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters]
@@ -74,8 +107,8 @@ public interface ListAzureClustersRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponse.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponse.java similarity index 75% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponse.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponse.java index b901803bfd4b..9ed4f6daeaaa 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponse.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Response message for `AzureClusters.ListAzureClusters` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAzureClustersResponse} */ -public final class ListAzureClustersResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAzureClustersResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.ListAzureClustersResponse) ListAzureClustersResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAzureClustersResponse.newBuilder() to construct. private ListAzureClustersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAzureClustersResponse() { azureClusters_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,28 +44,32 @@ private ListAzureClustersResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAzureClustersResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse.class, com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse.class, + com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse.Builder.class); } public static final int AZURE_CLUSTERS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List azureClusters_; /** + * + * *
    * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -60,6 +82,8 @@ public java.util.List getAzureCl
     return azureClusters_;
   }
   /**
+   *
+   *
    * 
    * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -68,11 +92,13 @@ public java.util.List getAzureCl
    * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getAzureClustersOrBuilderList() {
     return azureClusters_;
   }
   /**
+   *
+   *
    * 
    * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -85,6 +111,8 @@ public int getAzureClustersCount() {
     return azureClusters_.size();
   }
   /**
+   *
+   *
    * 
    * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -97,6 +125,8 @@ public com.google.cloud.gkemulticloud.v1.AzureCluster getAzureClusters(int index
     return azureClusters_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -111,15 +141,19 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClustersO
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object nextPageToken_ = "";
   /**
+   *
+   *
    * 
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -128,30 +162,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +194,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +206,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < azureClusters_.size(); i++) { output.writeMessage(1, azureClusters_.get(i)); } @@ -189,8 +223,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < azureClusters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, azureClusters_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, azureClusters_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +236,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse other = (com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse) obj; + com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse other = + (com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse) obj; - if (!getAzureClustersList() - .equals(other.getAzureClustersList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getAzureClustersList().equals(other.getAzureClustersList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,131 +269,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for `AzureClusters.ListAzureClusters` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAzureClustersResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.ListAzureClustersResponse) com.google.cloud.gkemulticloud.v1.ListAzureClustersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse.class, com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse.class, + com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +415,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_descriptor; } @java.lang.Override @@ -399,14 +436,18 @@ public com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse buildPartial() { - com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse result = new com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse(this); + com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse result = + new com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse result) { if (azureClustersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { azureClusters_ = java.util.Collections.unmodifiableList(azureClusters_); @@ -429,38 +470,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.ListAzureClustersRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse) other); } else { super.mergeFrom(other); return this; @@ -468,7 +510,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse other) { - if (other == com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse.getDefaultInstance()) + return this; if (azureClustersBuilder_ == null) { if (!other.azureClusters_.isEmpty()) { if (azureClusters_.isEmpty()) { @@ -487,9 +530,10 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAzureClustersResp azureClustersBuilder_ = null; azureClusters_ = other.azureClusters_; bitField0_ = (bitField0_ & ~0x00000001); - azureClustersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAzureClustersFieldBuilder() : null; + azureClustersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAzureClustersFieldBuilder() + : null; } else { azureClustersBuilder_.addAllMessages(other.azureClusters_); } @@ -526,30 +570,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.gkemulticloud.v1.AzureCluster m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureCluster.parser(), - extensionRegistry); - if (azureClustersBuilder_ == null) { - ensureAzureClustersIsMutable(); - azureClusters_.add(m); - } else { - azureClustersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.gkemulticloud.v1.AzureCluster m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureCluster.parser(), extensionRegistry); + if (azureClustersBuilder_ == null) { + ensureAzureClustersIsMutable(); + azureClusters_.add(m); + } else { + azureClustersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -559,21 +605,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List azureClusters_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAzureClustersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - azureClusters_ = new java.util.ArrayList(azureClusters_); + azureClusters_ = + new java.util.ArrayList(azureClusters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureCluster, com.google.cloud.gkemulticloud.v1.AzureCluster.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder> azureClustersBuilder_; + com.google.cloud.gkemulticloud.v1.AzureCluster, + com.google.cloud.gkemulticloud.v1.AzureCluster.Builder, + com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder> + azureClustersBuilder_; /** + * + * *
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -589,6 +643,8 @@ public java.util.List getAzureCl
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -604,6 +660,8 @@ public int getAzureClustersCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -619,6 +677,8 @@ public com.google.cloud.gkemulticloud.v1.AzureCluster getAzureClusters(int index
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -641,6 +701,8 @@ public Builder setAzureClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -660,6 +722,8 @@ public Builder setAzureClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -681,6 +745,8 @@ public Builder addAzureClusters(com.google.cloud.gkemulticloud.v1.AzureCluster v
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -703,6 +769,8 @@ public Builder addAzureClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -722,6 +790,8 @@ public Builder addAzureClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -741,6 +811,8 @@ public Builder addAzureClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -752,8 +824,7 @@ public Builder addAllAzureClusters(
         java.lang.Iterable values) {
       if (azureClustersBuilder_ == null) {
         ensureAzureClustersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, azureClusters_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, azureClusters_);
         onChanged();
       } else {
         azureClustersBuilder_.addAllMessages(values);
@@ -761,6 +832,8 @@ public Builder addAllAzureClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -779,6 +852,8 @@ public Builder clearAzureClusters() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -797,6 +872,8 @@ public Builder removeAzureClusters(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -809,6 +886,8 @@ public com.google.cloud.gkemulticloud.v1.AzureCluster.Builder getAzureClustersBu
       return getAzureClustersFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -819,11 +898,14 @@ public com.google.cloud.gkemulticloud.v1.AzureCluster.Builder getAzureClustersBu
     public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClustersOrBuilder(
         int index) {
       if (azureClustersBuilder_ == null) {
-        return azureClusters_.get(index);  } else {
+        return azureClusters_.get(index);
+      } else {
         return azureClustersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -831,8 +913,8 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClustersO
      *
      * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1;
      */
-    public java.util.List 
-         getAzureClustersOrBuilderList() {
+    public java.util.List
+        getAzureClustersOrBuilderList() {
       if (azureClustersBuilder_ != null) {
         return azureClustersBuilder_.getMessageOrBuilderList();
       } else {
@@ -840,6 +922,8 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClustersO
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -848,10 +932,12 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClustersO
      * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1;
      */
     public com.google.cloud.gkemulticloud.v1.AzureCluster.Builder addAzureClustersBuilder() {
-      return getAzureClustersFieldBuilder().addBuilder(
-          com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance());
+      return getAzureClustersFieldBuilder()
+          .addBuilder(com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -861,10 +947,12 @@ public com.google.cloud.gkemulticloud.v1.AzureCluster.Builder addAzureClustersBu
      */
     public com.google.cloud.gkemulticloud.v1.AzureCluster.Builder addAzureClustersBuilder(
         int index) {
-      return getAzureClustersFieldBuilder().addBuilder(
-          index, com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance());
+      return getAzureClustersFieldBuilder()
+          .addBuilder(index, com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resources in the specified Google Cloud Platform project and region region.
@@ -872,16 +960,22 @@ public com.google.cloud.gkemulticloud.v1.AzureCluster.Builder addAzureClustersBu
      *
      * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1;
      */
-    public java.util.List 
-         getAzureClustersBuilderList() {
+    public java.util.List
+        getAzureClustersBuilderList() {
       return getAzureClustersFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.gkemulticloud.v1.AzureCluster, com.google.cloud.gkemulticloud.v1.AzureCluster.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder> 
+            com.google.cloud.gkemulticloud.v1.AzureCluster,
+            com.google.cloud.gkemulticloud.v1.AzureCluster.Builder,
+            com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder>
         getAzureClustersFieldBuilder() {
       if (azureClustersBuilder_ == null) {
-        azureClustersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.gkemulticloud.v1.AzureCluster, com.google.cloud.gkemulticloud.v1.AzureCluster.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder>(
+        azureClustersBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.gkemulticloud.v1.AzureCluster,
+                com.google.cloud.gkemulticloud.v1.AzureCluster.Builder,
+                com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder>(
                 azureClusters_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -893,19 +987,21 @@ public com.google.cloud.gkemulticloud.v1.AzureCluster.Builder addAzureClustersBu
 
     private java.lang.Object nextPageToken_ = "";
     /**
+     *
+     *
      * 
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -914,21 +1010,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -936,30 +1033,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -969,27 +1073,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -999,12 +1107,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.ListAzureClustersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.ListAzureClustersResponse) private static final com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse(); } @@ -1013,27 +1121,27 @@ public static com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAzureClustersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAzureClustersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1048,6 +1156,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponseOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponseOrBuilder.java similarity index 74% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponseOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponseOrBuilder.java index 64b7f95bcc14..bd2981bd57c4 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponseOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface ListAzureClustersResponseOrBuilder extends +public interface ListAzureClustersResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.ListAzureClustersResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -15,9 +33,10 @@ public interface ListAzureClustersResponseOrBuilder extends
    *
    * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1;
    */
-  java.util.List 
-      getAzureClustersList();
+  java.util.List getAzureClustersList();
   /**
+   *
+   *
    * 
    * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -27,6 +46,8 @@ public interface ListAzureClustersResponseOrBuilder extends
    */
   com.google.cloud.gkemulticloud.v1.AzureCluster getAzureClusters(int index);
   /**
+   *
+   *
    * 
    * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -36,6 +57,8 @@ public interface ListAzureClustersResponseOrBuilder extends
    */
   int getAzureClustersCount();
   /**
+   *
+   *
    * 
    * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -43,9 +66,11 @@ public interface ListAzureClustersResponseOrBuilder extends
    *
    * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1;
    */
-  java.util.List 
+  java.util.List
       getAzureClustersOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resources in the specified Google Cloud Platform project and region region.
@@ -53,28 +78,32 @@ public interface ListAzureClustersResponseOrBuilder extends
    *
    * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1;
    */
-  com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClustersOrBuilder(
-      int index);
+  com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClustersOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequest.java similarity index 71% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequest.java index d0056132286d..ad4e3c8652e4 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Request message for `AzureClusters.ListAzureNodePools` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest} */ -public final class ListAzureNodePoolsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAzureNodePoolsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest) ListAzureNodePoolsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAzureNodePoolsRequest.newBuilder() to construct. private ListAzureNodePoolsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAzureNodePoolsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,28 +44,32 @@ private ListAzureNodePoolsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAzureNodePoolsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest.class, com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest.class, + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent `AzureCluster` which owns this collection of
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
@@ -59,7 +81,10 @@ protected java.lang.Object newInstance(
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -68,14 +93,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent `AzureCluster` which owns this collection of
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
@@ -87,17 +113,18 @@ public java.lang.String getParent() {
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -108,6 +135,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * The maximum number of items to return.
    *
@@ -119,6 +148,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -127,9 +157,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * The `nextPageToken` value returned from a previous
    * [azureNodePools.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools]
@@ -137,6 +170,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -145,14 +179,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The `nextPageToken` value returned from a previous
    * [azureNodePools.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools]
@@ -160,16 +195,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -178,6 +212,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -189,8 +224,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -213,8 +247,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -227,19 +260,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest other = (com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest) obj; + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest other = + (com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -263,131 +294,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AzureClusters.ListAzureNodePools` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest) com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest.class, com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest.class, + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -399,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_descriptor; } @java.lang.Override @@ -420,8 +456,11 @@ public com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest result = new com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest result = + new com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -443,38 +482,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest) other); } else { super.mergeFrom(other); return this; @@ -482,7 +522,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -522,27 +563,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -552,10 +597,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent `AzureCluster` which owns this collection of
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
@@ -567,14 +615,16 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -583,6 +633,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent `AzureCluster` which owns this collection of
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
@@ -594,16 +646,17 @@ public java.lang.String getParent() {
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -611,6 +664,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent `AzureCluster` which owns this collection of
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
@@ -622,19 +677,25 @@ public java.lang.String getParent() {
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent `AzureCluster` which owns this collection of
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
@@ -646,7 +707,10 @@ public Builder setParent(
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -656,6 +720,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent `AzureCluster` which owns this collection of
      * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
@@ -667,13 +733,17 @@ public Builder clearParent() {
      * for more details on Google Cloud resource names.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -681,8 +751,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of items to return.
      *
@@ -694,6 +766,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -701,6 +774,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of items to return.
      *
@@ -712,6 +787,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -723,6 +799,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of items to return.
      *
@@ -734,6 +812,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -745,6 +824,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [azureNodePools.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools]
@@ -752,13 +833,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -767,6 +848,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [azureNodePools.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools]
@@ -774,15 +857,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -790,6 +872,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [azureNodePools.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools]
@@ -797,18 +881,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [azureNodePools.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools]
@@ -816,6 +904,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -825,6 +914,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * The `nextPageToken` value returned from a previous
      * [azureNodePools.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools]
@@ -832,21 +923,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -856,12 +949,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest) private static final com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest(); } @@ -870,27 +963,27 @@ public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAzureNodePoolsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAzureNodePoolsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -905,6 +998,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequestOrBuilder.java index 66c5feb260e4..e30014ea0188 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface ListAzureNodePoolsRequestOrBuilder extends +public interface ListAzureNodePoolsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent `AzureCluster` which owns this collection of
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
@@ -19,11 +37,16 @@ public interface ListAzureNodePoolsRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent `AzureCluster` which owns this collection of
    * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
@@ -35,13 +58,17 @@ public interface ListAzureNodePoolsRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of items to return.
    *
@@ -53,11 +80,14 @@ public interface ListAzureNodePoolsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The `nextPageToken` value returned from a previous
    * [azureNodePools.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools]
@@ -65,10 +95,13 @@ public interface ListAzureNodePoolsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The `nextPageToken` value returned from a previous
    * [azureNodePools.list][google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools]
@@ -76,8 +109,8 @@ public interface ListAzureNodePoolsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponse.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponse.java similarity index 73% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponse.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponse.java index ba000b5d90b1..9e91223dec48 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponse.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Response message for `AzureClusters.ListAzureNodePools` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse} */ -public final class ListAzureNodePoolsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAzureNodePoolsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse) ListAzureNodePoolsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAzureNodePoolsResponse.newBuilder() to construct. private ListAzureNodePoolsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAzureNodePoolsResponse() { azureNodePools_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,28 +44,32 @@ private ListAzureNodePoolsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAzureNodePoolsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse.class, com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse.class, + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse.Builder.class); } public static final int AZURE_NODE_POOLS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List azureNodePools_; /** + * + * *
    * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
    * resources in the specified `AzureCluster`.
@@ -60,6 +82,8 @@ public java.util.List getAzureN
     return azureNodePools_;
   }
   /**
+   *
+   *
    * 
    * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
    * resources in the specified `AzureCluster`.
@@ -68,11 +92,13 @@ public java.util.List getAzureN
    * repeated .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pools = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getAzureNodePoolsOrBuilderList() {
     return azureNodePools_;
   }
   /**
+   *
+   *
    * 
    * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
    * resources in the specified `AzureCluster`.
@@ -85,6 +111,8 @@ public int getAzureNodePoolsCount() {
     return azureNodePools_.size();
   }
   /**
+   *
+   *
    * 
    * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
    * resources in the specified `AzureCluster`.
@@ -97,6 +125,8 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePool getAzureNodePools(int ind
     return azureNodePools_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
    * resources in the specified `AzureCluster`.
@@ -111,15 +141,19 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePool
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object nextPageToken_ = "";
   /**
+   *
+   *
    * 
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -128,30 +162,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +194,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +206,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < azureNodePools_.size(); i++) { output.writeMessage(1, azureNodePools_.get(i)); } @@ -189,8 +223,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < azureNodePools_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, azureNodePools_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, azureNodePools_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +236,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse other = (com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse) obj; + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse other = + (com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse) obj; - if (!getAzureNodePoolsList() - .equals(other.getAzureNodePoolsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getAzureNodePoolsList().equals(other.getAzureNodePoolsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,131 +269,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for `AzureClusters.ListAzureNodePools` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse) com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse.class, com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse.Builder.class); + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse.class, + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -378,13 +415,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse + getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse.getDefaultInstance(); } @@ -399,14 +437,18 @@ public com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse buildPartial() { - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse result = new com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse(this); + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse result = + new com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse result) { if (azureNodePoolsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { azureNodePools_ = java.util.Collections.unmodifiableList(azureNodePools_); @@ -418,7 +460,8 @@ private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.ListAz } } - private void buildPartial0(com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse result) { + private void buildPartial0( + com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -429,38 +472,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse) other); } else { super.mergeFrom(other); return this; @@ -468,7 +512,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse other) { - if (other == com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse.getDefaultInstance()) return this; + if (other + == com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse.getDefaultInstance()) + return this; if (azureNodePoolsBuilder_ == null) { if (!other.azureNodePools_.isEmpty()) { if (azureNodePools_.isEmpty()) { @@ -487,9 +533,10 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRes azureNodePoolsBuilder_ = null; azureNodePools_ = other.azureNodePools_; bitField0_ = (bitField0_ & ~0x00000001); - azureNodePoolsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAzureNodePoolsFieldBuilder() : null; + azureNodePoolsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAzureNodePoolsFieldBuilder() + : null; } else { azureNodePoolsBuilder_.addAllMessages(other.azureNodePools_); } @@ -526,30 +573,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.gkemulticloud.v1.AzureNodePool m = - input.readMessage( - com.google.cloud.gkemulticloud.v1.AzureNodePool.parser(), - extensionRegistry); - if (azureNodePoolsBuilder_ == null) { - ensureAzureNodePoolsIsMutable(); - azureNodePools_.add(m); - } else { - azureNodePoolsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.gkemulticloud.v1.AzureNodePool m = + input.readMessage( + com.google.cloud.gkemulticloud.v1.AzureNodePool.parser(), + extensionRegistry); + if (azureNodePoolsBuilder_ == null) { + ensureAzureNodePoolsIsMutable(); + azureNodePools_.add(m); + } else { + azureNodePoolsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -559,21 +609,30 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List azureNodePools_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAzureNodePoolsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - azureNodePools_ = new java.util.ArrayList(azureNodePools_); + azureNodePools_ = + new java.util.ArrayList( + azureNodePools_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodePool, com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder, com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder> azureNodePoolsBuilder_; + com.google.cloud.gkemulticloud.v1.AzureNodePool, + com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder, + com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder> + azureNodePoolsBuilder_; /** + * + * *
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -589,6 +648,8 @@ public java.util.List getAzureN
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -604,6 +665,8 @@ public int getAzureNodePoolsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -619,6 +682,8 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePool getAzureNodePools(int ind
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -641,6 +706,8 @@ public Builder setAzureNodePools(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -660,6 +727,8 @@ public Builder setAzureNodePools(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -681,6 +750,8 @@ public Builder addAzureNodePools(com.google.cloud.gkemulticloud.v1.AzureNodePool
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -703,6 +774,8 @@ public Builder addAzureNodePools(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -722,6 +795,8 @@ public Builder addAzureNodePools(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -741,6 +816,8 @@ public Builder addAzureNodePools(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -752,8 +829,7 @@ public Builder addAllAzureNodePools(
         java.lang.Iterable values) {
       if (azureNodePoolsBuilder_ == null) {
         ensureAzureNodePoolsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, azureNodePools_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, azureNodePools_);
         onChanged();
       } else {
         azureNodePoolsBuilder_.addAllMessages(values);
@@ -761,6 +837,8 @@ public Builder addAllAzureNodePools(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -779,6 +857,8 @@ public Builder clearAzureNodePools() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -797,6 +877,8 @@ public Builder removeAzureNodePools(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -809,6 +891,8 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder getAzureNodePools
       return getAzureNodePoolsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -819,11 +903,14 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder getAzureNodePools
     public com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePoolsOrBuilder(
         int index) {
       if (azureNodePoolsBuilder_ == null) {
-        return azureNodePools_.get(index);  } else {
+        return azureNodePools_.get(index);
+      } else {
         return azureNodePoolsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -831,8 +918,8 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePool
      *
      * repeated .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pools = 1;
      */
-    public java.util.List 
-         getAzureNodePoolsOrBuilderList() {
+    public java.util.List
+        getAzureNodePoolsOrBuilderList() {
       if (azureNodePoolsBuilder_ != null) {
         return azureNodePoolsBuilder_.getMessageOrBuilderList();
       } else {
@@ -840,6 +927,8 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePool
       }
     }
     /**
+     *
+     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -848,10 +937,12 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePool
      * repeated .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pools = 1;
      */
     public com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder addAzureNodePoolsBuilder() {
-      return getAzureNodePoolsFieldBuilder().addBuilder(
-          com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance());
+      return getAzureNodePoolsFieldBuilder()
+          .addBuilder(com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -861,10 +952,12 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder addAzureNodePools
      */
     public com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder addAzureNodePoolsBuilder(
         int index) {
-      return getAzureNodePoolsFieldBuilder().addBuilder(
-          index, com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance());
+      return getAzureNodePoolsFieldBuilder()
+          .addBuilder(index, com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resources in the specified `AzureCluster`.
@@ -872,16 +965,22 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder addAzureNodePools
      *
      * repeated .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pools = 1;
      */
-    public java.util.List 
-         getAzureNodePoolsBuilderList() {
+    public java.util.List
+        getAzureNodePoolsBuilderList() {
       return getAzureNodePoolsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.gkemulticloud.v1.AzureNodePool, com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder, com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder> 
+            com.google.cloud.gkemulticloud.v1.AzureNodePool,
+            com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder,
+            com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder>
         getAzureNodePoolsFieldBuilder() {
       if (azureNodePoolsBuilder_ == null) {
-        azureNodePoolsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.gkemulticloud.v1.AzureNodePool, com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder, com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder>(
+        azureNodePoolsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.gkemulticloud.v1.AzureNodePool,
+                com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder,
+                com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder>(
                 azureNodePools_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -893,19 +992,21 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder addAzureNodePools
 
     private java.lang.Object nextPageToken_ = "";
     /**
+     *
+     *
      * 
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -914,21 +1015,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -936,30 +1038,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -969,27 +1078,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Token to retrieve the next page of results, or empty if there are no more
      * results in the list.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -999,12 +1112,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse) - private static final com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse(); } @@ -1013,27 +1127,27 @@ public static com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAzureNodePoolsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAzureNodePoolsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1048,6 +1162,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponseOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponseOrBuilder.java similarity index 73% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponseOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponseOrBuilder.java index 230fca70d2b4..4ad3642c8eb1 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponseOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureNodePoolsResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface ListAzureNodePoolsResponseOrBuilder extends +public interface ListAzureNodePoolsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
    * resources in the specified `AzureCluster`.
@@ -15,9 +33,10 @@ public interface ListAzureNodePoolsResponseOrBuilder extends
    *
    * repeated .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pools = 1;
    */
-  java.util.List 
-      getAzureNodePoolsList();
+  java.util.List getAzureNodePoolsList();
   /**
+   *
+   *
    * 
    * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
    * resources in the specified `AzureCluster`.
@@ -27,6 +46,8 @@ public interface ListAzureNodePoolsResponseOrBuilder extends
    */
   com.google.cloud.gkemulticloud.v1.AzureNodePool getAzureNodePools(int index);
   /**
+   *
+   *
    * 
    * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
    * resources in the specified `AzureCluster`.
@@ -36,6 +57,8 @@ public interface ListAzureNodePoolsResponseOrBuilder extends
    */
   int getAzureNodePoolsCount();
   /**
+   *
+   *
    * 
    * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
    * resources in the specified `AzureCluster`.
@@ -43,9 +66,11 @@ public interface ListAzureNodePoolsResponseOrBuilder extends
    *
    * repeated .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pools = 1;
    */
-  java.util.List 
+  java.util.List
       getAzureNodePoolsOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
    * resources in the specified `AzureCluster`.
@@ -53,28 +78,32 @@ public interface ListAzureNodePoolsResponseOrBuilder extends
    *
    * repeated .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pools = 1;
    */
-  com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePoolsOrBuilder(
-      int index);
+  com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePoolsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Token to retrieve the next page of results, or empty if there are no more
    * results in the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LocationName.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LocationName.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LocationName.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LocationName.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfig.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfig.java similarity index 64% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfig.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfig.java index c9d0c8c4adc1..222f75e59f08 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfig.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfig.java @@ -1,58 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Parameters that describe the Logging component configuration in a cluster.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.LoggingComponentConfig} */ -public final class LoggingComponentConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LoggingComponentConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.LoggingComponentConfig) LoggingComponentConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LoggingComponentConfig.newBuilder() to construct. private LoggingComponentConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LoggingComponentConfig() { enableComponents_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LoggingComponentConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.class, com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.class, + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Builder.class); } /** + * + * *
    * The components of the logging configuration;
    * 
* * Protobuf enum {@code google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component} */ - public enum Component - implements com.google.protobuf.ProtocolMessageEnum { + public enum Component implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * No component is specified
      * 
@@ -61,6 +83,8 @@ public enum Component */ COMPONENT_UNSPECIFIED(0), /** + * + * *
      * This indicates that system logging components is enabled.
      * 
@@ -69,6 +93,8 @@ public enum Component */ SYSTEM_COMPONENTS(1), /** + * + * *
      * This indicates that user workload logging component is enabled.
      * 
@@ -80,6 +106,8 @@ public enum Component ; /** + * + * *
      * No component is specified
      * 
@@ -88,6 +116,8 @@ public enum Component */ public static final int COMPONENT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * This indicates that system logging components is enabled.
      * 
@@ -96,6 +126,8 @@ public enum Component */ public static final int SYSTEM_COMPONENTS_VALUE = 1; /** + * + * *
      * This indicates that user workload logging component is enabled.
      * 
@@ -104,7 +136,6 @@ public enum Component */ public static final int WORKLOADS_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -129,49 +160,51 @@ public static Component valueOf(int value) { */ public static Component forNumber(int value) { switch (value) { - case 0: return COMPONENT_UNSPECIFIED; - case 1: return SYSTEM_COMPONENTS; - case 2: return WORKLOADS; - default: return null; + case 0: + return COMPONENT_UNSPECIFIED; + case 1: + return SYSTEM_COMPONENTS; + case 2: + return WORKLOADS; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Component> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Component findValueByNumber(int number) { - return Component.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Component findValueByNumber(int number) { + return Component.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.getDescriptor() + .getEnumTypes() + .get(0); } private static final Component[] VALUES = values(); - public static Component valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Component valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -189,36 +222,57 @@ private Component(int value) { } public static final int ENABLE_COMPONENTS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List enableComponents_; + private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component> enableComponents_converter_ = + java.lang.Integer, com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component> + enableComponents_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component>() { - public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component convert(java.lang.Integer from) { - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component result = com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component.forNumber(from); - return result == null ? com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component.UNRECOGNIZED : result; + java.lang.Integer, + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component>() { + public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component convert( + java.lang.Integer from) { + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component result = + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component.forNumber( + from); + return result == null + ? com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component.UNRECOGNIZED + : result; } }; /** + * + * *
    * The components to be enabled.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @return A list containing the enableComponents. */ @java.lang.Override - public java.util.List getEnableComponentsList() { + public java.util.List + getEnableComponentsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component>(enableComponents_, enableComponents_converter_); + java.lang.Integer, com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component>( + enableComponents_, enableComponents_converter_); } /** + * + * *
    * The components to be enabled.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @return The count of enableComponents. */ @java.lang.Override @@ -226,37 +280,52 @@ public int getEnableComponentsCount() { return enableComponents_.size(); } /** + * + * *
    * The components to be enabled.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param index The index of the element to return. * @return The enableComponents at the given index. */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component getEnableComponents(int index) { + public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component getEnableComponents( + int index) { return enableComponents_converter_.convert(enableComponents_.get(index)); } /** + * + * *
    * The components to be enabled.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @return A list containing the enum numeric values on the wire for enableComponents. */ @java.lang.Override - public java.util.List - getEnableComponentsValueList() { + public java.util.List getEnableComponentsValueList() { return enableComponents_; } /** + * + * *
    * The components to be enabled.
    * 
* - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of enableComponents at the given index. */ @@ -264,9 +333,11 @@ public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component getEna public int getEnableComponentsValue(int index) { return enableComponents_.get(index); } + private int enableComponentsMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -278,8 +349,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (getEnableComponentsList().size() > 0) { output.writeUInt32NoTag(10); @@ -300,14 +370,15 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < enableComponents_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(enableComponents_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(enableComponents_.get(i)); } size += dataSize; - if (!getEnableComponentsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }enableComponentsMemoizedSerializedSize = dataSize; + if (!getEnableComponentsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + enableComponentsMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -317,12 +388,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.LoggingComponentConfig)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig other = (com.google.cloud.gkemulticloud.v1.LoggingComponentConfig) obj; + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig other = + (com.google.cloud.gkemulticloud.v1.LoggingComponentConfig) obj; if (!enableComponents_.equals(other.enableComponents_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -346,131 +418,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.LoggingComponentConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.LoggingComponentConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.LoggingComponentConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.LoggingComponentConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.LoggingComponentConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.LoggingComponentConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.LoggingComponentConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.LoggingComponentConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.LoggingComponentConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.LoggingComponentConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.LoggingComponentConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.LoggingComponentConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.LoggingComponentConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.LoggingComponentConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.LoggingComponentConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Parameters that describe the Logging component configuration in a cluster.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.LoggingComponentConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.LoggingComponentConfig) com.google.cloud.gkemulticloud.v1.LoggingComponentConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.class, com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.class, + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -481,9 +558,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_descriptor; } @java.lang.Override @@ -502,14 +579,18 @@ public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig buildPartial() { - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig result = new com.google.cloud.gkemulticloud.v1.LoggingComponentConfig(this); + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig result = + new com.google.cloud.gkemulticloud.v1.LoggingComponentConfig(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.LoggingComponentConfig result) { + private void buildPartialRepeatedFields( + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig result) { if (((bitField0_ & 0x00000001) != 0)) { enableComponents_ = java.util.Collections.unmodifiableList(enableComponents_); bitField0_ = (bitField0_ & ~0x00000001); @@ -525,38 +606,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.LoggingComponentCon public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.LoggingComponentConfig) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.LoggingComponentConfig)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.LoggingComponentConfig) other); } else { super.mergeFrom(other); return this; @@ -564,7 +646,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.LoggingComponentConfig other) { - if (other == com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.getDefaultInstance()) + return this; if (!other.enableComponents_.isEmpty()) { if (enableComponents_.isEmpty()) { enableComponents_ = other.enableComponents_; @@ -601,29 +684,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - int tmpRaw = input.readEnum(); - ensureEnableComponentsIsMutable(); - enableComponents_.add(tmpRaw); - break; - } // case 8 - case 10: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 8: + { int tmpRaw = input.readEnum(); ensureEnableComponentsIsMutable(); enableComponents_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 8 + case 10: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureEnableComponentsIsMutable(); + enableComponents_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -633,10 +719,11 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List enableComponents_ = - java.util.Collections.emptyList(); + private java.util.List enableComponents_ = java.util.Collections.emptyList(); + private void ensureEnableComponentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { enableComponents_ = new java.util.ArrayList(enableComponents_); @@ -644,46 +731,69 @@ private void ensureEnableComponentsIsMutable() { } } /** + * + * *
      * The components to be enabled.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @return A list containing the enableComponents. */ - public java.util.List getEnableComponentsList() { + public java.util.List + getEnableComponentsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component>(enableComponents_, enableComponents_converter_); + java.lang.Integer, com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component>( + enableComponents_, enableComponents_converter_); } /** + * + * *
      * The components to be enabled.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @return The count of enableComponents. */ public int getEnableComponentsCount() { return enableComponents_.size(); } /** + * + * *
      * The components to be enabled.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param index The index of the element to return. * @return The enableComponents at the given index. */ - public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component getEnableComponents(int index) { + public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component getEnableComponents( + int index) { return enableComponents_converter_.convert(enableComponents_.get(index)); } /** + * + * *
      * The components to be enabled.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param index The index to set the value at. * @param value The enableComponents to set. * @return This builder for chaining. @@ -699,15 +809,21 @@ public Builder setEnableComponents( return this; } /** + * + * *
      * The components to be enabled.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param value The enableComponents to add. * @return This builder for chaining. */ - public Builder addEnableComponents(com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component value) { + public Builder addEnableComponents( + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component value) { if (value == null) { throw new NullPointerException(); } @@ -717,16 +833,23 @@ public Builder addEnableComponents(com.google.cloud.gkemulticloud.v1.LoggingComp return this; } /** + * + * *
      * The components to be enabled.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param values The enableComponents to add. * @return This builder for chaining. */ public Builder addAllEnableComponents( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component> + values) { ensureEnableComponentsIsMutable(); for (com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component value : values) { enableComponents_.add(value.getNumber()); @@ -735,11 +858,16 @@ public Builder addAllEnableComponents( return this; } /** + * + * *
      * The components to be enabled.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @return This builder for chaining. */ public Builder clearEnableComponents() { @@ -749,23 +877,32 @@ public Builder clearEnableComponents() { return this; } /** + * + * *
      * The components to be enabled.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @return A list containing the enum numeric values on the wire for enableComponents. */ - public java.util.List - getEnableComponentsValueList() { + public java.util.List getEnableComponentsValueList() { return java.util.Collections.unmodifiableList(enableComponents_); } /** + * + * *
      * The components to be enabled.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of enableComponents at the given index. */ @@ -773,28 +910,37 @@ public int getEnableComponentsValue(int index) { return enableComponents_.get(index); } /** + * + * *
      * The components to be enabled.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for enableComponents to set. * @return This builder for chaining. */ - public Builder setEnableComponentsValue( - int index, int value) { + public Builder setEnableComponentsValue(int index, int value) { ensureEnableComponentsIsMutable(); enableComponents_.set(index, value); onChanged(); return this; } /** + * + * *
      * The components to be enabled.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param value The enum numeric value on the wire for enableComponents to add. * @return This builder for chaining. */ @@ -805,16 +951,20 @@ public Builder addEnableComponentsValue(int value) { return this; } /** + * + * *
      * The components to be enabled.
      * 
* - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param values The enum numeric values on the wire for enableComponents to add. * @return This builder for chaining. */ - public Builder addAllEnableComponentsValue( - java.lang.Iterable values) { + public Builder addAllEnableComponentsValue(java.lang.Iterable values) { ensureEnableComponentsIsMutable(); for (int value : values) { enableComponents_.add(value); @@ -822,9 +972,9 @@ public Builder addAllEnableComponentsValue( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -834,12 +984,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.LoggingComponentConfig) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.LoggingComponentConfig) private static final com.google.cloud.gkemulticloud.v1.LoggingComponentConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.LoggingComponentConfig(); } @@ -848,27 +998,27 @@ public static com.google.cloud.gkemulticloud.v1.LoggingComponentConfig getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoggingComponentConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LoggingComponentConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -883,6 +1033,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfigOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfigOrBuilder.java new file mode 100644 index 000000000000..26e9e1dd1a21 --- /dev/null +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfigOrBuilder.java @@ -0,0 +1,99 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/common_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface LoggingComponentConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.LoggingComponentConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The components to be enabled.
+   * 
+ * + * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * + * @return A list containing the enableComponents. + */ + java.util.List + getEnableComponentsList(); + /** + * + * + *
+   * The components to be enabled.
+   * 
+ * + * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * + * @return The count of enableComponents. + */ + int getEnableComponentsCount(); + /** + * + * + *
+   * The components to be enabled.
+   * 
+ * + * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * + * @param index The index of the element to return. + * @return The enableComponents at the given index. + */ + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component getEnableComponents(int index); + /** + * + * + *
+   * The components to be enabled.
+   * 
+ * + * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * + * @return A list containing the enum numeric values on the wire for enableComponents. + */ + java.util.List getEnableComponentsValueList(); + /** + * + * + *
+   * The components to be enabled.
+   * 
+ * + * + * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; + * + * + * @param index The index of the value to return. + * @return The enum numeric value on the wire of enableComponents at the given index. + */ + int getEnableComponentsValue(int index); +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfig.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfig.java similarity index 66% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfig.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfig.java index 24b8bf2a958f..5b9b6d7fc7b2 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfig.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfig.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Parameters that describe the Logging configuration in a cluster.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.LoggingConfig} */ -public final class LoggingConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LoggingConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.LoggingConfig) LoggingConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LoggingConfig.newBuilder() to construct. private LoggingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LoggingConfig() { - } + + private LoggingConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LoggingConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.LoggingConfig.class, com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.LoggingConfig.class, + com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder.class); } public static final int COMPONENT_CONFIG_FIELD_NUMBER = 1; private com.google.cloud.gkemulticloud.v1.LoggingComponentConfig componentConfig_; /** + * + * *
    * The configuration of the logging components;
    * 
* * .google.cloud.gkemulticloud.v1.LoggingComponentConfig component_config = 1; + * * @return Whether the componentConfig field is set. */ @java.lang.Override @@ -57,18 +78,25 @@ public boolean hasComponentConfig() { return componentConfig_ != null; } /** + * + * *
    * The configuration of the logging components;
    * 
* * .google.cloud.gkemulticloud.v1.LoggingComponentConfig component_config = 1; + * * @return The componentConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig getComponentConfig() { - return componentConfig_ == null ? com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.getDefaultInstance() : componentConfig_; + return componentConfig_ == null + ? com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.getDefaultInstance() + : componentConfig_; } /** + * + * *
    * The configuration of the logging components;
    * 
@@ -76,11 +104,15 @@ public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig getComponentConf * .google.cloud.gkemulticloud.v1.LoggingComponentConfig component_config = 1; */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.LoggingComponentConfigOrBuilder getComponentConfigOrBuilder() { - return componentConfig_ == null ? com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.getDefaultInstance() : componentConfig_; + public com.google.cloud.gkemulticloud.v1.LoggingComponentConfigOrBuilder + getComponentConfigOrBuilder() { + return componentConfig_ == null + ? com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.getDefaultInstance() + : componentConfig_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -92,8 +124,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (componentConfig_ != null) { output.writeMessage(1, getComponentConfig()); } @@ -107,8 +138,7 @@ public int getSerializedSize() { size = 0; if (componentConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getComponentConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getComponentConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -118,17 +148,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.LoggingConfig)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.LoggingConfig other = (com.google.cloud.gkemulticloud.v1.LoggingConfig) obj; + com.google.cloud.gkemulticloud.v1.LoggingConfig other = + (com.google.cloud.gkemulticloud.v1.LoggingConfig) obj; if (hasComponentConfig() != other.hasComponentConfig()) return false; if (hasComponentConfig()) { - if (!getComponentConfig() - .equals(other.getComponentConfig())) return false; + if (!getComponentConfig().equals(other.getComponentConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -150,132 +180,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.gkemulticloud.v1.LoggingConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.gkemulticloud.v1.LoggingConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.LoggingConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.LoggingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.LoggingConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.LoggingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.LoggingConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.LoggingConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.LoggingConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.LoggingConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.LoggingConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.LoggingConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.LoggingConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.LoggingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.LoggingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Parameters that describe the Logging configuration in a cluster.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.LoggingConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.LoggingConfig) com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.LoggingConfig.class, com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.LoggingConfig.class, + com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.LoggingConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -289,9 +323,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_descriptor; } @java.lang.Override @@ -310,8 +344,11 @@ public com.google.cloud.gkemulticloud.v1.LoggingConfig build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.LoggingConfig buildPartial() { - com.google.cloud.gkemulticloud.v1.LoggingConfig result = new com.google.cloud.gkemulticloud.v1.LoggingConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.LoggingConfig result = + new com.google.cloud.gkemulticloud.v1.LoggingConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -319,9 +356,8 @@ public com.google.cloud.gkemulticloud.v1.LoggingConfig buildPartial() { private void buildPartial0(com.google.cloud.gkemulticloud.v1.LoggingConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.componentConfig_ = componentConfigBuilder_ == null - ? componentConfig_ - : componentConfigBuilder_.build(); + result.componentConfig_ = + componentConfigBuilder_ == null ? componentConfig_ : componentConfigBuilder_.build(); } } @@ -329,38 +365,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.LoggingConfig resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.LoggingConfig) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.LoggingConfig)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.LoggingConfig) other); } else { super.mergeFrom(other); return this; @@ -368,7 +405,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.LoggingConfig other) { - if (other == com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance()) + return this; if (other.hasComponentConfig()) { mergeComponentConfig(other.getComponentConfig()); } @@ -398,19 +436,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getComponentConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getComponentConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,45 +458,60 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.gkemulticloud.v1.LoggingComponentConfig componentConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig, com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Builder, com.google.cloud.gkemulticloud.v1.LoggingComponentConfigOrBuilder> componentConfigBuilder_; + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig, + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Builder, + com.google.cloud.gkemulticloud.v1.LoggingComponentConfigOrBuilder> + componentConfigBuilder_; /** + * + * *
      * The configuration of the logging components;
      * 
* * .google.cloud.gkemulticloud.v1.LoggingComponentConfig component_config = 1; + * * @return Whether the componentConfig field is set. */ public boolean hasComponentConfig() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The configuration of the logging components;
      * 
* * .google.cloud.gkemulticloud.v1.LoggingComponentConfig component_config = 1; + * * @return The componentConfig. */ public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig getComponentConfig() { if (componentConfigBuilder_ == null) { - return componentConfig_ == null ? com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.getDefaultInstance() : componentConfig_; + return componentConfig_ == null + ? com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.getDefaultInstance() + : componentConfig_; } else { return componentConfigBuilder_.getMessage(); } } /** + * + * *
      * The configuration of the logging components;
      * 
* * .google.cloud.gkemulticloud.v1.LoggingComponentConfig component_config = 1; */ - public Builder setComponentConfig(com.google.cloud.gkemulticloud.v1.LoggingComponentConfig value) { + public Builder setComponentConfig( + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig value) { if (componentConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -472,6 +525,8 @@ public Builder setComponentConfig(com.google.cloud.gkemulticloud.v1.LoggingCompo return this; } /** + * + * *
      * The configuration of the logging components;
      * 
@@ -490,17 +545,21 @@ public Builder setComponentConfig( return this; } /** + * + * *
      * The configuration of the logging components;
      * 
* * .google.cloud.gkemulticloud.v1.LoggingComponentConfig component_config = 1; */ - public Builder mergeComponentConfig(com.google.cloud.gkemulticloud.v1.LoggingComponentConfig value) { + public Builder mergeComponentConfig( + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig value) { if (componentConfigBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - componentConfig_ != null && - componentConfig_ != com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && componentConfig_ != null + && componentConfig_ + != com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.getDefaultInstance()) { getComponentConfigBuilder().mergeFrom(value); } else { componentConfig_ = value; @@ -513,6 +572,8 @@ public Builder mergeComponentConfig(com.google.cloud.gkemulticloud.v1.LoggingCom return this; } /** + * + * *
      * The configuration of the logging components;
      * 
@@ -530,33 +591,42 @@ public Builder clearComponentConfig() { return this; } /** + * + * *
      * The configuration of the logging components;
      * 
* * .google.cloud.gkemulticloud.v1.LoggingComponentConfig component_config = 1; */ - public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Builder getComponentConfigBuilder() { + public com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Builder + getComponentConfigBuilder() { bitField0_ |= 0x00000001; onChanged(); return getComponentConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The configuration of the logging components;
      * 
* * .google.cloud.gkemulticloud.v1.LoggingComponentConfig component_config = 1; */ - public com.google.cloud.gkemulticloud.v1.LoggingComponentConfigOrBuilder getComponentConfigOrBuilder() { + public com.google.cloud.gkemulticloud.v1.LoggingComponentConfigOrBuilder + getComponentConfigOrBuilder() { if (componentConfigBuilder_ != null) { return componentConfigBuilder_.getMessageOrBuilder(); } else { - return componentConfig_ == null ? - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.getDefaultInstance() : componentConfig_; + return componentConfig_ == null + ? com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.getDefaultInstance() + : componentConfig_; } } /** + * + * *
      * The configuration of the logging components;
      * 
@@ -564,21 +634,24 @@ public com.google.cloud.gkemulticloud.v1.LoggingComponentConfigOrBuilder getComp * .google.cloud.gkemulticloud.v1.LoggingComponentConfig component_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig, com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Builder, com.google.cloud.gkemulticloud.v1.LoggingComponentConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig, + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Builder, + com.google.cloud.gkemulticloud.v1.LoggingComponentConfigOrBuilder> getComponentConfigFieldBuilder() { if (componentConfigBuilder_ == null) { - componentConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig, com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Builder, com.google.cloud.gkemulticloud.v1.LoggingComponentConfigOrBuilder>( - getComponentConfig(), - getParentForChildren(), - isClean()); + componentConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig, + com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Builder, + com.google.cloud.gkemulticloud.v1.LoggingComponentConfigOrBuilder>( + getComponentConfig(), getParentForChildren(), isClean()); componentConfig_ = null; } return componentConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -588,12 +661,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.LoggingConfig) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.LoggingConfig) private static final com.google.cloud.gkemulticloud.v1.LoggingConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.LoggingConfig(); } @@ -602,27 +675,27 @@ public static com.google.cloud.gkemulticloud.v1.LoggingConfig getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoggingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LoggingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -637,6 +710,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.LoggingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfigOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfigOrBuilder.java similarity index 62% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfigOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfigOrBuilder.java index 70222a1ab87a..ce84ef99d086 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfigOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingConfigOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface LoggingConfigOrBuilder extends +public interface LoggingConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.LoggingConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The configuration of the logging components;
    * 
* * .google.cloud.gkemulticloud.v1.LoggingComponentConfig component_config = 1; + * * @return Whether the componentConfig field is set. */ boolean hasComponentConfig(); /** + * + * *
    * The configuration of the logging components;
    * 
* * .google.cloud.gkemulticloud.v1.LoggingComponentConfig component_config = 1; + * * @return The componentConfig. */ com.google.cloud.gkemulticloud.v1.LoggingComponentConfig getComponentConfig(); /** + * + * *
    * The configuration of the logging components;
    * 
diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ManagedPrometheusConfig.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ManagedPrometheusConfig.java similarity index 65% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ManagedPrometheusConfig.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ManagedPrometheusConfig.java index 64f1977520f3..3a9d428f9171 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ManagedPrometheusConfig.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ManagedPrometheusConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * ManagedPrometheusConfig defines the configuration for
  * Google Cloud Managed Service for Prometheus.
@@ -11,46 +28,50 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.ManagedPrometheusConfig}
  */
-public final class ManagedPrometheusConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ManagedPrometheusConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.ManagedPrometheusConfig)
     ManagedPrometheusConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ManagedPrometheusConfig.newBuilder() to construct.
   private ManagedPrometheusConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ManagedPrometheusConfig() {
-  }
+
+  private ManagedPrometheusConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ManagedPrometheusConfig();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.CommonResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.CommonResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.class, com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.Builder.class);
+            com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.class,
+            com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.Builder.class);
   }
 
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_ = false;
   /**
+   *
+   *
    * 
    * Enable Managed Collection.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -59,6 +80,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -70,8 +92,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -85,8 +106,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -96,15 +116,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig other = (com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig) obj; + com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig other = + (com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -117,106 +137,111 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ManagedPrometheusConfig defines the configuration for
    * Google Cloud Managed Service for Prometheus.
@@ -224,33 +249,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.ManagedPrometheusConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.ManagedPrometheusConfig)
       com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.CommonResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.CommonResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.class, com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.Builder.class);
+              com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.class,
+              com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -260,9 +284,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.CommonResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_descriptor;
     }
 
     @java.lang.Override
@@ -281,8 +305,11 @@ public com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig buildPartial() {
-      com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig result = new com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig result =
+          new com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -298,38 +325,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.ManagedPrometheusCo
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig)other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -337,7 +365,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig other) {
-      if (other == com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.getDefaultInstance()) return this;
+      if (other == com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.getDefaultInstance())
+        return this;
       if (other.getEnabled() != false) {
         setEnabled(other.getEnabled());
       }
@@ -367,17 +396,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              enabled_ = input.readBool();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                enabled_ = input.readBool();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -387,15 +418,19 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private boolean enabled_ ;
+    private boolean enabled_;
     /**
+     *
+     *
      * 
      * Enable Managed Collection.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -403,11 +438,14 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Enable Managed Collection.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ @@ -419,11 +457,14 @@ public Builder setEnabled(boolean value) { return this; } /** + * + * *
      * Enable Managed Collection.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { @@ -432,9 +473,9 @@ public Builder clearEnabled() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -444,12 +485,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.ManagedPrometheusConfig) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.ManagedPrometheusConfig) private static final com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig(); } @@ -458,27 +499,27 @@ public static com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ManagedPrometheusConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ManagedPrometheusConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -493,6 +534,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ManagedPrometheusConfigOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ManagedPrometheusConfigOrBuilder.java new file mode 100644 index 000000000000..fb52cb0489cd --- /dev/null +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ManagedPrometheusConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/common_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface ManagedPrometheusConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.ManagedPrometheusConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Enable Managed Collection.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraint.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraint.java similarity index 66% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraint.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraint.java index 3a8a085330f6..68832fe2aa6b 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraint.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraint.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Constraints applied to pods.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.MaxPodsConstraint} */ -public final class MaxPodsConstraint extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MaxPodsConstraint extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.MaxPodsConstraint) MaxPodsConstraintOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MaxPodsConstraint.newBuilder() to construct. private MaxPodsConstraint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MaxPodsConstraint() { - } + + private MaxPodsConstraint() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MaxPodsConstraint(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.class, com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder.class); + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.class, + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder.class); } public static final int MAX_PODS_PER_NODE_FIELD_NUMBER = 1; private long maxPodsPerNode_ = 0L; /** + * + * *
    * Required. The maximum number of pods to schedule on a single node.
    * 
* * int64 max_pods_per_node = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The maxPodsPerNode. */ @java.lang.Override @@ -58,6 +79,7 @@ public long getMaxPodsPerNode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -69,8 +91,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (maxPodsPerNode_ != 0L) { output.writeInt64(1, maxPodsPerNode_); } @@ -84,8 +105,7 @@ public int getSerializedSize() { size = 0; if (maxPodsPerNode_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, maxPodsPerNode_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, maxPodsPerNode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -95,15 +115,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.MaxPodsConstraint)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint other = (com.google.cloud.gkemulticloud.v1.MaxPodsConstraint) obj; + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint other = + (com.google.cloud.gkemulticloud.v1.MaxPodsConstraint) obj; - if (getMaxPodsPerNode() - != other.getMaxPodsPerNode()) return false; + if (getMaxPodsPerNode() != other.getMaxPodsPerNode()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -116,139 +136,142 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MAX_PODS_PER_NODE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getMaxPodsPerNode()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxPodsPerNode()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.gkemulticloud.v1.MaxPodsConstraint parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.MaxPodsConstraint parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.MaxPodsConstraint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.MaxPodsConstraint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.MaxPodsConstraint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.MaxPodsConstraint parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.MaxPodsConstraint parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.MaxPodsConstraint parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.MaxPodsConstraint parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.MaxPodsConstraint parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.MaxPodsConstraint parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.MaxPodsConstraint parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.MaxPodsConstraint parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.MaxPodsConstraint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.MaxPodsConstraint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Constraints applied to pods.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.MaxPodsConstraint} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.MaxPodsConstraint) com.google.cloud.gkemulticloud.v1.MaxPodsConstraintOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.class, com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder.class); + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.class, + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -258,9 +281,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_descriptor; } @java.lang.Override @@ -279,8 +302,11 @@ public com.google.cloud.gkemulticloud.v1.MaxPodsConstraint build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.MaxPodsConstraint buildPartial() { - com.google.cloud.gkemulticloud.v1.MaxPodsConstraint result = new com.google.cloud.gkemulticloud.v1.MaxPodsConstraint(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.MaxPodsConstraint result = + new com.google.cloud.gkemulticloud.v1.MaxPodsConstraint(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -296,38 +322,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.MaxPodsConstraint r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.MaxPodsConstraint) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.MaxPodsConstraint)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.MaxPodsConstraint) other); } else { super.mergeFrom(other); return this; @@ -335,7 +362,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.MaxPodsConstraint other) { - if (other == com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.MaxPodsConstraint.getDefaultInstance()) + return this; if (other.getMaxPodsPerNode() != 0L) { setMaxPodsPerNode(other.getMaxPodsPerNode()); } @@ -365,17 +393,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - maxPodsPerNode_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + maxPodsPerNode_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -385,15 +415,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private long maxPodsPerNode_ ; + private long maxPodsPerNode_; /** + * + * *
      * Required. The maximum number of pods to schedule on a single node.
      * 
* * int64 max_pods_per_node = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The maxPodsPerNode. */ @java.lang.Override @@ -401,11 +435,14 @@ public long getMaxPodsPerNode() { return maxPodsPerNode_; } /** + * + * *
      * Required. The maximum number of pods to schedule on a single node.
      * 
* * int64 max_pods_per_node = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The maxPodsPerNode to set. * @return This builder for chaining. */ @@ -417,11 +454,14 @@ public Builder setMaxPodsPerNode(long value) { return this; } /** + * + * *
      * Required. The maximum number of pods to schedule on a single node.
      * 
* * int64 max_pods_per_node = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearMaxPodsPerNode() { @@ -430,9 +470,9 @@ public Builder clearMaxPodsPerNode() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -442,12 +482,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.MaxPodsConstraint) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.MaxPodsConstraint) private static final com.google.cloud.gkemulticloud.v1.MaxPodsConstraint DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.MaxPodsConstraint(); } @@ -456,27 +496,27 @@ public static com.google.cloud.gkemulticloud.v1.MaxPodsConstraint getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MaxPodsConstraint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MaxPodsConstraint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -491,6 +531,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.MaxPodsConstraint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraintOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraintOrBuilder.java new file mode 100644 index 000000000000..3705b1f5d206 --- /dev/null +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraintOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/common_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface MaxPodsConstraintOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.MaxPodsConstraint) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The maximum number of pods to schedule on a single node.
+   * 
+ * + * int64 max_pods_per_node = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The maxPodsPerNode. + */ + long getMaxPodsPerNode(); +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MonitoringConfig.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MonitoringConfig.java similarity index 64% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MonitoringConfig.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MonitoringConfig.java index 126017fa0331..1d72eb23934a 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MonitoringConfig.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MonitoringConfig.java @@ -1,55 +1,77 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Parameters that describe the Monitoring configuration in a cluster.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.MonitoringConfig} */ -public final class MonitoringConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MonitoringConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.MonitoringConfig) MonitoringConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MonitoringConfig.newBuilder() to construct. private MonitoringConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MonitoringConfig() { - } + + private MonitoringConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MonitoringConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.MonitoringConfig.class, com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.MonitoringConfig.class, + com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder.class); } public static final int MANAGED_PROMETHEUS_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managedPrometheusConfig_; /** + * + * *
    * Enable Google Cloud Managed Service for Prometheus in the cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * + * * @return Whether the managedPrometheusConfig field is set. */ @java.lang.Override @@ -57,30 +79,43 @@ public boolean hasManagedPrometheusConfig() { return managedPrometheusConfig_ != null; } /** + * + * *
    * Enable Google Cloud Managed Service for Prometheus in the cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * + * * @return The managedPrometheusConfig. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig getManagedPrometheusConfig() { - return managedPrometheusConfig_ == null ? com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.getDefaultInstance() : managedPrometheusConfig_; + return managedPrometheusConfig_ == null + ? com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.getDefaultInstance() + : managedPrometheusConfig_; } /** + * + * *
    * Enable Google Cloud Managed Service for Prometheus in the cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * */ @java.lang.Override - public com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfigOrBuilder getManagedPrometheusConfigOrBuilder() { - return managedPrometheusConfig_ == null ? com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.getDefaultInstance() : managedPrometheusConfig_; + public com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfigOrBuilder + getManagedPrometheusConfigOrBuilder() { + return managedPrometheusConfig_ == null + ? com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.getDefaultInstance() + : managedPrometheusConfig_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -92,8 +127,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (managedPrometheusConfig_ != null) { output.writeMessage(2, getManagedPrometheusConfig()); } @@ -107,8 +141,8 @@ public int getSerializedSize() { size = 0; if (managedPrometheusConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getManagedPrometheusConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, getManagedPrometheusConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -118,17 +152,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.MonitoringConfig)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.MonitoringConfig other = (com.google.cloud.gkemulticloud.v1.MonitoringConfig) obj; + com.google.cloud.gkemulticloud.v1.MonitoringConfig other = + (com.google.cloud.gkemulticloud.v1.MonitoringConfig) obj; if (hasManagedPrometheusConfig() != other.hasManagedPrometheusConfig()) return false; if (hasManagedPrometheusConfig()) { - if (!getManagedPrometheusConfig() - .equals(other.getManagedPrometheusConfig())) return false; + if (!getManagedPrometheusConfig().equals(other.getManagedPrometheusConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -151,131 +185,135 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.MonitoringConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.MonitoringConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.MonitoringConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.MonitoringConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.MonitoringConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.MonitoringConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.MonitoringConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.MonitoringConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.MonitoringConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.MonitoringConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.MonitoringConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.MonitoringConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.MonitoringConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.MonitoringConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.MonitoringConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Parameters that describe the Monitoring configuration in a cluster.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.MonitoringConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.MonitoringConfig) com.google.cloud.gkemulticloud.v1.MonitoringConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.MonitoringConfig.class, com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.MonitoringConfig.class, + com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.MonitoringConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -289,9 +327,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_descriptor; } @java.lang.Override @@ -310,8 +348,11 @@ public com.google.cloud.gkemulticloud.v1.MonitoringConfig build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.MonitoringConfig buildPartial() { - com.google.cloud.gkemulticloud.v1.MonitoringConfig result = new com.google.cloud.gkemulticloud.v1.MonitoringConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.MonitoringConfig result = + new com.google.cloud.gkemulticloud.v1.MonitoringConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -319,9 +360,10 @@ public com.google.cloud.gkemulticloud.v1.MonitoringConfig buildPartial() { private void buildPartial0(com.google.cloud.gkemulticloud.v1.MonitoringConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.managedPrometheusConfig_ = managedPrometheusConfigBuilder_ == null - ? managedPrometheusConfig_ - : managedPrometheusConfigBuilder_.build(); + result.managedPrometheusConfig_ = + managedPrometheusConfigBuilder_ == null + ? managedPrometheusConfig_ + : managedPrometheusConfigBuilder_.build(); } } @@ -329,38 +371,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.MonitoringConfig re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.MonitoringConfig) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.MonitoringConfig)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.MonitoringConfig) other); } else { super.mergeFrom(other); return this; @@ -368,7 +411,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.MonitoringConfig other) { - if (other == com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance()) + return this; if (other.hasManagedPrometheusConfig()) { mergeManagedPrometheusConfig(other.getManagedPrometheusConfig()); } @@ -398,19 +442,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - input.readMessage( - getManagedPrometheusConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + input.readMessage( + getManagedPrometheusConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,45 +465,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managedPrometheusConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig, com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.Builder, com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfigOrBuilder> managedPrometheusConfigBuilder_; + com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig, + com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.Builder, + com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfigOrBuilder> + managedPrometheusConfigBuilder_; /** + * + * *
      * Enable Google Cloud Managed Service for Prometheus in the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * + * * @return Whether the managedPrometheusConfig field is set. */ public boolean hasManagedPrometheusConfig() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Enable Google Cloud Managed Service for Prometheus in the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * + * * @return The managedPrometheusConfig. */ public com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig getManagedPrometheusConfig() { if (managedPrometheusConfigBuilder_ == null) { - return managedPrometheusConfig_ == null ? com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.getDefaultInstance() : managedPrometheusConfig_; + return managedPrometheusConfig_ == null + ? com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.getDefaultInstance() + : managedPrometheusConfig_; } else { return managedPrometheusConfigBuilder_.getMessage(); } } /** + * + * *
      * Enable Google Cloud Managed Service for Prometheus in the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * */ - public Builder setManagedPrometheusConfig(com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig value) { + public Builder setManagedPrometheusConfig( + com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig value) { if (managedPrometheusConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -472,11 +535,14 @@ public Builder setManagedPrometheusConfig(com.google.cloud.gkemulticloud.v1.Mana return this; } /** + * + * *
      * Enable Google Cloud Managed Service for Prometheus in the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * */ public Builder setManagedPrometheusConfig( com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.Builder builderForValue) { @@ -490,17 +556,22 @@ public Builder setManagedPrometheusConfig( return this; } /** + * + * *
      * Enable Google Cloud Managed Service for Prometheus in the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * */ - public Builder mergeManagedPrometheusConfig(com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig value) { + public Builder mergeManagedPrometheusConfig( + com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig value) { if (managedPrometheusConfigBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - managedPrometheusConfig_ != null && - managedPrometheusConfig_ != com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && managedPrometheusConfig_ != null + && managedPrometheusConfig_ + != com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.getDefaultInstance()) { getManagedPrometheusConfigBuilder().mergeFrom(value); } else { managedPrometheusConfig_ = value; @@ -513,11 +584,14 @@ public Builder mergeManagedPrometheusConfig(com.google.cloud.gkemulticloud.v1.Ma return this; } /** + * + * *
      * Enable Google Cloud Managed Service for Prometheus in the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * */ public Builder clearManagedPrometheusConfig() { bitField0_ = (bitField0_ & ~0x00000001); @@ -530,55 +604,70 @@ public Builder clearManagedPrometheusConfig() { return this; } /** + * + * *
      * Enable Google Cloud Managed Service for Prometheus in the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * */ - public com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.Builder getManagedPrometheusConfigBuilder() { + public com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.Builder + getManagedPrometheusConfigBuilder() { bitField0_ |= 0x00000001; onChanged(); return getManagedPrometheusConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Enable Google Cloud Managed Service for Prometheus in the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * */ - public com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfigOrBuilder getManagedPrometheusConfigOrBuilder() { + public com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfigOrBuilder + getManagedPrometheusConfigOrBuilder() { if (managedPrometheusConfigBuilder_ != null) { return managedPrometheusConfigBuilder_.getMessageOrBuilder(); } else { - return managedPrometheusConfig_ == null ? - com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.getDefaultInstance() : managedPrometheusConfig_; + return managedPrometheusConfig_ == null + ? com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.getDefaultInstance() + : managedPrometheusConfig_; } } /** + * + * *
      * Enable Google Cloud Managed Service for Prometheus in the cluster.
      * 
* - * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig, com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.Builder, com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfigOrBuilder> + com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig, + com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.Builder, + com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfigOrBuilder> getManagedPrometheusConfigFieldBuilder() { if (managedPrometheusConfigBuilder_ == null) { - managedPrometheusConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig, com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.Builder, com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfigOrBuilder>( - getManagedPrometheusConfig(), - getParentForChildren(), - isClean()); + managedPrometheusConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig, + com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig.Builder, + com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfigOrBuilder>( + getManagedPrometheusConfig(), getParentForChildren(), isClean()); managedPrometheusConfig_ = null; } return managedPrometheusConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -588,12 +677,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.MonitoringConfig) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.MonitoringConfig) private static final com.google.cloud.gkemulticloud.v1.MonitoringConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.MonitoringConfig(); } @@ -602,27 +691,27 @@ public static com.google.cloud.gkemulticloud.v1.MonitoringConfig getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MonitoringConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MonitoringConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -637,6 +726,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.MonitoringConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MonitoringConfigOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MonitoringConfigOrBuilder.java similarity index 56% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MonitoringConfigOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MonitoringConfigOrBuilder.java index 75e5d36a2cff..6ab788567816 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MonitoringConfigOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MonitoringConfigOrBuilder.java @@ -1,36 +1,64 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface MonitoringConfigOrBuilder extends +public interface MonitoringConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.MonitoringConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Enable Google Cloud Managed Service for Prometheus in the cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * + * * @return Whether the managedPrometheusConfig field is set. */ boolean hasManagedPrometheusConfig(); /** + * + * *
    * Enable Google Cloud Managed Service for Prometheus in the cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * + * * @return The managedPrometheusConfig. */ com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfig getManagedPrometheusConfig(); /** + * + * *
    * Enable Google Cloud Managed Service for Prometheus in the cluster.
    * 
* - * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * .google.cloud.gkemulticloud.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * */ - com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfigOrBuilder getManagedPrometheusConfigOrBuilder(); + com.google.cloud.gkemulticloud.v1.ManagedPrometheusConfigOrBuilder + getManagedPrometheusConfigOrBuilder(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaint.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaint.java similarity index 68% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaint.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaint.java index 38241e397182..0139d0800b47 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaint.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaint.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * The taint content for the node taint.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.NodeTaint} */ -public final class NodeTaint extends - com.google.protobuf.GeneratedMessageV3 implements +public final class NodeTaint extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.NodeTaint) NodeTaintOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NodeTaint.newBuilder() to construct. private NodeTaint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private NodeTaint() { key_ = ""; value_ = ""; @@ -27,34 +45,38 @@ private NodeTaint() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NodeTaint(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_NodeTaint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_NodeTaint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_NodeTaint_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_NodeTaint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.NodeTaint.class, com.google.cloud.gkemulticloud.v1.NodeTaint.Builder.class); + com.google.cloud.gkemulticloud.v1.NodeTaint.class, + com.google.cloud.gkemulticloud.v1.NodeTaint.Builder.class); } /** + * + * *
    * The taint effect.
    * 
* * Protobuf enum {@code google.cloud.gkemulticloud.v1.NodeTaint.Effect} */ - public enum Effect - implements com.google.protobuf.ProtocolMessageEnum { + public enum Effect implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not set.
      * 
@@ -63,6 +85,8 @@ public enum Effect */ EFFECT_UNSPECIFIED(0), /** + * + * *
      * Do not allow new pods to schedule onto the node unless they tolerate the
      * taint, but allow all pods submitted to Kubelet without going through the
@@ -74,6 +98,8 @@ public enum Effect
      */
     NO_SCHEDULE(1),
     /**
+     *
+     *
      * 
      * Like TaintEffectNoSchedule, but the scheduler tries not to schedule
      * new pods onto the node, rather than prohibiting new pods from scheduling
@@ -84,6 +110,8 @@ public enum Effect
      */
     PREFER_NO_SCHEDULE(2),
     /**
+     *
+     *
      * 
      * Evict any already-running pods that do not tolerate the taint.
      * Currently enforced by NodeController.
@@ -96,6 +124,8 @@ public enum Effect
     ;
 
     /**
+     *
+     *
      * 
      * Not set.
      * 
@@ -104,6 +134,8 @@ public enum Effect */ public static final int EFFECT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Do not allow new pods to schedule onto the node unless they tolerate the
      * taint, but allow all pods submitted to Kubelet without going through the
@@ -115,6 +147,8 @@ public enum Effect
      */
     public static final int NO_SCHEDULE_VALUE = 1;
     /**
+     *
+     *
      * 
      * Like TaintEffectNoSchedule, but the scheduler tries not to schedule
      * new pods onto the node, rather than prohibiting new pods from scheduling
@@ -125,6 +159,8 @@ public enum Effect
      */
     public static final int PREFER_NO_SCHEDULE_VALUE = 2;
     /**
+     *
+     *
      * 
      * Evict any already-running pods that do not tolerate the taint.
      * Currently enforced by NodeController.
@@ -134,7 +170,6 @@ public enum Effect
      */
     public static final int NO_EXECUTE_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -159,50 +194,51 @@ public static Effect valueOf(int value) {
      */
     public static Effect forNumber(int value) {
       switch (value) {
-        case 0: return EFFECT_UNSPECIFIED;
-        case 1: return NO_SCHEDULE;
-        case 2: return PREFER_NO_SCHEDULE;
-        case 3: return NO_EXECUTE;
-        default: return null;
+        case 0:
+          return EFFECT_UNSPECIFIED;
+        case 1:
+          return NO_SCHEDULE;
+        case 2:
+          return PREFER_NO_SCHEDULE;
+        case 3:
+          return NO_EXECUTE;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        Effect> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Effect findValueByNumber(int number) {
-              return Effect.forNumber(number);
-            }
-          };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public Effect findValueByNumber(int number) {
+            return Effect.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.gkemulticloud.v1.NodeTaint.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Effect[] VALUES = values();
 
-    public static Effect valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Effect valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -220,14 +256,18 @@ private Effect(int value) {
   }
 
   public static final int KEY_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object key_ = "";
   /**
+   *
+   *
    * 
    * Required. Key for the taint.
    * 
* * string key = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The key. */ @java.lang.Override @@ -236,29 +276,29 @@ public java.lang.String getKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; } } /** + * + * *
    * Required. Key for the taint.
    * 
* * string key = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for key. */ @java.lang.Override - public com.google.protobuf.ByteString - getKeyBytes() { + public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); key_ = b; return b; } else { @@ -267,14 +307,18 @@ public java.lang.String getKey() { } public static final int VALUE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object value_ = ""; /** + * + * *
    * Required. Value for the taint.
    * 
* * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The value. */ @java.lang.Override @@ -283,29 +327,29 @@ public java.lang.String getValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; } } /** + * + * *
    * Required. Value for the taint.
    * 
* * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); value_ = b; return b; } else { @@ -316,30 +360,46 @@ public java.lang.String getValue() { public static final int EFFECT_FIELD_NUMBER = 3; private int effect_ = 0; /** + * + * *
    * Required. The taint effect.
    * 
* - * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for effect. */ - @java.lang.Override public int getEffectValue() { + @java.lang.Override + public int getEffectValue() { return effect_; } /** + * + * *
    * Required. The taint effect.
    * 
* - * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The effect. */ - @java.lang.Override public com.google.cloud.gkemulticloud.v1.NodeTaint.Effect getEffect() { - com.google.cloud.gkemulticloud.v1.NodeTaint.Effect result = com.google.cloud.gkemulticloud.v1.NodeTaint.Effect.forNumber(effect_); - return result == null ? com.google.cloud.gkemulticloud.v1.NodeTaint.Effect.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.NodeTaint.Effect getEffect() { + com.google.cloud.gkemulticloud.v1.NodeTaint.Effect result = + com.google.cloud.gkemulticloud.v1.NodeTaint.Effect.forNumber(effect_); + return result == null + ? com.google.cloud.gkemulticloud.v1.NodeTaint.Effect.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -351,15 +411,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_); } - if (effect_ != com.google.cloud.gkemulticloud.v1.NodeTaint.Effect.EFFECT_UNSPECIFIED.getNumber()) { + if (effect_ + != com.google.cloud.gkemulticloud.v1.NodeTaint.Effect.EFFECT_UNSPECIFIED.getNumber()) { output.writeEnum(3, effect_); } getUnknownFields().writeTo(output); @@ -377,9 +437,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); } - if (effect_ != com.google.cloud.gkemulticloud.v1.NodeTaint.Effect.EFFECT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, effect_); + if (effect_ + != com.google.cloud.gkemulticloud.v1.NodeTaint.Effect.EFFECT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, effect_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -389,17 +449,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.NodeTaint)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.NodeTaint other = (com.google.cloud.gkemulticloud.v1.NodeTaint) obj; + com.google.cloud.gkemulticloud.v1.NodeTaint other = + (com.google.cloud.gkemulticloud.v1.NodeTaint) obj; - if (!getKey() - .equals(other.getKey())) return false; - if (!getValue() - .equals(other.getValue())) return false; + if (!getKey().equals(other.getKey())) return false; + if (!getValue().equals(other.getValue())) return false; if (effect_ != other.effect_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -423,132 +482,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.gkemulticloud.v1.NodeTaint parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.gkemulticloud.v1.NodeTaint parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.NodeTaint parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.NodeTaint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.NodeTaint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.NodeTaint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.NodeTaint parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.NodeTaint parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.NodeTaint parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.NodeTaint parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.NodeTaint parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.NodeTaint parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.NodeTaint parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.NodeTaint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.NodeTaint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The taint content for the node taint.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.NodeTaint} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.NodeTaint) com.google.cloud.gkemulticloud.v1.NodeTaintOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_NodeTaint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_NodeTaint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_NodeTaint_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_NodeTaint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.NodeTaint.class, com.google.cloud.gkemulticloud.v1.NodeTaint.Builder.class); + com.google.cloud.gkemulticloud.v1.NodeTaint.class, + com.google.cloud.gkemulticloud.v1.NodeTaint.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.NodeTaint.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -560,9 +623,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_NodeTaint_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_NodeTaint_descriptor; } @java.lang.Override @@ -581,8 +644,11 @@ public com.google.cloud.gkemulticloud.v1.NodeTaint build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.NodeTaint buildPartial() { - com.google.cloud.gkemulticloud.v1.NodeTaint result = new com.google.cloud.gkemulticloud.v1.NodeTaint(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.NodeTaint result = + new com.google.cloud.gkemulticloud.v1.NodeTaint(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -604,38 +670,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.NodeTaint result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.NodeTaint) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.NodeTaint)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.NodeTaint) other); } else { super.mergeFrom(other); return this; @@ -683,27 +750,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - key_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - value_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - effect_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + key_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + value_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + effect_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -713,22 +784,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object key_ = ""; /** + * + * *
      * Required. Key for the taint.
      * 
* * string key = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; @@ -737,20 +811,21 @@ public java.lang.String getKey() { } } /** + * + * *
      * Required. Key for the taint.
      * 
* * string key = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for key. */ - public com.google.protobuf.ByteString - getKeyBytes() { + public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); key_ = b; return b; } else { @@ -758,28 +833,35 @@ public java.lang.String getKey() { } } /** + * + * *
      * Required. Key for the taint.
      * 
* * string key = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The key to set. * @return This builder for chaining. */ - public Builder setKey( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } key_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Key for the taint.
      * 
* * string key = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearKey() { @@ -789,17 +871,21 @@ public Builder clearKey() { return this; } /** + * + * *
      * Required. Key for the taint.
      * 
* * string key = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for key to set. * @return This builder for chaining. */ - public Builder setKeyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); key_ = value; bitField0_ |= 0x00000001; @@ -809,18 +895,20 @@ public Builder setKeyBytes( private java.lang.Object value_ = ""; /** + * + * *
      * Required. Value for the taint.
      * 
* * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; @@ -829,20 +917,21 @@ public java.lang.String getValue() { } } /** + * + * *
      * Required. Value for the taint.
      * 
* * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for value. */ - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); value_ = b; return b; } else { @@ -850,28 +939,35 @@ public java.lang.String getValue() { } } /** + * + * *
      * Required. Value for the taint.
      * 
* * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setValue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } value_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. Value for the taint.
      * 
* * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearValue() { @@ -881,17 +977,21 @@ public Builder clearValue() { return this; } /** + * + * *
      * Required. Value for the taint.
      * 
* * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); value_ = value; bitField0_ |= 0x00000002; @@ -901,22 +1001,33 @@ public Builder setValueBytes( private int effect_ = 0; /** + * + * *
      * Required. The taint effect.
      * 
* - * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for effect. */ - @java.lang.Override public int getEffectValue() { + @java.lang.Override + public int getEffectValue() { return effect_; } /** + * + * *
      * Required. The taint effect.
      * 
* - * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for effect to set. * @return This builder for chaining. */ @@ -927,24 +1038,37 @@ public Builder setEffectValue(int value) { return this; } /** + * + * *
      * Required. The taint effect.
      * 
* - * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The effect. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.NodeTaint.Effect getEffect() { - com.google.cloud.gkemulticloud.v1.NodeTaint.Effect result = com.google.cloud.gkemulticloud.v1.NodeTaint.Effect.forNumber(effect_); - return result == null ? com.google.cloud.gkemulticloud.v1.NodeTaint.Effect.UNRECOGNIZED : result; + com.google.cloud.gkemulticloud.v1.NodeTaint.Effect result = + com.google.cloud.gkemulticloud.v1.NodeTaint.Effect.forNumber(effect_); + return result == null + ? com.google.cloud.gkemulticloud.v1.NodeTaint.Effect.UNRECOGNIZED + : result; } /** + * + * *
      * Required. The taint effect.
      * 
* - * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The effect to set. * @return This builder for chaining. */ @@ -958,11 +1082,16 @@ public Builder setEffect(com.google.cloud.gkemulticloud.v1.NodeTaint.Effect valu return this; } /** + * + * *
      * Required. The taint effect.
      * 
* - * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearEffect() { @@ -971,9 +1100,9 @@ public Builder clearEffect() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -983,12 +1112,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.NodeTaint) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.NodeTaint) private static final com.google.cloud.gkemulticloud.v1.NodeTaint DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.NodeTaint(); } @@ -997,27 +1126,27 @@ public static com.google.cloud.gkemulticloud.v1.NodeTaint getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeTaint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeTaint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1032,6 +1161,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.NodeTaint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaintOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaintOrBuilder.java similarity index 56% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaintOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaintOrBuilder.java index d1817e341267..1b9338760f64 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaintOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/NodeTaintOrBuilder.java @@ -1,67 +1,103 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface NodeTaintOrBuilder extends +public interface NodeTaintOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.NodeTaint) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Key for the taint.
    * 
* * string key = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The key. */ java.lang.String getKey(); /** + * + * *
    * Required. Key for the taint.
    * 
* * string key = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for key. */ - com.google.protobuf.ByteString - getKeyBytes(); + com.google.protobuf.ByteString getKeyBytes(); /** + * + * *
    * Required. Value for the taint.
    * 
* * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The value. */ java.lang.String getValue(); /** + * + * *
    * Required. Value for the taint.
    * 
* * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for value. */ - com.google.protobuf.ByteString - getValueBytes(); + com.google.protobuf.ByteString getValueBytes(); /** + * + * *
    * Required. The taint effect.
    * 
* - * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for effect. */ int getEffectValue(); /** + * + * *
    * Required. The taint effect.
    * 
* - * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.NodeTaint.Effect effect = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The effect. */ com.google.cloud.gkemulticloud.v1.NodeTaint.Effect getEffect(); diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadata.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadata.java similarity index 71% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadata.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadata.java index 67e1aa2f8a15..dccc80e0bac8 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadata.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadata.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Metadata about a long-running operation.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.OperationMetadata} */ -public final class OperationMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class OperationMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.OperationMetadata) OperationMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OperationMetadata() { target_ = ""; statusDetail_ = ""; @@ -28,32 +46,37 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OperationMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.OperationMetadata.class, com.google.cloud.gkemulticloud.v1.OperationMetadata.Builder.class); + com.google.cloud.gkemulticloud.v1.OperationMetadata.class, + com.google.cloud.gkemulticloud.v1.OperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time at which this operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -61,11 +84,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time at which this operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -73,11 +100,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time at which this operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -87,11 +117,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Output only. The time at which this operation was completed.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -99,11 +133,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Output only. The time at which this operation was completed.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ @java.lang.Override @@ -111,11 +149,14 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Output only. The time at which this operation was completed.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -123,14 +164,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } public static final int TARGET_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object target_ = ""; /** + * + * *
    * Output only. The name of the resource associated to this operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ @java.lang.Override @@ -139,29 +184,29 @@ public java.lang.String getTarget() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; } } /** + * + * *
    * Output only. The name of the resource associated to this operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); target_ = b; return b; } else { @@ -170,14 +215,18 @@ public java.lang.String getTarget() { } public static final int STATUS_DETAIL_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object statusDetail_ = ""; /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_detail = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The statusDetail. */ @java.lang.Override @@ -186,29 +235,29 @@ public java.lang.String getStatusDetail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusDetail_ = s; return s; } } /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_detail = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for statusDetail. */ @java.lang.Override - public com.google.protobuf.ByteString - getStatusDetailBytes() { + public com.google.protobuf.ByteString getStatusDetailBytes() { java.lang.Object ref = statusDetail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusDetail_ = b; return b; } else { @@ -217,15 +266,19 @@ public java.lang.String getStatusDetail() { } public static final int ERROR_DETAIL_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object errorDetail_ = ""; /** + * + * *
    * Output only. Human-readable status of any error that occurred during the
    * operation.
    * 
* * string error_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The errorDetail. */ @java.lang.Override @@ -234,30 +287,30 @@ public java.lang.String getErrorDetail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorDetail_ = s; return s; } } /** + * + * *
    * Output only. Human-readable status of any error that occurred during the
    * operation.
    * 
* * string error_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for errorDetail. */ @java.lang.Override - public com.google.protobuf.ByteString - getErrorDetailBytes() { + public com.google.protobuf.ByteString getErrorDetailBytes() { java.lang.Object ref = errorDetail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorDetail_ = b; return b; } else { @@ -266,15 +319,19 @@ public java.lang.String getErrorDetail() { } public static final int VERB_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object verb_ = ""; /** + * + * *
    * Output only. The verb associated with the API method which triggered this
    * operation. Possible values are "create", "delete", "update" and "import".
    * 
* * string verb = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ @java.lang.Override @@ -283,30 +340,30 @@ public java.lang.String getVerb() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; } } /** + * + * *
    * Output only. The verb associated with the API method which triggered this
    * operation. Possible values are "create", "delete", "update" and "import".
    * 
* * string verb = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ @java.lang.Override - public com.google.protobuf.ByteString - getVerbBytes() { + public com.google.protobuf.ByteString getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); verb_ = b; return b; } else { @@ -317,6 +374,8 @@ public java.lang.String getVerb() { public static final int REQUESTED_CANCELLATION_FIELD_NUMBER = 6; private boolean requestedCancellation_ = false; /** + * + * *
    * Output only. Identifies whether it has been requested cancellation
    * for the operation. Operations that have successfully been cancelled
@@ -326,6 +385,7 @@ public java.lang.String getVerb() {
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ @java.lang.Override @@ -334,6 +394,7 @@ public boolean getRequestedCancellation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -345,8 +406,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -378,12 +438,10 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -395,8 +453,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, errorDetail_); } if (requestedCancellation_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, requestedCancellation_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requestedCancellation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(verb_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, verb_); @@ -409,33 +466,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.OperationMetadata other = (com.google.cloud.gkemulticloud.v1.OperationMetadata) obj; + com.google.cloud.gkemulticloud.v1.OperationMetadata other = + (com.google.cloud.gkemulticloud.v1.OperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; - } - if (!getTarget() - .equals(other.getTarget())) return false; - if (!getStatusDetail() - .equals(other.getStatusDetail())) return false; - if (!getErrorDetail() - .equals(other.getErrorDetail())) return false; - if (!getVerb() - .equals(other.getVerb())) return false; - if (getRequestedCancellation() - != other.getRequestedCancellation()) return false; + if (!getEndTime().equals(other.getEndTime())) return false; + } + if (!getTarget().equals(other.getTarget())) return false; + if (!getStatusDetail().equals(other.getStatusDetail())) return false; + if (!getErrorDetail().equals(other.getErrorDetail())) return false; + if (!getVerb().equals(other.getVerb())) return false; + if (getRequestedCancellation() != other.getRequestedCancellation()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -464,139 +515,142 @@ public int hashCode() { hash = (37 * hash) + VERB_FIELD_NUMBER; hash = (53 * hash) + getVerb().hashCode(); hash = (37 * hash) + REQUESTED_CANCELLATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequestedCancellation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequestedCancellation()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.gkemulticloud.v1.OperationMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.OperationMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.OperationMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.OperationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.OperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.OperationMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.OperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.OperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.OperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.OperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Metadata about a long-running operation.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.OperationMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.OperationMetadata) com.google.cloud.gkemulticloud.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.OperationMetadata.class, com.google.cloud.gkemulticloud.v1.OperationMetadata.Builder.class); + com.google.cloud.gkemulticloud.v1.OperationMetadata.class, + com.google.cloud.gkemulticloud.v1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.OperationMetadata.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -620,9 +674,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -641,8 +695,11 @@ public com.google.cloud.gkemulticloud.v1.OperationMetadata build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.OperationMetadata buildPartial() { - com.google.cloud.gkemulticloud.v1.OperationMetadata result = new com.google.cloud.gkemulticloud.v1.OperationMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.OperationMetadata result = + new com.google.cloud.gkemulticloud.v1.OperationMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -650,14 +707,10 @@ public com.google.cloud.gkemulticloud.v1.OperationMetadata buildPartial() { private void buildPartial0(com.google.cloud.gkemulticloud.v1.OperationMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.target_ = target_; @@ -680,38 +733,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.OperationMetadata r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.OperationMetadata) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.OperationMetadata)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.OperationMetadata) other); } else { super.mergeFrom(other); return this; @@ -719,7 +773,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.OperationMetadata other) { - if (other == com.google.cloud.gkemulticloud.v1.OperationMetadata.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.OperationMetadata.getDefaultInstance()) + return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -775,51 +830,55 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - target_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - statusDetail_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - errorDetail_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 48: { - requestedCancellation_ = input.readBool(); - bitField0_ |= 0x00000040; - break; - } // case 48 - case 58: { - verb_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + target_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + statusDetail_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + errorDetail_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: + { + requestedCancellation_ = input.readBool(); + bitField0_ |= 0x00000040; + break; + } // case 48 + case 58: + { + verb_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -829,43 +888,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The time at which this operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Output only. The time at which this operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time at which this operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -881,14 +960,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -899,17 +981,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time at which this operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -922,11 +1008,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000001); @@ -939,11 +1029,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time at which this operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000001; @@ -951,36 +1045,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time at which this operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. The time at which this operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -988,24 +1094,35 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * Output only. The time at which this operation was completed.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. The time at which this operation was completed.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1016,11 +1133,14 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Output only. The time at which this operation was completed.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1036,14 +1156,16 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this operation was completed.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1054,17 +1176,20 @@ public Builder setEndTime( return this; } /** + * + * *
      * Output only. The time at which this operation was completed.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1077,11 +1202,14 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which this operation was completed.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1094,11 +1222,14 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Output only. The time at which this operation was completed.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000002; @@ -1106,36 +1237,44 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time at which this operation was completed.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * Output only. The time at which this operation was completed.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1143,18 +1282,20 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** + * + * *
      * Output only. The name of the resource associated to this operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; @@ -1163,20 +1304,21 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Output only. The name of the resource associated to this operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); target_ = b; return b; } else { @@ -1184,28 +1326,35 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Output only. The name of the resource associated to this operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTarget(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } target_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. The name of the resource associated to this operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTarget() { @@ -1215,17 +1364,21 @@ public Builder clearTarget() { return this; } /** + * + * *
      * Output only. The name of the resource associated to this operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); target_ = value; bitField0_ |= 0x00000004; @@ -1235,18 +1388,20 @@ public Builder setTargetBytes( private java.lang.Object statusDetail_ = ""; /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_detail = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The statusDetail. */ public java.lang.String getStatusDetail() { java.lang.Object ref = statusDetail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusDetail_ = s; return s; @@ -1255,20 +1410,21 @@ public java.lang.String getStatusDetail() { } } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_detail = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for statusDetail. */ - public com.google.protobuf.ByteString - getStatusDetailBytes() { + public com.google.protobuf.ByteString getStatusDetailBytes() { java.lang.Object ref = statusDetail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusDetail_ = b; return b; } else { @@ -1276,28 +1432,35 @@ public java.lang.String getStatusDetail() { } } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_detail = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The statusDetail to set. * @return This builder for chaining. */ - public Builder setStatusDetail( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStatusDetail(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } statusDetail_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_detail = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearStatusDetail() { @@ -1307,17 +1470,21 @@ public Builder clearStatusDetail() { return this; } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_detail = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for statusDetail to set. * @return This builder for chaining. */ - public Builder setStatusDetailBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStatusDetailBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); statusDetail_ = value; bitField0_ |= 0x00000008; @@ -1327,19 +1494,21 @@ public Builder setStatusDetailBytes( private java.lang.Object errorDetail_ = ""; /** + * + * *
      * Output only. Human-readable status of any error that occurred during the
      * operation.
      * 
* * string error_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The errorDetail. */ public java.lang.String getErrorDetail() { java.lang.Object ref = errorDetail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorDetail_ = s; return s; @@ -1348,21 +1517,22 @@ public java.lang.String getErrorDetail() { } } /** + * + * *
      * Output only. Human-readable status of any error that occurred during the
      * operation.
      * 
* * string error_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for errorDetail. */ - public com.google.protobuf.ByteString - getErrorDetailBytes() { + public com.google.protobuf.ByteString getErrorDetailBytes() { java.lang.Object ref = errorDetail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorDetail_ = b; return b; } else { @@ -1370,30 +1540,37 @@ public java.lang.String getErrorDetail() { } } /** + * + * *
      * Output only. Human-readable status of any error that occurred during the
      * operation.
      * 
* * string error_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The errorDetail to set. * @return This builder for chaining. */ - public Builder setErrorDetail( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setErrorDetail(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } errorDetail_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Output only. Human-readable status of any error that occurred during the
      * operation.
      * 
* * string error_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearErrorDetail() { @@ -1403,18 +1580,22 @@ public Builder clearErrorDetail() { return this; } /** + * + * *
      * Output only. Human-readable status of any error that occurred during the
      * operation.
      * 
* * string error_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for errorDetail to set. * @return This builder for chaining. */ - public Builder setErrorDetailBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setErrorDetailBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); errorDetail_ = value; bitField0_ |= 0x00000010; @@ -1424,19 +1605,21 @@ public Builder setErrorDetailBytes( private java.lang.Object verb_ = ""; /** + * + * *
      * Output only. The verb associated with the API method which triggered this
      * operation. Possible values are "create", "delete", "update" and "import".
      * 
* * string verb = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; @@ -1445,21 +1628,22 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Output only. The verb associated with the API method which triggered this
      * operation. Possible values are "create", "delete", "update" and "import".
      * 
* * string verb = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ - public com.google.protobuf.ByteString - getVerbBytes() { + public com.google.protobuf.ByteString getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); verb_ = b; return b; } else { @@ -1467,30 +1651,37 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Output only. The verb associated with the API method which triggered this
      * operation. Possible values are "create", "delete", "update" and "import".
      * 
* * string verb = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVerb(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } verb_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Output only. The verb associated with the API method which triggered this
      * operation. Possible values are "create", "delete", "update" and "import".
      * 
* * string verb = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearVerb() { @@ -1500,18 +1691,22 @@ public Builder clearVerb() { return this; } /** + * + * *
      * Output only. The verb associated with the API method which triggered this
      * operation. Possible values are "create", "delete", "update" and "import".
      * 
* * string verb = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVerbBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); verb_ = value; bitField0_ |= 0x00000020; @@ -1519,8 +1714,10 @@ public Builder setVerbBytes( return this; } - private boolean requestedCancellation_ ; + private boolean requestedCancellation_; /** + * + * *
      * Output only. Identifies whether it has been requested cancellation
      * for the operation. Operations that have successfully been cancelled
@@ -1530,6 +1727,7 @@ public Builder setVerbBytes(
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ @java.lang.Override @@ -1537,6 +1735,8 @@ public boolean getRequestedCancellation() { return requestedCancellation_; } /** + * + * *
      * Output only. Identifies whether it has been requested cancellation
      * for the operation. Operations that have successfully been cancelled
@@ -1546,6 +1746,7 @@ public boolean getRequestedCancellation() {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The requestedCancellation to set. * @return This builder for chaining. */ @@ -1557,6 +1758,8 @@ public Builder setRequestedCancellation(boolean value) { return this; } /** + * + * *
      * Output only. Identifies whether it has been requested cancellation
      * for the operation. Operations that have successfully been cancelled
@@ -1566,6 +1769,7 @@ public Builder setRequestedCancellation(boolean value) {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { @@ -1574,9 +1778,9 @@ public Builder clearRequestedCancellation() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1586,12 +1790,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.OperationMetadata) private static final com.google.cloud.gkemulticloud.v1.OperationMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.OperationMetadata(); } @@ -1600,27 +1804,27 @@ public static com.google.cloud.gkemulticloud.v1.OperationMetadata getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1635,6 +1839,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadataOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadataOrBuilder.java similarity index 76% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadataOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadataOrBuilder.java index 3280f4de01e3..b79590f7abc9 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadataOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/OperationMetadataOrBuilder.java @@ -1,151 +1,211 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface OperationMetadataOrBuilder extends +public interface OperationMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The time at which this operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time at which this operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time at which this operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time at which this operation was completed.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Output only. The time at which this operation was completed.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Output only. The time at which this operation was completed.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Output only. The name of the resource associated to this operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ java.lang.String getTarget(); /** + * + * *
    * Output only. The name of the resource associated to this operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ - com.google.protobuf.ByteString - getTargetBytes(); + com.google.protobuf.ByteString getTargetBytes(); /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_detail = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The statusDetail. */ java.lang.String getStatusDetail(); /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_detail = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for statusDetail. */ - com.google.protobuf.ByteString - getStatusDetailBytes(); + com.google.protobuf.ByteString getStatusDetailBytes(); /** + * + * *
    * Output only. Human-readable status of any error that occurred during the
    * operation.
    * 
* * string error_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The errorDetail. */ java.lang.String getErrorDetail(); /** + * + * *
    * Output only. Human-readable status of any error that occurred during the
    * operation.
    * 
* * string error_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for errorDetail. */ - com.google.protobuf.ByteString - getErrorDetailBytes(); + com.google.protobuf.ByteString getErrorDetailBytes(); /** + * + * *
    * Output only. The verb associated with the API method which triggered this
    * operation. Possible values are "create", "delete", "update" and "import".
    * 
* * string verb = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ java.lang.String getVerb(); /** + * + * *
    * Output only. The verb associated with the API method which triggered this
    * operation. Possible values are "create", "delete", "update" and "import".
    * 
* * string verb = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ - com.google.protobuf.ByteString - getVerbBytes(); + com.google.protobuf.ByteString getVerbBytes(); /** + * + * *
    * Output only. Identifies whether it has been requested cancellation
    * for the operation. Operations that have successfully been cancelled
@@ -155,6 +215,7 @@ public interface OperationMetadataOrBuilder extends
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ boolean getRequestedCancellation(); diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacement.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacement.java similarity index 71% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacement.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacement.java index 77c6dd29f502..8a3d6a31902a 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacement.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacement.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Configuration for the placement of a control plane replica.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ReplicaPlacement} */ -public final class ReplicaPlacement extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ReplicaPlacement extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.ReplicaPlacement) ReplicaPlacementOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReplicaPlacement.newBuilder() to construct. private ReplicaPlacement(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ReplicaPlacement() { subnetId_ = ""; azureAvailabilityZone_ = ""; @@ -26,28 +44,32 @@ private ReplicaPlacement() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReplicaPlacement(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ReplicaPlacement.class, com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder.class); + com.google.cloud.gkemulticloud.v1.ReplicaPlacement.class, + com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder.class); } public static final int SUBNET_ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object subnetId_ = ""; /** + * + * *
    * Required. For a given replica, the ARM ID of the subnet where the control
    * plane VM is deployed. Make sure it's a subnet under the virtual network in
@@ -55,6 +77,7 @@ protected java.lang.Object newInstance(
    * 
* * string subnet_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The subnetId. */ @java.lang.Override @@ -63,14 +86,15 @@ public java.lang.String getSubnetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetId_ = s; return s; } } /** + * + * *
    * Required. For a given replica, the ARM ID of the subnet where the control
    * plane VM is deployed. Make sure it's a subnet under the virtual network in
@@ -78,16 +102,15 @@ public java.lang.String getSubnetId() {
    * 
* * string subnet_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for subnetId. */ @java.lang.Override - public com.google.protobuf.ByteString - getSubnetIdBytes() { + public com.google.protobuf.ByteString getSubnetIdBytes() { java.lang.Object ref = subnetId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subnetId_ = b; return b; } else { @@ -96,15 +119,19 @@ public java.lang.String getSubnetId() { } public static final int AZURE_AVAILABILITY_ZONE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object azureAvailabilityZone_ = ""; /** + * + * *
    * Required. For a given replica, the Azure availability zone where to
    * provision the control plane VM and the ETCD disk.
    * 
* * string azure_availability_zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The azureAvailabilityZone. */ @java.lang.Override @@ -113,30 +140,30 @@ public java.lang.String getAzureAvailabilityZone() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureAvailabilityZone_ = s; return s; } } /** + * + * *
    * Required. For a given replica, the Azure availability zone where to
    * provision the control plane VM and the ETCD disk.
    * 
* * string azure_availability_zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for azureAvailabilityZone. */ @java.lang.Override - public com.google.protobuf.ByteString - getAzureAvailabilityZoneBytes() { + public com.google.protobuf.ByteString getAzureAvailabilityZoneBytes() { java.lang.Object ref = azureAvailabilityZone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); azureAvailabilityZone_ = b; return b; } else { @@ -145,6 +172,7 @@ public java.lang.String getAzureAvailabilityZone() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -156,8 +184,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnetId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, subnetId_); } @@ -187,17 +214,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.ReplicaPlacement)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.ReplicaPlacement other = (com.google.cloud.gkemulticloud.v1.ReplicaPlacement) obj; + com.google.cloud.gkemulticloud.v1.ReplicaPlacement other = + (com.google.cloud.gkemulticloud.v1.ReplicaPlacement) obj; - if (!getSubnetId() - .equals(other.getSubnetId())) return false; - if (!getAzureAvailabilityZone() - .equals(other.getAzureAvailabilityZone())) return false; + if (!getSubnetId().equals(other.getSubnetId())) return false; + if (!getAzureAvailabilityZone().equals(other.getAzureAvailabilityZone())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -219,131 +245,135 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.ReplicaPlacement parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ReplicaPlacement parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ReplicaPlacement parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ReplicaPlacement parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ReplicaPlacement parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.ReplicaPlacement parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ReplicaPlacement parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.ReplicaPlacement parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.ReplicaPlacement parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.ReplicaPlacement parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.ReplicaPlacement parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.ReplicaPlacement parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.ReplicaPlacement parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.ReplicaPlacement parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.ReplicaPlacement prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for the placement of a control plane replica.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.ReplicaPlacement} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.ReplicaPlacement) com.google.cloud.gkemulticloud.v1.ReplicaPlacementOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.ReplicaPlacement.class, com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder.class); + com.google.cloud.gkemulticloud.v1.ReplicaPlacement.class, + com.google.cloud.gkemulticloud.v1.ReplicaPlacement.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.ReplicaPlacement.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -354,9 +384,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureResourcesProto.internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_descriptor; } @java.lang.Override @@ -375,8 +405,11 @@ public com.google.cloud.gkemulticloud.v1.ReplicaPlacement build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.ReplicaPlacement buildPartial() { - com.google.cloud.gkemulticloud.v1.ReplicaPlacement result = new com.google.cloud.gkemulticloud.v1.ReplicaPlacement(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.ReplicaPlacement result = + new com.google.cloud.gkemulticloud.v1.ReplicaPlacement(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -395,38 +428,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.ReplicaPlacement re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.ReplicaPlacement) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.ReplicaPlacement)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.ReplicaPlacement) other); } else { super.mergeFrom(other); return this; @@ -434,7 +468,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.ReplicaPlacement other) { - if (other == com.google.cloud.gkemulticloud.v1.ReplicaPlacement.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.ReplicaPlacement.getDefaultInstance()) + return this; if (!other.getSubnetId().isEmpty()) { subnetId_ = other.subnetId_; bitField0_ |= 0x00000001; @@ -471,22 +506,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - subnetId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - azureAvailabilityZone_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + subnetId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + azureAvailabilityZone_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -496,10 +534,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object subnetId_ = ""; /** + * + * *
      * Required. For a given replica, the ARM ID of the subnet where the control
      * plane VM is deployed. Make sure it's a subnet under the virtual network in
@@ -507,13 +548,13 @@ public Builder mergeFrom(
      * 
* * string subnet_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The subnetId. */ public java.lang.String getSubnetId() { java.lang.Object ref = subnetId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetId_ = s; return s; @@ -522,6 +563,8 @@ public java.lang.String getSubnetId() { } } /** + * + * *
      * Required. For a given replica, the ARM ID of the subnet where the control
      * plane VM is deployed. Make sure it's a subnet under the virtual network in
@@ -529,15 +572,14 @@ public java.lang.String getSubnetId() {
      * 
* * string subnet_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for subnetId. */ - public com.google.protobuf.ByteString - getSubnetIdBytes() { + public com.google.protobuf.ByteString getSubnetIdBytes() { java.lang.Object ref = subnetId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subnetId_ = b; return b; } else { @@ -545,6 +587,8 @@ public java.lang.String getSubnetId() { } } /** + * + * *
      * Required. For a given replica, the ARM ID of the subnet where the control
      * plane VM is deployed. Make sure it's a subnet under the virtual network in
@@ -552,18 +596,22 @@ public java.lang.String getSubnetId() {
      * 
* * string subnet_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The subnetId to set. * @return This builder for chaining. */ - public Builder setSubnetId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSubnetId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } subnetId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. For a given replica, the ARM ID of the subnet where the control
      * plane VM is deployed. Make sure it's a subnet under the virtual network in
@@ -571,6 +619,7 @@ public Builder setSubnetId(
      * 
* * string subnet_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSubnetId() { @@ -580,6 +629,8 @@ public Builder clearSubnetId() { return this; } /** + * + * *
      * Required. For a given replica, the ARM ID of the subnet where the control
      * plane VM is deployed. Make sure it's a subnet under the virtual network in
@@ -587,12 +638,14 @@ public Builder clearSubnetId() {
      * 
* * string subnet_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for subnetId to set. * @return This builder for chaining. */ - public Builder setSubnetIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSubnetIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); subnetId_ = value; bitField0_ |= 0x00000001; @@ -602,19 +655,21 @@ public Builder setSubnetIdBytes( private java.lang.Object azureAvailabilityZone_ = ""; /** + * + * *
      * Required. For a given replica, the Azure availability zone where to
      * provision the control plane VM and the ETCD disk.
      * 
* * string azure_availability_zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The azureAvailabilityZone. */ public java.lang.String getAzureAvailabilityZone() { java.lang.Object ref = azureAvailabilityZone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); azureAvailabilityZone_ = s; return s; @@ -623,21 +678,22 @@ public java.lang.String getAzureAvailabilityZone() { } } /** + * + * *
      * Required. For a given replica, the Azure availability zone where to
      * provision the control plane VM and the ETCD disk.
      * 
* * string azure_availability_zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for azureAvailabilityZone. */ - public com.google.protobuf.ByteString - getAzureAvailabilityZoneBytes() { + public com.google.protobuf.ByteString getAzureAvailabilityZoneBytes() { java.lang.Object ref = azureAvailabilityZone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); azureAvailabilityZone_ = b; return b; } else { @@ -645,30 +701,37 @@ public java.lang.String getAzureAvailabilityZone() { } } /** + * + * *
      * Required. For a given replica, the Azure availability zone where to
      * provision the control plane VM and the ETCD disk.
      * 
* * string azure_availability_zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The azureAvailabilityZone to set. * @return This builder for chaining. */ - public Builder setAzureAvailabilityZone( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAzureAvailabilityZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } azureAvailabilityZone_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. For a given replica, the Azure availability zone where to
      * provision the control plane VM and the ETCD disk.
      * 
* * string azure_availability_zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAzureAvailabilityZone() { @@ -678,27 +741,31 @@ public Builder clearAzureAvailabilityZone() { return this; } /** + * + * *
      * Required. For a given replica, the Azure availability zone where to
      * provision the control plane VM and the ETCD disk.
      * 
* * string azure_availability_zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for azureAvailabilityZone to set. * @return This builder for chaining. */ - public Builder setAzureAvailabilityZoneBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAzureAvailabilityZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); azureAvailabilityZone_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -708,12 +775,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.ReplicaPlacement) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.ReplicaPlacement) private static final com.google.cloud.gkemulticloud.v1.ReplicaPlacement DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.ReplicaPlacement(); } @@ -722,27 +789,27 @@ public static com.google.cloud.gkemulticloud.v1.ReplicaPlacement getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReplicaPlacement parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReplicaPlacement parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -757,6 +824,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.ReplicaPlacement getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacementOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacementOrBuilder.java similarity index 67% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacementOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacementOrBuilder.java index e00cf0a2d4ad..43d69c2639ef 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacementOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ReplicaPlacementOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface ReplicaPlacementOrBuilder extends +public interface ReplicaPlacementOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.ReplicaPlacement) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. For a given replica, the ARM ID of the subnet where the control
    * plane VM is deployed. Make sure it's a subnet under the virtual network in
@@ -15,10 +33,13 @@ public interface ReplicaPlacementOrBuilder extends
    * 
* * string subnet_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The subnetId. */ java.lang.String getSubnetId(); /** + * + * *
    * Required. For a given replica, the ARM ID of the subnet where the control
    * plane VM is deployed. Make sure it's a subnet under the virtual network in
@@ -26,30 +47,35 @@ public interface ReplicaPlacementOrBuilder extends
    * 
* * string subnet_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for subnetId. */ - com.google.protobuf.ByteString - getSubnetIdBytes(); + com.google.protobuf.ByteString getSubnetIdBytes(); /** + * + * *
    * Required. For a given replica, the Azure availability zone where to
    * provision the control plane VM and the ETCD disk.
    * 
* * string azure_availability_zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The azureAvailabilityZone. */ java.lang.String getAzureAvailabilityZone(); /** + * + * *
    * Required. For a given replica, the Azure availability zone where to
    * provision the control plane VM and the ETCD disk.
    * 
* * string azure_availability_zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for azureAvailabilityZone. */ - com.google.protobuf.ByteString - getAzureAvailabilityZoneBytes(); + com.google.protobuf.ByteString getAzureAvailabilityZoneBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/RollbackAwsNodePoolUpdateRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/RollbackAwsNodePoolUpdateRequest.java similarity index 63% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/RollbackAwsNodePoolUpdateRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/RollbackAwsNodePoolUpdateRequest.java index 841fa7b1f1f5..56aac871f5b6 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/RollbackAwsNodePoolUpdateRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/RollbackAwsNodePoolUpdateRequest.java @@ -1,52 +1,75 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Request message for `AwsClusters.RollbackAwsNodePoolUpdate` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest} */ -public final class RollbackAwsNodePoolUpdateRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RollbackAwsNodePoolUpdateRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest) RollbackAwsNodePoolUpdateRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RollbackAwsNodePoolUpdateRequest.newBuilder() to construct. - private RollbackAwsNodePoolUpdateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private RollbackAwsNodePoolUpdateRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RollbackAwsNodePoolUpdateRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RollbackAwsNodePoolUpdateRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_RollbackAwsNodePoolUpdateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_RollbackAwsNodePoolUpdateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_RollbackAwsNodePoolUpdateRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_RollbackAwsNodePoolUpdateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest.class, com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest.class, + com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
@@ -59,7 +82,10 @@ protected java.lang.Object newInstance(
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -68,14 +94,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
@@ -88,17 +115,18 @@ public java.lang.String getName() {
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -109,12 +137,15 @@ public java.lang.String getName() { public static final int RESPECT_PDB_FIELD_NUMBER = 2; private boolean respectPdb_ = false; /** + * + * *
    * Optional. Option for rollback to ignore the PodDisruptionBudget when
    * draining the node pool nodes. Default value is false.
    * 
* * bool respect_pdb = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The respectPdb. */ @java.lang.Override @@ -123,6 +154,7 @@ public boolean getRespectPdb() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -134,8 +166,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -155,8 +186,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (respectPdb_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, respectPdb_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, respectPdb_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -166,17 +196,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest other = (com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest) obj; + com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest other = + (com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getRespectPdb() - != other.getRespectPdb()) return false; + if (!getName().equals(other.getName())) return false; + if (getRespectPdb() != other.getRespectPdb()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -191,139 +220,145 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + RESPECT_PDB_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRespectPdb()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRespectPdb()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AwsClusters.RollbackAwsNodePoolUpdate` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest) com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_RollbackAwsNodePoolUpdateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_RollbackAwsNodePoolUpdateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_RollbackAwsNodePoolUpdateRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_RollbackAwsNodePoolUpdateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest.class, com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest.class, + com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest.Builder.class); } - // Construct using com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -334,14 +369,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_RollbackAwsNodePoolUpdateRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_RollbackAwsNodePoolUpdateRequest_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest getDefaultInstanceForType() { - return com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest.getDefaultInstance(); + public com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest + getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest + .getDefaultInstance(); } @java.lang.Override @@ -355,13 +392,17 @@ public com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest build( @java.lang.Override public com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest result = new com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest result = + new com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest result) { + private void buildPartial0( + com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -375,46 +416,51 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.RollbackAwsNodePool public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest)other); + return mergeFrom( + (com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest other) { + if (other + == com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -449,22 +495,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - respectPdb_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + respectPdb_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -474,10 +523,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
@@ -490,14 +542,16 @@ public Builder mergeFrom(
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -506,6 +560,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
@@ -518,16 +574,17 @@ public java.lang.String getName() {
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -535,6 +592,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
@@ -547,19 +606,25 @@ public java.lang.String getName() {
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
@@ -572,7 +637,10 @@ public Builder setName(
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -582,6 +650,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the
      * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
@@ -594,13 +664,17 @@ public Builder clearName() {
      * for more details on Google Cloud resource names.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -608,14 +682,17 @@ public Builder setNameBytes( return this; } - private boolean respectPdb_ ; + private boolean respectPdb_; /** + * + * *
      * Optional. Option for rollback to ignore the PodDisruptionBudget when
      * draining the node pool nodes. Default value is false.
      * 
* * bool respect_pdb = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The respectPdb. */ @java.lang.Override @@ -623,12 +700,15 @@ public boolean getRespectPdb() { return respectPdb_; } /** + * + * *
      * Optional. Option for rollback to ignore the PodDisruptionBudget when
      * draining the node pool nodes. Default value is false.
      * 
* * bool respect_pdb = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The respectPdb to set. * @return This builder for chaining. */ @@ -640,12 +720,15 @@ public Builder setRespectPdb(boolean value) { return this; } /** + * + * *
      * Optional. Option for rollback to ignore the PodDisruptionBudget when
      * draining the node pool nodes. Default value is false.
      * 
* * bool respect_pdb = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRespectPdb() { @@ -654,9 +737,9 @@ public Builder clearRespectPdb() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -666,41 +749,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest) - private static final com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest DEFAULT_INSTANCE; + private static final com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest(); } - public static com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RollbackAwsNodePoolUpdateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RollbackAwsNodePoolUpdateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -712,9 +797,8 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/RollbackAwsNodePoolUpdateRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/RollbackAwsNodePoolUpdateRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/RollbackAwsNodePoolUpdateRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/RollbackAwsNodePoolUpdateRequestOrBuilder.java index b809be15d7a0..15a9ef144ea7 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/RollbackAwsNodePoolUpdateRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/RollbackAwsNodePoolUpdateRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface RollbackAwsNodePoolUpdateRequestOrBuilder extends +public interface RollbackAwsNodePoolUpdateRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
@@ -20,11 +38,16 @@ public interface RollbackAwsNodePoolUpdateRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the
    * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to
@@ -37,19 +60,24 @@ public interface RollbackAwsNodePoolUpdateRequestOrBuilder extends
    * for more details on Google Cloud resource names.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. Option for rollback to ignore the PodDisruptionBudget when
    * draining the node pool nodes. Default value is false.
    * 
* * bool respect_pdb = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The respectPdb. */ boolean getRespectPdb(); diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SpotConfig.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SpotConfig.java similarity index 68% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SpotConfig.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SpotConfig.java index 6ca1e2a52386..47f331206e8b 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SpotConfig.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SpotConfig.java @@ -1,82 +1,109 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * SpotConfig has configuration info for Spot node.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.SpotConfig} */ -public final class SpotConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SpotConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.SpotConfig) SpotConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SpotConfig.newBuilder() to construct. private SpotConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SpotConfig() { - instanceTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + instanceTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SpotConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_SpotConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_SpotConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_SpotConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_SpotConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.SpotConfig.class, com.google.cloud.gkemulticloud.v1.SpotConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.SpotConfig.class, + com.google.cloud.gkemulticloud.v1.SpotConfig.Builder.class); } public static final int INSTANCE_TYPES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList instanceTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Required. A list of instance types for creating spot node pool.
    * 
* * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the instanceTypes. */ - public com.google.protobuf.ProtocolStringList - getInstanceTypesList() { + public com.google.protobuf.ProtocolStringList getInstanceTypesList() { return instanceTypes_; } /** + * + * *
    * Required. A list of instance types for creating spot node pool.
    * 
* * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of instanceTypes. */ public int getInstanceTypesCount() { return instanceTypes_.size(); } /** + * + * *
    * Required. A list of instance types for creating spot node pool.
    * 
* * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The instanceTypes at the given index. */ @@ -84,20 +111,23 @@ public java.lang.String getInstanceTypes(int index) { return instanceTypes_.get(index); } /** + * + * *
    * Required. A list of instance types for creating spot node pool.
    * 
* * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the instanceTypes at the given index. */ - public com.google.protobuf.ByteString - getInstanceTypesBytes(int index) { + public com.google.protobuf.ByteString getInstanceTypesBytes(int index) { return instanceTypes_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < instanceTypes_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceTypes_.getRaw(i)); } @@ -139,15 +168,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.SpotConfig)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.SpotConfig other = (com.google.cloud.gkemulticloud.v1.SpotConfig) obj; + com.google.cloud.gkemulticloud.v1.SpotConfig other = + (com.google.cloud.gkemulticloud.v1.SpotConfig) obj; - if (!getInstanceTypesList() - .equals(other.getInstanceTypesList())) return false; + if (!getInstanceTypesList().equals(other.getInstanceTypesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -168,145 +197,148 @@ public int hashCode() { return hash; } - public static com.google.cloud.gkemulticloud.v1.SpotConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.gkemulticloud.v1.SpotConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.SpotConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.SpotConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.SpotConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.SpotConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.SpotConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.SpotConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.SpotConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.SpotConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.SpotConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.SpotConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.SpotConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.SpotConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.SpotConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SpotConfig has configuration info for Spot node.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.SpotConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.SpotConfig) com.google.cloud.gkemulticloud.v1.SpotConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_SpotConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_SpotConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_SpotConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_SpotConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.SpotConfig.class, com.google.cloud.gkemulticloud.v1.SpotConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.SpotConfig.class, + com.google.cloud.gkemulticloud.v1.SpotConfig.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.SpotConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - instanceTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + instanceTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_SpotConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_SpotConfig_descriptor; } @java.lang.Override @@ -325,8 +357,11 @@ public com.google.cloud.gkemulticloud.v1.SpotConfig build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.SpotConfig buildPartial() { - com.google.cloud.gkemulticloud.v1.SpotConfig result = new com.google.cloud.gkemulticloud.v1.SpotConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.SpotConfig result = + new com.google.cloud.gkemulticloud.v1.SpotConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -343,38 +378,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.SpotConfig result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.SpotConfig) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.SpotConfig)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.SpotConfig) other); } else { super.mergeFrom(other); return this; @@ -419,18 +455,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureInstanceTypesIsMutable(); - instanceTypes_.add(s); - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureInstanceTypesIsMutable(); + instanceTypes_.add(s); + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -440,10 +478,12 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.LazyStringArrayList instanceTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureInstanceTypesIsMutable() { if (!instanceTypes_.isModifiable()) { instanceTypes_ = new com.google.protobuf.LazyStringArrayList(instanceTypes_); @@ -451,35 +491,43 @@ private void ensureInstanceTypesIsMutable() { bitField0_ |= 0x00000001; } /** + * + * *
      * Required. A list of instance types for creating spot node pool.
      * 
* * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the instanceTypes. */ - public com.google.protobuf.ProtocolStringList - getInstanceTypesList() { + public com.google.protobuf.ProtocolStringList getInstanceTypesList() { instanceTypes_.makeImmutable(); return instanceTypes_; } /** + * + * *
      * Required. A list of instance types for creating spot node pool.
      * 
* * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of instanceTypes. */ public int getInstanceTypesCount() { return instanceTypes_.size(); } /** + * + * *
      * Required. A list of instance types for creating spot node pool.
      * 
* * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The instanceTypes at the given index. */ @@ -487,31 +535,37 @@ public java.lang.String getInstanceTypes(int index) { return instanceTypes_.get(index); } /** + * + * *
      * Required. A list of instance types for creating spot node pool.
      * 
* * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the instanceTypes at the given index. */ - public com.google.protobuf.ByteString - getInstanceTypesBytes(int index) { + public com.google.protobuf.ByteString getInstanceTypesBytes(int index) { return instanceTypes_.getByteString(index); } /** + * + * *
      * Required. A list of instance types for creating spot node pool.
      * 
* * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index to set the value at. * @param value The instanceTypes to set. * @return This builder for chaining. */ - public Builder setInstanceTypes( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceTypes(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureInstanceTypesIsMutable(); instanceTypes_.set(index, value); bitField0_ |= 0x00000001; @@ -519,17 +573,21 @@ public Builder setInstanceTypes( return this; } /** + * + * *
      * Required. A list of instance types for creating spot node pool.
      * 
* * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The instanceTypes to add. * @return This builder for chaining. */ - public Builder addInstanceTypes( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addInstanceTypes(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureInstanceTypesIsMutable(); instanceTypes_.add(value); bitField0_ |= 0x00000001; @@ -537,50 +595,58 @@ public Builder addInstanceTypes( return this; } /** + * + * *
      * Required. A list of instance types for creating spot node pool.
      * 
* * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param values The instanceTypes to add. * @return This builder for chaining. */ - public Builder addAllInstanceTypes( - java.lang.Iterable values) { + public Builder addAllInstanceTypes(java.lang.Iterable values) { ensureInstanceTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, instanceTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instanceTypes_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. A list of instance types for creating spot node pool.
      * 
* * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearInstanceTypes() { - instanceTypes_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + instanceTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
      * Required. A list of instance types for creating spot node pool.
      * 
* * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes of the instanceTypes to add. * @return This builder for chaining. */ - public Builder addInstanceTypesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addInstanceTypesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureInstanceTypesIsMutable(); instanceTypes_.add(value); @@ -588,9 +654,9 @@ public Builder addInstanceTypesBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -600,12 +666,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.SpotConfig) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.SpotConfig) private static final com.google.cloud.gkemulticloud.v1.SpotConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.SpotConfig(); } @@ -614,27 +680,27 @@ public static com.google.cloud.gkemulticloud.v1.SpotConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpotConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpotConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -649,6 +715,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.SpotConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SpotConfigOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SpotConfigOrBuilder.java similarity index 64% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SpotConfigOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SpotConfigOrBuilder.java index 5856766fede5..52ecddb750c2 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SpotConfigOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SpotConfigOrBuilder.java @@ -1,50 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface SpotConfigOrBuilder extends +public interface SpotConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.SpotConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. A list of instance types for creating spot node pool.
    * 
* * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the instanceTypes. */ - java.util.List - getInstanceTypesList(); + java.util.List getInstanceTypesList(); /** + * + * *
    * Required. A list of instance types for creating spot node pool.
    * 
* * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of instanceTypes. */ int getInstanceTypesCount(); /** + * + * *
    * Required. A list of instance types for creating spot node pool.
    * 
* * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The instanceTypes at the given index. */ java.lang.String getInstanceTypes(int index); /** + * + * *
    * Required. A list of instance types for creating spot node pool.
    * 
* * repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the instanceTypes at the given index. */ - com.google.protobuf.ByteString - getInstanceTypesBytes(int index); + com.google.protobuf.ByteString getInstanceTypesBytes(int index); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SurgeSettings.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SurgeSettings.java similarity index 69% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SurgeSettings.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SurgeSettings.java index 258d3cf6fee4..ca4063fdec0c 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SurgeSettings.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SurgeSettings.java @@ -1,56 +1,77 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * SurgeSettings contains the parameters for Surge update.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.SurgeSettings} */ -public final class SurgeSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SurgeSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.SurgeSettings) SurgeSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SurgeSettings.newBuilder() to construct. private SurgeSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SurgeSettings() { - } + + private SurgeSettings() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SurgeSettings(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_SurgeSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_SurgeSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_SurgeSettings_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_SurgeSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.SurgeSettings.class, com.google.cloud.gkemulticloud.v1.SurgeSettings.Builder.class); + com.google.cloud.gkemulticloud.v1.SurgeSettings.class, + com.google.cloud.gkemulticloud.v1.SurgeSettings.Builder.class); } public static final int MAX_SURGE_FIELD_NUMBER = 1; private int maxSurge_ = 0; /** + * + * *
    * Optional. The maximum number of nodes that can be created beyond the
    * current size of the node pool during the update process.
    * 
* * int32 max_surge = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxSurge. */ @java.lang.Override @@ -61,6 +82,8 @@ public int getMaxSurge() { public static final int MAX_UNAVAILABLE_FIELD_NUMBER = 2; private int maxUnavailable_ = 0; /** + * + * *
    * Optional. The maximum number of nodes that can be simultaneously
    * unavailable during the update process. A node is considered unavailable if
@@ -68,6 +91,7 @@ public int getMaxSurge() {
    * 
* * int32 max_unavailable = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxUnavailable. */ @java.lang.Override @@ -76,6 +100,7 @@ public int getMaxUnavailable() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -87,8 +112,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (maxSurge_ != 0) { output.writeInt32(1, maxSurge_); } @@ -105,12 +129,10 @@ public int getSerializedSize() { size = 0; if (maxSurge_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, maxSurge_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, maxSurge_); } if (maxUnavailable_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, maxUnavailable_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxUnavailable_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,17 +142,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.SurgeSettings)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.SurgeSettings other = (com.google.cloud.gkemulticloud.v1.SurgeSettings) obj; + com.google.cloud.gkemulticloud.v1.SurgeSettings other = + (com.google.cloud.gkemulticloud.v1.SurgeSettings) obj; - if (getMaxSurge() - != other.getMaxSurge()) return false; - if (getMaxUnavailable() - != other.getMaxUnavailable()) return false; + if (getMaxSurge() != other.getMaxSurge()) return false; + if (getMaxUnavailable() != other.getMaxUnavailable()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -151,132 +172,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.gkemulticloud.v1.SurgeSettings parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.gkemulticloud.v1.SurgeSettings parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.SurgeSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.SurgeSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.SurgeSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.SurgeSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.SurgeSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.SurgeSettings parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.SurgeSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.SurgeSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.SurgeSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.SurgeSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.SurgeSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.SurgeSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.SurgeSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SurgeSettings contains the parameters for Surge update.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.SurgeSettings} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.SurgeSettings) com.google.cloud.gkemulticloud.v1.SurgeSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_SurgeSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_SurgeSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_SurgeSettings_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_SurgeSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.SurgeSettings.class, com.google.cloud.gkemulticloud.v1.SurgeSettings.Builder.class); + com.google.cloud.gkemulticloud.v1.SurgeSettings.class, + com.google.cloud.gkemulticloud.v1.SurgeSettings.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.SurgeSettings.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -287,9 +312,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_SurgeSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_SurgeSettings_descriptor; } @java.lang.Override @@ -308,8 +333,11 @@ public com.google.cloud.gkemulticloud.v1.SurgeSettings build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.SurgeSettings buildPartial() { - com.google.cloud.gkemulticloud.v1.SurgeSettings result = new com.google.cloud.gkemulticloud.v1.SurgeSettings(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.SurgeSettings result = + new com.google.cloud.gkemulticloud.v1.SurgeSettings(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -328,38 +356,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.SurgeSettings resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.SurgeSettings) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.SurgeSettings)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.SurgeSettings) other); } else { super.mergeFrom(other); return this; @@ -367,7 +396,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.SurgeSettings other) { - if (other == com.google.cloud.gkemulticloud.v1.SurgeSettings.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.SurgeSettings.getDefaultInstance()) + return this; if (other.getMaxSurge() != 0) { setMaxSurge(other.getMaxSurge()); } @@ -400,22 +430,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - maxSurge_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - maxUnavailable_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + maxSurge_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + maxUnavailable_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -425,16 +458,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int maxSurge_ ; + private int maxSurge_; /** + * + * *
      * Optional. The maximum number of nodes that can be created beyond the
      * current size of the node pool during the update process.
      * 
* * int32 max_surge = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxSurge. */ @java.lang.Override @@ -442,12 +479,15 @@ public int getMaxSurge() { return maxSurge_; } /** + * + * *
      * Optional. The maximum number of nodes that can be created beyond the
      * current size of the node pool during the update process.
      * 
* * int32 max_surge = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The maxSurge to set. * @return This builder for chaining. */ @@ -459,12 +499,15 @@ public Builder setMaxSurge(int value) { return this; } /** + * + * *
      * Optional. The maximum number of nodes that can be created beyond the
      * current size of the node pool during the update process.
      * 
* * int32 max_surge = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearMaxSurge() { @@ -474,8 +517,10 @@ public Builder clearMaxSurge() { return this; } - private int maxUnavailable_ ; + private int maxUnavailable_; /** + * + * *
      * Optional. The maximum number of nodes that can be simultaneously
      * unavailable during the update process. A node is considered unavailable if
@@ -483,6 +528,7 @@ public Builder clearMaxSurge() {
      * 
* * int32 max_unavailable = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxUnavailable. */ @java.lang.Override @@ -490,6 +536,8 @@ public int getMaxUnavailable() { return maxUnavailable_; } /** + * + * *
      * Optional. The maximum number of nodes that can be simultaneously
      * unavailable during the update process. A node is considered unavailable if
@@ -497,6 +545,7 @@ public int getMaxUnavailable() {
      * 
* * int32 max_unavailable = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The maxUnavailable to set. * @return This builder for chaining. */ @@ -508,6 +557,8 @@ public Builder setMaxUnavailable(int value) { return this; } /** + * + * *
      * Optional. The maximum number of nodes that can be simultaneously
      * unavailable during the update process. A node is considered unavailable if
@@ -515,6 +566,7 @@ public Builder setMaxUnavailable(int value) {
      * 
* * int32 max_unavailable = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearMaxUnavailable() { @@ -523,9 +575,9 @@ public Builder clearMaxUnavailable() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -535,12 +587,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.SurgeSettings) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.SurgeSettings) private static final com.google.cloud.gkemulticloud.v1.SurgeSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.SurgeSettings(); } @@ -549,27 +601,27 @@ public static com.google.cloud.gkemulticloud.v1.SurgeSettings getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SurgeSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SurgeSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -584,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.SurgeSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SurgeSettingsOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SurgeSettingsOrBuilder.java similarity index 59% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SurgeSettingsOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SurgeSettingsOrBuilder.java index 70cc1723d92c..6de2e4b45429 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SurgeSettingsOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/SurgeSettingsOrBuilder.java @@ -1,24 +1,45 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface SurgeSettingsOrBuilder extends +public interface SurgeSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.SurgeSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. The maximum number of nodes that can be created beyond the
    * current size of the node pool during the update process.
    * 
* * int32 max_surge = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxSurge. */ int getMaxSurge(); /** + * + * *
    * Optional. The maximum number of nodes that can be simultaneously
    * unavailable during the update process. A node is considered unavailable if
@@ -26,6 +47,7 @@ public interface SurgeSettingsOrBuilder extends
    * 
* * int32 max_unavailable = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The maxUnavailable. */ int getMaxUnavailable(); diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAttachedClusterRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAttachedClusterRequest.java similarity index 70% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAttachedClusterRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAttachedClusterRequest.java index 9b8487037cfd..b067a3a93207 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAttachedClusterRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAttachedClusterRequest.java @@ -1,57 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Request message for `AttachedClusters.UpdateAttachedCluster` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest} */ -public final class UpdateAttachedClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateAttachedClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest) UpdateAttachedClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateAttachedClusterRequest.newBuilder() to construct. private UpdateAttachedClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateAttachedClusterRequest() { - } + + private UpdateAttachedClusterRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateAttachedClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAttachedClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_UpdateAttachedClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAttachedClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_UpdateAttachedClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest.class, com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest.class, + com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest.Builder.class); } public static final int ATTACHED_CLUSTER_FIELD_NUMBER = 1; private com.google.cloud.gkemulticloud.v1.AttachedCluster attachedCluster_; /** + * + * *
    * Required. The
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
    * to update.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the attachedCluster field is set. */ @java.lang.Override @@ -59,41 +82,57 @@ public boolean hasAttachedCluster() { return attachedCluster_ != null; } /** + * + * *
    * Required. The
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
    * to update.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The attachedCluster. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedCluster getAttachedCluster() { - return attachedCluster_ == null ? com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance() : attachedCluster_; + return attachedCluster_ == null + ? com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance() + : attachedCluster_; } /** + * + * *
    * Required. The
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
    * to update.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder getAttachedClusterOrBuilder() { - return attachedCluster_ == null ? com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance() : attachedCluster_; + return attachedCluster_ == null + ? com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance() + : attachedCluster_; } public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; private boolean validateOnly_ = false; /** + * + * *
    * If set, only validate the request, but do not actually update the cluster.
    * 
* * bool validate_only = 2; + * * @return The validateOnly. */ @java.lang.Override @@ -104,6 +143,8 @@ public boolean getValidateOnly() { public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -122,7 +163,9 @@ public boolean getValidateOnly() {
    *  *   `proxy_config.kubernetes_secret.namespace`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -130,6 +173,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -148,7 +193,9 @@ public boolean hasUpdateMask() {
    *  *   `proxy_config.kubernetes_secret.namespace`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -156,6 +203,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -174,7 +223,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    *  *   `proxy_config.kubernetes_secret.namespace`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -182,6 +232,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -193,8 +244,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (attachedCluster_ != null) { output.writeMessage(1, getAttachedCluster()); } @@ -214,16 +264,13 @@ public int getSerializedSize() { size = 0; if (attachedCluster_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAttachedCluster()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAttachedCluster()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, validateOnly_); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -233,24 +280,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest other = (com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest) obj; + com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest other = + (com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest) obj; if (hasAttachedCluster() != other.hasAttachedCluster()) return false; if (hasAttachedCluster()) { - if (!getAttachedCluster() - .equals(other.getAttachedCluster())) return false; + if (!getAttachedCluster().equals(other.getAttachedCluster())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -268,8 +313,7 @@ public int hashCode() { hash = (53 * hash) + getAttachedCluster().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); if (hasUpdateMask()) { hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER; hash = (53 * hash) + getUpdateMask().hashCode(); @@ -280,131 +324,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AttachedClusters.UpdateAttachedCluster` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest) com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAttachedClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_UpdateAttachedClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAttachedClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_UpdateAttachedClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest.class, com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest.class, + com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -424,13 +473,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAttachedClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AttachedServiceProto + .internal_static_google_cloud_gkemulticloud_v1_UpdateAttachedClusterRequest_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest + getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest.getDefaultInstance(); } @@ -445,26 +495,27 @@ public com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest result = new com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest result = + new com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest result) { + private void buildPartial0( + com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.attachedCluster_ = attachedClusterBuilder_ == null - ? attachedCluster_ - : attachedClusterBuilder_.build(); + result.attachedCluster_ = + attachedClusterBuilder_ == null ? attachedCluster_ : attachedClusterBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.validateOnly_ = validateOnly_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -472,38 +523,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.UpdateAttachedClust public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -511,7 +563,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest.getDefaultInstance()) + return this; if (other.hasAttachedCluster()) { mergeAttachedCluster(other.getAttachedCluster()); } @@ -547,31 +601,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getAttachedClusterFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getAttachedClusterFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -581,49 +635,69 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.gkemulticloud.v1.AttachedCluster attachedCluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedCluster, com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder> attachedClusterBuilder_; + com.google.cloud.gkemulticloud.v1.AttachedCluster, + com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder, + com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder> + attachedClusterBuilder_; /** + * + * *
      * Required. The
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
      * to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the attachedCluster field is set. */ public boolean hasAttachedCluster() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
      * to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The attachedCluster. */ public com.google.cloud.gkemulticloud.v1.AttachedCluster getAttachedCluster() { if (attachedClusterBuilder_ == null) { - return attachedCluster_ == null ? com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance() : attachedCluster_; + return attachedCluster_ == null + ? com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance() + : attachedCluster_; } else { return attachedClusterBuilder_.getMessage(); } } /** + * + * *
      * Required. The
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
      * to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAttachedCluster(com.google.cloud.gkemulticloud.v1.AttachedCluster value) { if (attachedClusterBuilder_ == null) { @@ -639,13 +713,17 @@ public Builder setAttachedCluster(com.google.cloud.gkemulticloud.v1.AttachedClus return this; } /** + * + * *
      * Required. The
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
      * to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAttachedCluster( com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder builderForValue) { @@ -659,19 +737,24 @@ public Builder setAttachedCluster( return this; } /** + * + * *
      * Required. The
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
      * to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAttachedCluster(com.google.cloud.gkemulticloud.v1.AttachedCluster value) { if (attachedClusterBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - attachedCluster_ != null && - attachedCluster_ != com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && attachedCluster_ != null + && attachedCluster_ + != com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance()) { getAttachedClusterBuilder().mergeFrom(value); } else { attachedCluster_ = value; @@ -684,13 +767,17 @@ public Builder mergeAttachedCluster(com.google.cloud.gkemulticloud.v1.AttachedCl return this; } /** + * + * *
      * Required. The
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
      * to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAttachedCluster() { bitField0_ = (bitField0_ & ~0x00000001); @@ -703,13 +790,17 @@ public Builder clearAttachedCluster() { return this; } /** + * + * *
      * Required. The
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
      * to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder getAttachedClusterBuilder() { bitField0_ |= 0x00000001; @@ -717,52 +808,68 @@ public com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder getAttachedClus return getAttachedClusterFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
      * to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder getAttachedClusterOrBuilder() { + public com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder + getAttachedClusterOrBuilder() { if (attachedClusterBuilder_ != null) { return attachedClusterBuilder_.getMessageOrBuilder(); } else { - return attachedCluster_ == null ? - com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance() : attachedCluster_; + return attachedCluster_ == null + ? com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance() + : attachedCluster_; } } /** + * + * *
      * Required. The
      * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
      * to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedCluster, com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder> + com.google.cloud.gkemulticloud.v1.AttachedCluster, + com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder, + com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder> getAttachedClusterFieldBuilder() { if (attachedClusterBuilder_ == null) { - attachedClusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AttachedCluster, com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder, com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder>( - getAttachedCluster(), - getParentForChildren(), - isClean()); + attachedClusterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AttachedCluster, + com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder, + com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder>( + getAttachedCluster(), getParentForChildren(), isClean()); attachedCluster_ = null; } return attachedClusterBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * If set, only validate the request, but do not actually update the cluster.
      * 
* * bool validate_only = 2; + * * @return The validateOnly. */ @java.lang.Override @@ -770,11 +877,14 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * If set, only validate the request, but do not actually update the cluster.
      * 
* * bool validate_only = 2; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -786,11 +896,14 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * If set, only validate the request, but do not actually update the cluster.
      * 
* * bool validate_only = 2; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -802,8 +915,13 @@ public Builder clearValidateOnly() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -822,13 +940,17 @@ public Builder clearValidateOnly() {
      *  *   `proxy_config.kubernetes_secret.namespace`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -847,17 +969,23 @@ public boolean hasUpdateMask() {
      *  *   `proxy_config.kubernetes_secret.namespace`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -876,7 +1004,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      *  *   `proxy_config.kubernetes_secret.namespace`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -892,6 +1021,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -910,10 +1041,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `proxy_config.kubernetes_secret.namespace`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -924,6 +1055,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -942,13 +1075,14 @@ public Builder setUpdateMask(
      *  *   `proxy_config.kubernetes_secret.namespace`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -961,6 +1095,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -979,7 +1115,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `proxy_config.kubernetes_secret.namespace`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000004); @@ -992,6 +1129,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1010,7 +1149,8 @@ public Builder clearUpdateMask() {
      *  *   `proxy_config.kubernetes_secret.namespace`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000004; @@ -1018,6 +1158,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1036,17 +1178,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      *  *   `proxy_config.kubernetes_secret.namespace`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1065,24 +1211,28 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      *  *   `proxy_config.kubernetes_secret.namespace`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1092,41 +1242,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest) - private static final com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest DEFAULT_INSTANCE; + private static final com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest(); } - public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest getDefaultInstance() { + public static com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAttachedClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAttachedClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1138,9 +1290,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAttachedClusterRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAttachedClusterRequestOrBuilder.java similarity index 74% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAttachedClusterRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAttachedClusterRequestOrBuilder.java index 6eedffd29ea6..e139f1154b3e 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAttachedClusterRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAttachedClusterRequestOrBuilder.java @@ -1,56 +1,91 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/attached_service.proto package com.google.cloud.gkemulticloud.v1; -public interface UpdateAttachedClusterRequestOrBuilder extends +public interface UpdateAttachedClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
    * to update.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the attachedCluster field is set. */ boolean hasAttachedCluster(); /** + * + * *
    * Required. The
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
    * to update.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The attachedCluster. */ com.google.cloud.gkemulticloud.v1.AttachedCluster getAttachedCluster(); /** + * + * *
    * Required. The
    * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
    * to update.
    * 
* - * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder getAttachedClusterOrBuilder(); /** + * + * *
    * If set, only validate the request, but do not actually update the cluster.
    * 
* * bool validate_only = 2; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -69,11 +104,15 @@ public interface UpdateAttachedClusterRequestOrBuilder extends
    *  *   `proxy_config.kubernetes_secret.namespace`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -92,11 +131,15 @@ public interface UpdateAttachedClusterRequestOrBuilder extends
    *  *   `proxy_config.kubernetes_secret.namespace`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -115,7 +158,8 @@ public interface UpdateAttachedClusterRequestOrBuilder extends
    *  *   `proxy_config.kubernetes_secret.namespace`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequest.java similarity index 76% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequest.java index 91a857395aaf..8a26cf69fd16 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequest.java @@ -1,56 +1,79 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Request message for `AwsClusters.UpdateAwsCluster` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest} */ -public final class UpdateAwsClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateAwsClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest) UpdateAwsClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateAwsClusterRequest.newBuilder() to construct. private UpdateAwsClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateAwsClusterRequest() { - } + + private UpdateAwsClusterRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateAwsClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest.class, com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest.class, + com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest.Builder.class); } public static final int AWS_CLUSTER_FIELD_NUMBER = 1; private com.google.cloud.gkemulticloud.v1.AwsCluster awsCluster_; /** + * + * *
    * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
    * resource to update.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the awsCluster field is set. */ @java.lang.Override @@ -58,39 +81,55 @@ public boolean hasAwsCluster() { return awsCluster_ != null; } /** + * + * *
    * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
    * resource to update.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The awsCluster. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsCluster getAwsCluster() { - return awsCluster_ == null ? com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance() : awsCluster_; + return awsCluster_ == null + ? com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance() + : awsCluster_; } /** + * + * *
    * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
    * resource to update.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClusterOrBuilder() { - return awsCluster_ == null ? com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance() : awsCluster_; + return awsCluster_ == null + ? com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance() + : awsCluster_; } public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; private boolean validateOnly_ = false; /** + * + * *
    * If set, only validate the request, but do not actually update the cluster.
    * 
* * bool validate_only = 2; + * * @return The validateOnly. */ @java.lang.Override @@ -101,6 +140,8 @@ public boolean getValidateOnly() { public static final int UPDATE_MASK_FIELD_NUMBER = 4; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -135,7 +176,9 @@ public boolean getValidateOnly() {
    *  *   `networking.per_node_pool_sg_rules_disabled`.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -143,6 +186,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -177,7 +222,9 @@ public boolean hasUpdateMask() {
    *  *   `networking.per_node_pool_sg_rules_disabled`.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -185,6 +232,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -219,7 +268,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    *  *   `networking.per_node_pool_sg_rules_disabled`.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -227,6 +277,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -238,8 +289,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (awsCluster_ != null) { output.writeMessage(1, getAwsCluster()); } @@ -259,16 +309,13 @@ public int getSerializedSize() { size = 0; if (awsCluster_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAwsCluster()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAwsCluster()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, validateOnly_); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -278,24 +325,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest other = (com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest) obj; + com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest other = + (com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest) obj; if (hasAwsCluster() != other.hasAwsCluster()) return false; if (hasAwsCluster()) { - if (!getAwsCluster() - .equals(other.getAwsCluster())) return false; + if (!getAwsCluster().equals(other.getAwsCluster())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -313,8 +358,7 @@ public int hashCode() { hash = (53 * hash) + getAwsCluster().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); if (hasUpdateMask()) { hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER; hash = (53 * hash) + getUpdateMask().hashCode(); @@ -325,131 +369,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AwsClusters.UpdateAwsCluster` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest) com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest.class, com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest.class, + com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -469,9 +518,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_descriptor; } @java.lang.Override @@ -490,8 +539,11 @@ public com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest result = new com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest result = + new com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -499,17 +551,13 @@ public com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest buildPartial() private void buildPartial0(com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.awsCluster_ = awsClusterBuilder_ == null - ? awsCluster_ - : awsClusterBuilder_.build(); + result.awsCluster_ = awsClusterBuilder_ == null ? awsCluster_ : awsClusterBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.validateOnly_ = validateOnly_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -517,38 +565,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.UpdateAwsClusterReq public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -556,7 +605,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest.getDefaultInstance()) + return this; if (other.hasAwsCluster()) { mergeAwsCluster(other.getAwsCluster()); } @@ -592,31 +642,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getAwsClusterFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 34: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getAwsClusterFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 34: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -626,46 +676,66 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.gkemulticloud.v1.AwsCluster awsCluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsCluster, com.google.cloud.gkemulticloud.v1.AwsCluster.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder> awsClusterBuilder_; + com.google.cloud.gkemulticloud.v1.AwsCluster, + com.google.cloud.gkemulticloud.v1.AwsCluster.Builder, + com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder> + awsClusterBuilder_; /** + * + * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the awsCluster field is set. */ public boolean hasAwsCluster() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The awsCluster. */ public com.google.cloud.gkemulticloud.v1.AwsCluster getAwsCluster() { if (awsClusterBuilder_ == null) { - return awsCluster_ == null ? com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance() : awsCluster_; + return awsCluster_ == null + ? com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance() + : awsCluster_; } else { return awsClusterBuilder_.getMessage(); } } /** + * + * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAwsCluster(com.google.cloud.gkemulticloud.v1.AwsCluster value) { if (awsClusterBuilder_ == null) { @@ -681,12 +751,16 @@ public Builder setAwsCluster(com.google.cloud.gkemulticloud.v1.AwsCluster value) return this; } /** + * + * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAwsCluster( com.google.cloud.gkemulticloud.v1.AwsCluster.Builder builderForValue) { @@ -700,18 +774,22 @@ public Builder setAwsCluster( return this; } /** + * + * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAwsCluster(com.google.cloud.gkemulticloud.v1.AwsCluster value) { if (awsClusterBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - awsCluster_ != null && - awsCluster_ != com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && awsCluster_ != null + && awsCluster_ != com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance()) { getAwsClusterBuilder().mergeFrom(value); } else { awsCluster_ = value; @@ -724,12 +802,16 @@ public Builder mergeAwsCluster(com.google.cloud.gkemulticloud.v1.AwsCluster valu return this; } /** + * + * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAwsCluster() { bitField0_ = (bitField0_ & ~0x00000001); @@ -742,12 +824,16 @@ public Builder clearAwsCluster() { return this; } /** + * + * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AwsCluster.Builder getAwsClusterBuilder() { bitField0_ |= 0x00000001; @@ -755,50 +841,65 @@ public com.google.cloud.gkemulticloud.v1.AwsCluster.Builder getAwsClusterBuilder return getAwsClusterFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClusterOrBuilder() { if (awsClusterBuilder_ != null) { return awsClusterBuilder_.getMessageOrBuilder(); } else { - return awsCluster_ == null ? - com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance() : awsCluster_; + return awsCluster_ == null + ? com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance() + : awsCluster_; } } /** + * + * *
      * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsCluster, com.google.cloud.gkemulticloud.v1.AwsCluster.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsCluster, + com.google.cloud.gkemulticloud.v1.AwsCluster.Builder, + com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder> getAwsClusterFieldBuilder() { if (awsClusterBuilder_ == null) { - awsClusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsCluster, com.google.cloud.gkemulticloud.v1.AwsCluster.Builder, com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder>( - getAwsCluster(), - getParentForChildren(), - isClean()); + awsClusterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsCluster, + com.google.cloud.gkemulticloud.v1.AwsCluster.Builder, + com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder>( + getAwsCluster(), getParentForChildren(), isClean()); awsCluster_ = null; } return awsClusterBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * If set, only validate the request, but do not actually update the cluster.
      * 
* * bool validate_only = 2; + * * @return The validateOnly. */ @java.lang.Override @@ -806,11 +907,14 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * If set, only validate the request, but do not actually update the cluster.
      * 
* * bool validate_only = 2; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -822,11 +926,14 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * If set, only validate the request, but do not actually update the cluster.
      * 
* * bool validate_only = 2; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -838,8 +945,13 @@ public Builder clearValidateOnly() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -874,13 +986,17 @@ public Builder clearValidateOnly() {
      *  *   `networking.per_node_pool_sg_rules_disabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -915,17 +1031,23 @@ public boolean hasUpdateMask() {
      *  *   `networking.per_node_pool_sg_rules_disabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -960,7 +1082,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      *  *   `networking.per_node_pool_sg_rules_disabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -976,6 +1099,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1010,10 +1135,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `networking.per_node_pool_sg_rules_disabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -1024,6 +1149,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1058,13 +1185,14 @@ public Builder setUpdateMask(
      *  *   `networking.per_node_pool_sg_rules_disabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -1077,6 +1205,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1111,7 +1241,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `networking.per_node_pool_sg_rules_disabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1124,6 +1255,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1158,7 +1291,8 @@ public Builder clearUpdateMask() {
      *  *   `networking.per_node_pool_sg_rules_disabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000004; @@ -1166,6 +1300,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1200,17 +1336,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      *  *   `networking.per_node_pool_sg_rules_disabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1245,24 +1385,28 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      *  *   `networking.per_node_pool_sg_rules_disabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1272,12 +1416,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest) private static final com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest(); } @@ -1286,27 +1430,27 @@ public static com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAwsClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAwsClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1321,6 +1465,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequestOrBuilder.java similarity index 83% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequestOrBuilder.java index a302f8b7a865..cad46dae8c74 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsClusterRequestOrBuilder.java @@ -1,53 +1,88 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface UpdateAwsClusterRequestOrBuilder extends +public interface UpdateAwsClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
    * resource to update.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the awsCluster field is set. */ boolean hasAwsCluster(); /** + * + * *
    * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
    * resource to update.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The awsCluster. */ com.google.cloud.gkemulticloud.v1.AwsCluster getAwsCluster(); /** + * + * *
    * Required. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
    * resource to update.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsCluster aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClusterOrBuilder(); /** + * + * *
    * If set, only validate the request, but do not actually update the cluster.
    * 
* * bool validate_only = 2; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -82,11 +117,15 @@ public interface UpdateAwsClusterRequestOrBuilder extends
    *  *   `networking.per_node_pool_sg_rules_disabled`.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -121,11 +160,15 @@ public interface UpdateAwsClusterRequestOrBuilder extends
    *  *   `networking.per_node_pool_sg_rules_disabled`.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -160,7 +203,8 @@ public interface UpdateAwsClusterRequestOrBuilder extends
    *  *   `networking.per_node_pool_sg_rules_disabled`.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequest.java similarity index 75% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequest.java index 5c7260fee31d..f76d7926a511 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequest.java @@ -1,56 +1,79 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Request message for `AwsClusters.UpdateAwsNodePool` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest} */ -public final class UpdateAwsNodePoolRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateAwsNodePoolRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest) UpdateAwsNodePoolRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateAwsNodePoolRequest.newBuilder() to construct. private UpdateAwsNodePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateAwsNodePoolRequest() { - } + + private UpdateAwsNodePoolRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateAwsNodePoolRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest.class, com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest.class, + com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest.Builder.class); } public static final int AWS_NODE_POOL_FIELD_NUMBER = 1; private com.google.cloud.gkemulticloud.v1.AwsNodePool awsNodePool_; /** + * + * *
    * Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
    * resource to update.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the awsNodePool field is set. */ @java.lang.Override @@ -58,39 +81,55 @@ public boolean hasAwsNodePool() { return awsNodePool_ != null; } /** + * + * *
    * Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
    * resource to update.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The awsNodePool. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsNodePool getAwsNodePool() { - return awsNodePool_ == null ? com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance() : awsNodePool_; + return awsNodePool_ == null + ? com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance() + : awsNodePool_; } /** + * + * *
    * Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
    * resource to update.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolOrBuilder() { - return awsNodePool_ == null ? com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance() : awsNodePool_; + return awsNodePool_ == null + ? com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance() + : awsNodePool_; } public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; private boolean validateOnly_ = false; /** + * + * *
    * If set, only validate the request, but don't actually update the node pool.
    * 
* * bool validate_only = 2; + * * @return The validateOnly. */ @java.lang.Override @@ -101,6 +140,8 @@ public boolean getValidateOnly() { public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -138,7 +179,9 @@ public boolean getValidateOnly() {
    *  *   `update_settings.surge_settings.max_unavailable`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -146,6 +189,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -183,7 +228,9 @@ public boolean hasUpdateMask() {
    *  *   `update_settings.surge_settings.max_unavailable`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -191,6 +238,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -228,7 +277,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    *  *   `update_settings.surge_settings.max_unavailable`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -236,6 +286,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,8 +298,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (awsNodePool_ != null) { output.writeMessage(1, getAwsNodePool()); } @@ -268,16 +318,13 @@ public int getSerializedSize() { size = 0; if (awsNodePool_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAwsNodePool()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAwsNodePool()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, validateOnly_); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -287,24 +334,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest other = (com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest) obj; + com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest other = + (com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest) obj; if (hasAwsNodePool() != other.hasAwsNodePool()) return false; if (hasAwsNodePool()) { - if (!getAwsNodePool() - .equals(other.getAwsNodePool())) return false; + if (!getAwsNodePool().equals(other.getAwsNodePool())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -322,8 +367,7 @@ public int hashCode() { hash = (53 * hash) + getAwsNodePool().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); if (hasUpdateMask()) { hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER; hash = (53 * hash) + getUpdateMask().hashCode(); @@ -334,131 +378,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AwsClusters.UpdateAwsNodePool` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest) com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest.class, com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest.class, + com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -478,9 +527,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AwsServiceProto + .internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_descriptor; } @java.lang.Override @@ -499,8 +548,11 @@ public com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest result = new com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest result = + new com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -508,17 +560,14 @@ public com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest buildPartial() private void buildPartial0(com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.awsNodePool_ = awsNodePoolBuilder_ == null - ? awsNodePool_ - : awsNodePoolBuilder_.build(); + result.awsNodePool_ = + awsNodePoolBuilder_ == null ? awsNodePool_ : awsNodePoolBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.validateOnly_ = validateOnly_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -526,38 +575,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest) other); } else { super.mergeFrom(other); return this; @@ -565,7 +615,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest.getDefaultInstance()) + return this; if (other.hasAwsNodePool()) { mergeAwsNodePool(other.getAwsNodePool()); } @@ -601,31 +652,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getAwsNodePoolFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getAwsNodePoolFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -635,46 +686,66 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.gkemulticloud.v1.AwsNodePool awsNodePool_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodePool, com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder, com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder> awsNodePoolBuilder_; + com.google.cloud.gkemulticloud.v1.AwsNodePool, + com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder, + com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder> + awsNodePoolBuilder_; /** + * + * *
      * Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the awsNodePool field is set. */ public boolean hasAwsNodePool() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The awsNodePool. */ public com.google.cloud.gkemulticloud.v1.AwsNodePool getAwsNodePool() { if (awsNodePoolBuilder_ == null) { - return awsNodePool_ == null ? com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance() : awsNodePool_; + return awsNodePool_ == null + ? com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance() + : awsNodePool_; } else { return awsNodePoolBuilder_.getMessage(); } } /** + * + * *
      * Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAwsNodePool(com.google.cloud.gkemulticloud.v1.AwsNodePool value) { if (awsNodePoolBuilder_ == null) { @@ -690,12 +761,16 @@ public Builder setAwsNodePool(com.google.cloud.gkemulticloud.v1.AwsNodePool valu return this; } /** + * + * *
      * Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAwsNodePool( com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder builderForValue) { @@ -709,18 +784,22 @@ public Builder setAwsNodePool( return this; } /** + * + * *
      * Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAwsNodePool(com.google.cloud.gkemulticloud.v1.AwsNodePool value) { if (awsNodePoolBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - awsNodePool_ != null && - awsNodePool_ != com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && awsNodePool_ != null + && awsNodePool_ != com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance()) { getAwsNodePoolBuilder().mergeFrom(value); } else { awsNodePool_ = value; @@ -733,12 +812,16 @@ public Builder mergeAwsNodePool(com.google.cloud.gkemulticloud.v1.AwsNodePool va return this; } /** + * + * *
      * Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAwsNodePool() { bitField0_ = (bitField0_ & ~0x00000001); @@ -751,12 +834,16 @@ public Builder clearAwsNodePool() { return this; } /** + * + * *
      * Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder getAwsNodePoolBuilder() { bitField0_ |= 0x00000001; @@ -764,50 +851,65 @@ public com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder getAwsNodePoolBuild return getAwsNodePoolFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolOrBuilder() { if (awsNodePoolBuilder_ != null) { return awsNodePoolBuilder_.getMessageOrBuilder(); } else { - return awsNodePool_ == null ? - com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance() : awsNodePool_; + return awsNodePool_ == null + ? com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance() + : awsNodePool_; } } /** + * + * *
      * Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodePool, com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder, com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder> + com.google.cloud.gkemulticloud.v1.AwsNodePool, + com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder, + com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder> getAwsNodePoolFieldBuilder() { if (awsNodePoolBuilder_ == null) { - awsNodePoolBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AwsNodePool, com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder, com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder>( - getAwsNodePool(), - getParentForChildren(), - isClean()); + awsNodePoolBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AwsNodePool, + com.google.cloud.gkemulticloud.v1.AwsNodePool.Builder, + com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder>( + getAwsNodePool(), getParentForChildren(), isClean()); awsNodePool_ = null; } return awsNodePoolBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * If set, only validate the request, but don't actually update the node pool.
      * 
* * bool validate_only = 2; + * * @return The validateOnly. */ @java.lang.Override @@ -815,11 +917,14 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * If set, only validate the request, but don't actually update the node pool.
      * 
* * bool validate_only = 2; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -831,11 +936,14 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * If set, only validate the request, but don't actually update the node pool.
      * 
* * bool validate_only = 2; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -847,8 +955,13 @@ public Builder clearValidateOnly() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -886,13 +999,17 @@ public Builder clearValidateOnly() {
      *  *   `update_settings.surge_settings.max_unavailable`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -930,17 +1047,23 @@ public boolean hasUpdateMask() {
      *  *   `update_settings.surge_settings.max_unavailable`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -978,7 +1101,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      *  *   `update_settings.surge_settings.max_unavailable`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -994,6 +1118,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1031,10 +1157,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `update_settings.surge_settings.max_unavailable`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -1045,6 +1171,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1082,13 +1210,14 @@ public Builder setUpdateMask(
      *  *   `update_settings.surge_settings.max_unavailable`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -1101,6 +1230,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1138,7 +1269,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `update_settings.surge_settings.max_unavailable`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1151,6 +1283,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1188,7 +1322,8 @@ public Builder clearUpdateMask() {
      *  *   `update_settings.surge_settings.max_unavailable`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000004; @@ -1196,6 +1331,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1233,17 +1370,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      *  *   `update_settings.surge_settings.max_unavailable`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1281,24 +1422,28 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      *  *   `update_settings.surge_settings.max_unavailable`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1308,12 +1453,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest) private static final com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest(); } @@ -1322,27 +1467,27 @@ public static com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAwsNodePoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAwsNodePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1357,6 +1502,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequestOrBuilder.java similarity index 82% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequestOrBuilder.java index 386c07b1fc6f..4d0d5683c6a4 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAwsNodePoolRequestOrBuilder.java @@ -1,53 +1,88 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_service.proto package com.google.cloud.gkemulticloud.v1; -public interface UpdateAwsNodePoolRequestOrBuilder extends +public interface UpdateAwsNodePoolRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
    * resource to update.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the awsNodePool field is set. */ boolean hasAwsNodePool(); /** + * + * *
    * Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
    * resource to update.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The awsNodePool. */ com.google.cloud.gkemulticloud.v1.AwsNodePool getAwsNodePool(); /** + * + * *
    * Required. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
    * resource to update.
    * 
* - * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AwsNodePool aws_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gkemulticloud.v1.AwsNodePoolOrBuilder getAwsNodePoolOrBuilder(); /** + * + * *
    * If set, only validate the request, but don't actually update the node pool.
    * 
* * bool validate_only = 2; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -85,11 +120,15 @@ public interface UpdateAwsNodePoolRequestOrBuilder extends
    *  *   `update_settings.surge_settings.max_unavailable`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -127,11 +166,15 @@ public interface UpdateAwsNodePoolRequestOrBuilder extends
    *  *   `update_settings.surge_settings.max_unavailable`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -169,7 +212,8 @@ public interface UpdateAwsNodePoolRequestOrBuilder extends
    *  *   `update_settings.surge_settings.max_unavailable`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequest.java similarity index 73% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequest.java index 17918164aa9f..8382f9ff461d 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequest.java @@ -1,56 +1,79 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Request message for `AzureClusters.UpdateAzureCluster` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest} */ -public final class UpdateAzureClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateAzureClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest) UpdateAzureClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateAzureClusterRequest.newBuilder() to construct. private UpdateAzureClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateAzureClusterRequest() { - } + + private UpdateAzureClusterRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateAzureClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest.class, com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest.class, + com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest.Builder.class); } public static final int AZURE_CLUSTER_FIELD_NUMBER = 1; private com.google.cloud.gkemulticloud.v1.AzureCluster azureCluster_; /** + * + * *
    * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resource to update.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the azureCluster field is set. */ @java.lang.Override @@ -58,39 +81,55 @@ public boolean hasAzureCluster() { return azureCluster_ != null; } /** + * + * *
    * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resource to update.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The azureCluster. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureCluster getAzureCluster() { - return azureCluster_ == null ? com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance() : azureCluster_; + return azureCluster_ == null + ? com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance() + : azureCluster_; } /** + * + * *
    * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resource to update.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClusterOrBuilder() { - return azureCluster_ == null ? com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance() : azureCluster_; + return azureCluster_ == null + ? com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance() + : azureCluster_; } public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; private boolean validateOnly_ = false; /** + * + * *
    * If set, only validate the request, but do not actually update the cluster.
    * 
* * bool validate_only = 2; + * * @return The validateOnly. */ @java.lang.Override @@ -101,6 +140,8 @@ public boolean getValidateOnly() { public static final int UPDATE_MASK_FIELD_NUMBER = 4; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -125,7 +166,9 @@ public boolean getValidateOnly() {
    *  *   `monitoring_config.managed_prometheus_config.enabled`.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -133,6 +176,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -157,7 +202,9 @@ public boolean hasUpdateMask() {
    *  *   `monitoring_config.managed_prometheus_config.enabled`.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -165,6 +212,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -189,7 +238,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    *  *   `monitoring_config.managed_prometheus_config.enabled`.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -197,6 +247,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,8 +259,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (azureCluster_ != null) { output.writeMessage(1, getAzureCluster()); } @@ -229,16 +279,13 @@ public int getSerializedSize() { size = 0; if (azureCluster_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAzureCluster()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAzureCluster()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, validateOnly_); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -248,24 +295,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest other = (com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest) obj; + com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest other = + (com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest) obj; if (hasAzureCluster() != other.hasAzureCluster()) return false; if (hasAzureCluster()) { - if (!getAzureCluster() - .equals(other.getAzureCluster())) return false; + if (!getAzureCluster().equals(other.getAzureCluster())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -283,8 +328,7 @@ public int hashCode() { hash = (53 * hash) + getAzureCluster().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); if (hasUpdateMask()) { hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER; hash = (53 * hash) + getUpdateMask().hashCode(); @@ -295,131 +339,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AzureClusters.UpdateAzureCluster` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest) com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest.class, com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest.class, + com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -439,9 +488,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_descriptor; } @java.lang.Override @@ -460,8 +509,11 @@ public com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest result = new com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest result = + new com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -469,17 +521,14 @@ public com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest buildPartial( private void buildPartial0(com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.azureCluster_ = azureClusterBuilder_ == null - ? azureCluster_ - : azureClusterBuilder_.build(); + result.azureCluster_ = + azureClusterBuilder_ == null ? azureCluster_ : azureClusterBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.validateOnly_ = validateOnly_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -487,38 +536,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.UpdateAzureClusterR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -526,7 +576,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest.getDefaultInstance()) + return this; if (other.hasAzureCluster()) { mergeAzureCluster(other.getAzureCluster()); } @@ -562,31 +613,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getAzureClusterFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 34: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getAzureClusterFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 34: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -596,46 +647,66 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.gkemulticloud.v1.AzureCluster azureCluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureCluster, com.google.cloud.gkemulticloud.v1.AzureCluster.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder> azureClusterBuilder_; + com.google.cloud.gkemulticloud.v1.AzureCluster, + com.google.cloud.gkemulticloud.v1.AzureCluster.Builder, + com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder> + azureClusterBuilder_; /** + * + * *
      * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the azureCluster field is set. */ public boolean hasAzureCluster() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The azureCluster. */ public com.google.cloud.gkemulticloud.v1.AzureCluster getAzureCluster() { if (azureClusterBuilder_ == null) { - return azureCluster_ == null ? com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance() : azureCluster_; + return azureCluster_ == null + ? com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance() + : azureCluster_; } else { return azureClusterBuilder_.getMessage(); } } /** + * + * *
      * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAzureCluster(com.google.cloud.gkemulticloud.v1.AzureCluster value) { if (azureClusterBuilder_ == null) { @@ -651,12 +722,16 @@ public Builder setAzureCluster(com.google.cloud.gkemulticloud.v1.AzureCluster va return this; } /** + * + * *
      * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAzureCluster( com.google.cloud.gkemulticloud.v1.AzureCluster.Builder builderForValue) { @@ -670,18 +745,23 @@ public Builder setAzureCluster( return this; } /** + * + * *
      * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAzureCluster(com.google.cloud.gkemulticloud.v1.AzureCluster value) { if (azureClusterBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - azureCluster_ != null && - azureCluster_ != com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && azureCluster_ != null + && azureCluster_ + != com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance()) { getAzureClusterBuilder().mergeFrom(value); } else { azureCluster_ = value; @@ -694,12 +774,16 @@ public Builder mergeAzureCluster(com.google.cloud.gkemulticloud.v1.AzureCluster return this; } /** + * + * *
      * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAzureCluster() { bitField0_ = (bitField0_ & ~0x00000001); @@ -712,12 +796,16 @@ public Builder clearAzureCluster() { return this; } /** + * + * *
      * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AzureCluster.Builder getAzureClusterBuilder() { bitField0_ |= 0x00000001; @@ -725,50 +813,65 @@ public com.google.cloud.gkemulticloud.v1.AzureCluster.Builder getAzureClusterBui return getAzureClusterFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClusterOrBuilder() { if (azureClusterBuilder_ != null) { return azureClusterBuilder_.getMessageOrBuilder(); } else { - return azureCluster_ == null ? - com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance() : azureCluster_; + return azureCluster_ == null + ? com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance() + : azureCluster_; } } /** + * + * *
      * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureCluster, com.google.cloud.gkemulticloud.v1.AzureCluster.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureCluster, + com.google.cloud.gkemulticloud.v1.AzureCluster.Builder, + com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder> getAzureClusterFieldBuilder() { if (azureClusterBuilder_ == null) { - azureClusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureCluster, com.google.cloud.gkemulticloud.v1.AzureCluster.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder>( - getAzureCluster(), - getParentForChildren(), - isClean()); + azureClusterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureCluster, + com.google.cloud.gkemulticloud.v1.AzureCluster.Builder, + com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder>( + getAzureCluster(), getParentForChildren(), isClean()); azureCluster_ = null; } return azureClusterBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * If set, only validate the request, but do not actually update the cluster.
      * 
* * bool validate_only = 2; + * * @return The validateOnly. */ @java.lang.Override @@ -776,11 +879,14 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * If set, only validate the request, but do not actually update the cluster.
      * 
* * bool validate_only = 2; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -792,11 +898,14 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * If set, only validate the request, but do not actually update the cluster.
      * 
* * bool validate_only = 2; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -808,8 +917,13 @@ public Builder clearValidateOnly() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -834,13 +948,17 @@ public Builder clearValidateOnly() {
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -865,17 +983,23 @@ public boolean hasUpdateMask() {
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -900,7 +1024,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -916,6 +1041,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -940,10 +1067,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -954,6 +1081,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -978,13 +1107,14 @@ public Builder setUpdateMask(
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -997,6 +1127,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1021,7 +1153,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1034,6 +1167,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1058,7 +1193,8 @@ public Builder clearUpdateMask() {
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000004; @@ -1066,6 +1202,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1090,17 +1228,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1125,24 +1267,28 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      *  *   `monitoring_config.managed_prometheus_config.enabled`.
      * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1152,12 +1298,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest) private static final com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest(); } @@ -1166,27 +1312,27 @@ public static com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAzureClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAzureClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1201,6 +1347,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequestOrBuilder.java index 6b1afa718b3d..f9fb93f47f57 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequestOrBuilder.java @@ -1,53 +1,88 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface UpdateAzureClusterRequestOrBuilder extends +public interface UpdateAzureClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resource to update.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the azureCluster field is set. */ boolean hasAzureCluster(); /** + * + * *
    * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resource to update.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The azureCluster. */ com.google.cloud.gkemulticloud.v1.AzureCluster getAzureCluster(); /** + * + * *
    * Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
    * resource to update.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClusterOrBuilder(); /** + * + * *
    * If set, only validate the request, but do not actually update the cluster.
    * 
* * bool validate_only = 2; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -72,11 +107,15 @@ public interface UpdateAzureClusterRequestOrBuilder extends
    *  *   `monitoring_config.managed_prometheus_config.enabled`.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -101,11 +140,15 @@ public interface UpdateAzureClusterRequestOrBuilder extends
    *  *   `monitoring_config.managed_prometheus_config.enabled`.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -130,7 +173,8 @@ public interface UpdateAzureClusterRequestOrBuilder extends
    *  *   `monitoring_config.managed_prometheus_config.enabled`.
    * 
* - * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequest.java similarity index 68% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequest.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequest.java index f628a48fe4ff..8b12ae8a8231 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequest.java @@ -1,56 +1,79 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Request message for `AzureClusters.UpdateAzureNodePool` method.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest} */ -public final class UpdateAzureNodePoolRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateAzureNodePoolRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest) UpdateAzureNodePoolRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateAzureNodePoolRequest.newBuilder() to construct. private UpdateAzureNodePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateAzureNodePoolRequest() { - } + + private UpdateAzureNodePoolRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateAzureNodePoolRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest.class, com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest.class, + com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest.Builder.class); } public static final int AZURE_NODE_POOL_FIELD_NUMBER = 1; private com.google.cloud.gkemulticloud.v1.AzureNodePool azureNodePool_; /** + * + * *
    * Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
    * resource to update.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the azureNodePool field is set. */ @java.lang.Override @@ -58,39 +81,55 @@ public boolean hasAzureNodePool() { return azureNodePool_ != null; } /** + * + * *
    * Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
    * resource to update.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The azureNodePool. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureNodePool getAzureNodePool() { - return azureNodePool_ == null ? com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance() : azureNodePool_; + return azureNodePool_ == null + ? com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance() + : azureNodePool_; } /** + * + * *
    * Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
    * resource to update.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePoolOrBuilder() { - return azureNodePool_ == null ? com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance() : azureNodePool_; + return azureNodePool_ == null + ? com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance() + : azureNodePool_; } public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; private boolean validateOnly_ = false; /** + * + * *
    * If set, only validate the request, but don't actually update the node pool.
    * 
* * bool validate_only = 2; + * * @return The validateOnly. */ @java.lang.Override @@ -101,6 +140,8 @@ public boolean getValidateOnly() { public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -115,7 +156,9 @@ public boolean getValidateOnly() {
    *  *   `management`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -123,6 +166,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -137,7 +182,9 @@ public boolean hasUpdateMask() {
    *  *   `management`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -145,6 +192,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -159,7 +208,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    *  *   `management`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -167,6 +217,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,8 +229,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (azureNodePool_ != null) { output.writeMessage(1, getAzureNodePool()); } @@ -199,16 +249,13 @@ public int getSerializedSize() { size = 0; if (azureNodePool_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAzureNodePool()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAzureNodePool()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, validateOnly_); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -218,24 +265,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest other = (com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest) obj; + com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest other = + (com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest) obj; if (hasAzureNodePool() != other.hasAzureNodePool()) return false; if (hasAzureNodePool()) { - if (!getAzureNodePool() - .equals(other.getAzureNodePool())) return false; + if (!getAzureNodePool().equals(other.getAzureNodePool())) return false; } - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -253,8 +298,7 @@ public int hashCode() { hash = (53 * hash) + getAzureNodePool().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); if (hasUpdateMask()) { hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER; hash = (53 * hash) + getUpdateMask().hashCode(); @@ -265,131 +309,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for `AzureClusters.UpdateAzureNodePool` method.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest) com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest.class, com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest.Builder.class); + com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest.class, + com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -409,13 +458,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureServiceProto + .internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_descriptor; } @java.lang.Override - public com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest getDefaultInstanceForType() { + public com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest + getDefaultInstanceForType() { return com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest.getDefaultInstance(); } @@ -430,26 +480,27 @@ public com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest buildPartial() { - com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest result = new com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest result = + new com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest result) { + private void buildPartial0( + com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.azureNodePool_ = azureNodePoolBuilder_ == null - ? azureNodePool_ - : azureNodePoolBuilder_.build(); + result.azureNodePool_ = + azureNodePoolBuilder_ == null ? azureNodePool_ : azureNodePoolBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.validateOnly_ = validateOnly_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -457,38 +508,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.UpdateAzureNodePool public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest) other); } else { super.mergeFrom(other); return this; @@ -496,7 +548,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest other) { - if (other == com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest.getDefaultInstance()) + return this; if (other.hasAzureNodePool()) { mergeAzureNodePool(other.getAzureNodePool()); } @@ -532,31 +586,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getAzureNodePoolFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getAzureNodePoolFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -566,46 +620,66 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.gkemulticloud.v1.AzureNodePool azureNodePool_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodePool, com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder, com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder> azureNodePoolBuilder_; + com.google.cloud.gkemulticloud.v1.AzureNodePool, + com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder, + com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder> + azureNodePoolBuilder_; /** + * + * *
      * Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the azureNodePool field is set. */ public boolean hasAzureNodePool() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The azureNodePool. */ public com.google.cloud.gkemulticloud.v1.AzureNodePool getAzureNodePool() { if (azureNodePoolBuilder_ == null) { - return azureNodePool_ == null ? com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance() : azureNodePool_; + return azureNodePool_ == null + ? com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance() + : azureNodePool_; } else { return azureNodePoolBuilder_.getMessage(); } } /** + * + * *
      * Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAzureNodePool(com.google.cloud.gkemulticloud.v1.AzureNodePool value) { if (azureNodePoolBuilder_ == null) { @@ -621,12 +695,16 @@ public Builder setAzureNodePool(com.google.cloud.gkemulticloud.v1.AzureNodePool return this; } /** + * + * *
      * Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAzureNodePool( com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder builderForValue) { @@ -640,18 +718,23 @@ public Builder setAzureNodePool( return this; } /** + * + * *
      * Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAzureNodePool(com.google.cloud.gkemulticloud.v1.AzureNodePool value) { if (azureNodePoolBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - azureNodePool_ != null && - azureNodePool_ != com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && azureNodePool_ != null + && azureNodePool_ + != com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance()) { getAzureNodePoolBuilder().mergeFrom(value); } else { azureNodePool_ = value; @@ -664,12 +747,16 @@ public Builder mergeAzureNodePool(com.google.cloud.gkemulticloud.v1.AzureNodePoo return this; } /** + * + * *
      * Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAzureNodePool() { bitField0_ = (bitField0_ & ~0x00000001); @@ -682,12 +769,16 @@ public Builder clearAzureNodePool() { return this; } /** + * + * *
      * Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder getAzureNodePoolBuilder() { bitField0_ |= 0x00000001; @@ -695,50 +786,65 @@ public com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder getAzureNodePoolB return getAzureNodePoolFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePoolOrBuilder() { if (azureNodePoolBuilder_ != null) { return azureNodePoolBuilder_.getMessageOrBuilder(); } else { - return azureNodePool_ == null ? - com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance() : azureNodePool_; + return azureNodePool_ == null + ? com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance() + : azureNodePool_; } } /** + * + * *
      * Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
      * resource to update.
      * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodePool, com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder, com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder> + com.google.cloud.gkemulticloud.v1.AzureNodePool, + com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder, + com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder> getAzureNodePoolFieldBuilder() { if (azureNodePoolBuilder_ == null) { - azureNodePoolBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.AzureNodePool, com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder, com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder>( - getAzureNodePool(), - getParentForChildren(), - isClean()); + azureNodePoolBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureNodePool, + com.google.cloud.gkemulticloud.v1.AzureNodePool.Builder, + com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder>( + getAzureNodePool(), getParentForChildren(), isClean()); azureNodePool_ = null; } return azureNodePoolBuilder_; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * If set, only validate the request, but don't actually update the node pool.
      * 
* * bool validate_only = 2; + * * @return The validateOnly. */ @java.lang.Override @@ -746,11 +852,14 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * If set, only validate the request, but don't actually update the node pool.
      * 
* * bool validate_only = 2; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -762,11 +871,14 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * If set, only validate the request, but don't actually update the node pool.
      * 
* * bool validate_only = 2; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -778,8 +890,13 @@ public Builder clearValidateOnly() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -794,13 +911,17 @@ public Builder clearValidateOnly() {
      *  *   `management`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -815,17 +936,23 @@ public boolean hasUpdateMask() {
      *  *   `management`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -840,7 +967,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      *  *   `management`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -856,6 +984,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -870,10 +1000,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `management`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -884,6 +1014,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -898,13 +1030,14 @@ public Builder setUpdateMask(
      *  *   `management`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -917,6 +1050,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -931,7 +1066,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      *  *   `management`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000004); @@ -944,6 +1080,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -958,7 +1096,8 @@ public Builder clearUpdateMask() {
      *  *   `management`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000004; @@ -966,6 +1105,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -980,17 +1121,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      *  *   `management`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. Mask of fields to update. At least one path must be supplied in
      * this field. The elements of the repeated paths field can only include these
@@ -1005,24 +1150,28 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      *  *   `management`.
      * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1032,12 +1181,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest) - private static final com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest DEFAULT_INSTANCE; + private static final com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest(); } @@ -1046,27 +1196,27 @@ public static com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAzureNodePoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAzureNodePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1081,6 +1231,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequestOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequestOrBuilder.java index f7a34a774c68..94aa85f72c05 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureNodePoolRequestOrBuilder.java @@ -1,53 +1,88 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/azure_service.proto package com.google.cloud.gkemulticloud.v1; -public interface UpdateAzureNodePoolRequestOrBuilder extends +public interface UpdateAzureNodePoolRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
    * resource to update.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the azureNodePool field is set. */ boolean hasAzureNodePool(); /** + * + * *
    * Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
    * resource to update.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The azureNodePool. */ com.google.cloud.gkemulticloud.v1.AzureNodePool getAzureNodePool(); /** + * + * *
    * Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
    * resource to update.
    * 
* - * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gkemulticloud.v1.AzureNodePool azure_node_pool = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gkemulticloud.v1.AzureNodePoolOrBuilder getAzureNodePoolOrBuilder(); /** + * + * *
    * If set, only validate the request, but don't actually update the node pool.
    * 
* * bool validate_only = 2; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -62,11 +97,15 @@ public interface UpdateAzureNodePoolRequestOrBuilder extends
    *  *   `management`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -81,11 +120,15 @@ public interface UpdateAzureNodePoolRequestOrBuilder extends
    *  *   `management`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Required. Mask of fields to update. At least one path must be supplied in
    * this field. The elements of the repeated paths field can only include these
@@ -100,7 +143,8 @@ public interface UpdateAzureNodePoolRequestOrBuilder extends
    *  *   `management`.
    * 
* - * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateSettings.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateSettings.java similarity index 64% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateSettings.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateSettings.java index b350a7fcd873..c846ddc594fe 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateSettings.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateSettings.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/aws_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * UpdateSettings control the level of parallelism and the level of
  * disruption caused during the update of a node pool.
@@ -32,46 +49,52 @@
  *
  * Protobuf type {@code google.cloud.gkemulticloud.v1.UpdateSettings}
  */
-public final class UpdateSettings extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpdateSettings extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.UpdateSettings)
     UpdateSettingsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpdateSettings.newBuilder() to construct.
   private UpdateSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private UpdateSettings() {
-  }
+
+  private UpdateSettings() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdateSettings();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_UpdateSettings_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_UpdateSettings_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_UpdateSettings_fieldAccessorTable
+    return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+        .internal_static_google_cloud_gkemulticloud_v1_UpdateSettings_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.gkemulticloud.v1.UpdateSettings.class, com.google.cloud.gkemulticloud.v1.UpdateSettings.Builder.class);
+            com.google.cloud.gkemulticloud.v1.UpdateSettings.class,
+            com.google.cloud.gkemulticloud.v1.UpdateSettings.Builder.class);
   }
 
   public static final int SURGE_SETTINGS_FIELD_NUMBER = 1;
   private com.google.cloud.gkemulticloud.v1.SurgeSettings surgeSettings_;
   /**
+   *
+   *
    * 
    * Optional. Settings for surge update.
    * 
* - * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the surgeSettings field is set. */ @java.lang.Override @@ -79,30 +102,44 @@ public boolean hasSurgeSettings() { return surgeSettings_ != null; } /** + * + * *
    * Optional. Settings for surge update.
    * 
* - * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The surgeSettings. */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.SurgeSettings getSurgeSettings() { - return surgeSettings_ == null ? com.google.cloud.gkemulticloud.v1.SurgeSettings.getDefaultInstance() : surgeSettings_; + return surgeSettings_ == null + ? com.google.cloud.gkemulticloud.v1.SurgeSettings.getDefaultInstance() + : surgeSettings_; } /** + * + * *
    * Optional. Settings for surge update.
    * 
* - * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.gkemulticloud.v1.SurgeSettingsOrBuilder getSurgeSettingsOrBuilder() { - return surgeSettings_ == null ? com.google.cloud.gkemulticloud.v1.SurgeSettings.getDefaultInstance() : surgeSettings_; + return surgeSettings_ == null + ? com.google.cloud.gkemulticloud.v1.SurgeSettings.getDefaultInstance() + : surgeSettings_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -114,8 +151,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (surgeSettings_ != null) { output.writeMessage(1, getSurgeSettings()); } @@ -129,8 +165,7 @@ public int getSerializedSize() { size = 0; if (surgeSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSurgeSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSurgeSettings()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -140,17 +175,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.UpdateSettings)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.UpdateSettings other = (com.google.cloud.gkemulticloud.v1.UpdateSettings) obj; + com.google.cloud.gkemulticloud.v1.UpdateSettings other = + (com.google.cloud.gkemulticloud.v1.UpdateSettings) obj; if (hasSurgeSettings() != other.hasSurgeSettings()) return false; if (hasSurgeSettings()) { - if (!getSurgeSettings() - .equals(other.getSurgeSettings())) return false; + if (!getSurgeSettings().equals(other.getSurgeSettings())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -172,99 +207,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.gkemulticloud.v1.UpdateSettings parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.gkemulticloud.v1.UpdateSettings parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.UpdateSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.UpdateSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.UpdateSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.UpdateSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.UpdateSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.UpdateSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.UpdateSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.UpdateSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.UpdateSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.UpdateSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.UpdateSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.UpdateSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.UpdateSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.UpdateSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * UpdateSettings control the level of parallelism and the level of
    * disruption caused during the update of a node pool.
@@ -293,33 +333,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.gkemulticloud.v1.UpdateSettings}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.UpdateSettings)
       com.google.cloud.gkemulticloud.v1.UpdateSettingsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_UpdateSettings_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_UpdateSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_UpdateSettings_fieldAccessorTable
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_UpdateSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.gkemulticloud.v1.UpdateSettings.class, com.google.cloud.gkemulticloud.v1.UpdateSettings.Builder.class);
+              com.google.cloud.gkemulticloud.v1.UpdateSettings.class,
+              com.google.cloud.gkemulticloud.v1.UpdateSettings.Builder.class);
     }
 
     // Construct using com.google.cloud.gkemulticloud.v1.UpdateSettings.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -333,9 +372,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto.internal_static_google_cloud_gkemulticloud_v1_UpdateSettings_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.gkemulticloud.v1.AwsResourcesProto
+          .internal_static_google_cloud_gkemulticloud_v1_UpdateSettings_descriptor;
     }
 
     @java.lang.Override
@@ -354,8 +393,11 @@ public com.google.cloud.gkemulticloud.v1.UpdateSettings build() {
 
     @java.lang.Override
     public com.google.cloud.gkemulticloud.v1.UpdateSettings buildPartial() {
-      com.google.cloud.gkemulticloud.v1.UpdateSettings result = new com.google.cloud.gkemulticloud.v1.UpdateSettings(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.gkemulticloud.v1.UpdateSettings result =
+          new com.google.cloud.gkemulticloud.v1.UpdateSettings(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -363,9 +405,8 @@ public com.google.cloud.gkemulticloud.v1.UpdateSettings buildPartial() {
     private void buildPartial0(com.google.cloud.gkemulticloud.v1.UpdateSettings result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.surgeSettings_ = surgeSettingsBuilder_ == null
-            ? surgeSettings_
-            : surgeSettingsBuilder_.build();
+        result.surgeSettings_ =
+            surgeSettingsBuilder_ == null ? surgeSettings_ : surgeSettingsBuilder_.build();
       }
     }
 
@@ -373,38 +414,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.UpdateSettings resu
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.gkemulticloud.v1.UpdateSettings) {
-        return mergeFrom((com.google.cloud.gkemulticloud.v1.UpdateSettings)other);
+        return mergeFrom((com.google.cloud.gkemulticloud.v1.UpdateSettings) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -412,7 +454,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.UpdateSettings other) {
-      if (other == com.google.cloud.gkemulticloud.v1.UpdateSettings.getDefaultInstance()) return this;
+      if (other == com.google.cloud.gkemulticloud.v1.UpdateSettings.getDefaultInstance())
+        return this;
       if (other.hasSurgeSettings()) {
         mergeSurgeSettings(other.getSurgeSettings());
       }
@@ -442,19 +485,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getSurgeSettingsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getSurgeSettingsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -464,43 +507,63 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.gkemulticloud.v1.SurgeSettings surgeSettings_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.gkemulticloud.v1.SurgeSettings, com.google.cloud.gkemulticloud.v1.SurgeSettings.Builder, com.google.cloud.gkemulticloud.v1.SurgeSettingsOrBuilder> surgeSettingsBuilder_;
+            com.google.cloud.gkemulticloud.v1.SurgeSettings,
+            com.google.cloud.gkemulticloud.v1.SurgeSettings.Builder,
+            com.google.cloud.gkemulticloud.v1.SurgeSettingsOrBuilder>
+        surgeSettingsBuilder_;
     /**
+     *
+     *
      * 
      * Optional. Settings for surge update.
      * 
* - * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the surgeSettings field is set. */ public boolean hasSurgeSettings() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Optional. Settings for surge update.
      * 
* - * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The surgeSettings. */ public com.google.cloud.gkemulticloud.v1.SurgeSettings getSurgeSettings() { if (surgeSettingsBuilder_ == null) { - return surgeSettings_ == null ? com.google.cloud.gkemulticloud.v1.SurgeSettings.getDefaultInstance() : surgeSettings_; + return surgeSettings_ == null + ? com.google.cloud.gkemulticloud.v1.SurgeSettings.getDefaultInstance() + : surgeSettings_; } else { return surgeSettingsBuilder_.getMessage(); } } /** + * + * *
      * Optional. Settings for surge update.
      * 
* - * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setSurgeSettings(com.google.cloud.gkemulticloud.v1.SurgeSettings value) { if (surgeSettingsBuilder_ == null) { @@ -516,11 +579,15 @@ public Builder setSurgeSettings(com.google.cloud.gkemulticloud.v1.SurgeSettings return this; } /** + * + * *
      * Optional. Settings for surge update.
      * 
* - * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setSurgeSettings( com.google.cloud.gkemulticloud.v1.SurgeSettings.Builder builderForValue) { @@ -534,17 +601,22 @@ public Builder setSurgeSettings( return this; } /** + * + * *
      * Optional. Settings for surge update.
      * 
* - * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeSurgeSettings(com.google.cloud.gkemulticloud.v1.SurgeSettings value) { if (surgeSettingsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - surgeSettings_ != null && - surgeSettings_ != com.google.cloud.gkemulticloud.v1.SurgeSettings.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && surgeSettings_ != null + && surgeSettings_ + != com.google.cloud.gkemulticloud.v1.SurgeSettings.getDefaultInstance()) { getSurgeSettingsBuilder().mergeFrom(value); } else { surgeSettings_ = value; @@ -557,11 +629,15 @@ public Builder mergeSurgeSettings(com.google.cloud.gkemulticloud.v1.SurgeSetting return this; } /** + * + * *
      * Optional. Settings for surge update.
      * 
* - * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearSurgeSettings() { bitField0_ = (bitField0_ & ~0x00000001); @@ -574,11 +650,15 @@ public Builder clearSurgeSettings() { return this; } /** + * + * *
      * Optional. Settings for surge update.
      * 
* - * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.SurgeSettings.Builder getSurgeSettingsBuilder() { bitField0_ |= 0x00000001; @@ -586,43 +666,55 @@ public com.google.cloud.gkemulticloud.v1.SurgeSettings.Builder getSurgeSettingsB return getSurgeSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Settings for surge update.
      * 
* - * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.gkemulticloud.v1.SurgeSettingsOrBuilder getSurgeSettingsOrBuilder() { if (surgeSettingsBuilder_ != null) { return surgeSettingsBuilder_.getMessageOrBuilder(); } else { - return surgeSettings_ == null ? - com.google.cloud.gkemulticloud.v1.SurgeSettings.getDefaultInstance() : surgeSettings_; + return surgeSettings_ == null + ? com.google.cloud.gkemulticloud.v1.SurgeSettings.getDefaultInstance() + : surgeSettings_; } } /** + * + * *
      * Optional. Settings for surge update.
      * 
* - * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.SurgeSettings, com.google.cloud.gkemulticloud.v1.SurgeSettings.Builder, com.google.cloud.gkemulticloud.v1.SurgeSettingsOrBuilder> + com.google.cloud.gkemulticloud.v1.SurgeSettings, + com.google.cloud.gkemulticloud.v1.SurgeSettings.Builder, + com.google.cloud.gkemulticloud.v1.SurgeSettingsOrBuilder> getSurgeSettingsFieldBuilder() { if (surgeSettingsBuilder_ == null) { - surgeSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gkemulticloud.v1.SurgeSettings, com.google.cloud.gkemulticloud.v1.SurgeSettings.Builder, com.google.cloud.gkemulticloud.v1.SurgeSettingsOrBuilder>( - getSurgeSettings(), - getParentForChildren(), - isClean()); + surgeSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.SurgeSettings, + com.google.cloud.gkemulticloud.v1.SurgeSettings.Builder, + com.google.cloud.gkemulticloud.v1.SurgeSettingsOrBuilder>( + getSurgeSettings(), getParentForChildren(), isClean()); surgeSettings_ = null; } return surgeSettingsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -632,12 +724,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.UpdateSettings) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.UpdateSettings) private static final com.google.cloud.gkemulticloud.v1.UpdateSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.UpdateSettings(); } @@ -646,27 +738,27 @@ public static com.google.cloud.gkemulticloud.v1.UpdateSettings getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -681,6 +773,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.UpdateSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateSettingsOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateSettingsOrBuilder.java new file mode 100644 index 000000000000..680c07293803 --- /dev/null +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateSettingsOrBuilder.java @@ -0,0 +1,66 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/aws_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface UpdateSettingsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.UpdateSettings) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Optional. Settings for surge update.
+   * 
+ * + * + * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the surgeSettings field is set. + */ + boolean hasSurgeSettings(); + /** + * + * + *
+   * Optional. Settings for surge update.
+   * 
+ * + * + * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The surgeSettings. + */ + com.google.cloud.gkemulticloud.v1.SurgeSettings getSurgeSettings(); + /** + * + * + *
+   * Optional. Settings for surge update.
+   * 
+ * + * + * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.gkemulticloud.v1.SurgeSettingsOrBuilder getSurgeSettingsOrBuilder(); +} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfig.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfig.java similarity index 70% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfig.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfig.java index c9f89f2483e4..0a8783f3b016 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfig.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfig.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; /** + * + * *
  * Workload Identity settings.
  * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.WorkloadIdentityConfig} */ -public final class WorkloadIdentityConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class WorkloadIdentityConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.WorkloadIdentityConfig) WorkloadIdentityConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WorkloadIdentityConfig.newBuilder() to construct. private WorkloadIdentityConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private WorkloadIdentityConfig() { issuerUri_ = ""; workloadPool_ = ""; @@ -27,33 +45,38 @@ private WorkloadIdentityConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WorkloadIdentityConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.class, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.class, + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder.class); } public static final int ISSUER_URI_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object issuerUri_ = ""; /** + * + * *
    * The OIDC issuer URL for this cluster.
    * 
* * string issuer_uri = 1; + * * @return The issuerUri. */ @java.lang.Override @@ -62,29 +85,29 @@ public java.lang.String getIssuerUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issuerUri_ = s; return s; } } /** + * + * *
    * The OIDC issuer URL for this cluster.
    * 
* * string issuer_uri = 1; + * * @return The bytes for issuerUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getIssuerUriBytes() { + public com.google.protobuf.ByteString getIssuerUriBytes() { java.lang.Object ref = issuerUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); issuerUri_ = b; return b; } else { @@ -93,14 +116,18 @@ public java.lang.String getIssuerUri() { } public static final int WORKLOAD_POOL_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object workloadPool_ = ""; /** + * + * *
    * The Workload Identity Pool associated to the cluster.
    * 
* * string workload_pool = 2; + * * @return The workloadPool. */ @java.lang.Override @@ -109,29 +136,29 @@ public java.lang.String getWorkloadPool() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workloadPool_ = s; return s; } } /** + * + * *
    * The Workload Identity Pool associated to the cluster.
    * 
* * string workload_pool = 2; + * * @return The bytes for workloadPool. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkloadPoolBytes() { + public com.google.protobuf.ByteString getWorkloadPoolBytes() { java.lang.Object ref = workloadPool_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workloadPool_ = b; return b; } else { @@ -140,15 +167,19 @@ public java.lang.String getWorkloadPool() { } public static final int IDENTITY_PROVIDER_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object identityProvider_ = ""; /** + * + * *
    * The ID of the OIDC Identity Provider (IdP) associated to the Workload
    * Identity Pool.
    * 
* * string identity_provider = 3; + * * @return The identityProvider. */ @java.lang.Override @@ -157,30 +188,30 @@ public java.lang.String getIdentityProvider() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); identityProvider_ = s; return s; } } /** + * + * *
    * The ID of the OIDC Identity Provider (IdP) associated to the Workload
    * Identity Pool.
    * 
* * string identity_provider = 3; + * * @return The bytes for identityProvider. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdentityProviderBytes() { + public com.google.protobuf.ByteString getIdentityProviderBytes() { java.lang.Object ref = identityProvider_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); identityProvider_ = b; return b; } else { @@ -189,6 +220,7 @@ public java.lang.String getIdentityProvider() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,8 +232,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issuerUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issuerUri_); } @@ -237,19 +268,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig)) { return super.equals(obj); } - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig other = (com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig) obj; + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig other = + (com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig) obj; - if (!getIssuerUri() - .equals(other.getIssuerUri())) return false; - if (!getWorkloadPool() - .equals(other.getWorkloadPool())) return false; - if (!getIdentityProvider() - .equals(other.getIdentityProvider())) return false; + if (!getIssuerUri().equals(other.getIssuerUri())) return false; + if (!getWorkloadPool().equals(other.getWorkloadPool())) return false; + if (!getIdentityProvider().equals(other.getIdentityProvider())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -273,131 +302,136 @@ public int hashCode() { } public static com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Workload Identity settings.
    * 
* * Protobuf type {@code google.cloud.gkemulticloud.v1.WorkloadIdentityConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.WorkloadIdentityConfig) com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_fieldAccessorTable + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.class, com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder.class); + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.class, + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder.class); } // Construct using com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -409,9 +443,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gkemulticloud.v1.CommonResourcesProto.internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.CommonResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_descriptor; } @java.lang.Override @@ -430,8 +464,11 @@ public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig build() { @java.lang.Override public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig buildPartial() { - com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig result = new com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig result = + new com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -453,38 +490,39 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.WorkloadIdentityCon public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig) { - return mergeFrom((com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig)other); + return mergeFrom((com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig) other); } else { super.mergeFrom(other); return this; @@ -492,7 +530,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig other) { - if (other == com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.getDefaultInstance()) + return this; if (!other.getIssuerUri().isEmpty()) { issuerUri_ = other.issuerUri_; bitField0_ |= 0x00000001; @@ -534,27 +573,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - issuerUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - workloadPool_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - identityProvider_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + issuerUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + workloadPool_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + identityProvider_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -564,22 +607,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object issuerUri_ = ""; /** + * + * *
      * The OIDC issuer URL for this cluster.
      * 
* * string issuer_uri = 1; + * * @return The issuerUri. */ public java.lang.String getIssuerUri() { java.lang.Object ref = issuerUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issuerUri_ = s; return s; @@ -588,20 +634,21 @@ public java.lang.String getIssuerUri() { } } /** + * + * *
      * The OIDC issuer URL for this cluster.
      * 
* * string issuer_uri = 1; + * * @return The bytes for issuerUri. */ - public com.google.protobuf.ByteString - getIssuerUriBytes() { + public com.google.protobuf.ByteString getIssuerUriBytes() { java.lang.Object ref = issuerUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); issuerUri_ = b; return b; } else { @@ -609,28 +656,35 @@ public java.lang.String getIssuerUri() { } } /** + * + * *
      * The OIDC issuer URL for this cluster.
      * 
* * string issuer_uri = 1; + * * @param value The issuerUri to set. * @return This builder for chaining. */ - public Builder setIssuerUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIssuerUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } issuerUri_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The OIDC issuer URL for this cluster.
      * 
* * string issuer_uri = 1; + * * @return This builder for chaining. */ public Builder clearIssuerUri() { @@ -640,17 +694,21 @@ public Builder clearIssuerUri() { return this; } /** + * + * *
      * The OIDC issuer URL for this cluster.
      * 
* * string issuer_uri = 1; + * * @param value The bytes for issuerUri to set. * @return This builder for chaining. */ - public Builder setIssuerUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIssuerUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); issuerUri_ = value; bitField0_ |= 0x00000001; @@ -660,18 +718,20 @@ public Builder setIssuerUriBytes( private java.lang.Object workloadPool_ = ""; /** + * + * *
      * The Workload Identity Pool associated to the cluster.
      * 
* * string workload_pool = 2; + * * @return The workloadPool. */ public java.lang.String getWorkloadPool() { java.lang.Object ref = workloadPool_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workloadPool_ = s; return s; @@ -680,20 +740,21 @@ public java.lang.String getWorkloadPool() { } } /** + * + * *
      * The Workload Identity Pool associated to the cluster.
      * 
* * string workload_pool = 2; + * * @return The bytes for workloadPool. */ - public com.google.protobuf.ByteString - getWorkloadPoolBytes() { + public com.google.protobuf.ByteString getWorkloadPoolBytes() { java.lang.Object ref = workloadPool_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workloadPool_ = b; return b; } else { @@ -701,28 +762,35 @@ public java.lang.String getWorkloadPool() { } } /** + * + * *
      * The Workload Identity Pool associated to the cluster.
      * 
* * string workload_pool = 2; + * * @param value The workloadPool to set. * @return This builder for chaining. */ - public Builder setWorkloadPool( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWorkloadPool(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } workloadPool_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The Workload Identity Pool associated to the cluster.
      * 
* * string workload_pool = 2; + * * @return This builder for chaining. */ public Builder clearWorkloadPool() { @@ -732,17 +800,21 @@ public Builder clearWorkloadPool() { return this; } /** + * + * *
      * The Workload Identity Pool associated to the cluster.
      * 
* * string workload_pool = 2; + * * @param value The bytes for workloadPool to set. * @return This builder for chaining. */ - public Builder setWorkloadPoolBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWorkloadPoolBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); workloadPool_ = value; bitField0_ |= 0x00000002; @@ -752,19 +824,21 @@ public Builder setWorkloadPoolBytes( private java.lang.Object identityProvider_ = ""; /** + * + * *
      * The ID of the OIDC Identity Provider (IdP) associated to the Workload
      * Identity Pool.
      * 
* * string identity_provider = 3; + * * @return The identityProvider. */ public java.lang.String getIdentityProvider() { java.lang.Object ref = identityProvider_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); identityProvider_ = s; return s; @@ -773,21 +847,22 @@ public java.lang.String getIdentityProvider() { } } /** + * + * *
      * The ID of the OIDC Identity Provider (IdP) associated to the Workload
      * Identity Pool.
      * 
* * string identity_provider = 3; + * * @return The bytes for identityProvider. */ - public com.google.protobuf.ByteString - getIdentityProviderBytes() { + public com.google.protobuf.ByteString getIdentityProviderBytes() { java.lang.Object ref = identityProvider_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); identityProvider_ = b; return b; } else { @@ -795,30 +870,37 @@ public java.lang.String getIdentityProvider() { } } /** + * + * *
      * The ID of the OIDC Identity Provider (IdP) associated to the Workload
      * Identity Pool.
      * 
* * string identity_provider = 3; + * * @param value The identityProvider to set. * @return This builder for chaining. */ - public Builder setIdentityProvider( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIdentityProvider(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } identityProvider_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The ID of the OIDC Identity Provider (IdP) associated to the Workload
      * Identity Pool.
      * 
* * string identity_provider = 3; + * * @return This builder for chaining. */ public Builder clearIdentityProvider() { @@ -828,27 +910,31 @@ public Builder clearIdentityProvider() { return this; } /** + * + * *
      * The ID of the OIDC Identity Provider (IdP) associated to the Workload
      * Identity Pool.
      * 
* * string identity_provider = 3; + * * @param value The bytes for identityProvider to set. * @return This builder for chaining. */ - public Builder setIdentityProviderBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIdentityProviderBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); identityProvider_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -858,12 +944,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.WorkloadIdentityConfig) } // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.WorkloadIdentityConfig) private static final com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig(); } @@ -872,27 +958,27 @@ public static com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkloadIdentityConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkloadIdentityConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -907,6 +993,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfigOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfigOrBuilder.java similarity index 62% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfigOrBuilder.java rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfigOrBuilder.java index fda5f364ffa6..2b069006c699 100644 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfigOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/WorkloadIdentityConfigOrBuilder.java @@ -1,71 +1,102 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gkemulticloud/v1/common_resources.proto package com.google.cloud.gkemulticloud.v1; -public interface WorkloadIdentityConfigOrBuilder extends +public interface WorkloadIdentityConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.WorkloadIdentityConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The OIDC issuer URL for this cluster.
    * 
* * string issuer_uri = 1; + * * @return The issuerUri. */ java.lang.String getIssuerUri(); /** + * + * *
    * The OIDC issuer URL for this cluster.
    * 
* * string issuer_uri = 1; + * * @return The bytes for issuerUri. */ - com.google.protobuf.ByteString - getIssuerUriBytes(); + com.google.protobuf.ByteString getIssuerUriBytes(); /** + * + * *
    * The Workload Identity Pool associated to the cluster.
    * 
* * string workload_pool = 2; + * * @return The workloadPool. */ java.lang.String getWorkloadPool(); /** + * + * *
    * The Workload Identity Pool associated to the cluster.
    * 
* * string workload_pool = 2; + * * @return The bytes for workloadPool. */ - com.google.protobuf.ByteString - getWorkloadPoolBytes(); + com.google.protobuf.ByteString getWorkloadPoolBytes(); /** + * + * *
    * The ID of the OIDC Identity Provider (IdP) associated to the Workload
    * Identity Pool.
    * 
* * string identity_provider = 3; + * * @return The identityProvider. */ java.lang.String getIdentityProvider(); /** + * + * *
    * The ID of the OIDC Identity Provider (IdP) associated to the Workload
    * Identity Pool.
    * 
* * string identity_provider = 3; + * * @return The bytes for identityProvider. */ - com.google.protobuf.ByteString - getIdentityProviderBytes(); + com.google.protobuf.ByteString getIdentityProviderBytes(); } diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/attached_resources.proto b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/attached_resources.proto similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/attached_resources.proto rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/attached_resources.proto diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/attached_service.proto b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/attached_service.proto similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/attached_service.proto rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/attached_service.proto diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_resources.proto b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_resources.proto similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_resources.proto rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_resources.proto diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_service.proto b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_service.proto similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_service.proto rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_service.proto diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_resources.proto b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_resources.proto similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_resources.proto rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_resources.proto diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_service.proto b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_service.proto similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_service.proto rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_service.proto diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/common_resources.proto b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/common_resources.proto similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/common_resources.proto rename to java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/common_resources.proto diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/create/SyncCreateSetCredentialsProvider.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/create/SyncCreateSetCredentialsProvider.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/create/SyncCreateSetCredentialsProvider1.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/create/SyncCreateSetCredentialsProvider1.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/create/SyncCreateSetEndpoint.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/create/SyncCreateSetEndpoint.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/AsyncCreateAttachedCluster.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/AsyncCreateAttachedCluster.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/AsyncCreateAttachedCluster.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/AsyncCreateAttachedCluster.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/AsyncCreateAttachedClusterLRO.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/AsyncCreateAttachedClusterLRO.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/AsyncCreateAttachedClusterLRO.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/AsyncCreateAttachedClusterLRO.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/SyncCreateAttachedCluster.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/SyncCreateAttachedCluster.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/SyncCreateAttachedCluster.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/SyncCreateAttachedCluster.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/SyncCreateAttachedClusterLocationnameAttachedclusterString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/SyncCreateAttachedClusterLocationnameAttachedclusterString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/SyncCreateAttachedClusterLocationnameAttachedclusterString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/SyncCreateAttachedClusterLocationnameAttachedclusterString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/SyncCreateAttachedClusterStringAttachedclusterString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/SyncCreateAttachedClusterStringAttachedclusterString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/SyncCreateAttachedClusterStringAttachedclusterString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/createattachedcluster/SyncCreateAttachedClusterStringAttachedclusterString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/AsyncDeleteAttachedCluster.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/AsyncDeleteAttachedCluster.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/AsyncDeleteAttachedCluster.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/AsyncDeleteAttachedCluster.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/AsyncDeleteAttachedClusterLRO.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/AsyncDeleteAttachedClusterLRO.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/AsyncDeleteAttachedClusterLRO.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/AsyncDeleteAttachedClusterLRO.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/SyncDeleteAttachedCluster.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/SyncDeleteAttachedCluster.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/SyncDeleteAttachedCluster.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/SyncDeleteAttachedCluster.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/SyncDeleteAttachedClusterAttachedclustername.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/SyncDeleteAttachedClusterAttachedclustername.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/SyncDeleteAttachedClusterAttachedclustername.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/SyncDeleteAttachedClusterAttachedclustername.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/SyncDeleteAttachedClusterString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/SyncDeleteAttachedClusterString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/SyncDeleteAttachedClusterString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/deleteattachedcluster/SyncDeleteAttachedClusterString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusteragenttoken/AsyncGenerateAttachedClusterAgentToken.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusteragenttoken/AsyncGenerateAttachedClusterAgentToken.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusteragenttoken/AsyncGenerateAttachedClusterAgentToken.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusteragenttoken/AsyncGenerateAttachedClusterAgentToken.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusteragenttoken/SyncGenerateAttachedClusterAgentToken.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusteragenttoken/SyncGenerateAttachedClusterAgentToken.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusteragenttoken/SyncGenerateAttachedClusterAgentToken.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusteragenttoken/SyncGenerateAttachedClusterAgentToken.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/AsyncGenerateAttachedClusterInstallManifest.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/AsyncGenerateAttachedClusterInstallManifest.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/AsyncGenerateAttachedClusterInstallManifest.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/AsyncGenerateAttachedClusterInstallManifest.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/SyncGenerateAttachedClusterInstallManifest.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/SyncGenerateAttachedClusterInstallManifest.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/SyncGenerateAttachedClusterInstallManifest.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/SyncGenerateAttachedClusterInstallManifest.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/SyncGenerateAttachedClusterInstallManifestLocationnameString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/SyncGenerateAttachedClusterInstallManifestLocationnameString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/SyncGenerateAttachedClusterInstallManifestLocationnameString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/SyncGenerateAttachedClusterInstallManifestLocationnameString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/SyncGenerateAttachedClusterInstallManifestStringString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/SyncGenerateAttachedClusterInstallManifestStringString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/SyncGenerateAttachedClusterInstallManifestStringString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/generateattachedclusterinstallmanifest/SyncGenerateAttachedClusterInstallManifestStringString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/AsyncGetAttachedCluster.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/AsyncGetAttachedCluster.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/AsyncGetAttachedCluster.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/AsyncGetAttachedCluster.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/SyncGetAttachedCluster.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/SyncGetAttachedCluster.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/SyncGetAttachedCluster.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/SyncGetAttachedCluster.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/SyncGetAttachedClusterAttachedclustername.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/SyncGetAttachedClusterAttachedclustername.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/SyncGetAttachedClusterAttachedclustername.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/SyncGetAttachedClusterAttachedclustername.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/SyncGetAttachedClusterString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/SyncGetAttachedClusterString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/SyncGetAttachedClusterString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedcluster/SyncGetAttachedClusterString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/AsyncGetAttachedServerConfig.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/AsyncGetAttachedServerConfig.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/AsyncGetAttachedServerConfig.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/AsyncGetAttachedServerConfig.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/SyncGetAttachedServerConfig.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/SyncGetAttachedServerConfig.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/SyncGetAttachedServerConfig.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/SyncGetAttachedServerConfig.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/SyncGetAttachedServerConfigAttachedserverconfigname.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/SyncGetAttachedServerConfigAttachedserverconfigname.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/SyncGetAttachedServerConfigAttachedserverconfigname.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/SyncGetAttachedServerConfigAttachedserverconfigname.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/SyncGetAttachedServerConfigString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/SyncGetAttachedServerConfigString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/SyncGetAttachedServerConfigString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/getattachedserverconfig/SyncGetAttachedServerConfigString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/AsyncImportAttachedCluster.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/AsyncImportAttachedCluster.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/AsyncImportAttachedCluster.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/AsyncImportAttachedCluster.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/AsyncImportAttachedClusterLRO.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/AsyncImportAttachedClusterLRO.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/AsyncImportAttachedClusterLRO.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/AsyncImportAttachedClusterLRO.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/SyncImportAttachedCluster.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/SyncImportAttachedCluster.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/SyncImportAttachedCluster.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/SyncImportAttachedCluster.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/SyncImportAttachedClusterLocationnameString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/SyncImportAttachedClusterLocationnameString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/SyncImportAttachedClusterLocationnameString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/SyncImportAttachedClusterLocationnameString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/SyncImportAttachedClusterStringString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/SyncImportAttachedClusterStringString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/SyncImportAttachedClusterStringString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/importattachedcluster/SyncImportAttachedClusterStringString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/AsyncListAttachedClusters.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/AsyncListAttachedClusters.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/AsyncListAttachedClusters.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/AsyncListAttachedClusters.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/AsyncListAttachedClustersPaged.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/AsyncListAttachedClustersPaged.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/AsyncListAttachedClustersPaged.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/AsyncListAttachedClustersPaged.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/SyncListAttachedClusters.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/SyncListAttachedClusters.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/SyncListAttachedClusters.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/SyncListAttachedClusters.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/SyncListAttachedClustersLocationname.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/SyncListAttachedClustersLocationname.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/SyncListAttachedClustersLocationname.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/SyncListAttachedClustersLocationname.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/SyncListAttachedClustersString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/SyncListAttachedClustersString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/SyncListAttachedClustersString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/listattachedclusters/SyncListAttachedClustersString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/AsyncUpdateAttachedCluster.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/AsyncUpdateAttachedCluster.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/AsyncUpdateAttachedCluster.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/AsyncUpdateAttachedCluster.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/AsyncUpdateAttachedClusterLRO.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/AsyncUpdateAttachedClusterLRO.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/AsyncUpdateAttachedClusterLRO.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/AsyncUpdateAttachedClusterLRO.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/SyncUpdateAttachedCluster.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/SyncUpdateAttachedCluster.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/SyncUpdateAttachedCluster.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/SyncUpdateAttachedCluster.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/SyncUpdateAttachedClusterAttachedclusterFieldmask.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/SyncUpdateAttachedClusterAttachedclusterFieldmask.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/SyncUpdateAttachedClusterAttachedclusterFieldmask.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusters/updateattachedcluster/SyncUpdateAttachedClusterAttachedclusterFieldmask.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusterssettings/getattachedcluster/SyncGetAttachedCluster.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusterssettings/getattachedcluster/SyncGetAttachedCluster.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusterssettings/getattachedcluster/SyncGetAttachedCluster.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/attachedclusterssettings/getattachedcluster/SyncGetAttachedCluster.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/create/SyncCreateSetCredentialsProvider.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/create/SyncCreateSetCredentialsProvider.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/create/SyncCreateSetCredentialsProvider1.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/create/SyncCreateSetCredentialsProvider1.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/create/SyncCreateSetEndpoint.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/create/SyncCreateSetEndpoint.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/AsyncCreateAwsCluster.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/AsyncCreateAwsCluster.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/AsyncCreateAwsCluster.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/AsyncCreateAwsCluster.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/AsyncCreateAwsClusterLRO.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/AsyncCreateAwsClusterLRO.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/AsyncCreateAwsClusterLRO.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/AsyncCreateAwsClusterLRO.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/SyncCreateAwsCluster.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/SyncCreateAwsCluster.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/SyncCreateAwsCluster.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/SyncCreateAwsCluster.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/SyncCreateAwsClusterLocationnameAwsclusterString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/SyncCreateAwsClusterLocationnameAwsclusterString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/SyncCreateAwsClusterLocationnameAwsclusterString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/SyncCreateAwsClusterLocationnameAwsclusterString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/SyncCreateAwsClusterStringAwsclusterString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/SyncCreateAwsClusterStringAwsclusterString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/SyncCreateAwsClusterStringAwsclusterString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawscluster/SyncCreateAwsClusterStringAwsclusterString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/AsyncCreateAwsNodePool.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/AsyncCreateAwsNodePool.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/AsyncCreateAwsNodePool.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/AsyncCreateAwsNodePool.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/AsyncCreateAwsNodePoolLRO.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/AsyncCreateAwsNodePoolLRO.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/AsyncCreateAwsNodePoolLRO.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/AsyncCreateAwsNodePoolLRO.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/SyncCreateAwsNodePool.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/SyncCreateAwsNodePool.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/SyncCreateAwsNodePool.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/SyncCreateAwsNodePool.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/SyncCreateAwsNodePoolAwsclusternameAwsnodepoolString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/SyncCreateAwsNodePoolAwsclusternameAwsnodepoolString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/SyncCreateAwsNodePoolAwsclusternameAwsnodepoolString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/SyncCreateAwsNodePoolAwsclusternameAwsnodepoolString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/SyncCreateAwsNodePoolStringAwsnodepoolString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/SyncCreateAwsNodePoolStringAwsnodepoolString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/SyncCreateAwsNodePoolStringAwsnodepoolString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/createawsnodepool/SyncCreateAwsNodePoolStringAwsnodepoolString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/AsyncDeleteAwsCluster.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/AsyncDeleteAwsCluster.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/AsyncDeleteAwsCluster.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/AsyncDeleteAwsCluster.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/AsyncDeleteAwsClusterLRO.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/AsyncDeleteAwsClusterLRO.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/AsyncDeleteAwsClusterLRO.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/AsyncDeleteAwsClusterLRO.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/SyncDeleteAwsCluster.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/SyncDeleteAwsCluster.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/SyncDeleteAwsCluster.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/SyncDeleteAwsCluster.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/SyncDeleteAwsClusterAwsclustername.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/SyncDeleteAwsClusterAwsclustername.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/SyncDeleteAwsClusterAwsclustername.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/SyncDeleteAwsClusterAwsclustername.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/SyncDeleteAwsClusterString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/SyncDeleteAwsClusterString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/SyncDeleteAwsClusterString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawscluster/SyncDeleteAwsClusterString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/AsyncDeleteAwsNodePool.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/AsyncDeleteAwsNodePool.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/AsyncDeleteAwsNodePool.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/AsyncDeleteAwsNodePool.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/AsyncDeleteAwsNodePoolLRO.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/AsyncDeleteAwsNodePoolLRO.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/AsyncDeleteAwsNodePoolLRO.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/AsyncDeleteAwsNodePoolLRO.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/SyncDeleteAwsNodePool.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/SyncDeleteAwsNodePool.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/SyncDeleteAwsNodePool.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/SyncDeleteAwsNodePool.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/SyncDeleteAwsNodePoolAwsnodepoolname.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/SyncDeleteAwsNodePoolAwsnodepoolname.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/SyncDeleteAwsNodePoolAwsnodepoolname.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/SyncDeleteAwsNodePoolAwsnodepoolname.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/SyncDeleteAwsNodePoolString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/SyncDeleteAwsNodePoolString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/SyncDeleteAwsNodePoolString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/deleteawsnodepool/SyncDeleteAwsNodePoolString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsaccesstoken/AsyncGenerateAwsAccessToken.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsaccesstoken/AsyncGenerateAwsAccessToken.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsaccesstoken/AsyncGenerateAwsAccessToken.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsaccesstoken/AsyncGenerateAwsAccessToken.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsaccesstoken/SyncGenerateAwsAccessToken.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsaccesstoken/SyncGenerateAwsAccessToken.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsaccesstoken/SyncGenerateAwsAccessToken.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsaccesstoken/SyncGenerateAwsAccessToken.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsclusteragenttoken/AsyncGenerateAwsClusterAgentToken.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsclusteragenttoken/AsyncGenerateAwsClusterAgentToken.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsclusteragenttoken/AsyncGenerateAwsClusterAgentToken.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsclusteragenttoken/AsyncGenerateAwsClusterAgentToken.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsclusteragenttoken/SyncGenerateAwsClusterAgentToken.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsclusteragenttoken/SyncGenerateAwsClusterAgentToken.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsclusteragenttoken/SyncGenerateAwsClusterAgentToken.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/generateawsclusteragenttoken/SyncGenerateAwsClusterAgentToken.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/AsyncGetAwsCluster.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/AsyncGetAwsCluster.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/AsyncGetAwsCluster.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/AsyncGetAwsCluster.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/SyncGetAwsCluster.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/SyncGetAwsCluster.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/SyncGetAwsCluster.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/SyncGetAwsCluster.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/SyncGetAwsClusterAwsclustername.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/SyncGetAwsClusterAwsclustername.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/SyncGetAwsClusterAwsclustername.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/SyncGetAwsClusterAwsclustername.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/SyncGetAwsClusterString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/SyncGetAwsClusterString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/SyncGetAwsClusterString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawscluster/SyncGetAwsClusterString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsjsonwebkeys/AsyncGetAwsJsonWebKeys.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsjsonwebkeys/AsyncGetAwsJsonWebKeys.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsjsonwebkeys/AsyncGetAwsJsonWebKeys.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsjsonwebkeys/AsyncGetAwsJsonWebKeys.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsjsonwebkeys/SyncGetAwsJsonWebKeys.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsjsonwebkeys/SyncGetAwsJsonWebKeys.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsjsonwebkeys/SyncGetAwsJsonWebKeys.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsjsonwebkeys/SyncGetAwsJsonWebKeys.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/AsyncGetAwsNodePool.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/AsyncGetAwsNodePool.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/AsyncGetAwsNodePool.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/AsyncGetAwsNodePool.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/SyncGetAwsNodePool.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/SyncGetAwsNodePool.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/SyncGetAwsNodePool.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/SyncGetAwsNodePool.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/SyncGetAwsNodePoolAwsnodepoolname.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/SyncGetAwsNodePoolAwsnodepoolname.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/SyncGetAwsNodePoolAwsnodepoolname.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/SyncGetAwsNodePoolAwsnodepoolname.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/SyncGetAwsNodePoolString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/SyncGetAwsNodePoolString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/SyncGetAwsNodePoolString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsnodepool/SyncGetAwsNodePoolString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsopenidconfig/AsyncGetAwsOpenIdConfig.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsopenidconfig/AsyncGetAwsOpenIdConfig.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsopenidconfig/AsyncGetAwsOpenIdConfig.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsopenidconfig/AsyncGetAwsOpenIdConfig.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsopenidconfig/SyncGetAwsOpenIdConfig.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsopenidconfig/SyncGetAwsOpenIdConfig.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsopenidconfig/SyncGetAwsOpenIdConfig.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsopenidconfig/SyncGetAwsOpenIdConfig.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/AsyncGetAwsServerConfig.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/AsyncGetAwsServerConfig.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/AsyncGetAwsServerConfig.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/AsyncGetAwsServerConfig.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/SyncGetAwsServerConfig.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/SyncGetAwsServerConfig.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/SyncGetAwsServerConfig.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/SyncGetAwsServerConfig.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/SyncGetAwsServerConfigAwsserverconfigname.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/SyncGetAwsServerConfigAwsserverconfigname.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/SyncGetAwsServerConfigAwsserverconfigname.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/SyncGetAwsServerConfigAwsserverconfigname.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/SyncGetAwsServerConfigString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/SyncGetAwsServerConfigString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/SyncGetAwsServerConfigString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/getawsserverconfig/SyncGetAwsServerConfigString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/AsyncListAwsClusters.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/AsyncListAwsClusters.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/AsyncListAwsClusters.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/AsyncListAwsClusters.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/AsyncListAwsClustersPaged.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/AsyncListAwsClustersPaged.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/AsyncListAwsClustersPaged.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/AsyncListAwsClustersPaged.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/SyncListAwsClusters.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/SyncListAwsClusters.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/SyncListAwsClusters.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/SyncListAwsClusters.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/SyncListAwsClustersLocationname.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/SyncListAwsClustersLocationname.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/SyncListAwsClustersLocationname.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/SyncListAwsClustersLocationname.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/SyncListAwsClustersString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/SyncListAwsClustersString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/SyncListAwsClustersString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsclusters/SyncListAwsClustersString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/AsyncListAwsNodePools.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/AsyncListAwsNodePools.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/AsyncListAwsNodePools.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/AsyncListAwsNodePools.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/AsyncListAwsNodePoolsPaged.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/AsyncListAwsNodePoolsPaged.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/AsyncListAwsNodePoolsPaged.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/AsyncListAwsNodePoolsPaged.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/SyncListAwsNodePools.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/SyncListAwsNodePools.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/SyncListAwsNodePools.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/SyncListAwsNodePools.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/SyncListAwsNodePoolsAwsclustername.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/SyncListAwsNodePoolsAwsclustername.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/SyncListAwsNodePoolsAwsclustername.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/SyncListAwsNodePoolsAwsclustername.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/SyncListAwsNodePoolsString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/SyncListAwsNodePoolsString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/SyncListAwsNodePoolsString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/listawsnodepools/SyncListAwsNodePoolsString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/AsyncRollbackAwsNodePoolUpdate.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/AsyncRollbackAwsNodePoolUpdate.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/AsyncRollbackAwsNodePoolUpdate.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/AsyncRollbackAwsNodePoolUpdate.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/AsyncRollbackAwsNodePoolUpdateLRO.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/AsyncRollbackAwsNodePoolUpdateLRO.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/AsyncRollbackAwsNodePoolUpdateLRO.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/AsyncRollbackAwsNodePoolUpdateLRO.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/SyncRollbackAwsNodePoolUpdate.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/SyncRollbackAwsNodePoolUpdate.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/SyncRollbackAwsNodePoolUpdate.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/SyncRollbackAwsNodePoolUpdate.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/SyncRollbackAwsNodePoolUpdateAwsnodepoolname.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/SyncRollbackAwsNodePoolUpdateAwsnodepoolname.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/SyncRollbackAwsNodePoolUpdateAwsnodepoolname.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/SyncRollbackAwsNodePoolUpdateAwsnodepoolname.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/SyncRollbackAwsNodePoolUpdateString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/SyncRollbackAwsNodePoolUpdateString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/SyncRollbackAwsNodePoolUpdateString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/rollbackawsnodepoolupdate/SyncRollbackAwsNodePoolUpdateString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/AsyncUpdateAwsCluster.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/AsyncUpdateAwsCluster.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/AsyncUpdateAwsCluster.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/AsyncUpdateAwsCluster.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/AsyncUpdateAwsClusterLRO.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/AsyncUpdateAwsClusterLRO.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/AsyncUpdateAwsClusterLRO.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/AsyncUpdateAwsClusterLRO.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/SyncUpdateAwsCluster.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/SyncUpdateAwsCluster.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/SyncUpdateAwsCluster.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/SyncUpdateAwsCluster.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/SyncUpdateAwsClusterAwsclusterFieldmask.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/SyncUpdateAwsClusterAwsclusterFieldmask.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/SyncUpdateAwsClusterAwsclusterFieldmask.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawscluster/SyncUpdateAwsClusterAwsclusterFieldmask.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/AsyncUpdateAwsNodePool.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/AsyncUpdateAwsNodePool.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/AsyncUpdateAwsNodePool.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/AsyncUpdateAwsNodePool.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/AsyncUpdateAwsNodePoolLRO.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/AsyncUpdateAwsNodePoolLRO.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/AsyncUpdateAwsNodePoolLRO.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/AsyncUpdateAwsNodePoolLRO.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/SyncUpdateAwsNodePool.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/SyncUpdateAwsNodePool.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/SyncUpdateAwsNodePool.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/SyncUpdateAwsNodePool.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/SyncUpdateAwsNodePoolAwsnodepoolFieldmask.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/SyncUpdateAwsNodePoolAwsnodepoolFieldmask.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/SyncUpdateAwsNodePoolAwsnodepoolFieldmask.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusters/updateawsnodepool/SyncUpdateAwsNodePoolAwsnodepoolFieldmask.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusterssettings/getawscluster/SyncGetAwsCluster.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusterssettings/getawscluster/SyncGetAwsCluster.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusterssettings/getawscluster/SyncGetAwsCluster.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/awsclusterssettings/getawscluster/SyncGetAwsCluster.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/create/SyncCreateSetCredentialsProvider.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/create/SyncCreateSetCredentialsProvider.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/create/SyncCreateSetCredentialsProvider1.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/create/SyncCreateSetCredentialsProvider1.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/create/SyncCreateSetEndpoint.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/create/SyncCreateSetEndpoint.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/AsyncCreateAzureClient.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/AsyncCreateAzureClient.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/AsyncCreateAzureClient.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/AsyncCreateAzureClient.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/AsyncCreateAzureClientLRO.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/AsyncCreateAzureClientLRO.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/AsyncCreateAzureClientLRO.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/AsyncCreateAzureClientLRO.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/SyncCreateAzureClient.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/SyncCreateAzureClient.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/SyncCreateAzureClient.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/SyncCreateAzureClient.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/SyncCreateAzureClientLocationnameAzureclientString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/SyncCreateAzureClientLocationnameAzureclientString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/SyncCreateAzureClientLocationnameAzureclientString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/SyncCreateAzureClientLocationnameAzureclientString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/SyncCreateAzureClientStringAzureclientString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/SyncCreateAzureClientStringAzureclientString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/SyncCreateAzureClientStringAzureclientString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazureclient/SyncCreateAzureClientStringAzureclientString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/AsyncCreateAzureCluster.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/AsyncCreateAzureCluster.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/AsyncCreateAzureCluster.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/AsyncCreateAzureCluster.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/AsyncCreateAzureClusterLRO.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/AsyncCreateAzureClusterLRO.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/AsyncCreateAzureClusterLRO.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/AsyncCreateAzureClusterLRO.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/SyncCreateAzureCluster.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/SyncCreateAzureCluster.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/SyncCreateAzureCluster.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/SyncCreateAzureCluster.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/SyncCreateAzureClusterLocationnameAzureclusterString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/SyncCreateAzureClusterLocationnameAzureclusterString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/SyncCreateAzureClusterLocationnameAzureclusterString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/SyncCreateAzureClusterLocationnameAzureclusterString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/SyncCreateAzureClusterStringAzureclusterString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/SyncCreateAzureClusterStringAzureclusterString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/SyncCreateAzureClusterStringAzureclusterString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurecluster/SyncCreateAzureClusterStringAzureclusterString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/AsyncCreateAzureNodePool.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/AsyncCreateAzureNodePool.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/AsyncCreateAzureNodePool.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/AsyncCreateAzureNodePool.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/AsyncCreateAzureNodePoolLRO.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/AsyncCreateAzureNodePoolLRO.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/AsyncCreateAzureNodePoolLRO.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/AsyncCreateAzureNodePoolLRO.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/SyncCreateAzureNodePool.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/SyncCreateAzureNodePool.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/SyncCreateAzureNodePool.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/SyncCreateAzureNodePool.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/SyncCreateAzureNodePoolAzureclusternameAzurenodepoolString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/SyncCreateAzureNodePoolAzureclusternameAzurenodepoolString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/SyncCreateAzureNodePoolAzureclusternameAzurenodepoolString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/SyncCreateAzureNodePoolAzureclusternameAzurenodepoolString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/SyncCreateAzureNodePoolStringAzurenodepoolString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/SyncCreateAzureNodePoolStringAzurenodepoolString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/SyncCreateAzureNodePoolStringAzurenodepoolString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/createazurenodepool/SyncCreateAzureNodePoolStringAzurenodepoolString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/AsyncDeleteAzureClient.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/AsyncDeleteAzureClient.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/AsyncDeleteAzureClient.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/AsyncDeleteAzureClient.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/AsyncDeleteAzureClientLRO.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/AsyncDeleteAzureClientLRO.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/AsyncDeleteAzureClientLRO.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/AsyncDeleteAzureClientLRO.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/SyncDeleteAzureClient.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/SyncDeleteAzureClient.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/SyncDeleteAzureClient.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/SyncDeleteAzureClient.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/SyncDeleteAzureClientAzureclientname.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/SyncDeleteAzureClientAzureclientname.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/SyncDeleteAzureClientAzureclientname.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/SyncDeleteAzureClientAzureclientname.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/SyncDeleteAzureClientString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/SyncDeleteAzureClientString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/SyncDeleteAzureClientString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazureclient/SyncDeleteAzureClientString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/AsyncDeleteAzureCluster.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/AsyncDeleteAzureCluster.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/AsyncDeleteAzureCluster.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/AsyncDeleteAzureCluster.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/AsyncDeleteAzureClusterLRO.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/AsyncDeleteAzureClusterLRO.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/AsyncDeleteAzureClusterLRO.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/AsyncDeleteAzureClusterLRO.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/SyncDeleteAzureCluster.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/SyncDeleteAzureCluster.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/SyncDeleteAzureCluster.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/SyncDeleteAzureCluster.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/SyncDeleteAzureClusterAzureclustername.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/SyncDeleteAzureClusterAzureclustername.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/SyncDeleteAzureClusterAzureclustername.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/SyncDeleteAzureClusterAzureclustername.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/SyncDeleteAzureClusterString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/SyncDeleteAzureClusterString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/SyncDeleteAzureClusterString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurecluster/SyncDeleteAzureClusterString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/AsyncDeleteAzureNodePool.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/AsyncDeleteAzureNodePool.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/AsyncDeleteAzureNodePool.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/AsyncDeleteAzureNodePool.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/AsyncDeleteAzureNodePoolLRO.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/AsyncDeleteAzureNodePoolLRO.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/AsyncDeleteAzureNodePoolLRO.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/AsyncDeleteAzureNodePoolLRO.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/SyncDeleteAzureNodePool.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/SyncDeleteAzureNodePool.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/SyncDeleteAzureNodePool.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/SyncDeleteAzureNodePool.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/SyncDeleteAzureNodePoolAzurenodepoolname.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/SyncDeleteAzureNodePoolAzurenodepoolname.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/SyncDeleteAzureNodePoolAzurenodepoolname.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/SyncDeleteAzureNodePoolAzurenodepoolname.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/SyncDeleteAzureNodePoolString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/SyncDeleteAzureNodePoolString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/SyncDeleteAzureNodePoolString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/deleteazurenodepool/SyncDeleteAzureNodePoolString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureaccesstoken/AsyncGenerateAzureAccessToken.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureaccesstoken/AsyncGenerateAzureAccessToken.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureaccesstoken/AsyncGenerateAzureAccessToken.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureaccesstoken/AsyncGenerateAzureAccessToken.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureaccesstoken/SyncGenerateAzureAccessToken.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureaccesstoken/SyncGenerateAzureAccessToken.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureaccesstoken/SyncGenerateAzureAccessToken.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureaccesstoken/SyncGenerateAzureAccessToken.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureclusteragenttoken/AsyncGenerateAzureClusterAgentToken.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureclusteragenttoken/AsyncGenerateAzureClusterAgentToken.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureclusteragenttoken/AsyncGenerateAzureClusterAgentToken.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureclusteragenttoken/AsyncGenerateAzureClusterAgentToken.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureclusteragenttoken/SyncGenerateAzureClusterAgentToken.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureclusteragenttoken/SyncGenerateAzureClusterAgentToken.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureclusteragenttoken/SyncGenerateAzureClusterAgentToken.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/generateazureclusteragenttoken/SyncGenerateAzureClusterAgentToken.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/AsyncGetAzureClient.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/AsyncGetAzureClient.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/AsyncGetAzureClient.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/AsyncGetAzureClient.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/SyncGetAzureClient.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/SyncGetAzureClient.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/SyncGetAzureClient.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/SyncGetAzureClient.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/SyncGetAzureClientAzureclientname.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/SyncGetAzureClientAzureclientname.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/SyncGetAzureClientAzureclientname.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/SyncGetAzureClientAzureclientname.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/SyncGetAzureClientString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/SyncGetAzureClientString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/SyncGetAzureClientString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureclient/SyncGetAzureClientString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/AsyncGetAzureCluster.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/AsyncGetAzureCluster.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/AsyncGetAzureCluster.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/AsyncGetAzureCluster.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/SyncGetAzureCluster.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/SyncGetAzureCluster.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/SyncGetAzureCluster.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/SyncGetAzureCluster.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/SyncGetAzureClusterAzureclustername.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/SyncGetAzureClusterAzureclustername.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/SyncGetAzureClusterAzureclustername.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/SyncGetAzureClusterAzureclustername.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/SyncGetAzureClusterString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/SyncGetAzureClusterString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/SyncGetAzureClusterString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurecluster/SyncGetAzureClusterString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/AsyncGetAzureJsonWebKeys.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/AsyncGetAzureJsonWebKeys.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/AsyncGetAzureJsonWebKeys.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/AsyncGetAzureJsonWebKeys.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/SyncGetAzureJsonWebKeys.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/SyncGetAzureJsonWebKeys.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/SyncGetAzureJsonWebKeys.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/SyncGetAzureJsonWebKeys.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/SyncGetAzureJsonWebKeysAzureclustername.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/SyncGetAzureJsonWebKeysAzureclustername.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/SyncGetAzureJsonWebKeysAzureclustername.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/SyncGetAzureJsonWebKeysAzureclustername.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/SyncGetAzureJsonWebKeysString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/SyncGetAzureJsonWebKeysString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/SyncGetAzureJsonWebKeysString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurejsonwebkeys/SyncGetAzureJsonWebKeysString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/AsyncGetAzureNodePool.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/AsyncGetAzureNodePool.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/AsyncGetAzureNodePool.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/AsyncGetAzureNodePool.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/SyncGetAzureNodePool.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/SyncGetAzureNodePool.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/SyncGetAzureNodePool.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/SyncGetAzureNodePool.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/SyncGetAzureNodePoolAzurenodepoolname.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/SyncGetAzureNodePoolAzurenodepoolname.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/SyncGetAzureNodePoolAzurenodepoolname.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/SyncGetAzureNodePoolAzurenodepoolname.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/SyncGetAzureNodePoolString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/SyncGetAzureNodePoolString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/SyncGetAzureNodePoolString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazurenodepool/SyncGetAzureNodePoolString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/AsyncGetAzureOpenIdConfig.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/AsyncGetAzureOpenIdConfig.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/AsyncGetAzureOpenIdConfig.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/AsyncGetAzureOpenIdConfig.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/SyncGetAzureOpenIdConfig.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/SyncGetAzureOpenIdConfig.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/SyncGetAzureOpenIdConfig.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/SyncGetAzureOpenIdConfig.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/SyncGetAzureOpenIdConfigAzureclustername.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/SyncGetAzureOpenIdConfigAzureclustername.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/SyncGetAzureOpenIdConfigAzureclustername.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/SyncGetAzureOpenIdConfigAzureclustername.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/SyncGetAzureOpenIdConfigString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/SyncGetAzureOpenIdConfigString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/SyncGetAzureOpenIdConfigString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureopenidconfig/SyncGetAzureOpenIdConfigString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/AsyncGetAzureServerConfig.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/AsyncGetAzureServerConfig.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/AsyncGetAzureServerConfig.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/AsyncGetAzureServerConfig.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/SyncGetAzureServerConfig.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/SyncGetAzureServerConfig.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/SyncGetAzureServerConfig.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/SyncGetAzureServerConfig.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/SyncGetAzureServerConfigAzureserverconfigname.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/SyncGetAzureServerConfigAzureserverconfigname.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/SyncGetAzureServerConfigAzureserverconfigname.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/SyncGetAzureServerConfigAzureserverconfigname.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/SyncGetAzureServerConfigString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/SyncGetAzureServerConfigString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/SyncGetAzureServerConfigString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/getazureserverconfig/SyncGetAzureServerConfigString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/AsyncListAzureClients.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/AsyncListAzureClients.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/AsyncListAzureClients.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/AsyncListAzureClients.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/AsyncListAzureClientsPaged.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/AsyncListAzureClientsPaged.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/AsyncListAzureClientsPaged.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/AsyncListAzureClientsPaged.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/SyncListAzureClients.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/SyncListAzureClients.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/SyncListAzureClients.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/SyncListAzureClients.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/SyncListAzureClientsLocationname.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/SyncListAzureClientsLocationname.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/SyncListAzureClientsLocationname.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/SyncListAzureClientsLocationname.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/SyncListAzureClientsString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/SyncListAzureClientsString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/SyncListAzureClientsString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclients/SyncListAzureClientsString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/AsyncListAzureClusters.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/AsyncListAzureClusters.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/AsyncListAzureClusters.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/AsyncListAzureClusters.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/AsyncListAzureClustersPaged.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/AsyncListAzureClustersPaged.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/AsyncListAzureClustersPaged.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/AsyncListAzureClustersPaged.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/SyncListAzureClusters.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/SyncListAzureClusters.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/SyncListAzureClusters.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/SyncListAzureClusters.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/SyncListAzureClustersLocationname.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/SyncListAzureClustersLocationname.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/SyncListAzureClustersLocationname.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/SyncListAzureClustersLocationname.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/SyncListAzureClustersString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/SyncListAzureClustersString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/SyncListAzureClustersString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazureclusters/SyncListAzureClustersString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/AsyncListAzureNodePools.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/AsyncListAzureNodePools.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/AsyncListAzureNodePools.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/AsyncListAzureNodePools.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/AsyncListAzureNodePoolsPaged.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/AsyncListAzureNodePoolsPaged.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/AsyncListAzureNodePoolsPaged.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/AsyncListAzureNodePoolsPaged.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/SyncListAzureNodePools.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/SyncListAzureNodePools.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/SyncListAzureNodePools.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/SyncListAzureNodePools.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/SyncListAzureNodePoolsAzureclustername.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/SyncListAzureNodePoolsAzureclustername.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/SyncListAzureNodePoolsAzureclustername.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/SyncListAzureNodePoolsAzureclustername.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/SyncListAzureNodePoolsString.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/SyncListAzureNodePoolsString.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/SyncListAzureNodePoolsString.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/listazurenodepools/SyncListAzureNodePoolsString.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/AsyncUpdateAzureCluster.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/AsyncUpdateAzureCluster.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/AsyncUpdateAzureCluster.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/AsyncUpdateAzureCluster.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/AsyncUpdateAzureClusterLRO.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/AsyncUpdateAzureClusterLRO.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/AsyncUpdateAzureClusterLRO.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/AsyncUpdateAzureClusterLRO.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/SyncUpdateAzureCluster.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/SyncUpdateAzureCluster.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/SyncUpdateAzureCluster.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/SyncUpdateAzureCluster.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/SyncUpdateAzureClusterAzureclusterFieldmask.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/SyncUpdateAzureClusterAzureclusterFieldmask.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/SyncUpdateAzureClusterAzureclusterFieldmask.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurecluster/SyncUpdateAzureClusterAzureclusterFieldmask.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/AsyncUpdateAzureNodePool.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/AsyncUpdateAzureNodePool.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/AsyncUpdateAzureNodePool.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/AsyncUpdateAzureNodePool.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/AsyncUpdateAzureNodePoolLRO.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/AsyncUpdateAzureNodePoolLRO.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/AsyncUpdateAzureNodePoolLRO.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/AsyncUpdateAzureNodePoolLRO.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/SyncUpdateAzureNodePool.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/SyncUpdateAzureNodePool.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/SyncUpdateAzureNodePool.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/SyncUpdateAzureNodePool.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/SyncUpdateAzureNodePoolAzurenodepoolFieldmask.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/SyncUpdateAzureNodePoolAzurenodepoolFieldmask.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/SyncUpdateAzureNodePoolAzurenodepoolFieldmask.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusters/updateazurenodepool/SyncUpdateAzureNodePoolAzurenodepoolFieldmask.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusterssettings/getazureclient/SyncGetAzureClient.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusterssettings/getazureclient/SyncGetAzureClient.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusterssettings/getazureclient/SyncGetAzureClient.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/azureclusterssettings/getazureclient/SyncGetAzureClient.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/attachedclustersstubsettings/getattachedcluster/SyncGetAttachedCluster.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/attachedclustersstubsettings/getattachedcluster/SyncGetAttachedCluster.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/attachedclustersstubsettings/getattachedcluster/SyncGetAttachedCluster.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/attachedclustersstubsettings/getattachedcluster/SyncGetAttachedCluster.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/awsclustersstubsettings/getawscluster/SyncGetAwsCluster.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/awsclustersstubsettings/getawscluster/SyncGetAwsCluster.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/awsclustersstubsettings/getawscluster/SyncGetAwsCluster.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/awsclustersstubsettings/getawscluster/SyncGetAwsCluster.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/azureclustersstubsettings/getazureclient/SyncGetAzureClient.java b/java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/azureclustersstubsettings/getazureclient/SyncGetAzureClient.java similarity index 100% rename from owl-bot-staging/java-gke-multi-cloud/v1/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/azureclustersstubsettings/getazureclient/SyncGetAzureClient.java rename to java-gke-multi-cloud/samples/snippets/generated/com/google/cloud/gkemulticloud/v1/stub/azureclustersstubsettings/getazureclient/SyncGetAzureClient.java diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersGrpc.java b/owl-bot-staging/java-gke-multi-cloud/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersGrpc.java deleted file mode 100644 index 8b905cd4cb55..000000000000 --- a/owl-bot-staging/java-gke-multi-cloud/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersGrpc.java +++ /dev/null @@ -1,1103 +0,0 @@ -package com.google.cloud.gkemulticloud.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * The AttachedClusters API provides a single centrally managed service
- * to register and manage Anthos attached clusters that run on customer's owned
- * infrastructure.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/gkemulticloud/v1/attached_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class AttachedClustersGrpc { - - private AttachedClustersGrpc() {} - - public static final java.lang.String SERVICE_NAME = "google.cloud.gkemulticloud.v1.AttachedClusters"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateAttachedClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateAttachedCluster", - requestType = com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateAttachedClusterMethod() { - io.grpc.MethodDescriptor getCreateAttachedClusterMethod; - if ((getCreateAttachedClusterMethod = AttachedClustersGrpc.getCreateAttachedClusterMethod) == null) { - synchronized (AttachedClustersGrpc.class) { - if ((getCreateAttachedClusterMethod = AttachedClustersGrpc.getCreateAttachedClusterMethod) == null) { - AttachedClustersGrpc.getCreateAttachedClusterMethod = getCreateAttachedClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAttachedCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AttachedClustersMethodDescriptorSupplier("CreateAttachedCluster")) - .build(); - } - } - } - return getCreateAttachedClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateAttachedClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateAttachedCluster", - requestType = com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateAttachedClusterMethod() { - io.grpc.MethodDescriptor getUpdateAttachedClusterMethod; - if ((getUpdateAttachedClusterMethod = AttachedClustersGrpc.getUpdateAttachedClusterMethod) == null) { - synchronized (AttachedClustersGrpc.class) { - if ((getUpdateAttachedClusterMethod = AttachedClustersGrpc.getUpdateAttachedClusterMethod) == null) { - AttachedClustersGrpc.getUpdateAttachedClusterMethod = getUpdateAttachedClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAttachedCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AttachedClustersMethodDescriptorSupplier("UpdateAttachedCluster")) - .build(); - } - } - } - return getUpdateAttachedClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getImportAttachedClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportAttachedCluster", - requestType = com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getImportAttachedClusterMethod() { - io.grpc.MethodDescriptor getImportAttachedClusterMethod; - if ((getImportAttachedClusterMethod = AttachedClustersGrpc.getImportAttachedClusterMethod) == null) { - synchronized (AttachedClustersGrpc.class) { - if ((getImportAttachedClusterMethod = AttachedClustersGrpc.getImportAttachedClusterMethod) == null) { - AttachedClustersGrpc.getImportAttachedClusterMethod = getImportAttachedClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAttachedCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AttachedClustersMethodDescriptorSupplier("ImportAttachedCluster")) - .build(); - } - } - } - return getImportAttachedClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetAttachedClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAttachedCluster", - requestType = com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.AttachedCluster.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetAttachedClusterMethod() { - io.grpc.MethodDescriptor getGetAttachedClusterMethod; - if ((getGetAttachedClusterMethod = AttachedClustersGrpc.getGetAttachedClusterMethod) == null) { - synchronized (AttachedClustersGrpc.class) { - if ((getGetAttachedClusterMethod = AttachedClustersGrpc.getGetAttachedClusterMethod) == null) { - AttachedClustersGrpc.getGetAttachedClusterMethod = getGetAttachedClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAttachedCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.AttachedCluster.getDefaultInstance())) - .setSchemaDescriptor(new AttachedClustersMethodDescriptorSupplier("GetAttachedCluster")) - .build(); - } - } - } - return getGetAttachedClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getListAttachedClustersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAttachedClusters", - requestType = com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListAttachedClustersMethod() { - io.grpc.MethodDescriptor getListAttachedClustersMethod; - if ((getListAttachedClustersMethod = AttachedClustersGrpc.getListAttachedClustersMethod) == null) { - synchronized (AttachedClustersGrpc.class) { - if ((getListAttachedClustersMethod = AttachedClustersGrpc.getListAttachedClustersMethod) == null) { - AttachedClustersGrpc.getListAttachedClustersMethod = getListAttachedClustersMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAttachedClusters")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse.getDefaultInstance())) - .setSchemaDescriptor(new AttachedClustersMethodDescriptorSupplier("ListAttachedClusters")) - .build(); - } - } - } - return getListAttachedClustersMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteAttachedClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAttachedCluster", - requestType = com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteAttachedClusterMethod() { - io.grpc.MethodDescriptor getDeleteAttachedClusterMethod; - if ((getDeleteAttachedClusterMethod = AttachedClustersGrpc.getDeleteAttachedClusterMethod) == null) { - synchronized (AttachedClustersGrpc.class) { - if ((getDeleteAttachedClusterMethod = AttachedClustersGrpc.getDeleteAttachedClusterMethod) == null) { - AttachedClustersGrpc.getDeleteAttachedClusterMethod = getDeleteAttachedClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAttachedCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AttachedClustersMethodDescriptorSupplier("DeleteAttachedCluster")) - .build(); - } - } - } - return getDeleteAttachedClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetAttachedServerConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAttachedServerConfig", - requestType = com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.AttachedServerConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetAttachedServerConfigMethod() { - io.grpc.MethodDescriptor getGetAttachedServerConfigMethod; - if ((getGetAttachedServerConfigMethod = AttachedClustersGrpc.getGetAttachedServerConfigMethod) == null) { - synchronized (AttachedClustersGrpc.class) { - if ((getGetAttachedServerConfigMethod = AttachedClustersGrpc.getGetAttachedServerConfigMethod) == null) { - AttachedClustersGrpc.getGetAttachedServerConfigMethod = getGetAttachedServerConfigMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAttachedServerConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.AttachedServerConfig.getDefaultInstance())) - .setSchemaDescriptor(new AttachedClustersMethodDescriptorSupplier("GetAttachedServerConfig")) - .build(); - } - } - } - return getGetAttachedServerConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor getGenerateAttachedClusterInstallManifestMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GenerateAttachedClusterInstallManifest", - requestType = com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGenerateAttachedClusterInstallManifestMethod() { - io.grpc.MethodDescriptor getGenerateAttachedClusterInstallManifestMethod; - if ((getGenerateAttachedClusterInstallManifestMethod = AttachedClustersGrpc.getGenerateAttachedClusterInstallManifestMethod) == null) { - synchronized (AttachedClustersGrpc.class) { - if ((getGenerateAttachedClusterInstallManifestMethod = AttachedClustersGrpc.getGenerateAttachedClusterInstallManifestMethod) == null) { - AttachedClustersGrpc.getGenerateAttachedClusterInstallManifestMethod = getGenerateAttachedClusterInstallManifestMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GenerateAttachedClusterInstallManifest")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse.getDefaultInstance())) - .setSchemaDescriptor(new AttachedClustersMethodDescriptorSupplier("GenerateAttachedClusterInstallManifest")) - .build(); - } - } - } - return getGenerateAttachedClusterInstallManifestMethod; - } - - private static volatile io.grpc.MethodDescriptor getGenerateAttachedClusterAgentTokenMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GenerateAttachedClusterAgentToken", - requestType = com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGenerateAttachedClusterAgentTokenMethod() { - io.grpc.MethodDescriptor getGenerateAttachedClusterAgentTokenMethod; - if ((getGenerateAttachedClusterAgentTokenMethod = AttachedClustersGrpc.getGenerateAttachedClusterAgentTokenMethod) == null) { - synchronized (AttachedClustersGrpc.class) { - if ((getGenerateAttachedClusterAgentTokenMethod = AttachedClustersGrpc.getGenerateAttachedClusterAgentTokenMethod) == null) { - AttachedClustersGrpc.getGenerateAttachedClusterAgentTokenMethod = getGenerateAttachedClusterAgentTokenMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GenerateAttachedClusterAgentToken")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse.getDefaultInstance())) - .setSchemaDescriptor(new AttachedClustersMethodDescriptorSupplier("GenerateAttachedClusterAgentToken")) - .build(); - } - } - } - return getGenerateAttachedClusterAgentTokenMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static AttachedClustersStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AttachedClustersStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AttachedClustersStub(channel, callOptions); - } - }; - return AttachedClustersStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static AttachedClustersBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AttachedClustersBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AttachedClustersBlockingStub(channel, callOptions); - } - }; - return AttachedClustersBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static AttachedClustersFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AttachedClustersFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AttachedClustersFutureStub(channel, callOptions); - } - }; - return AttachedClustersFutureStub.newStub(factory, channel); - } - - /** - *
-   * The AttachedClusters API provides a single centrally managed service
-   * to register and manage Anthos attached clusters that run on customer's owned
-   * infrastructure.
-   * 
- */ - public interface AsyncService { - - /** - *
-     * Creates a new
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
-     * on a given Google Cloud Platform project and region.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - default void createAttachedCluster(com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAttachedClusterMethod(), responseObserver); - } - - /** - *
-     * Updates an
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
-     * 
- */ - default void updateAttachedCluster(com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAttachedClusterMethod(), responseObserver); - } - - /** - *
-     * Imports creates a new
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
-     * by importing an existing Fleet Membership resource.
-     * Attached Clusters created before the introduction of the Anthos Multi-Cloud
-     * API can be imported through this method.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - default void importAttachedCluster(com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportAttachedClusterMethod(), responseObserver); - } - - /** - *
-     * Describes a specific
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
-     * 
- */ - default void getAttachedCluster(com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAttachedClusterMethod(), responseObserver); - } - - /** - *
-     * Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
-     * resources on a given Google Cloud project and region.
-     * 
- */ - default void listAttachedClusters(com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAttachedClustersMethod(), responseObserver); - } - - /** - *
-     * Deletes a specific
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - default void deleteAttachedCluster(com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAttachedClusterMethod(), responseObserver); - } - - /** - *
-     * Returns information, such as supported Kubernetes versions, on a given
-     * Google Cloud location.
-     * 
- */ - default void getAttachedServerConfig(com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAttachedServerConfigMethod(), responseObserver); - } - - /** - *
-     * Generates the install manifest to be installed on the target cluster.
-     * 
- */ - default void generateAttachedClusterInstallManifest(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateAttachedClusterInstallManifestMethod(), responseObserver); - } - - /** - *
-     * Generates an access token for a cluster agent.
-     * 
- */ - default void generateAttachedClusterAgentToken(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateAttachedClusterAgentTokenMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service AttachedClusters. - *
-   * The AttachedClusters API provides a single centrally managed service
-   * to register and manage Anthos attached clusters that run on customer's owned
-   * infrastructure.
-   * 
- */ - public static abstract class AttachedClustersImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return AttachedClustersGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service AttachedClusters. - *
-   * The AttachedClusters API provides a single centrally managed service
-   * to register and manage Anthos attached clusters that run on customer's owned
-   * infrastructure.
-   * 
- */ - public static final class AttachedClustersStub - extends io.grpc.stub.AbstractAsyncStub { - private AttachedClustersStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AttachedClustersStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AttachedClustersStub(channel, callOptions); - } - - /** - *
-     * Creates a new
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
-     * on a given Google Cloud Platform project and region.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public void createAttachedCluster(com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateAttachedClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates an
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
-     * 
- */ - public void updateAttachedCluster(com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAttachedClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Imports creates a new
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
-     * by importing an existing Fleet Membership resource.
-     * Attached Clusters created before the introduction of the Anthos Multi-Cloud
-     * API can be imported through this method.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public void importAttachedCluster(com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportAttachedClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Describes a specific
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
-     * 
- */ - public void getAttachedCluster(com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAttachedClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
-     * resources on a given Google Cloud project and region.
-     * 
- */ - public void listAttachedClusters(com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAttachedClustersMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a specific
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public void deleteAttachedCluster(com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAttachedClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns information, such as supported Kubernetes versions, on a given
-     * Google Cloud location.
-     * 
- */ - public void getAttachedServerConfig(com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAttachedServerConfigMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Generates the install manifest to be installed on the target cluster.
-     * 
- */ - public void generateAttachedClusterInstallManifest(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGenerateAttachedClusterInstallManifestMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Generates an access token for a cluster agent.
-     * 
- */ - public void generateAttachedClusterAgentToken(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGenerateAttachedClusterAgentTokenMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service AttachedClusters. - *
-   * The AttachedClusters API provides a single centrally managed service
-   * to register and manage Anthos attached clusters that run on customer's owned
-   * infrastructure.
-   * 
- */ - public static final class AttachedClustersBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private AttachedClustersBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AttachedClustersBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AttachedClustersBlockingStub(channel, callOptions); - } - - /** - *
-     * Creates a new
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
-     * on a given Google Cloud Platform project and region.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.longrunning.Operation createAttachedCluster(com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateAttachedClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates an
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
-     * 
- */ - public com.google.longrunning.Operation updateAttachedCluster(com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAttachedClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Imports creates a new
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
-     * by importing an existing Fleet Membership resource.
-     * Attached Clusters created before the introduction of the Anthos Multi-Cloud
-     * API can be imported through this method.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.longrunning.Operation importAttachedCluster(com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportAttachedClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Describes a specific
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.AttachedCluster getAttachedCluster(com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAttachedClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
-     * resources on a given Google Cloud project and region.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse listAttachedClusters(com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAttachedClustersMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a specific
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.longrunning.Operation deleteAttachedCluster(com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAttachedClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns information, such as supported Kubernetes versions, on a given
-     * Google Cloud location.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.AttachedServerConfig getAttachedServerConfig(com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAttachedServerConfigMethod(), getCallOptions(), request); - } - - /** - *
-     * Generates the install manifest to be installed on the target cluster.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse generateAttachedClusterInstallManifest(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGenerateAttachedClusterInstallManifestMethod(), getCallOptions(), request); - } - - /** - *
-     * Generates an access token for a cluster agent.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse generateAttachedClusterAgentToken(com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGenerateAttachedClusterAgentTokenMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service AttachedClusters. - *
-   * The AttachedClusters API provides a single centrally managed service
-   * to register and manage Anthos attached clusters that run on customer's owned
-   * infrastructure.
-   * 
- */ - public static final class AttachedClustersFutureStub - extends io.grpc.stub.AbstractFutureStub { - private AttachedClustersFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AttachedClustersFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AttachedClustersFutureStub(channel, callOptions); - } - - /** - *
-     * Creates a new
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
-     * on a given Google Cloud Platform project and region.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createAttachedCluster( - com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateAttachedClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates an
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateAttachedCluster( - com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAttachedClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Imports creates a new
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
-     * by importing an existing Fleet Membership resource.
-     * Attached Clusters created before the introduction of the Anthos Multi-Cloud
-     * API can be imported through this method.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture importAttachedCluster( - com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportAttachedClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Describes a specific
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getAttachedCluster( - com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAttachedClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
-     * resources on a given Google Cloud project and region.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listAttachedClusters( - com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAttachedClustersMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a specific
-     * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteAttachedCluster( - com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAttachedClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns information, such as supported Kubernetes versions, on a given
-     * Google Cloud location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getAttachedServerConfig( - com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAttachedServerConfigMethod(), getCallOptions()), request); - } - - /** - *
-     * Generates the install manifest to be installed on the target cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture generateAttachedClusterInstallManifest( - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGenerateAttachedClusterInstallManifestMethod(), getCallOptions()), request); - } - - /** - *
-     * Generates an access token for a cluster agent.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture generateAttachedClusterAgentToken( - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGenerateAttachedClusterAgentTokenMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_ATTACHED_CLUSTER = 0; - private static final int METHODID_UPDATE_ATTACHED_CLUSTER = 1; - private static final int METHODID_IMPORT_ATTACHED_CLUSTER = 2; - private static final int METHODID_GET_ATTACHED_CLUSTER = 3; - private static final int METHODID_LIST_ATTACHED_CLUSTERS = 4; - private static final int METHODID_DELETE_ATTACHED_CLUSTER = 5; - private static final int METHODID_GET_ATTACHED_SERVER_CONFIG = 6; - private static final int METHODID_GENERATE_ATTACHED_CLUSTER_INSTALL_MANIFEST = 7; - private static final int METHODID_GENERATE_ATTACHED_CLUSTER_AGENT_TOKEN = 8; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_ATTACHED_CLUSTER: - serviceImpl.createAttachedCluster((com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_ATTACHED_CLUSTER: - serviceImpl.updateAttachedCluster((com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_IMPORT_ATTACHED_CLUSTER: - serviceImpl.importAttachedCluster((com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ATTACHED_CLUSTER: - serviceImpl.getAttachedCluster((com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ATTACHED_CLUSTERS: - serviceImpl.listAttachedClusters((com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_ATTACHED_CLUSTER: - serviceImpl.deleteAttachedCluster((com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ATTACHED_SERVER_CONFIG: - serviceImpl.getAttachedServerConfig((com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GENERATE_ATTACHED_CLUSTER_INSTALL_MANIFEST: - serviceImpl.generateAttachedClusterInstallManifest((com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GENERATE_ATTACHED_CLUSTER_AGENT_TOKEN: - serviceImpl.generateAttachedClusterAgentToken((com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateAttachedClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.CreateAttachedClusterRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_ATTACHED_CLUSTER))) - .addMethod( - getUpdateAttachedClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.UpdateAttachedClusterRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_ATTACHED_CLUSTER))) - .addMethod( - getImportAttachedClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.ImportAttachedClusterRequest, - com.google.longrunning.Operation>( - service, METHODID_IMPORT_ATTACHED_CLUSTER))) - .addMethod( - getGetAttachedClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.GetAttachedClusterRequest, - com.google.cloud.gkemulticloud.v1.AttachedCluster>( - service, METHODID_GET_ATTACHED_CLUSTER))) - .addMethod( - getListAttachedClustersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.ListAttachedClustersRequest, - com.google.cloud.gkemulticloud.v1.ListAttachedClustersResponse>( - service, METHODID_LIST_ATTACHED_CLUSTERS))) - .addMethod( - getDeleteAttachedClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.DeleteAttachedClusterRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_ATTACHED_CLUSTER))) - .addMethod( - getGetAttachedServerConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest, - com.google.cloud.gkemulticloud.v1.AttachedServerConfig>( - service, METHODID_GET_ATTACHED_SERVER_CONFIG))) - .addMethod( - getGenerateAttachedClusterInstallManifestMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestRequest, - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterInstallManifestResponse>( - service, METHODID_GENERATE_ATTACHED_CLUSTER_INSTALL_MANIFEST))) - .addMethod( - getGenerateAttachedClusterAgentTokenMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenRequest, - com.google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse>( - service, METHODID_GENERATE_ATTACHED_CLUSTER_AGENT_TOKEN))) - .build(); - } - - private static abstract class AttachedClustersBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - AttachedClustersBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.gkemulticloud.v1.AttachedServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("AttachedClusters"); - } - } - - private static final class AttachedClustersFileDescriptorSupplier - extends AttachedClustersBaseDescriptorSupplier { - AttachedClustersFileDescriptorSupplier() {} - } - - private static final class AttachedClustersMethodDescriptorSupplier - extends AttachedClustersBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - AttachedClustersMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (AttachedClustersGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AttachedClustersFileDescriptorSupplier()) - .addMethod(getCreateAttachedClusterMethod()) - .addMethod(getUpdateAttachedClusterMethod()) - .addMethod(getImportAttachedClusterMethod()) - .addMethod(getGetAttachedClusterMethod()) - .addMethod(getListAttachedClustersMethod()) - .addMethod(getDeleteAttachedClusterMethod()) - .addMethod(getGetAttachedServerConfigMethod()) - .addMethod(getGenerateAttachedClusterInstallManifestMethod()) - .addMethod(getGenerateAttachedClusterAgentTokenMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java b/owl-bot-staging/java-gke-multi-cloud/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java deleted file mode 100644 index cce6f62b53b7..000000000000 --- a/owl-bot-staging/java-gke-multi-cloud/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java +++ /dev/null @@ -1,1759 +0,0 @@ -package com.google.cloud.gkemulticloud.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * The AwsClusters API provides a single centrally managed service
- * to create and manage Anthos clusters that run on AWS infrastructure.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/gkemulticloud/v1/aws_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class AwsClustersGrpc { - - private AwsClustersGrpc() {} - - public static final java.lang.String SERVICE_NAME = "google.cloud.gkemulticloud.v1.AwsClusters"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateAwsClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateAwsCluster", - requestType = com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateAwsClusterMethod() { - io.grpc.MethodDescriptor getCreateAwsClusterMethod; - if ((getCreateAwsClusterMethod = AwsClustersGrpc.getCreateAwsClusterMethod) == null) { - synchronized (AwsClustersGrpc.class) { - if ((getCreateAwsClusterMethod = AwsClustersGrpc.getCreateAwsClusterMethod) == null) { - AwsClustersGrpc.getCreateAwsClusterMethod = getCreateAwsClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAwsCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("CreateAwsCluster")) - .build(); - } - } - } - return getCreateAwsClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateAwsClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateAwsCluster", - requestType = com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateAwsClusterMethod() { - io.grpc.MethodDescriptor getUpdateAwsClusterMethod; - if ((getUpdateAwsClusterMethod = AwsClustersGrpc.getUpdateAwsClusterMethod) == null) { - synchronized (AwsClustersGrpc.class) { - if ((getUpdateAwsClusterMethod = AwsClustersGrpc.getUpdateAwsClusterMethod) == null) { - AwsClustersGrpc.getUpdateAwsClusterMethod = getUpdateAwsClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAwsCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("UpdateAwsCluster")) - .build(); - } - } - } - return getUpdateAwsClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetAwsClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAwsCluster", - requestType = com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.AwsCluster.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetAwsClusterMethod() { - io.grpc.MethodDescriptor getGetAwsClusterMethod; - if ((getGetAwsClusterMethod = AwsClustersGrpc.getGetAwsClusterMethod) == null) { - synchronized (AwsClustersGrpc.class) { - if ((getGetAwsClusterMethod = AwsClustersGrpc.getGetAwsClusterMethod) == null) { - AwsClustersGrpc.getGetAwsClusterMethod = getGetAwsClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAwsCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.AwsCluster.getDefaultInstance())) - .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("GetAwsCluster")) - .build(); - } - } - } - return getGetAwsClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getListAwsClustersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAwsClusters", - requestType = com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListAwsClustersMethod() { - io.grpc.MethodDescriptor getListAwsClustersMethod; - if ((getListAwsClustersMethod = AwsClustersGrpc.getListAwsClustersMethod) == null) { - synchronized (AwsClustersGrpc.class) { - if ((getListAwsClustersMethod = AwsClustersGrpc.getListAwsClustersMethod) == null) { - AwsClustersGrpc.getListAwsClustersMethod = getListAwsClustersMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAwsClusters")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse.getDefaultInstance())) - .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("ListAwsClusters")) - .build(); - } - } - } - return getListAwsClustersMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteAwsClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAwsCluster", - requestType = com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteAwsClusterMethod() { - io.grpc.MethodDescriptor getDeleteAwsClusterMethod; - if ((getDeleteAwsClusterMethod = AwsClustersGrpc.getDeleteAwsClusterMethod) == null) { - synchronized (AwsClustersGrpc.class) { - if ((getDeleteAwsClusterMethod = AwsClustersGrpc.getDeleteAwsClusterMethod) == null) { - AwsClustersGrpc.getDeleteAwsClusterMethod = getDeleteAwsClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAwsCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("DeleteAwsCluster")) - .build(); - } - } - } - return getDeleteAwsClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getGenerateAwsClusterAgentTokenMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GenerateAwsClusterAgentToken", - requestType = com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGenerateAwsClusterAgentTokenMethod() { - io.grpc.MethodDescriptor getGenerateAwsClusterAgentTokenMethod; - if ((getGenerateAwsClusterAgentTokenMethod = AwsClustersGrpc.getGenerateAwsClusterAgentTokenMethod) == null) { - synchronized (AwsClustersGrpc.class) { - if ((getGenerateAwsClusterAgentTokenMethod = AwsClustersGrpc.getGenerateAwsClusterAgentTokenMethod) == null) { - AwsClustersGrpc.getGenerateAwsClusterAgentTokenMethod = getGenerateAwsClusterAgentTokenMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GenerateAwsClusterAgentToken")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse.getDefaultInstance())) - .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("GenerateAwsClusterAgentToken")) - .build(); - } - } - } - return getGenerateAwsClusterAgentTokenMethod; - } - - private static volatile io.grpc.MethodDescriptor getGenerateAwsAccessTokenMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GenerateAwsAccessToken", - requestType = com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGenerateAwsAccessTokenMethod() { - io.grpc.MethodDescriptor getGenerateAwsAccessTokenMethod; - if ((getGenerateAwsAccessTokenMethod = AwsClustersGrpc.getGenerateAwsAccessTokenMethod) == null) { - synchronized (AwsClustersGrpc.class) { - if ((getGenerateAwsAccessTokenMethod = AwsClustersGrpc.getGenerateAwsAccessTokenMethod) == null) { - AwsClustersGrpc.getGenerateAwsAccessTokenMethod = getGenerateAwsAccessTokenMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GenerateAwsAccessToken")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse.getDefaultInstance())) - .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("GenerateAwsAccessToken")) - .build(); - } - } - } - return getGenerateAwsAccessTokenMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateAwsNodePoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateAwsNodePool", - requestType = com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateAwsNodePoolMethod() { - io.grpc.MethodDescriptor getCreateAwsNodePoolMethod; - if ((getCreateAwsNodePoolMethod = AwsClustersGrpc.getCreateAwsNodePoolMethod) == null) { - synchronized (AwsClustersGrpc.class) { - if ((getCreateAwsNodePoolMethod = AwsClustersGrpc.getCreateAwsNodePoolMethod) == null) { - AwsClustersGrpc.getCreateAwsNodePoolMethod = getCreateAwsNodePoolMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAwsNodePool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("CreateAwsNodePool")) - .build(); - } - } - } - return getCreateAwsNodePoolMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateAwsNodePoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateAwsNodePool", - requestType = com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateAwsNodePoolMethod() { - io.grpc.MethodDescriptor getUpdateAwsNodePoolMethod; - if ((getUpdateAwsNodePoolMethod = AwsClustersGrpc.getUpdateAwsNodePoolMethod) == null) { - synchronized (AwsClustersGrpc.class) { - if ((getUpdateAwsNodePoolMethod = AwsClustersGrpc.getUpdateAwsNodePoolMethod) == null) { - AwsClustersGrpc.getUpdateAwsNodePoolMethod = getUpdateAwsNodePoolMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAwsNodePool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("UpdateAwsNodePool")) - .build(); - } - } - } - return getUpdateAwsNodePoolMethod; - } - - private static volatile io.grpc.MethodDescriptor getRollbackAwsNodePoolUpdateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RollbackAwsNodePoolUpdate", - requestType = com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRollbackAwsNodePoolUpdateMethod() { - io.grpc.MethodDescriptor getRollbackAwsNodePoolUpdateMethod; - if ((getRollbackAwsNodePoolUpdateMethod = AwsClustersGrpc.getRollbackAwsNodePoolUpdateMethod) == null) { - synchronized (AwsClustersGrpc.class) { - if ((getRollbackAwsNodePoolUpdateMethod = AwsClustersGrpc.getRollbackAwsNodePoolUpdateMethod) == null) { - AwsClustersGrpc.getRollbackAwsNodePoolUpdateMethod = getRollbackAwsNodePoolUpdateMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RollbackAwsNodePoolUpdate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("RollbackAwsNodePoolUpdate")) - .build(); - } - } - } - return getRollbackAwsNodePoolUpdateMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetAwsNodePoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAwsNodePool", - requestType = com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.AwsNodePool.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetAwsNodePoolMethod() { - io.grpc.MethodDescriptor getGetAwsNodePoolMethod; - if ((getGetAwsNodePoolMethod = AwsClustersGrpc.getGetAwsNodePoolMethod) == null) { - synchronized (AwsClustersGrpc.class) { - if ((getGetAwsNodePoolMethod = AwsClustersGrpc.getGetAwsNodePoolMethod) == null) { - AwsClustersGrpc.getGetAwsNodePoolMethod = getGetAwsNodePoolMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAwsNodePool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.AwsNodePool.getDefaultInstance())) - .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("GetAwsNodePool")) - .build(); - } - } - } - return getGetAwsNodePoolMethod; - } - - private static volatile io.grpc.MethodDescriptor getListAwsNodePoolsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAwsNodePools", - requestType = com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListAwsNodePoolsMethod() { - io.grpc.MethodDescriptor getListAwsNodePoolsMethod; - if ((getListAwsNodePoolsMethod = AwsClustersGrpc.getListAwsNodePoolsMethod) == null) { - synchronized (AwsClustersGrpc.class) { - if ((getListAwsNodePoolsMethod = AwsClustersGrpc.getListAwsNodePoolsMethod) == null) { - AwsClustersGrpc.getListAwsNodePoolsMethod = getListAwsNodePoolsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAwsNodePools")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("ListAwsNodePools")) - .build(); - } - } - } - return getListAwsNodePoolsMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteAwsNodePoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAwsNodePool", - requestType = com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteAwsNodePoolMethod() { - io.grpc.MethodDescriptor getDeleteAwsNodePoolMethod; - if ((getDeleteAwsNodePoolMethod = AwsClustersGrpc.getDeleteAwsNodePoolMethod) == null) { - synchronized (AwsClustersGrpc.class) { - if ((getDeleteAwsNodePoolMethod = AwsClustersGrpc.getDeleteAwsNodePoolMethod) == null) { - AwsClustersGrpc.getDeleteAwsNodePoolMethod = getDeleteAwsNodePoolMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAwsNodePool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("DeleteAwsNodePool")) - .build(); - } - } - } - return getDeleteAwsNodePoolMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetAwsOpenIdConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAwsOpenIdConfig", - requestType = com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetAwsOpenIdConfigMethod() { - io.grpc.MethodDescriptor getGetAwsOpenIdConfigMethod; - if ((getGetAwsOpenIdConfigMethod = AwsClustersGrpc.getGetAwsOpenIdConfigMethod) == null) { - synchronized (AwsClustersGrpc.class) { - if ((getGetAwsOpenIdConfigMethod = AwsClustersGrpc.getGetAwsOpenIdConfigMethod) == null) { - AwsClustersGrpc.getGetAwsOpenIdConfigMethod = getGetAwsOpenIdConfigMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAwsOpenIdConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig.getDefaultInstance())) - .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("GetAwsOpenIdConfig")) - .build(); - } - } - } - return getGetAwsOpenIdConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetAwsJsonWebKeysMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAwsJsonWebKeys", - requestType = com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetAwsJsonWebKeysMethod() { - io.grpc.MethodDescriptor getGetAwsJsonWebKeysMethod; - if ((getGetAwsJsonWebKeysMethod = AwsClustersGrpc.getGetAwsJsonWebKeysMethod) == null) { - synchronized (AwsClustersGrpc.class) { - if ((getGetAwsJsonWebKeysMethod = AwsClustersGrpc.getGetAwsJsonWebKeysMethod) == null) { - AwsClustersGrpc.getGetAwsJsonWebKeysMethod = getGetAwsJsonWebKeysMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAwsJsonWebKeys")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys.getDefaultInstance())) - .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("GetAwsJsonWebKeys")) - .build(); - } - } - } - return getGetAwsJsonWebKeysMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetAwsServerConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAwsServerConfig", - requestType = com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.AwsServerConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetAwsServerConfigMethod() { - io.grpc.MethodDescriptor getGetAwsServerConfigMethod; - if ((getGetAwsServerConfigMethod = AwsClustersGrpc.getGetAwsServerConfigMethod) == null) { - synchronized (AwsClustersGrpc.class) { - if ((getGetAwsServerConfigMethod = AwsClustersGrpc.getGetAwsServerConfigMethod) == null) { - AwsClustersGrpc.getGetAwsServerConfigMethod = getGetAwsServerConfigMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAwsServerConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.AwsServerConfig.getDefaultInstance())) - .setSchemaDescriptor(new AwsClustersMethodDescriptorSupplier("GetAwsServerConfig")) - .build(); - } - } - } - return getGetAwsServerConfigMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static AwsClustersStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AwsClustersStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AwsClustersStub(channel, callOptions); - } - }; - return AwsClustersStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static AwsClustersBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AwsClustersBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AwsClustersBlockingStub(channel, callOptions); - } - }; - return AwsClustersBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static AwsClustersFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AwsClustersFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AwsClustersFutureStub(channel, callOptions); - } - }; - return AwsClustersFutureStub.newStub(factory, channel); - } - - /** - *
-   * The AwsClusters API provides a single centrally managed service
-   * to create and manage Anthos clusters that run on AWS infrastructure.
-   * 
- */ - public interface AsyncService { - - /** - *
-     * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
-     * resource on a given Google Cloud Platform project and region.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - default void createAwsCluster(com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAwsClusterMethod(), responseObserver); - } - - /** - *
-     * Updates an [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
-     * 
- */ - default void updateAwsCluster(com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAwsClusterMethod(), responseObserver); - } - - /** - *
-     * Describes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
-     * resource.
-     * 
- */ - default void getAwsCluster(com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAwsClusterMethod(), responseObserver); - } - - /** - *
-     * Lists all [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
-     * on a given Google Cloud project and region.
-     * 
- */ - default void listAwsClusters(com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAwsClustersMethod(), responseObserver); - } - - /** - *
-     * Deletes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
-     * resource.
-     * Fails if the cluster has one or more associated
-     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - default void deleteAwsCluster(com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAwsClusterMethod(), responseObserver); - } - - /** - *
-     * Generates an access token for a cluster agent.
-     * 
- */ - default void generateAwsClusterAgentToken(com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateAwsClusterAgentTokenMethod(), responseObserver); - } - - /** - *
-     * Generates a short-lived access token to authenticate to a given
-     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
-     * 
- */ - default void generateAwsAccessToken(com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateAwsAccessTokenMethod(), responseObserver); - } - - /** - *
-     * Creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool],
-     * attached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - default void createAwsNodePool(com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAwsNodePoolMethod(), responseObserver); - } - - /** - *
-     * Updates an [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
-     * 
- */ - default void updateAwsNodePool(com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAwsNodePoolMethod(), responseObserver); - } - - /** - *
-     * Rolls back a previously aborted or failed
-     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request.
-     * Makes no changes if the last update request successfully finished.
-     * If an update request is in progress, you cannot rollback the update.
-     * You must first cancel or let it finish unsuccessfully before you can
-     * rollback.
-     * 
- */ - default void rollbackAwsNodePoolUpdate(com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRollbackAwsNodePoolUpdateMethod(), responseObserver); - } - - /** - *
-     * Describes a specific
-     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.
-     * 
- */ - default void getAwsNodePool(com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAwsNodePoolMethod(), responseObserver); - } - - /** - *
-     * Lists all [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
-     * resources on a given
-     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
-     * 
- */ - default void listAwsNodePools(com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAwsNodePoolsMethod(), responseObserver); - } - - /** - *
-     * Deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
-     * resource.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - default void deleteAwsNodePool(com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAwsNodePoolMethod(), responseObserver); - } - - /** - *
-     * Gets the OIDC discovery document for the cluster.
-     * See the
-     * [OpenID Connect Discovery 1.0
-     * specification](https://openid.net/specs/openid-connect-discovery-1_0.html)
-     * for details.
-     * 
- */ - default void getAwsOpenIdConfig(com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAwsOpenIdConfigMethod(), responseObserver); - } - - /** - *
-     * Gets the public component of the cluster signing keys in
-     * JSON Web Key format.
-     * 
- */ - default void getAwsJsonWebKeys(com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAwsJsonWebKeysMethod(), responseObserver); - } - - /** - *
-     * Returns information, such as supported AWS regions and Kubernetes
-     * versions, on a given Google Cloud location.
-     * 
- */ - default void getAwsServerConfig(com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAwsServerConfigMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service AwsClusters. - *
-   * The AwsClusters API provides a single centrally managed service
-   * to create and manage Anthos clusters that run on AWS infrastructure.
-   * 
- */ - public static abstract class AwsClustersImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return AwsClustersGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service AwsClusters. - *
-   * The AwsClusters API provides a single centrally managed service
-   * to create and manage Anthos clusters that run on AWS infrastructure.
-   * 
- */ - public static final class AwsClustersStub - extends io.grpc.stub.AbstractAsyncStub { - private AwsClustersStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AwsClustersStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AwsClustersStub(channel, callOptions); - } - - /** - *
-     * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
-     * resource on a given Google Cloud Platform project and region.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public void createAwsCluster(com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateAwsClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates an [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
-     * 
- */ - public void updateAwsCluster(com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAwsClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Describes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
-     * resource.
-     * 
- */ - public void getAwsCluster(com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAwsClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists all [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
-     * on a given Google Cloud project and region.
-     * 
- */ - public void listAwsClusters(com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAwsClustersMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
-     * resource.
-     * Fails if the cluster has one or more associated
-     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public void deleteAwsCluster(com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAwsClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Generates an access token for a cluster agent.
-     * 
- */ - public void generateAwsClusterAgentToken(com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGenerateAwsClusterAgentTokenMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Generates a short-lived access token to authenticate to a given
-     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
-     * 
- */ - public void generateAwsAccessToken(com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGenerateAwsAccessTokenMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool],
-     * attached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public void createAwsNodePool(com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateAwsNodePoolMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates an [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
-     * 
- */ - public void updateAwsNodePool(com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAwsNodePoolMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Rolls back a previously aborted or failed
-     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request.
-     * Makes no changes if the last update request successfully finished.
-     * If an update request is in progress, you cannot rollback the update.
-     * You must first cancel or let it finish unsuccessfully before you can
-     * rollback.
-     * 
- */ - public void rollbackAwsNodePoolUpdate(com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRollbackAwsNodePoolUpdateMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Describes a specific
-     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.
-     * 
- */ - public void getAwsNodePool(com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAwsNodePoolMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists all [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
-     * resources on a given
-     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
-     * 
- */ - public void listAwsNodePools(com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAwsNodePoolsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
-     * resource.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public void deleteAwsNodePool(com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAwsNodePoolMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets the OIDC discovery document for the cluster.
-     * See the
-     * [OpenID Connect Discovery 1.0
-     * specification](https://openid.net/specs/openid-connect-discovery-1_0.html)
-     * for details.
-     * 
- */ - public void getAwsOpenIdConfig(com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAwsOpenIdConfigMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets the public component of the cluster signing keys in
-     * JSON Web Key format.
-     * 
- */ - public void getAwsJsonWebKeys(com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAwsJsonWebKeysMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns information, such as supported AWS regions and Kubernetes
-     * versions, on a given Google Cloud location.
-     * 
- */ - public void getAwsServerConfig(com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAwsServerConfigMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service AwsClusters. - *
-   * The AwsClusters API provides a single centrally managed service
-   * to create and manage Anthos clusters that run on AWS infrastructure.
-   * 
- */ - public static final class AwsClustersBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private AwsClustersBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AwsClustersBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AwsClustersBlockingStub(channel, callOptions); - } - - /** - *
-     * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
-     * resource on a given Google Cloud Platform project and region.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.longrunning.Operation createAwsCluster(com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateAwsClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates an [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
-     * 
- */ - public com.google.longrunning.Operation updateAwsCluster(com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAwsClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Describes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
-     * resource.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.AwsCluster getAwsCluster(com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAwsClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
-     * on a given Google Cloud project and region.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse listAwsClusters(com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAwsClustersMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
-     * resource.
-     * Fails if the cluster has one or more associated
-     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.longrunning.Operation deleteAwsCluster(com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAwsClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Generates an access token for a cluster agent.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse generateAwsClusterAgentToken(com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGenerateAwsClusterAgentTokenMethod(), getCallOptions(), request); - } - - /** - *
-     * Generates a short-lived access token to authenticate to a given
-     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse generateAwsAccessToken(com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGenerateAwsAccessTokenMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool],
-     * attached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.longrunning.Operation createAwsNodePool(com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateAwsNodePoolMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates an [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
-     * 
- */ - public com.google.longrunning.Operation updateAwsNodePool(com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAwsNodePoolMethod(), getCallOptions(), request); - } - - /** - *
-     * Rolls back a previously aborted or failed
-     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request.
-     * Makes no changes if the last update request successfully finished.
-     * If an update request is in progress, you cannot rollback the update.
-     * You must first cancel or let it finish unsuccessfully before you can
-     * rollback.
-     * 
- */ - public com.google.longrunning.Operation rollbackAwsNodePoolUpdate(com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRollbackAwsNodePoolUpdateMethod(), getCallOptions(), request); - } - - /** - *
-     * Describes a specific
-     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.AwsNodePool getAwsNodePool(com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAwsNodePoolMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
-     * resources on a given
-     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse listAwsNodePools(com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAwsNodePoolsMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
-     * resource.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.longrunning.Operation deleteAwsNodePool(com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAwsNodePoolMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets the OIDC discovery document for the cluster.
-     * See the
-     * [OpenID Connect Discovery 1.0
-     * specification](https://openid.net/specs/openid-connect-discovery-1_0.html)
-     * for details.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig getAwsOpenIdConfig(com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAwsOpenIdConfigMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets the public component of the cluster signing keys in
-     * JSON Web Key format.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys getAwsJsonWebKeys(com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAwsJsonWebKeysMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns information, such as supported AWS regions and Kubernetes
-     * versions, on a given Google Cloud location.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.AwsServerConfig getAwsServerConfig(com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAwsServerConfigMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service AwsClusters. - *
-   * The AwsClusters API provides a single centrally managed service
-   * to create and manage Anthos clusters that run on AWS infrastructure.
-   * 
- */ - public static final class AwsClustersFutureStub - extends io.grpc.stub.AbstractFutureStub { - private AwsClustersFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AwsClustersFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AwsClustersFutureStub(channel, callOptions); - } - - /** - *
-     * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
-     * resource on a given Google Cloud Platform project and region.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createAwsCluster( - com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateAwsClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates an [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateAwsCluster( - com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAwsClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Describes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
-     * resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getAwsCluster( - com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAwsClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
-     * on a given Google Cloud project and region.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listAwsClusters( - com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAwsClustersMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
-     * resource.
-     * Fails if the cluster has one or more associated
-     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteAwsCluster( - com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAwsClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Generates an access token for a cluster agent.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture generateAwsClusterAgentToken( - com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGenerateAwsClusterAgentTokenMethod(), getCallOptions()), request); - } - - /** - *
-     * Generates a short-lived access token to authenticate to a given
-     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture generateAwsAccessToken( - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGenerateAwsAccessTokenMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool],
-     * attached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createAwsNodePool( - com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateAwsNodePoolMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates an [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateAwsNodePool( - com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAwsNodePoolMethod(), getCallOptions()), request); - } - - /** - *
-     * Rolls back a previously aborted or failed
-     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request.
-     * Makes no changes if the last update request successfully finished.
-     * If an update request is in progress, you cannot rollback the update.
-     * You must first cancel or let it finish unsuccessfully before you can
-     * rollback.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture rollbackAwsNodePoolUpdate( - com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRollbackAwsNodePoolUpdateMethod(), getCallOptions()), request); - } - - /** - *
-     * Describes a specific
-     * [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getAwsNodePool( - com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAwsNodePoolMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
-     * resources on a given
-     * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listAwsNodePools( - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAwsNodePoolsMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]
-     * resource.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteAwsNodePool( - com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAwsNodePoolMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets the OIDC discovery document for the cluster.
-     * See the
-     * [OpenID Connect Discovery 1.0
-     * specification](https://openid.net/specs/openid-connect-discovery-1_0.html)
-     * for details.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getAwsOpenIdConfig( - com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAwsOpenIdConfigMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets the public component of the cluster signing keys in
-     * JSON Web Key format.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getAwsJsonWebKeys( - com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAwsJsonWebKeysMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns information, such as supported AWS regions and Kubernetes
-     * versions, on a given Google Cloud location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getAwsServerConfig( - com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAwsServerConfigMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_AWS_CLUSTER = 0; - private static final int METHODID_UPDATE_AWS_CLUSTER = 1; - private static final int METHODID_GET_AWS_CLUSTER = 2; - private static final int METHODID_LIST_AWS_CLUSTERS = 3; - private static final int METHODID_DELETE_AWS_CLUSTER = 4; - private static final int METHODID_GENERATE_AWS_CLUSTER_AGENT_TOKEN = 5; - private static final int METHODID_GENERATE_AWS_ACCESS_TOKEN = 6; - private static final int METHODID_CREATE_AWS_NODE_POOL = 7; - private static final int METHODID_UPDATE_AWS_NODE_POOL = 8; - private static final int METHODID_ROLLBACK_AWS_NODE_POOL_UPDATE = 9; - private static final int METHODID_GET_AWS_NODE_POOL = 10; - private static final int METHODID_LIST_AWS_NODE_POOLS = 11; - private static final int METHODID_DELETE_AWS_NODE_POOL = 12; - private static final int METHODID_GET_AWS_OPEN_ID_CONFIG = 13; - private static final int METHODID_GET_AWS_JSON_WEB_KEYS = 14; - private static final int METHODID_GET_AWS_SERVER_CONFIG = 15; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_AWS_CLUSTER: - serviceImpl.createAwsCluster((com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_AWS_CLUSTER: - serviceImpl.updateAwsCluster((com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_AWS_CLUSTER: - serviceImpl.getAwsCluster((com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_AWS_CLUSTERS: - serviceImpl.listAwsClusters((com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_AWS_CLUSTER: - serviceImpl.deleteAwsCluster((com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GENERATE_AWS_CLUSTER_AGENT_TOKEN: - serviceImpl.generateAwsClusterAgentToken((com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GENERATE_AWS_ACCESS_TOKEN: - serviceImpl.generateAwsAccessToken((com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_AWS_NODE_POOL: - serviceImpl.createAwsNodePool((com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_AWS_NODE_POOL: - serviceImpl.updateAwsNodePool((com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ROLLBACK_AWS_NODE_POOL_UPDATE: - serviceImpl.rollbackAwsNodePoolUpdate((com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_AWS_NODE_POOL: - serviceImpl.getAwsNodePool((com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_AWS_NODE_POOLS: - serviceImpl.listAwsNodePools((com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_AWS_NODE_POOL: - serviceImpl.deleteAwsNodePool((com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_AWS_OPEN_ID_CONFIG: - serviceImpl.getAwsOpenIdConfig((com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_AWS_JSON_WEB_KEYS: - serviceImpl.getAwsJsonWebKeys((com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_AWS_SERVER_CONFIG: - serviceImpl.getAwsServerConfig((com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateAwsClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.CreateAwsClusterRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_AWS_CLUSTER))) - .addMethod( - getUpdateAwsClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.UpdateAwsClusterRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_AWS_CLUSTER))) - .addMethod( - getGetAwsClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.GetAwsClusterRequest, - com.google.cloud.gkemulticloud.v1.AwsCluster>( - service, METHODID_GET_AWS_CLUSTER))) - .addMethod( - getListAwsClustersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.ListAwsClustersRequest, - com.google.cloud.gkemulticloud.v1.ListAwsClustersResponse>( - service, METHODID_LIST_AWS_CLUSTERS))) - .addMethod( - getDeleteAwsClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.DeleteAwsClusterRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_AWS_CLUSTER))) - .addMethod( - getGenerateAwsClusterAgentTokenMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenRequest, - com.google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse>( - service, METHODID_GENERATE_AWS_CLUSTER_AGENT_TOKEN))) - .addMethod( - getGenerateAwsAccessTokenMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenRequest, - com.google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse>( - service, METHODID_GENERATE_AWS_ACCESS_TOKEN))) - .addMethod( - getCreateAwsNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.CreateAwsNodePoolRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_AWS_NODE_POOL))) - .addMethod( - getUpdateAwsNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.UpdateAwsNodePoolRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_AWS_NODE_POOL))) - .addMethod( - getRollbackAwsNodePoolUpdateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.RollbackAwsNodePoolUpdateRequest, - com.google.longrunning.Operation>( - service, METHODID_ROLLBACK_AWS_NODE_POOL_UPDATE))) - .addMethod( - getGetAwsNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest, - com.google.cloud.gkemulticloud.v1.AwsNodePool>( - service, METHODID_GET_AWS_NODE_POOL))) - .addMethod( - getListAwsNodePoolsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsRequest, - com.google.cloud.gkemulticloud.v1.ListAwsNodePoolsResponse>( - service, METHODID_LIST_AWS_NODE_POOLS))) - .addMethod( - getDeleteAwsNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.DeleteAwsNodePoolRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_AWS_NODE_POOL))) - .addMethod( - getGetAwsOpenIdConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest, - com.google.cloud.gkemulticloud.v1.AwsOpenIdConfig>( - service, METHODID_GET_AWS_OPEN_ID_CONFIG))) - .addMethod( - getGetAwsJsonWebKeysMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest, - com.google.cloud.gkemulticloud.v1.AwsJsonWebKeys>( - service, METHODID_GET_AWS_JSON_WEB_KEYS))) - .addMethod( - getGetAwsServerConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.GetAwsServerConfigRequest, - com.google.cloud.gkemulticloud.v1.AwsServerConfig>( - service, METHODID_GET_AWS_SERVER_CONFIG))) - .build(); - } - - private static abstract class AwsClustersBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - AwsClustersBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.gkemulticloud.v1.AwsServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("AwsClusters"); - } - } - - private static final class AwsClustersFileDescriptorSupplier - extends AwsClustersBaseDescriptorSupplier { - AwsClustersFileDescriptorSupplier() {} - } - - private static final class AwsClustersMethodDescriptorSupplier - extends AwsClustersBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - AwsClustersMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (AwsClustersGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AwsClustersFileDescriptorSupplier()) - .addMethod(getCreateAwsClusterMethod()) - .addMethod(getUpdateAwsClusterMethod()) - .addMethod(getGetAwsClusterMethod()) - .addMethod(getListAwsClustersMethod()) - .addMethod(getDeleteAwsClusterMethod()) - .addMethod(getGenerateAwsClusterAgentTokenMethod()) - .addMethod(getGenerateAwsAccessTokenMethod()) - .addMethod(getCreateAwsNodePoolMethod()) - .addMethod(getUpdateAwsNodePoolMethod()) - .addMethod(getRollbackAwsNodePoolUpdateMethod()) - .addMethod(getGetAwsNodePoolMethod()) - .addMethod(getListAwsNodePoolsMethod()) - .addMethod(getDeleteAwsNodePoolMethod()) - .addMethod(getGetAwsOpenIdConfigMethod()) - .addMethod(getGetAwsJsonWebKeysMethod()) - .addMethod(getGetAwsServerConfigMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java b/owl-bot-staging/java-gke-multi-cloud/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java deleted file mode 100644 index c30f86caaa6c..000000000000 --- a/owl-bot-staging/java-gke-multi-cloud/v1/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java +++ /dev/null @@ -1,2061 +0,0 @@ -package com.google.cloud.gkemulticloud.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * The AzureClusters API provides a single centrally managed service
- * to create and manage Anthos clusters that run on Azure infrastructure.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/gkemulticloud/v1/azure_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class AzureClustersGrpc { - - private AzureClustersGrpc() {} - - public static final java.lang.String SERVICE_NAME = "google.cloud.gkemulticloud.v1.AzureClusters"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateAzureClientMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateAzureClient", - requestType = com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateAzureClientMethod() { - io.grpc.MethodDescriptor getCreateAzureClientMethod; - if ((getCreateAzureClientMethod = AzureClustersGrpc.getCreateAzureClientMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getCreateAzureClientMethod = AzureClustersGrpc.getCreateAzureClientMethod) == null) { - AzureClustersGrpc.getCreateAzureClientMethod = getCreateAzureClientMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAzureClient")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("CreateAzureClient")) - .build(); - } - } - } - return getCreateAzureClientMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetAzureClientMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAzureClient", - requestType = com.google.cloud.gkemulticloud.v1.GetAzureClientRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.AzureClient.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetAzureClientMethod() { - io.grpc.MethodDescriptor getGetAzureClientMethod; - if ((getGetAzureClientMethod = AzureClustersGrpc.getGetAzureClientMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getGetAzureClientMethod = AzureClustersGrpc.getGetAzureClientMethod) == null) { - AzureClustersGrpc.getGetAzureClientMethod = getGetAzureClientMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAzureClient")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GetAzureClientRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.AzureClient.getDefaultInstance())) - .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("GetAzureClient")) - .build(); - } - } - } - return getGetAzureClientMethod; - } - - private static volatile io.grpc.MethodDescriptor getListAzureClientsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAzureClients", - requestType = com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListAzureClientsMethod() { - io.grpc.MethodDescriptor getListAzureClientsMethod; - if ((getListAzureClientsMethod = AzureClustersGrpc.getListAzureClientsMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getListAzureClientsMethod = AzureClustersGrpc.getListAzureClientsMethod) == null) { - AzureClustersGrpc.getListAzureClientsMethod = getListAzureClientsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAzureClients")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("ListAzureClients")) - .build(); - } - } - } - return getListAzureClientsMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteAzureClientMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAzureClient", - requestType = com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteAzureClientMethod() { - io.grpc.MethodDescriptor getDeleteAzureClientMethod; - if ((getDeleteAzureClientMethod = AzureClustersGrpc.getDeleteAzureClientMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getDeleteAzureClientMethod = AzureClustersGrpc.getDeleteAzureClientMethod) == null) { - AzureClustersGrpc.getDeleteAzureClientMethod = getDeleteAzureClientMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAzureClient")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("DeleteAzureClient")) - .build(); - } - } - } - return getDeleteAzureClientMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateAzureClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateAzureCluster", - requestType = com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateAzureClusterMethod() { - io.grpc.MethodDescriptor getCreateAzureClusterMethod; - if ((getCreateAzureClusterMethod = AzureClustersGrpc.getCreateAzureClusterMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getCreateAzureClusterMethod = AzureClustersGrpc.getCreateAzureClusterMethod) == null) { - AzureClustersGrpc.getCreateAzureClusterMethod = getCreateAzureClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAzureCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("CreateAzureCluster")) - .build(); - } - } - } - return getCreateAzureClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateAzureClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateAzureCluster", - requestType = com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateAzureClusterMethod() { - io.grpc.MethodDescriptor getUpdateAzureClusterMethod; - if ((getUpdateAzureClusterMethod = AzureClustersGrpc.getUpdateAzureClusterMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getUpdateAzureClusterMethod = AzureClustersGrpc.getUpdateAzureClusterMethod) == null) { - AzureClustersGrpc.getUpdateAzureClusterMethod = getUpdateAzureClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAzureCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("UpdateAzureCluster")) - .build(); - } - } - } - return getUpdateAzureClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetAzureClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAzureCluster", - requestType = com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.AzureCluster.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetAzureClusterMethod() { - io.grpc.MethodDescriptor getGetAzureClusterMethod; - if ((getGetAzureClusterMethod = AzureClustersGrpc.getGetAzureClusterMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getGetAzureClusterMethod = AzureClustersGrpc.getGetAzureClusterMethod) == null) { - AzureClustersGrpc.getGetAzureClusterMethod = getGetAzureClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAzureCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.AzureCluster.getDefaultInstance())) - .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("GetAzureCluster")) - .build(); - } - } - } - return getGetAzureClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getListAzureClustersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAzureClusters", - requestType = com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListAzureClustersMethod() { - io.grpc.MethodDescriptor getListAzureClustersMethod; - if ((getListAzureClustersMethod = AzureClustersGrpc.getListAzureClustersMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getListAzureClustersMethod = AzureClustersGrpc.getListAzureClustersMethod) == null) { - AzureClustersGrpc.getListAzureClustersMethod = getListAzureClustersMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAzureClusters")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse.getDefaultInstance())) - .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("ListAzureClusters")) - .build(); - } - } - } - return getListAzureClustersMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteAzureClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAzureCluster", - requestType = com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteAzureClusterMethod() { - io.grpc.MethodDescriptor getDeleteAzureClusterMethod; - if ((getDeleteAzureClusterMethod = AzureClustersGrpc.getDeleteAzureClusterMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getDeleteAzureClusterMethod = AzureClustersGrpc.getDeleteAzureClusterMethod) == null) { - AzureClustersGrpc.getDeleteAzureClusterMethod = getDeleteAzureClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAzureCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("DeleteAzureCluster")) - .build(); - } - } - } - return getDeleteAzureClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getGenerateAzureClusterAgentTokenMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GenerateAzureClusterAgentToken", - requestType = com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGenerateAzureClusterAgentTokenMethod() { - io.grpc.MethodDescriptor getGenerateAzureClusterAgentTokenMethod; - if ((getGenerateAzureClusterAgentTokenMethod = AzureClustersGrpc.getGenerateAzureClusterAgentTokenMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getGenerateAzureClusterAgentTokenMethod = AzureClustersGrpc.getGenerateAzureClusterAgentTokenMethod) == null) { - AzureClustersGrpc.getGenerateAzureClusterAgentTokenMethod = getGenerateAzureClusterAgentTokenMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GenerateAzureClusterAgentToken")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse.getDefaultInstance())) - .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("GenerateAzureClusterAgentToken")) - .build(); - } - } - } - return getGenerateAzureClusterAgentTokenMethod; - } - - private static volatile io.grpc.MethodDescriptor getGenerateAzureAccessTokenMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GenerateAzureAccessToken", - requestType = com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGenerateAzureAccessTokenMethod() { - io.grpc.MethodDescriptor getGenerateAzureAccessTokenMethod; - if ((getGenerateAzureAccessTokenMethod = AzureClustersGrpc.getGenerateAzureAccessTokenMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getGenerateAzureAccessTokenMethod = AzureClustersGrpc.getGenerateAzureAccessTokenMethod) == null) { - AzureClustersGrpc.getGenerateAzureAccessTokenMethod = getGenerateAzureAccessTokenMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GenerateAzureAccessToken")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse.getDefaultInstance())) - .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("GenerateAzureAccessToken")) - .build(); - } - } - } - return getGenerateAzureAccessTokenMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateAzureNodePoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateAzureNodePool", - requestType = com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateAzureNodePoolMethod() { - io.grpc.MethodDescriptor getCreateAzureNodePoolMethod; - if ((getCreateAzureNodePoolMethod = AzureClustersGrpc.getCreateAzureNodePoolMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getCreateAzureNodePoolMethod = AzureClustersGrpc.getCreateAzureNodePoolMethod) == null) { - AzureClustersGrpc.getCreateAzureNodePoolMethod = getCreateAzureNodePoolMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAzureNodePool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("CreateAzureNodePool")) - .build(); - } - } - } - return getCreateAzureNodePoolMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateAzureNodePoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateAzureNodePool", - requestType = com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateAzureNodePoolMethod() { - io.grpc.MethodDescriptor getUpdateAzureNodePoolMethod; - if ((getUpdateAzureNodePoolMethod = AzureClustersGrpc.getUpdateAzureNodePoolMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getUpdateAzureNodePoolMethod = AzureClustersGrpc.getUpdateAzureNodePoolMethod) == null) { - AzureClustersGrpc.getUpdateAzureNodePoolMethod = getUpdateAzureNodePoolMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAzureNodePool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("UpdateAzureNodePool")) - .build(); - } - } - } - return getUpdateAzureNodePoolMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetAzureNodePoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAzureNodePool", - requestType = com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.AzureNodePool.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetAzureNodePoolMethod() { - io.grpc.MethodDescriptor getGetAzureNodePoolMethod; - if ((getGetAzureNodePoolMethod = AzureClustersGrpc.getGetAzureNodePoolMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getGetAzureNodePoolMethod = AzureClustersGrpc.getGetAzureNodePoolMethod) == null) { - AzureClustersGrpc.getGetAzureNodePoolMethod = getGetAzureNodePoolMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAzureNodePool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.AzureNodePool.getDefaultInstance())) - .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("GetAzureNodePool")) - .build(); - } - } - } - return getGetAzureNodePoolMethod; - } - - private static volatile io.grpc.MethodDescriptor getListAzureNodePoolsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAzureNodePools", - requestType = com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListAzureNodePoolsMethod() { - io.grpc.MethodDescriptor getListAzureNodePoolsMethod; - if ((getListAzureNodePoolsMethod = AzureClustersGrpc.getListAzureNodePoolsMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getListAzureNodePoolsMethod = AzureClustersGrpc.getListAzureNodePoolsMethod) == null) { - AzureClustersGrpc.getListAzureNodePoolsMethod = getListAzureNodePoolsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAzureNodePools")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("ListAzureNodePools")) - .build(); - } - } - } - return getListAzureNodePoolsMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteAzureNodePoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAzureNodePool", - requestType = com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteAzureNodePoolMethod() { - io.grpc.MethodDescriptor getDeleteAzureNodePoolMethod; - if ((getDeleteAzureNodePoolMethod = AzureClustersGrpc.getDeleteAzureNodePoolMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getDeleteAzureNodePoolMethod = AzureClustersGrpc.getDeleteAzureNodePoolMethod) == null) { - AzureClustersGrpc.getDeleteAzureNodePoolMethod = getDeleteAzureNodePoolMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAzureNodePool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("DeleteAzureNodePool")) - .build(); - } - } - } - return getDeleteAzureNodePoolMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetAzureOpenIdConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAzureOpenIdConfig", - requestType = com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetAzureOpenIdConfigMethod() { - io.grpc.MethodDescriptor getGetAzureOpenIdConfigMethod; - if ((getGetAzureOpenIdConfigMethod = AzureClustersGrpc.getGetAzureOpenIdConfigMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getGetAzureOpenIdConfigMethod = AzureClustersGrpc.getGetAzureOpenIdConfigMethod) == null) { - AzureClustersGrpc.getGetAzureOpenIdConfigMethod = getGetAzureOpenIdConfigMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAzureOpenIdConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig.getDefaultInstance())) - .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("GetAzureOpenIdConfig")) - .build(); - } - } - } - return getGetAzureOpenIdConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetAzureJsonWebKeysMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAzureJsonWebKeys", - requestType = com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetAzureJsonWebKeysMethod() { - io.grpc.MethodDescriptor getGetAzureJsonWebKeysMethod; - if ((getGetAzureJsonWebKeysMethod = AzureClustersGrpc.getGetAzureJsonWebKeysMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getGetAzureJsonWebKeysMethod = AzureClustersGrpc.getGetAzureJsonWebKeysMethod) == null) { - AzureClustersGrpc.getGetAzureJsonWebKeysMethod = getGetAzureJsonWebKeysMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAzureJsonWebKeys")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys.getDefaultInstance())) - .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("GetAzureJsonWebKeys")) - .build(); - } - } - } - return getGetAzureJsonWebKeysMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetAzureServerConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAzureServerConfig", - requestType = com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest.class, - responseType = com.google.cloud.gkemulticloud.v1.AzureServerConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetAzureServerConfigMethod() { - io.grpc.MethodDescriptor getGetAzureServerConfigMethod; - if ((getGetAzureServerConfigMethod = AzureClustersGrpc.getGetAzureServerConfigMethod) == null) { - synchronized (AzureClustersGrpc.class) { - if ((getGetAzureServerConfigMethod = AzureClustersGrpc.getGetAzureServerConfigMethod) == null) { - AzureClustersGrpc.getGetAzureServerConfigMethod = getGetAzureServerConfigMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAzureServerConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.gkemulticloud.v1.AzureServerConfig.getDefaultInstance())) - .setSchemaDescriptor(new AzureClustersMethodDescriptorSupplier("GetAzureServerConfig")) - .build(); - } - } - } - return getGetAzureServerConfigMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static AzureClustersStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AzureClustersStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AzureClustersStub(channel, callOptions); - } - }; - return AzureClustersStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static AzureClustersBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AzureClustersBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AzureClustersBlockingStub(channel, callOptions); - } - }; - return AzureClustersBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static AzureClustersFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AzureClustersFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AzureClustersFutureStub(channel, callOptions); - } - }; - return AzureClustersFutureStub.newStub(factory, channel); - } - - /** - *
-   * The AzureClusters API provides a single centrally managed service
-   * to create and manage Anthos clusters that run on Azure infrastructure.
-   * 
- */ - public interface AsyncService { - - /** - *
-     * Creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
-     * resource on a given Google Cloud project and region.
-     * `AzureClient` resources hold client authentication
-     * information needed by the Anthos Multicloud API to manage Azure resources
-     * on your Azure subscription on your behalf.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - default void createAzureClient(com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAzureClientMethod(), responseObserver); - } - - /** - *
-     * Describes a specific
-     * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.
-     * 
- */ - default void getAzureClient(com.google.cloud.gkemulticloud.v1.GetAzureClientRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAzureClientMethod(), responseObserver); - } - - /** - *
-     * Lists all [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
-     * resources on a given Google Cloud project and region.
-     * 
- */ - default void listAzureClients(com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAzureClientsMethod(), responseObserver); - } - - /** - *
-     * Deletes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
-     * resource.
-     * If the client is used by one or more clusters, deletion will
-     * fail and a `FAILED_PRECONDITION` error will be returned.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - default void deleteAzureClient(com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAzureClientMethod(), responseObserver); - } - - /** - *
-     * Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
-     * resource on a given Google Cloud Platform project and region.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - default void createAzureCluster(com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAzureClusterMethod(), responseObserver); - } - - /** - *
-     * Updates an [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
-     * 
- */ - default void updateAzureCluster(com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAzureClusterMethod(), responseObserver); - } - - /** - *
-     * Describes a specific
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
-     * 
- */ - default void getAzureCluster(com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAzureClusterMethod(), responseObserver); - } - - /** - *
-     * Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
-     * resources on a given Google Cloud project and region.
-     * 
- */ - default void listAzureClusters(com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAzureClustersMethod(), responseObserver); - } - - /** - *
-     * Deletes a specific
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
-     * Fails if the cluster has one or more associated
-     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - default void deleteAzureCluster(com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAzureClusterMethod(), responseObserver); - } - - /** - *
-     * Generates an access token for a cluster agent.
-     * 
- */ - default void generateAzureClusterAgentToken(com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateAzureClusterAgentTokenMethod(), responseObserver); - } - - /** - *
-     * Generates a short-lived access token to authenticate to a given
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
-     * 
- */ - default void generateAzureAccessToken(com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateAzureAccessTokenMethod(), responseObserver); - } - - /** - *
-     * Creates a new [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool],
-     * attached to a given
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - default void createAzureNodePool(com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAzureNodePoolMethod(), responseObserver); - } - - /** - *
-     * Updates an [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
-     * 
- */ - default void updateAzureNodePool(com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAzureNodePoolMethod(), responseObserver); - } - - /** - *
-     * Describes a specific
-     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
-     * 
- */ - default void getAzureNodePool(com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAzureNodePoolMethod(), responseObserver); - } - - /** - *
-     * Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
-     * resources on a given
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
-     * 
- */ - default void listAzureNodePools(com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAzureNodePoolsMethod(), responseObserver); - } - - /** - *
-     * Deletes a specific
-     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - default void deleteAzureNodePool(com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAzureNodePoolMethod(), responseObserver); - } - - /** - *
-     * Gets the OIDC discovery document for the cluster.
-     * See the
-     * [OpenID Connect Discovery 1.0
-     * specification](https://openid.net/specs/openid-connect-discovery-1_0.html)
-     * for details.
-     * 
- */ - default void getAzureOpenIdConfig(com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAzureOpenIdConfigMethod(), responseObserver); - } - - /** - *
-     * Gets the public component of the cluster signing keys in
-     * JSON Web Key format.
-     * 
- */ - default void getAzureJsonWebKeys(com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAzureJsonWebKeysMethod(), responseObserver); - } - - /** - *
-     * Returns information, such as supported Azure regions and Kubernetes
-     * versions, on a given Google Cloud location.
-     * 
- */ - default void getAzureServerConfig(com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAzureServerConfigMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service AzureClusters. - *
-   * The AzureClusters API provides a single centrally managed service
-   * to create and manage Anthos clusters that run on Azure infrastructure.
-   * 
- */ - public static abstract class AzureClustersImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return AzureClustersGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service AzureClusters. - *
-   * The AzureClusters API provides a single centrally managed service
-   * to create and manage Anthos clusters that run on Azure infrastructure.
-   * 
- */ - public static final class AzureClustersStub - extends io.grpc.stub.AbstractAsyncStub { - private AzureClustersStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AzureClustersStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AzureClustersStub(channel, callOptions); - } - - /** - *
-     * Creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
-     * resource on a given Google Cloud project and region.
-     * `AzureClient` resources hold client authentication
-     * information needed by the Anthos Multicloud API to manage Azure resources
-     * on your Azure subscription on your behalf.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public void createAzureClient(com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateAzureClientMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Describes a specific
-     * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.
-     * 
- */ - public void getAzureClient(com.google.cloud.gkemulticloud.v1.GetAzureClientRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAzureClientMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists all [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
-     * resources on a given Google Cloud project and region.
-     * 
- */ - public void listAzureClients(com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAzureClientsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
-     * resource.
-     * If the client is used by one or more clusters, deletion will
-     * fail and a `FAILED_PRECONDITION` error will be returned.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public void deleteAzureClient(com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAzureClientMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
-     * resource on a given Google Cloud Platform project and region.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public void createAzureCluster(com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateAzureClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates an [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
-     * 
- */ - public void updateAzureCluster(com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAzureClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Describes a specific
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
-     * 
- */ - public void getAzureCluster(com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAzureClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
-     * resources on a given Google Cloud project and region.
-     * 
- */ - public void listAzureClusters(com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAzureClustersMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a specific
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
-     * Fails if the cluster has one or more associated
-     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public void deleteAzureCluster(com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAzureClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Generates an access token for a cluster agent.
-     * 
- */ - public void generateAzureClusterAgentToken(com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGenerateAzureClusterAgentTokenMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Generates a short-lived access token to authenticate to a given
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
-     * 
- */ - public void generateAzureAccessToken(com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGenerateAzureAccessTokenMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool],
-     * attached to a given
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public void createAzureNodePool(com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateAzureNodePoolMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates an [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
-     * 
- */ - public void updateAzureNodePool(com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAzureNodePoolMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Describes a specific
-     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
-     * 
- */ - public void getAzureNodePool(com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAzureNodePoolMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
-     * resources on a given
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
-     * 
- */ - public void listAzureNodePools(com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAzureNodePoolsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a specific
-     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public void deleteAzureNodePool(com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAzureNodePoolMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets the OIDC discovery document for the cluster.
-     * See the
-     * [OpenID Connect Discovery 1.0
-     * specification](https://openid.net/specs/openid-connect-discovery-1_0.html)
-     * for details.
-     * 
- */ - public void getAzureOpenIdConfig(com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAzureOpenIdConfigMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets the public component of the cluster signing keys in
-     * JSON Web Key format.
-     * 
- */ - public void getAzureJsonWebKeys(com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAzureJsonWebKeysMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns information, such as supported Azure regions and Kubernetes
-     * versions, on a given Google Cloud location.
-     * 
- */ - public void getAzureServerConfig(com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAzureServerConfigMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service AzureClusters. - *
-   * The AzureClusters API provides a single centrally managed service
-   * to create and manage Anthos clusters that run on Azure infrastructure.
-   * 
- */ - public static final class AzureClustersBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private AzureClustersBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AzureClustersBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AzureClustersBlockingStub(channel, callOptions); - } - - /** - *
-     * Creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
-     * resource on a given Google Cloud project and region.
-     * `AzureClient` resources hold client authentication
-     * information needed by the Anthos Multicloud API to manage Azure resources
-     * on your Azure subscription on your behalf.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.longrunning.Operation createAzureClient(com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateAzureClientMethod(), getCallOptions(), request); - } - - /** - *
-     * Describes a specific
-     * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.AzureClient getAzureClient(com.google.cloud.gkemulticloud.v1.GetAzureClientRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAzureClientMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
-     * resources on a given Google Cloud project and region.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse listAzureClients(com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAzureClientsMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
-     * resource.
-     * If the client is used by one or more clusters, deletion will
-     * fail and a `FAILED_PRECONDITION` error will be returned.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.longrunning.Operation deleteAzureClient(com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAzureClientMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
-     * resource on a given Google Cloud Platform project and region.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.longrunning.Operation createAzureCluster(com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateAzureClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates an [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
-     * 
- */ - public com.google.longrunning.Operation updateAzureCluster(com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAzureClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Describes a specific
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.AzureCluster getAzureCluster(com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAzureClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
-     * resources on a given Google Cloud project and region.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse listAzureClusters(com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAzureClustersMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a specific
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
-     * Fails if the cluster has one or more associated
-     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.longrunning.Operation deleteAzureCluster(com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAzureClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Generates an access token for a cluster agent.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse generateAzureClusterAgentToken(com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGenerateAzureClusterAgentTokenMethod(), getCallOptions(), request); - } - - /** - *
-     * Generates a short-lived access token to authenticate to a given
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse generateAzureAccessToken(com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGenerateAzureAccessTokenMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool],
-     * attached to a given
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.longrunning.Operation createAzureNodePool(com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateAzureNodePoolMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates an [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
-     * 
- */ - public com.google.longrunning.Operation updateAzureNodePool(com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAzureNodePoolMethod(), getCallOptions(), request); - } - - /** - *
-     * Describes a specific
-     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.AzureNodePool getAzureNodePool(com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAzureNodePoolMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
-     * resources on a given
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse listAzureNodePools(com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAzureNodePoolsMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a specific
-     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.longrunning.Operation deleteAzureNodePool(com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAzureNodePoolMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets the OIDC discovery document for the cluster.
-     * See the
-     * [OpenID Connect Discovery 1.0
-     * specification](https://openid.net/specs/openid-connect-discovery-1_0.html)
-     * for details.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig getAzureOpenIdConfig(com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAzureOpenIdConfigMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets the public component of the cluster signing keys in
-     * JSON Web Key format.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys getAzureJsonWebKeys(com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAzureJsonWebKeysMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns information, such as supported Azure regions and Kubernetes
-     * versions, on a given Google Cloud location.
-     * 
- */ - public com.google.cloud.gkemulticloud.v1.AzureServerConfig getAzureServerConfig(com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAzureServerConfigMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service AzureClusters. - *
-   * The AzureClusters API provides a single centrally managed service
-   * to create and manage Anthos clusters that run on Azure infrastructure.
-   * 
- */ - public static final class AzureClustersFutureStub - extends io.grpc.stub.AbstractFutureStub { - private AzureClustersFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AzureClustersFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AzureClustersFutureStub(channel, callOptions); - } - - /** - *
-     * Creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
-     * resource on a given Google Cloud project and region.
-     * `AzureClient` resources hold client authentication
-     * information needed by the Anthos Multicloud API to manage Azure resources
-     * on your Azure subscription on your behalf.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createAzureClient( - com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateAzureClientMethod(), getCallOptions()), request); - } - - /** - *
-     * Describes a specific
-     * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getAzureClient( - com.google.cloud.gkemulticloud.v1.GetAzureClientRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAzureClientMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
-     * resources on a given Google Cloud project and region.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listAzureClients( - com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAzureClientsMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
-     * resource.
-     * If the client is used by one or more clusters, deletion will
-     * fail and a `FAILED_PRECONDITION` error will be returned.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteAzureClient( - com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAzureClientMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
-     * resource on a given Google Cloud Platform project and region.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createAzureCluster( - com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateAzureClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates an [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateAzureCluster( - com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAzureClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Describes a specific
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getAzureCluster( - com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAzureClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
-     * resources on a given Google Cloud project and region.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listAzureClusters( - com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAzureClustersMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a specific
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
-     * Fails if the cluster has one or more associated
-     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteAzureCluster( - com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAzureClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Generates an access token for a cluster agent.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture generateAzureClusterAgentToken( - com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGenerateAzureClusterAgentTokenMethod(), getCallOptions()), request); - } - - /** - *
-     * Generates a short-lived access token to authenticate to a given
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture generateAzureAccessToken( - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGenerateAzureAccessTokenMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool],
-     * attached to a given
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createAzureNodePool( - com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateAzureNodePoolMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates an [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateAzureNodePool( - com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAzureNodePoolMethod(), getCallOptions()), request); - } - - /** - *
-     * Describes a specific
-     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getAzureNodePool( - com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAzureNodePoolMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
-     * resources on a given
-     * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listAzureNodePools( - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAzureNodePoolsMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a specific
-     * [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
-     * If successful, the response contains a newly created
-     * [Operation][google.longrunning.Operation] resource that can be
-     * described to track the status of the operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteAzureNodePool( - com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAzureNodePoolMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets the OIDC discovery document for the cluster.
-     * See the
-     * [OpenID Connect Discovery 1.0
-     * specification](https://openid.net/specs/openid-connect-discovery-1_0.html)
-     * for details.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getAzureOpenIdConfig( - com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAzureOpenIdConfigMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets the public component of the cluster signing keys in
-     * JSON Web Key format.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getAzureJsonWebKeys( - com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAzureJsonWebKeysMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns information, such as supported Azure regions and Kubernetes
-     * versions, on a given Google Cloud location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getAzureServerConfig( - com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAzureServerConfigMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_AZURE_CLIENT = 0; - private static final int METHODID_GET_AZURE_CLIENT = 1; - private static final int METHODID_LIST_AZURE_CLIENTS = 2; - private static final int METHODID_DELETE_AZURE_CLIENT = 3; - private static final int METHODID_CREATE_AZURE_CLUSTER = 4; - private static final int METHODID_UPDATE_AZURE_CLUSTER = 5; - private static final int METHODID_GET_AZURE_CLUSTER = 6; - private static final int METHODID_LIST_AZURE_CLUSTERS = 7; - private static final int METHODID_DELETE_AZURE_CLUSTER = 8; - private static final int METHODID_GENERATE_AZURE_CLUSTER_AGENT_TOKEN = 9; - private static final int METHODID_GENERATE_AZURE_ACCESS_TOKEN = 10; - private static final int METHODID_CREATE_AZURE_NODE_POOL = 11; - private static final int METHODID_UPDATE_AZURE_NODE_POOL = 12; - private static final int METHODID_GET_AZURE_NODE_POOL = 13; - private static final int METHODID_LIST_AZURE_NODE_POOLS = 14; - private static final int METHODID_DELETE_AZURE_NODE_POOL = 15; - private static final int METHODID_GET_AZURE_OPEN_ID_CONFIG = 16; - private static final int METHODID_GET_AZURE_JSON_WEB_KEYS = 17; - private static final int METHODID_GET_AZURE_SERVER_CONFIG = 18; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_AZURE_CLIENT: - serviceImpl.createAzureClient((com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_AZURE_CLIENT: - serviceImpl.getAzureClient((com.google.cloud.gkemulticloud.v1.GetAzureClientRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_AZURE_CLIENTS: - serviceImpl.listAzureClients((com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_AZURE_CLIENT: - serviceImpl.deleteAzureClient((com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_AZURE_CLUSTER: - serviceImpl.createAzureCluster((com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_AZURE_CLUSTER: - serviceImpl.updateAzureCluster((com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_AZURE_CLUSTER: - serviceImpl.getAzureCluster((com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_AZURE_CLUSTERS: - serviceImpl.listAzureClusters((com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_AZURE_CLUSTER: - serviceImpl.deleteAzureCluster((com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GENERATE_AZURE_CLUSTER_AGENT_TOKEN: - serviceImpl.generateAzureClusterAgentToken((com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GENERATE_AZURE_ACCESS_TOKEN: - serviceImpl.generateAzureAccessToken((com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_AZURE_NODE_POOL: - serviceImpl.createAzureNodePool((com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_AZURE_NODE_POOL: - serviceImpl.updateAzureNodePool((com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_AZURE_NODE_POOL: - serviceImpl.getAzureNodePool((com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_AZURE_NODE_POOLS: - serviceImpl.listAzureNodePools((com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_AZURE_NODE_POOL: - serviceImpl.deleteAzureNodePool((com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_AZURE_OPEN_ID_CONFIG: - serviceImpl.getAzureOpenIdConfig((com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_AZURE_JSON_WEB_KEYS: - serviceImpl.getAzureJsonWebKeys((com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_AZURE_SERVER_CONFIG: - serviceImpl.getAzureServerConfig((com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateAzureClientMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.CreateAzureClientRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_AZURE_CLIENT))) - .addMethod( - getGetAzureClientMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.GetAzureClientRequest, - com.google.cloud.gkemulticloud.v1.AzureClient>( - service, METHODID_GET_AZURE_CLIENT))) - .addMethod( - getListAzureClientsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.ListAzureClientsRequest, - com.google.cloud.gkemulticloud.v1.ListAzureClientsResponse>( - service, METHODID_LIST_AZURE_CLIENTS))) - .addMethod( - getDeleteAzureClientMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.DeleteAzureClientRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_AZURE_CLIENT))) - .addMethod( - getCreateAzureClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_AZURE_CLUSTER))) - .addMethod( - getUpdateAzureClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.UpdateAzureClusterRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_AZURE_CLUSTER))) - .addMethod( - getGetAzureClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest, - com.google.cloud.gkemulticloud.v1.AzureCluster>( - service, METHODID_GET_AZURE_CLUSTER))) - .addMethod( - getListAzureClustersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.ListAzureClustersRequest, - com.google.cloud.gkemulticloud.v1.ListAzureClustersResponse>( - service, METHODID_LIST_AZURE_CLUSTERS))) - .addMethod( - getDeleteAzureClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_AZURE_CLUSTER))) - .addMethod( - getGenerateAzureClusterAgentTokenMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest, - com.google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse>( - service, METHODID_GENERATE_AZURE_CLUSTER_AGENT_TOKEN))) - .addMethod( - getGenerateAzureAccessTokenMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest, - com.google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse>( - service, METHODID_GENERATE_AZURE_ACCESS_TOKEN))) - .addMethod( - getCreateAzureNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.CreateAzureNodePoolRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_AZURE_NODE_POOL))) - .addMethod( - getUpdateAzureNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.UpdateAzureNodePoolRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_AZURE_NODE_POOL))) - .addMethod( - getGetAzureNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.GetAzureNodePoolRequest, - com.google.cloud.gkemulticloud.v1.AzureNodePool>( - service, METHODID_GET_AZURE_NODE_POOL))) - .addMethod( - getListAzureNodePoolsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsRequest, - com.google.cloud.gkemulticloud.v1.ListAzureNodePoolsResponse>( - service, METHODID_LIST_AZURE_NODE_POOLS))) - .addMethod( - getDeleteAzureNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.DeleteAzureNodePoolRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_AZURE_NODE_POOL))) - .addMethod( - getGetAzureOpenIdConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest, - com.google.cloud.gkemulticloud.v1.AzureOpenIdConfig>( - service, METHODID_GET_AZURE_OPEN_ID_CONFIG))) - .addMethod( - getGetAzureJsonWebKeysMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest, - com.google.cloud.gkemulticloud.v1.AzureJsonWebKeys>( - service, METHODID_GET_AZURE_JSON_WEB_KEYS))) - .addMethod( - getGetAzureServerConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gkemulticloud.v1.GetAzureServerConfigRequest, - com.google.cloud.gkemulticloud.v1.AzureServerConfig>( - service, METHODID_GET_AZURE_SERVER_CONFIG))) - .build(); - } - - private static abstract class AzureClustersBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - AzureClustersBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.gkemulticloud.v1.AzureServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("AzureClusters"); - } - } - - private static final class AzureClustersFileDescriptorSupplier - extends AzureClustersBaseDescriptorSupplier { - AzureClustersFileDescriptorSupplier() {} - } - - private static final class AzureClustersMethodDescriptorSupplier - extends AzureClustersBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - AzureClustersMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (AzureClustersGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AzureClustersFileDescriptorSupplier()) - .addMethod(getCreateAzureClientMethod()) - .addMethod(getGetAzureClientMethod()) - .addMethod(getListAzureClientsMethod()) - .addMethod(getDeleteAzureClientMethod()) - .addMethod(getCreateAzureClusterMethod()) - .addMethod(getUpdateAzureClusterMethod()) - .addMethod(getGetAzureClusterMethod()) - .addMethod(getListAzureClustersMethod()) - .addMethod(getDeleteAzureClusterMethod()) - .addMethod(getGenerateAzureClusterAgentTokenMethod()) - .addMethod(getGenerateAzureAccessTokenMethod()) - .addMethod(getCreateAzureNodePoolMethod()) - .addMethod(getUpdateAzureNodePoolMethod()) - .addMethod(getGetAzureNodePoolMethod()) - .addMethod(getListAzureNodePoolsMethod()) - .addMethod(getDeleteAzureNodePoolMethod()) - .addMethod(getGetAzureOpenIdConfigMethod()) - .addMethod(getGetAzureJsonWebKeysMethod()) - .addMethod(getGetAzureServerConfigMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterErrorOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterErrorOrBuilder.java deleted file mode 100644 index d5c4ad826529..000000000000 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterErrorOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/attached_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public interface AttachedClusterErrorOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AttachedClusterError) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Human-friendly description of the error.
-   * 
- * - * string message = 1; - * @return The message. - */ - java.lang.String getMessage(); - /** - *
-   * Human-friendly description of the error.
-   * 
- * - * string message = 1; - * @return The bytes for message. - */ - com.google.protobuf.ByteString - getMessageBytes(); -} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedPlatformVersionInfoOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedPlatformVersionInfoOrBuilder.java deleted file mode 100644 index 9c21dd0a85bd..000000000000 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedPlatformVersionInfoOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/attached_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public interface AttachedPlatformVersionInfoOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AttachedPlatformVersionInfo) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Platform version name.
-   * 
- * - * string version = 1; - * @return The version. - */ - java.lang.String getVersion(); - /** - *
-   * Platform version name.
-   * 
- * - * string version = 1; - * @return The bytes for version. - */ - com.google.protobuf.ByteString - getVersionBytes(); -} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedResourcesProto.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedResourcesProto.java deleted file mode 100644 index 47d6823932a3..000000000000 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedResourcesProto.java +++ /dev/null @@ -1,241 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/attached_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public final class AttachedResourcesProto { - private AttachedResourcesProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_AnnotationsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AttachedCluster_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AttachedClustersAuthorization_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AttachedClustersAuthorization_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AttachedClusterUser_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AttachedClusterUser_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AttachedClusterGroup_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AttachedClusterGroup_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AttachedOidcConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AttachedOidcConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AttachedServerConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AttachedServerConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AttachedPlatformVersionInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AttachedPlatformVersionInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AttachedClusterError_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AttachedClusterError_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AttachedProxyConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AttachedProxyConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_KubernetesSecret_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_KubernetesSecret_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n6google/cloud/gkemulticloud/v1/attached" + - "_resources.proto\022\035google.cloud.gkemultic" + - "loud.v1\032\037google/api/field_behavior.proto" + - "\032\031google/api/resource.proto\0324google/clou" + - "d/gkemulticloud/v1/common_resources.prot" + - "o\032\037google/protobuf/timestamp.proto\"\206\014\n\017A" + - "ttachedCluster\022\014\n\004name\030\001 \001(\t\022\031\n\013descript" + - "ion\030\002 \001(\tB\004\342A\001\001\022L\n\013oidc_config\030\003 \001(\01321.g" + - "oogle.cloud.gkemulticloud.v1.AttachedOid" + - "cConfigB\004\342A\001\002\022\036\n\020platform_version\030\004 \001(\tB" + - "\004\342A\001\002\022\032\n\014distribution\030\020 \001(\tB\004\342A\001\002\022\034\n\016clu" + - "ster_region\030\026 \001(\tB\004\342A\001\003\0229\n\005fleet\030\005 \001(\0132$" + - ".google.cloud.gkemulticloud.v1.FleetB\004\342A" + - "\001\002\022I\n\005state\030\006 \001(\01624.google.cloud.gkemult" + - "icloud.v1.AttachedCluster.StateB\004\342A\001\003\022\021\n" + - "\003uid\030\007 \001(\tB\004\342A\001\003\022\031\n\013reconciling\030\010 \001(\010B\004\342" + - "A\001\003\0225\n\013create_time\030\t \001(\0132\032.google.protob" + - "uf.TimestampB\004\342A\001\003\0225\n\013update_time\030\n \001(\0132" + - "\032.google.protobuf.TimestampB\004\342A\001\003\022\014\n\004eta" + - "g\030\013 \001(\t\022 \n\022kubernetes_version\030\014 \001(\tB\004\342A\001" + - "\003\022Z\n\013annotations\030\r \003(\0132?.google.cloud.gk" + - "emulticloud.v1.AttachedCluster.Annotatio" + - "nsEntryB\004\342A\001\001\022]\n\030workload_identity_confi" + - "g\030\016 \001(\01325.google.cloud.gkemulticloud.v1." + - "WorkloadIdentityConfigB\004\342A\001\003\022J\n\016logging_" + - "config\030\017 \001(\0132,.google.cloud.gkemulticlou" + - "d.v1.LoggingConfigB\004\342A\001\001\022I\n\006errors\030\024 \003(\013" + - "23.google.cloud.gkemulticloud.v1.Attache" + - "dClusterErrorB\004\342A\001\003\022Y\n\rauthorization\030\025 \001" + - "(\0132<.google.cloud.gkemulticloud.v1.Attac" + - "hedClustersAuthorizationB\004\342A\001\001\022P\n\021monito" + - "ring_config\030\027 \001(\0132/.google.cloud.gkemult" + - "icloud.v1.MonitoringConfigB\004\342A\001\001\022N\n\014prox" + - "y_config\030\030 \001(\01322.google.cloud.gkemulticl" + - "oud.v1.AttachedProxyConfigB\004\342A\001\001\022V\n\024bina" + - "ry_authorization\030\031 \001(\01322.google.cloud.gk" + - "emulticloud.v1.BinaryAuthorizationB\004\342A\001\001" + - "\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" + - "ue\030\002 \001(\t:\0028\001\"u\n\005State\022\025\n\021STATE_UNSPECIFI" + - "ED\020\000\022\020\n\014PROVISIONING\020\001\022\013\n\007RUNNING\020\002\022\017\n\013R" + - "ECONCILING\020\003\022\014\n\010STOPPING\020\004\022\t\n\005ERROR\020\005\022\014\n" + - "\010DEGRADED\020\006:~\352A{\n,gkemulticloud.googleap" + - "is.com/AttachedCluster\022Kprojects/{projec" + - "t}/locations/{location}/attachedClusters" + - "/{attached_cluster}\"\277\001\n\035AttachedClusters" + - "Authorization\022M\n\013admin_users\030\001 \003(\01322.goo" + - "gle.cloud.gkemulticloud.v1.AttachedClust" + - "erUserB\004\342A\001\001\022O\n\014admin_groups\030\002 \003(\01323.goo" + - "gle.cloud.gkemulticloud.v1.AttachedClust" + - "erGroupB\004\342A\001\001\"-\n\023AttachedClusterUser\022\026\n\010" + - "username\030\001 \001(\tB\004\342A\001\002\"+\n\024AttachedClusterG" + - "roup\022\023\n\005group\030\001 \001(\tB\004\342A\001\002\"<\n\022AttachedOid" + - "cConfig\022\022\n\nissuer_url\030\001 \001(\t\022\022\n\004jwks\030\002 \001(" + - "\014B\004\342A\001\001\"\356\001\n\024AttachedServerConfig\022\014\n\004name" + - "\030\001 \001(\t\022R\n\016valid_versions\030\002 \003(\0132:.google." + - "cloud.gkemulticloud.v1.AttachedPlatformV" + - "ersionInfo:t\352Aq\n1gkemulticloud.googleapi" + - "s.com/AttachedServerConfig\022 - * Human-friendly description of the error. - *
- * - * string message = 1; - * @return The message. - */ - java.lang.String getMessage(); - /** - *
-   * Human-friendly description of the error.
-   * 
- * - * string message = 1; - * @return The bytes for message. - */ - com.google.protobuf.ByteString - getMessageBytes(); -} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacementOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacementOrBuilder.java deleted file mode 100644 index fe2dbc644c83..000000000000 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsInstancePlacementOrBuilder.java +++ /dev/null @@ -1,28 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/aws_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public interface AwsInstancePlacementOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsInstancePlacement) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The tenancy for instance.
-   * 
- * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return The enum numeric value on the wire for tenancy. - */ - int getTenancyValue(); - /** - *
-   * Required. The tenancy for instance.
-   * 
- * - * .google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy tenancy = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return The tenancy. - */ - com.google.cloud.gkemulticloud.v1.AwsInstancePlacement.Tenancy getTenancy(); -} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolErrorOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolErrorOrBuilder.java deleted file mode 100644 index 34d6a5c55c8b..000000000000 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsNodePoolErrorOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/aws_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public interface AwsNodePoolErrorOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AwsNodePoolError) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Human-friendly description of the error.
-   * 
- * - * string message = 1; - * @return The message. - */ - java.lang.String getMessage(); - /** - *
-   * Human-friendly description of the error.
-   * 
- * - * string message = 1; - * @return The bytes for message. - */ - com.google.protobuf.ByteString - getMessageBytes(); -} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java deleted file mode 100644 index 2e253b42c69b..000000000000 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java +++ /dev/null @@ -1,591 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/aws_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public final class AwsResourcesProto { - private AwsResourcesProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsCluster_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsCluster_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsCluster_AnnotationsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsCluster_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_TagsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_TagsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsClusterGroup_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsClusterGroup_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_AnnotationsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_UpdateSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_UpdateSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_SurgeSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_SurgeSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsNodeManagement_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsNodeManagement_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_TagsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_TagsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsOpenIdConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsOpenIdConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsJsonWebKeys_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsJsonWebKeys_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_SpotConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_SpotConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n1google/cloud/gkemulticloud/v1/aws_reso" + - "urces.proto\022\035google.cloud.gkemulticloud." + - "v1\032\037google/api/field_behavior.proto\032\031goo" + - "gle/api/resource.proto\0324google/cloud/gke" + - "multicloud/v1/common_resources.proto\032\037go" + - "ogle/protobuf/timestamp.proto\032\026google/ty" + - "pe/date.proto\"\260\013\n\nAwsCluster\022\014\n\004name\030\001 \001" + - "(\t\022\031\n\013description\030\002 \001(\tB\004\342A\001\001\022M\n\nnetwork" + - "ing\030\003 \001(\01323.google.cloud.gkemulticloud.v" + - "1.AwsClusterNetworkingB\004\342A\001\002\022\030\n\naws_regi" + - "on\030\004 \001(\tB\004\342A\001\002\022K\n\rcontrol_plane\030\005 \001(\0132.." + - "google.cloud.gkemulticloud.v1.AwsControl" + - "PlaneB\004\342A\001\002\022L\n\rauthorization\030\017 \001(\0132/.goo" + - "gle.cloud.gkemulticloud.v1.AwsAuthorizat" + - "ionB\004\342A\001\002\022D\n\005state\030\007 \001(\0162/.google.cloud." + - "gkemulticloud.v1.AwsCluster.StateB\004\342A\001\003\022" + - "\026\n\010endpoint\030\010 \001(\tB\004\342A\001\003\022\021\n\003uid\030\t \001(\tB\004\342A" + - "\001\003\022\031\n\013reconciling\030\n \001(\010B\004\342A\001\003\0225\n\013create_" + - "time\030\013 \001(\0132\032.google.protobuf.TimestampB\004" + - "\342A\001\003\0225\n\013update_time\030\014 \001(\0132\032.google.proto" + - "buf.TimestampB\004\342A\001\003\022\014\n\004etag\030\r \001(\t\022U\n\013ann" + - "otations\030\016 \003(\0132:.google.cloud.gkemulticl" + - "oud.v1.AwsCluster.AnnotationsEntryB\004\342A\001\001" + - "\022]\n\030workload_identity_config\030\020 \001(\01325.goo" + - "gle.cloud.gkemulticloud.v1.WorkloadIdent" + - "ityConfigB\004\342A\001\003\022$\n\026cluster_ca_certificat" + - "e\030\021 \001(\tB\004\342A\001\003\0229\n\005fleet\030\022 \001(\0132$.google.cl" + - "oud.gkemulticloud.v1.FleetB\004\342A\001\002\022J\n\016logg" + - "ing_config\030\023 \001(\0132,.google.cloud.gkemulti" + - "cloud.v1.LoggingConfigB\004\342A\001\001\022D\n\006errors\030\024" + - " \003(\0132..google.cloud.gkemulticloud.v1.Aws" + - "ClusterErrorB\004\342A\001\003\022P\n\021monitoring_config\030" + - "\025 \001(\0132/.google.cloud.gkemulticloud.v1.Mo" + - "nitoringConfigB\004\342A\001\001\022V\n\024binary_authoriza" + - "tion\030\026 \001(\01322.google.cloud.gkemulticloud." + - "v1.BinaryAuthorizationB\004\342A\001\001\0322\n\020Annotati" + - "onsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + - "\"u\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\020\n\014PROV" + - "ISIONING\020\001\022\013\n\007RUNNING\020\002\022\017\n\013RECONCILING\020\003" + - "\022\014\n\010STOPPING\020\004\022\t\n\005ERROR\020\005\022\014\n\010DEGRADED\020\006:" + - "o\352Al\n\'gkemulticloud.googleapis.com/AwsCl" + - "uster\022Aprojects/{project}/locations/{loc" + - "ation}/awsClusters/{aws_cluster}\"\266\007\n\017Aws" + - "ControlPlane\022\025\n\007version\030\001 \001(\tB\004\342A\001\002\022\033\n\ri" + - "nstance_type\030\002 \001(\tB\004\342A\001\001\022E\n\nssh_config\030\016" + - " \001(\0132+.google.cloud.gkemulticloud.v1.Aws" + - "SshConfigB\004\342A\001\001\022\030\n\nsubnet_ids\030\004 \003(\tB\004\342A\001" + - "\002\022 \n\022security_group_ids\030\005 \003(\tB\004\342A\001\001\022\"\n\024i" + - "am_instance_profile\030\007 \001(\tB\004\342A\001\002\022K\n\013root_" + - "volume\030\010 \001(\01320.google.cloud.gkemulticlou" + - "d.v1.AwsVolumeTemplateB\004\342A\001\001\022K\n\013main_vol" + - "ume\030\t \001(\01320.google.cloud.gkemulticloud.v" + - "1.AwsVolumeTemplateB\004\342A\001\001\022W\n\023database_en" + - "cryption\030\n \001(\01324.google.cloud.gkemulticl" + - "oud.v1.AwsDatabaseEncryptionB\004\342A\001\002\022L\n\004ta" + - "gs\030\013 \003(\01328.google.cloud.gkemulticloud.v1" + - ".AwsControlPlane.TagsEntryB\004\342A\001\001\022c\n\033aws_" + - "services_authentication\030\014 \001(\01328.google.c" + - "loud.gkemulticloud.v1.AwsServicesAuthent" + - "icationB\004\342A\001\002\022I\n\014proxy_config\030\020 \001(\0132-.go" + - "ogle.cloud.gkemulticloud.v1.AwsProxyConf" + - "igB\004\342A\001\001\022S\n\021config_encryption\030\021 \001(\01322.go" + - "ogle.cloud.gkemulticloud.v1.AwsConfigEnc" + - "ryptionB\004\342A\001\002\022U\n\022instance_placement\030\022 \001(" + - "\01323.google.cloud.gkemulticloud.v1.AwsIns" + - "tancePlacementB\004\342A\001\001\032+\n\tTagsEntry\022\013\n\003key" + - "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\031AwsServices" + - "Authentication\022\026\n\010role_arn\030\001 \001(\tB\004\342A\001\002\022\037" + - "\n\021role_session_name\030\002 \001(\tB\004\342A\001\001\"\250\001\n\020AwsA" + - "uthorization\022H\n\013admin_users\030\001 \003(\0132-.goog" + - "le.cloud.gkemulticloud.v1.AwsClusterUser" + - "B\004\342A\001\001\022J\n\014admin_groups\030\002 \003(\0132..google.cl" + - "oud.gkemulticloud.v1.AwsClusterGroupB\004\342A" + - "\001\001\"(\n\016AwsClusterUser\022\026\n\010username\030\001 \001(\tB\004" + - "\342A\001\002\"&\n\017AwsClusterGroup\022\023\n\005group\030\001 \001(\tB\004" + - "\342A\001\002\"2\n\025AwsDatabaseEncryption\022\031\n\013kms_key" + - "_arn\030\001 \001(\tB\004\342A\001\002\"\211\002\n\021AwsVolumeTemplate\022\026" + - "\n\010size_gib\030\001 \001(\005B\004\342A\001\001\022V\n\013volume_type\030\002 " + - "\001(\0162;.google.cloud.gkemulticloud.v1.AwsV" + - "olumeTemplate.VolumeTypeB\004\342A\001\001\022\022\n\004iops\030\003" + - " \001(\005B\004\342A\001\001\022\030\n\nthroughput\030\005 \001(\005B\004\342A\001\001\022\031\n\013" + - "kms_key_arn\030\004 \001(\tB\004\342A\001\001\";\n\nVolumeType\022\033\n" + - "\027VOLUME_TYPE_UNSPECIFIED\020\000\022\007\n\003GP2\020\001\022\007\n\003G" + - "P3\020\002\"\255\001\n\024AwsClusterNetworking\022\024\n\006vpc_id\030" + - "\001 \001(\tB\004\342A\001\002\022%\n\027pod_address_cidr_blocks\030\002" + - " \003(\tB\004\342A\001\002\022)\n\033service_address_cidr_block" + - "s\030\003 \003(\tB\004\342A\001\002\022-\n\037per_node_pool_sg_rules_" + - "disabled\030\005 \001(\010B\004\342A\001\001\"\234\t\n\013AwsNodePool\022\014\n\004" + - "name\030\001 \001(\t\022\025\n\007version\030\003 \001(\tB\004\342A\001\002\022B\n\006con" + - "fig\030\034 \001(\0132,.google.cloud.gkemulticloud.v" + - "1.AwsNodeConfigB\004\342A\001\002\022P\n\013autoscaling\030\031 \001" + - "(\01325.google.cloud.gkemulticloud.v1.AwsNo" + - "dePoolAutoscalingB\004\342A\001\002\022\027\n\tsubnet_id\030\006 \001" + - "(\tB\004\342A\001\002\022E\n\005state\030\020 \001(\01620.google.cloud.g" + - "kemulticloud.v1.AwsNodePool.StateB\004\342A\001\003\022" + - "\021\n\003uid\030\021 \001(\tB\004\342A\001\003\022\031\n\013reconciling\030\022 \001(\010B" + - "\004\342A\001\003\0225\n\013create_time\030\023 \001(\0132\032.google.prot" + - "obuf.TimestampB\004\342A\001\003\0225\n\013update_time\030\024 \001(" + - "\0132\032.google.protobuf.TimestampB\004\342A\001\003\022\014\n\004e" + - "tag\030\025 \001(\t\022V\n\013annotations\030\026 \003(\0132;.google." + - "cloud.gkemulticloud.v1.AwsNodePool.Annot" + - "ationsEntryB\004\342A\001\001\022S\n\023max_pods_constraint" + - "\030\033 \001(\01320.google.cloud.gkemulticloud.v1.M" + - "axPodsConstraintB\004\342A\001\002\022E\n\006errors\030\035 \003(\0132/" + - ".google.cloud.gkemulticloud.v1.AwsNodePo" + - "olErrorB\004\342A\001\003\022J\n\nmanagement\030\036 \001(\01320.goog" + - "le.cloud.gkemulticloud.v1.AwsNodeManagem" + - "entB\004\342A\001\001\022L\n\017update_settings\030 \001(\0132-.goo" + - "gle.cloud.gkemulticloud.v1.UpdateSetting" + - "sB\004\342A\001\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t" + - "\022\r\n\005value\030\002 \001(\t:\0028\001\"u\n\005State\022\025\n\021STATE_UN" + - "SPECIFIED\020\000\022\020\n\014PROVISIONING\020\001\022\013\n\007RUNNING" + - "\020\002\022\017\n\013RECONCILING\020\003\022\014\n\010STOPPING\020\004\022\t\n\005ERR" + - "OR\020\005\022\014\n\010DEGRADED\020\006:\216\001\352A\212\001\n(gkemulticloud" + - ".googleapis.com/AwsNodePool\022^projects/{p" + - "roject}/locations/{location}/awsClusters" + - "/{aws_cluster}/awsNodePools/{aws_node_po" + - "ol}\"\\\n\016UpdateSettings\022J\n\016surge_settings\030" + - "\001 \001(\0132,.google.cloud.gkemulticloud.v1.Su" + - "rgeSettingsB\004\342A\001\001\"G\n\rSurgeSettings\022\027\n\tma" + - "x_surge\030\001 \001(\005B\004\342A\001\001\022\035\n\017max_unavailable\030\002" + - " \001(\005B\004\342A\001\001\".\n\021AwsNodeManagement\022\031\n\013auto_" + - "repair\030\001 \001(\010B\004\342A\001\001\"\210\010\n\rAwsNodeConfig\022\033\n\r" + - "instance_type\030\001 \001(\tB\004\342A\001\001\022K\n\013root_volume" + - "\030\002 \001(\01320.google.cloud.gkemulticloud.v1.A" + - "wsVolumeTemplateB\004\342A\001\001\022>\n\006taints\030\003 \003(\0132(" + - ".google.cloud.gkemulticloud.v1.NodeTaint" + - "B\004\342A\001\001\022N\n\006labels\030\004 \003(\01328.google.cloud.gk" + - "emulticloud.v1.AwsNodeConfig.LabelsEntry" + - "B\004\342A\001\001\022J\n\004tags\030\005 \003(\01326.google.cloud.gkem" + - "ulticloud.v1.AwsNodeConfig.TagsEntryB\004\342A" + - "\001\001\022\"\n\024iam_instance_profile\030\006 \001(\tB\004\342A\001\002\022\030" + - "\n\nimage_type\030\013 \001(\tB\004\342A\001\001\022E\n\nssh_config\030\t" + - " \001(\0132+.google.cloud.gkemulticloud.v1.Aws" + - "SshConfigB\004\342A\001\001\022 \n\022security_group_ids\030\n " + - "\003(\tB\004\342A\001\001\022I\n\014proxy_config\030\014 \001(\0132-.google" + - ".cloud.gkemulticloud.v1.AwsProxyConfigB\004" + - "\342A\001\001\022S\n\021config_encryption\030\r \001(\01322.google" + - ".cloud.gkemulticloud.v1.AwsConfigEncrypt" + - "ionB\004\342A\001\002\022U\n\022instance_placement\030\016 \001(\01323." + - "google.cloud.gkemulticloud.v1.AwsInstanc" + - "ePlacementB\004\342A\001\001\022q\n\036autoscaling_metrics_" + - "collection\030\017 \001(\0132C.google.cloud.gkemulti" + - "cloud.v1.AwsAutoscalingGroupMetricsColle" + - "ctionB\004\342A\001\001\022D\n\013spot_config\030\020 \001(\0132).googl" + - "e.cloud.gkemulticloud.v1.SpotConfigB\004\342A\001" + - "\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + - " \001(\t:\0028\001\032+\n\tTagsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + - "lue\030\002 \001(\t:\0028\001\"T\n\026AwsNodePoolAutoscaling\022" + - "\034\n\016min_node_count\030\001 \001(\005B\004\342A\001\002\022\034\n\016max_nod" + - "e_count\030\002 \001(\005B\004\342A\001\002\"\324\001\n\017AwsOpenIdConfig\022" + - "\016\n\006issuer\030\001 \001(\t\022\020\n\010jwks_uri\030\002 \001(\t\022 \n\030res" + - "ponse_types_supported\030\003 \003(\t\022\037\n\027subject_t" + - "ypes_supported\030\004 \003(\t\022-\n%id_token_signing" + - "_alg_values_supported\030\005 \003(\t\022\030\n\020claims_su" + - "pported\030\006 \003(\t\022\023\n\013grant_types\030\007 \003(\t\"B\n\016Aw" + - "sJsonWebKeys\0220\n\004keys\030\001 \003(\0132\".google.clou" + - "d.gkemulticloud.v1.Jwk\"\364\001\n\017AwsServerConf" + - "ig\022\014\n\004name\030\001 \001(\t\022H\n\016valid_versions\030\002 \003(\013" + - "20.google.cloud.gkemulticloud.v1.AwsK8sV" + - "ersionInfo\022\035\n\025supported_aws_regions\030\003 \003(" + - "\t:j\352Ag\n,gkemulticloud.googleapis.com/Aws" + - "ServerConfig\0227projects/{project}/locatio" + - "ns/{location}/awsServerConfig\"\270\001\n\021AwsK8s" + - "VersionInfo\022\017\n\007version\030\001 \001(\t\022\025\n\007enabled\030" + - "\003 \001(\010B\004\342A\001\001\022\031\n\013end_of_life\030\004 \001(\010B\004\342A\001\001\0221" + - "\n\020end_of_life_date\030\005 \001(\0132\021.google.type.D" + - "ateB\004\342A\001\001\022-\n\014release_date\030\006 \001(\0132\021.google" + - ".type.DateB\004\342A\001\001\"*\n\014AwsSshConfig\022\032\n\014ec2_" + - "key_pair\030\001 \001(\tB\004\342A\001\002\"<\n\016AwsProxyConfig\022\022" + - "\n\nsecret_arn\030\001 \001(\t\022\026\n\016secret_version\030\002 \001" + - "(\t\"0\n\023AwsConfigEncryption\022\031\n\013kms_key_arn" + - "\030\001 \001(\tB\004\342A\001\002\"\264\001\n\024AwsInstancePlacement\022R\n" + - "\007tenancy\030\001 \001(\0162;.google.cloud.gkemulticl" + - "oud.v1.AwsInstancePlacement.TenancyB\004\342A\001" + - "\002\"H\n\007Tenancy\022\027\n\023TENANCY_UNSPECIFIED\020\000\022\013\n" + - "\007DEFAULT\020\001\022\r\n\tDEDICATED\020\002\022\010\n\004HOST\020\003\"X\n$A" + - "wsAutoscalingGroupMetricsCollection\022\031\n\013g" + - "ranularity\030\001 \001(\tB\004\342A\001\002\022\025\n\007metrics\030\002 \003(\tB" + - "\004\342A\001\001\"*\n\nSpotConfig\022\034\n\016instance_types\030\001 " + - "\003(\tB\004\342A\001\002\"\"\n\017AwsClusterError\022\017\n\007message\030" + - "\001 \001(\t\"#\n\020AwsNodePoolError\022\017\n\007message\030\001 \001" + - "(\tB\344\001\n!com.google.cloud.gkemulticloud.v1" + - "B\021AwsResourcesProtoP\001ZGcloud.google.com/" + - "go/gkemulticloud/apiv1/gkemulticloudpb;g" + - "kemulticloudpb\252\002\035Google.Cloud.GkeMultiCl" + - "oud.V1\312\002\035Google\\Cloud\\GkeMultiCloud\\V1\352\002" + - " Google::Cloud::GkeMultiCloud::V1b\006proto" + - "3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.gkemulticloud.v1.CommonResourcesProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.type.DateProto.getDescriptor(), - }); - internal_static_google_cloud_gkemulticloud_v1_AwsCluster_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_gkemulticloud_v1_AwsCluster_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsCluster_descriptor, - new java.lang.String[] { "Name", "Description", "Networking", "AwsRegion", "ControlPlane", "Authorization", "State", "Endpoint", "Uid", "Reconciling", "CreateTime", "UpdateTime", "Etag", "Annotations", "WorkloadIdentityConfig", "ClusterCaCertificate", "Fleet", "LoggingConfig", "Errors", "MonitoringConfig", "BinaryAuthorization", }); - internal_static_google_cloud_gkemulticloud_v1_AwsCluster_AnnotationsEntry_descriptor = - internal_static_google_cloud_gkemulticloud_v1_AwsCluster_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_gkemulticloud_v1_AwsCluster_AnnotationsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsCluster_AnnotationsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_descriptor, - new java.lang.String[] { "Version", "InstanceType", "SshConfig", "SubnetIds", "SecurityGroupIds", "IamInstanceProfile", "RootVolume", "MainVolume", "DatabaseEncryption", "Tags", "AwsServicesAuthentication", "ProxyConfig", "ConfigEncryption", "InstancePlacement", }); - internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_TagsEntry_descriptor = - internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_TagsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsControlPlane_TagsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsServicesAuthentication_descriptor, - new java.lang.String[] { "RoleArn", "RoleSessionName", }); - internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsAuthorization_descriptor, - new java.lang.String[] { "AdminUsers", "AdminGroups", }); - internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsClusterUser_descriptor, - new java.lang.String[] { "Username", }); - internal_static_google_cloud_gkemulticloud_v1_AwsClusterGroup_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_gkemulticloud_v1_AwsClusterGroup_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsClusterGroup_descriptor, - new java.lang.String[] { "Group", }); - internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsDatabaseEncryption_descriptor, - new java.lang.String[] { "KmsKeyArn", }); - internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsVolumeTemplate_descriptor, - new java.lang.String[] { "SizeGib", "VolumeType", "Iops", "Throughput", "KmsKeyArn", }); - internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsClusterNetworking_descriptor, - new java.lang.String[] { "VpcId", "PodAddressCidrBlocks", "ServiceAddressCidrBlocks", "PerNodePoolSgRulesDisabled", }); - internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_descriptor, - new java.lang.String[] { "Name", "Version", "Config", "Autoscaling", "SubnetId", "State", "Uid", "Reconciling", "CreateTime", "UpdateTime", "Etag", "Annotations", "MaxPodsConstraint", "Errors", "Management", "UpdateSettings", }); - internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_AnnotationsEntry_descriptor = - internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_AnnotationsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsNodePool_AnnotationsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_gkemulticloud_v1_UpdateSettings_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_gkemulticloud_v1_UpdateSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_UpdateSettings_descriptor, - new java.lang.String[] { "SurgeSettings", }); - internal_static_google_cloud_gkemulticloud_v1_SurgeSettings_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_gkemulticloud_v1_SurgeSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_SurgeSettings_descriptor, - new java.lang.String[] { "MaxSurge", "MaxUnavailable", }); - internal_static_google_cloud_gkemulticloud_v1_AwsNodeManagement_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_gkemulticloud_v1_AwsNodeManagement_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsNodeManagement_descriptor, - new java.lang.String[] { "AutoRepair", }); - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_descriptor, - new java.lang.String[] { "InstanceType", "RootVolume", "Taints", "Labels", "Tags", "IamInstanceProfile", "ImageType", "SshConfig", "SecurityGroupIds", "ProxyConfig", "ConfigEncryption", "InstancePlacement", "AutoscalingMetricsCollection", "SpotConfig", }); - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_LabelsEntry_descriptor = - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_TagsEntry_descriptor = - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_TagsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsNodeConfig_TagsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolAutoscaling_descriptor, - new java.lang.String[] { "MinNodeCount", "MaxNodeCount", }); - internal_static_google_cloud_gkemulticloud_v1_AwsOpenIdConfig_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_gkemulticloud_v1_AwsOpenIdConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsOpenIdConfig_descriptor, - new java.lang.String[] { "Issuer", "JwksUri", "ResponseTypesSupported", "SubjectTypesSupported", "IdTokenSigningAlgValuesSupported", "ClaimsSupported", "GrantTypes", }); - internal_static_google_cloud_gkemulticloud_v1_AwsJsonWebKeys_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_gkemulticloud_v1_AwsJsonWebKeys_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsJsonWebKeys_descriptor, - new java.lang.String[] { "Keys", }); - internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsServerConfig_descriptor, - new java.lang.String[] { "Name", "ValidVersions", "SupportedAwsRegions", }); - internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsK8sVersionInfo_descriptor, - new java.lang.String[] { "Version", "Enabled", "EndOfLife", "EndOfLifeDate", "ReleaseDate", }); - internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsSshConfig_descriptor, - new java.lang.String[] { "Ec2KeyPair", }); - internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsProxyConfig_descriptor, - new java.lang.String[] { "SecretArn", "SecretVersion", }); - internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsConfigEncryption_descriptor, - new java.lang.String[] { "KmsKeyArn", }); - internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsInstancePlacement_descriptor, - new java.lang.String[] { "Tenancy", }); - internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsAutoscalingGroupMetricsCollection_descriptor, - new java.lang.String[] { "Granularity", "Metrics", }); - internal_static_google_cloud_gkemulticloud_v1_SpotConfig_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_gkemulticloud_v1_SpotConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_SpotConfig_descriptor, - new java.lang.String[] { "InstanceTypes", }); - internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsClusterError_descriptor, - new java.lang.String[] { "Message", }); - internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AwsNodePoolError_descriptor, - new java.lang.String[] { "Message", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.gkemulticloud.v1.CommonResourcesProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.type.DateProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java deleted file mode 100644 index 41ead70725de..000000000000 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java +++ /dev/null @@ -1,470 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/aws_service.proto - -package com.google.cloud.gkemulticloud.v1; - -public final class AwsServiceProto { - private AwsServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_RollbackAwsNodePoolUpdateRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_RollbackAwsNodePoolUpdateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_GetAwsOpenIdConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_GetAwsOpenIdConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_GetAwsJsonWebKeysRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_GetAwsJsonWebKeysRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n/google/cloud/gkemulticloud/v1/aws_serv" + - "ice.proto\022\035google.cloud.gkemulticloud.v1" + - "\032\034google/api/annotations.proto\032\027google/a" + - "pi/client.proto\032\037google/api/field_behavi" + - "or.proto\032\031google/api/resource.proto\0321goo" + - "gle/cloud/gkemulticloud/v1/aws_resources" + - ".proto\0324google/cloud/gkemulticloud/v1/co" + - "mmon_resources.proto\032#google/longrunning" + - "/operations.proto\032\033google/protobuf/empty" + - ".proto\032 google/protobuf/field_mask.proto" + - "\032\037google/protobuf/timestamp.proto\"\326\001\n\027Cr" + - "eateAwsClusterRequest\022@\n\006parent\030\001 \001(\tB0\342" + - "A\001\002\372A)\022\'gkemulticloud.googleapis.com/Aws" + - "Cluster\022D\n\013aws_cluster\030\002 \001(\0132).google.cl" + - "oud.gkemulticloud.v1.AwsClusterB\004\342A\001\002\022\034\n" + - "\016aws_cluster_id\030\003 \001(\tB\004\342A\001\002\022\025\n\rvalidate_" + - "only\030\004 \001(\010\"\255\001\n\027UpdateAwsClusterRequest\022D" + - "\n\013aws_cluster\030\001 \001(\0132).google.cloud.gkemu" + - "lticloud.v1.AwsClusterB\004\342A\001\002\022\025\n\rvalidate" + - "_only\030\002 \001(\010\0225\n\013update_mask\030\004 \001(\0132\032.googl" + - "e.protobuf.FieldMaskB\004\342A\001\002\"V\n\024GetAwsClus" + - "terRequest\022>\n\004name\030\001 \001(\tB0\342A\001\002\372A)\n\'gkemu" + - "lticloud.googleapis.com/AwsCluster\"\201\001\n\026L" + - "istAwsClustersRequest\022@\n\006parent\030\001 \001(\tB0\342" + - "A\001\002\372A)\022\'gkemulticloud.googleapis.com/Aws" + - "Cluster\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token" + - "\030\003 \001(\t\"s\n\027ListAwsClustersResponse\022?\n\014aws" + - "_clusters\030\001 \003(\0132).google.cloud.gkemultic" + - "loud.v1.AwsCluster\022\027\n\017next_page_token\030\002 " + - "\001(\t\"\262\001\n\027DeleteAwsClusterRequest\022>\n\004name\030" + - "\001 \001(\tB0\342A\001\002\372A)\n\'gkemulticloud.googleapis" + - ".com/AwsCluster\022\025\n\rvalidate_only\030\002 \001(\010\022\025" + - "\n\rallow_missing\030\003 \001(\010\022\033\n\rignore_errors\030\005" + - " \001(\010B\004\342A\001\001\022\014\n\004etag\030\004 \001(\t\"\335\001\n\030CreateAwsNo" + - "dePoolRequest\022A\n\006parent\030\001 \001(\tB1\342A\001\002\372A*\022(" + - "gkemulticloud.googleapis.com/AwsNodePool" + - "\022G\n\raws_node_pool\030\002 \001(\0132*.google.cloud.g" + - "kemulticloud.v1.AwsNodePoolB\004\342A\001\002\022\036\n\020aws" + - "_node_pool_id\030\003 \001(\tB\004\342A\001\002\022\025\n\rvalidate_on" + - "ly\030\004 \001(\010\"\261\001\n\030UpdateAwsNodePoolRequest\022G\n" + - "\raws_node_pool\030\001 \001(\0132*.google.cloud.gkem" + - "ulticloud.v1.AwsNodePoolB\004\342A\001\002\022\025\n\rvalida" + - "te_only\030\002 \001(\010\0225\n\013update_mask\030\003 \001(\0132\032.goo" + - "gle.protobuf.FieldMaskB\004\342A\001\002\"~\n Rollback" + - "AwsNodePoolUpdateRequest\022?\n\004name\030\001 \001(\tB1" + - "\342A\001\002\372A*\n(gkemulticloud.googleapis.com/Aw" + - "sNodePool\022\031\n\013respect_pdb\030\002 \001(\010B\004\342A\001\001\"X\n\025" + - "GetAwsNodePoolRequest\022?\n\004name\030\001 \001(\tB1\342A\001" + - "\002\372A*\n(gkemulticloud.googleapis.com/AwsNo" + - "dePool\"\203\001\n\027ListAwsNodePoolsRequest\022A\n\006pa" + - "rent\030\001 \001(\tB1\342A\001\002\372A*\022(gkemulticloud.googl" + - "eapis.com/AwsNodePool\022\021\n\tpage_size\030\002 \001(\005" + - "\022\022\n\npage_token\030\003 \001(\t\"w\n\030ListAwsNodePools" + - "Response\022B\n\016aws_node_pools\030\001 \003(\0132*.googl" + - "e.cloud.gkemulticloud.v1.AwsNodePool\022\027\n\017" + - "next_page_token\030\002 \001(\t\"\264\001\n\030DeleteAwsNodeP" + - "oolRequest\022?\n\004name\030\001 \001(\tB1\342A\001\002\372A*\n(gkemu" + - "lticloud.googleapis.com/AwsNodePool\022\025\n\rv" + - "alidate_only\030\002 \001(\010\022\025\n\rallow_missing\030\003 \001(" + - "\010\022\033\n\rignore_errors\030\005 \001(\010B\004\342A\001\001\022\014\n\004etag\030\004" + - " \001(\t\"b\n\031GetAwsOpenIdConfigRequest\022E\n\013aws" + - "_cluster\030\001 \001(\tB0\342A\001\002\372A)\n\'gkemulticloud.g" + - "oogleapis.com/AwsCluster\"a\n\030GetAwsJsonWe" + - "bKeysRequest\022E\n\013aws_cluster\030\001 \001(\tB0\342A\001\002\372" + - "A)\n\'gkemulticloud.googleapis.com/AwsClus" + - "ter\"`\n\031GetAwsServerConfigRequest\022C\n\004name" + - "\030\001 \001(\tB5\342A\001\002\372A.\n,gkemulticloud.googleapi" + - "s.com/AwsServerConfig\"f\n\035GenerateAwsAcce" + - "ssTokenRequest\022E\n\013aws_cluster\030\001 \001(\tB0\342A\001" + - "\002\372A)\n\'gkemulticloud.googleapis.com/AwsCl" + - "uster\"w\n\036GenerateAwsAccessTokenResponse\022" + - "\032\n\014access_token\030\001 \001(\tB\004\342A\001\003\0229\n\017expiratio" + - "n_time\030\002 \001(\0132\032.google.protobuf.Timestamp" + - "B\004\342A\001\003\"\340\002\n#GenerateAwsClusterAgentTokenR" + - "equest\022E\n\013aws_cluster\030\001 \001(\tB0\342A\001\002\372A)\n\'gk" + - "emulticloud.googleapis.com/AwsCluster\022\033\n" + - "\rsubject_token\030\002 \001(\tB\004\342A\001\002\022 \n\022subject_to" + - "ken_type\030\003 \001(\tB\004\342A\001\002\022\025\n\007version\030\004 \001(\tB\004\342" + - "A\001\002\022\032\n\014node_pool_id\030\005 \001(\tB\004\342A\001\001\022\030\n\ngrant" + - "_type\030\006 \001(\tB\004\342A\001\001\022\026\n\010audience\030\007 \001(\tB\004\342A\001" + - "\001\022\023\n\005scope\030\010 \001(\tB\004\342A\001\001\022\"\n\024requested_toke" + - "n_type\030\t \001(\tB\004\342A\001\001\022\025\n\007options\030\n \001(\tB\004\342A\001" + - "\001\"d\n$GenerateAwsClusterAgentTokenRespons" + - "e\022\024\n\014access_token\030\001 \001(\t\022\022\n\nexpires_in\030\002 " + - "\001(\005\022\022\n\ntoken_type\030\003 \001(\t2\251\035\n\013AwsClusters\022" + - "\366\001\n\020CreateAwsCluster\0226.google.cloud.gkem" + - "ulticloud.v1.CreateAwsClusterRequest\032\035.g" + - "oogle.longrunning.Operation\"\212\001\312A\037\n\nAwsCl" + - "uster\022\021OperationMetadata\332A!parent,aws_cl" + - "uster,aws_cluster_id\202\323\344\223\002>\"//v1/{parent=" + - "projects/*/locations/*}/awsClusters:\013aws" + - "_cluster\022\370\001\n\020UpdateAwsCluster\0226.google.c" + - "loud.gkemulticloud.v1.UpdateAwsClusterRe" + - "quest\032\035.google.longrunning.Operation\"\214\001\312" + - "A\037\n\nAwsCluster\022\021OperationMetadata\332A\027aws_" + - "cluster,update_mask\202\323\344\223\002J2;/v1/{aws_clus" + - "ter.name=projects/*/locations/*/awsClust" + - "ers/*}:\013aws_cluster\022\257\001\n\rGetAwsCluster\0223." + - "google.cloud.gkemulticloud.v1.GetAwsClus" + - "terRequest\032).google.cloud.gkemulticloud." + - "v1.AwsCluster\">\332A\004name\202\323\344\223\0021\022//v1/{name=" + - "projects/*/locations/*/awsClusters/*}\022\302\001" + - "\n\017ListAwsClusters\0225.google.cloud.gkemult" + - "icloud.v1.ListAwsClustersRequest\0326.googl" + - "e.cloud.gkemulticloud.v1.ListAwsClusters" + - "Response\"@\332A\006parent\202\323\344\223\0021\022//v1/{parent=p" + - "rojects/*/locations/*}/awsClusters\022\326\001\n\020D" + - "eleteAwsCluster\0226.google.cloud.gkemultic" + - "loud.v1.DeleteAwsClusterRequest\032\035.google" + - ".longrunning.Operation\"k\312A*\n\025google.prot" + - "obuf.Empty\022\021OperationMetadata\332A\004name\202\323\344\223" + - "\0021*//v1/{name=projects/*/locations/*/aws" + - "Clusters/*}\022\207\002\n\034GenerateAwsClusterAgentT" + - "oken\022B.google.cloud.gkemulticloud.v1.Gen" + - "erateAwsClusterAgentTokenRequest\032C.googl" + - "e.cloud.gkemulticloud.v1.GenerateAwsClus" + - "terAgentTokenResponse\"^\202\323\344\223\002X\"S/v1/{aws_" + - "cluster=projects/*/locations/*/awsCluste" + - "rs/*}:generateAwsClusterAgentToken:\001*\022\354\001" + - "\n\026GenerateAwsAccessToken\022<.google.cloud." + - "gkemulticloud.v1.GenerateAwsAccessTokenR" + - "equest\032=.google.cloud.gkemulticloud.v1.G" + - "enerateAwsAccessTokenResponse\"U\202\323\344\223\002O\022M/" + - "v1/{aws_cluster=projects/*/locations/*/a" + - "wsClusters/*}:generateAwsAccessToken\022\216\002\n" + - "\021CreateAwsNodePool\0227.google.cloud.gkemul" + - "ticloud.v1.CreateAwsNodePoolRequest\032\035.go" + - "ogle.longrunning.Operation\"\240\001\312A \n\013AwsNod" + - "ePool\022\021OperationMetadata\332A%parent,aws_no" + - "de_pool,aws_node_pool_id\202\323\344\223\002O\">/v1/{par" + - "ent=projects/*/locations/*/awsClusters/*" + - "}/awsNodePools:\raws_node_pool\022\220\002\n\021Update" + - "AwsNodePool\0227.google.cloud.gkemulticloud" + - ".v1.UpdateAwsNodePoolRequest\032\035.google.lo" + - "ngrunning.Operation\"\242\001\312A \n\013AwsNodePool\022\021" + - "OperationMetadata\332A\031aws_node_pool,update" + - "_mask\202\323\344\223\002]2L/v1/{aws_node_pool.name=pro" + - "jects/*/locations/*/awsClusters/*/awsNod" + - "ePools/*}:\raws_node_pool\022\371\001\n\031RollbackAws" + - "NodePoolUpdate\022?.google.cloud.gkemulticl" + - "oud.v1.RollbackAwsNodePoolUpdateRequest\032" + - "\035.google.longrunning.Operation\"|\312A \n\013Aws" + - "NodePool\022\021OperationMetadata\332A\004name\202\323\344\223\002L" + - "\"G/v1/{name=projects/*/locations/*/awsCl" + - "usters/*/awsNodePools/*}:rollback:\001*\022\301\001\n" + - "\016GetAwsNodePool\0224.google.cloud.gkemultic" + - "loud.v1.GetAwsNodePoolRequest\032*.google.c" + - "loud.gkemulticloud.v1.AwsNodePool\"M\332A\004na" + - "me\202\323\344\223\002@\022>/v1/{name=projects/*/locations" + - "/*/awsClusters/*/awsNodePools/*}\022\324\001\n\020Lis" + - "tAwsNodePools\0226.google.cloud.gkemulticlo" + - "ud.v1.ListAwsNodePoolsRequest\0327.google.c" + - "loud.gkemulticloud.v1.ListAwsNodePoolsRe" + - "sponse\"O\332A\006parent\202\323\344\223\002@\022>/v1/{parent=pro" + - "jects/*/locations/*/awsClusters/*}/awsNo" + - "dePools\022\347\001\n\021DeleteAwsNodePool\0227.google.c" + - "loud.gkemulticloud.v1.DeleteAwsNodePoolR" + - "equest\032\035.google.longrunning.Operation\"z\312" + - "A*\n\025google.protobuf.Empty\022\021OperationMeta" + - "data\332A\004name\202\323\344\223\002@*>/v1/{name=projects/*/" + - "locations/*/awsClusters/*/awsNodePools/*" + - "}\022\337\001\n\022GetAwsOpenIdConfig\0228.google.cloud." + - "gkemulticloud.v1.GetAwsOpenIdConfigReque" + - "st\032..google.cloud.gkemulticloud.v1.AwsOp" + - "enIdConfig\"_\202\323\344\223\002Y\022W/v1/{aws_cluster=pro" + - "jects/*/locations/*/awsClusters/*}/.well" + - "-known/openid-configuration\022\300\001\n\021GetAwsJs" + - "onWebKeys\0227.google.cloud.gkemulticloud.v" + - "1.GetAwsJsonWebKeysRequest\032-.google.clou" + - "d.gkemulticloud.v1.AwsJsonWebKeys\"C\202\323\344\223\002" + - "=\022;/v1/{aws_cluster=projects/*/locations" + - "/*/awsClusters/*}/jwks\022\300\001\n\022GetAwsServerC" + - "onfig\0228.google.cloud.gkemulticloud.v1.Ge" + - "tAwsServerConfigRequest\032..google.cloud.g" + - "kemulticloud.v1.AwsServerConfig\"@\332A\004name" + - "\202\323\344\223\0023\0221/v1/{name=projects/*/locations/*" + - "/awsServerConfig}\032P\312A\034gkemulticloud.goog" + - "leapis.com\322A.https://www.googleapis.com/" + - "auth/cloud-platformB\342\001\n!com.google.cloud" + - ".gkemulticloud.v1B\017AwsServiceProtoP\001ZGcl" + - "oud.google.com/go/gkemulticloud/apiv1/gk" + - "emulticloudpb;gkemulticloudpb\252\002\035Google.C" + - "loud.GkeMultiCloud.V1\312\002\035Google\\Cloud\\Gke" + - "MultiCloud\\V1\352\002 Google::Cloud::GkeMultiC" + - "loud::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.gkemulticloud.v1.AwsResourcesProto.getDescriptor(), - com.google.cloud.gkemulticloud.v1.CommonResourcesProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_CreateAwsClusterRequest_descriptor, - new java.lang.String[] { "Parent", "AwsCluster", "AwsClusterId", "ValidateOnly", }); - internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_UpdateAwsClusterRequest_descriptor, - new java.lang.String[] { "AwsCluster", "ValidateOnly", "UpdateMask", }); - internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_GetAwsClusterRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_ListAwsClustersResponse_descriptor, - new java.lang.String[] { "AwsClusters", "NextPageToken", }); - internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_DeleteAwsClusterRequest_descriptor, - new java.lang.String[] { "Name", "ValidateOnly", "AllowMissing", "IgnoreErrors", "Etag", }); - internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_CreateAwsNodePoolRequest_descriptor, - new java.lang.String[] { "Parent", "AwsNodePool", "AwsNodePoolId", "ValidateOnly", }); - internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_UpdateAwsNodePoolRequest_descriptor, - new java.lang.String[] { "AwsNodePool", "ValidateOnly", "UpdateMask", }); - internal_static_google_cloud_gkemulticloud_v1_RollbackAwsNodePoolUpdateRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_gkemulticloud_v1_RollbackAwsNodePoolUpdateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_RollbackAwsNodePoolUpdateRequest_descriptor, - new java.lang.String[] { "Name", "RespectPdb", }); - internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_GetAwsNodePoolRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_ListAwsNodePoolsResponse_descriptor, - new java.lang.String[] { "AwsNodePools", "NextPageToken", }); - internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_DeleteAwsNodePoolRequest_descriptor, - new java.lang.String[] { "Name", "ValidateOnly", "AllowMissing", "IgnoreErrors", "Etag", }); - internal_static_google_cloud_gkemulticloud_v1_GetAwsOpenIdConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_gkemulticloud_v1_GetAwsOpenIdConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_GetAwsOpenIdConfigRequest_descriptor, - new java.lang.String[] { "AwsCluster", }); - internal_static_google_cloud_gkemulticloud_v1_GetAwsJsonWebKeysRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_gkemulticloud_v1_GetAwsJsonWebKeysRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_GetAwsJsonWebKeysRequest_descriptor, - new java.lang.String[] { "AwsCluster", }); - internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_GetAwsServerConfigRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenRequest_descriptor, - new java.lang.String[] { "AwsCluster", }); - internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_GenerateAwsAccessTokenResponse_descriptor, - new java.lang.String[] { "AccessToken", "ExpirationTime", }); - internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenRequest_descriptor, - new java.lang.String[] { "AwsCluster", "SubjectToken", "SubjectTokenType", "Version", "NodePoolId", "GrantType", "Audience", "Scope", "RequestedTokenType", "Options", }); - internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenResponse_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_GenerateAwsClusterAgentTokenResponse_descriptor, - new java.lang.String[] { "AccessToken", "ExpiresIn", "TokenType", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.gkemulticloud.v1.AwsResourcesProto.getDescriptor(); - com.google.cloud.gkemulticloud.v1.CommonResourcesProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterErrorOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterErrorOrBuilder.java deleted file mode 100644 index 5efdc0c2ec83..000000000000 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterErrorOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/azure_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public interface AzureClusterErrorOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureClusterError) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Human-friendly description of the error.
-   * 
- * - * string message = 1; - * @return The message. - */ - java.lang.String getMessage(); - /** - *
-   * Human-friendly description of the error.
-   * 
- * - * string message = 1; - * @return The bytes for message. - */ - com.google.protobuf.ByteString - getMessageBytes(); -} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplateOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplateOrBuilder.java deleted file mode 100644 index 41e47e64892f..000000000000 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureDiskTemplateOrBuilder.java +++ /dev/null @@ -1,22 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/azure_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public interface AzureDiskTemplateOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureDiskTemplate) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Optional. The size of the disk, in GiBs.
-   *
-   * When unspecified, a default value is provided. See the specific reference
-   * in the parent resource.
-   * 
- * - * int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return The sizeGib. - */ - int getSizeGib(); -} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolErrorOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolErrorOrBuilder.java deleted file mode 100644 index 8f6b9beb03ea..000000000000 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureNodePoolErrorOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/azure_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public interface AzureNodePoolErrorOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureNodePoolError) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Human-friendly description of the error.
-   * 
- * - * string message = 1; - * @return The message. - */ - java.lang.String getMessage(); - /** - *
-   * Human-friendly description of the error.
-   * 
- * - * string message = 1; - * @return The bytes for message. - */ - com.google.protobuf.ByteString - getMessageBytes(); -} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java deleted file mode 100644 index c4a89d700c48..000000000000 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java +++ /dev/null @@ -1,575 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/azure_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public final class AzureResourcesProto { - private AzureResourcesProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureCluster_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureCluster_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureCluster_AnnotationsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureCluster_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_TagsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_TagsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureClient_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureClient_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureClient_AnnotationsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureClient_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureClusterGroup_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureClusterGroup_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_AnnotationsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureNodeManagement_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureNodeManagement_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_TagsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_TagsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureOpenIdConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureOpenIdConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureJsonWebKeys_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureJsonWebKeys_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n3google/cloud/gkemulticloud/v1/azure_re" + - "sources.proto\022\035google.cloud.gkemulticlou" + - "d.v1\032\037google/api/field_behavior.proto\032\031g" + - "oogle/api/resource.proto\0324google/cloud/g" + - "kemulticloud/v1/common_resources.proto\032\037" + - "google/protobuf/timestamp.proto\032\026google/" + - "type/date.proto\"\353\014\n\014AzureCluster\022\014\n\004name" + - "\030\001 \001(\t\022\031\n\013description\030\002 \001(\tB\004\342A\001\001\022\032\n\014azu" + - "re_region\030\003 \001(\tB\004\342A\001\002\022\037\n\021resource_group_" + - "id\030\021 \001(\tB\004\342A\001\002\022\032\n\014azure_client\030\020 \001(\tB\004\342A" + - "\001\001\022O\n\nnetworking\030\004 \001(\01325.google.cloud.gk" + - "emulticloud.v1.AzureClusterNetworkingB\004\342" + - "A\001\002\022M\n\rcontrol_plane\030\005 \001(\01320.google.clou" + - "d.gkemulticloud.v1.AzureControlPlaneB\004\342A" + - "\001\002\022N\n\rauthorization\030\006 \001(\01321.google.cloud" + - ".gkemulticloud.v1.AzureAuthorizationB\004\342A" + - "\001\002\022g\n\035azure_services_authentication\030\026 \001(" + - "\0132:.google.cloud.gkemulticloud.v1.AzureS" + - "ervicesAuthenticationB\004\342A\001\001\022F\n\005state\030\007 \001" + - "(\01621.google.cloud.gkemulticloud.v1.Azure" + - "Cluster.StateB\004\342A\001\003\022\026\n\010endpoint\030\010 \001(\tB\004\342" + - "A\001\003\022\021\n\003uid\030\t \001(\tB\004\342A\001\003\022\031\n\013reconciling\030\n " + - "\001(\010B\004\342A\001\003\0225\n\013create_time\030\013 \001(\0132\032.google." + - "protobuf.TimestampB\004\342A\001\003\0225\n\013update_time\030" + - "\014 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + - "\014\n\004etag\030\r \001(\t\022W\n\013annotations\030\016 \003(\0132<.goo" + - "gle.cloud.gkemulticloud.v1.AzureCluster." + - "AnnotationsEntryB\004\342A\001\001\022]\n\030workload_ident" + - "ity_config\030\022 \001(\01325.google.cloud.gkemulti" + - "cloud.v1.WorkloadIdentityConfigB\004\342A\001\003\022$\n" + - "\026cluster_ca_certificate\030\023 \001(\tB\004\342A\001\003\0229\n\005f" + - "leet\030\024 \001(\0132$.google.cloud.gkemulticloud." + - "v1.FleetB\004\342A\001\002\022U\n\021managed_resources\030\025 \001(" + - "\01324.google.cloud.gkemulticloud.v1.AzureC" + - "lusterResourcesB\004\342A\001\003\022J\n\016logging_config\030" + - "\027 \001(\0132,.google.cloud.gkemulticloud.v1.Lo" + - "ggingConfigB\004\342A\001\001\022F\n\006errors\030\030 \003(\01320.goog" + - "le.cloud.gkemulticloud.v1.AzureClusterEr" + - "rorB\004\342A\001\003\022P\n\021monitoring_config\030\031 \001(\0132/.g" + - "oogle.cloud.gkemulticloud.v1.MonitoringC" + - "onfigB\004\342A\001\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001" + - " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"u\n\005State\022\025\n\021STAT" + - "E_UNSPECIFIED\020\000\022\020\n\014PROVISIONING\020\001\022\013\n\007RUN" + - "NING\020\002\022\017\n\013RECONCILING\020\003\022\014\n\010STOPPING\020\004\022\t\n" + - "\005ERROR\020\005\022\014\n\010DEGRADED\020\006:u\352Ar\n)gkemulticlo" + - "ud.googleapis.com/AzureCluster\022Eprojects" + - "/{project}/locations/{location}/azureClu" + - "sters/{azure_cluster}\"\273\001\n\026AzureClusterNe" + - "tworking\022 \n\022virtual_network_id\030\001 \001(\tB\004\342A" + - "\001\002\022%\n\027pod_address_cidr_blocks\030\002 \003(\tB\004\342A\001" + - "\002\022)\n\033service_address_cidr_blocks\030\003 \003(\tB\004" + - "\342A\001\002\022-\n\037service_load_balancer_subnet_id\030" + - "\005 \001(\tB\004\342A\001\001\"\256\006\n\021AzureControlPlane\022\025\n\007ver" + - "sion\030\001 \001(\tB\004\342A\001\002\022\027\n\tsubnet_id\030\002 \001(\tB\004\342A\001" + - "\001\022\025\n\007vm_size\030\003 \001(\tB\004\342A\001\001\022G\n\nssh_config\030\013" + - " \001(\0132-.google.cloud.gkemulticloud.v1.Azu" + - "reSshConfigB\004\342A\001\002\022K\n\013root_volume\030\004 \001(\01320" + - ".google.cloud.gkemulticloud.v1.AzureDisk" + - "TemplateB\004\342A\001\001\022K\n\013main_volume\030\005 \001(\01320.go" + - "ogle.cloud.gkemulticloud.v1.AzureDiskTem" + - "plateB\004\342A\001\001\022Y\n\023database_encryption\030\n \001(\013" + - "26.google.cloud.gkemulticloud.v1.AzureDa" + - "tabaseEncryptionB\004\342A\001\001\022K\n\014proxy_config\030\014" + - " \001(\0132/.google.cloud.gkemulticloud.v1.Azu" + - "reProxyConfigB\004\342A\001\001\022U\n\021config_encryption" + - "\030\016 \001(\01324.google.cloud.gkemulticloud.v1.A" + - "zureConfigEncryptionB\004\342A\001\001\022N\n\004tags\030\007 \003(\013" + - "2:.google.cloud.gkemulticloud.v1.AzureCo" + - "ntrolPlane.TagsEntryB\004\342A\001\001\022Q\n\022replica_pl" + - "acements\030\r \003(\0132/.google.cloud.gkemulticl" + - "oud.v1.ReplicaPlacementB\004\342A\001\001\022 \n\022endpoin" + - "t_subnet_id\030\017 \001(\tB\004\342A\001\001\032+\n\tTagsEntry\022\013\n\003" + - "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"R\n\020ReplicaP" + - "lacement\022\027\n\tsubnet_id\030\001 \001(\tB\004\342A\001\002\022%\n\027azu" + - "re_availability_zone\030\002 \001(\tB\004\342A\001\002\"@\n\020Azur" + - "eProxyConfig\022\031\n\021resource_group_id\030\001 \001(\t\022" + - "\021\n\tsecret_id\030\002 \001(\t\"/\n\027AzureDatabaseEncry" + - "ption\022\024\n\006key_id\030\003 \001(\tB\004\342A\001\002\"G\n\025AzureConf" + - "igEncryption\022\024\n\006key_id\030\002 \001(\tB\004\342A\001\002\022\030\n\npu" + - "blic_key\030\003 \001(\tB\004\342A\001\001\"+\n\021AzureDiskTemplat" + - "e\022\026\n\010size_gib\030\001 \001(\005B\004\342A\001\001\"\215\004\n\013AzureClien" + - "t\022\014\n\004name\030\001 \001(\t\022\027\n\ttenant_id\030\002 \001(\tB\004\342A\001\002" + - "\022\034\n\016application_id\030\003 \001(\tB\004\342A\001\002\022\031\n\013reconc" + - "iling\030\t \001(\010B\004\342A\001\003\022V\n\013annotations\030\010 \003(\0132;" + - ".google.cloud.gkemulticloud.v1.AzureClie" + - "nt.AnnotationsEntryB\004\342A\001\001\022\035\n\017pem_certifi" + - "cate\030\007 \001(\tB\004\342A\001\003\022\021\n\003uid\030\005 \001(\tB\004\342A\001\003\0225\n\013c" + - "reate_time\030\006 \001(\0132\032.google.protobuf.Times" + - "tampB\004\342A\001\003\0225\n\013update_time\030\n \001(\0132\032.google" + - ".protobuf.TimestampB\004\342A\001\003\0322\n\020Annotations" + - "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:r\352" + - "Ao\n(gkemulticloud.googleapis.com/AzureCl" + - "ient\022Cprojects/{project}/locations/{loca" + - "tion}/azureClients/{azure_client}\"\256\001\n\022Az" + - "ureAuthorization\022J\n\013admin_users\030\001 \003(\0132/." + - "google.cloud.gkemulticloud.v1.AzureClust" + - "erUserB\004\342A\001\001\022L\n\014admin_groups\030\002 \003(\01320.goo" + - "gle.cloud.gkemulticloud.v1.AzureClusterG" + - "roupB\004\342A\001\001\"T\n\033AzureServicesAuthenticatio" + - "n\022\027\n\ttenant_id\030\001 \001(\tB\004\342A\001\002\022\034\n\016applicatio" + - "n_id\030\002 \001(\tB\004\342A\001\002\"*\n\020AzureClusterUser\022\026\n\010" + - "username\030\001 \001(\tB\004\342A\001\002\"(\n\021AzureClusterGrou" + - "p\022\023\n\005group\030\001 \001(\tB\004\342A\001\002\"\215\t\n\rAzureNodePool" + - "\022\014\n\004name\030\001 \001(\t\022\025\n\007version\030\002 \001(\tB\004\342A\001\002\022D\n" + - "\006config\030\026 \001(\0132..google.cloud.gkemulticlo" + - "ud.v1.AzureNodeConfigB\004\342A\001\002\022\027\n\tsubnet_id" + - "\030\003 \001(\tB\004\342A\001\002\022R\n\013autoscaling\030\004 \001(\01327.goog" + - "le.cloud.gkemulticloud.v1.AzureNodePoolA" + - "utoscalingB\004\342A\001\002\022G\n\005state\030\006 \001(\01622.google" + - ".cloud.gkemulticloud.v1.AzureNodePool.St" + - "ateB\004\342A\001\003\022\021\n\003uid\030\010 \001(\tB\004\342A\001\003\022\031\n\013reconcil" + - "ing\030\t \001(\010B\004\342A\001\003\0225\n\013create_time\030\n \001(\0132\032.g" + - "oogle.protobuf.TimestampB\004\342A\001\003\0225\n\013update" + - "_time\030\013 \001(\0132\032.google.protobuf.TimestampB" + - "\004\342A\001\003\022\014\n\004etag\030\014 \001(\t\022X\n\013annotations\030\r \003(\013" + - "2=.google.cloud.gkemulticloud.v1.AzureNo" + - "dePool.AnnotationsEntryB\004\342A\001\001\022S\n\023max_pod" + - "s_constraint\030\025 \001(\01320.google.cloud.gkemul" + - "ticloud.v1.MaxPodsConstraintB\004\342A\001\002\022%\n\027az" + - "ure_availability_zone\030\027 \001(\tB\004\342A\001\001\022G\n\006err" + - "ors\030\035 \003(\01321.google.cloud.gkemulticloud.v" + - "1.AzureNodePoolErrorB\004\342A\001\003\022L\n\nmanagement" + - "\030\036 \001(\01322.google.cloud.gkemulticloud.v1.A" + - "zureNodeManagementB\004\342A\001\001\0322\n\020AnnotationsE" + - "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"u\n\005" + - "State\022\025\n\021STATE_UNSPECIFIED\020\000\022\020\n\014PROVISIO" + - "NING\020\001\022\013\n\007RUNNING\020\002\022\017\n\013RECONCILING\020\003\022\014\n\010" + - "STOPPING\020\004\022\t\n\005ERROR\020\005\022\014\n\010DEGRADED\020\006:\230\001\352A" + - "\224\001\n*gkemulticloud.googleapis.com/AzureNo" + - "dePool\022fprojects/{project}/locations/{lo" + - "cation}/azureClusters/{azure_cluster}/az" + - "ureNodePools/{azure_node_pool}\"0\n\023AzureN" + - "odeManagement\022\031\n\013auto_repair\030\001 \001(\010B\004\342A\001\001" + - "\"\270\005\n\017AzureNodeConfig\022\025\n\007vm_size\030\001 \001(\tB\004\342" + - "A\001\001\022K\n\013root_volume\030\002 \001(\01320.google.cloud." + - "gkemulticloud.v1.AzureDiskTemplateB\004\342A\001\001" + - "\022L\n\004tags\030\003 \003(\01328.google.cloud.gkemulticl" + - "oud.v1.AzureNodeConfig.TagsEntryB\004\342A\001\001\022\030" + - "\n\nimage_type\030\010 \001(\tB\004\342A\001\001\022G\n\nssh_config\030\007" + - " \001(\0132-.google.cloud.gkemulticloud.v1.Azu" + - "reSshConfigB\004\342A\001\002\022K\n\014proxy_config\030\t \001(\0132" + - "/.google.cloud.gkemulticloud.v1.AzurePro" + - "xyConfigB\004\342A\001\001\022U\n\021config_encryption\030\014 \001(" + - "\01324.google.cloud.gkemulticloud.v1.AzureC" + - "onfigEncryptionB\004\342A\001\001\022>\n\006taints\030\n \003(\0132(." + - "google.cloud.gkemulticloud.v1.NodeTaintB" + - "\004\342A\001\001\022P\n\006labels\030\013 \003(\0132:.google.cloud.gke" + - "multicloud.v1.AzureNodeConfig.LabelsEntr" + - "yB\004\342A\001\001\032+\n\tTagsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" + - "ue\030\002 \001(\t:\0028\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t" + - "\022\r\n\005value\030\002 \001(\t:\0028\001\"V\n\030AzureNodePoolAuto" + - "scaling\022\034\n\016min_node_count\030\001 \001(\005B\004\342A\001\002\022\034\n" + - "\016max_node_count\030\002 \001(\005B\004\342A\001\002\"\326\001\n\021AzureOpe" + - "nIdConfig\022\016\n\006issuer\030\001 \001(\t\022\020\n\010jwks_uri\030\002 " + - "\001(\t\022 \n\030response_types_supported\030\003 \003(\t\022\037\n" + - "\027subject_types_supported\030\004 \003(\t\022-\n%id_tok" + - "en_signing_alg_values_supported\030\005 \003(\t\022\030\n" + - "\020claims_supported\030\006 \003(\t\022\023\n\013grant_types\030\007" + - " \003(\t\"D\n\020AzureJsonWebKeys\0220\n\004keys\030\001 \003(\0132\"" + - ".google.cloud.gkemulticloud.v1.Jwk\"\376\001\n\021A" + - "zureServerConfig\022\014\n\004name\030\001 \001(\t\022J\n\016valid_" + - "versions\030\002 \003(\01322.google.cloud.gkemulticl" + - "oud.v1.AzureK8sVersionInfo\022\037\n\027supported_" + - "azure_regions\030\003 \003(\t:n\352Ak\n.gkemulticloud." + - "googleapis.com/AzureServerConfig\0229projec" + - "ts/{project}/locations/{location}/azureS" + - "erverConfig\"\272\001\n\023AzureK8sVersionInfo\022\017\n\007v" + - "ersion\030\001 \001(\t\022\025\n\007enabled\030\003 \001(\010B\004\342A\001\001\022\031\n\013e" + - "nd_of_life\030\004 \001(\010B\004\342A\001\001\0221\n\020end_of_life_da" + - "te\030\005 \001(\0132\021.google.type.DateB\004\342A\001\001\022-\n\014rel" + - "ease_date\030\006 \001(\0132\021.google.type.DateB\004\342A\001\001" + - "\".\n\016AzureSshConfig\022\034\n\016authorized_key\030\001 \001" + - "(\tB\004\342A\001\002\"{\n\025AzureClusterResources\022\'\n\031net" + - "work_security_group_id\030\001 \001(\tB\004\342A\001\003\0229\n+co" + - "ntrol_plane_application_security_group_i" + - "d\030\002 \001(\tB\004\342A\001\003\"$\n\021AzureClusterError\022\017\n\007me" + - "ssage\030\001 \001(\t\"%\n\022AzureNodePoolError\022\017\n\007mes" + - "sage\030\001 \001(\tB\346\001\n!com.google.cloud.gkemulti" + - "cloud.v1B\023AzureResourcesProtoP\001ZGcloud.g" + - "oogle.com/go/gkemulticloud/apiv1/gkemult" + - "icloudpb;gkemulticloudpb\252\002\035Google.Cloud." + - "GkeMultiCloud.V1\312\002\035Google\\Cloud\\GkeMulti" + - "Cloud\\V1\352\002 Google::Cloud::GkeMultiCloud:" + - ":V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.gkemulticloud.v1.CommonResourcesProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.type.DateProto.getDescriptor(), - }); - internal_static_google_cloud_gkemulticloud_v1_AzureCluster_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_gkemulticloud_v1_AzureCluster_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureCluster_descriptor, - new java.lang.String[] { "Name", "Description", "AzureRegion", "ResourceGroupId", "AzureClient", "Networking", "ControlPlane", "Authorization", "AzureServicesAuthentication", "State", "Endpoint", "Uid", "Reconciling", "CreateTime", "UpdateTime", "Etag", "Annotations", "WorkloadIdentityConfig", "ClusterCaCertificate", "Fleet", "ManagedResources", "LoggingConfig", "Errors", "MonitoringConfig", }); - internal_static_google_cloud_gkemulticloud_v1_AzureCluster_AnnotationsEntry_descriptor = - internal_static_google_cloud_gkemulticloud_v1_AzureCluster_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_gkemulticloud_v1_AzureCluster_AnnotationsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureCluster_AnnotationsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureClusterNetworking_descriptor, - new java.lang.String[] { "VirtualNetworkId", "PodAddressCidrBlocks", "ServiceAddressCidrBlocks", "ServiceLoadBalancerSubnetId", }); - internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_descriptor, - new java.lang.String[] { "Version", "SubnetId", "VmSize", "SshConfig", "RootVolume", "MainVolume", "DatabaseEncryption", "ProxyConfig", "ConfigEncryption", "Tags", "ReplicaPlacements", "EndpointSubnetId", }); - internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_TagsEntry_descriptor = - internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_TagsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureControlPlane_TagsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_ReplicaPlacement_descriptor, - new java.lang.String[] { "SubnetId", "AzureAvailabilityZone", }); - internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureProxyConfig_descriptor, - new java.lang.String[] { "ResourceGroupId", "SecretId", }); - internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureDatabaseEncryption_descriptor, - new java.lang.String[] { "KeyId", }); - internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureConfigEncryption_descriptor, - new java.lang.String[] { "KeyId", "PublicKey", }); - internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureDiskTemplate_descriptor, - new java.lang.String[] { "SizeGib", }); - internal_static_google_cloud_gkemulticloud_v1_AzureClient_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_gkemulticloud_v1_AzureClient_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureClient_descriptor, - new java.lang.String[] { "Name", "TenantId", "ApplicationId", "Reconciling", "Annotations", "PemCertificate", "Uid", "CreateTime", "UpdateTime", }); - internal_static_google_cloud_gkemulticloud_v1_AzureClient_AnnotationsEntry_descriptor = - internal_static_google_cloud_gkemulticloud_v1_AzureClient_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_gkemulticloud_v1_AzureClient_AnnotationsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureClient_AnnotationsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_descriptor, - new java.lang.String[] { "AdminUsers", "AdminGroups", }); - internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_descriptor, - new java.lang.String[] { "TenantId", "ApplicationId", }); - internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_descriptor, - new java.lang.String[] { "Username", }); - internal_static_google_cloud_gkemulticloud_v1_AzureClusterGroup_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_gkemulticloud_v1_AzureClusterGroup_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureClusterGroup_descriptor, - new java.lang.String[] { "Group", }); - internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_descriptor, - new java.lang.String[] { "Name", "Version", "Config", "SubnetId", "Autoscaling", "State", "Uid", "Reconciling", "CreateTime", "UpdateTime", "Etag", "Annotations", "MaxPodsConstraint", "AzureAvailabilityZone", "Errors", "Management", }); - internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_AnnotationsEntry_descriptor = - internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_AnnotationsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_AnnotationsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_gkemulticloud_v1_AzureNodeManagement_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_gkemulticloud_v1_AzureNodeManagement_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureNodeManagement_descriptor, - new java.lang.String[] { "AutoRepair", }); - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor, - new java.lang.String[] { "VmSize", "RootVolume", "Tags", "ImageType", "SshConfig", "ProxyConfig", "ConfigEncryption", "Taints", "Labels", }); - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_TagsEntry_descriptor = - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_TagsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_TagsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_LabelsEntry_descriptor = - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_descriptor, - new java.lang.String[] { "MinNodeCount", "MaxNodeCount", }); - internal_static_google_cloud_gkemulticloud_v1_AzureOpenIdConfig_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_gkemulticloud_v1_AzureOpenIdConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureOpenIdConfig_descriptor, - new java.lang.String[] { "Issuer", "JwksUri", "ResponseTypesSupported", "SubjectTypesSupported", "IdTokenSigningAlgValuesSupported", "ClaimsSupported", "GrantTypes", }); - internal_static_google_cloud_gkemulticloud_v1_AzureJsonWebKeys_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_gkemulticloud_v1_AzureJsonWebKeys_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureJsonWebKeys_descriptor, - new java.lang.String[] { "Keys", }); - internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_descriptor, - new java.lang.String[] { "Name", "ValidVersions", "SupportedAzureRegions", }); - internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_descriptor, - new java.lang.String[] { "Version", "Enabled", "EndOfLife", "EndOfLifeDate", "ReleaseDate", }); - internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_descriptor, - new java.lang.String[] { "AuthorizedKey", }); - internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_descriptor, - new java.lang.String[] { "NetworkSecurityGroupId", "ControlPlaneApplicationSecurityGroupId", }); - internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_descriptor, - new java.lang.String[] { "Message", }); - internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_descriptor, - new java.lang.String[] { "Message", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.gkemulticloud.v1.CommonResourcesProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.type.DateProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java deleted file mode 100644 index 61931bf4636d..000000000000 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java +++ /dev/null @@ -1,550 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/azure_service.proto - -package com.google.cloud.gkemulticloud.v1; - -public final class AzureServiceProto { - private AzureServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_GetAzureOpenIdConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_GetAzureOpenIdConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_GetAzureJsonWebKeysRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_GetAzureJsonWebKeysRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n1google/cloud/gkemulticloud/v1/azure_se" + - "rvice.proto\022\035google.cloud.gkemulticloud." + - "v1\032\034google/api/annotations.proto\032\027google" + - "/api/client.proto\032\037google/api/field_beha" + - "vior.proto\032\031google/api/resource.proto\0323g" + - "oogle/cloud/gkemulticloud/v1/azure_resou" + - "rces.proto\0324google/cloud/gkemulticloud/v" + - "1/common_resources.proto\032#google/longrun" + - "ning/operations.proto\032\033google/protobuf/e" + - "mpty.proto\032 google/protobuf/field_mask.p" + - "roto\032\037google/protobuf/timestamp.proto\"\340\001" + - "\n\031CreateAzureClusterRequest\022B\n\006parent\030\001 " + - "\001(\tB2\342A\001\002\372A+\022)gkemulticloud.googleapis.c" + - "om/AzureCluster\022H\n\razure_cluster\030\002 \001(\0132+" + - ".google.cloud.gkemulticloud.v1.AzureClus" + - "terB\004\342A\001\002\022\036\n\020azure_cluster_id\030\003 \001(\tB\004\342A\001" + - "\002\022\025\n\rvalidate_only\030\004 \001(\010\"\263\001\n\031UpdateAzure" + - "ClusterRequest\022H\n\razure_cluster\030\001 \001(\0132+." + - "google.cloud.gkemulticloud.v1.AzureClust" + - "erB\004\342A\001\002\022\025\n\rvalidate_only\030\002 \001(\010\0225\n\013updat" + - "e_mask\030\004 \001(\0132\032.google.protobuf.FieldMask" + - "B\004\342A\001\002\"Z\n\026GetAzureClusterRequest\022@\n\004name" + - "\030\001 \001(\tB2\342A\001\002\372A+\n)gkemulticloud.googleapi" + - "s.com/AzureCluster\"\205\001\n\030ListAzureClusters" + - "Request\022B\n\006parent\030\001 \001(\tB2\342A\001\002\372A+\022)gkemul" + - "ticloud.googleapis.com/AzureCluster\022\021\n\tp" + - "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"y\n\031Li" + - "stAzureClustersResponse\022C\n\016azure_cluster" + - "s\030\001 \003(\0132+.google.cloud.gkemulticloud.v1." + - "AzureCluster\022\027\n\017next_page_token\030\002 \001(\t\"\231\001" + - "\n\031DeleteAzureClusterRequest\022@\n\004name\030\001 \001(" + - "\tB2\342A\001\002\372A+\n)gkemulticloud.googleapis.com" + - "/AzureCluster\022\025\n\rallow_missing\030\002 \001(\010\022\025\n\r" + - "validate_only\030\003 \001(\010\022\014\n\004etag\030\004 \001(\t\"\347\001\n\032Cr" + - "eateAzureNodePoolRequest\022C\n\006parent\030\001 \001(\t" + - "B3\342A\001\002\372A,\022*gkemulticloud.googleapis.com/" + - "AzureNodePool\022K\n\017azure_node_pool\030\002 \001(\0132," + - ".google.cloud.gkemulticloud.v1.AzureNode" + - "PoolB\004\342A\001\002\022 \n\022azure_node_pool_id\030\003 \001(\tB\004" + - "\342A\001\002\022\025\n\rvalidate_only\030\004 \001(\010\"\267\001\n\032UpdateAz" + - "ureNodePoolRequest\022K\n\017azure_node_pool\030\001 " + - "\001(\0132,.google.cloud.gkemulticloud.v1.Azur" + - "eNodePoolB\004\342A\001\002\022\025\n\rvalidate_only\030\002 \001(\010\0225" + - "\n\013update_mask\030\003 \001(\0132\032.google.protobuf.Fi" + - "eldMaskB\004\342A\001\002\"\\\n\027GetAzureNodePoolRequest" + - "\022A\n\004name\030\001 \001(\tB3\342A\001\002\372A,\n*gkemulticloud.g" + - "oogleapis.com/AzureNodePool\"\207\001\n\031ListAzur" + - "eNodePoolsRequest\022C\n\006parent\030\001 \001(\tB3\342A\001\002\372" + - "A,\022*gkemulticloud.googleapis.com/AzureNo" + - "dePool\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030" + - "\003 \001(\t\"}\n\032ListAzureNodePoolsResponse\022F\n\020a" + - "zure_node_pools\030\001 \003(\0132,.google.cloud.gke" + - "multicloud.v1.AzureNodePool\022\027\n\017next_page" + - "_token\030\002 \001(\t\"\233\001\n\032DeleteAzureNodePoolRequ" + - "est\022A\n\004name\030\001 \001(\tB3\342A\001\002\372A,\n*gkemulticlou" + - "d.googleapis.com/AzureNodePool\022\025\n\rvalida" + - "te_only\030\002 \001(\010\022\025\n\rallow_missing\030\003 \001(\010\022\014\n\004" + - "etag\030\004 \001(\t\"h\n\033GetAzureOpenIdConfigReques" + - "t\022I\n\razure_cluster\030\001 \001(\tB2\342A\001\002\372A+\n)gkemu" + - "lticloud.googleapis.com/AzureCluster\"g\n\032" + - "GetAzureJsonWebKeysRequest\022I\n\razure_clus" + - "ter\030\001 \001(\tB2\342A\001\002\372A+\n)gkemulticloud.google" + - "apis.com/AzureCluster\"d\n\033GetAzureServerC" + - "onfigRequest\022E\n\004name\030\001 \001(\tB7\342A\001\002\372A0\n.gke" + - "multicloud.googleapis.com/AzureServerCon" + - "fig\"\333\001\n\030CreateAzureClientRequest\022A\n\006pare" + - "nt\030\001 \001(\tB1\342A\001\002\372A*\022(gkemulticloud.googlea" + - "pis.com/AzureClient\022F\n\014azure_client\030\002 \001(" + - "\0132*.google.cloud.gkemulticloud.v1.AzureC" + - "lientB\004\342A\001\002\022\035\n\017azure_client_id\030\004 \001(\tB\004\342A" + - "\001\002\022\025\n\rvalidate_only\030\003 \001(\010\"X\n\025GetAzureCli" + - "entRequest\022?\n\004name\030\001 \001(\tB1\342A\001\002\372A*\n(gkemu" + - "lticloud.googleapis.com/AzureClient\"\203\001\n\027" + - "ListAzureClientsRequest\022A\n\006parent\030\001 \001(\tB" + - "1\342A\001\002\372A*\022(gkemulticloud.googleapis.com/A" + - "zureClient\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" + - "ken\030\003 \001(\t\"v\n\030ListAzureClientsResponse\022A\n" + - "\razure_clients\030\001 \003(\0132*.google.cloud.gkem" + - "ulticloud.v1.AzureClient\022\027\n\017next_page_to" + - "ken\030\002 \001(\t\"\211\001\n\030DeleteAzureClientRequest\022?" + - "\n\004name\030\001 \001(\tB1\342A\001\002\372A*\n(gkemulticloud.goo" + - "gleapis.com/AzureClient\022\025\n\rallow_missing" + - "\030\002 \001(\010\022\025\n\rvalidate_only\030\003 \001(\010\"l\n\037Generat" + - "eAzureAccessTokenRequest\022I\n\razure_cluste" + - "r\030\001 \001(\tB2\342A\001\002\372A+\n)gkemulticloud.googleap" + - "is.com/AzureCluster\"y\n GenerateAzureAcce" + - "ssTokenResponse\022\032\n\014access_token\030\001 \001(\tB\004\342" + - "A\001\003\0229\n\017expiration_time\030\002 \001(\0132\032.google.pr" + - "otobuf.TimestampB\004\342A\001\003\"\346\002\n%GenerateAzure" + - "ClusterAgentTokenRequest\022I\n\razure_cluste" + - "r\030\001 \001(\tB2\342A\001\002\372A+\n)gkemulticloud.googleap" + - "is.com/AzureCluster\022\033\n\rsubject_token\030\002 \001" + - "(\tB\004\342A\001\002\022 \n\022subject_token_type\030\003 \001(\tB\004\342A" + - "\001\002\022\025\n\007version\030\004 \001(\tB\004\342A\001\002\022\032\n\014node_pool_i" + - "d\030\005 \001(\tB\004\342A\001\001\022\030\n\ngrant_type\030\006 \001(\tB\004\342A\001\001\022" + - "\026\n\010audience\030\007 \001(\tB\004\342A\001\001\022\023\n\005scope\030\010 \001(\tB\004" + - "\342A\001\001\022\"\n\024requested_token_type\030\t \001(\tB\004\342A\001\001" + - "\022\025\n\007options\030\n \001(\tB\004\342A\001\001\"f\n&GenerateAzure" + - "ClusterAgentTokenResponse\022\024\n\014access_toke" + - "n\030\001 \001(\t\022\022\n\nexpires_in\030\002 \001(\005\022\022\n\ntoken_typ" + - "e\030\003 \001(\t2\314#\n\rAzureClusters\022\375\001\n\021CreateAzur" + - "eClient\0227.google.cloud.gkemulticloud.v1." + - "CreateAzureClientRequest\032\035.google.longru" + - "nning.Operation\"\217\001\312A \n\013AzureClient\022\021Oper" + - "ationMetadata\332A#parent,azure_client,azur" + - "e_client_id\202\323\344\223\002@\"0/v1/{parent=projects/" + - "*/locations/*}/azureClients:\014azure_clien" + - "t\022\263\001\n\016GetAzureClient\0224.google.cloud.gkem" + - "ulticloud.v1.GetAzureClientRequest\032*.goo" + - "gle.cloud.gkemulticloud.v1.AzureClient\"?" + - "\332A\004name\202\323\344\223\0022\0220/v1/{name=projects/*/loca" + - "tions/*/azureClients/*}\022\306\001\n\020ListAzureCli" + - "ents\0226.google.cloud.gkemulticloud.v1.Lis" + - "tAzureClientsRequest\0327.google.cloud.gkem" + - "ulticloud.v1.ListAzureClientsResponse\"A\332" + - "A\006parent\202\323\344\223\0022\0220/v1/{parent=projects/*/l" + - "ocations/*}/azureClients\022\331\001\n\021DeleteAzure" + - "Client\0227.google.cloud.gkemulticloud.v1.D" + - "eleteAzureClientRequest\032\035.google.longrun" + - "ning.Operation\"l\312A*\n\025google.protobuf.Emp" + - "ty\022\021OperationMetadata\332A\004name\202\323\344\223\0022*0/v1/" + - "{name=projects/*/locations/*/azureClient" + - "s/*}\022\204\002\n\022CreateAzureCluster\0228.google.clo" + - "ud.gkemulticloud.v1.CreateAzureClusterRe" + - "quest\032\035.google.longrunning.Operation\"\224\001\312" + - "A!\n\014AzureCluster\022\021OperationMetadata\332A%pa" + - "rent,azure_cluster,azure_cluster_id\202\323\344\223\002" + - "B\"1/v1/{parent=projects/*/locations/*}/a" + - "zureClusters:\razure_cluster\022\206\002\n\022UpdateAz" + - "ureCluster\0228.google.cloud.gkemulticloud." + - "v1.UpdateAzureClusterRequest\032\035.google.lo" + - "ngrunning.Operation\"\226\001\312A!\n\014AzureCluster\022" + - "\021OperationMetadata\332A\031azure_cluster,updat" + - "e_mask\202\323\344\223\002P2?/v1/{azure_cluster.name=pr" + - "ojects/*/locations/*/azureClusters/*}:\ra" + - "zure_cluster\022\267\001\n\017GetAzureCluster\0225.googl" + - "e.cloud.gkemulticloud.v1.GetAzureCluster" + - "Request\032+.google.cloud.gkemulticloud.v1." + - "AzureCluster\"@\332A\004name\202\323\344\223\0023\0221/v1/{name=p" + - "rojects/*/locations/*/azureClusters/*}\022\312" + - "\001\n\021ListAzureClusters\0227.google.cloud.gkem" + - "ulticloud.v1.ListAzureClustersRequest\0328." + - "google.cloud.gkemulticloud.v1.ListAzureC" + - "lustersResponse\"B\332A\006parent\202\323\344\223\0023\0221/v1/{p" + - "arent=projects/*/locations/*}/azureClust" + - "ers\022\334\001\n\022DeleteAzureCluster\0228.google.clou" + - "d.gkemulticloud.v1.DeleteAzureClusterReq" + - "uest\032\035.google.longrunning.Operation\"m\312A*" + - "\n\025google.protobuf.Empty\022\021OperationMetada" + - "ta\332A\004name\202\323\344\223\0023*1/v1/{name=projects/*/lo" + - "cations/*/azureClusters/*}\022\223\002\n\036GenerateA" + - "zureClusterAgentToken\022D.google.cloud.gke" + - "multicloud.v1.GenerateAzureClusterAgentT" + - "okenRequest\032E.google.cloud.gkemulticloud" + - ".v1.GenerateAzureClusterAgentTokenRespon" + - "se\"d\202\323\344\223\002^\"Y/v1/{azure_cluster=projects/" + - "*/locations/*/azureClusters/*}:generateA" + - "zureClusterAgentToken:\001*\022\370\001\n\030GenerateAzu" + - "reAccessToken\022>.google.cloud.gkemulticlo" + - "ud.v1.GenerateAzureAccessTokenRequest\032?." + - "google.cloud.gkemulticloud.v1.GenerateAz" + - "ureAccessTokenResponse\"[\202\323\344\223\002U\022S/v1/{azu" + - "re_cluster=projects/*/locations/*/azureC" + - "lusters/*}:generateAzureAccessToken\022\236\002\n\023" + - "CreateAzureNodePool\0229.google.cloud.gkemu" + - "lticloud.v1.CreateAzureNodePoolRequest\032\035" + - ".google.longrunning.Operation\"\254\001\312A\"\n\rAzu" + - "reNodePool\022\021OperationMetadata\332A)parent,a" + - "zure_node_pool,azure_node_pool_id\202\323\344\223\002U\"" + - "B/v1/{parent=projects/*/locations/*/azur" + - "eClusters/*}/azureNodePools:\017azure_node_" + - "pool\022\240\002\n\023UpdateAzureNodePool\0229.google.cl" + - "oud.gkemulticloud.v1.UpdateAzureNodePool" + - "Request\032\035.google.longrunning.Operation\"\256" + - "\001\312A\"\n\rAzureNodePool\022\021OperationMetadata\332A" + - "\033azure_node_pool,update_mask\202\323\344\223\002e2R/v1/" + - "{azure_node_pool.name=projects/*/locatio" + - "ns/*/azureClusters/*/azureNodePools/*}:\017" + - "azure_node_pool\022\313\001\n\020GetAzureNodePool\0226.g" + - "oogle.cloud.gkemulticloud.v1.GetAzureNod" + - "ePoolRequest\032,.google.cloud.gkemulticlou" + - "d.v1.AzureNodePool\"Q\332A\004name\202\323\344\223\002D\022B/v1/{" + - "name=projects/*/locations/*/azureCluster" + - "s/*/azureNodePools/*}\022\336\001\n\022ListAzureNodeP" + - "ools\0228.google.cloud.gkemulticloud.v1.Lis" + - "tAzureNodePoolsRequest\0329.google.cloud.gk" + - "emulticloud.v1.ListAzureNodePoolsRespons" + - "e\"S\332A\006parent\202\323\344\223\002D\022B/v1/{parent=projects" + - "/*/locations/*/azureClusters/*}/azureNod" + - "ePools\022\357\001\n\023DeleteAzureNodePool\0229.google." + - "cloud.gkemulticloud.v1.DeleteAzureNodePo" + - "olRequest\032\035.google.longrunning.Operation" + - "\"~\312A*\n\025google.protobuf.Empty\022\021OperationM" + - "etadata\332A\004name\202\323\344\223\002D*B/v1/{name=projects" + - "/*/locations/*/azureClusters/*/azureNode" + - "Pools/*}\022\371\001\n\024GetAzureOpenIdConfig\022:.goog" + - "le.cloud.gkemulticloud.v1.GetAzureOpenId" + - "ConfigRequest\0320.google.cloud.gkemulticlo" + - "ud.v1.AzureOpenIdConfig\"s\332A\razure_cluste" + - "r\202\323\344\223\002]\022[/v1/{azure_cluster=projects/*/l" + - "ocations/*/azureClusters/*}/.well-known/" + - "openid-configuration\022\332\001\n\023GetAzureJsonWeb" + - "Keys\0229.google.cloud.gkemulticloud.v1.Get" + - "AzureJsonWebKeysRequest\032/.google.cloud.g" + - "kemulticloud.v1.AzureJsonWebKeys\"W\332A\razu" + - "re_cluster\202\323\344\223\002A\022?/v1/{azure_cluster=pro" + - "jects/*/locations/*/azureClusters/*}/jwk" + - "s\022\310\001\n\024GetAzureServerConfig\022:.google.clou" + - "d.gkemulticloud.v1.GetAzureServerConfigR" + - "equest\0320.google.cloud.gkemulticloud.v1.A" + - "zureServerConfig\"B\332A\004name\202\323\344\223\0025\0223/v1/{na" + - "me=projects/*/locations/*/azureServerCon" + - "fig}\032P\312A\034gkemulticloud.googleapis.com\322A." + - "https://www.googleapis.com/auth/cloud-pl" + - "atformB\344\001\n!com.google.cloud.gkemulticlou" + - "d.v1B\021AzureServiceProtoP\001ZGcloud.google." + - "com/go/gkemulticloud/apiv1/gkemulticloud" + - "pb;gkemulticloudpb\252\002\035Google.Cloud.GkeMul" + - "tiCloud.V1\312\002\035Google\\Cloud\\GkeMultiCloud\\" + - "V1\352\002 Google::Cloud::GkeMultiCloud::V1b\006p" + - "roto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.gkemulticloud.v1.AzureResourcesProto.getDescriptor(), - com.google.cloud.gkemulticloud.v1.CommonResourcesProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_CreateAzureClusterRequest_descriptor, - new java.lang.String[] { "Parent", "AzureCluster", "AzureClusterId", "ValidateOnly", }); - internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_UpdateAzureClusterRequest_descriptor, - new java.lang.String[] { "AzureCluster", "ValidateOnly", "UpdateMask", }); - internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_GetAzureClusterRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_ListAzureClustersResponse_descriptor, - new java.lang.String[] { "AzureClusters", "NextPageToken", }); - internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClusterRequest_descriptor, - new java.lang.String[] { "Name", "AllowMissing", "ValidateOnly", "Etag", }); - internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_CreateAzureNodePoolRequest_descriptor, - new java.lang.String[] { "Parent", "AzureNodePool", "AzureNodePoolId", "ValidateOnly", }); - internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_UpdateAzureNodePoolRequest_descriptor, - new java.lang.String[] { "AzureNodePool", "ValidateOnly", "UpdateMask", }); - internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_GetAzureNodePoolRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_ListAzureNodePoolsResponse_descriptor, - new java.lang.String[] { "AzureNodePools", "NextPageToken", }); - internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_DeleteAzureNodePoolRequest_descriptor, - new java.lang.String[] { "Name", "ValidateOnly", "AllowMissing", "Etag", }); - internal_static_google_cloud_gkemulticloud_v1_GetAzureOpenIdConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_gkemulticloud_v1_GetAzureOpenIdConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_GetAzureOpenIdConfigRequest_descriptor, - new java.lang.String[] { "AzureCluster", }); - internal_static_google_cloud_gkemulticloud_v1_GetAzureJsonWebKeysRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_gkemulticloud_v1_GetAzureJsonWebKeysRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_GetAzureJsonWebKeysRequest_descriptor, - new java.lang.String[] { "AzureCluster", }); - internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_GetAzureServerConfigRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_CreateAzureClientRequest_descriptor, - new java.lang.String[] { "Parent", "AzureClient", "AzureClientId", "ValidateOnly", }); - internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_GetAzureClientRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_ListAzureClientsResponse_descriptor, - new java.lang.String[] { "AzureClients", "NextPageToken", }); - internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_DeleteAzureClientRequest_descriptor, - new java.lang.String[] { "Name", "AllowMissing", "ValidateOnly", }); - internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenRequest_descriptor, - new java.lang.String[] { "AzureCluster", }); - internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_GenerateAzureAccessTokenResponse_descriptor, - new java.lang.String[] { "AccessToken", "ExpirationTime", }); - internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenRequest_descriptor, - new java.lang.String[] { "AzureCluster", "SubjectToken", "SubjectTokenType", "Version", "NodePoolId", "GrantType", "Audience", "Scope", "RequestedTokenType", "Options", }); - internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenResponse_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_GenerateAzureClusterAgentTokenResponse_descriptor, - new java.lang.String[] { "AccessToken", "ExpiresIn", "TokenType", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.gkemulticloud.v1.AzureResourcesProto.getDescriptor(); - com.google.cloud.gkemulticloud.v1.CommonResourcesProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java deleted file mode 100644 index f69e39ccd1ed..000000000000 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java +++ /dev/null @@ -1,211 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/common_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public final class CommonResourcesProto { - private CommonResourcesProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_Jwk_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_Jwk_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_NodeTaint_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_NodeTaint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_Fleet_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_Fleet_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_gkemulticloud_v1_BinaryAuthorization_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_gkemulticloud_v1_BinaryAuthorization_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n4google/cloud/gkemulticloud/v1/common_r" + - "esources.proto\022\035google.cloud.gkemulticlo" + - "ud.v1\032\037google/api/field_behavior.proto\032\037" + - "google/protobuf/timestamp.proto\"r\n\003Jwk\022\013" + - "\n\003kty\030\001 \001(\t\022\013\n\003alg\030\002 \001(\t\022\013\n\003use\030\003 \001(\t\022\013\n" + - "\003kid\030\004 \001(\t\022\t\n\001n\030\005 \001(\t\022\t\n\001e\030\006 \001(\t\022\t\n\001x\030\007 " + - "\001(\t\022\t\n\001y\030\010 \001(\t\022\013\n\003crv\030\t \001(\t\"^\n\026WorkloadI" + - "dentityConfig\022\022\n\nissuer_uri\030\001 \001(\t\022\025\n\rwor" + - "kload_pool\030\002 \001(\t\022\031\n\021identity_provider\030\003 " + - "\001(\t\"4\n\021MaxPodsConstraint\022\037\n\021max_pods_per" + - "_node\030\001 \001(\003B\004\342A\001\002\"\207\002\n\021OperationMetadata\022" + - "5\n\013create_time\030\001 \001(\0132\032.google.protobuf.T" + - "imestampB\004\342A\001\003\0222\n\010end_time\030\002 \001(\0132\032.googl" + - "e.protobuf.TimestampB\004\342A\001\003\022\024\n\006target\030\003 \001" + - "(\tB\004\342A\001\003\022\033\n\rstatus_detail\030\004 \001(\tB\004\342A\001\003\022\032\n" + - "\014error_detail\030\005 \001(\tB\004\342A\001\003\022\022\n\004verb\030\007 \001(\tB" + - "\004\342A\001\003\022$\n\026requested_cancellation\030\006 \001(\010B\004\342" + - "A\001\003\"\325\001\n\tNodeTaint\022\021\n\003key\030\001 \001(\tB\004\342A\001\002\022\023\n\005" + - "value\030\002 \001(\tB\004\342A\001\002\022E\n\006effect\030\003 \001(\0162/.goog" + - "le.cloud.gkemulticloud.v1.NodeTaint.Effe" + - "ctB\004\342A\001\002\"Y\n\006Effect\022\026\n\022EFFECT_UNSPECIFIED" + - "\020\000\022\017\n\013NO_SCHEDULE\020\001\022\026\n\022PREFER_NO_SCHEDUL" + - "E\020\002\022\016\n\nNO_EXECUTE\020\003\"8\n\005Fleet\022\025\n\007project\030" + - "\001 \001(\tB\004\342A\001\002\022\030\n\nmembership\030\002 \001(\tB\004\342A\001\003\"`\n" + - "\rLoggingConfig\022O\n\020component_config\030\001 \001(\013" + - "25.google.cloud.gkemulticloud.v1.Logging" + - "ComponentConfig\"\302\001\n\026LoggingComponentConf" + - "ig\022Z\n\021enable_components\030\001 \003(\0162?.google.c" + - "loud.gkemulticloud.v1.LoggingComponentCo" + - "nfig.Component\"L\n\tComponent\022\031\n\025COMPONENT" + - "_UNSPECIFIED\020\000\022\025\n\021SYSTEM_COMPONENTS\020\001\022\r\n" + - "\tWORKLOADS\020\002\"m\n\020MonitoringConfig\022Y\n\031mana" + - "ged_prometheus_config\030\002 \001(\01326.google.clo" + - "ud.gkemulticloud.v1.ManagedPrometheusCon" + - "fig\"*\n\027ManagedPrometheusConfig\022\017\n\007enable" + - "d\030\001 \001(\010\"\330\001\n\023BinaryAuthorization\022Z\n\017evalu" + - "ation_mode\030\001 \001(\0162A.google.cloud.gkemulti" + - "cloud.v1.BinaryAuthorization.EvaluationM" + - "ode\"e\n\016EvaluationMode\022\037\n\033EVALUATION_MODE" + - "_UNSPECIFIED\020\000\022\014\n\010DISABLED\020\001\022$\n PROJECT_" + - "SINGLETON_POLICY_ENFORCE\020\002B\347\001\n!com.googl" + - "e.cloud.gkemulticloud.v1B\024CommonResource" + - "sProtoP\001ZGcloud.google.com/go/gkemulticl" + - "oud/apiv1/gkemulticloudpb;gkemulticloudp" + - "b\252\002\035Google.Cloud.GkeMultiCloud.V1\312\002\035Goog" + - "le\\Cloud\\GkeMultiCloud\\V1\352\002 Google::Clou" + - "d::GkeMultiCloud::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_gkemulticloud_v1_Jwk_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_gkemulticloud_v1_Jwk_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_Jwk_descriptor, - new java.lang.String[] { "Kty", "Alg", "Use", "Kid", "N", "E", "X", "Y", "Crv", }); - internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_WorkloadIdentityConfig_descriptor, - new java.lang.String[] { "IssuerUri", "WorkloadPool", "IdentityProvider", }); - internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_MaxPodsConstraint_descriptor, - new java.lang.String[] { "MaxPodsPerNode", }); - internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_OperationMetadata_descriptor, - new java.lang.String[] { "CreateTime", "EndTime", "Target", "StatusDetail", "ErrorDetail", "Verb", "RequestedCancellation", }); - internal_static_google_cloud_gkemulticloud_v1_NodeTaint_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_gkemulticloud_v1_NodeTaint_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_NodeTaint_descriptor, - new java.lang.String[] { "Key", "Value", "Effect", }); - internal_static_google_cloud_gkemulticloud_v1_Fleet_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_gkemulticloud_v1_Fleet_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_Fleet_descriptor, - new java.lang.String[] { "Project", "Membership", }); - internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_LoggingConfig_descriptor, - new java.lang.String[] { "ComponentConfig", }); - internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_LoggingComponentConfig_descriptor, - new java.lang.String[] { "EnableComponents", }); - internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_MonitoringConfig_descriptor, - new java.lang.String[] { "ManagedPrometheusConfig", }); - internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_ManagedPrometheusConfig_descriptor, - new java.lang.String[] { "Enabled", }); - internal_static_google_cloud_gkemulticloud_v1_BinaryAuthorization_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_gkemulticloud_v1_BinaryAuthorization_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gkemulticloud_v1_BinaryAuthorization_descriptor, - new java.lang.String[] { "EvaluationMode", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsJsonWebKeysRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsJsonWebKeysRequestOrBuilder.java deleted file mode 100644 index 4513f841c161..000000000000 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsJsonWebKeysRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/aws_service.proto - -package com.google.cloud.gkemulticloud.v1; - -public interface GetAwsJsonWebKeysRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GetAwsJsonWebKeysRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The AwsCluster, which owns the JsonWebKeys.
-   * Format:
-   * projects/{project}/locations/{location}/awsClusters/{cluster}
-   * 
- * - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The awsCluster. - */ - java.lang.String getAwsCluster(); - /** - *
-   * Required. The AwsCluster, which owns the JsonWebKeys.
-   * Format:
-   * projects/{project}/locations/{location}/awsClusters/{cluster}
-   * 
- * - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for awsCluster. - */ - com.google.protobuf.ByteString - getAwsClusterBytes(); -} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsOpenIdConfigRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsOpenIdConfigRequestOrBuilder.java deleted file mode 100644 index 54689acc210b..000000000000 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsOpenIdConfigRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/aws_service.proto - -package com.google.cloud.gkemulticloud.v1; - -public interface GetAwsOpenIdConfigRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GetAwsOpenIdConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The AwsCluster, which owns the OIDC discovery document.
-   * Format:
-   * projects/{project}/locations/{location}/awsClusters/{cluster}
-   * 
- * - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The awsCluster. - */ - java.lang.String getAwsCluster(); - /** - *
-   * Required. The AwsCluster, which owns the OIDC discovery document.
-   * Format:
-   * projects/{project}/locations/{location}/awsClusters/{cluster}
-   * 
- * - * string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for awsCluster. - */ - com.google.protobuf.ByteString - getAwsClusterBytes(); -} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureJsonWebKeysRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureJsonWebKeysRequestOrBuilder.java deleted file mode 100644 index b1cb2a270f43..000000000000 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureJsonWebKeysRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/azure_service.proto - -package com.google.cloud.gkemulticloud.v1; - -public interface GetAzureJsonWebKeysRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GetAzureJsonWebKeysRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The AzureCluster, which owns the JsonWebKeys.
-   * Format:
-   * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
-   * 
- * - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The azureCluster. - */ - java.lang.String getAzureCluster(); - /** - *
-   * Required. The AzureCluster, which owns the JsonWebKeys.
-   * Format:
-   * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
-   * 
- * - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for azureCluster. - */ - com.google.protobuf.ByteString - getAzureClusterBytes(); -} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureOpenIdConfigRequestOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureOpenIdConfigRequestOrBuilder.java deleted file mode 100644 index 02f9da5648e6..000000000000 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureOpenIdConfigRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/azure_service.proto - -package com.google.cloud.gkemulticloud.v1; - -public interface GetAzureOpenIdConfigRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.GetAzureOpenIdConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The AzureCluster, which owns the OIDC discovery document.
-   * Format:
-   * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
-   * 
- * - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The azureCluster. - */ - java.lang.String getAzureCluster(); - /** - *
-   * Required. The AzureCluster, which owns the OIDC discovery document.
-   * Format:
-   * projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
-   * 
- * - * string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for azureCluster. - */ - com.google.protobuf.ByteString - getAzureClusterBytes(); -} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfigOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfigOrBuilder.java deleted file mode 100644 index 13a8f48d10d7..000000000000 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/LoggingComponentConfigOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/common_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public interface LoggingComponentConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.LoggingComponentConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The components to be enabled.
-   * 
- * - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; - * @return A list containing the enableComponents. - */ - java.util.List getEnableComponentsList(); - /** - *
-   * The components to be enabled.
-   * 
- * - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; - * @return The count of enableComponents. - */ - int getEnableComponentsCount(); - /** - *
-   * The components to be enabled.
-   * 
- * - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; - * @param index The index of the element to return. - * @return The enableComponents at the given index. - */ - com.google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component getEnableComponents(int index); - /** - *
-   * The components to be enabled.
-   * 
- * - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; - * @return A list containing the enum numeric values on the wire for enableComponents. - */ - java.util.List - getEnableComponentsValueList(); - /** - *
-   * The components to be enabled.
-   * 
- * - * repeated .google.cloud.gkemulticloud.v1.LoggingComponentConfig.Component enable_components = 1; - * @param index The index of the value to return. - * @return The enum numeric value on the wire of enableComponents at the given index. - */ - int getEnableComponentsValue(int index); -} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ManagedPrometheusConfigOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ManagedPrometheusConfigOrBuilder.java deleted file mode 100644 index 63566f3a8a55..000000000000 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ManagedPrometheusConfigOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/common_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public interface ManagedPrometheusConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.ManagedPrometheusConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Enable Managed Collection.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraintOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraintOrBuilder.java deleted file mode 100644 index 3284635e0d16..000000000000 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/MaxPodsConstraintOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/common_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public interface MaxPodsConstraintOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.MaxPodsConstraint) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The maximum number of pods to schedule on a single node.
-   * 
- * - * int64 max_pods_per_node = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return The maxPodsPerNode. - */ - long getMaxPodsPerNode(); -} diff --git a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateSettingsOrBuilder.java b/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateSettingsOrBuilder.java deleted file mode 100644 index 97b7ddf319bf..000000000000 --- a/owl-bot-staging/java-gke-multi-cloud/v1/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateSettingsOrBuilder.java +++ /dev/null @@ -1,36 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gkemulticloud/v1/aws_resources.proto - -package com.google.cloud.gkemulticloud.v1; - -public interface UpdateSettingsOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.UpdateSettings) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Optional. Settings for surge update.
-   * 
- * - * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return Whether the surgeSettings field is set. - */ - boolean hasSurgeSettings(); - /** - *
-   * Optional. Settings for surge update.
-   * 
- * - * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return The surgeSettings. - */ - com.google.cloud.gkemulticloud.v1.SurgeSettings getSurgeSettings(); - /** - *
-   * Optional. Settings for surge update.
-   * 
- * - * .google.cloud.gkemulticloud.v1.SurgeSettings surge_settings = 1 [(.google.api.field_behavior) = OPTIONAL]; - */ - com.google.cloud.gkemulticloud.v1.SurgeSettingsOrBuilder getSurgeSettingsOrBuilder(); -}